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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [ChangeLog] - Blame information for rev 828

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 183 jeremybenn
        * libc/machine/or32/setjmp.S: Rewritten - old code could never
4
        have worked.
5
        * libc/machine/or32/bits: Deleted.
6
 
7
2010-07-07  Jeremy Bennett 
8
 
9 180 jeremybenn
        * configure.host: Updated for OpenRISC to use namespace clean
10
        functions.
11
 
12 148 jeremybenn
2008-12-19  Jeff Johnston  
13
 
14
        * NEWS: Update with 1.17.0 info.
15
        * README: Ditto.
16
        * acinclude.m4: Change version number to 1.17.0.
17
        * aclocal.m4: Regenerated.
18
        * configure: Ditto.
19
        * doc/aclocal.m4: Ditto.
20
        * doc/configure: Ditto.
21
        * libc/*/aclocal.m4: Ditto.
22
        * libc/*/configure: Ditto.
23
        * libc/libc.texinfo: Ditto.
24
        * libm/*/aclocal.m4: Ditto.
25
        * libm/*/configure: Ditto.
26
        * libm/libm.texinfo: Ditto.
27
        * libc/sys/linux/shared.ld: Add VERS_1.17
28
 
29
2008-12-17  Jon Beniston 
30
 
31
        * configure.host: Set syscall_dir for lm32 target.
32
 
33
2008-12-15  Jeff Johnston  
34
 
35
        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
36
        are included as part of fputwc and fgetwc, respectively.
37
 
38
2008-12-12  Craig Howland 
39
 
40
        * libc/include/wchar.h:  Added wcstok() declaration.
41
        * libc/string/wcstok.c: New file, implementing wcstok.
42
        * libc/string/Makefile.am: Add wcstok support.
43
        * libc/string/wcstrings.tex: Ditto.
44
        * libc/string/Makefile.in: Regenerated.
45
 
46
2008-12-12  Ralf Corsepius  
47
 
48
        * libc/stdio/fputws.c: Fix documentation.
49
        * libc/stdio/getwchar.c: Ditto.
50
        * libc/stdio/putwchar.c: Ditto.
51
 
52
2008-12-12  Ralf Corsepius  
53
 
54
        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
55
        200112L (SUSv3 compliance).
56
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
57
 
58
2008-12-12  Ralf Corsepius  
59
 
60
        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
61
        _execve(), _exit().
62
 
63
2008-12-12  Ralf Corsepius  
64
 
65
        * configure.host: Let *rtems* default to c99-formats.
66
 
67
2008-12-12  Craig Howland  
68
 
69
        * libc/stdio/freopen.c:  Add  for memset prototype.
70
        * libc/stdio/fseek.c:  Ditto.
71
        * libc/stdio/fwide.c:  Add  for fwide prototype.
72
 
73
2008-12-11 Jeff Johnston  
74
 
75
        * libc/include/sys/time.h (gettimeofday): Change prototype so
76
        2nd parameter is void *, matching SUSV2.
77
        * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
78
 
79
2008-12-11 Jukka Pietarinen 
80
 
81
        * configure.host: Add lm32
82
        * libc/include/machine/ieeefp.h: Add __lm32__
83
        * libc/include/machine/setjmp.h: Add __lm32__
84
        * libc/machine/configure.in: Add lm32
85
        * libc/machine/configure: Regenerated.
86
        * libc/machine/lm32/aclocal.m4: New file.
87
        * libc/machine/lm32/configure.in: Ditto.
88
        * libc/machine/lm32/configure: Ditto.
89
        * libc/machine/lm32/Makefile.am: Ditto.
90
        * libc/machine/lm32/Makefile.in: Ditto.
91
        * libc/machine/lm32/setjmp.s: Ditto.
92
 
93
2008-12-11  Craig Howland  
94
 
95
        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
96
        effect" warnings from gcc.
97
        * libc/include/sys/stdio.h:  Ditto.
98
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
99
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
100
        * libc/stdlib/__ten_mu.c:  Ditto.
101
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
102
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
103
        already others in file without _ansi method, so did not bother.)
104
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
105
        definitions.
106
        * libc/time/mktime.c:  Ditto.
107
        * libc/misc/__dprintf.c:  Ditto.
108
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
109
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
110
        _funopen_r, and _fopencookie_r.
111
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
112
        _execve_r prototype with POSIX definition for execve.
113
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
114
        * libc/stdio/asniprintf.c:  Add #include "local.h".
115
        * libc/stdio/vasniprintf.c:  Ditto.
116
        * libc/stdio/fread.c:  Remove unused variable newcount.
117
        * libc/stdio/local.h:  Add function prototype for __sccl.
118
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
119
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
120
        for __sccl since now in local.h.
121
        * libc/string/memcpy.c:  Add #include  (for real and for
122
        traditional synopsis), remove extraneous stddef.h and limits.h.
123
        * libc/syscalls/sysclose.c:  Add #include .
124
        * libc/syscalls/sysfork.c:  Ditto.
125
        * libc/syscalls/sysgetpid.c:  Ditto.
126
        * libc/syscalls/sysexecve.c:  Add #include , align function
127
        prototype with POSIX definition.
128
        * libc/syscalls/sysfstat.c:  Add #include .
129
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
130
        * libc/syscalls/syskill.c:  Add #include .
131
        * libc/syscalls/syslink.c:  Add #include , fix prototype.
132
        * libc/syscalls/sysunlink.c:  Ditto.
133
        * libc/syscalls/sysstat.c:  Add #include , fix prototype.
134
        * libc/syscalls/syswait.c:  Add #include , fix prototype.
135
 
136
2008-12-10  Corinna Vinschen  
137
 
138
        Implement basic wide char stdio functionality, based on FreeBSD.
139
        * libc/include/stdio.h (__SORD): Define.
140
        (__SWID): Define.
141
        * libc/include/wchar.h: Add declarations for new wide char functions.
142
        (getwc): Define as macro.
143
        (getwchar): Ditto.
144
        (putwc): Ditto.
145
        (putwchar): Ditto.
146
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
147
        (struct __sFILE64): Ditto.
148
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
149
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
150
        and ungetwc.c.
151
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
152
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
153
        ungetwc.def.
154
        Add header dependency rules for the new files.
155
        * libc/stdio/Makefile.in: Regenerate.
156
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
157
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
158
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
159
        (__sfmoreglue): Ditto.
160
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
161
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
162
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
163
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
164
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
165
        _mbstate.
166
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
167
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
168
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
169
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
170
        * libc/stdio/getwchar.c: New file, implementing getwchar and
171
        _getwchar_r.
172
        * libc/stdio/local.h (ORIENT): New macro.
173
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
174
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
175
        * libc/stdio/putwchar.c: New file, implementing putwchar and
176
        _putwchar_r.
177
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
178
        * libc/stdio/stdio.tex: Add documentation for new functions.
179
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
180
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
181
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
182
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.
183
 
184
2008-12-10  Joseph Myers  
185
 
186
        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
187
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
188
        constants with "long" types where appropriate.
189
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
190
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
191
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
192
        Correct to match logic for defining corresponding types.
193
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
194
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
195
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
196
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
197
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
198
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
199
        types would promote to int.
200
 
201
2008-12-04  Corinna Vinschen  
202
 
203
        * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
204
        (_POSIX_V6_LP64_OFF64): Ditto.
205
        (_POSIX_V6_LPBIG_OFFBIG): Ditto.
206
 
207
2008-11-28  Jeff Johnston  
208
 
209
        * libc/sys/linux/inode.c: Include  instead of
210
        .
211
        * libc/sys/linux/io64.c: Add weak alias for _stat64.
212
 
213
2008-11-27  Ralf Corsepius 
214
 
215
        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
216
        to fix GCC warning.
217
 
218
2008-11-27  Ken Werner  
219
 
220
        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
221
        * libc/machine/spu/Makefile.in: Regenerated.
222
        * libc/machine/spu/spu-gmon.c: New file.
223
        * libc/machine/spu/spu-mcount.S: New file.
224
 
225
2008-11-27  Joel Sherrill 
226
 
227
        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
228
 
229
2008-11-27  Craig Howland 
230
 
231
        * libc/argz/argz_add.c:  Added #include  to get function
232
        prototypes.
233
        * libc/argz/argz_append.c: Ditto.
234
        * libc/argz/argz_count.c: Ditto.
235
        * libc/argz/argz_create.c: Ditto.
236
        * libc/argz/argz_create_sep.c: Ditto.
237
        * libc/argz/argz_delete.c: Ditto.
238
        * libc/argz/argz_next.c: Ditto.
239
        * libc/argz/argz_stringify.c: Ditto
240
        * libc/stdlib/strtod.c: Added #include  to get function
241
        prototypes.
242
        * libc/stdlib/wcstoul.c: Added #include  to get function
243
        prototypes, corrected traditional usage comment.
244
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
245
 
246
2008-11-26 Ken Werner 
247
 
248
        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
249
        * libm/machine/spu/headers/asind2.h: Likewise.
250
        * libm/machine/spu/headers/asinhf4.h: Likewise.
251
        * libm/machine/spu/headers/divd2.h: Likewise.
252
        * libm/machine/spu/headers/erf_utils.h: Likewise.
253
        * libm/machine/spu/headers/erfcd2.h: Likewise.
254
        * libm/machine/spu/headers/erfcf4.h: Likewise.
255
        * libm/machine/spu/headers/erfd2.h: Likewise.
256
        * libm/machine/spu/headers/recipd2.h: Likewise.
257
 
258
2008-11-25  Corinna Vinschen  
259
 
260
        * libc/stdio/gets.c (_gets_r): Lock stdin here and call
261
        __sgetc_r instead of _getchar_r.
262
 
263
2008-11-24  Craig Howland  
264
 
265
        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
266
        include wchar.h for prototype, remove extraneous includes, use
267
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
268
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
269
        base value check noted above), remove extraneous includes.
270
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
271
        prototype for _svfprintf_r().
272
        * libc/stdio/vasnprintf.c:  Ditto.
273
        * libc/stdio/local.h:  Add function prototype for __submore().
274
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
275
        _ftello_r.
276
        * libc/posix/namespace.h:  Commented out define for write to
277
        eliminate write() prototype being missing for collate.c (which is
278
        the only file that presently includes namespace.h).
279
        * libc/include/reent.h:  Added _rename_r.
280
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
281
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
282
 
283
2008-11-24  Jeff Johnston  
284
 
285
        * libc/search/hash_func.c: Comment out unused static hash functions.
286
        * libc/reent/stat64r.c: New file.
287
        * libc/reent/Makefile.am: Add stat64r.c support.
288
        * libc/reent/Makefile.in: Regenerated.
289
 
290
2008-11-24  Joel Sherrill 
291
 
292
        * libc/posix/scandir.c: Fix memory leaks.
293
 
294
2008-11-24  Joel Sherrill 
295
 
296
        * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
297
        * libc/posix/Makefile.in: Regenerated.
298
 
299
2008-11-24  Corinna Vinschen  
300
 
301
        * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
302
        * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
303
        * libc/stdio/findfp.c (std): Initialize _flags2.
304
        (__sfp): Ditto.
305
        * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
306
        * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
307
        * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
308
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
309
 
310
2008-11-20  Ken Werner  
311
 
312
        * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
313
        be in sync with current kernels.
314
 
315
2008-11-20  Ken Werner  
316
            Patrick Mansfield  
317
            Joel Schopp   
318
 
319
        * libc/machine/spu/configure.in: Add __ea detection.
320
        * libc/machine/spu/Makefile.am: Add new files.
321
        * libc/machine/spu/include/ea.h: New file.
322
        * libc/machine/spu/ea_internal.h: Likewise.
323
        * libc/machine/spu/sys/mman.h: Likewise.
324
        * libc/machine/spu/mmap_ea.c: Likewise.
325
        * libc/machine/spu/munmap_ea.c: Likewise.
326
        * libc/machine/spu/mremap_ea.c: Likewise.
327
        * libc/machine/spu/msync_ea.c: Likewise.
328
        * libc/machine/spu/memchr_ea.c: Likewise.
329
        * libc/machine/spu/memcmp_ea.c: Likewise.
330
        * libc/machine/spu/memcpy_ea.c: Likewise.
331
        * libc/machine/spu/memmove_ea.c: Likewise.
332
        * libc/machine/spu/memset_ea.c: Likewise.
333
        * libc/machine/spu/malloc_ea.c: Likewise.
334
        * libc/machine/spu/realloc_ea.c: Likewise.
335
        * libc/machine/spu/calloc_ea.c: Likewise.
336
        * libc/machine/spu/free_ea.c: Likewise.
337
        * libc/machine/spu/posix_memalign_ea.c: Likewise.
338
        * libc/machine/spu/strcat_ea.c: Likewise.
339
        * libc/machine/spu/strchr_ea.c: Likewise.
340
        * libc/machine/spu/strcmp_ea.c: Likewise.
341
        * libc/machine/spu/strcpy_ea.c: Likewise.
342
        * libc/machine/spu/strcspn_ea.c: Likewise.
343
        * libc/machine/spu/strlen_ea.c: Likewise.
344
        * libc/machine/spu/strncat_ea.c: Likewise.
345
        * libc/machine/spu/strncmp_ea.c: Likewise.
346
        * libc/machine/spu/strncpy_ea.c: Likewise.
347
        * libc/machine/spu/strpbrk_ea.c: Likewise.
348
        * libc/machine/spu/strrchr_ea.c: Likewise.
349
        * libc/machine/spu/strspn_ea.c: Likewise.
350
        * libc/machine/spu/strstr_ea.c: Likewise.
351
        * libc/machine/spu/read_ea.c: Likewise.
352
        * libc/machine/spu/pread_ea.c: Likewise.
353
        * libc/machine/spu/readv_ea.c: Likewise.
354
        * libc/machine/spu/write_ea.c: Likewise.
355
        * libc/machine/spu/pwrite_ea.c: Likewise.
356
        * libc/machine/spu/writev_ea.c: Likewise.
357
 
358
2008-11-19  Joel Sherrill 
359
 
360
        * libc/include/sys/config.h[__mips__]: Don't bother
361
        setting __ATTRIBUTE_IMPURE_PTR__ here.
362
        [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
363
        macro anymore.
364
 
365
2008-11-19  Jeff Johnston  
366
 
367
        * libc/sys/linux/bits/dirent.h: New header file.
368
        * libc/sys/linux/sys/dirent.h: Include  instead of
369
        .
370
        * libc/posix/Makefile.am: Remove reallocf.
371
        * libc/posix/Makefile.in: Regenerated.
372
        * libc/posix/reallocf.c: Moved to...
373
        * libc/stdlib/reallocf.c: Here
374
        * libc/stdlib/malloc.c: Add reallocf documentation.
375
        * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
376
        * libc/stdlib/Makefile.am: Add reallocf.
377
        * libc/stdlib/Makefile.in: Regenerated.
378
        * libc/posix/_isatty.c: Set errno.
379
 
380
2008-11-19  Craig Howland  
381
 
382
        * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
383
        strdup() and strlen() calls, also getting rid of a compiler warning.
384
 
385
2008-11-19  Ralf Corsepius 
386
 
387
        * libc/include/sys/config.h: Don't put
388
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
389
 
390
2008-11-19  Ralf Corsepius  
391
 
392
        * libc/posix/runetype.h: Add include of stddef.h and remove
393
        defining standard types: size_t and wchar_t.
394
 
395
2008-11-19  Ralf Corsepius  
396
 
397
        * libc/include/pthread.h: Remove prototypes for
398
        pthread_attr_getcputime and pthread_attr_setcputime which
399
        were proposed but never approved by the POSIX standard.
400
 
401
2008-11-18  Joel Sherrill 
402
 
403
        * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
404
 
405
2008-11-18  Jeff Johnston  
406
 
407
        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
408
        ignored if desired by a platform.
409
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
410
        * libc/unix/getcwd.c: Ditto.
411
        * libc/unix/getlogin.c: Ditto.
412
        * libc/unix/getpass.c: Ditto.
413
        * libc/unix/getpwent.c: Ditto.
414
        * libc/unix/getut.c: Ditto.
415
        * libc/unix/pread.c: Ditto.
416
        * libc/unix/pwrite.c: Ditto.
417
        * libc/unix/sigset.c: Ditto.
418
 
419
2008-11-18  Craig Howland  
420
 
421
        * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
422
        ttyname_r.
423
 
424
2008-11-17  Joel Sherrill 
425
 
426
        * configure.host: RTEMS now uses posix subdirectory.
427
 
428
2008-11-17  Joel Sherrill 
429
 
430
        * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
431
        * sys/rtems/sys/param.h: sys/rtprio.h not needed.
432
 
433
2008-10-31  Jeff Johnston  
434
 
435
        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
436
        libhover docs generate properly.
437
        * libc/stdio/dprintf.c: Ditto.
438
        * libc/stdio/fflush.c: Ditto.
439
        * libc/stdio/fopencookie.c: Ditto.
440
        * libc/stdio/fread.c: Ditto.
441
        * libc/stdio/fsetpos.c: Ditto.
442
        * libc/stdio/getc_u.c: Ditto.
443
        * libc/stdio/getchar_u.c: Ditto.
444
        * libc/stdio/putc_u.c: Ditto.
445
        * libc/stdio/putchar_u.c: Ditto.
446
        * libc/stdio/remove.c: Ditto.
447
        * libc/stdio/siprintf.c: Ditto.
448
        * libc/stdio/siscanf.c: Ditto.
449
        * libc/stdio/sprintf.c: Ditto.
450
        * libc/stdio/sscanf.c: Ditto.
451
        * libc/stdio/vfprintf.c: Ditto.
452
        * libc/stdio/vfscanf.c: Ditto.
453
        * libc/stdio/viprintf.c: Ditto.
454
        * libc/stdio/viscanf.c: Ditto.
455
        * libc/stdlib/calloc.c: Ditto.
456
        * libc/stdlib/efgcvt.c: Ditto.
457
        * libc/stdlib/envlock.c: Ditto.
458
        * libc/time/asctime.c: Ditto.
459
        * libc/time/ctime.c: Ditto.
460
        * libc/time/gmtime.c: Ditto.
461
        * libc/time/lcltime.c: Ditto.
462
        * libc/time/tzset.c: Ditto.
463
        * libc/stdlib/envlock.h: Moved to libc/include.
464
 
465
2008-10-31  Jeff Johnston  
466
 
467
        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
468
        * libc/include/envlock.h: New file.
469
        * libc/include/fnmatch.h: Ditto.
470
        * libc/include/glob.h: Ditto.
471
        * libc/include/regex.h: Ditto.
472
        * libc/include/wordexp.h: Ditto.
473
        * libc/posix/Makefile.am: Add new files moved from
474
        libc/sys/linux/stdlib.
475
        * libc/posix/Makefile.in: Regenerated.
476
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
477
        * libc/posix/cclass.h: Ditto.
478
        * libc/posix/cname.h: Ditto.
479
        * libc/posix/collate.c: Ditto.
480
        * libc/posix/collate.h: Ditto.
481
        * libc/posix/collcmp.c: Ditto.
482
        * libc/posix/engine.c: Ditto.
483
        * libc/posix/fnmatch.3: Ditto.
484
        * libc/posix/glob.3: Ditto.
485
        * libc/posix/fnmatch.c: Ditto.
486
        * libc/posix/glob.c: Ditto.
487
        * libc/posix/namespace.h: Ditto.
488
        * libc/posix/reallocf.c: Ditto.
489
        * libc/posix/regcomp.c: Ditto.
490
        * libc/posix/regerror.c: Ditto.
491
        * libc/posix/regex.3: Ditto.
492
        * libc/posix/regex2.h: Ditto.
493
        * libc/posix/regexec.c: Ditto.
494
        * libc/posix/regfree.c: Ditto.
495
        * libc/posix/rune.h: Ditto.
496
        * libc/posix/runetype.h: Ditto.
497
        * libc/posix/scandir.c: Remove advertising clause which is not in
498
        effect.
499
        * libc/posix/sysexits.h: Ditto.
500
        * libc/posix/un-namespace.h: Ditto.
501
        * libc/posix/utils.h: Ditto.
502
        * libc/posix/wordexp.c: Ditto.
503
        * libc/posix/wordfree.c: Ditto.
504
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
505
        * libc/posix/execle.c: Ditto.
506
        * libc/posix/execlp.c: Ditto.
507
        * libc/posix/execv.c: Ditto.
508
        * libc/posix/execve.c: Ditto.
509
        * libc/posix/execvp.c: Ditto.
510
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
511
        * libc/sys/linux/configure: Regenerated.
512
        * libc/sys/linux/configure.in: Remove stdlib.
513
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
514
        * libc/sys/linux/stdlib/Makefile.am: Removed.
515
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
516
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
517
        * libc/sys/linux/stdlib/cclass.h: Ditto.
518
        * libc/sys/linux/stdlib/cname.h: Ditto.
519
        * libc/sys/linux/stdlib/collate.c: Ditto.
520
        * libc/sys/linux/stdlib/collate.h: Ditto.
521
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
522
        * libc/sys/linux/stdlib/engine.c: Ditto.
523
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
524
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
525
        * libc/sys/linux/stdlib/glob.3: Ditto.
526
        * libc/sys/linux/stdlib/glob.c: Ditto.
527
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
528
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
529
        * libc/sys/linux/stdlib/regerror.c: Ditto.
530
        * libc/sys/linux/stdlib/regex.3: Ditto.
531
        * libc/sys/linux/stdlib/regex2.h: Ditto.
532
        * libc/sys/linux/stdlib/regexec.c: Ditto.
533
        * libc/sys/linux/stdlib/regfree.c: Ditto.
534
        * libc/sys/linux/stdlib/utils.h: Ditto.
535
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
536
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
537
 
538
2008-10-16  Joel Sherrill 
539
 
540
        * libc/include/sys/unistd.h: RTEMS follows standard for sync().
541
 
542
2008-10-16  Joel Sherrill 
543
 
544
        * libc/include/time.h: Add CLOCK_MONOTONIC.
545
        * libc/include/sys/features.h: Define
546
        _POSIX_MONOTONIC_CLOCK for RTEMS.
547
 
548
2008-10-15  Jeff Johnston  
549
 
550
        * newlib.hin: Restore to previous 1.14 version which has no
551
        PACKAGE_ macros.
552
 
553
2008-10-15  Joel Sherrill 
554
 
555
        * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
556
 
557
2008-10-15  Craig Howland  
558
 
559
        * libc/include/ctype.h (isblank):  isblank is C99.
560
        * libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
561
        have a macro version (as was claimed in the description).
562
 
563
2008-10-15  Jeff Johnston  
564
 
565
        * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
566
        %S conversions when the EL/IX level is 1.
567
 
568
2008-10-06  Eric Blake  
569
 
570
        * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
571
        is 0.5 or 0.75.
572
 
573
2008-10-06  Craig Howland  
574
 
575
        * libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
576
        2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
577
 
578
2008-10-02  Jeff Johnston  
579
 
580
        * libc/string/str-two-way.h (critical_factorization): Cast the index
581
        operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
582
 
583
2008-10-02  Jeff Johnston  
584
 
585
        * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
586
        be size of size_t, not int.
587
        (SIZE_MIN): Remove.
588
        * libc/sys/linux/sys/stdint.h: Ditto.
589
 
590
2008-10-02  Jeff Johnston  
591
 
592
        * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
593
        initialization of _rand_next to 1.
594
 
595
2008-09-29  Peter O'Gorman  
596
            Steve Ellcey  
597
 
598
        * configure: Regenerate for new libtool.
599
        * aclocal.m4: Ditto.
600
        * Makefile.in: Ditto.
601
        * newlib.hin: Ditto.
602
        * doc/Makefile.in: Ditto.
603
        * doc/configure: Ditto.
604
        * iconvdata/Makefile.in: Ditto.
605
        * iconvdata/aclocal.m4: Ditto.
606
        * iconvdata/configure: Ditto.
607
        * libc/Makefile.in: Ditto.
608
        * libc/aclocal.m4: Ditto.
609
        * libc/configure: Ditto.
610
        * libc/argz/Makefile.in: Ditto.
611
        * libc/ctype/Makefile.in: Ditto.
612
        * libc/errno/Makefile.in: Ditto.
613
        * libc/iconv/Makefile.in: Ditto.
614
        * libc/iconv/ccs/Makefile.in: Ditto.
615
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
616
        * libc/iconv/ces/Makefile.in: Ditto.
617
        * libc/iconv/lib/Makefile.in: Ditto.
618
        * libc/locale/Makefile.in: Ditto.
619
        * libc/machine/Makefile.in: Ditto.
620
        * libc/machine/aclocal.m4: Ditto.
621
        * libc/machine/configure: Ditto.
622
        * libc/machine/a29k/Makefile.in: Ditto.
623
        * libc/machine/a29k/configure: Ditto.
624
        * libc/machine/arm/Makefile.in: Ditto.
625
        * libc/machine/arm/configure: Ditto.
626
        * libc/machine/bfin/Makefile.in: Ditto.
627
        * libc/machine/bfin/configure: Ditto.
628
        * libc/machine/cris/Makefile.in: Ditto.
629
        * libc/machine/cris/configure: Ditto.
630
        * libc/machine/crx/Makefile.in: Ditto.
631
        * libc/machine/crx/configure: Ditto.
632
        * libc/machine/d10v/Makefile.in: Ditto.
633
        * libc/machine/d10v/configure: Ditto.
634
        * libc/machine/d30v/Makefile.in: Ditto.
635
        * libc/machine/d30v/configure: Ditto.
636
        * libc/machine/fr30/Makefile.in: Ditto.
637
        * libc/machine/fr30/configure: Ditto.
638
        * libc/machine/frv/Makefile.in: Ditto.
639
        * libc/machine/frv/configure: Ditto.
640
        * libc/machine/h8300/Makefile.in: Ditto.
641
        * libc/machine/h8300/configure: Ditto.
642
        * libc/machine/h8500/Makefile.in: Ditto.
643
        * libc/machine/h8500/configure: Ditto.
644
        * libc/machine/hppa/Makefile.in: Ditto.
645
        * libc/machine/hppa/configure: Ditto.
646
        * libc/machine/i386/Makefile.in: Ditto.
647
        * libc/machine/i386/aclocal.m4: Ditto.
648
        * libc/machine/i386/configure: Ditto.
649
        * libc/machine/i960/Makefile.in: Ditto.
650
        * libc/machine/i960/configure: Ditto.
651
        * libc/machine/iq2000/Makefile.in: Ditto.
652
        * libc/machine/iq2000/configure: Ditto.
653
        * libc/machine/m32c/Makefile.in: Ditto.
654
        * libc/machine/m32c/configure: Ditto.
655
        * libc/machine/m32r/Makefile.in: Ditto.
656
        * libc/machine/m32r/configure: Ditto.
657
        * libc/machine/m68hc11/Makefile.in: Ditto.
658
        * libc/machine/m68hc11/configure: Ditto.
659
        * libc/machine/m68k/Makefile.in: Ditto.
660
        * libc/machine/m68k/configure: Ditto.
661
        * libc/machine/m88k/Makefile.in: Ditto.
662
        * libc/machine/m88k/configure: Ditto.
663
        * libc/machine/mep/Makefile.in: Ditto.
664
        * libc/machine/mep/configure: Ditto.
665
        * libc/machine/mips/Makefile.in: Ditto.
666
        * libc/machine/mips/configure: Ditto.
667
        * libc/machine/mn10200/Makefile.in: Ditto.
668
        * libc/machine/mn10200/configure: Ditto.
669
        * libc/machine/mn10300/Makefile.in: Ditto.
670
        * libc/machine/mn10300/configure: Ditto.
671
        * libc/machine/mt/Makefile.in: Ditto.
672
        * libc/machine/mt/configure: Ditto.
673
        * libc/machine/necv70/Makefile.in: Ditto.
674
        * libc/machine/necv70/configure: Ditto.
675
        * libc/machine/powerpc/Makefile.in: Ditto.
676
        * libc/machine/powerpc/configure: Ditto.
677
        * libc/machine/sh/Makefile.in: Ditto.
678
        * libc/machine/sh/configure: Ditto.
679
        * libc/machine/sparc/Makefile.in: Ditto.
680
        * libc/machine/sparc/configure: Ditto.
681
        * libc/machine/spu/Makefile.in: Ditto.
682
        * libc/machine/spu/configure: Ditto.
683
        * libc/machine/tic4x/Makefile.in: Ditto.
684
        * libc/machine/tic4x/configure: Ditto.
685
        * libc/machine/tic80/Makefile.in: Ditto.
686
        * libc/machine/tic80/configure: Ditto.
687
        * libc/machine/v850/Makefile.in: Ditto.
688
        * libc/machine/v850/configure: Ditto.
689
        * libc/machine/w65/Makefile.in: Ditto.
690
        * libc/machine/w65/configure: Ditto.
691
        * libc/machine/x86_64/Makefile.in: Ditto.
692
        * libc/machine/x86_64/configure: Ditto.
693
        * libc/machine/xscale/Makefile.in: Ditto.
694
        * libc/machine/xscale/configure: Ditto.
695
        * libc/machine/xstormy16/Makefile.in: Ditto.
696
        * libc/machine/xstormy16/configure: Ditto.
697
        * libc/machine/z8k/Makefile.in: Ditto.
698
        * libc/machine/z8k/configure: Ditto.
699
        * libc/misc/Makefile.in: Ditto.
700
        * libc/posix/Makefile.in: Ditto.
701
        * libc/reent/Makefile.in: Ditto.
702
        * libc/search/Makefile.in: Ditto.
703
        * libc/signal/Makefile.in: Ditto.
704
        * libc/stdio/Makefile.in: Ditto.
705
        * libc/stdio64/Makefile.in: Ditto.
706
        * libc/stdlib/Makefile.in: Ditto.
707
        * libc/string/Makefile.in: Ditto.
708
        * libc/sys/Makefile.in: Ditto.
709
        * libc/sys/aclocal.m4: Ditto.
710
        * libc/sys/configure: Ditto.
711
        * libc/sys/a29khif/Makefile.in: Ditto.
712
        * libc/sys/a29khif/configure: Ditto.
713
        * libc/sys/arc/Makefile.in: Ditto.
714
        * libc/sys/arc/configure: Ditto.
715
        * libc/sys/arm/Makefile.in: Ditto.
716
        * libc/sys/arm/configure: Ditto.
717
        * libc/sys/d10v/Makefile.in: Ditto.
718
        * libc/sys/d10v/configure: Ditto.
719
        * libc/sys/decstation/Makefile.in: Ditto.
720
        * libc/sys/decstation/configure: Ditto.
721
        * libc/sys/h8300hms/Makefile.in: Ditto.
722
        * libc/sys/h8300hms/configure: Ditto.
723
        * libc/sys/h8500hms/Makefile.in: Ditto.
724
        * libc/sys/h8500hms/configure: Ditto.
725
        * libc/sys/linux/Makefile.in: Ditto.
726
        * libc/sys/linux/aclocal.m4: Ditto.
727
        * libc/sys/linux/configure: Ditto.
728
        * libc/sys/linux/argp/Makefile.in: Ditto.
729
        * libc/sys/linux/cmath/Makefile.in: Ditto.
730
        * libc/sys/linux/dl/Makefile.in: Ditto.
731
        * libc/sys/linux/iconv/Makefile.in: Ditto.
732
        * libc/sys/linux/intl/Makefile.in: Ditto.
733
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
734
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
735
        * libc/sys/linux/linuxthreads/configure: Ditto.
736
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
737
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
738
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
739
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
740
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
741
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
742
        * libc/sys/linux/machine/Makefile.in: Ditto.
743
        * libc/sys/linux/machine/aclocal.m4: Ditto.
744
        * libc/sys/linux/machine/configure: Ditto.
745
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
746
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
747
        * libc/sys/linux/machine/i386/configure: Ditto.
748
        * libc/sys/linux/net/Makefile.in: Ditto.
749
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
750
        * libc/sys/m88kbug/Makefile.in: Ditto.
751
        * libc/sys/m88kbug/configure: Ditto.
752
        * libc/sys/mmixware/Makefile.in: Ditto.
753
        * libc/sys/mmixware/configure: Ditto.
754
        * libc/sys/netware/Makefile.in: Ditto.
755
        * libc/sys/netware/configure: Ditto.
756
        * libc/sys/rdos/Makefile.in: Ditto.
757
        * libc/sys/rdos/configure: Ditto.
758
        * libc/sys/rtems/Makefile.in: Ditto.
759
        * libc/sys/rtems/configure: Ditto.
760
        * libc/sys/sh/Makefile.in: Ditto.
761
        * libc/sys/sh/configure: Ditto.
762
        * libc/sys/sparc64/Makefile.in: Ditto.
763
        * libc/sys/sparc64/configure: Ditto.
764
        * libc/sys/sun4/Makefile.in: Ditto.
765
        * libc/sys/sun4/configure: Ditto.
766
        * libc/sys/sysmec/Makefile.in: Ditto.
767
        * libc/sys/sysmec/configure: Ditto.
768
        * libc/sys/sysnec810/Makefile.in: Ditto.
769
        * libc/sys/sysnec810/configure: Ditto.
770
        * libc/sys/sysnecv850/Makefile.in: Ditto.
771
        * libc/sys/sysnecv850/configure: Ditto.
772
        * libc/sys/sysvi386/Makefile.in: Ditto.
773
        * libc/sys/sysvi386/configure: Ditto.
774
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
775
        * libc/sys/sysvnecv70/configure: Ditto.
776
        * libc/sys/tic80/Makefile.in: Ditto.
777
        * libc/sys/tic80/configure: Ditto.
778
        * libc/sys/w65/Makefile.in: Ditto.
779
        * libc/sys/w65/configure: Ditto.
780
        * libc/sys/z8ksim/Makefile.in: Ditto.
781
        * libc/sys/z8ksim/configure: Ditto.
782
        * libc/syscalls/Makefile.in: Ditto.
783
        * libc/time/Makefile.in: Ditto.
784
        * libc/unix/Makefile.in: Ditto.
785
        * libm/Makefile.in: Ditto.
786
        * libm/aclocal.m4: Ditto.
787
        * libm/configure: Ditto.
788
        * libm/common/Makefile.in: Ditto.
789
        * libm/machine/Makefile.in: Ditto.
790
        * libm/machine/aclocal.m4: Ditto.
791
        * libm/machine/configure: Ditto.
792
        * libm/machine/i386/Makefile.in: Ditto.
793
        * libm/machine/i386/aclocal.m4: Ditto.
794
        * libm/machine/i386/configure: Ditto.
795
        * libm/machine/spu/Makefile.in: Ditto.
796
        * libm/machine/spu/configure: Ditto.
797
        * libm/math/Makefile.in: Ditto.
798
        * libm/mathfp/Makefile.in: Ditto.
799
 
800
2008-09-26  Craig Howland  
801
 
802
        * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
803
        contains an equal sign.
804
 
805
2008-09-25  Raphael Derossa Pereira  
806
 
807
        * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
808
        new pthread_mutexattr_gettype and pthread_mutexattr_settype
809
        prototypes.
810
        * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
811
        new mutex type values.
812
        (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
813
        field.
814
 
815
2008-09-24  Jeff Johnston  
816
 
817
        * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
818
        name is NULL, empty, or contains equal sign.
819
 
820
2008-09-24  Pawel Veselov  
821
 
822
        Fix setenv/getenv/unsetenv to be OpenGroup compliant:
823
        * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
824
        return types.
825
        * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
826
        names that contain equal chars.
827
        * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
828
        * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
829
        EINVAL if name contains an equal sign.  Do not remove any equal signs
830
        from the value.
831
        (_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
832
        if name contains equal sign.  Return -1 if no variable(s) were found
833
        and return 0 otherwise.
834
 
835
2008-09-19  Eric Blake  
836
 
837
        Supply missing POSIX errno values.
838
        * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
839
        * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
840
 
841
2008-09-10  Ken Werner  
842
 
843
        * libc/machine/spu/strcpy.h: Add missing header.
844
        * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
845
        * libm/machine/spu/headers/lgammaf4.h: Add type cast.
846
 
847
2008-09-08  Jeff Johnston  
848
 
849
        * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
850
        statement to use "m" instead of "0".
851
        (atomic_add): Ditto.
852
        * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
853
        * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
854
        * libc/sys/linux/stdlib/glob.c: Ditto.
855
 
856
2008-09-04  Ken Werner  
857
 
858
        * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
859
        * libm/machine/spu/headers/acosf4.h: Likewise.
860
        * libm/machine/spu/headers/acoshd2.h: Likewise.
861
        * libm/machine/spu/headers/acoshf4.h: Likewise.
862
        * libm/machine/spu/headers/asind2.h: Likewise.
863
        * libm/machine/spu/headers/asinf4.h: Likewise.
864
        * libm/machine/spu/headers/asinhd2.h: Likewise.
865
        * libm/machine/spu/headers/asinhf4.h: Likewise.
866
        * libm/machine/spu/headers/atan2d2.h: Likewise.
867
        * libm/machine/spu/headers/atan2f4.h: Likewise.
868
        * libm/machine/spu/headers/atand2.h: Likewise.
869
        * libm/machine/spu/headers/atanf4.h: Likewise.
870
        * libm/machine/spu/headers/atanhd2.h: Likewise.
871
        * libm/machine/spu/headers/atanhf4.h: Likewise.
872
        * libm/machine/spu/headers/cos_sin.h: Likewise.
873
        * libm/machine/spu/headers/cosd2.h: Likewise.
874
        * libm/machine/spu/headers/cosf4.h: Likewise.
875
        * libm/machine/spu/headers/coshd2.h: Likewise.
876
        * libm/machine/spu/headers/coshf4.h: Likewise.
877
        * libm/machine/spu/headers/divd2.h: Likewise.
878
        * libm/machine/spu/headers/divf4.h: Likewise.
879
        * libm/machine/spu/headers/erf_utils.h: Likewise.
880
        * libm/machine/spu/headers/erfcd2.h: Likewise.
881
        * libm/machine/spu/headers/erfcf4.h: Likewise.
882
        * libm/machine/spu/headers/erfd2.h: Likewise.
883
        * libm/machine/spu/headers/erff4.h: Likewise.
884
        * libm/machine/spu/headers/exp2d2.h: Likewise.
885
        * libm/machine/spu/headers/exp2f4.h: Likewise.
886
        * libm/machine/spu/headers/expd2.h: Likewise.
887
        * libm/machine/spu/headers/expf4.h: Likewise.
888
        * libm/machine/spu/headers/expm1d2.h: Likewise.
889
        * libm/machine/spu/headers/expm1f4.h: Likewise.
890
        * libm/machine/spu/headers/floord2.h: Likewise.
891
        * libm/machine/spu/headers/floorf4.h: Likewise.
892
        * libm/machine/spu/headers/hypotd2.h: Likewise.
893
        * libm/machine/spu/headers/hypotf4.h: Likewise.
894
        * libm/machine/spu/headers/isnand2.h: Likewise.
895
        * libm/machine/spu/headers/isnanf4.h: Likewise.
896
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
897
        * libm/machine/spu/headers/ldexpf4.h: Likewise.
898
        * libm/machine/spu/headers/lgammad2.h: Likewise.
899
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
900
        * libm/machine/spu/headers/log10d2.h: Likewise.
901
        * libm/machine/spu/headers/log1pd2.h: Likewise.
902
        * libm/machine/spu/headers/log1pf4.h: Likewise.
903
        * libm/machine/spu/headers/log2d2.h: Likewise.
904
        * libm/machine/spu/headers/log2f4.h: Likewise.
905
        * libm/machine/spu/headers/logbf4.h: Likewise.
906
        * libm/machine/spu/headers/logd2.h: Likewise.
907
        * libm/machine/spu/headers/logf4.h: Likewise.
908
        * libm/machine/spu/headers/nearbyintf4.h: Likewise.
909
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
910
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
911
        * libm/machine/spu/headers/powd2.h: Likewise.
912
        * libm/machine/spu/headers/powf4.h: Likewise.
913
        * libm/machine/spu/headers/recipd2.h: Likewise.
914
        * libm/machine/spu/headers/recipf4.h: Likewise.
915
        * libm/machine/spu/headers/rintf4.h: Likewise.
916
        * libm/machine/spu/headers/scalbnf4.h: Likewise.
917
        * libm/machine/spu/headers/signbitd2.h: Likewise.
918
        * libm/machine/spu/headers/sincosd2.h: Likewise.
919
        * libm/machine/spu/headers/sincosf4.h: Likewise.
920
        * libm/machine/spu/headers/sind2.h: Likewise.
921
        * libm/machine/spu/headers/sinf4.h: Likewise.
922
        * libm/machine/spu/headers/sinhd2.h: Likewise.
923
        * libm/machine/spu/headers/sinhf4.h: Likewise.
924
        * libm/machine/spu/headers/sqrtd2.h: Likewise.
925
        * libm/machine/spu/headers/sqrtf4.h: Likewise.
926
        * libm/machine/spu/headers/tand2.h: Likewise.
927
        * libm/machine/spu/headers/tanf4.h: Likewise.
928
        * libm/machine/spu/headers/tanhd2.h: Likewise.
929
        * libm/machine/spu/headers/tanhf4.h: Likewise.
930
        * libm/machine/spu/headers/tgammad2.h: Likewise.
931
        * libm/machine/spu/headers/tgammaf4.h: Likewise.
932
        * libm/machine/spu/headers/truncd2.h: Likewise.
933
        * libm/machine/spu/headers/truncf4.h: Likewise.
934
        * libm/machine/spu/headers/simdmath.h: Likewise.
935
 
936
2008-09-04  Ken Werner  
937
 
938
        * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
939
        * libm/machine/spu/headers/asinhd2.h: Likewise.
940
        * libm/machine/spu/headers/atanhd2.h: Likewise.
941
        * libm/machine/spu/headers/atanhf4.h: Likewise.
942
        * libm/machine/spu/headers/erff4.h: Likewise.
943
        * libm/machine/spu/headers/expd2.h: Likewise.
944
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
945
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
946
        * libm/machine/spu/headers/logbf4.h: Likewise.
947
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
948
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
949
        * libm/machine/spu/headers/recipd2.h: Likewise.
950
        * libm/machine/spu/headers/simdmath.h: Likewise.
951
        * libm/machine/spu/headers/acoshd2.: Likewise.
952
 
953
2008-09-04  Ken Werner  
954
 
955
        * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
956
        * libm/machine/spu/headers/cbrtf.h: Likewise.
957
 
958
2008-09-01  Ken Werner  
959
 
960
        * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
961
        * libc/machine/spu/spu_timebase.c: New file.
962
        * libc/machine/spu/Makefile.am: Add new file.
963
        * libc/machine/spu/Makefile.in: Regenerated.
964
 
965
2008-08-28  Craig Howland  
966
 
967
        * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
968
        any positive value from user (per std) rather than depending
969
        upon 1).
970
 
971
2008-08-28  Corinna Vinschen  
972
 
973
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
974
        for accepting a converted character.
975
 
976
2008-08-27  Sandra Loosemore  
977
 
978
        * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
979
        from building pdfs.
980
        * libm/libm.texinfo: Likewise.
981
 
982
2008-08-27  Corinna Vinschen  
983
 
984
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
985
        accepting a converted character and continuing the loop.
986
 
987
2008-07-24  Jeff Johnston  
988
 
989
        * libc/include/ctype.h (_ctype_): Restore for C++ backward
990
        compatability only.
991
 
992
2008-07-21  Jeff Johnston  
993
 
994
        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
995
        less than the old __ctype_ptr.
996
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
997
        * libc/ctype/isalpha.c: Ditto.
998
        * libc/ctype/iscntrl.c: Ditto.
999
        * libc/ctype/isdigit.c: Ditto.
1000
        * libc/ctype/islower.c: Ditto.
1001
        * libc/ctype/isprint.c: Ditto.
1002
        * libc/ctype/ispunct.c: Ditto.
1003
        * libc/ctype/isspace.c: Ditto.
1004
        * libc/ctype/isupper.c: Ditto.
1005
        * libc/ctype/isxdigit.c: Ditto.
1006
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
1007
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
1008
        from here even though they can still work.
1009
 
1010
2008-07-18  Ken Werner  
1011
 
1012
        * libc/machine/spu/strcpy.h: Fix error in previous patch.
1013
 
1014
2008-07-17  Jeff Johnston  
1015
 
1016
        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
1017
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
1018
 
1019
2008-07-17  Ken Werner  
1020
 
1021
        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
1022
 
1023
2008-07-08  Kenji Tanaka  
1024
 
1025
        * libc/machine/mn10300/memset.S: Fix bug where return value is
1026
        incorrectly set if number of bytes set is a multiple of 4.
1027
 
1028
2008-07-07  Hans-Peter Nilsson  
1029
 
1030
        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
1031
        (strncpy): Cast src to uintptr_t before checking alignment with "&".
1032
 
1033
2008-07-02  Jeff Johnston  
1034
 
1035
        * libc/argz/argz_count.c: Include stddef.h to get size_t.
1036
        * libc/argz/argz_extract.c: Ditto.
1037
        * libc/argz/argz_stringify.c: Ditto.
1038
        * libc/search/hash.h: Ditto.
1039
        * libc/sys/linux/include/sched.h: Ditto.
1040
        * libc/sys/linux/sys/types.h: Ditto.
1041
 
1042
2008-07-02  Jeff Johnston  
1043
 
1044
        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
1045
        source data is taken care of before loop unrolling.
1046
 
1047
2008-06-25  Hans-Peter Nilsson  
1048
 
1049
        Fix strict-aliasing issues with _strtod_r and Storeinc.
1050
        * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
1051
        rv, rv0 from double to type U.  Use accessor macros dval, dword0
1052
        and dword1 for all accesses except for the ULtod call, where rv.i
1053
        replaces the pointer cast.
1054
        * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
1055
        of access macros.  Tweak comment.
1056
        Remove #ifdef'd YES_ALIAS code.
1057
        (dword0, dword1, dval): Define in terms of uncast union member
1058
        access.  Ditto for _DOUBLE_IS_32BITS variants.
1059
        (Storeinc): Replace aliasing-flawed microoptimized definition with
1060
        alternative suggested in comment.  Remove now stale comment.
1061
 
1062
2008-06-21  Corinna Vinschen  
1063
 
1064
        * libc/include/machine/setjmp.h (_longjmp): Define as function on
1065
        Cygwin.
1066
        (_setjmp): Ditto.
1067
 
1068
2008-06-18  Eric Blake  
1069
 
1070
        Per Posix, strsignal returns non-const char*.
1071
        * libc/include/string.h (strsignal): Fix return type.
1072
 
1073
2008-06-17  Ken Werner  
1074
 
1075
        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
1076
        support.
1077
 
1078
2008-06-16  Ken Werner  
1079
 
1080
        * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
1081
        * libc/machine/spu/sys/sched.h: Likewise.
1082
        * libc/machine/spu/sys/syscall.h: Likewise.
1083
 
1084
2008-06-16  Ken Werner  
1085
 
1086
        * libc/machine/spu/mk_syscalls: Provide .type and .size directives
1087
        in generated assembler files.
1088
        * libc/machine/spu/fprintf.S: Regenerate.
1089
        * libc/machine/spu/fscanf.S: Regenerate.
1090
        * libc/machine/spu/printf.S: Regenerate.
1091
        * libc/machine/spu/scanf.S: Regenerate.
1092
        * libc/machine/spu/snprintf.S: Regenerate.
1093
        * libc/machine/spu/sprintf.S: Regenerate.
1094
        * libc/machine/spu/sscanf.S: Regenerate.
1095
        * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
1096
        and .size directives.
1097
        * libc/machine/spu/setjmp.S (setjmp): Likewise.
1098
        (longjmp): Likewise.
1099
 
1100
2008-06-11  Jeff Johnston  
1101
 
1102
        * libc/include/machine/_default_types.h: Fix GNUC check to
1103
        handle 4.0 and greater.
1104
 
1105
2008-06-09  Ken Werner  
1106
 
1107
        * libc/machine/spu/Makefile.am: Add new files.
1108
        * libc/machine/spu/Makefile.in: Likewise.
1109
        * libc/machine/spu/include/spu_timer.h: New file to add timer support
1110
        using interrupts.
1111
        * libc/machine/spu/spu_clock_stop.c: Likewise.
1112
        * libc/machine/spu/spu_clock_svcs.c: Likewise.
1113
        * libc/machine/spu/spu_timer_flih.S: Likewise.
1114
        * libc/machine/spu/spu_timer_free.c: Likewise.
1115
        * libc/machine/spu/spu_timer_internal.h: Likewise.
1116
        * libc/machine/spu/spu_timer_slih.c: Likewise.
1117
        * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
1118
        * libc/machine/spu/spu_timer_stop.c: Likewise.
1119
        * libc/machine/spu/spu_timer_svcs.c: Likewise.
1120
 
1121
2008-06-09  Ken Werner  
1122
 
1123
        * libc/machine/spu/strcat.c: Return value fixed.
1124
        * libc/machine/spu/strncat.c: Likewise.
1125
 
1126
2008-05-28  Eric Blake  
1127
 
1128
        Fix bug in previous patch.
1129
        * libc/machine/i386/memset.S (memset): Mask second arg correctly.
1130
 
1131
2008-05-27  Jeff Johnston  
1132
 
1133
        * libc/string/memset.c: Fix documented prototype to remove
1134
        erroneous const attribute on first parameter.
1135
 
1136
2008-05-26  Eric Blake  
1137
 
1138
        Optimize the generic and x86 memchr.
1139
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
1140
        Pre-align pointer so unaligned searches aren't penalized.
1141
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
1142
        operations are faster than repnz byte searches.
1143
 
1144
2008-05-26  Eric Blake  
1145
 
1146
        Optimize the generic and x86 memset.
1147
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
1148
        Pre-align pointer so unaligned stores aren't penalized.
1149
        * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
1150
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
1151
        8-byte over 4-byte alignment.  Reduce register pressure.
1152
 
1153
2008-05-26  Eric Blake  
1154
 
1155
        Optimize the generic and x86 strlen.
1156
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
1157
        data so unaligned searches aren't penalized.
1158
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
1159
        Word operations are faster than repnz byte searches.
1160
 
1161
2008-05-23  Corinna Vinschen  
1162
 
1163
        * libc/include/sys/_default_fcntl.h: Include  on Cygwin.
1164
 
1165
2008-05-22  Jeff Johnston  
1166
 
1167
        * libc/include/sys/reent.h: Add _h_errno field.
1168
        * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
1169
        now used in net directory.
1170
        * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
1171
        * libc/sys/linux/include/hesiod.h: Add needed macros for new code
1172
        in net directory.
1173
        * libc/sys/linux/include/netdb.h: Ditto.
1174
        * libc/sys/linux/include/resolv.h: Ditto.
1175
        * libc/sys/linux/include/stdint.h: Ditto.
1176
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
1177
        * libc/sys/linux/include/net/ethernet.h: Ditto.
1178
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
1179
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1180
        * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
1181
        * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
1182
        flags to avoid duplicate definition.
1183
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
1184
        * libc/sys/linux/net/Makefile.am: Modified to account for removed and
1185
        added files.
1186
        * libc/sys/linux/net/Makefile.in: Regenerated.
1187
        * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
1188
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
1189
        * libc/sys/linux/net/getnameinfo.c: Ditto.
1190
        * libc/sys/linux/net/getproto.c: Ditto.
1191
        * libc/sys/linux/net/getservent.c: Ditto.
1192
        * libc/sys/linux/net/inet_netof.c: Ditto.
1193
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
1194
        * libc/sys/linux/net/ns_name.c: Ditto.
1195
        * libc/sys/linux/net/ns_netint.c: Ditto.
1196
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
1197
        * libc/sys/linux/net/ns_parse.c: Ditto.
1198
        * libc/sys/linux/net/ns_print.c: Ditto.
1199
        * libc/sys/linux/net/ns_ttl.c: Ditto.
1200
        * libc/sys/linux/net/nsap_addr.c: Ditto.
1201
        * libc/sys/linux/net/rcmd.c: Ditto.
1202
        * libc/sys/linux/net/res_comp.c: Ditto.
1203
        * libc/sys/linux/net/res_data.c: Ditto.
1204
        * libc/sys/linux/net/res_debug.c: Ditto.
1205
        * libc/sys/linux/net/res_init.c: Ditto.
1206
        * libc/sys/linux/net/res_mkquery.c: Ditto.
1207
        * libc/sys/linux/net/res_query.c: Ditto.
1208
        * libc/sys/linux/net/res_send.c: Ditto.
1209
        * libc/sys/linux/net/send.c: Ditto.
1210
        * libc/sys/linux/stdlib/collate.c: Ditto.
1211
        * libc/sys/linux/sys/ioctl.h: Ditto.
1212
        * libc/sys/linux/sys/socket.h: Ditto.
1213
        * libc/sys/linux/sys/unistd.h: Ditto.
1214
        * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
1215
        used or because licensing includes advertising clause that cannot be
1216
        ignored.
1217
        * libc/sys/linux/iconv/strtab.c: Ditto.
1218
        * libc/sys/linux/include/libc_private.h: Ditto.
1219
        * libc/sys/linux/include/nsswitch.h: Ditto.
1220
        * libc/sys/linux/include/net/if_atm.h: Ditto.
1221
        * libc/sys/linux/include/net/if_media.h: Ditto.
1222
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1223
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1224
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1225
        * libc/sys/linux/intl/locale.alias: Ditto.
1226
        * libc/sys/linux/net/addr2ascii.3: Ditto.
1227
        * libc/sys/linux/net/bindresvport.c: Ditto.
1228
        * libc/sys/linux/net/byteorder.3: Ditto.
1229
        * libc/sys/linux/net/res_config.h: Ditto.
1230
        * libc/sys/linux/net/ether_addr.c: Ditto.
1231
        * libc/sys/linux/net/ethers.3: Ditto.
1232
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
1233
        * libc/sys/linux/net/gethostbydns.c: Ditto.
1234
        * libc/sys/linux/net/gethostbyht.c: Ditto.
1235
        * libc/sys/linux/net/gethostbyname.3: Ditto.
1236
        * libc/sys/linux/net/gethostbynis.c: Ditto.
1237
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
1238
        * libc/sys/linux/net/getifaddrs.3: Ditto.
1239
        * libc/sys/linux/net/getifaddrs.c: Ditto.
1240
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
1241
        * libc/sys/linux/net/getnameinfo.3: Ditto.
1242
        * libc/sys/linux/net/getnetbydns.c: Ditto.
1243
        * libc/sys/linux/net/getnetbyht.c: Ditto.
1244
        * libc/sys/linux/net/getnetbynis.c: Ditto.
1245
        * libc/sys/linux/net/getnetent.3: Ditto.
1246
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
1247
        * libc/sys/linux/net/getprotoent.3: Ditto.
1248
        * libc/sys/linux/net/getprotoent.c: Ditto.
1249
        * libc/sys/linux/net/getprotoname.c: Ditto.
1250
        * libc/sys/linux/net/getservbyname.c: Ditto.
1251
        * libc/sys/linux/net/getservbyport.c: Ditto.
1252
        * libc/sys/linux/net/getservent.3: Ditto.
1253
        * libc/sys/linux/net/herror.c: Ditto.
1254
        * libc/sys/linux/net/hesiod.3: Ditto.
1255
        * libc/sys/linux/net/hesiod.c: Ditto.
1256
        * libc/sys/linux/net/if_indextoname.3: Ditto.
1257
        * libc/sys/linux/net/inet.3: Ditto.
1258
        * libc/sys/linux/net/inet6_option_space.3: Ditto.
1259
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1260
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1261
        * libc/sys/linux/net/inet_net.3: Ditto.
1262
        * libc/sys/linux/net/inet_network.c: Ditto.
1263
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
1264
        * libc/sys/linux/net/ip6opt.c: Ditto.
1265
        * libc/sys/linux/net/iso_addr.3: Ditto.
1266
        * libc/sys/linux/net/iso_addr.c: Ditto.
1267
        * libc/sys/linux/net/linkaddr.3: Ditto.
1268
        * libc/sys/linux/net/linkaddr.c: Ditto.
1269
        * libc/sys/linux/net/map_v4v6.c: Ditto.
1270
        * libc/sys/linux/net/name6.c: Ditto.
1271
        * libc/sys/linux/net/namespace.h: Ditto.
1272
        * libc/sys/linux/net/ns.3: Ditto.
1273
        * libc/sys/linux/net/ns_addr.c: Ditto.
1274
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
1275
        * libc/sys/linux/net/nsdispatch.3: Ditto.
1276
        * libc/sys/linux/net/nsdispatch.c: Ditto.
1277
        * libc/sys/linux/net/nslexer.c: Ditto.
1278
        * libc/sys/linux/net/nslexer.l: Ditto.
1279
        * libc/sys/linux/net/nsparser.c: Ditto.
1280
        * libc/sys/linux/net/nsparser.h: Ditto.
1281
        * libc/sys/linux/net/nsparser.y: Ditto.
1282
        * libc/sys/linux/net/rcmd.3: Ditto.
1283
        * libc/sys/linux/net/rcmdsh.3: Ditto.
1284
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
1285
        * libc/sys/linux/net/res_update.c: Ditto.
1286
        * libc/sys/linux/net/resolver.3: Ditto.
1287
        * libc/sys/linux/net/rthdr.c: Ditto.
1288
        * libc/sys/linux/net/vars.c: Ditto.
1289
        * libc/sys/linux/shlib-compat.h: New file.
1290
        * libc/sys/linux/machine/i386/atomic.h: Ditto.
1291
        * libc/sys/linux/net/XXX-lookup.c: Ditto.
1292
        * libc/sys/linux/net/alias-lookup.c: Ditto.
1293
        * libc/sys/linux/net/res_libc.c: Ditto.
1294
        * libc/sys/linux/net/aliases.h: Ditto.
1295
        * libc/sys/linux/net/check_pf.c: Ditto.
1296
        * libc/sys/linux/net/databases.def: Ditto.
1297
        * libc/sys/linux/net/digits_dots.c: Ditto.
1298
        * libc/sys/linux/net/ether_aton.c: Ditto.
1299
        * libc/sys/linux/net/ether_aton_r.c: Ditto.
1300
        * libc/sys/linux/net/ether_hton.c: Ditto.
1301
        * libc/sys/linux/net/ether_line.c: Ditto.
1302
        * libc/sys/linux/net/ether_ntoa.c: Ditto.
1303
        * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
1304
        * libc/sys/linux/net/ether_ntoh.c: Ditto.
1305
        * libc/sys/linux/net/etherent.h: Ditto.
1306
        * libc/sys/linux/net/ethers-lookup.c: Ditto.
1307
        * libc/sys/linux/net/function.def: Ditto.
1308
        * libc/sys/linux/net/getXXbyYY.c: Ditto.
1309
        * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
1310
        * libc/sys/linux/net/getXXent.c: Ditto.
1311
        * libc/sys/linux/net/getXXent_r.c: Ditto.
1312
        * libc/sys/linux/net/getaliasent.c: Ditto.
1313
        * libc/sys/linux/net/getaliasent_r.c: Ditto.
1314
        * libc/sys/linux/net/getaliasname.c: Ditto.
1315
        * libc/sys/linux/net/getaliasname_r.c: Ditto.
1316
        * libc/sys/linux/net/gethstbyad.c: Ditto.
1317
        * libc/sys/linux/net/gethstbyad_r.c: Ditto.
1318
        * libc/sys/linux/net/gethstbynm.c: Ditto.
1319
        * libc/sys/linux/net/gethstbynm2.c: Ditto.
1320
        * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
1321
        * libc/sys/linux/net/gethstbynm_r.c: Ditto.
1322
        * libc/sys/linux/net/gethstent.c: Ditto.
1323
        * libc/sys/linux/net/gethstent_r.c: Ditto.
1324
        * libc/sys/linux/net/getnetbyad.c: Ditto.
1325
        * libc/sys/linux/net/getnetbyad_r.c: Ditto.
1326
        * libc/sys/linux/net/getnetbynm.c: Ditto.
1327
        * libc/sys/linux/net/getnetbynm_r.c: Ditto.
1328
        * libc/sys/linux/net/getnetent.c: Ditto.
1329
        * libc/sys/linux/net/getnetent_r.c: Ditto.
1330
        * libc/sys/linux/net/getnetgrent.c: Ditto.
1331
        * libc/sys/linux/net/getnetgrent_r.c: Ditto.
1332
        * libc/sys/linux/net/getnssent.c: Ditto.
1333
        * libc/sys/linux/net/getnssent_r.c: Ditto.
1334
        * libc/sys/linux/net/getproto_r.c: Ditto.
1335
        * libc/sys/linux/net/getprtent.c: Ditto.
1336
        * libc/sys/linux/net/getprtent_r.c: Ditto.
1337
        * libc/sys/linux/net/getprtname.c: Ditto.
1338
        * libc/sys/linux/net/getprtname_r.c: Ditto.
1339
        * libc/sys/linux/net/getrpcbyname.c: Ditto.
1340
        * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
1341
        * libc/sys/linux/net/getrpcbynumber.c: Ditto.
1342
        * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
1343
        * libc/sys/linux/net/getrpcent.c: Ditto.
1344
        * libc/sys/linux/net/getrpcent_r.c: Ditto.
1345
        * libc/sys/linux/net/getservent_r.c: Ditto.
1346
        * libc/sys/linux/net/getsrvbynm.c: Ditto.
1347
        * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
1348
        * libc/sys/linux/net/getsrvbypt.c: Ditto.
1349
        * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
1350
        * libc/sys/linux/net/grp-lookup.c: Ditto.
1351
        * libc/sys/linux/net/herrno.c: Ditto.
1352
        * libc/sys/linux/net/hosts-lookup.c: Ditto.
1353
        * libc/sys/linux/net/ifaddrs.h: Ditto.
1354
        * libc/sys/linux/net/ifreq.c: Ditto.
1355
        * libc/sys/linux/net/ifreq.h: Ditto.
1356
        * libc/sys/linux/net/in6_addr.c: Ditto.
1357
        * libc/sys/linux/net/inet6_option.c: Ditto.
1358
        * libc/sys/linux/net/inet_mkadr.c: Ditto.
1359
        * libc/sys/linux/net/inet_net.c: Ditto.
1360
        * libc/sys/linux/net/key-lookup.c: Ditto.
1361
        * libc/sys/linux/net/local.h: Ditto.
1362
        * libc/sys/linux/net/netgroup.h: Ditto.
1363
        * libc/sys/linux/net/netgrp-lookup.c: Ditto.
1364
        * libc/sys/linux/net/network-lookup.c: Ditto.
1365
        * libc/sys/linux/net/not-cancel.h: Ditto.
1366
        * libc/sys/linux/net/ns_samedomain.c: Ditto.
1367
        * libc/sys/linux/net/nscd-types.h: Ditto.
1368
        * libc/sys/linux/net/nss.h: Ditto.
1369
        * libc/sys/linux/net/nsswitch.c: Ditto.
1370
        * libc/sys/linux/net/nsswitch.h: Ditto.
1371
        * libc/sys/linux/net/opensock.c: Ditto.
1372
        * libc/sys/linux/net/proto-lookup.c: Ditto.
1373
        * libc/sys/linux/net/pwd-lookup.c: Ditto.
1374
        * libc/sys/linux/net/res_debug.h: Ditto.
1375
        * libc/sys/linux/net/res_hconf.c: Ditto.
1376
        * libc/sys/linux/net/res_hconf.h: Ditto.
1377
        * libc/sys/linux/net/rexec.c: Ditto.
1378
        * libc/sys/linux/net/rpc-lookup.c: Ditto.
1379
        * libc/sys/linux/net/ruserpass.c: Ditto.
1380
        * libc/sys/linux/net/service-lookup.c: Ditto.
1381
        * libc/sys/linux/net/spwd-lookup.c: Ditto.
1382
        * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
1383
        * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
1384
 
1385
2008-05-21  Eric Blake  
1386
 
1387
        Optimize the generic strchr.
1388
        * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
1389
        data so unaligned searches aren't penalized.  Special-case
1390
        searching for 0.
1391
 
1392
        Optimize strchr for x86.
1393
        * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
1394
        Pre-align data so unaligned searches aren't penalized.
1395
        Special-case searching for 0.
1396
 
1397
2008-05-20  Nick Clifton  
1398
 
1399
        * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
1400
 
1401
2008-05-20  DJ Delorie  
1402
 
1403
        * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
1404
 
1405
2008-05-14  Jeff Johnston  
1406
 
1407
        * libc/include/sys/reent.h: Change _REENT_INIT... macros to
1408
        access macro parameter with parentheses around it.
1409
 
1410
2008-04-26  Mark Mitchell  
1411
 
1412
        * libc/include/stdint.h (SIZE_MIN): Remove.
1413
        (SIZE_MAX): Define.
1414
        * testsuite/newlib.stdlib/stdlib.exp: New.
1415
        * testsuite/newlib.stdlib/size_max.c: Likewise.
1416
 
1417
2008-04-29  Eric Blake  
1418
 
1419
        Fix 2008-04-14 regression in asprintf(ptr,"").
1420
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
1421
        baggage.
1422
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
1423
        * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
1424
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1425
        * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
1426
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
1427
        an initial buffer for asprintf.
1428
 
1429
2008-04-24  Corinna Vinschen  
1430
 
1431
        * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
1432
        (fstatat): Fix type of third parameter.
1433
 
1434
2008-04-25  Nick Clifton  
1435
 
1436
        * libc/machine/arm/setjmp.S: Fix thumb2 support.
1437
 
1438
2008-04-24  Nick Clifton  
1439
 
1440
        * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
1441
        should be _DOUBLE_IS_32BITS.
1442
 
1443
2008-04-24  Corinna Vinschen  
1444
 
1445
        * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
1446
        (UTIME_OMIT): Ditto.
1447
        (utimensat): Declare for Cygwin.
1448
        (futimens): Ditto.
1449
 
1450
2008-04-23  Ken Werner  
1451
 
1452
        * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
1453
        * libc/include/math.h: Likewise.
1454
 
1455
2008-04-23  Corinna Vinschen  
1456
 
1457
        * libc/include/stdio.h (renameat): Declare for Cygwin.
1458
        (symlinkat): Ditto.
1459
        * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
1460
        (faccessat): Declare for Cygwin.
1461
        (fchownat): Ditto.
1462
        (linkat): Ditto.
1463
        (readlinkat): Ditto.
1464
        * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
1465
        (AT_EACCESS): Ditto.
1466
        (AT_SYMLINK_NOFOLLOW): Ditto.
1467
        (AT_SYMLINK_FOLLOW): Ditto.
1468
        (AT_REMOVEDIR): Ditto.
1469
        (futimesat): Declare for Cygwin.
1470
        (openat): Ditto.
1471
        (unlinkat): Ditto.
1472
        * libc/include/sys/stat.h (fchmodat): Ditto.
1473
        (fstatat): Ditto.
1474
        (mkdirat): Ditto.
1475
        (mkfifoat): Ditto.
1476
        (mknodat): Ditto.
1477
 
1478
2008-04-22  Nick Clifton  
1479
 
1480
        * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
1481
        register load/store instructions.
1482
 
1483
2008-04-16  Patrick Mansfield  
1484
 
1485
        * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
1486
 
1487
2008-04-16  Patrick Mansfield  
1488
 
1489
        * libc/machine/spu/impure.c: Add missing underscore to impure_data.
1490
 
1491
2008-04-14  Patrick Mansfield  
1492
 
1493
        * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
1494
        * libc/machine/spu/Makefile.am: Add new file impure.c.
1495
        * libc/machine/spu/Makefile.in: Regenerate.
1496
        * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
1497
 
1498
2008-04-14  Jeff Johnston  
1499
 
1500
        * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
1501
        -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
1502
        to build special versions for sprintf/sscanf family functions.
1503
        * libc/stdio/Makefile.in: Regenerated.
1504
        * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
1505
        Redefine to be _svfiprintf_r which is optimized to work with siprintf
1506
        family of functions (i.e. no I/O) and does not support floating-point.
1507
        [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
1508
        _svfprintf_r which is optimized to work with sprintf family of
1509
        functions and not use I/O.
1510
        [STRING_ONLY](__sprint_r): New string only version of static function.
1511
        designed to work with sprintf family of functions.
1512
        * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
1513
        Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
1514
        family of functions (i.e. no I/O) and no float-point support.
1515
        [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
1516
        __ssvfscanf_r which is optimized to work with sscanf family of
1517
        functions and does not require I/O functions.
1518
        * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
1519
        * libc/stdio/snprintf.c: Ditto.
1520
        * libc/stdio/sprintf.c: Ditto.
1521
        * libc/stdio/vasnprintf.c: Ditto.
1522
        * libc/stdio/vasprintf.c: Ditto.
1523
        * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
1524
        * libc/stdio/sniprintf.c: Ditto.
1525
        * libc/stdio/vasiprintf.c: Ditto.
1526
        * libc/stdio/vsiprintf.c: Ditto.
1527
        * libc/stdio/vsniprintf.c: Ditto.
1528
        * libc/stdio/vsprintf.c: Ditto.
1529
        * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
1530
        _ssvfscanf_r, and _ssvfiscanf_r.
1531
        * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
1532
        * libc/stdio/vsscanf.c: Ditto.
1533
        * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
1534
        * libc/stdio/vsiscanf.c: Ditto.
1535
 
1536
2008-04-04  DJ Delorie  
1537
 
1538
        * libm/machine/spu/configure: Regenerate with autoconf 2.61.
1539
        * libc/sys/configure: Regenerate with autoconf 2.61.
1540
        * libc/machine/configure: Regenerate with autoconf 2.61.
1541
 
1542
2008-04-01 Patrick Mansfield 
1543
 
1544
        * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
1545
        * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
1546
        * libc/machine/spu/Makefile.am: Add memcmp.c.
1547
        * libc/machine/spu/Makefile.in: Rebuild.
1548
        * libc/machine/spu/strncmp.c: Use _strncmp_internal.
1549
 
1550
2008-04-01 Patrick Mansfield 
1551
 
1552
        * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
1553
          -DMISSING_SYSCALL_NAMES.
1554
 
1555
2008-04-01 Patrick Mansfield 
1556
 
1557
        * libc/machine/spu/Makefile.am: Add assert.c.
1558
        * libc/machine/spu/Makefile.in: Regenerate.
1559
        * libc/machine/spu/assert.c: New file.
1560
 
1561
2008-03-27 Patrick Mansfield 
1562
 
1563
        * libc/include/reent.h: Define _func_r functions in this file to
1564
        func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
1565
        defined.
1566
 
1567
2008-03-27  Corinna Vinschen  
1568
 
1569
        * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
1570
        constants when building for Cygwin.
1571
 
1572
2008-03-11  Jeff Johnston  
1573
 
1574
        * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
1575
        stdin gets resolved properly before refilling.
1576
 
1577
2008-03-07  Jeff Johnston  
1578
 
1579
        * libc/include/getopt.h: Hide newlib extensions under
1580
        the __need_getopt_newlib flag.
1581
        * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
1582
        getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
1583
        with their own getopt implementation.
1584
        * configure.host: Specify HAVE_GETOPT for x86-linux.
1585
 
1586
2008-03-07  Jeff Johnston  
1587
 
1588
        * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
1589
        this macro completely instead of referring to CHECK_STD_INIT which
1590
        is only found in libc/stdio/local.h.
1591
        * libc/stdio/dprintf.c: Add include of local.h.
1592
        * libc/stdio/vdprintf.c: Ditto.
1593
        * libc/stdio/vdiprintf.c: Ditto.
1594
 
1595
2008-03-04  Eric Blake  
1596
 
1597
        Fix strtod("nan()", ptr).
1598
        * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
1599
        n-char-sequence is omitted, still parse the ().
1600
 
1601
2008-03-03  Eric Blake  
1602
 
1603
        Fix ftell bug after ungetc.
1604
        * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
1605
        ftell.
1606
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1607
        * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
1608
        repositioning underlying fd offset.
1609
 
1610
2008-03-02  Jeff Johnston  
1611
 
1612
        * libc/include/getopt.h (no_argument): Added for glibc compatibility.
1613
        (required_argument, optional_argument): Ditto.
1614
 
1615
2008-02-29  Gregory Pietsch  
1616
 
1617
        * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
1618
        data area so as to support reentrant calls.  Change all callers
1619
        to fill in data area with global values and restore any changes
1620
        to the global values after call.
1621
        (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
1622
        to support reentrancy that add a data area argument.
1623
        * libc/include/getopt.h: Add new _r routines and provide macros
1624
        so they can be called with using double-underscores.
1625
 
1626
2008-02-21  Eric Blake  
1627
 
1628
        Fix strtod("-0x", NULL).
1629
        * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
1630
        fails.
1631
 
1632
2008-02-12  Jeff Johnston  
1633
 
1634
        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
1635
        for user specifying --disable-newlib-io-long-long on configure.
1636
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
1637
        reentrant pointer passed in rather than _REENT.
1638
 
1639
2008-02-12  Peter Rosin  
1640
 
1641
        * libc/stdlib/getopt.c (getopt_internal): Handle optional
1642
        arguments better for long options and short options not
1643
        appearing as the first option in a sequence.
1644
 
1645
2008-02-11  Patrick Mansfield  
1646
 
1647
        * libc/machine/spu/straddr.h: New file, supplies _straddr.
1648
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
1649
        * libc/machine/spu/strcpy.c: Use _strcpy.
1650
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
1651
        str[n]cpy and str[n]cat.
1652
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
1653
        * libc/machine/spu/strncpy.c: Use _strcpy.
1654
 
1655
2008-02-11  Patrick Mansfield  
1656
 
1657
        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
1658
        calculation of its value.
1659
 
1660
2008-01-25  Hans-Peter Nilsson  
1661
 
1662
        * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
1663
        Make ISO C.
1664
 
1665
2008-01-21  DJ Delorie  
1666
 
1667
        * libc/sys/sh/syscalls.c (_isatty): New.
1668
 
1669
2008-01-21  Neal H. Walfield  
1670
 
1671
        * Makefile.am (crt1.o): Use correct source.
1672
        * Makefile.in: Regenerated.
1673
 
1674
2008-01-15  Eric Blake  
1675
 
1676
        * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
1677
        * libc/string/Makefile: Regenerate.
1678
 
1679
2008-01-15  Corinna Vinschen  
1680
 
1681
        * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
1682
        pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
1683
        (sigsetjmp): Use __SIGMASK_FUNC.
1684
        (siglongjmp): Ditto.
1685
        (_setjmp): Define as macro.
1686
        (_longjmp): Ditto.
1687
 
1688
2008-01-11  Eric Blake  
1689
 
1690
        Make strstr and strcasestr O(n), not O(n^2); add memmem.
1691
        * libc/string/str-two-way.h: New file.
1692
        * libc/string/memmem.c (memmem): New file.
1693
        * libc/include/string.h (memmem): Declare for all platforms.
1694
        * libc/string/strstr.c (strstr): Provide O(n) implementation when
1695
        not optimizing for space.
1696
        * libc/string/strcasestr.c (strcasestr): Likewise.
1697
        * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
1698
        (ELIX_2_SOURCES): ...this.
1699
        (ELIX_4_SOURCES): New category, for memmem.
1700
        (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
1701
        (CHEWOUT_FILES): Build documentation for memmem.
1702
        * libc/string/strings.tex: Include new docs.
1703
 
1704
2008-01-08  Jeff Johnston  
1705
 
1706
        * libc/machine/m68k/memcpy.S: Remove % from register references
1707
        as this is already handled by m68kasm.h.
1708
        * libc/machine/m68k/memset.S: Ditto.
1709
 
1710
2008-01-07  Jeff Johnston  
1711
 
1712
        * libc/machine/m68k/m68kasm.h: New file.
1713
        * libc/machine/m68k/setjmp.S: Remove common definitions and
1714
        place in m68kasm.h.  Include "m68kasm.h".
1715
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
1716
        SYM() macro when referencing function name.
1717
        * libc/machine/m68k/memset.S: Ditto.
1718
 
1719
2008-01-03  Jeff Johnston  
1720
 
1721
        Make isatty syscall handling consistent with other newlib syscalls.
1722
 
1723
        * libc/include/_syslist.h: Add _isatty.
1724
        * libc/include/reent.h: Add _isatty_r.
1725
        * libc/include/sys/unistd.h: Add _isatty.
1726
        * libc/posix/Makefile.am: Add new _isatty.c file.
1727
        * libc/posix/Makefile.in: Regenerated.
1728
        * libc/posix/_isatty.c: New file.
1729
        * libc/posix/isatty.c: Changed to call _isatty().
1730
        * libc/reent/Makefile.am: Add new isattyr.c file.
1731
        * libc/reent/Makefile.in: Regenerated.
1732
        * libc/reent/isattyr.c: New file.
1733
        * libc/stdio/freopen.c: Changed to call _isatty_r().
1734
        * libc/stdio/makebuf.c: Ditto.
1735
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
1736
        * libc/sys/arc/isatty.c: Ditto.
1737
        * libc/sys/arm/syscalls.c: Ditto.
1738
        * libc/sys/d10v/syscalls.c: Ditto.
1739
        * libc/sys/h8300hms/syscalls.c: Ditto.
1740
        * libc/sys/h8500hms/syscalls.c: Ditto.
1741
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
1742
        * libc/sys/linux/Makefile.in: Regenerated.
1743
        * libc/sys/linux/isatty.c: New file.
1744
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
1745
        * libc/syscalls/Makefile.in: Regenerated.
1746
        * libc/syscalls/sysisatty.c: New file.
1747
 
1748
2008-01-02  Jeff Johnston  
1749
 
1750
        * libc/syscalls/sysclose.c: Always call reentrant version of the
1751
        underlying syscall since one is guaranteed to exist in libc/reent.
1752
        * libc/syscalls/sysexecve.c: Ditto.
1753
        * libc/syscalls/sysfcntl.c: Ditto.
1754
        * libc/syscalls/sysfork.c: Ditto.
1755
        * libc/syscalls/sysfstat.c: Ditto.
1756
        * libc/syscalls/sysgetpid.c: Ditto.
1757
        * libc/syscalls/sysgettod.c: Ditto.
1758
        * libc/syscalls/syskill.c: Ditto.
1759
        * libc/syscalls/syslink.c: Ditto.
1760
        * libc/syscalls/syslseek.c: Ditto.
1761
        * libc/syscalls/sysopen.c: Ditto.
1762
        * libc/syscalls/sysread.c: Ditto.
1763
        * libc/syscalls/syssbrk.c: Ditto.
1764
        * libc/syscalls/sysstat.c: Ditto.
1765
        * libc/syscalls/systimes.c: Ditto.
1766
        * libc/syscalls/sysunlink.c: Ditto.
1767
        * libc/syscalls/syswait.c: Ditto.
1768
        * libc/syscalls/syswrite.c: Ditto.
1769
 
1770
2007-12-19  Jeff Johnston  
1771
 
1772
        * NEWS: Update with 1.16.0 info.
1773
        * README: Ditto.
1774
        * acinclude.m4: Change version number to 1.16.0.
1775
        * aclocal.m4: Regenerated.
1776
        * configure: Ditto.
1777
        * doc/aclocal.m4: Ditto.
1778
        * doc/configure: Ditto.
1779
        * libc/*/aclocal.m4: Ditto.
1780
        * libc/*/configure: Ditto.
1781
        * libc/libc.texinfo: Ditto.
1782
        * libm/*/aclocal.m4: Ditto.
1783
        * libm/*/configure: Ditto.
1784
        * libm/libm.texinfo: Ditto.
1785
        * libc/sys/linux/shared.ld: Add VERS_1.16.
1786
 
1787
2007-12-19  Jeff Johnston  
1788
 
1789
        * libc/string/strcasestr.c: Remove id macro.
1790
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
1791
        field reference to be __sched_priority.
1792
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1793
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
1794
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
1795
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
1796
        * libc/sys/linux/stdlib/engine.c: Ditto.
1797
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1798
        * libc/sys/linux/stdlib/glob.c: Ditto.
1799
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
1800
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
1801
        * libc/sys/linux/stdlib/regerror.c: Ditto.
1802
        * libc/sys/linux/stdlib/regexec.c: Ditto.
1803
        * libc/sys/linux/stdlib/regfree.c: Ditto.
1804
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
1805
        * libc/sys/linux/include/argp.h: Ditto.
1806
        * libc/sys/linux/sys/libc-lock.h: New file.
1807
        * libc/sys/linux/sys/stdint.h: Ditto.
1808
        * libc/sys/linux/include/sched.h: New file.
1809
 
1810
2007-12-19  Dave Korn  
1811
            Jeff Johnston  
1812
 
1813
        * libc/include/_ansi.h: Add _LONG_LONG definition.
1814
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
1815
        prototypes.
1816
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
1817
        fast math versions of rint, lrint, and llrint family functions.
1818
        * libm/machine/i386/Makefile.am: Add new files.
1819
        * libm/machine/i386/Makefile.in: Regenerated.
1820
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
1821
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
1822
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
1823
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
1824
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.
1825
 
1826
2007-12-19  Jeff Johnston  
1827
 
1828
        * libc/include/sys/features.h: Add checks for C90 compilers using
1829
        -ansi.
1830
 
1831
2007-12-19  Corinna Vinschen  
1832
 
1833
        * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
1834
        * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
1835
        wcpncpy.c.
1836
        (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
1837
        * libc/string/Makefile.in: Regenerate.
1838
        * libc/string/wcpcpy.c: New file.
1839
        * libc/string/wcpncpy.c: New file.
1840
        * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
1841
 
1842
2007-12-19  Corinna Vinschen  
1843
 
1844
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
1845
        _wcsrtombs_r.
1846
 
1847
2007-11-19  Nick Clifton  
1848
 
1849
        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
1850
        * libc/machine/mn10300/Makefile.in: Regenerate.
1851
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
1852
        .debug_frame section.
1853
        * libc/machine/mn10300/memcmp.S: Likewise.
1854
        * libc/machine/mn10300/memcpy.S: Likewise.
1855
        * libc/machine/mn10300/memset.S: Likewise.
1856
        * libc/machine/mn10300/strchr.S: Likewise.
1857
        * libc/machine/mn10300/strcmp.S: Likewise.
1858
        * libc/machine/mn10300/strcpy.S: Likewise.
1859
        * libc/machine/mn10300/strlen.S: Likewise.
1860
 
1861
2007-11-15  Jeff Johnston  
1862
 
1863
        * libc/include/sys/_default_fcntl.h: New header file that
1864
        is the default version of sys/fcntl.h.
1865
        * libc/include/sys/fcntl.h: Changed to simply include
1866
        sys/_default_fcntl.h.
1867
        * libc/sys/arm/sys/fcntl.h: New file that includes
1868
        sys/_default_fcntl.h and defines O_BINARY.
1869
 
1870
2007-11-08  Corinna Vinschen  
1871
 
1872
        * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
1873
 
1874
2007-11-07  Dave Brolley  
1875
 
1876
        * libc/machine/configure: Regenerated to pick up mep-elf changes.
1877
 
1878
        * Contribute mep-elf from Red Hat
1879
        2006-10-27  DJ Delorie  
1880
 
1881
        * libc/include/machine/setjmp.h: Add MeP support.
1882
 
1883
        2003-04-17  DJ Delorie  
1884
 
1885
        * configure.host (mep-*-*): Support "long long" type.
1886
 
1887
        2001-06-06  DJ Delorie  
1888
 
1889
        * libc/include/machine/ieeefp.h (mep): Support little endian too.
1890
 
1891
        2001-05-14  DJ Delorie  
1892
 
1893
        * configure.host: Add mep's machine_dir.
1894
        * libc/include/setjmp.h: Add mep support.
1895
        * libc/machine/mep: New.
1896
        * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
1897
 
1898
        2001-05-04  DJ Delorie  
1899
 
1900
        * configure.host: Add mep.
1901
        * libc/include/machine/ieeefp.h: Ditto.
1902
 
1903
2007-10-31  DJ Delorie  
1904
 
1905
        * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
1906
        signal table, just use a default, in case initialization cause
1907
        recursion.
1908
 
1909
2007-10-23  Jeff Johnston  
1910
 
1911
        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
1912
        size if output buffer is NULL.
1913
 
1914
2007-10-17  Jeff Johnston  
1915
 
1916
        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
1917
        fix when handling negative input values.  Make function
1918
        consistent with math directory and glibc version such that
1919
        inf and nan values return inf and nan respectively with no
1920
        errno setting.
1921
        * libm/mathfp/sf_logarithm.c: Ditto.
1922
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
1923
        * libm/math/wf_log.c: Ditto.
1924
        * libm/math/w_log10.c: Ditto.
1925
        * libm/math/wf_log10.c: Ditto.
1926
 
1927
2007-10-17  Jeff Johnston  
1928
 
1929
        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
1930
        return -inf.
1931
        * libm/mathfp/sf_logarithm.c: Ditto.
1932
 
1933
2007-10-17  Jeff Johnston  
1934
 
1935
        * libc/machine/i386/machine/fastmath.h: New file.
1936
 
1937
2007-10-13  Eric Blake  
1938
 
1939
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
1940
        Correctly nest else within conditionals.
1941
        Reported by Artur Lipowski.
1942
 
1943
2007-10-09  Nick Clifton  
1944
 
1945
        * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
1946
        the STT_COMMON type.
1947
 
1948
2007-10-09  Ben Elliston  
1949
 
1950
        * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
1951
        before simdmath.h to get a definition for `vector'.
1952
        * libm/machine/spu/headers/asind2.h: Likewise.
1953
 
1954
2007-09-28  Patrick Mansfield  
1955
 
1956
        * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
1957
        * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
1958
        * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
1959
        * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
1960
        * libm/machine/spu/headers/acos.h: Add domain check.
1961
        * libm/machine/spu/headers/acosf.h: Ditto.
1962
        * libm/machine/spu/headers/acosh.h: Ditto.
1963
        * libm/machine/spu/headers/acoshf.h: Ditto.
1964
        * libm/machine/spu/headers/asin.h: Ditto.
1965
        * libm/machine/spu/headers/asinf.h: Ditto.
1966
        * libm/machine/spu/headers/atanh.h: Ditto.
1967
        * libm/machine/spu/headers/atanhf.h: Ditto.
1968
        * libm/machine/spu/headers/fmod.h: Ditto.
1969
        * libm/machine/spu/headers/fmodf.h: Ditto.
1970
        * libm/machine/spu/headers/log.h: Ditto.
1971
        * libm/machine/spu/headers/log10.h: Ditto.
1972
        * libm/machine/spu/headers/log1p.h: Ditto.
1973
        * libm/machine/spu/headers/log1pf.h: Ditto.
1974
        * libm/machine/spu/headers/log2.h: Ditto.
1975
        * libm/machine/spu/headers/log2f.h: Ditto.
1976
        * libm/machine/spu/headers/sqrt.h: Ditto.
1977
        * libm/machine/spu/headers/sqrtf.h: Ditto.
1978
        * libm/machine/spu/headers/tgamma.h: Ditto.
1979
        * libm/machine/spu/headers/tgammaf.h: Ditto.
1980
 
1981
2007-09-28  Patrick Mansfield  
1982
 
1983
        * libm/machine/spu/Makefile.am: Add new C files.
1984
        * libm/machine/spu/Makefile.in: Regenerate.
1985
        * libm/machine/spu/headers/acos.h: New file.
1986
        * libm/machine/spu/headers/acosd2.h: Ditto.
1987
        * libm/machine/spu/headers/acosf.h: Ditto.
1988
        * libm/machine/spu/headers/acosf4.h: Ditto.
1989
        * libm/machine/spu/headers/acosh.h: Ditto.
1990
        * libm/machine/spu/headers/acoshd2.h: Ditto.
1991
        * libm/machine/spu/headers/acoshf.h: Ditto.
1992
        * libm/machine/spu/headers/acoshf4.h: Ditto.
1993
        * libm/machine/spu/headers/asin.h: Ditto.
1994
        * libm/machine/spu/headers/asind2.h: Ditto.
1995
        * libm/machine/spu/headers/asinf.h: Ditto.
1996
        * libm/machine/spu/headers/asinf4.h: Ditto.
1997
        * libm/machine/spu/headers/asinh.h: Ditto.
1998
        * libm/machine/spu/headers/asinhd2.h: Ditto.
1999
        * libm/machine/spu/headers/asinhf.h: Ditto.
2000
        * libm/machine/spu/headers/asinhf4.h: Ditto.
2001
        * libm/machine/spu/headers/atan.h: Ditto.
2002
        * libm/machine/spu/headers/atan2.h: Ditto.
2003
        * libm/machine/spu/headers/atan2d2.h: Ditto.
2004
        * libm/machine/spu/headers/atan2f.h: Ditto.
2005
        * libm/machine/spu/headers/atan2f4.h: Ditto.
2006
        * libm/machine/spu/headers/atand2.h: Ditto.
2007
        * libm/machine/spu/headers/atanf4.h: Ditto.
2008
        * libm/machine/spu/headers/atanh.h: Ditto.
2009
        * libm/machine/spu/headers/atanhd2.h: Ditto.
2010
        * libm/machine/spu/headers/atanhf.h: Ditto.
2011
        * libm/machine/spu/headers/atanhf4.h: Ditto.
2012
        * libm/machine/spu/headers/cos.h: Ditto.
2013
        * libm/machine/spu/headers/cos_sin.h: Ditto.
2014
        * libm/machine/spu/headers/cosd2.h: Ditto.
2015
        * libm/machine/spu/headers/cosf.h: Ditto.
2016
        * libm/machine/spu/headers/cosf4.h: Ditto.
2017
        * libm/machine/spu/headers/cosh.h: Ditto.
2018
        * libm/machine/spu/headers/coshd2.h: Ditto.
2019
        * libm/machine/spu/headers/coshf.h: Ditto.
2020
        * libm/machine/spu/headers/coshf4.h: Ditto.
2021
        * libm/machine/spu/headers/divd2.h: Ditto.
2022
        * libm/machine/spu/headers/divf4.h: Ditto.
2023
        * libm/machine/spu/headers/erf.h: Ditto.
2024
        * libm/machine/spu/headers/erf_utils.h: Ditto.
2025
        * libm/machine/spu/headers/erfc.h: Ditto.
2026
        * libm/machine/spu/headers/erfcd2.h: Ditto.
2027
        * libm/machine/spu/headers/erfcf.h: Ditto.
2028
        * libm/machine/spu/headers/erfcf4.h: Ditto.
2029
        * libm/machine/spu/headers/erfd2.h: Ditto.
2030
        * libm/machine/spu/headers/erff.h: Ditto.
2031
        * libm/machine/spu/headers/erff4.h: Ditto.
2032
        * libm/machine/spu/headers/exp.h: Ditto.
2033
        * libm/machine/spu/headers/exp2.h: Ditto.
2034
        * libm/machine/spu/headers/exp2d2.h: Ditto.
2035
        * libm/machine/spu/headers/exp2f4.h: Ditto.
2036
        * libm/machine/spu/headers/expd2.h: Ditto.
2037
        * libm/machine/spu/headers/expf4.h: Ditto.
2038
        * libm/machine/spu/headers/expm1.h: Ditto.
2039
        * libm/machine/spu/headers/expm1d2.h: Ditto.
2040
        * libm/machine/spu/headers/expm1f.h: Ditto.
2041
        * libm/machine/spu/headers/expm1f4.h: Ditto.
2042
        * libm/machine/spu/headers/floord2.h: Ditto.
2043
        * libm/machine/spu/headers/floorf4.h: Ditto.
2044
        * libm/machine/spu/headers/hypot.h: Ditto.
2045
        * libm/machine/spu/headers/hypotd2.h: Ditto.
2046
        * libm/machine/spu/headers/hypotf.h: Ditto.
2047
        * libm/machine/spu/headers/hypotf4.h: Ditto.
2048
        * libm/machine/spu/headers/isnan.h: Ditto.
2049
        * libm/machine/spu/headers/isnand2.h: Ditto.
2050
        * libm/machine/spu/headers/isnanf.h: Ditto.
2051
        * libm/machine/spu/headers/isnanf4.h: Ditto.
2052
        * libm/machine/spu/headers/ldexpd2.h: Ditto.
2053
        * libm/machine/spu/headers/ldexpf4.h: Ditto.
2054
        * libm/machine/spu/headers/lgamma.h: Ditto.
2055
        * libm/machine/spu/headers/lgammad2.h: Ditto.
2056
        * libm/machine/spu/headers/lgammaf.h: Ditto.
2057
        * libm/machine/spu/headers/lgammaf4.h: Ditto.
2058
        * libm/machine/spu/headers/log.h: Ditto.
2059
        * libm/machine/spu/headers/log10.h: Ditto.
2060
        * libm/machine/spu/headers/log10d2.h: Ditto.
2061
        * libm/machine/spu/headers/log1p.h: Ditto.
2062
        * libm/machine/spu/headers/log1pd2.h: Ditto.
2063
        * libm/machine/spu/headers/log1pf.h: Ditto.
2064
        * libm/machine/spu/headers/log1pf4.h: Ditto.
2065
        * libm/machine/spu/headers/log2.h: Ditto.
2066
        * libm/machine/spu/headers/log2d2.h: Ditto.
2067
        * libm/machine/spu/headers/log2f4.h: Ditto.
2068
        * libm/machine/spu/headers/logbf.h: Ditto.
2069
        * libm/machine/spu/headers/logbf4.h: Ditto.
2070
        * libm/machine/spu/headers/logd2.h: Ditto.
2071
        * libm/machine/spu/headers/logf4.h: Ditto.
2072
        * libm/machine/spu/headers/nearbyintf.h: Ditto.
2073
        * libm/machine/spu/headers/nearbyintf4.h: Ditto.
2074
        * libm/machine/spu/headers/nextafter.h: Ditto.
2075
        * libm/machine/spu/headers/nextafterd2.h: Ditto.
2076
        * libm/machine/spu/headers/nextafterf.h: Ditto.
2077
        * libm/machine/spu/headers/nextafterf4.h: Ditto.
2078
        * libm/machine/spu/headers/pow.h: Ditto.
2079
        * libm/machine/spu/headers/powd2.h: Ditto.
2080
        * libm/machine/spu/headers/powf.h: Ditto.
2081
        * libm/machine/spu/headers/powf4.h: Ditto.
2082
        * libm/machine/spu/headers/recipd2.h: Ditto.
2083
        * libm/machine/spu/headers/recipf4.h: Ditto.
2084
        * libm/machine/spu/headers/rintf.h: Ditto.
2085
        * libm/machine/spu/headers/rintf4.h: Ditto.
2086
        * libm/machine/spu/headers/scalbnf4.h: Ditto.
2087
        * libm/machine/spu/headers/signbit.h: Ditto.
2088
        * libm/machine/spu/headers/signbitd2.h: Ditto.
2089
        * libm/machine/spu/headers/simdmath.h: Ditto.
2090
        * libm/machine/spu/headers/sin.h: Ditto.
2091
        * libm/machine/spu/headers/sincos.h: Ditto.
2092
        * libm/machine/spu/headers/sincosd2.h: Ditto.
2093
        * libm/machine/spu/headers/sincosf.h: Ditto.
2094
        * libm/machine/spu/headers/sincosf4.h: Ditto.
2095
        * libm/machine/spu/headers/sind2.h: Ditto.
2096
        * libm/machine/spu/headers/sinf.h: Ditto.
2097
        * libm/machine/spu/headers/sinf4.h: Ditto.
2098
        * libm/machine/spu/headers/sinh.h: Ditto.
2099
        * libm/machine/spu/headers/sinhd2.h: Ditto.
2100
        * libm/machine/spu/headers/sinhf.h: Ditto.
2101
        * libm/machine/spu/headers/sinhf4.h: Ditto.
2102
        * libm/machine/spu/headers/sqrtd2.h: Ditto.
2103
        * libm/machine/spu/headers/sqrtf.h: Ditto.
2104
        * libm/machine/spu/headers/sqrtf4.h: Ditto.
2105
        * libm/machine/spu/headers/tan.h: Ditto.
2106
        * libm/machine/spu/headers/tand2.h: Ditto.
2107
        * libm/machine/spu/headers/tanf.h: Ditto.
2108
        * libm/machine/spu/headers/tanf4.h: Ditto.
2109
        * libm/machine/spu/headers/tanh.h: Ditto.
2110
        * libm/machine/spu/headers/tanhd2.h: Ditto.
2111
        * libm/machine/spu/headers/tanhf.h: Ditto.
2112
        * libm/machine/spu/headers/tanhf4.h: Ditto.
2113
        * libm/machine/spu/headers/tgamma.h: Ditto.
2114
        * libm/machine/spu/headers/tgammad2.h: Ditto.
2115
        * libm/machine/spu/headers/tgammaf.h: Ditto.
2116
        * libm/machine/spu/headers/tgammaf4.h: Ditto.
2117
        * libm/machine/spu/headers/truncd2.h: Ditto.
2118
        * libm/machine/spu/headers/truncf4.h: Ditto.
2119
        * libm/machine/spu/log2.c: Ditto.
2120
        * libm/machine/spu/s_asinh.c: Ditto.
2121
        * libm/machine/spu/s_atan.c: Ditto.
2122
        * libm/machine/spu/s_cos.c: Ditto.
2123
        * libm/machine/spu/s_erf.c: Ditto.
2124
        * libm/machine/spu/s_expm1.c: Ditto.
2125
        * libm/machine/spu/s_isnan.c: Ditto.
2126
        * libm/machine/spu/s_log1p.c: Ditto.
2127
        * libm/machine/spu/s_nextafter.c: Ditto.
2128
        * libm/machine/spu/s_sin.c: Ditto.
2129
        * libm/machine/spu/s_tan.c: Ditto.
2130
        * libm/machine/spu/s_tanh.c: Ditto.
2131
        * libm/machine/spu/sf_asinh.c: Ditto.
2132
        * libm/machine/spu/sf_cos.c: Ditto.
2133
        * libm/machine/spu/sf_erf.c: Ditto.
2134
        * libm/machine/spu/sf_expm1.c: Ditto.
2135
        * libm/machine/spu/sf_log1p.c: Ditto.
2136
        * libm/machine/spu/sf_logb.c: Ditto.
2137
        * libm/machine/spu/sf_nearbyint.c: Ditto.
2138
        * libm/machine/spu/sf_nextafter.c: Ditto.
2139
        * libm/machine/spu/sf_rint.c: Ditto.
2140
        * libm/machine/spu/sf_sin.c: Ditto.
2141
        * libm/machine/spu/sf_tan.c: Ditto.
2142
        * libm/machine/spu/sf_tanh.c: Ditto.
2143
        * libm/machine/spu/w_acos.c: Ditto.
2144
        * libm/machine/spu/w_acosh.c: Ditto.
2145
        * libm/machine/spu/w_asin.c: Ditto.
2146
        * libm/machine/spu/w_atan2.c: Ditto.
2147
        * libm/machine/spu/w_atanh.c: Ditto.
2148
        * libm/machine/spu/w_cosh.c: Ditto.
2149
        * libm/machine/spu/w_exp.c: Ditto.
2150
        * libm/machine/spu/w_exp2.c: Ditto.
2151
        * libm/machine/spu/w_hypot.c: Ditto.
2152
        * libm/machine/spu/w_lgamma.c: Ditto.
2153
        * libm/machine/spu/w_log.c: Ditto.
2154
        * libm/machine/spu/w_log10.c: Ditto.
2155
        * libm/machine/spu/w_pow.c: Ditto.
2156
        * libm/machine/spu/w_sincos.c: Ditto.
2157
        * libm/machine/spu/w_sinh.c: Ditto.
2158
        * libm/machine/spu/w_tgamma.c: Ditto.
2159
        * libm/machine/spu/wf_acos.c: Ditto.
2160
        * libm/machine/spu/wf_acosh.c: Ditto.
2161
        * libm/machine/spu/wf_asin.c: Ditto.
2162
        * libm/machine/spu/wf_atan2.c: Ditto.
2163
        * libm/machine/spu/wf_atanh.c: Ditto.
2164
        * libm/machine/spu/wf_cosh.c: Ditto.
2165
        * libm/machine/spu/wf_hypot.c: Ditto.
2166
        * libm/machine/spu/wf_lgamma.c: Ditto.
2167
        * libm/machine/spu/wf_pow.c: Ditto.
2168
        * libm/machine/spu/wf_sincos.c: Ditto.
2169
        * libm/machine/spu/wf_sinh.c: Ditto.
2170
        * libm/machine/spu/wf_sqrt.c: Ditto.
2171
        * libm/machine/spu/wf_tgamma.c: Ditto.
2172
 
2173
2007-09-28  Patrick Mansfield  
2174
 
2175
        * configure.host: Define _POSIX_MODE to match the existing vector
2176
        math code, as we don't support the matherr callout.
2177
        * libm/machine/spu/Makefile.am: New file.
2178
        * libm/machine/spu/Makefile.in: Auto-generated.
2179
        * libm/machine/spu/headers/atanf.h: New file.
2180
        * libm/machine/spu/headers/cbrt.h: Ditto.
2181
        * libm/machine/spu/headers/cbrtf.h: Ditto.
2182
        * libm/machine/spu/headers/ceil.h: Ditto.
2183
        * libm/machine/spu/headers/ceilf.h: Ditto.
2184
        * libm/machine/spu/headers/copysign.h: Ditto.
2185
        * libm/machine/spu/headers/copysignf.h: Ditto.
2186
        * libm/machine/spu/headers/exp2f.h: Ditto.
2187
        * libm/machine/spu/headers/expf.h: Ditto.
2188
        * libm/machine/spu/headers/fabs.h: Ditto.
2189
        * libm/machine/spu/headers/fabsf.h: Ditto.
2190
        * libm/machine/spu/headers/fdim.h: Ditto.
2191
        * libm/machine/spu/headers/fdimf.h: Ditto.
2192
        * libm/machine/spu/headers/floor.h: Ditto.
2193
        * libm/machine/spu/headers/floorf.h: Ditto.
2194
        * libm/machine/spu/headers/fma.h: Ditto.
2195
        * libm/machine/spu/headers/fmaf.h: Ditto.
2196
        * libm/machine/spu/headers/fmax.h: Ditto.
2197
        * libm/machine/spu/headers/fmaxf.h: Ditto.
2198
        * libm/machine/spu/headers/fmin.h: Ditto.
2199
        * libm/machine/spu/headers/fminf.h: Ditto.
2200
        * libm/machine/spu/headers/fmod.h: Ditto.
2201
        * libm/machine/spu/headers/fmodf.h: Ditto.
2202
        * libm/machine/spu/headers/frexp.h: Ditto.
2203
        * libm/machine/spu/headers/frexpf.h: Ditto.
2204
        * libm/machine/spu/headers/ilogb.h: Ditto.
2205
        * libm/machine/spu/headers/ilogbf.h: Ditto.
2206
        * libm/machine/spu/headers/ldexp.h: Ditto.
2207
        * libm/machine/spu/headers/ldexpf.h: Ditto.
2208
        * libm/machine/spu/headers/llrint.h: Ditto.
2209
        * libm/machine/spu/headers/llrintf.h: Ditto.
2210
        * libm/machine/spu/headers/llround.h: Ditto.
2211
        * libm/machine/spu/headers/llroundf.h: Ditto.
2212
        * libm/machine/spu/headers/log10f.h: Ditto.
2213
        * libm/machine/spu/headers/log2f.h: Ditto.
2214
        * libm/machine/spu/headers/logf.h: Ditto.
2215
        * libm/machine/spu/headers/lrint.h: Ditto.
2216
        * libm/machine/spu/headers/lrintf.h: Ditto.
2217
        * libm/machine/spu/headers/lround.h: Ditto.
2218
        * libm/machine/spu/headers/lroundf.h: Ditto.
2219
        * libm/machine/spu/headers/nearbyint.h: Ditto.
2220
        * libm/machine/spu/headers/remainder.h: Ditto.
2221
        * libm/machine/spu/headers/remainderf.h: Ditto.
2222
        * libm/machine/spu/headers/remquo.h: Ditto.
2223
        * libm/machine/spu/headers/remquof.h: Ditto.
2224
        * libm/machine/spu/headers/rint.h: Ditto.
2225
        * libm/machine/spu/headers/round.h: Ditto.
2226
        * libm/machine/spu/headers/roundf.h: Ditto.
2227
        * libm/machine/spu/headers/scalbn.h: Ditto.
2228
        * libm/machine/spu/headers/scalbnf.h: Ditto.
2229
        * libm/machine/spu/headers/sqrt.h: Ditto.
2230
        * libm/machine/spu/headers/trunc.h: Ditto.
2231
        * libm/machine/spu/headers/truncf.h: Ditto.
2232
        * libm/machine/spu/headers/vec_literal.h: Ditto.
2233
        * libm/machine/spu/llrint.c: Ditto.
2234
        * libm/machine/spu/llrintf.c: Ditto.
2235
        * libm/machine/spu/llround.c: Ditto.
2236
        * libm/machine/spu/llroundf.c: Ditto.
2237
        * libm/machine/spu/log2f.c: Ditto.
2238
        * libm/machine/spu/s_cbrt.c: Ditto.
2239
        * libm/machine/spu/s_ceil.c: Ditto.
2240
        * libm/machine/spu/s_copysign.c: Ditto.
2241
        * libm/machine/spu/s_fabs.c: Ditto.
2242
        * libm/machine/spu/s_fdim.c: Ditto.
2243
        * libm/machine/spu/s_floor.c: Ditto.
2244
        * libm/machine/spu/s_fma.c: Ditto.
2245
        * libm/machine/spu/s_fmax.c: Ditto.
2246
        * libm/machine/spu/s_fmin.c: Ditto.
2247
        * libm/machine/spu/s_frexp.c: Ditto.
2248
        * libm/machine/spu/s_ilogb.c: Ditto.
2249
        * libm/machine/spu/s_ldexp.c: Ditto.
2250
        * libm/machine/spu/s_lrint.c: Ditto.
2251
        * libm/machine/spu/s_lround.c: Ditto.
2252
        * libm/machine/spu/s_nearbyint.c: Ditto.
2253
        * libm/machine/spu/s_remquo.c: Ditto.
2254
        * libm/machine/spu/s_rint.c: Ditto.
2255
        * libm/machine/spu/s_round.c: Ditto.
2256
        * libm/machine/spu/s_scalbn.c: Ditto.
2257
        * libm/machine/spu/s_trunc.c: Ditto.
2258
        * libm/machine/spu/sf_atan.c: Ditto.
2259
        * libm/machine/spu/sf_cbrt.c: Ditto.
2260
        * libm/machine/spu/sf_ceil.c: Ditto.
2261
        * libm/machine/spu/sf_copysign.c: Ditto.
2262
        * libm/machine/spu/sf_fabs.c: Ditto.
2263
        * libm/machine/spu/sf_fdim.c: Ditto.
2264
        * libm/machine/spu/sf_floor.c: Ditto.
2265
        * libm/machine/spu/sf_fma.c: Ditto.
2266
        * libm/machine/spu/sf_fmax.c: Ditto.
2267
        * libm/machine/spu/sf_fmin.c: Ditto.
2268
        * libm/machine/spu/sf_frexp.c: Ditto.
2269
        * libm/machine/spu/sf_ilogb.c: Ditto.
2270
        * libm/machine/spu/sf_ldexp.c: Ditto.
2271
        * libm/machine/spu/sf_lrint.c: Ditto.
2272
        * libm/machine/spu/sf_lround.c: Ditto.
2273
        * libm/machine/spu/sf_remquo.c: Ditto.
2274
        * libm/machine/spu/sf_round.c: Ditto.
2275
        * libm/machine/spu/sf_scalbn.c: Ditto.
2276
        * libm/machine/spu/sf_trunc.c: Ditto.
2277
        * libm/machine/spu/w_fmod.c: Ditto.
2278
        * libm/machine/spu/w_remainder.c: Ditto.
2279
        * libm/machine/spu/w_sqrt.c: Ditto.
2280
        * libm/machine/spu/wf_exp.c: Ditto.
2281
        * libm/machine/spu/wf_exp2.c: Ditto.
2282
        * libm/machine/spu/wf_fmod.c: Ditto.
2283
        * libm/machine/spu/wf_log.c: Ditto.
2284
        * libm/machine/spu/wf_log10.c: Ditto.
2285
        * libm/machine/spu/wf_remainder.c: Ditto.
2286
 
2287
2007-09-21  Patrick Mansfield  
2288
 
2289
        * libc/machine/spu/sys/uio.h: New file for readv and writev use.
2290
 
2291
2007-09-21  Patrick Mansfield  
2292
 
2293
        * libc/include/sched.h: New file, just include sys/sched.h.
2294
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
2295
        prototype.
2296
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
2297
        struct utimbuf definition.
2298
 
2299
2007-09-21  Patrick Mansfield  
2300
 
2301
        * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
2302
        specific struct and typedef.
2303
 
2304
2007-09-18  Patrick Mansfield  
2305
 
2306
        * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
2307
        typedef dev_t, gid_t, and uid_t.
2308
        * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
2309
        types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
2310
        Change to lower case for all __foo_t_defined names.
2311
        * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
2312
        __uid_t, and __gid_t making them all four bytes. Change to lower case
2313
        for all __foo_t_defined names.
2314
 
2315
2007-09-18  Jeff Johnston  
2316
 
2317
        * libc/reent/renamer.c: New file.
2318
        * libc/reent/Makefile.am: Add new file.
2319
        * libc/reent/Makefile.in: Regenerated.
2320
        * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
2321
        and add check for rename syscall.
2322
 
2323
2007-09-17  Eric Blake  
2324
 
2325
        Obey POSIX on printf("%.s", (char*)NULL).
2326
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
2327
        for %s on NULL.  Skip NULL check when optimizing for size.
2328
 
2329
2007-09-07  Jeff Johnston  
2330
 
2331
        * libc/include/sys/_types.h: Protect all types with flag
2332
        checks to allow definition in machine/_types.h.
2333
 
2334
2007-09-07  Jeff Johnston  
2335
 
2336
        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
2337
        definitions in light of the previous change.
2338
 
2339
2007-09-07  Patrick Mansfield  
2340
 
2341
        * libc/include/machine/_default_types.h: New file, contains what
2342
        was previously in libc/include/machine/_types.h.
2343
        * libc/include/machine/_types.h: Now only includes
2344
        machine/_default_types.h.
2345
        * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
2346
        * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
2347
        with conditional declarations.
2348
        * libc/machine/spu/machine/_types.h: New file, add SPU specific
2349
        typedefs for _fpos_t and _fpos64_t.
2350
 
2351
2007-09-07  Jeff Johnston  
2352
 
2353
        * libc/include/math.h (_M_LOG2E): Replace with..
2354
        (_M_LOG2_E): New macro.
2355
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
2356
 
2357
2007-09-06  Brian Dessent  
2358
 
2359
        * libc/reent/getreent.c: Allow for case where __getreent is
2360
        defined as a macro.
2361
 
2362
2007-09-06  Jeff Johnston  
2363
 
2364
        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
2365
        (log2): Use _M_LOG2E instead of M_LOG2E.
2366
        (log2f): Ditto.
2367
        (M_LOG2E): Define to be _M_LOG2E.
2368
 
2369
2007-09-04  Kazunori Asayama 
2370
 
2371
        * libm/math/wf_tgamma.c: Add missing include.
2372
 
2373
2007-08-31  Antony King  
2374
 
2375
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
2376
        bits and redefine associated dword0 macro (rvalue issue).
2377
        * libc/stdio/vfieeefp.h: Ditto.
2378
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2379
        to prevent setting dword1 which is an rvalue only.
2380
 
2381
2007-08-28  Hans Kester  
2382
 
2383
        * configure.host: Added support for x86_64.
2384
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
2385
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
2386
        * libc/machine/x86_64/aclocal.m4: Generated.
2387
        * libc/machine/x86_64/configure.in: New.
2388
        * libc/machine/x86_64/configure: Generated.
2389
        * libc/machine/x86_64/Makefile.am: New.
2390
        * libc/machine/x86_64/Makefile.in: Generated.
2391
        * libc/machine/x86_64/setjmp.S: New.
2392
        * libc/machine/x86_64/memcpy.S: New.
2393
        * libc/machine/x86_64/memset.S: New.
2394
        * libc/machine/configure.in: Added support for x86_64.
2395
        * libc/machine/configure: Regenerated.
2396
 
2397
2007-08-24  Jeff Johnston  
2398
 
2399
        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
2400
        to int before comparing it to a signed int value.
2401
 
2402
2007-08-24  Hans-Peter Nilsson  
2403
 
2404
        * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
2405
        (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
2406
        Define.
2407
 
2408
2007-08-23  Hidetaka Takano  
2409
 
2410
        Reduce the memory consumption of variable argument functions
2411
        for SPU (cell):
2412
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
2413
          to assembler sources.
2414
        * libc/machine/spu/Makefile.in: Regenerated.
2415
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
2416
          CHECK_INIT macro to use from assembler routines.
2417
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
2418
        * libc/machine/spu/fiprintf.S: New file.
2419
        * libc/machine/spu/fiscanf.S: Ditto.
2420
        * libc/machine/spu/fprintf.S: Ditto.
2421
        * libc/machine/spu/fscanf.S: Ditto.
2422
        * libc/machine/spu/iprintf.S: Ditto.
2423
        * libc/machine/spu/iscanf.S: Ditto.
2424
        * libc/machine/spu/printf.S: Ditto.
2425
        * libc/machine/spu/scanf.S: Ditto.
2426
        * libc/machine/spu/siprintf.S: Ditto.
2427
        * libc/machine/spu/siscanf.S: Ditto.
2428
        * libc/machine/spu/sniprintf.S: Ditto.
2429
        * libc/machine/spu/snprintf.S: Ditto.
2430
        * libc/machine/spu/sprintf.S: Ditto.
2431
        * libc/machine/spu/sscanf.S: Ditto.
2432
        * libc/machine/spu/stack_reg_va.S: Ditto.
2433
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
2434
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
2435
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
2436
        * libc/machine/spu/fiscanf.c: Ditto.
2437
        * libc/machine/spu/fprintf.c: Ditto.
2438
        * libc/machine/spu/fscanf.c: Ditto.
2439
        * libc/machine/spu/iprintf.c: Ditto.
2440
        * libc/machine/spu/iscanf.c: Ditto.
2441
        * libc/machine/spu/printf.c: Ditto.
2442
        * libc/machine/spu/scanf.c: Ditto.
2443
        * libc/machine/spu/siprintf.c: Ditto.
2444
        * libc/machine/spu/siscanf.c: Ditto.
2445
        * libc/machine/spu/sniprintf.c: Ditto.
2446
        * libc/machine/spu/snprintf.c: Ditto.
2447
        * libc/machine/spu/sprintf.c: Ditto.
2448
        * libc/machine/spu/sscanf.c: Ditto.
2449
 
2450
2007-08-03  Ralf Corsepius  
2451
 
2452
        * libc/include/tar.h: New.
2453
 
2454
2007-08-03  Jeff Johnston  
2455
 
2456
        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
2457
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
2458
        * libc/sys/linux/intl/Makefile.in: Regenerated.
2459
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
2460
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
2461
 
2462
2007-08-02  Eric Blake  
2463
 
2464
        Implement fmemopen and open_memstream.
2465
        * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
2466
        * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
2467
        New file.
2468
        * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
2469
        * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
2470
        functions together.
2471
        (fmemopen, open_memstream): Declare new functions.
2472
        * libc/stdio/stdio.tex: Document them.
2473
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
2474
        fmemopen and open_memstream.
2475
        * libc/stdio/Makefile.in: Regenerate.
2476
 
2477
2007-07-31  Eric Blake  
2478
 
2479
        More POSIX stream corner cases.
2480
        * libc/stdio/findfp.c (__sinit): Open stderr read/write.
2481
        * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
2482
        requested.
2483
        * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
2484
 
2485
2007-07-18  Eric Blake  
2486
 
2487
        Fix 'make info'.
2488
        * libc/stdio/stdio.tex: Add missing include.
2489
        * libc/stdio/vfprintf.c: Use expected node name.
2490
        * libc/stdio/vfscanf.c: Likewise.
2491
        * libc/stdio/sscanf.c: Likewise.
2492
        * libc/stdio/sprintf.c: Likewise.
2493
        * libc/stdio/siscanf.c: Likewise.
2494
        * libc/stdio/siprintf.c: Likewise.
2495
        * libc/stdio/fopencookie.c: Quote raw {}.
2496
        Reported by DJ Delorie.
2497
 
2498
2007-07-13  Eric Blake  
2499
 
2500
        Fix fflush issues.
2501
        * libc/stdio/fflush.c (_fflush_r): New function.
2502
        (fflush): Fix reentrancy and large offset behavior.
2503
        * libc/include/stdio.h (_fflush_r): Add prototype.
2504
        * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
2505
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2506
        * libc/stdio/fseek.c (_fseek_r): Likewise.
2507
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2508
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2509
        * libc/stdio/refill.c (__srefill_r): Likewise.
2510
        * libc/stdio/setvbuf.c (setvbuf): Likewise.
2511
        * libc/stdio/ungetc.c (_ungetc_r): Likewise.
2512
        * libc/stdio/vfprintf.c (__sbprintf): Likewise.
2513
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2514
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2515
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
2516
        32-bit version if not large file.
2517
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2518
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2519
 
2520
        Documentation updates.
2521
        * libc/stdio/ungetc.c: Document ungetc.
2522
        * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
2523
        of files with documentation.
2524
        * libc/stdio/Makefile.in: Regenerate.
2525
        * libc/stdio/stdio.tex: Sort and update stdio documentation index.
2526
 
2527
2007-07-11  Jeff Johnston  
2528
 
2529
        * libc/include/math.h: Fix so C99 functions/macros are accessible
2530
        when -std=c99 is used when compiling and not when using C89.
2531
 
2532
2007-07-06  Corinna Vinschen  
2533
 
2534
        * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
2535
        wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
2536
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
2537
        (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
2538
        wcstoull_r.c.
2539
        (CHEWOUT_FILES): Add .def files accordingly.
2540
        * libc/stdlib/Makefile.in: Regenerate.
2541
        * libc/stdlib/stdlib.tex: Add documentation links for above functions.
2542
        * libc/stdlib/strtoll.c: Fix portability note.
2543
        * libc/stdlib/strtoull.c: Ditto.
2544
        * libc/stdlib/wcstol.c: New file.
2545
        * libc/stdlib/wcstoll.c: New file.
2546
        * libc/stdlib/wcstoll_r.c: New file.
2547
        * libc/stdlib/wcstoul.c: New file.
2548
        * libc/stdlib/wcstoull.c: New file.
2549
        * libc/stdlib/wcstoull_r.c: New file.
2550
 
2551
2007-07-06  Jeff Johnston  
2552
 
2553
        * libc/include/sys/time.h (gettimeofday): Change to proper
2554
        prototype where second parameter is void *.
2555
        * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
2556
        accordingly.
2557
        * libc/include/reent.h: Fix prototype for _gettimeofday_r.
2558
        * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
2559
        * libc/sys/rdos/gettod.c: Ditto.
2560
        * libc/sys/sh/syscalls.c: Ditto.
2561
        * libc/time/time.c (time): Change call to _gettimeofday_r
2562
        to pass NULL as 2nd argument.
2563
 
2564
2007-07-06  Jeff Johnston  
2565
 
2566
        * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
2567
        * libc/sys/linux/intl/l10nflist.c: Ditto.
2568
 
2569
2007-07-04  Corinna Vinschen  
2570
 
2571
        * libc/include/wchar.h: Add prototype for wcsxfrm.
2572
        * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
2573
        (CHEWOUT_FILES): Add wcsxfrm.def.
2574
        * libc/string/Makefile.in: Regenerate.
2575
        * libc/string/wcsxfrm.c: New file.
2576
        * libc/string/wcstrings.tex: Add wcsxfrm.
2577
 
2578
2007-06-28  Corinna Vinschen  
2579
 
2580
        * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
2581
        * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
2582
        stpncpy.c.
2583
        (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
2584
        * libc/string/Makefile.in: Regenerate.
2585
        * libc/string/stpcpy.c: New file.
2586
        * libc/string/stpncpy.c: New file.
2587
        * libc/string/strings.tex: Add stpcpy and stpncpy.
2588
 
2589
2007-06-27  Eric Blake  
2590
 
2591
        Support __func__ in assert, as required by C99.
2592
        * libc/stdlib/assert.c (__assert_func): New function.
2593
        (__assert): Use __assert_func.
2594
        * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
2595
        possible.
2596
 
2597
2007-06-20  Patrick Mansfield  
2598
 
2599
        * libc/machine/spu/perror.c: Pass errno as the second argument to
2600
        the assist call.
2601
 
2602
2007-06-20  Patrick Mansfield  
2603
 
2604
        * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
2605
        defines; expose ftruncate, truncate and sync prototypes.
2606
 
2607
2007-06-20  Patrick Mansfield  
2608
 
2609
        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
2610
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
2611
        visible.
2612
 
2613
2007-06-15  Patrick Mansfield  
2614
 
2615
        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
2616
        from a dropped patch.
2617
        * libc/machine/spu/Makefile.in: Regenerate.
2618
 
2619
2007-06-13  Patrick Mansfield  
2620
 
2621
        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
2622
        it just calls open with appropriate arguments.
2623
        * libc/machine/spu/Makefile.am: Add creat.c.
2624
        * libc/machine/spu/Makefile.in: Regenerate.
2625
 
2626
2007-06-13  Jeff Johnston  
2627
 
2628
        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
2629
        I accidentally dropped.
2630
        * libc/machine/spu/Makefile.in: Regenerated.
2631
 
2632
2007-06-13  Patrick Mansfield  
2633
 
2634
        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
2635
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
2636
        form and move outside of OS flag checks.
2637
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
2638
        * libc/machine/spu/Makefile.in: Regenerate.
2639
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
2640
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
2641
 
2642
2007-06-11  Corinna Vinschen  
2643
 
2644
        * libc/include/sys/unistd.h: Declare confstr for Cygwin.
2645
        Define confstr constants for Cygwin.  Add comment.
2646
 
2647
2007-06-10  Hans-Peter Nilsson  
2648
 
2649
        * libc/sys/mmixware/access.c (access): Do not try to use a magic
2650
        file-handle and a direct syscall, just use _open.
2651
        * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
2652
        file-handle.
2653
 
2654
        * libc/sys/mmixware/_exit.c (_exit): Update comment about
2655
        passing on the exit value.
2656
 
2657
2007-06-08  Jeff Johnston  
2658
 
2659
        * libc/string/strcasestr.c: New file.
2660
        * libc/include/string.h: Add strcasestr.
2661
        * libc/string/strings.tex: Add strcasestr.
2662
        * libc/string/Makefile.am: Ditto.
2663
        * libc/string/Makefile.in: Regenerated.
2664
 
2665
2007-06-06  Christian Groessler  
2666
 
2667
        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
2668
        rnd is done after the last local variable declaration.
2669
 
2670
2007-06-06  Jeff Johnston  
2671
 
2672
        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
2673
 
2674
2007-06-05  Christian Groessler  
2675
 
2676
        * libc/argz/argz_insert.c (argz_insert): Move delta variable
2677
        declaration to top of function in keeping with C89 standard.
2678
 
2679
2007-06-04  Eric Blake  
2680
 
2681
        Implement funopen, fopencookie.
2682
        * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
2683
        Switch to reentrant callbacks.
2684
        * libc/include/stdio.h (funopen): Fix declaration.
2685
        (fopencookie): Declare.
2686
        * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
2687
        (__sseek64, __swrite64): Fix prototypes.
2688
        [__SCLE]: Pull in setmode declaration.
2689
        * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
2690
        reentrancy.
2691
        * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
2692
        (__sseek64, __swrite64): Fix reentrancy.
2693
        * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
2694
        reentrancy.
2695
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2696
        * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
2697
        * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
2698
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2699
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2700
        * libc/stdio/refill.c (__srefill_r): Likewise.
2701
        * libc/stdio/siscanf.c (eofread): Likewise.
2702
        * libc/stdio/sscanf.c (eofread): Likewise.
2703
        * libc/stdio/vsiscanf.c (eofread1): Likewise.
2704
        * libc/stdio/vsscanf.c (eofread1): Likewise.
2705
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2706
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2707
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2708
        * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
2709
        could be fixed.
2710
        * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
2711
        * libc/stdio/funopen.c (_funopen_r, funopen): New file.
2712
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
2713
        new files.
2714
        * libc/stdio/Makefile.in: Regenerate.
2715
 
2716
2007-05-29  Eric Blake  
2717
 
2718
        Avoid more compiler warnings.
2719
        * libc/stdlib/btowc.c: Add missing header.
2720
        * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
2721
        * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
2722
        * libc/stdlib/wctob.c: Add missing header.
2723
        * libc/string/strcpy.c (strcpy): Avoid warnings.
2724
        * libc/string/strrchr.c (strrchr): Likewise.
2725
 
2726
2007-05-29  Corinna Vinschen  
2727
 
2728
        * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
2729
        argument.
2730
        * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
2731
        * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
2732
        on empty input strings.
2733
        * libc/argz/argz_extract.c (argz_extract): Check argz_len before
2734
        looping through argz.
2735
        * libc/argz/argz_stringify.c (argz_stringify): Ditto.
2736
 
2737
2007-05-27  Brian Dessent  
2738
 
2739
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
2740
        handling %p.
2741
 
2742
2007-05-25  Eric Blake  
2743
 
2744
        * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
2745
 
2746
2007-05-24  Steve Ellcey  
2747
            Charles Wilson  
2748
 
2749
        * libtool.m4: removed
2750
        * configure.in: invoke _LD_DECL_SED before conditionally initializing
2751
        libtool.  Move AC_PROG_AWK outside conditional.
2752
        * libc/sys/linux/configure.in: Ditto.
2753
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
2754
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2755
        * libc/sys/linux/machine/i386/configure.in: Ditto.
2756
 
2757
        * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
2758
        initializing libtool.
2759
        * libc/configure.in: Ditto.
2760
        * libc/machine/configure.in: Ditto.
2761
        * libc/machine/i386/configure.in: Ditto.
2762
        * libc/sys/configure.in: Ditto.
2763
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2764
        * libc/sys/linux/machine/configure.in: Ditto.
2765
        * libm/configure.in: Ditto.
2766
        * libm/machine/configure.in: Ditto.
2767
 
2768
        * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
2769
        * doc/Makefile.am: Ditto.
2770
        * iconvdata/Makefile.am: Ditto.
2771
        * libc/Makefile.am: Ditto.
2772
        * libc/machine/Makefile.am: Ditto.
2773
        * libc/machine/a29k/Makefile.am: Ditto.
2774
        * libc/machine/arm/Makefile.am: Ditto.
2775
        * libc/machine/bfin/Makefile.am: Ditto.
2776
        * libc/machine/cris/Makefile.am: Ditto.
2777
        * libc/machine/crx/Makefile.am: Ditto.
2778
        * libc/machine/d10v/Makefile.am: Ditto.
2779
        * libc/machine/d30v/Makefile.am: Ditto.
2780
        * libc/machine/fr30/Makefile.am: Ditto.
2781
        * libc/machine/frv/Makefile.am: Ditto.
2782
        * libc/machine/h8300/Makefile.am: Ditto.
2783
        * libc/machine/h8500/Makefile.am: Ditto.
2784
        * libc/machine/hppa/Makefile.am: Ditto.
2785
        * libc/machine/i386/Makefile.am: Ditto.
2786
        * libc/machine/i960/Makefile.am: Ditto.
2787
        * libc/machine/iq2000/Makefile.am: Ditto.
2788
        * libc/machine/m32c/Makefile.am: Ditto.
2789
        * libc/machine/m32r/Makefile.am: Ditto.
2790
        * libc/machine/m68hc11/Makefile.am: Ditto.
2791
        * libc/machine/m68k/Makefile.am: Ditto.
2792
        * libc/machine/m88k/Makefile.am: Ditto.
2793
        * libc/machine/mips/Makefile.am: Ditto.
2794
        * libc/machine/mn10200/Makefile.am: Ditto.
2795
        * libc/machine/mn10300/Makefile.am: Ditto.
2796
        * libc/machine/mt/Makefile.am: Ditto.
2797
        * libc/machine/necv70/Makefile.am: Ditto.
2798
        * libc/machine/powerpc/Makefile.am: Ditto.
2799
        * libc/machine/sh/Makefile.am: Ditto.
2800
        * libc/machine/sparc/Makefile.am: Ditto.
2801
        * libc/machine/spu/Makefile.am: Ditto.
2802
        * libc/machine/tic4x/Makefile.am: Ditto.
2803
        * libc/machine/tic80/Makefile.am: Ditto.
2804
        * libc/machine/v850/Makefile.am: Ditto.
2805
        * libc/machine/w65/Makefile.am: Ditto.
2806
        * libc/machine/xscale/Makefile.am: Ditto.
2807
        * libc/machine/xstormy16/Makefile.am: Ditto.
2808
        * libc/machine/z8k/Makefile.am: Ditto.
2809
        * libc/sys/Makefile.am: Ditto.
2810
        * libc/sys/a29khif/Makefile.am: Ditto.
2811
        * libc/sys/arc/Makefile.am: Ditto.
2812
        * libc/sys/arm/Makefile.am: Ditto.
2813
        * libc/sys/d10v/Makefile.am: Ditto.
2814
        * libc/sys/decstation/Makefile.am: Ditto.
2815
        * libc/sys/h8300hms/Makefile.am: Ditto.
2816
        * libc/sys/h8500hms/Makefile.am: Ditto.
2817
        * libc/sys/linux/Makefile.am: Ditto.
2818
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2819
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2820
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2821
        * libc/sys/linux/machine/Makefile.am: Ditto.
2822
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2823
        * libc/sys/m88kbug/Makefile.am: Ditto.
2824
        * libc/sys/mmixware/Makefile.am: Ditto.
2825
        * libc/sys/netware/Makefile.am: Ditto.
2826
        * libc/sys/rdos/Makefile.am: Ditto.
2827
        * libc/sys/rtems/Makefile.am: Ditto.
2828
        * libc/sys/sh/Makefile.am: Ditto.
2829
        * libc/sys/sparc64/Makefile.am: Ditto.
2830
        * libc/sys/sun4/Makefile.am: Ditto.
2831
        * libc/sys/sysmec/Makefile.am: Ditto.
2832
        * libc/sys/sysnec810/Makefile.am: Ditto.
2833
        * libc/sys/sysnecv850/Makefile.am: Ditto.
2834
        * libc/sys/sysvi386/Makefile.am: Ditto.
2835
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
2836
        * libc/sys/tic80/Makefile.am: Ditto.
2837
        * libc/sys/w65/Makefile.am: Ditto.
2838
        * libc/sys/z8ksim/Makefile.am: Ditto.
2839
        * libm/Makefile.am: Ditto.
2840
        * libm/machine/Makefile.am: Ditto.
2841
        * libm/machine/i386/Makefile.am: Ditto.
2842
        * libm/machine/spu/Makefile.am: Ditto.
2843
 
2844
        * aclocal.m4: Regenerate.
2845
        * iconvdata/aclocal.m4: Regenerate.
2846
        * libc/aclocal.m4: Regenerate.
2847
        * libc/machine/aclocal.m4: Regenerate.
2848
        * libc/machine/i386/aclocal.m4: Regenerate.
2849
        * libc/sys/aclocal.m4: Regenerate.
2850
        * libc/sys/linux/aclocal.m4: Regenerate.
2851
        * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
2852
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
2853
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
2854
        * libc/sys/linux/machine/aclocal.m4: Regenerate.
2855
        * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
2856
        * libm/aclocal.m4: Regenerate.
2857
        * libm/machine/aclocal.m4: Regenerate.
2858
        * libm/machine/i386/aclocal.m4: Regenerate.
2859
 
2860
        * Makefile.in: Regenerate.
2861
        * doc/Makefile.in: Regenerate.
2862
        * iconvdata/Makefile.in: Regenerate.
2863
        * libc/Makefile.in: Regenerate.
2864
        * libc/argz/Makefile.in: Regenerate.
2865
        * libc/ctype/Makefile.in: Regenerate.
2866
        * libc/errno/Makefile.in: Regenerate.
2867
        * libc/iconv/Makefile.in: Regenerate.
2868
        * libc/iconv/ccs/Makefile.in: Regenerate.
2869
        * libc/iconv/ccs/binary/Makefile.in: Regenerate.
2870
        * libc/iconv/ces/Makefile.in: Regenerate.
2871
        * libc/iconv/lib/Makefile.in: Regenerate.
2872
        * libc/locale/Makefile.in: Regenerate.
2873
        * libc/machine/Makefile.in: Regenerate.
2874
        * libc/machine/a29k/Makefile.in: Regenerate.
2875
        * libc/machine/arm/Makefile.in: Regenerate.
2876
        * libc/machine/bfin/Makefile.in: Regenerate.
2877
        * libc/machine/cris/Makefile.in: Regenerate.
2878
        * libc/machine/crx/Makefile.in: Regenerate.
2879
        * libc/machine/d10v/Makefile.in: Regenerate.
2880
        * libc/machine/d30v/Makefile.in: Regenerate.
2881
        * libc/machine/fr30/Makefile.in: Regenerate.
2882
        * libc/machine/frv/Makefile.in: Regenerate.
2883
        * libc/machine/h8300/Makefile.in: Regenerate.
2884
        * libc/machine/h8500/Makefile.in: Regenerate.
2885
        * libc/machine/hppa/Makefile.in: Regenerate.
2886
        * libc/machine/i386/Makefile.in: Regenerate.
2887
        * libc/machine/i960/Makefile.in: Regenerate.
2888
        * libc/machine/iq2000/Makefile.in: Regenerate.
2889
        * libc/machine/m32c/Makefile.in: Regenerate.
2890
        * libc/machine/m32r/Makefile.in: Regenerate.
2891
        * libc/machine/m68hc11/Makefile.in: Regenerate.
2892
        * libc/machine/m68k/Makefile.in: Regenerate.
2893
        * libc/machine/m88k/Makefile.in: Regenerate.
2894
        * libc/machine/mips/Makefile.in: Regenerate.
2895
        * libc/machine/mn10200/Makefile.in: Regenerate.
2896
        * libc/machine/mn10300/Makefile.in: Regenerate.
2897
        * libc/machine/mt/Makefile.in: Regenerate.
2898
        * libc/machine/necv70/Makefile.in: Regenerate.
2899
        * libc/machine/powerpc/Makefile.in: Regenerate.
2900
        * libc/machine/sh/Makefile.in: Regenerate.
2901
        * libc/machine/sparc/Makefile.in: Regenerate.
2902
        * libc/machine/spu/Makefile.in: Regenerate.
2903
        * libc/machine/tic4x/Makefile.in: Regenerate.
2904
        * libc/machine/tic80/Makefile.in: Regenerate.
2905
        * libc/machine/v850/Makefile.in: Regenerate.
2906
        * libc/machine/w65/Makefile.in: Regenerate.
2907
        * libc/machine/xscale/Makefile.in: Regenerate.
2908
        * libc/machine/xstormy16/Makefile.in: Regenerate.
2909
        * libc/machine/z8k/Makefile.in: Regenerate.
2910
        * libc/misc/Makefile.in: Regenerate.
2911
        * libc/posix/Makefile.in: Regenerate.
2912
        * libc/reent/Makefile.in: Regenerate.
2913
        * libc/search/Makefile.in: Regenerate.
2914
        * libc/signal/Makefile.in: Regenerate.
2915
        * libc/stdio/Makefile.in: Regenerate.
2916
        * libc/stdio64/Makefile.in: Regenerate.
2917
        * libc/stdlib/Makefile.in: Regenerate.
2918
        * libc/string/Makefile.in: Regenerate.
2919
        * libc/sys/Makefile.in: Regenerate.
2920
        * libc/sys/a29khif/Makefile.in: Regenerate.
2921
        * libc/sys/arc/Makefile.in: Regenerate.
2922
        * libc/sys/arm/Makefile.in: Regenerate.
2923
        * libc/sys/d10v/Makefile.in: Regenerate.
2924
        * libc/sys/decstation/Makefile.in: Regenerate.
2925
        * libc/sys/h8300hms/Makefile.in: Regenerate.
2926
        * libc/sys/h8500hms/Makefile.in: Regenerate.
2927
        * libc/sys/linux/Makefile.in: Regenerate.
2928
        * libc/sys/linux/argp/Makefile.in: Regenerate.
2929
        * libc/sys/linux/cmath/Makefile.in: Regenerate.
2930
        * libc/sys/linux/dl/Makefile.in: Regenerate.
2931
        * libc/sys/linux/iconv/Makefile.in: Regenerate.
2932
        * libc/sys/linux/intl/Makefile.in: Regenerate.
2933
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
2934
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
2935
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
2936
        * libc/sys/linux/machine/Makefile.in: Regenerate.
2937
        * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
2938
        * libc/sys/linux/net/Makefile.in: Regenerate.
2939
        * libc/sys/linux/stdlib/Makefile.in: Regenerate.
2940
        * libc/sys/m88kbug/Makefile.in: Regenerate.
2941
        * libc/sys/mmixware/Makefile.in: Regenerate.
2942
        * libc/sys/netware/Makefile.in: Regenerate.
2943
        * libc/sys/rdos/Makefile.in: Regenerate.
2944
        * libc/sys/rtems/Makefile.in: Regenerate.
2945
        * libc/sys/sh/Makefile.in: Regenerate.
2946
        * libc/sys/sparc64/Makefile.in: Regenerate.
2947
        * libc/sys/sun4/Makefile.in: Regenerate.
2948
        * libc/sys/sysmec/Makefile.in: Regenerate.
2949
        * libc/sys/sysnec810/Makefile.in: Regenerate.
2950
        * libc/sys/sysnecv850/Makefile.in: Regenerate.
2951
        * libc/sys/sysvi386/Makefile.in: Regenerate.
2952
        * libc/sys/sysvnecv70/Makefile.in: Regenerate.
2953
        * libc/sys/tic80/Makefile.in: Regenerate.
2954
        * libc/sys/w65/Makefile.in: Regenerate.
2955
        * libc/sys/z8ksim/Makefile.in: Regenerate.
2956
        * libc/syscalls/Makefile.in: Regenerate.
2957
        * libc/time/Makefile.in: Regenerate.
2958
        * libc/unix/Makefile.in: Regenerate.
2959
        * libm/Makefile.in: Regenerate.
2960
        * libm/common/Makefile.in: Regenerate.
2961
        * libm/machine/Makefile.in: Regenerate.
2962
        * libm/machine/i386/Makefile.in: Regenerate.
2963
        * libm/machine/spu/Makefile.in: Regenerate.
2964
        * libm/math/Makefile.in: Regenerate.
2965
        * libm/mathfp/Makefile.in: Regenerate.
2966
 
2967
        * configure: Regenerate.
2968
        * iconvdata/configure: Regenerate.
2969
        * libc/configure: Regenerate.
2970
        * libc/machine/configure: Regenerate.
2971
        * libc/machine/i386/configure: Regenerate.
2972
        * libc/sys/configure: Regenerate.
2973
        * libc/sys/linux/configure: Regenerate.
2974
        * libc/sys/linux/linuxthreads/configure: Regenerate.
2975
        * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
2976
        * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
2977
        * libc/sys/linux/machine/configure: Regenerate.
2978
        * libc/sys/linux/machine/i386/configure: Regenerate.
2979
        * libm/configure: Regenerate.
2980
        * libm/machine/configure: Regenerate.
2981
        * libm/machine/i386/configure: Regenerate.
2982
 
2983
2007-05-23  Eric Blake  
2984
 
2985
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
2986
        sizeof(void*) is 8 but sizeof(long) is 4.
2987
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
2988
        of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
2989
        to fix reentrancy and bug on encoding error in multibyte locales.
2990
        Always return EOF on read error.
2991
 
2992
2007-05-23 Patrick Mansfield 
2993
 
2994
        * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
2995
        prototype.
2996
        * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
2997
        instead of the slot 0 value, remove any now unused variables, and
2998
        for some cases, now store the result in an int vs int*.
2999
        * libc/machine/spu/feof.c: Ditto.
3000
        * libc/machine/spu/ferror.c: Ditto.
3001
        * libc/machine/spu/fflush.c: Ditto.
3002
        * libc/machine/spu/fgetc.c: Ditto.
3003
        * libc/machine/spu/fgetpos.c: Ditto.
3004
        * libc/machine/spu/fgets.c: Ditto.
3005
        * libc/machine/spu/fileno.c: Ditto.
3006
        * libc/machine/spu/fopen.c: Ditto.
3007
        * libc/machine/spu/fprintf.c: Ditto.
3008
        * libc/machine/spu/fputc.c: Ditto.
3009
        * libc/machine/spu/fputs.c: Ditto.
3010
        * libc/machine/spu/fread.c: Ditto.
3011
        * libc/machine/spu/freopen.c: Ditto.
3012
        * libc/machine/spu/fscanf.c: Ditto.
3013
        * libc/machine/spu/fseek.c: Ditto.
3014
        * libc/machine/spu/fsetpos.c: Ditto.
3015
        * libc/machine/spu/ftell.c: Ditto.
3016
        * libc/machine/spu/fwrite.c: Ditto.
3017
        * libc/machine/spu/getc.c: Ditto.
3018
        * libc/machine/spu/getchar.c: Ditto.
3019
        * libc/machine/spu/gets.c: Ditto.
3020
        * libc/machine/spu/printf.c: Ditto.
3021
        * libc/machine/spu/putc.c: Ditto.
3022
        * libc/machine/spu/putchar.c: Ditto.
3023
        * libc/machine/spu/puts.c: Ditto.
3024
        * libc/machine/spu/remove.c: Ditto.
3025
        * libc/machine/spu/rename.c: Ditto.
3026
        * libc/machine/spu/scanf.c: Ditto.
3027
        * libc/machine/spu/setvbuf.c: Ditto.
3028
        * libc/machine/spu/snprintf.c: Ditto.
3029
        * libc/machine/spu/sprintf.c: Ditto.
3030
        * libc/machine/spu/sscanf.c: Ditto.
3031
        * libc/machine/spu/tmpfile.c: Ditto.
3032
        * libc/machine/spu/tmpnam.c: Ditto.
3033
        * libc/machine/spu/ungetc.c: Ditto.
3034
        * libc/machine/spu/vfprintf.c: Ditto.
3035
        * libc/machine/spu/vfscanf.c: Ditto.
3036
        * libc/machine/spu/vprintf.c: Ditto.
3037
        * libc/machine/spu/vscanf.c: Ditto.
3038
        * libc/machine/spu/vsnprintf.c: Ditto.
3039
        * libc/machine/spu/vsprintf.c: Ditto.
3040
        * libc/machine/spu/vsscanf.c: Ditto.
3041
 
3042
2007-05-23  Eric Blake  
3043
 
3044
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
3045
        Avoid warning when !FLOATING_POINT.
3046
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
3047
        slightly.
3048
 
3049
2007-05-23  Corinna Vinschen  
3050
 
3051
        * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
3052
        to zero.
3053
        * libc/include/argz.h: Guard against multiple inclusion.  Guard for
3054
        use with C++.
3055
 
3056
2007-05-18  Eric Blake  
3057
 
3058
        * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
3059
        compilers.
3060
        * libc/stdio/vfscanf.c: Likewise.
3061
 
3062
2007-05-17  Cary R.   yahoo.com>
3063
 
3064
        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
3065
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
3066
        * libm/math/wf_atan2.c: Ditto.
3067
 
3068
2007-05-17  Yaakov Selkowitz   users.sourceforge.net>
3069
 
3070
        * libm/common/Makefile.am: Add support for exp10, exp10f,
3071
        pow10, and pow10f functions.
3072
        * libm/common/Makefile.in: Regenerated.
3073
        * libm/common/s_pow10.c: New file.
3074
        * libm/common/sf_pow10.c: Ditto.
3075
        * libm/common/s_exp10.c: Ditto.
3076
        * libm/common/sf_exp10.c: Ditto.
3077
        * libc/include/math.h [!pow10]: New pow10 prototype.
3078
        [!pow10f]: New pow10f prototype.
3079
        [!exp10]: New exp10 prototype.
3080
        [!exp10f]: New exp10f prototype.
3081
 
3082
2007-05-17  Charles Wilson  
3083
 
3084
        * stdio/tmpfile.c: Include .
3085
        * stdio64/tmpfile64.c: Ditto.
3086
 
3087
2007-05-16  Eric Blake  
3088
 
3089
        Close security hole in tmpfile.
3090
        * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
3091
        generation and opening the fd.
3092
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
3093
 
3094
        * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
3095
        (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
3096
        required by POSIX.
3097
        * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
3098
        avoid clash with .
3099
 
3100
        * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
3101
        * libc/search/hash.c (__hash_open): Likewise.
3102
 
3103
2007-05-14 Eric Blake 
3104
 
3105
        Reduce stack size of *printf.
3106
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
3107
        in %f.  Avoid malloc when possible for %S.
3108
        (BUF): Improve stack locality by using smaller size.
3109
        (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
3110
        (exponent): Use smaller stack size.
3111
 
3112
2007-05-11  Eric Blake  
3113
 
3114
        Minimize printf/scanf size on platforms that don't need C99.
3115
        * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
3116
        * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
3117
        * configure.in (newlib-io-c99-formats): New configure option.
3118
        (_WANT_IO_C99_FORMATS): Define appropriately.
3119
        * configure.host (*-linux*, cygwin): Default c99-formats to yes.
3120
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
3121
        Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
3122
        * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
3123
        Likewise.
3124
        * configure: Regenerate.
3125
 
3126
        * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
3127
        (get_arg): Support '%a' and '%A'.
3128
 
3129
2007-05-09  Eric Blake  
3130
 
3131
        Allow zero size with non-null buf in *asnprintf.
3132
        * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
3133
        user's buf.
3134
        * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
3135
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
3136
        * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
3137
 
3138
2007-05-07  Charles Wilson  
3139
 
3140
        * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
3141
 
3142
2007-05-03  Eric Blake  
3143
 
3144
        Add support for asnprintf, and improve *printf documentation.
3145
        * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
3146
        (ELIX_2_SOURCES): ...to this.
3147
        (ELIX_4_SOURCES): Add new variable.  Build asnprintf.
3148
        (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
3149
        (CHEWOUT_FILES): Include diprintf in documentation.
3150
        * libc/stdio/Makefile.in: Regenerate.
3151
        * libc/stdio/diprintf.c: Improve documentation.
3152
        * libc/stdio/dprintf.c: Likewise.
3153
        * libc/stdio/siprintf.c: Likewise.
3154
        * libc/stdio/sprintf.c: Likewise.
3155
        * libc/stdio/vfprintf.c: Likewise.
3156
        * libc/stdio/viprintf.c: Likewise.
3157
        * libc/stdio/vsniprintf.c: Consolidate documentation.
3158
        * libc/stdio/asiprintf.c: Refer to documentation.
3159
        * libc/stdio/asprintf.c: Likewise.
3160
        * libc/stdio/fiprintf.c: Likewise.
3161
        * libc/stdio/fprintf.c: Likewise.
3162
        * libc/stdio/iprintf.c: Likewise.
3163
        * libc/stdio/printf.c: Likewise.
3164
        * libc/stdio/sniprintf.c: Likewise.
3165
        * libc/stdio/vdiprintf.c: Likewise.
3166
        * libc/stdio/vdprintf.c: Likewise.
3167
        * libc/stdio/vsiprintf.c: Likewise.
3168
        * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
3169
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
3170
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
3171
        * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
3172
        file.
3173
        * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
3174
        * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
3175
        typical case.
3176
        * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
3177
        * libc/include/stdio.h: Add prototypes for new functions; sort
3178
        existing functions.
3179
 
3180
2007-05-03  Kazu Hirata  
3181
 
3182
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3183
        and memset.S.
3184
        * libc/machine/m68k/Makefile.in: Regenerate.
3185
        * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
3186
        * libc/machine/m68k/memset.S: Likewise.
3187
 
3188
2007-05-01  Eric Blake  
3189
 
3190
        * libc/stdio64/local64.h: Delete, move contents to...
3191
        * libc/stdio/local.h: ...here.
3192
        * libc/stdio64/fdopen64.c: Update includes.
3193
        * libc/stdio64/fopen64.c: Likewise.
3194
        * libc/stdio64/freopen64.c: Likewise.
3195
        * libc/stdio64/fseeko64.c: Likewise.
3196
        * libc/stdio64/ftello64.c: Likewise.
3197
        * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
3198
        and stderr with 64-bit offset.
3199
        * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
3200
        * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
3201
        * libc/stdio/mktemp.c (_gettemp): Likewise.
3202
 
3203
2007-05-01  Cary R.   yahoo.com>
3204
 
3205
        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
3206
        to treatment of NaN and +-inf arguments.
3207
        * libm/math/ef_pow.c: Ditto.
3208
        * libm/math/w_pow.c: Ditto.
3209
        * libm/math/wf_pow.c: Ditto.
3210
        * libm/math/w_acos.c: Fix domain errors to return NaN.
3211
        * libm/math/w_asin.c: Ditto.
3212
        * libm/math/wf_acos.c: Ditto.
3213
        * libm/math/wf_asin.c: Ditto.
3214
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
3215
        * libm/math/wf_log.c: Ditto.
3216
        * libm/math/wf_log10.c: Ditto.
3217
        * libm/math/w_log10.c: Ditto.
3218
 
3219
2007-04-27  Jeff Johnston  
3220
 
3221
        * libc/machine/m68k/Makefile.am: Temporarily remove
3222
        memcpy.S and memset.S until logic can be confirmed for
3223
        !(__mcoldfile__) case.
3224
        * libc/machine/m68k/Makefile.in: Regenerated.
3225
 
3226
2007-04-27  Kazu Hirata  
3227
 
3228
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3229
        and memset.S.
3230
        * libc/machine/m68k/Makefile.in: Regenerate.
3231
        * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
3232
 
3233
2007-04-26  Patrick Mansfield 
3234
 
3235
        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
3236
        overridden via machine/ieeefp.h.
3237
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
3238
        macros for isnan and related macros.
3239
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
3240
        overridden via machine/ieeefp.h.
3241
        * libm/machine/spu/Makefile.am: Add new files.
3242
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
3243
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
3244
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
3245
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
3246
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
3247
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
3248
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
3249
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
3250
 
3251
2007-04-25  Jeff Johnston  
3252
 
3253
        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
3254
        * libm/common/sf_fpclassify.c: ...here.  New file.
3255
        * libm/common/Makefile.am: Add sf_fpclassify.c.
3256
        * libm/common/Makefile.in: Regenerated.
3257
 
3258
2007-04-25  Patrick Mansfield 
3259
 
3260
        * libc/machine/spu/sys/errno.h: New file, so spu errno values match
3261
        ppu linux values. This file is a copy of the cris/sys/errno.h plus
3262
        a few changes (see spu errno.h comments).
3263
 
3264
2007-04-25  Eric Blake  
3265
 
3266
        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
3267
        that promote to int.
3268
 
3269
2007-04-25  Patrick Mansfield 
3270
 
3271
        * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
3272
        we clear the proper bits in the fpscr, and don't set some random ones.
3273
 
3274
2007-04-24  Eric Blake  
3275
 
3276
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
3277
        or NaN with %05f.
3278
 
3279
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
3280
        _MB_CAPABLE.
3281
 
3282
        * libc/include/limits.h (NL_ARGMAX): Define a default value.
3283
        * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
3284
        NL_ARGMAX, if present.
3285
 
3286
2007-04-23  Brian Dessent  
3287
 
3288
        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
3289
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
3290
        trailing decimal is printed.
3291
 
3292
2007-04-23  Ralf Wildenhues   gmx.de>
3293
 
3294
        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
3295
        file.  Override Autoconf-2.59's version of these macros with
3296
        fixed handling of multiple adjacent whitespace in arguments.
3297
        * aclocal.m4: Regenerated forcefully.
3298
        * configure: Ditto.
3299
        * Makefile.in: Ditto.
3300
        * libc/*Makefile.in: Ditto.
3301
        * libc/*aclocal.m4: Ditto.
3302
        * libc/*configure: Ditto.
3303
        * libm/*Makefile.in: Ditto.
3304
        * libm/*aclocal.m4: Ditto.
3305
        * libm/*configure: Ditto.
3306
 
3307
2007-04-23  Jeff Johnston  
3308
 
3309
        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
3310
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
3311
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
3312
        * libc/sys/arc/Makefile.in: Regenerated.
3313
 
3314
2007-04-17  Brian Dessent  
3315
 
3316
        * libc/stdio/sscanf.c: Update documentation comments.
3317
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
3318
 
3319
2007-04-12  Eric Blake  
3320
 
3321
        * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
3322
        (chclass): Recognize 'F', 'X', 'n', and not 'W'.
3323
        (get_arg): Handle %1$F, %1$n.
3324
 
3325
2007-04-10  Eric Blake  
3326
 
3327
        * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
3328
        CFLAGS=-O0.
3329
 
3330
2007-04-09  Eric Blake  
3331
 
3332
        * libc/include/stdio.h: Add gcc format attributes to printf and
3333
        scanf families.
3334
 
3335
2007-04-09  Joel Schopp 
3336
 
3337
        * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
3338
        even if the passed in length n is shorter than the source string.
3339
        This matches both the non-spu specific and the glibc strxfrm
3340
        behaviour.
3341
 
3342
2007-04-04  Mark Mitchell  
3343
 
3344
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
3345
        functions registering additional atexit functions.
3346
 
3347
        * testsuite/lib/flags.exp (newlib_include_flags): Drop
3348
        -I${newlib_dir}.
3349
 
3350
2007-04-04  Patrick Mansfield 
3351
 
3352
        * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
3353
        prototype.
3354
        * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
3355
        * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
3356
        * libc/machine/spu/fclose.c: Ditto.
3357
        * libc/machine/spu/feof.c: Ditto.
3358
        * libc/machine/spu/ferror.c: Ditto.
3359
        * libc/machine/spu/fflush.c: Ditto.
3360
        * libc/machine/spu/fgetc.c: Ditto.
3361
        * libc/machine/spu/fgetpos.c: Ditto.
3362
        * libc/machine/spu/fgets.c: Ditto.
3363
        * libc/machine/spu/fileno.c: Ditto.
3364
        * libc/machine/spu/fopen.c: Ditto.
3365
        * libc/machine/spu/fprintf.c: Ditto.
3366
        * libc/machine/spu/fputc.c: Ditto.
3367
        * libc/machine/spu/fputs.c: Ditto.
3368
        * libc/machine/spu/fread.c: Ditto.
3369
        * libc/machine/spu/freopen.c: Ditto.
3370
        * libc/machine/spu/fscanf.c: Ditto.
3371
        * libc/machine/spu/fseek.c: Ditto.
3372
        * libc/machine/spu/fsetpos.c: Ditto.
3373
        * libc/machine/spu/ftell.c: Ditto.
3374
        * libc/machine/spu/fwrite.c: Ditto.
3375
        * libc/machine/spu/getc.c: Ditto.
3376
        * libc/machine/spu/getchar.c: Ditto.
3377
        * libc/machine/spu/gets.c: Ditto.
3378
        * libc/machine/spu/perror.c: Ditto.
3379
        * libc/machine/spu/printf.c: Ditto.
3380
        * libc/machine/spu/putc.c: Ditto.
3381
        * libc/machine/spu/putchar.c: Ditto.
3382
        * libc/machine/spu/puts.c: Ditto.
3383
        * libc/machine/spu/remove.c: Ditto.
3384
        * libc/machine/spu/rename.c: Ditto.
3385
        * libc/machine/spu/rewind.c: Ditto.
3386
        * libc/machine/spu/scanf.c: Ditto.
3387
        * libc/machine/spu/setbuf.c: Ditto.
3388
        * libc/machine/spu/setvbuf.c: Ditto.
3389
        * libc/machine/spu/snprintf.c: Ditto.
3390
        * libc/machine/spu/sprintf.c: Ditto.
3391
        * libc/machine/spu/sscanf.c: Ditto.
3392
        * libc/machine/spu/tmpfile.c: Ditto.
3393
        * libc/machine/spu/tmpnam.c: Ditto.
3394
        * libc/machine/spu/ungetc.c: Ditto.
3395
        * libc/machine/spu/vfprintf.c: Ditto.
3396
        * libc/machine/spu/vfscanf.c: Ditto.
3397
        * libc/machine/spu/vprintf.c: Ditto.
3398
        * libc/machine/spu/vscanf.c: Ditto.
3399
        * libc/machine/spu/vsnprintf.c: Ditto.
3400
        * libc/machine/spu/vsprintf.c: Ditto.
3401
        * libc/machine/spu/vsscanf.c: Ditto.
3402
 
3403
2007-04-04  Jeff Johnston  
3404
 
3405
        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
3406
 
3407
2007-04-04  Eric Blake  
3408
 
3409
        * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
3410
        (asiprintf): Avoid overhead.
3411
        * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
3412
        (asprintf): Avoid overhead.
3413
        * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
3414
        * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
3415
        * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
3416
        (fiprintf): Avoid overhead.
3417
        * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
3418
        (fprintf): Avoid overhead.
3419
        * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
3420
        (iprintf): Avoid overhead.
3421
        * libc/stdio/printf.c (_printf_r): Use _DEFUN.
3422
        (printf): Avoid overhead.
3423
        * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
3424
        * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
3425
        * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
3426
        * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
3427
        * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
3428
        * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
3429
        * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
3430
        * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
3431
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
3432
        vdiprintf.c.
3433
        * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
3434
        (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
3435
 
3436
2007-03-30  Dave Korn  
3437
 
3438
        * libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
3439
        conflicting inline semantics between C99 and GNU89.
3440
        (__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
3441
        compatible with -fkeep-inline-functions usage.
3442
        (__sputc_r):  Likewise for consistency even though disabled.
3443
 
3444
2007-03-29  Nick Clifton  
3445
 
3446
        Reflect changes made to generic vfprintf.c:
3447
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3448
        and add a "struct reent *" argument.
3449
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3450
        argument and call _VFPRINTF_R instead of VFPRINTF.
3451
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3452
        Fix uses of __sprint() and __sbprintf.
3453
 
3454
2007-03-20  Nick Clifton  
3455
 
3456
        Reflect changes made to generic vfprintf.c:
3457
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3458
        and add a "struct reent *" argument.
3459
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3460
        argument and call _VFPRINTF_R instead of VFPRINTF.
3461
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3462
        Fix uses of __sprint() and __sbprintf.
3463
 
3464
2007-03-16  Charles Wilson  
3465
 
3466
        * libc/argz/argz_insert.c: "before" pointer is
3467
        invalid after *argz realloc.  Compute offset
3468
        between "before" and *argz, and use it after
3469
        reallocation instead.
3470
 
3471
2007-03-16  Eric Blake  
3472
 
3473
        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
3474
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3475
 
3476
2007-03-15  Jeff Johnston  
3477
 
3478
        * configure.in: Add new --enable-newlib-reent-small option.
3479
        * configure: Regenerated.
3480
        * acconfig.h: Add _WANT_REENT_SMALL.
3481
        * newlib.hin: Regenerated minus PACKAGE macros to add
3482
        _WANT_REENT_SMALL macro.
3483
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
3484
        if not already set.
3485
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
3486
        there is no buffer.
3487
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
3488
        use reentrant pointer passed in when resetting the file
3489
        pointer to one of the std streams.
3490
 
3491
2007-03-15  Eric Blake  
3492
 
3493
        * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
3494
        (__smakebuf): Rename...
3495
        (__smakebuf_r): to this.
3496
        * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
3497
        * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
3498
        allocation, then rename...
3499
        (__smakebuf_r): ...to this and fix reentrancy.
3500
        * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
3501
        allocation, then rename...
3502
        (__swsetup_r): ...to this and fix reentrancy.
3503
        * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
3504
        * libc/stdio/refill.c (__srefill_r): Likewise.
3505
        * libc/stdio/fclose.c (_fclose_r): Likewise.
3506
        * libc/stdio/fread.c (_fread_r): Likewise.
3507
        * libc/stdio/freopen.c (_freopen_r): Likewise.
3508
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
3509
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
3510
        * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
3511
        failed asprintf allocation, and fix reentrancy.
3512
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
3513
        as required by POSIX.
3514
        * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
3515
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
3516
        * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
3517
 
3518
2007-03-12  Eric Blake  
3519
 
3520
        * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
3521
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
3522
        allocation to caller.
3523
        * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
3524
        * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
3525
        * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
3526
 
3527
2007-02-23  Jeff Johnston  
3528
 
3529
        * libm/math/w_pow.c: Fix typo in documentation comment.
3530
 
3531
2007-02-21  Patrick Mansfield 
3532
 
3533
        * libc/reent/timer.c: Removed (split into two new files).
3534
        * libc/reent/timesr.c: New file for _times_r.
3535
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
3536
        * reent/Makefile.in: Remove timer.c, add timesr.c and
3537
        gettimeofdayr.c.
3538
        * libc/reent/Makefile.am: Regenerate.
3539
 
3540
2007-02-20  Patrick Mansfield 
3541
 
3542
        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
3543
 
3544
2007-02-20  Kazunori Asayama 
3545
 
3546
        * libc/machine/spu/Makefile.am: Add new objects.
3547
        * libc/machine/spu/Makefile.in: Regenerated.
3548
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
3549
        integer-only version.
3550
        * libc/machine/spu/fiscanf.c: Ditto.
3551
        * libc/machine/spu/iprintf.c: Ditto.
3552
        * libc/machine/spu/iscanf.c: Ditto.
3553
        * libc/machine/spu/siprintf.c: Ditto.
3554
        * libc/machine/spu/siscanf.c: Ditto.
3555
        * libc/machine/spu/sniprintf.c: Ditto.
3556
        * libc/machine/spu/vfiprintf.c: Ditto.
3557
        * libc/machine/spu/vfiscanf.c: Ditto.
3558
        * libc/machine/spu/viprintf.c: Ditto.
3559
        * libc/machine/spu/viscanf.c: Ditto.
3560
        * libc/machine/spu/vsiprintf.c: Ditto.
3561
        * libc/machine/spu/vsiscanf.c: Ditto.
3562
        * libc/machine/spu/vsniprintf.c: Ditto.
3563
        * libc/machine/spu/fprintf.c: Add support for integer-only
3564
        version.
3565
        * libc/machine/spu/fscanf.c: Ditto.
3566
        * libc/machine/spu/printf.c: Ditto.
3567
        * libc/machine/spu/scanf.c: Ditto.
3568
        * libc/machine/spu/snprintf.c: Ditto.
3569
        * libc/machine/spu/sprintf.c: Ditto.
3570
        * libc/machine/spu/sscanf.c: Ditto.
3571
        * libc/machine/spu/vfprintf.c: Ditto.
3572
        * libc/machine/spu/vfscanf.c: Ditto.
3573
        * libc/machine/spu/vprintf.c: Ditto.
3574
        * libc/machine/spu/vscanf.c: Ditto.
3575
        * libc/machine/spu/vsnprintf.c: Ditto.
3576
        * libc/machine/spu/vsprintf.c: Ditto.
3577
        * libc/machine/spu/vsscanf.c: Ditto.
3578
 
3579
2007-02-20  Kazunori Asayama 
3580
 
3581
        * libc/include/stdio.h: Add declaration for vsiprintf.
3582
 
3583
2007-02-14  Patrick Mansfield 
3584
 
3585
        Add a floating point environment for SPU (cell):
3586
 
3587
        * configure.host: add libm_machine_dir=spu.
3588
        * libm/machine/configure: Add spu.
3589
        * libm/machine/configure.in: regenerated with spu added.
3590
        * libc/machine/spu/include/fenv.h: New file.
3591
        * libc/machine/spu/sys/fenv.h: Ditto.
3592
        * libm/machine/spu/Makefile.am: Ditto.
3593
        * libm/machine/spu/Makefile.in: Ditto.
3594
        * libm/machine/spu/aclocal.m4: Ditto.
3595
        * libm/machine/spu/configure: Ditto.
3596
        * libm/machine/spu/configure.in: Ditto.
3597
        * libm/machine/spu/fe_dfl_env.c: Ditto.
3598
        * libm/machine/spu/feclearexcept.c: Ditto.
3599
        * libm/machine/spu/fegetenv.c: Ditto.
3600
        * libm/machine/spu/fegetexceptflag.c: Ditto.
3601
        * libm/machine/spu/fegetround.c: Ditto.
3602
        * libm/machine/spu/feholdexcept.c: Ditto.
3603
        * libm/machine/spu/feraiseexcept.c: Ditto.
3604
        * libm/machine/spu/fesetenv.c: Ditto.
3605
        * libm/machine/spu/fesetexceptflag.c: Ditto.
3606
        * libm/machine/spu/fesetround.c: Ditto.
3607
        * libm/machine/spu/fetestexcept.c: Ditto.
3608
        * libm/machine/spu/feupdateenv.c: Ditto.
3609
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
3610
        * libm/machine/spu/headers/fefpscr.h: Ditto.
3611
        * libm/machine/spu/headers/fegetenv.h: Ditto.
3612
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
3613
        * libm/machine/spu/headers/fegetround.h: Ditto.
3614
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
3615
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
3616
        * libm/machine/spu/headers/fesetenv.h: Ditto.
3617
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
3618
        * libm/machine/spu/headers/fesetround.h: Ditto.
3619
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
3620
        * libm/machine/spu/headers/feupdateenv.h: Ditto.
3621
 
3622
2007-02-14  Corinna Vinschen  
3623
 
3624
        * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
3625
        Cygwin.
3626
 
3627
2007-02-08  Corinna Vinschen  
3628
 
3629
        * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
3630
        Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
3631
 
3632
2007-02-07  Corinna Vinschen  
3633
 
3634
        * libc/include/sys/features.h: Add definition of all supported
3635
        _POSIX_xxx values for Cygwin.
3636
        * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
3637
        on Cygwin.
3638
        (pthread_rwlockattr_t): Ditto.
3639
        * libc/include/sys/unistd.h: Define all _SC_xxx values as
3640
        required by SUSv3.  Unify formatting.
3641
 
3642
2007-02-02  Ralf Corsépius 
3643
 
3644
        * libc/include/sys/errno.h: Add ECANCELED.
3645
 
3646
2007-02-01  Joel Schopp 
3647
            Kazunori Asayama 
3648
 
3649
        * libc/machine/spu/Makefile.am: Add objects.
3650
        * libc/machine/spu/Makefile.in: Regenerated.
3651
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
3652
        implementation.
3653
        * libc/machine/spu/snprintf.c: Ditto.
3654
        * libc/machine/spu/sprintf.c: Ditto.
3655
        * libc/machine/spu/sscanf.c: Ditto.
3656
        * libc/machine/spu/remove.c: Ditto.
3657
        * libc/machine/spu/rename.c: Ditto.
3658
        * libc/machine/spu/tmpnam.c: Ditto.
3659
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
3660
        stdio stuffs.
3661
        * libc/machine/spu/vsprintf.c: Ditto.
3662
 
3663
2007-02-01  Joel Schopp 
3664
            Kazunori Asayama 
3665
 
3666
        * configure.host: Enable SPU specific stdio directory.
3667
        * libc/machine/spu/Makefile.am: Add objects.
3668
        * libc/machine/spu/Makefile.in: Regenerated.
3669
        * libc/machine/spu/c99ppe.h: Add macros and function
3670
        declarations to initialize SPU specific stdio stuffs.
3671
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
3672
        specific FILE structures.
3673
        * libc/machine/spu/perror.c: Add initialization routine of
3674
        stdio stuffs.
3675
        * libc/machine/spu/printf.c: Ditto.
3676
        * libc/machine/spu/putchar.c: Ditto.
3677
        * libc/machine/spu/puts.c: Ditto.
3678
        * libc/machine/spu/vprintf.c: Ditto.
3679
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
3680
        implementation.
3681
        * libc/machine/spu/feof.c: Ditto.
3682
        * libc/machine/spu/ferror.c: Ditto.
3683
        * libc/machine/spu/fileno.c: Ditto.
3684
        * libc/machine/spu/fopen.c: Ditto.
3685
        * libc/machine/spu/fclose.c: Ditto.
3686
        * libc/machine/spu/freopen.c: Ditto.
3687
        * libc/machine/spu/fflush.c: Ditto.
3688
        * libc/machine/spu/fseek.c: Ditto.
3689
        * libc/machine/spu/ftell.c: Ditto.
3690
        * libc/machine/spu/rewind.c: Ditto.
3691
        * libc/machine/spu/fgetpos.c: Ditto.
3692
        * libc/machine/spu/fsetpos.c: Ditto.
3693
        * libc/machine/spu/fread.c: Ditto.
3694
        * libc/machine/spu/fwrite.c: Ditto.
3695
        * libc/machine/spu/getc.c: Ditto.
3696
        * libc/machine/spu/getchar.c: Ditto.
3697
        * libc/machine/spu/gets.c: Ditto.
3698
        * libc/machine/spu/fgetc.c: Ditto.
3699
        * libc/machine/spu/fgets.c: Ditto.
3700
        * libc/machine/spu/ungetc.c: Ditto.
3701
        * libc/machine/spu/putc.c: Ditto.
3702
        * libc/machine/spu/fputc.c: Ditto.
3703
        * libc/machine/spu/fputs.c: Ditto.
3704
        * libc/machine/spu/vfprintf.c: Ditto.
3705
        * libc/machine/spu/vfscanf.c: Ditto.
3706
        * libc/machine/spu/fprintf.c: Ditto.
3707
        * libc/machine/spu/fscanf.c: Ditto.
3708
        * libc/machine/spu/scanf.c: Ditto.
3709
        * libc/machine/spu/vscanf.c: Ditto.
3710
        * libc/machine/spu/setbuf.c: Ditto.
3711
        * libc/machine/spu/setvbuf.c: Ditto.
3712
        * libc/machine/spu/tmpfile.c: Ditto.
3713
 
3714
2007-02-01  Jeff Johnston  
3715
 
3716
        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
3717
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
3718
        around stdio macros that manipulate fields in the normal file
3719
        structure.
3720
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
3721
         to define custom FILE structure.
3722
        * libc/include/sys/custom_file.h: New default header file
3723
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
3724
        * libc/machine/spu/sys/custom_file.h: New file.
3725
 
3726
2007-01-31  Kazunori Asayama 
3727
 
3728
        * configure.host: Define stdio directory as a variable.
3729
        * libc/Makefile.am: Define stdio related names
3730
        as macros.
3731
        * libc/configure.in: Add detection routine of stdio directory.
3732
        * libc/Makefile.in: Regenerated.
3733
        * libc/configure: Ditto.
3734
        * libc/argz/Makefile.in: Ditto.
3735
        * libc/ctype/Makefile.in: Ditto.
3736
        * libc/errno/Makefile.in: Ditto.
3737
        * libc/iconv/Makefile.in: Ditto.
3738
        * libc/iconv/ccs/Makefile.in: Ditto.
3739
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
3740
        * libc/iconv/ces/Makefile.in: Ditto.
3741
        * libc/iconv/lib/Makefile.in: Ditto.
3742
        * libc/locale/Makefile.in: Ditto.
3743
        * libc/misc/Makefile.in: Ditto.
3744
        * libc/posix/Makefile.in: Ditto.
3745
        * libc/reent/Makefile.in: Ditto.
3746
        * libc/search/Makefile.in: Ditto.
3747
        * libc/signal/Makefile.in: Ditto.
3748
        * libc/stdio/Makefile.in: Ditto.
3749
        * libc/stdio64/Makefile.in: Ditto.
3750
        * libc/stdlib/Makefile.in: Ditto.
3751
        * libc/string/Makefile.in: Ditto.
3752
        * libc/syscalls/Makefile.in: Ditto.
3753
        * libc/time/Makefile.in: Ditto.
3754
        * libc/unix/Makefile.in: Ditto.
3755
 
3756
2007-01-30  Ben Elliston  
3757
 
3758
        * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
3759
        fmt member.
3760
        * libc/machine/spu/printf.c (c99_printf_t): Likewise.
3761
        (printf): Pass fmt to va_start to suppress a warning.
3762
 
3763
        * libc/search/hash.c (init_hash): Make `info' parameter const.
3764
 
3765
2007-01-19  Kazunori Asayama 
3766
 
3767
        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
3768
        * libc/machine/spu/vec_literal.h: Ditto.
3769
        * libc/machine/spu/strncmp.c: Ditto.
3770
 
3771
2007-01-15  Joseph Myers  
3772
            Kazu Hirata  
3773
 
3774
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
3775
        for E500V1 and E500V2.
3776
 
3777
2007-01-11  Jeff Johnston  
3778
 
3779
        * libm/configure.in: Always configure machine directory.
3780
        * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
3781
        unconditionally.
3782
        * libm/configure: Regenerated.
3783
        * libm/Makefile.in: Ditto.
3784
        * libm/*/Makefile.in: Ditto.
3785
 
3786
2007-01-05  Brian Ford  
3787
 
3788
        * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
3789
 
3790
2007-01-02  Ben Elliston  
3791
 
3792
        * doc/makedoc.c: Include .
3793
        (malloc, realloc): Remove extern declarations.
3794
 
3795
2006-12-18  Jeff Johnston  
3796
 
3797
        * NEWS: Update with 1.15.0 info.
3798
        * README: Ditto.
3799
        * acinclude.m4: Change version number to 1.15.0.
3800
        * aclocal.m4: Regenerated.
3801
        * configure: Ditto.
3802
        * doc/aclocal.m4: Ditto.
3803
        * doc/configure: Ditto.
3804
        * libc/*/aclocal.m4: Ditto.
3805
        * libc/*/configure: Ditto.
3806
        * libc/libc.texinfo: Ditto.
3807
        * libm/*/aclocal.m4: Ditto.
3808
        * libm/*/configure: Ditto.
3809
        * libm/libm.texinfo: Ditto.
3810
        * libc/sys/linux/shared.ld: Add VERS_1.15.
3811
 
3812
2006-12-18  Kazu Hirata  
3813
 
3814
        Merge from newlib-csl-20060320-branch:
3815
        2006-12-01  Nathan Sidwell  
3816
                    Kazu Hirata  
3817
 
3818
        * configure.host: Recognize fido.
3819
 
3820
2006-12-18  Joel Schopp 
3821
 
3822
        * libc/machine/spu/c99ppe.h: New file
3823
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
3824
        * libc/machine/spu/printf.c: New file
3825
        * libc/machine/spu/putchar.c: New file
3826
        * libc/machine/spu/puts.c: New file
3827
        * libc/machine/spu/vprintf.c: New file
3828
        * libc/machine/spu/vsnprintf.c: New file
3829
        * libc/machine/spu/vsprintf.c: New file
3830
        * libc/machine/spu/Makefile.am: Add new targets.
3831
        * libc/machine/spu/Makefile.in: Regenerated.
3832
 
3833
2006-12-18  Jeff Johnston  
3834
 
3835
        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
3836
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
3837
 
3838
2006-12-18  Jeff Johnston  
3839
 
3840
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
3841
        2.6.5 version of Doug Lea's malloc which is the basis of
3842
        this code.
3843
 
3844
2006-12-18  Kazunori Asayama 
3845
 
3846
        * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
3847
 
3848
2006-12-14  Jeff Johnston  
3849
            Eric Blake  
3850
 
3851
        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
3852
        read but unused data.
3853
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
3854
        even read streams may have side effects that must happen.
3855
 
3856
2006-12-13  Joel Schopp 
3857
 
3858
        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
3859
        correctly.
3860
 
3861
2006-12-13  Joel Schopp 
3862
 
3863
        * libc/include/alloca.h: Add undef alloca to work with xlc.
3864
 
3865
2006-12-12  Joel Schopp 
3866
 
3867
        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
3868
        cell spu.
3869
 
3870
2006-12-04  Kazunori Asayama  
3871
 
3872
        * libc/machine/spu/strncpy.c: Add padding.
3873
 
3874
2006-12-04  Kazunori Asayama  
3875
 
3876
        * testsuite/newlib.string/tstring.c:
3877
 
3878
2006-12-01  Kazunori Asayama  
3879
 
3880
        * libc/machine/spu/strchr.c: Fix mask for misaligned string.
3881
        * libc/machine/spu/strrchr.c: Ditto.
3882
 
3883
2006-11-30  Lev Bishop  
3884
 
3885
        * libc/include/math.h: Allow C99 functions/macros to be
3886
        defined for C++ even when __STRICT_ANSI__.
3887
 
3888
2006-11-29  Jeff Johnston  
3889
 
3890
        * libc/stdio/makebuf.c (__smakebuf): If dealing with
3891
        an asprintf-family buffer, make the default initial size 64.
3892
 
3893
2006-11-29  Eric Blake  
3894
 
3895
        * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
3896
        asprintf, as well as quadratic realloc behavior.
3897
 
3898
2006-11-29  Kazunori Asayama  
3899
 
3900
        * libc/machine/spu/memset.c: Fix type of explicit cast.
3901
        * libc/machine/spu/strncmp.c: Add explicit cast.
3902
        * libc/machine/spu/strrchr.c: Ditto.
3903
        * libc/machine/spu/strspn.c: Ditto.
3904
 
3905
2006-11-22  Luca Barbato  
3906
 
3907
        * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
3908
        * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
3909
        * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
3910
        * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
3911
        * libc/machine/spu/strncat.c: Explicit cast.
3912
        * libc/machine/spu/strncmp.c: Use spu_splats.
3913
        * libc/machine/spu/strncpy.c: Explicit cast.
3914
        * libc/machine/spu/strrchr.c: Use spu_splats.
3915
        * libc/machine/spu/strspn.c: Use spu_splats.
3916
 
3917
2006-11-15  Till Straumann  
3918
 
3919
        * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
3920
 
3921
2006-11-14  Eric Blake  
3922
 
3923
        * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
3924
        (chclass): ' is a flag.  j, t, and z are modifiers.
3925
 
3926
2006-11-08  Jie Zhang  
3927
 
3928
        * configure.host: Add support for bfin.
3929
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
3930
        * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
3931
        * libc/machine/bfin/aclocal.m4: Generate.
3932
        * libc/machine/bfin/configure.in: New.
3933
        * libc/machine/bfin/configure: Generate.
3934
        * libc/machine/bfin/Makefile.am: New.
3935
        * libc/machine/bfin/Makefile.in: Generate.
3936
        * libc/machine/bfin/setjmp.S: New.
3937
        * libc/machine/bfin/longjmp.S: New.
3938
        * libc/machine/configure.in: Add bfin support.
3939
        * libc/machine/configure: Generate.
3940
 
3941
2006-11-07  Corinna Vinschen  
3942
 
3943
        * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
3944
        (_PC_FILESIZEBITS): Add definition.
3945
        (_PC_2_SYMLINKS): Ditto.
3946
        (_PC_SYMLINK_MAX): Ditto.
3947
 
3948
2006-10-27  Joel Schopp  
3949
 
3950
        * libc/machine/spu/memcpy.c: Override generic function with vectorized
3951
        version optimized for the cell spu.
3952
        * libc/machine/spu/memmove.c: Ditto.
3953
        * libc/machine/spu/memset.c: Ditto.
3954
        * libc/machine/spu/strcat.c: Ditto.
3955
        * libc/machine/spu/strchr.c: Ditto.
3956
        * libc/machine/spu/strcmp.c: Ditto.
3957
        * libc/machine/spu/strcpy.c: Ditto.
3958
        * libc/machine/spu/strcspn.c: Ditto.
3959
        * libc/machine/spu/strlen.c: Ditto.
3960
        * libc/machine/spu/strncat.c: Ditto.
3961
        * libc/machine/spu/strncmp.c: Ditto.
3962
        * libc/machine/spu/strncpy.c: Ditto.
3963
        * libc/machine/spu/strpbrk.c: Ditto.
3964
        * libc/machine/spu/strrchr.c: Ditto.
3965
        * libc/machine/spu/strspn.c: Ditto.
3966
        * libc/machine/spu/strxfrm.c: Ditto.
3967
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
3968
        removing altivec style initializers.
3969
        * libc/machine/spu/Makefile.am: Add new files to list so they build
3970
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
3971
 
3972
2006-10-27  Jeff Johnston  
3973
 
3974
        * README: Add a brief section on how to regenerate
3975
        configuration files in newlib.
3976
 
3977
2006-10-25  Vladimir Prus  
3978
 
3979
        * libc/include/math.h: (exception): Add a comment
3980
        telling fixincludes that we handle C vs. C++ issue.
3981
 
3982
2006-10-11  Yang Tse  
3983
 
3984
        * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
3985
        braced-groups.
3986
 
3987
2006-10-11  Corinna Vinschen  
3988
 
3989
        * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
3990
 
3991
2006-09-26  Jeff Johnston  
3992
 
3993
        * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
3994
        for clearerr, feof, or fileno.
3995
        * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
3996
        the dummy std stream scheme to use pointers to const external
3997
        fake files, one for each standard stream.
3998
        * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
3999
        argument.  For _REENT_SMALL, reset the file pointer if it
4000
        matches one of the fake std stream pointers.
4001
        * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
4002
        argument.
4003
        * libc/stdio/fclose.c: Ditto.
4004
        * libc/stdio/feof.c: Ditto.
4005
        * libc/stdio/ferror.c: Ditto.
4006
        * libc/stdio/fflush.c: Ditto.
4007
        * libc/stdio/fgetc.c: Ditto.
4008
        * libc/stdio/fgets.c: Ditto.
4009
        * libc/stdio/fileno.c: Ditto.
4010
        * libc/stdio/findfp.c: Ditto.
4011
        * libc/stdio/fputc.c: Ditto.
4012
        * libc/stdio/fputs.c: Ditto.
4013
        * libc/stdio/fread.c: Ditto.
4014
        * libc/stdio/freopen.c: Ditto.
4015
        * libc/stdio/fseek.c: Ditto.
4016
        * libc/stdio/ftell.c: Ditto.
4017
        * libc/stdio/fwrite.c: Ditto.
4018
        * libc/stdio/getc.c: Ditto.
4019
        * libc/stdio/getdelim.c: Ditto.
4020
        * libc/stdio/putc.c: Ditto.
4021
        * libc/stdio/refill.c: Ditto.
4022
        * libc/stdio/setvbuf.c: Ditto.
4023
        * libc/stdio/ungetc.c: Ditto.
4024
        * libc/stdio/vfprintf.c: Ditto.
4025
        * libc/stdio/vfscanf.c: Ditto.
4026
        * libc/stdio/wbuf.c: Ditto.: Ditto.
4027
        * libc/stdio/wsetup.c: Ditto.
4028
        * libc/stdio64/freopen64.c: Ditto.
4029
        * libc/stdio64/fseeko64.c: Ditto.
4030
        * libc/stdio64/ftello64.c: Ditto.
4031
        * libc/machine/powerpc/vfprintf.c: Ditto.
4032
        * libc/machine/powerpc/vfscanf.c: Ditto.
4033
 
4034
2006-09-22  Paul Brook  
4035
 
4036
        * libc/include/sys/reent.h: Define and use __reent_assert.
4037
 
4038
2006-09-13  Joel Sherrill 
4039
 
4040
        * libc/include/pthread.h: Add pthread barriers,
4041
        rwlocks, and spinlocks.  Change const to
4042
        _CONST and prefix parameter names with
4043
        an underscore.
4044
        * libc/include/sys/types.h: Add id and attribute
4045
        types for barriers, wrlocks, and spinlocks.
4046
        * libc/include/sys/features.h: Enable barriers,
4047
        wrlocks, and spinlocks for RTEMS.
4048
 
4049
2006-09-13  Patrick Mansfield 
4050
 
4051
        * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
4052
        supposed to be writable.
4053
        * libm/common/s_lib_ver.c: Ditto.
4054
 
4055
2006-09-12  Paul Brook  
4056
 
4057
        * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
4058
 
4059
2006-09-07  Masaki Muranaka  
4060
 
4061
 
4062
        * libc/machine/xstormy16/Makefile.am:
4063
        Add $(lpfx) prefix to LIBADD objects.
4064
        lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
4065
        * libc/machine/xstormy16/Makefile.in: Regenerated.
4066
 
4067
2006-09-06  Eric Blake  
4068
 
4069
        * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
4070
        't', and 'z' modifiers.
4071
 
4072
2006-09-01  Kazu Hirata  
4073
 
4074
        Merge from newlib-csl-20060320-branch:
4075
        2006-05-22  Sandra Loosemore 
4076
 
4077
        * configure.host: Tell it we have _rename and _system when
4078
        building m68k-unknown-elf.
4079
 
4080
2006-08-29  Paul Brook  
4081
 
4082
        * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
4083
 
4084
2006-08-27  Joel Sherrill 
4085
 
4086
        * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
4087
        BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
4088
        This is needed to build all AVR and H8300 RTEMS multilib variants.
4089
 
4090
2006-08-23  Kazunori Asayama  
4091
 
4092
        * libc/machine/configure.in: Add configuration for SPU.
4093
        * libc/machine/configure: Regenerated.
4094
        * libc/machine/spu/memcpy.c: Include string.h.
4095
 
4096
2006-08-22  Eric Blake  
4097
 
4098
        * libc/posix/popen.c (popen): Don't close output end of pipe in
4099
        child if stdout was closed on entry.
4100
        [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
4101
 
4102
2006-08-19  Ramana Radhakrishnan  
4103
 
4104
        * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
4105
        line.
4106
 
4107
2006-08-17  Brian Ford  
4108
 
4109
        * libc/time/gmtime.c: Correct man page; clock is not a
4110
        local time and no conversion occurs.
4111
 
4112
2006-08-16  Joel Schopp  
4113
 
4114
        * configure.host (newlib_cflags) [spu]: Add special compiler
4115
        options to reduce size.
4116
 
4117
2006-08-16  Joel Schopp  
4118
 
4119
        * configure.host: Add spu support.
4120
        * libc/include/stdint.h: Ditto.
4121
        * libc/include/machine/ieeefp.h: Ditto.
4122
        * libc/include/machine/setjmp.h: Ditto.
4123
        * libc/include/sys/config.h: Ditto.
4124
        * libc/include/sys/types.h: Ditto.
4125
        * libc/machine/spu/Makefile.am: New file.
4126
        * libc/machine/spu/Makefile.in: Ditto.
4127
        * libc/machine/spu/aclocal.m4: Ditto.
4128
        * libc/machine/spu/configure: Ditto.
4129
        * libc/machine/spu/configure.in: Ditto.
4130
        * libc/machine/spu/memcpy.c: Ditto.
4131
        * libc/machine/spu/setjmp.S: Ditto.
4132
 
4133
2006-08-03  J"orn Rennecke  
4134
 
4135
        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
4136
        properly.
4137
 
4138
2006-08-01  Jeff Johnston  
4139
 
4140
        * libc/Makefile.am: Add libc_TEXINFOS dependency on
4141
        generated .texi files.
4142
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
4143
        generated .texi files.
4144
        * libc/Makefile.in: Regenerated.
4145
        * libm/Makefile.in: Ditto.
4146
 
4147
2006-08-01  Thiemo Seufer  
4148
            Nigel Stephens  
4149
 
4150
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
4151
        define this to force _impure_ptr to live in the .sdata section.
4152
 
4153
2006-07-31  Jeff Johnston  
4154
 
4155
        * acinclude.m4: Check for readelf tool.
4156
        * configure.in: Use ${READELF} instead of hard-coding.
4157
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4158
 
4159
2006-07-31  Jeff Johnston  
4160
 
4161
        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
4162
        to avoid conflict with newer glibc's revision of mremap.
4163
 
4164
2006-07-05  Jeff Johnston  
4165
 
4166
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
4167
        floating-point format support.  Also redefine
4168
        dword0 and dword1 macros.
4169
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
4170
        to prevent setting dword1 which is an rvalue only.
4171
 
4172
2006-06-22  Jeff Johnston  
4173
 
4174
        * libc/stdlib/Makefile.am: Add new gdtoa routines.
4175
        * libc/stdlib/Makefile.in: Regenerated.
4176
        * libc/stdlib/gd_qnan.h: New file.
4177
        * libc/stdlib/gdtoa-gethex.c: Ditto.
4178
        * libc/stdlib/gdtoa-hexnan.c: Ditto.
4179
        * libc/stdlib/gdtoa.h: Ditto.
4180
        * libc/stdlib/mprec.c: Add new helper routines needed by
4181
        the new gdtoa code.
4182
        * libc/stdlib/mprec.h: Integrate some defines and prototypes
4183
        used by gdtoa routines here.
4184
        * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
4185
        which adds C99 support such as nan, inf, and hexadecimal input
4186
        format.
4187
 
4188
2006-06-15  Corinna Vinschen  
4189
 
4190
        * libc/include/stdio.h (__sgetc_r): Fix typo.
4191
        * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
4192
        * libc/stdio/rget.c (__srbuf): Reinstantiate.
4193
        * libc/stdio/wbuf.c (__swbuf): Ditto.
4194
 
4195
2006-06-14  Jeff Johnston  
4196
 
4197
        * libc/include/stdio.h: Add new reentrant I/O prototypes for
4198
        read/write functions.  Change getc/putc macros to have reentrant underlying
4199
        macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
4200
        * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
4201
        new reentrant I/O functions/macros for reading/writing.
4202
        * libc/stdio/fgets.c: Ditto.
4203
        * libc/stdio/fputc.c: Ditto.
4204
        * libc/stdio/fputs.c: Ditto.
4205
        * libc/stdio/fread.c: Ditto.
4206
        * libc/stdio/fseek.c: Ditto.
4207
        * libc/stdio64/fseeko64.c: Ditto.
4208
        * libc/stdio/fwrite.c: Ditto.
4209
        * libc/stdio/getc.c: Ditto.
4210
        * libc/stdio/getc_u.c: Ditto.
4211
        * libc/stdio/getchar.c: Ditto.
4212
        * libc/stdio/getchar_u.c: Ditto.
4213
        * libc/stdio/putc.c: Ditto.
4214
        * libc/stdio/putc_u.c: Ditto.
4215
        * libc/stdio/putchar.c: Ditto.
4216
        * libc/stdio/puts.c: Ditto.
4217
        * libc/stdio/vfprintf.c: Ditto.
4218
        * libc/stdio/vfscanf.c: Ditto.
4219
        * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
4220
        Change all previous callers of __sfvwrite.  Set errno to EBADF and
4221
        set error flag on if attempt is made to write to file that does not
4222
        allow writing.
4223
        * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
4224
        * libc/stdio/local.h: Ditto.
4225
        * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
4226
        Set errno to EBADF and the error flag on if attempt is made to
4227
        read unreadable file.  Change all previous callers of __srefill.
4228
        * libc/stdio/rget.c
4229
        * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
4230
        all previous callers of __swbuf.
4231
        * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
4232
        huge value macros are already defined correctly for i386 by .
4233
 
4234
2006-06-13  Sandra Loosemore 
4235
 
4236
        * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
4237
        Make them do something useful in the ARM_RDI_MONITOR case.
4238
 
4239
2006-06-07  Fred Fish  
4240
 
4241
        * libc/search/hash_bigkey.c (MIN,MAX): Remove
4242
        defines that are already supplied by .
4243
 
4244
2006-06-07  Fred Fish  
4245
 
4246
        * configure.host: Remove references to HAVE_GETTIMEOFDAY.
4247
 
4248
2006-06-05  Shaun Jackman  
4249
 
4250
        * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
4251
        usleep.c.
4252
        * libc/posix/Makefile.in: Regenerate.
4253
        * libc/posix/sleep.c: New file.
4254
        * libc/posix/usleep.c: Ditto.
4255
 
4256
2006-06-05  Shaun Jackman  
4257
 
4258
        * configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
4259
        -DABORT_PROVIDED flag.
4260
        * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
4261
        * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
4262
 
4263
2006-06-05  Jeff Johnston  
4264
 
4265
        * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
4266
        * Makefile.in: Regenerated.
4267
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
4268
        extraneous CFLAGS reference now that CCASFLAGS are being extended
4269
        properly via multilib.
4270
        * libc/machine/sh/Makefile.in: Regenerated.
4271
 
4272
2006-06-02  Shaun Jackman  
4273
 
4274
        * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
4275
        sigismember.
4276
 
4277
2006-05-23  Jeff Johnston  
4278
 
4279
        * libc/misc/dprintf.c: Removed.
4280
        * libc/misc/__dprintf.c: Renamed from dprintf.c.
4281
        * libc/misc/Makefile.am: Changed appropriately for rename.
4282
        * libc/misc/Makefile.in: Regenerated.
4283
 
4284
2006-05-23  Jeff Johnston  
4285
 
4286
        * libc/include/stdio.h: Protect dprintf prototype
4287
        with #ifndef dprintf so as to not interfere with
4288
        historical code defining their own dprintf macro.
4289
 
4290
2006-05-18  Jeff Johnston  
4291
 
4292
        * libc/include/stdio.h: Add prototypes for fiscanf,
4293
        iscanf, and siscanf.
4294
 
4295
2006-05-11  J"orn Rennecke 
4296
 
4297
        * acinclude.m4 (_NEWLIB_VERSION): Rename to:
4298
        (DEF_NEWLIB_VERSION).
4299
        * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
4300
        * configure: Regenerate.
4301
 
4302
2006-05-09  Jeff Johnston  
4303
 
4304
        * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
4305
        lib_a_SOURCES.
4306
        * libc/ctype/Makefile.in: Regenerated.
4307
 
4308
2006-05-09  Kazu Hirata  
4309
 
4310
        * libc/machine/arm/Makefile.am: Fix a typo.
4311
        * libc/machine/arm/Makefile.in: Regenerated.
4312
 
4313
2006-05-08  J"orn Rennecke 
4314
 
4315
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4316
        * libc/machine/sh/Makefile.in: Regenerate.
4317
 
4318
2006-05-03  J"orn Rennecke 
4319
 
4320
        * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4321
        * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
4322
 
4323
2006-05-02  Jeff Johnston  
4324
 
4325
        * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
4326
        .s.
4327
        * libc/sys/sysnec810/Makefile.in: Regenerated.
4328
        * libc/sys/sysnec810/crt0.S: Renamed from .s file.
4329
        * libc/sys/sysnec810/io.S: Ditto.
4330
        * libc/sys/sysnec810/crt0.s: Renamed to .S file.
4331
        * libc/sys/sysnec810/io.s: Ditto.
4332
 
4333
2006-05-01  Jeff Johnston  
4334
 
4335
        * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
4336
        be specified instead of object, do so.
4337
        * libc/ctype/Makefile.am: Ditto.
4338
        * libc/iconv/ccs/Makefile.am: Ditto.
4339
        * libc/iconv/ces/Makefile.am: Ditto.
4340
        * libc/iconv/lib/Makefile.am: Ditto.
4341
        * libc/locale/Makefile.am: Ditto.
4342
        * libc/posix/Makefile.am: Ditto.
4343
        * libc/reent/Makefile.am: Ditto.
4344
        * libc/search/Makefile.am: Ditto.
4345
        * libc/stdio/Makefile.am: Ditto.
4346
        * libc/stdio64/Makefile.am: Ditto.
4347
        * libc/stdlib/Makefile.am: Ditto.
4348
        * libc/string/Makefile.am: Ditto.
4349
        * libc/syscalls/Makefile.am: Ditto.
4350
        * libc/unix/Makefile.am: Ditto.
4351
        * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
4352
        prefix added automatically.  Any specified rules must use $(lpfx) for
4353
        object file names.
4354
        * libc/machine/arm/Makefile.am: Ditto.
4355
        * libc/machine/cris/Makefile.am: Ditto.
4356
        * libc/machine/crx/Makefile.am: Ditto.
4357
        * libc/machine/d10v/Makefile.am: Ditto.
4358
        * libc/machine/d30v/Makefile.am: Ditto.
4359
        * libc/machine/fr30/Makefile.am: Ditto.
4360
        * libc/machine/frv/Makefile.am: Ditto.
4361
        * libc/machine/h8300/Makefile.am: Ditto.
4362
        * libc/machine/h8500/Makefile.am: Ditto.
4363
        * libc/machine/hppa/Makefile.am: Ditto.
4364
        * libc/machine/i386/Makefile.am: Ditto.
4365
        * libc/machine/i960/Makefile.am: Ditto.
4366
        * libc/machine/iq2000/Makefile.am: Ditto.
4367
        * libc/machine/m32c/Makefile.am: Ditto.
4368
        * libc/machine/m32r/Makefile.am: Ditto.
4369
        * libc/machine/m68hc11/Makefile.am: Ditto.
4370
        * libc/machine/m68k/Makefile.am: Ditto.
4371
        * libc/machine/m88k/Makefile.am: Ditto.
4372
        * libc/machine/mips/Makefile.am: Ditto.
4373
        * libc/machine/mn10200/Makefile.am: Ditto.
4374
        * libc/machine/mn10300/Makefile.am: Ditto.
4375
        * libc/machine/mt/Makefile.am: Ditto.
4376
        * libc/machine/necv70/Makefile.am: Ditto.
4377
        * libc/machine/powerpc/Makefile.am: Ditto.
4378
        * libc/machine/sh/Makefile.am: Ditto.
4379
        * libc/machine/sh/Makefile.in: Ditto.
4380
        * libc/machine/sparc/Makefile.am: Ditto.
4381
        * libc/machine/tic4x/Makefile.am: Ditto.
4382
        * libc/machine/tic80/Makefile.am: Ditto.
4383
        * libc/machine/v850/Makefile.am: Ditto.
4384
        * libc/machine/w65/Makefile.am: Ditto.
4385
        * libc/machine/xscale/Makefile.am: Ditto.
4386
        * libc/machine/xstormy16/Makefile.am: Ditto.
4387
        * libc/machine/z8k/Makefile.am: Ditto.
4388
        * libc/sys/a29khif/Makefile.am: Ditto.
4389
        * libc/sys/arm/Makefile.am: Ditto.
4390
        * libc/sys/d10v/Makefile.am: Ditto.
4391
        * libc/sys/h8300hms/Makefile.am: Ditto.
4392
        * libc/sys/h8500hms/Makefile.am: Ditto.
4393
        * libc/sys/linux/Makefile.am: Ditto.
4394
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4395
        * libc/sys/linux/net/Makefile.am: Ditto.
4396
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4397
        * libc/sys/m88kbug/Makefile.am: Ditto.
4398
        * libc/sys/mmixware/Makefile.am: Ditto.
4399
        * libc/sys/rdos/Makefile.am: Ditto.
4400
        * libc/sys/rtems/Makefile.am: Ditto.
4401
        * libc/sys/sh/Makefile.am: Ditto.
4402
        * libc/sys/sun4/Makefile.am: Ditto.
4403
        * libc/sys/sysmec/Makefile.am: Ditto.
4404
        * libc/sys/sysnec810/Makefile.am: Ditto.
4405
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4406
        * libc/sys/sysvi386/Makefile.am: Ditto.
4407
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4408
        * libc/sys/tic80/Makefile.am: Ditto.
4409
        * libc/sys/w65/Makefile.am: Ditto.
4410
        * libc/sys/z8ksim/Makefile.am: Ditto.
4411
        * libc/machine/necv70/fastmath.S: Renamed from .s file.
4412
        * libc/machine/necv70/setjmp.S: Ditto.
4413
        * libc/machine/necv70/fastmath.s: Removed.
4414
        * libc/machine/necv70/setjmp.s: Ditto.
4415
        * libc/machine/w65/*.S: New files renamed from .s files.
4416
        * libc/machine/w65/*.s: Renamed and removed.
4417
        * libc/sys/a29khif/*.S: New files renamed from .s files.
4418
        * libc/sys/a29khif/*.s: Renamed and removed.
4419
        * libc/sys/sysvi386/*.S: New files renamed from .s files.
4420
        * libc/sys/sysvi386/*.s: Renamed and removed.
4421
        * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
4422
        * libc/sys/sysvnecv70/*.s: Renamed and removed.
4423
        * libc/*Makefile.in: Regenerated as appropriate.
4424
 
4425
2006-04-24  DJ Delorie  
4426
 
4427
        * libc/machine/sh/configure.in: Avoid link tests.
4428
        * libc/machine/sh/configure: Regenerate.
4429
 
4430
2006-04-18  Jeff Johnston  
4431
 
4432
        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
4433
        (sigaddset, sigemptyset): Add return code.
4434
 
4435
2006-04-13  Ralf Corsepius  
4436
 
4437
        * acinclude.m4: New _NEWLIB_VERSION.
4438
        * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
4439
        Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
4440
        Use new form of AC_INIT_AUTOMAKE.
4441
        * configure.in: AC_PREREQ(2.59).
4442
        Use autoconf-2.5.x version of AC_INIT.
4443
        Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
4444
        autoconf-2.13's AC_OUTPUT.
4445
        * libm/configure.in: Ditto.
4446
        * libm/machine/configure.in: Ditto.
4447
        * libm/machine/i386/configure.in: Ditto.
4448
        * libc/configure.in: Ditto.
4449
        * libc/machine/a29k/configure.in: Ditto.
4450
        * libc/machine/arm/configure.in: Ditto.
4451
        * libc/machine/configure.in: Ditto.
4452
        * libc/machine/mn10300/configure.in: Ditto.
4453
        * libc/machine/powerpc/configure.in: Ditto.
4454
        * libc/machine/z8k/configure.in: Ditto.
4455
        * libc/machine/h8300/configure.in: Ditto.
4456
        * libc/machine/mips/configure.in: Ditto.
4457
        * libc/machine/crx/configure.in: Ditto.
4458
        * libc/machine/m68hc11/configure.in: Ditto.
4459
        * libc/machine/h8500/configure.in: Ditto.
4460
        * libc/machine/xscale/configure.in: Ditto.
4461
        * libc/machine/d10v/configure.in: Ditto.
4462
        * libc/machine/fr30/configure.in: Ditto.
4463
        * libc/machine/sh/configure.in: Ditto.
4464
        * libc/machine/tic80/configure.in: Ditto.
4465
        * libc/machine/m32r/configure.in: Ditto.
4466
        * libc/machine/xstormy16/configure.in: Ditto.
4467
        * libc/machine/i386/configure.in: Ditto.
4468
        * libc/machine/d30v/configure.in: Ditto.
4469
        * libc/machine/mn10200/configure.in: Ditto.
4470
        * libc/machine/frv/configure.in: Ditto.
4471
        * libc/machine/mt/configure.in: Ditto.
4472
        * libc/machine/i960/configure.in: Ditto.
4473
        * libc/machine/v850/configure.in: Ditto.
4474
        * libc/machine/necv70/configure.in: Ditto.
4475
        * libc/machine/tic4x/configure.in: Ditto.
4476
        * libc/machine/cris/configure.in: Ditto.
4477
        * libc/machine/m68k/configure.in: Ditto.
4478
        * libc/machine/m32c/configure.in: Ditto.
4479
        * libc/machine/hppa/configure.in: Ditto.
4480
        * libc/machine/w65/configure.in: Ditto.
4481
        * libc/machine/iq2000/configure.in: Ditto.
4482
        * libc/machine/sparc/configure.in: Ditto.
4483
        * libc/machine/m88k/configure.in: Ditto.
4484
        * libc/sys/linux/configure.in: Ditto.
4485
        * libc/sys/linux/machine/configure.in: Ditto.
4486
        * libc/sys/linux/machine/i386/configure.in: Ditto.
4487
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
4488
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4489
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4490
        * libc/sys/arm/configure.in: Ditto.
4491
        * libc/sys/configure.in: Ditto.
4492
        * libc/sys/decstation/configure.in: Ditto.
4493
        * libc/sys/a29khif/configure.in: Ditto.
4494
        * libc/sys/sysnecv850/configure.in: Ditto.
4495
        * libc/sys/d10v/configure.in: Ditto.
4496
        * libc/sys/netware/configure.in: Ditto.
4497
        * libc/sys/mmixware/configure.in: Ditto.
4498
        * libc/sys/h8500hms/configure.in: Ditto.
4499
        * libc/sys/sh/configure.in: Ditto.
4500
        * libc/sys/tic80/configure.in: Ditto.
4501
        * libc/sys/rdos/configure.in: Ditto.
4502
        * libc/sys/sysmec/configure.in: Ditto.
4503
        * libc/sys/sysvi386/configure.in: Ditto.
4504
        * libc/sys/h8300hms/configure.in: Ditto.
4505
        * libc/sys/sparc64/configure.in: Ditto.
4506
        * libc/sys/arc/configure.in: Ditto.
4507
        * libc/sys/sysnec810/configure.in: Ditto.
4508
        * libc/sys/m88kbug/configure.in: Ditto.
4509
        * libc/sys/sysvnecv70/configure.in: Ditto.
4510
        * libc/sys/z8ksim/configure.in: Ditto.
4511
        * libc/sys/rtems/configure.in: Ditto.
4512
        * libc/sys/w65/configure.in: Ditto.
4513
        * libc/sys/sun4/configure.in: Ditto.
4514
        * doc/configure.in: Ditto.
4515
        * iconvdata/configure.in: Ditto.
4516
        * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
4517
 
4518
2006-04-11  Jeff Johnston  
4519
 
4520
        * acinclude.m4: Properly add square brackets for
4521
        AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
4522
        macros no longer available.  Add LIB_AM_PROG_AS to
4523
        remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
4524
        macro.  Substitute lpfx (library object prefix).
4525
        * configure.host: Set lpfx depending on whether
4526
        libtool is used or not.
4527
        * configure.in: Individually specify libc and libm
4528
        to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
4529
        necessary.
4530
        * Makefile.am: Use $(lpfx) to get object names for
4531
        math-library functions that should also be in libc.
4532
        * libc/machine/configure.in: Use case statement to determine
4533
        AC_CONFIG_SUBDIRS statement.
4534
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4535
        * libc/sys/linux/machine/configure.in: Ditto.
4536
        * libc/sys/configure.in: Ditto.
4537
        * libm/machine/configure.in: Ditto.
4538
        * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
4539
        * libm/configure.in: Add AM_CONDITIONAL statement
4540
        for HAVE_LIBM_MACHINE_DIR.
4541
        * libc/machine/a29k/Makefile.am: Modified to work with
4542
        latest automake.  Change includes setting AM_CCASFLAGS
4543
        so building .S files will properly pick up flags used
4544
        to build C files.
4545
        * libc/machine/arm/Makefile.am: Ditto.
4546
        * libc/machine/crx/Makefile.am: Ditto.
4547
        * libc/machine/d10v/Makefile.am: Ditto.
4548
        * libc/machine/d30v/Makefile.am: Ditto.
4549
        * libc/machine/fr30/Makefile.am: Ditto.
4550
        * libc/machine/frv/Makefile.am: Ditto.
4551
        * libc/machine/h8300/Makefile.am: Ditto.
4552
        * libc/machine/h8500/Makefile.am: Ditto.
4553
        * libc/machine/hppa/Makefile.am: Ditto.
4554
        * libc/machine/i386/Makefile.am: Ditto.
4555
        * libc/machine/iq2000/Makefile.am: Ditto.
4556
        * libc/machine/m32c/Makefile.am: Ditto.
4557
        * libc/machine/m32r/Makefile.am: Ditto.
4558
        * libc/machine/m68hc11/Makefile.am: Ditto.
4559
        * libc/machine/m68k/Makefile.am: Ditto.
4560
        * libc/machine/m88k/Makefile.am: Ditto.
4561
        * libc/machine/mips/Makefile.am: Ditto.
4562
        * libc/machine/mn10200/Makefile.am: Ditto.
4563
        * libc/machine/mn10300/Makefile.am: Ditto.
4564
        * libc/machine/mt/Makefile.am: Ditto.
4565
        * libc/machine/necv70/Makefile.am: Ditto.
4566
        * libc/machine/powerpc/Makefile.am: Ditto.
4567
        * libc/machine/sh/Makefile.am: Ditto.
4568
        * libc/machine/sparc/Makefile.am: Ditto.
4569
        * libc/machine/tic4x/Makefile.am: Ditto.
4570
        * libc/machine/tic80/Makefile.am: Ditto.
4571
        * libc/machine/v850/Makefile.am: Ditto.
4572
        * libc/machine/w65/Makefile.am: Ditto.
4573
        * libc/machine/xscale/Makefile.am: Ditto.
4574
        * libc/machine/xstormy16/Makefile.am: Ditto.
4575
        * libc/machine/z8k/Makefile.am: Ditto.
4576
        * libc/sys/a29khif/Makefile.am: Ditto.
4577
        * libc/sys/arc/Makefile.am: Ditto.
4578
        * libc/sys/arm/Makefile.am: Ditto.
4579
        * libc/sys/d10v/Makefile.am: Ditto.
4580
        * libc/sys/decstation/Makefile.am: Ditto.
4581
        * libc/sys/h8300hms/Makefile.am: Ditto.
4582
        * libc/sys/h8500hms/Makefile.am: Ditto.
4583
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4584
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4585
        * libc/sys/m88kbug/Makefile.am: Ditto.
4586
        * libc/sys/mmixware/Makefile.am: Ditto.
4587
        * libc/sys/netware/Makefile.am: Ditto.
4588
        * libc/sys/rdos/Makefile.am: Ditto.
4589
        * libc/sys/rtems/Makefile.am: Ditto.
4590
        * libc/sys/sh/Makefile.am: Ditto.
4591
        * libc/sys/sparc64/Makefile.am: Ditto.
4592
        * libc/sys/sysmec/Makefile.am: Ditto.
4593
        * libc/sys/sysnec810/Makefile.am: Ditto.
4594
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4595
        * libc/sys/sysvi386/Makefile.am: Ditto.
4596
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4597
        * libc/sys/tic80/Makefile.am: Ditto.
4598
        * libc/sys/w65/Makefile.am: Ditto.
4599
        * libc/sys/z8ksim/Makefile.am: Ditto.
4600
        * libm/machine/i386/Makefile.am: Ditto.
4601
        * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
4602
        trap.S so that automake will generate a .S.o suffix rule.
4603
        * libc/argz/Makefile.am: Modified to work with
4604
        latest automake.  Change includes adding lib_a_CFLAGS
4605
        so automake doesn't complain about libtool and non-libtool
4606
        libraries sharing objects.
4607
        * libc/ctype/Makefile.am: Ditto.
4608
        * libc/errno/Makefile.am: Ditto.
4609
        * libc/iconv/ccs/Makefile.am: Ditto.
4610
        * libc/iconv/ces/Makefile.am: Ditto.
4611
        * libc/iconv/lib/Makefile.am: Ditto.
4612
        * libc/locale/Makefile.am: Ditto.
4613
        * libc/misc/Makefile.am: Ditto.
4614
        * libc/posix/Makefile.am: Ditto.
4615
        * libc/reent/Makefile.am: Ditto.
4616
        * libc/search/Makefile.am: Ditto.
4617
        * libc/signal/Makefile.am: Ditto.
4618
        * libc/stdio/Makefile.am: Ditto.
4619
        * libc/stdio64/Makefile.am: Ditto.
4620
        * libc/stdlib/Makefile.am: Ditto.
4621
        * libc/string/Makefile.am: Ditto.
4622
        * libc/sys/linux/Makefile.am: Ditto.
4623
        * libc/sys/linux/argp/Makefile.am: Ditto.
4624
        * libc/sys/linux/cmath/Makefile.am: Ditto.
4625
        * libc/sys/linux/dl/Makefile.am: Ditto.
4626
        * libc/sys/linux/iconv/Makefile.am: Ditto.
4627
        * libc/sys/linux/intl/Makefile.am: Ditto.
4628
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4629
        * libc/sys/linux/net/Makefile.am: Ditto.
4630
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4631
        * libc/syscalls/Makefile.am: Ditto.
4632
        * libc/time/Makefile.am: Ditto.
4633
        * libc/unix/Makefile.am: Ditto.
4634
        * libm/Makefile.am: Ditto.
4635
        * libm/common/Makefile.am: Ditto.
4636
        * libm/math/Makefile.am: Ditto.
4637
        * libm/mathfp/Makefile.am: Ditto.
4638
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4639
 
4640
2006-04-07  Jeff Johnston  
4641
 
4642
        * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
4643
        anymore.  Assume there is a gettimeofday syscall.
4644
 
4645
2006-03-29  Shaun Jackman  
4646
 
4647
        * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
4648
        for the declaration of n_long.
4649
 
4650
2006-03-29  Shaun Jackman  
4651
 
4652
        * libc/sys/linux/include/net/if.h: Include sys/socket.h for
4653
        struct sockaddr.
4654
        (IFF_SMART): Replace this define with IFF_NOTRAILERS.
4655
        (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
4656
        (IFF_NOTRAILERS): New define.
4657
        (struct ifreq): Add ifru_netmask.
4658
        (ifr_netmask): New define.
4659
 
4660
2006-03-29  Shaun Jackman  
4661
 
4662
        * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
4663
        match sys/ioctl.h.
4664
 
4665
2006-03-29  Shaun Jackman  
4666
 
4667
        * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
4668
        linux-newlib libc implementations.
4669
 
4670
2006-03-29  Eric Blake  
4671
 
4672
        * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
4673
        * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
4674
 
4675
2006-03-29  Jeff Johnston  
4676
 
4677
        * libc/sys/linux/io.c (__mknod): Fix declaration of
4678
        syscall to pass a dev_t as third argument rather than
4679
        a pointer to dev_t.
4680
 
4681
2006-03-29  Jeff Johnston  
4682
 
4683
        * libc/sys/linux/net/name6.c: Fix struct references.
4684
 
4685
2006-03-22  Mark Mitchell  
4686
 
4687
        * configure.host: Allow hosts to set the default
4688
        newlib_atexit_dynamic_alloc value.
4689
        * configure.in: Likewise.
4690
        * configure: Regenerated.
4691
 
4692
2006-03-20  Mark Mitchell  
4693
 
4694
        * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
4695
        * configure.in (--disable-newlib-atexit-dynamic-alloc): New
4696
        option.
4697
        * configure: Regenerated.
4698
        * newlib.hin: Regenerated.
4699
        * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
4700
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4701
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
4702
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4703
 
4704
2006-03-17  Jeff Johnston  
4705
 
4706
        * libc/sys/linux/linuxthreads/config.h: Remove definition
4707
        of UINT32_C.
4708
 
4709
2006-03-15  Jeff Johnston  
4710
 
4711
        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
4712
        for a string I/O file that isn't using the asprintf family.
4713
 
4714
2006-03-07  Eric Blake  
4715
 
4716
        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
4717
        filename, allow read-only or write-only FILE atop O_RDWR file
4718
        descriptor.
4719
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
4720
 
4721
2006-03-07  Jeff Johnston  
4722
 
4723
        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
4724
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
4725
 
4726
2006-03-02  Jeff Johnston  
4727
 
4728
        * libm/math/math.tex: Fix reference to sisnan.def which
4729
        is now in common subdirectory.
4730
        * libm/mathfp/mathfp.tex: Ditto.
4731
 
4732
2006-02-27  Jeff Johnston  
4733
 
4734
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
4735
        s_isnand, and sf_isnanf object files.
4736
        * Makefile.in: Regenerated.
4737
        * libc/include/ieeefp.h: Undef isnan and isinf to avoid
4738
        conflict if  has previously been included.
4739
        * libc/include/math.h
4740
        * libc/include/math.h: Make isnan and isinf macros to
4741
        conform to C99.
4742
        (__isinfd, __isinff, __isnand, __isnanf): New functions.
4743
        * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
4744
        and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
4745
        sf_isinf files which have been moved from math/mathfp directories.
4746
        * libm/common/Makefile.in: Regenerated.
4747
        * libm/common/s_isinfd.c: New file.
4748
        * libm/common/s_isnand.c: Ditto.
4749
        * libm/common/sf_isinff.c: Ditto.
4750
        * libm/common/sf_isnanf.c: Ditto.
4751
        * libm/common/s_isinf.c: Moved from libm/math directory.
4752
        * libm/common/s_isnan.c: Ditto.
4753
        * libm/common/sf_isinf.c: Ditto.
4754
        * libm/common/sf_isnan.c: Ditto.
4755
        * libm/math/Makefile.am: Remove isinf and isnan family functions
4756
        which have been moved into common directory.
4757
        * libm/mathfp/Makefile.am: Ditto.
4758
        * libm/math/Makefile.in: Regenerated.
4759
        * libm/mathfp/Makefile.in: Ditto.
4760
        * libm/math/s_isinf.c: Removed.
4761
        * libm/math/s_isnan.c: Ditto.
4762
        * libm/math/sf_isinf.c: Ditto.
4763
        * libm/math/sf_isnan.c: Ditto.
4764
        * libm/mathfp/s_isinf.c: Ditto.
4765
        * libm/mathfp/s_isnan.c: Ditto.
4766
        * libm/mathfp/sf_isinf.c: Ditto.
4767
        * libm/mathfp/sf_isnan.c: Ditto.
4768
 
4769
2006-02-20  Jeff Johnston  
4770
 
4771
        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
4772
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
4773
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
4774
        seek, turn off the __SNPT no-optimization flag.
4775
 
4776
2006-02-16  Jeff Johnston  
4777
 
4778
        * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
4779
        will be defined.
4780
        * libc/sys/linux/sys/types.h: Move  ahead of
4781
         to preset special flags.
4782
 
4783
2006-02-15  Corinna Vinschen  
4784
 
4785
        * libc/include/sys/time.h (struct timeval): Change member types
4786
        according to SUSv3.
4787
        * libc/include/sys/types.h (useconds_t): Change to unsigned
4788
        according to SUSv3.
4789
        (suseconds_t): Define type.
4790
 
4791
2006-02-13  Jeff Johnston  
4792
            David Carne  
4793
 
4794
        * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
4795
        instead of strlen to determine number of bytes to copy.
4796
        * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
4797
        before looking at storage location.
4798
 
4799
2006-02-07  Paul Brook  
4800
 
4801
        * libc/machine/arm/setjmp.S: Add Thumb-2 support.
4802
        * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
4803
        * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
4804
        * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
4805
        * libc/sys/arm/trap.S: Disable for Thumb-2.
4806
 
4807
2006-01-31  Leif Ekblad  
4808
 
4809
        * configure.host: RDOS support added
4810
        * libc/include/sys/config.h: Ditto.
4811
        * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
4812
        * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
4813
        * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
4814
        * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
4815
        * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
4816
        * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
4817
        * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
4818
        * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
4819
        * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
4820
        * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
4821
        * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
4822
        * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
4823
        * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
4824
        * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
4825
        * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
4826
        * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
4827
        * libc/sys/rdos/write.c: Ditto.
4828
 
4829
2006-01-24  Jeff Johnston  
4830
 
4831
        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
4832
        so as not to define PACKAGE and VERSION in newlib.h.
4833
        * aclocal.m4: Regenerated.
4834
        * configure: Ditto.
4835
        * newlib.hin: Ditto.
4836
 
4837
2006-01-20  Jeff Johnston  
4838
 
4839
        * acconfig.h: New file to generate newlib.hin from.
4840
        * newlib.hin: Regenerated.
4841
        * stamp-h.in: Regenerated.
4842
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
4843
        called automatically.
4844
        * Makefile.in: Regenerated.
4845
        * acinclude.m4: Add proper comment for hack in previous change.
4846
        * aclocal.m4 */aclocal.m4: Regenerated.
4847
        * configure */configure: Regenerated.
4848
 
4849
2006-01-11  Jeff Johnston  
4850
 
4851
        * acinclude.m4: Add hack to prevent INSTALL in subdirs
4852
        from being set to "../".
4853
        * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
4854
        * aclocal.m4: Regenerated.
4855
        * configure: Ditto.
4856
        * Makefile.in: Ditto.
4857
        * doc/aclocal.m4: Ditto.
4858
        * doc/configure: Ditto.
4859
        * iconvdata/aclocal.m4: Ditto.
4860
        * iconvdata/configure: Ditto.
4861
        * libc/*/aclocal.m4: Ditto.
4862
        * libc/*/configure: Ditto.
4863
        * libc/libc.texinfo: Ditto.
4864
        * libm/*/aclocal.m4: Ditto.
4865
        * libm/*/configure: Ditto.
4866
 
4867
2006-01-10  Eric Blake  
4868
 
4869
        * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
4870
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4871
 
4872
2006-01-10  Jeff Johnston  
4873
 
4874
        * libm/mathfp/s_frexp.c: Check for special values on
4875
        the original input, not the manipulated output value.
4876
        * libm/mathfp/sf_frexp.c: Ditto.
4877
        * libm/mathfp/s_atangent.c: Don't use local value branch
4878
        when checking for quadrant.
4879
        * libm/mathfp/sf_atangent.c: Ditto.
4880
 
4881
2006-01-09  Jeff Johnston  
4882
 
4883
        * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
4884
        * libc/stdio64/freopen64.c: Ditto.
4885
 
4886
2006-01-09  Eric Blake  
4887
 
4888
        * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
4889
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4890
 
4891
2006-01-06  Jeff Johnston  
4892
 
4893
        * libc/sys/linux/include/getopt.h: Add macros needed by
4894
        new version of getopt.c in libc/stdlib.
4895
 
4896
2006-01-04  Gregory Pietsch  
4897
 
4898
        * libc/stdlib/getopt.c: Replaced with version
4899
        that adds getopt_long and getopt_long_only support.
4900
        * libc/include/getopt.h: New file.
4901
 
4902
2005-12-16  Jeff Johnston  
4903
 
4904
        * NEWS: Update with 1.14.0 info.
4905
        * README: Ditto.
4906
        * acinclude.m4: Change version number to 1.14.0.
4907
        * aclocal.m4: Regenerated.
4908
        * configure: Ditto.
4909
        * doc/aclocal.m4: Ditto.
4910
        * doc/configure: Ditto.
4911
        * libc/*/aclocal.m4: Ditto.
4912
        * libc/*/configure: Ditto.
4913
        * libc/libc.texinfo: Ditto.
4914
        * libm/*/aclocal.m4: Ditto.
4915
        * libm/*/configure: Ditto.
4916
        * libm/libm.texinfo: Ditto.
4917
        * libc/sys/linux/shared.ld: Add VERS_1.14.
4918
 
4919
2005-12-16  Jeff Johnston  
4920
 
4921
        * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
4922
        take a pointer to struct stat64 rather than struct stat.
4923
 
4924
2005-12-16  Ralf Corsepius 
4925
 
4926
        * libc/include/stdint.h: Prefer long over int for int32_t.
4927
        Use __have_long32 to set up int32_t.
4928
        * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
4929
        (Sync with stdint.h).
4930
 
4931
2005-12-14  Corinna Vinschen  
4932
 
4933
        * libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
4934
        typo in O_NDELAY comment.
4935
 
4936
2005-12-13  Nathan Sidwell  
4937
 
4938
        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
4939
        * libc/include/machine/setjmp.h (__mt__): Likewise.
4940
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
4941
        * libc/machine/configure.in: Ditto.
4942
 
4943
2005-12-12  Nathan Sidwell  
4944
 
4945
        * configure.host: Replace ms1 arch with mt arch.
4946
        * libc/machine/mt: Renamed from ms1 dir.
4947
 
4948
2005-12-08  Shaun Jackman  
4949
 
4950
        * libc/include/sys/types.h: Remove the ifdef armour around
4951
        standard POSIX types.
4952
 
4953
2005-12-06  Ralf Corsepius 
4954
 
4955
        * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
4956
        rtems_gxx_key_delete, rtems_gxx_getspecific,
4957
        rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
4958
        rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
4959
        rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
4960
 
4961
2005-12-05  Christopher Faylor  
4962
 
4963
        * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
4964
        file.  Declare unsetenv and _unsetenv_r when not cygwin.
4965
 
4966
2005-11-18  Jeff Johnston  
4967
 
4968
        * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
4969
        Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
4970
 
4971
2005-11-18  Christopher Faylor  
4972
 
4973
        * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
4974
 
4975
2005-11-18  Christopher Faylor  
4976
 
4977
        * include/time.h: Remove more cygwin-specific stuff.
4978
 
4979
2005-11-18  Christopher Faylor  
4980
 
4981
        * include/time.h: Move cygwin declarations to cygwin-specific header.
4982
        * include/sys/time.h: Rename cygwin include to "sys_time.h".
4983
 
4984
2005-11-17  Jeff Johnston  
4985
 
4986
        * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
4987
        in libc/sys/linux/include.
4988
        * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
4989
        * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
4990
        * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
4991
        in libc/sys/linux/dl.
4992
 
4993
2005-11-11  Christopher Faylor  
4994
 
4995
        * libc/include/sys/time.h: For cygwin, use general header rather than
4996
        specific "sys/select.h".
4997
 
4998
2005-11-08  Tom Walsh  
4999
 
5000
        * libc/time/tzvars.c: New file.
5001
        * libc/time/tzset_r.c: Moved globals into tzvars.c
5002
        so other time functions needn't link in __tzset_r and its
5003
        dependencies.
5004
        * libc/time/Makefile.am: Add the new file.
5005
        * libc/time/Makefile.in: Regenerated.
5006
 
5007
2005-11-08  Christopher Faylor  
5008
 
5009
        * libc/include/string.h: Add cygwin-specific function declaration.
5010
 
5011
2005-11-07  Corinna Vinschen  
5012
 
5013
        * libc/include/ieeefp.h: Add C++ guards.
5014
 
5015
2005-11-03  Jeff Johnston  
5016
 
5017
        * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
5018
        * libc/unix/getlogin.c: Ditto.
5019
        * libc/unix/getpass.c: Ditto.
5020
        * libc/unix/getut.c: Ditto.
5021
        * libc/unix/ttyname.c: Ditto.
5022
 
5023
2005-11-03  Shaun Jackman  
5024
 
5025
        * libc/include/sys/unistd.h (readlink, symlink): Provide these
5026
        prototypes by default.
5027
        * libc/sys/linux/include/unistd.h (readlink): Remove this
5028
        prototype.
5029
        * libc/sys/linux/sys/unistd.h (readlink, symlink): New
5030
        prototypes.
5031
 
5032
2005-11-01  Ralf Corsepius 
5033
 
5034
        * libc/include/stdint.h: Cleanup #if vs. #ifdef.
5035
 
5036
2005-10-31  Darin Johnson  
5037
 
5038
        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
5039
        correct for constants.
5040
 
5041
2005-10-28  Bob Wilson  
5042
 
5043
        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
5044
        * libc/stdio/siscanf.c: Likewise.
5045
        * libc/stdio/sprintf.c: Likewise.
5046
        * libc/stdio/sscanf.c: Likewise.
5047
        * libc/stdio/vfprintf.c: Likewise.
5048
        * libc/stdio/vfscanf.c: Likewise.
5049
        * libc/stdio/viprintf.c: Likewise.
5050
        * libc/stdio/viscanf.c: Likewise.
5051
 
5052
2005-10-28  Bob Wilson  
5053
 
5054
        * libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
5055
        example to use "_end" symbol instead of "end".  Change write  example
5056
        to use "outbyte" instead of "writechar".
5057
 
5058
2005-10-28  Bob Wilson  
5059
 
5060
        * libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
5061
        * libc/ctype/islower.c: Likewise.
5062
        * libc/ctype/isupper.c: Likewise.
5063
        * libc/ctype/iswalnum.c: Likewise.
5064
        * libc/ctype/iswalpha.c: Likewise.
5065
        * libc/ctype/iswblank.c: Likewise.
5066
        * libc/ctype/iswcntrl.c: Likewise.
5067
        * libc/ctype/iswdigit.c: Likewise.
5068
        * libc/ctype/iswgraph.c: Likewise.
5069
        * libc/ctype/iswlower.c: Likewise.
5070
        * libc/ctype/iswprint.c: Likewise.
5071
        * libc/ctype/iswpunct.c: Likewise.
5072
        * libc/ctype/iswspace.c: Likewise.
5073
        * libc/ctype/iswupper.c: Likewise.
5074
        * libc/ctype/iswxdigit.c: Likewise.
5075
        * libc/ctype/tolower.c: Likewise.
5076
        * libc/ctype/toupper.c: Likewise.
5077
        * libc/ctype/towctrans.c: Likewise.
5078
        * libc/ctype/towlower.c: Likewise.
5079
        * libc/ctype/towupper.c: Likewise.
5080
        * libc/string/strcasecmp.c: Likewise.
5081
        * libc/string/strcoll.c: Likewise.
5082
        * libc/string/strings.tex: Likewise.
5083
        * libc/string/strlwr.c: Likewise.
5084
        * libc/string/strncasecmp.c: Likewise.
5085
        * libc/string/strupr.c: Likewise.
5086
        * libc/string/wcscoll.c: Likewise.
5087
        * libc/string/wcslcat.c: Likewise.
5088
        * libc/string/wcslcpy.c: Likewise.
5089
        * libc/string/wcsnlen.c: Likewise.
5090
        * libc/string/wcsstr.c: Likewise.
5091
        * libc/string/wcstrings.tex: Likewise.
5092
        * libc/string/wmemchr.c: Likewise.
5093
        * libc/string/wmemcmp.c: Likewise.
5094
        * libc/string/wmemcpy.c: Likewise.
5095
        * libc/string/wmemmove.c: Likewise.
5096
        * libc/string/wmemset.c: Likewise.
5097
 
5098
2005-10-28  Bob Wilson  
5099
 
5100
        * libc/misc/unctrl.c: Replace FUNCTION description.
5101
        * libc/signal/signal.c: Remove documentation for raise and  _raise_r.
5102
        * libc/stdio/getdelim.c: Fix spelling errors.
5103
        * libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
5104
        * libc/stdio/putw.c: Likewise.
5105
        * libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
5106
        documentation.
5107
        * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
5108
        * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
5109
        * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
5110
        * libc/stdlib/mlock.c: Likewise.
5111
        * libc/stdlib/mstats.c: Likewise.
5112
        * libc/time/tzlock.c: Likewise.
5113
        * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
5114
        * libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
5115
        and hyphenate "pseudo-random".
5116
        * libc/string/bcmp.c: Remove extra blank lines in  documentation.
5117
        * libc/string/strncat.c: Likewise.
5118
        * libc/string/memchr.c: Remove extra ">" character in  documentation.
5119
        * libc/string/strcspn.c: Use "characters" instead of "chars".
5120
        * libc/string/strpbrk.c: Likewise.
5121
        * libc/string/strerror_r.c: Capitalize "GNU".
5122
        * libc/string/strnlen.c: Likewise.
5123
        * libc/string/strtok.c: Fix formatting, spelling and  punctuation in
5124
        documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
5125
        * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
5126
        * libc/string/wcschr.c: Likewise.
5127
        * libc/string/wcscmp.c: Likewise.
5128
        * libc/string/wcscpy.c: Likewise.
5129
        * libc/string/wcscspn.c: Likewise.
5130
        * libc/string/wcslen.c: Likewise.
5131
        * libc/string/wcsncat.c: Likewise.
5132
        * libc/string/wcsncmp.c: Likewise.
5133
        * libc/string/wcsncpy.c: Likewise.
5134
        * libc/string/wcsnlen.c: Likewise.
5135
        * libc/string/wcspbrk.c: Likewise.
5136
        * libc/string/wcsrchr.c: Likewise.
5137
        * libc/string/wcsspn.c: Likewise.
5138
        * libc/string/wmemchr.c: Likewise.
5139
        * libc/string/wmemcmp.c: Likewise.
5140
        * libc/string/wmemcpy.c: Likewise.
5141
        * libc/string/wmemset.c: Likewise.
5142
        * libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
5143
        * libc/string/wcswidth.c: Formatting and punctuation in  documentation.
5144
        * libc/string/wcwidth.c: Likewise.
5145
        * libm/common/s_modf.c: Remove extra period from documentation.
5146
        * libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
5147
        documentation.
5148
        * libm/mathfp/s_isnan.c: Likewise.
5149
        * libm/math/s_ldexp.c: Fix punctuation.
5150
        * libm/mathfp/s_ldexp.c: Likewise.
5151
        * libm/math/w_log.c: Likewise.
5152
        * libm/mathfp/s_logarithm.c: Likewise.
5153
        * libm/math/w_j0.c: Add spaces to FUNCTION description.
5154
        * libm/mathfp/w_jn.c: Likewise.
5155
 
5156
2005-10-26  Shaun Jackman  
5157
 
5158
        * libc/posix/scandir.c (scandir): Update the function
5159
        prototype to match the header.
5160
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
5161
        extraneous #endif.
5162
        * libc/sys/linux/sys/lock.h: Do not include
5163
        machine/weakalias.h, since it's not used by this file.
5164
 
5165
2005-10-26  Jeff Johnston  
5166
 
5167
        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
5168
        directories can override properly.
5169
 
5170
2005-10-20  Jeff Johnston  
5171
 
5172
        * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
5173
        gcc is 3.3 or greater, use special gcc builtins.
5174
 
5175
2005-10-20  Corinna Vinschen 
5176
 
5177
        * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
5178
 
5179
2005-10-18  Corinna Vinschen 
5180
 
5181
        * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
5182
 
5183
2005-10-14  Jeff Johnston  
5184
 
5185
        * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
5186
        * libm/common/Makefile.am: Add s_infconst.c support.
5187
        * libm/common/Makefile.in: Regenerated.
5188
        * libm/common/s_infconst.c: New file with float and
5189
        long double infinity support added.
5190
        * libm/math/Makefile.am: Remove s_infconst.c support.
5191
        * libm/math/Makefile.in: Regenerated.
5192
        * libm/math/s_infconst.c: Moved to common directory.
5193
        * libm/mathfp/Makefile.am: Remove s_infconst.c support.
5194
        * libm/mathfp/Makefile.in: Regenerated.
5195
        * libm/mathfp/s_infconst.c: Moved to common directory.
5196
 
5197
2005-10-14  Jeff Johnston  
5198
 
5199
        * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
5200
        dbgprintf to prevent conflict with new dprintf function.
5201
 
5202
2005-10-14  Jeff Johnston  
5203
 
5204
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
5205
        "nan" processing for systems that have long double support.
5206
 
5207
2005-10-14  Jeff Johnston  
5208
 
5209
        * libc/sys/linux/sys/types.h (int8_t): Add type.
5210
 
5211
2005-10-14  Bob Wilson  
5212
 
5213
        * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
5214
        * libm/common/Makefile.in: Regenerate.
5215
        * libm/common/common.tex: Delete file.
5216
        * libm/math/math.tex: Include .def files from common/.
5217
        * libm/mathfp/mathfp.tex: Likewise.
5218
 
5219
2005-10-14  Bob Wilson  
5220
 
5221
        * libc/libc.texinfo (Top): Surround this node with @ifnottex
5222
        instead of @ifinfo.  Update menu to add Introduction and match
5223
        SUBDIRS order.
5224
        (Introduction): New section.
5225
 
5226
2005-10-14  Bob Wilson  
5227
 
5228
        * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
5229
        with "Red Hat newlib C Library".
5230
        * libc/sys.tex (Stubs): Likewise.
5231
        * libm/math/math.tex (Math): Likewise.
5232
        * libm/mathfp/mathfp.tex (Math): Likewise.
5233
 
5234
2005-10-11  Shaun Jackman  
5235
 
5236
        * libc/include/stdio.h (dprintf): New declaration.
5237
        (vdprintf): Ditto.
5238
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
5239
        and vdprintf.c.
5240
        * libc/stdio/Makefile.in: Regenerate.
5241
        * libc/stdio/dprintf.c: New file.
5242
        * libc/stdio/vdprintf.c: New file.
5243
        * libc/stdio/stdio.tex (dprintf): New entry.
5244
 
5245
2005-10-11  David Weatherford  
5246
 
5247
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
5248
        Print "inf" and "nan" in lowercase for e/f/g formats and in
5249
        uppercase for E/F/G formats.
5250
 
5251
2005-10-07  Bob Wilson  
5252
 
5253
        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
5254
        to ENOMEM on failure.
5255
 
5256
2005-10-06  Ralf Corsepius 
5257
 
5258
        * libc/include/stdint.h: Add [u]int_fast_t types.
5259
 
5260
2005-10-04  Ralf Corsepius 
5261
 
5262
        * libc/include/stdint.h: Move magic to set __have_long* to the
5263
        beginning.  Use #if __have* instead of #if defined(__have*).
5264
        Minor typo fixes.
5265
 
5266
2005-10-04  James E Wilson  
5267
 
5268
        * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
5269
        #error.
5270
 
5271
2005-10-03  Jeff Johnston  
5272
 
5273
        * libc/sys/linux/include/stdint.h: Include  and
5274
        incorporate Ralf's change below.
5275
 
5276
2005-10-03  Ralf Corsepius 
5277
 
5278
        * libc/include/stdint.h:
5279
        Use __INTMAX_TYPE__ to derive intmax_t.
5280
        Use __UINTMAX_TYPE__ to derive uintmax_t.
5281
        Fix minor typo.
5282
 
5283
2005-09-27  Ralf Corsepius 
5284
 
5285
        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
5286
        handling GCC >= 4.
5287
 
5288
2005-09-20  Jeff Johnston  
5289
 
5290
        * libc/sys/linux/include/stdint.h: Update to match functionality
5291
        of generic newlib stdint.h.
5292
 
5293
2005-09-20  Jeff Johnston  
5294
 
5295
        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
5296
        and do not #undef the macro after it is used.  Fix typos.
5297
        Also change 64-bit constants to use the __have_long64 and
5298
        __have_longlong64 flags to determine if long or long long
5299
        constants should be used.
5300
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
5301
        type defined.
5302
 
5303
2005-09-20  Shaun Jackman  
5304
 
5305
        * libc/include/stdint.h: Fix typo in names of
5306
        LEAST macros.
5307
 
5308
2005-09-20  Jeff Johnston  
5309
 
5310
        * libc/sys/rtems/include/inttypes.h: Moved to...
5311
        * libc/include/inttypes.h: ...here.
5312
 
5313
2005-09-19  Jeff Johnston  
5314
 
5315
        * libc/sys/rtems/include/stdint.h: Moved to...
5316
        * libc/include/stdint.h: ...here.
5317
 
5318
2005-09-08  Jeff Johnston  
5319
 
5320
        * Makefile.am: Add include files under bits sub-directory.
5321
        * Makefile.in: Regenerated.
5322
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
5323
        actual value of 1 to be compatible with newer glibc headers.
5324
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
5325
        glibc headers.
5326
        * libc/sys/linux/sys/dirent.h: Ditto.
5327
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
5328
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
5329
        profile_fixup routines are marked used so they won't be
5330
        optimized away.
5331
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
5332
        to mark functions as weak.
5333
        * libc/sys/linux/dl/dl-open.c: Ditto.
5334
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
5335
        rules about lvalues.
5336
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5337
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
5338
        weak_extern macro to mark functions as weak.  Instead always
5339
        use #pragma weak.
5340
        * iconvdata/jis0208.h: Fix to work with gcc4.
5341
        * libc/sys/linux/dl/dl-load.c: Ditto.
5342
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
5343
        * libc/sys/linux/dl/do-rel.h: Ditto.
5344
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
5345
        * libc/sys/linux/include/ltdl.h: Ditto.
5346
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5347
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5348
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
5349
        * libc/sys/linux/bits/initspin.h: New file.
5350
        * libc/sys/linux/bits/libc-lock.h: Ditto.
5351
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
5352
        * libc/sys/linux/bits/typesizes.h: Ditto.
5353
 
5354
2005-09-08  Eric Blake  
5355
 
5356
        * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
5357
        before is NULL.
5358
 
5359
2005-09-08  Brian Dessent  
5360
 
5361
        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
5362
        mantissa.
5363
        * s_lrint.c: Ditto.
5364
 
5365
2005-09-02  Jeff Johnston  
5366
 
5367
        * libc/include/stdio.h: Add prototype for viprintf.
5368
 
5369
2005-09-01  Jeff Johnston  
5370
 
5371
        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
5372
        any positive power results in 0.
5373
        * libm/mathfp/sf_pow.c (powf): Ditto.
5374
 
5375
2005-08-31  Paul Brook  
5376
 
5377
        * configure.host: Set have_crt0 to no for Arm targts when not
5378
        providing syscalls.  Set sys_dir=arm unconditionally.
5379
        Default have_crt0 based on sys_dir.
5380
        * configure.in: Use have_crt0.
5381
        * libc/configure.in: Ditto.
5382
        * libc/sys/configure.in: Ditto.
5383
        * configure: Regenerate.
5384
        * libc/configure: Regenerate.
5385
        * libc/sys/configure: Regenerate.
5386
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
5387
        Only build other files when providing syscalls.
5388
        * libc/sys/arm/Makefile.in: Regenerate.
5389
        * libc/sys/arm/aeabi_atexit.c: New file.
5390
 
5391
2005-08-26  Christopher Faylor  
5392
 
5393
        * libc/include/string.h: Revert previous change.
5394
 
5395
2005-08-25  Christopher Faylor  
5396
 
5397
        * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
5398
 
5399
2005-08-22  Shaun Jackman  
5400
 
5401
        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
5402
        define _opendir as opendir, _readdir as readdir, and
5403
        _closedir as closedir so that the implementations in
5404
        libc/posix will be used.
5405
 
5406
2005-08-10  DJ Delorie  
5407
 
5408
        * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
5409
 
5410
2005-08-10  Stephen Huw Clarke  
5411
 
5412
        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
5413
        * libm/common/s_max.c: Ditto.
5414
        * libm/common/sf_fmin.c: Ditto.
5415
        * libm/common/s_min.c: Ditto.
5416
 
5417
2005-08-10  DJ Delorie  
5418
 
5419
        * configure.host: Add m32c support.
5420
        * libc/include/machine/ieeefp.h: Likewise.
5421
        * libc/include/machine/setjmp.h: Likewise.
5422
        * libc/include/sys/config.h: Likewise.
5423
        * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
5424
        * libc/machine/m32c/aclocal.m4: New file.
5425
        * libc/machine/m32c/configure: Ditto.
5426
        * libc/machine/m32c/configure.in: Ditto.
5427
        * libc/machine/m32c/Makefile.am: Ditto.
5428
        * libc/machine/m32c/Makefile.in: Ditto.
5429
        * libc/machine/m32c/setjmp.S: Ditto.
5430
 
5431
2005-08-02  Bob Wilson  
5432
 
5433
        * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
5434
        to the value for 2^126.
5435
 
5436
2005-07-26  Hans-Peter Nilsson  
5437
 
5438
        * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
5439
        used.
5440
 
5441
2005-07-20  Bob Wilson  
5442
           Darin Petkov 
5443
 
5444
       * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
5445
 
5446
2005-07-19  Paul Brook  
5447
 
5448
        * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
5449
 
5450
2005-07-18  Joseph S. Myers  
5451
 
5452
        * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
5453
        names after PASS and FAIL which do not depend on source directory
5454
        name or on whether test passed or failed.
5455
        * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
5456
 
5457
2005-07-08  Ola Hugosson   
5458
 
5459
        * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
5460
 
5461
2005-07-07  Shaun Jackman  
5462
 
5463
        * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
5464
        twice for the same directory. _closedir calls free, and freeing
5465
        the same pointer twice may cause a crash.
5466
 
5467
2005-07-06  Aldy Hernandez  
5468
 
5469
        * configure.host: Added entry for ms1*.
5470
        * libc/include/machine/ieeefp.h: Handle ms1.
5471
        * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
5472
        * libc/machine/ms1/aclocal.m4: New.
5473
        * libc/machine/ms1/configure: New.
5474
        * libc/machine/ms1/configure.in: New.
5475
        * libc/machine/ms1/Makefile.am: New.
5476
        * libc/machine/ms1/Makefile.in: New.
5477
        * libc/machine/ms1/setjmp.S: New.
5478
 
5479
2005-07-04  Mark Mitchell  
5480
 
5481
        * Makefile.am (site.exp): Set tmpdir.
5482
        * Makefile.in: Regenerated.
5483
        * testsuite/lib/checkoutput.exp (newlib_check_output): Put
5484
        executables in $tmpdir.
5485
        * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
5486
        libgloss version if not running in the build directory.
5487
        * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
5488
        $tmpdir.
5489
        * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
5490
        in $tmpdir.
5491
 
5492
2005-06-28  Dave Korn  
5493
 
5494
        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
5495
        and miscalculation caused by fp representation of zero.
5496
        * libm/common/sf_lrint.c (lrintf):  Likewise.
5497
 
5498
2005-06-16  Christopher Faylor  
5499
 
5500
        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
5501
        determine characteristics of long double.  Use a union instead.
5502
        * ldtoa.c (_ldtoa_r): Ditto.
5503
        (_ldcheck): Ditto.
5504
        (_strtold): Ditto.
5505
        (union uconv): New union.
5506
 
5507
2005-06-03  Jeff Johnston  
5508
 
5509
        * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
5510
        instead of memcpy.
5511
 
5512
2005-05-12  Jeff Johnston  
5513
 
5514
        * configure.host (mn10300-*): Add long long I/O support by default.
5515
 
5516
2005-05-12  Jeff Johnston  
5517
 
5518
        * libc/sys/linux/getpwuid.c: Removed.
5519
        * libc/sys/linux/getpwnam.c: Removed.
5520
        * libc/sys/linux/getpwent.c: New file containing logic
5521
        from files removed above.  This allows overriding of file
5522
        in libc/unix.
5523
        * libc/sys/linux/Makefile.am: Support changes above.
5524
        * libc/sys/linux/Makefile.in: Regenerated.
5525
 
5526
2005-04-28  Jeff Johnston  
5527
 
5528
        * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
5529
        when checking for multiple flags.
5530
 
5531
2005-04-18  Hans-Peter Nilsson  
5532
 
5533
        * configure.host : Set
5534
        default_newlib_io_long_long="yes".
5535
 
5536
2005-04-08  Jeff Johnston  
5537
 
5538
        * libc/include/libgen.h: New file.
5539
 
5540
2005-04-08  Shaun Jackman  
5541
 
5542
        * libc/unix/Makefile.am: Add support for basename and dirname.
5543
        * libc/unix/Makefile.in: Regenerated.
5544
        * libc/unix/basename.c: New file.
5545
        * libc/unix/dirname.c: New file.
5546
 
5547
2005-04-07  Shaun Jackman  
5548
 
5549
        * libc/sys/linux/inode.c (lchown): New function.
5550
 
5551
2005-04-07  Shaun Jackman  
5552
 
5553
        * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
5554
        ELIX level is defined.
5555
        * libc/unix/Makefile.in: Regenerated.
5556
 
5557
2005-04-05  Dave Korn  
5558
 
5559
        * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
5560
        something that looks like a "NaN", put back the characters processed.
5561
 
5562
2005-04-01  Corinna Vinschen  
5563
 
5564
        * libc/stdlib/strtod.c (_strtod_r): Never change s00.
5565
 
5566
2005-03-23  Christopher Faylor  
5567
 
5568
        * configure.host: For cygwin, redefine CC with cygwin include directory
5569
        first to mimic the behavior of the top-level configury.  Move include
5570
        directory out of newlib_cflags.
5571
 
5572
2005-03-22  Jeff Johnston  
5573
 
5574
        * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
5575
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
5576
        than errno.
5577
 
5578
2005-03-22  Christopher Faylor  
5579
 
5580
        * libc/include/machine/_types.h: Make trivial change to comment to
5581
        avoid a spurious warning from gcc.
5582
 
5583
2005-03-21  Nicholas Wourms  
5584
 
5585
        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
5586
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
5587
        reent.h include.
5588
 
5589
2005-03-18  Hans-Peter Nilsson  
5590
            Corinna Vinschen  
5591
 
5592
        * libc/include/ctype.h: Remove invalid +1 offset from
5593
        ctype macro references to __ctype_ptr.
5594
        (_ctype_): Move declaration outside #ifndef __cplusplus.
5595
 
5596
2005-03-18  Corinna Vinschen  
5597
 
5598
        * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
5599
        evaluate first parameter only once.
5600
        (siglongjmp): Ditto.
5601
 
5602
2005-03-17  Jeff Johnston  
5603
 
5604
        * configure.in: Add new check to see if compiler supports
5605
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
5606
        * configure: Regenerated.
5607
        * Makefile.in: Ditto.
5608
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
5609
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
5610
        aliasing the _ctype_ array to _ctype_b.
5611
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
5612
        _ctype_ as deprecated.
5613
 
5614
2005-03-17  Hans-Peter Nilsson  
5615
 
5616
        * configure.host (newlib_cflags) : Add
5617
        -DCOMPACT_CTYPE.
5618
 
5619
2005-03-06  Ralf Corsepious  
5620
 
5621
        * libc/sys/rtems/include/inttypes.h: New file.
5622
        * libc/sys/rtems/include/stdint.h: Ditto.
5623
 
5624
2005-03-06  Ralf Corsepious  
5625
 
5626
        * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
5627
 
5628
2005-03-06  Ralf Corsepious  
5629
 
5630
        * libc/include/machine/_types.h: New file.
5631
        * libc/include/sys/types.h: Do not check for __rtems__
5632
        when including .  Remove some redundant
5633
        declarations now that  is included.
5634
        * libc/sys/rtems/machine/_types.h: Removed.  Replaced with
5635
        shared header file.
5636
 
5637
2005-02-25  Ralf Corsepious  
5638
 
5639
        * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
5640
        L qualifier for these long constants.
5641
 
5642
2005-02-25  Eric Blake  
5643
 
5644
        * libc/include/time.h (__tzrule_struct): Make offset long, since
5645
        a 16-bit int overflows on a 12-hour offset.
5646
        * libc/sys/linux/include/time.h: Ditto.
5647
        * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
5648
        * libc/time/mktm_r.c: Ditto.
5649
        * libc/time/gettzinfo.c: Ditto.
5650
        * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
5651
        years.  Fix '%z' to use long, not int.
5652
 
5653
2005-02-24  Ralf Corsepious  
5654
 
5655
        * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
5656
        manipulate float values in integer form.
5657
        * libm/common/sf_round.c: Ditto.
5658
 
5659
2005-02-24  Ralf Corsepious  
5660
 
5661
        * libc/include/sys/types.h [__rtems__]: Include new
5662
        header file machine/_types.h.
5663
        * libc/include/machine/types.h: Ditto.
5664
        * libc/sys/rtems/machine/_types.h: New file.
5665
 
5666
2005-02-23  Corinna Vinschen  
5667
 
5668
        * libc/include/time.h (_timezone): Change to long also for Cygwin.
5669
        (timezone): Drop cast from definition.
5670
 
5671
2005-02-23  Jeff Johnston  
5672
 
5673
        * libc/include/time.h [!CYGWIN](_timezone): Change to long.
5674
        (__tzrule_type, __tzinfo_type): New types.
5675
        (__gettzinfo): New function.
5676
        * libc/sys/linux/include/time.h: Ditto.
5677
        * libc/time/Makefile.am: Add gettzinfo.c.
5678
        * libc/time/Makefile.in: Regenerated.
5679
        * libc/time/local.h: Moved __tzrule_type to time.h.
5680
        * libc/time/mktime.c: Call __gettzinfo to reference
5681
        __tznorth, __tzyear, and __tzrule array.
5682
        * libc/time/mktm_r.c: Ditto.
5683
        * libc/time/strftime.c: Ditto.
5684
        * libc/time/tzset_r.c: Ditto.  Also remove definition
5685
        of __tzrule which is now in gettzinfo.c.  Change _timezone
5686
        references to not cast to time_t.
5687
        * libc/time/gettzinfo.c: New file.
5688
 
5689
2005-02-23  Corinna Vinschen  
5690
 
5691
        * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
5692
 
5693
2005-02-22  Corinna Vinschen  
5694
 
5695
        * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
5696
 
5697
2005-02-16  Eric Blake  
5698
 
5699
        * libc/time/time.tex: Improve the documentation.
5700
        * libc/time/strftime.c: Improve the documentation.
5701
        (iso_year_adjust): New helper function.
5702
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
5703
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
5704
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
5705
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
5706
        Avoid core dumps on valid inputs (maxsize == 0, or
5707
        tim_p->tm_isdst > 1).
5708
 
5709
2005-02-08  Corinna Vinschen  
5710
 
5711
        * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
5712
        members to uid_t and gid_t according to SUSv3.
5713
        * libc/include/sys/time.h (utimes):  Change second parameter
5714
        to const according to SUSv3.
5715
 
5716
2005-02-07  Antony King  
5717
 
5718
        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
5719
        called before _flockfile to prevent lock object use before
5720
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
5721
        take a struct _reent * instead of a FILE *.
5722
        * libc/stdio/fclose.c (_fclose_r): Ditto.
5723
        * libc/stdio/feof.c (feof): Ditto.
5724
        * libc/stdio/ferror.c (ferror): Ditto.
5725
        * libc/stdio/fflush.c (fflush): Ditto.
5726
        * libc/stdio/fgetc.c (fgetc): Ditto.
5727
        * libc/stdio/fgets.c (fgets): Ditto.
5728
        * libc/stdio/fileno.c (fileno): Ditto.
5729
        * libc/stdio/fputc.c (fputc): Ditto.
5730
        * libc/stdio/fputs.c (fputs): Ditto.
5731
        * libc/stdio/fread.c (fread): Ditto.
5732
        * libc/stdio/freopen.c (_freopen_r): Ditto.
5733
        * libc/stdio/fseek.c (_fseek_r): Ditto.
5734
        * libc/stdio/ftell.c (_ftell_r): Ditto.
5735
        * libc/stdio/fwrite.c (fwrite): Ditto.
5736
        * libc/stdio/getc.c (getc): Ditto.
5737
        * libc/stdio/getdelim.c (__getdelim): Ditto.
5738
        * libc/stdio/putc.c (putc): Ditto.
5739
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
5740
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
5741
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5742
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
5743
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
5744
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
5745
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
5746
        _reent * instead of a FILE * and so replace incorrect use of
5747
        _REENT with argument.
5748
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
5749
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
5750
        CHECK_INIT() take a struct _reent * instead of a FILE *.
5751
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
5752
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
5753
        * libc/stdio/perror.c (perror): Ditto.
5754
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
5755
        * libc/stdio/putchar.c (putchar): Ditto.
5756
        * libc/stdio/puts.c (puts): Ditto.
5757
        * libc/stdio/refill.c (__srefill): Ditto.
5758
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
5759
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
5760
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
5761
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
5762
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
5763
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
5764
        * libc/stdio/wbuf.c (__swbuf): Ditto.
5765
        * libc/stdio/wsetup.c (__swsetup): Ditto.
5766
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
5767
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
5768
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
5769
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
5770
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
5771
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
5772
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
5773
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
5774
        initialision of _data field in FILE structure.
5775
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
5776
 
5777
2005-02-07  Jeff Johnston  
5778
 
5779
        * libc/stdio/findfp.c (__sinit): Protect with new lock.
5780
        (__sinit_lock): New lock.
5781
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
5782
        * libc/stdio/local.h: Add reference to new __sinit locking
5783
        functions.
5784
 
5785
2005-02-07  Jeff Johnston  
5786
 
5787
        * libc/include/math.h (isfinite, isnormal, isunordered): Change
5788
        input variable names to avoid mixups with nesting macros.
5789
 
5790
2005-01-27  Hans-Peter Nilsson  
5791
 
5792
        * configure.host: Add support for cris-*-* and crisv32-*-*.
5793
        * libc/include/machine/ieeefp.h: Ditto.
5794
        * libc/include/machine/setjmp.h: Ditto.
5795
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
5796
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
5797
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
5798
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
5799
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
5800
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
5801
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
5802
        files.
5803
 
5804
2005-01-27  Hans-Peter Nilsson  
5805
 
5806
        * testsuite/newlib.string/memmove1.c: New test.
5807
 
5808
2005-01-27  Hans-Peter Nilsson  
5809
 
5810
        * testsuite/include/check.h: Include stdlib.h.
5811
 
5812
2005-01-27  Hans-Peter Nilsson  
5813
 
5814
        * Makefile.am (stmp-targ-include): Support include header files
5815
        from machine directories.
5816
        (install-data-local): Ditto.
5817
        * Makefile.in: Regenerate.
5818
 
5819
2005-01-24  Jeff Johnston  
5820
 
5821
        * libc/include/string.h: Remove Linux-specific declaration of
5822
        strsignal and add #include .
5823
        * libc/include/sys/string.h: New file.
5824
        * libc/include/sys/linux/sys/string.h: New file with strsignal
5825
        declaration deleted above.
5826
 
5827
2005-01-20  Jeff Johnston  
5828
 
5829
        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
5830
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
5831
        to be ignored as long as they precede valid specifiers according
5832
        to POSIX.
5833
 
5834
2005-01-19  Shaun Jackman  
5835
 
5836
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5837
        environment variable is set.
5838
 
5839
2005-01-19  Shaun Jackman  
5840
 
5841
        * tzset_r.c (_tzname): Add a comma.
5842
 
5843
2005-01-18  Aldy Hernandez  
5844
 
5845
        * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
5846
        _VFPRINTF_R.
5847
 
5848
2005-01-07  Paul Brook  
5849
 
5850
        * configure.in: Add test for .init_array.
5851
        * configure: Regenerate.
5852
        * newlib.hin: Add HAVE_INITFINI_ARRAY.
5853
        * libc/misc/Makefile.am: Add init.c
5854
        * libc/misc/Makefile.in: Regenerate.
5855
        * libc/misc/init.c: New file.
5856
        * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
5857
        _init/_fini if they exist.
5858
 
5859
2005-01-06  Jeff Johnston  
5860
 
5861
        * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
5862
        * (strtof): Ditto.
5863
        * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
5864
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
5865
        functions for use by strtod and strtof.
5866
        * Makefile.in: Regenerated.
5867
 
5868
2005-01-06  Hans-Peter Nilsson  
5869
 
5870
        * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
5871
        bit-test in combination with NULL test.
5872
 
5873
2005-01-06  Hans-Peter Nilsson  
5874
 
5875
        * README: Fix typo of LGPL.  Change "license" to "copyright".
5876
 
5877
2004-12-17  Jeff Johnston  
5878
 
5879
        * NEWS: Update with 1.13.0 info.
5880
        * README: Ditto.
5881
        * acinclude.m4: Change version number to 1.13.0.
5882
        * aclocal.m4: Regenerated.
5883
        * configure: Ditto.
5884
        * doc/aclocal.m4: Ditto.
5885
        * doc/configure: Ditto.
5886
        * libc/*/aclocal.m4: Ditto.
5887
        * libc/*/configure: Ditto.
5888
        * libc/libc.texinfo: Ditto.
5889
        * libm/*/aclocal.m4: Ditto.
5890
        * libm/*/configure: Ditto.
5891
        * libm/libm.texinfo: Ditto.
5892
        * libc/sys/linux/shared.ld: Add VERS_1.13.
5893
 
5894
2004-12-17  Christian Groessler  
5895
 
5896
        * libc/machine/z8k/memcmp.S: New file.
5897
        * libc/machine/z8k/memcpy.S: Ditto.
5898
        * libc/machine/z8k/memmove.S: Ditto.
5899
        * libc/machine/z8k/memset.S: Ditto.
5900
        * libc/machine/z8k/Makefile.am: Add new files.
5901
        * libc/machine/z8k/Makefile.in: Regenerated.
5902
        * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
5903
        part.  Implement Z8002 stdcall version.
5904
 
5905
2004-12-13  Jeff Johnston  
5906
 
5907
        * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
5908
        a low-level read if we don't get the full amount of bytes so
5909
        EOF or error flags will be set.
5910
 
5911
2004-12-09  Alex Mogilnikov  
5912
 
5913
        * libc/time/tzset_r (_tzset_r): Properly skip over
5914
        '/' when it is detected.
5915
 
5916
2004-12-08  Alex Mogilnikov  
5917
 
5918
        * libc/time/tzset_r (_tzset_r): Fix loop.
5919
 
5920
2004-12-08  Alex Mogilnikov  
5921
 
5922
        * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
5923
        m_day.
5924
        (__tzcalc_limits): Fix reference to month array to be zero-based.
5925
 
5926
2004-12-07  Jeff Johnston  
5927
 
5928
        * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
5929
        and usleep.
5930
 
5931
2004-12-03  Jeff Johnston  
5932
 
5933
        * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
5934
        libgcc dependencies.
5935
        (libm_la_LDFLAGS): Ditto.
5936
        * Makefile.in: Regenerated.
5937
 
5938
2004-12-03  Shaun Jackman  
5939
 
5940
        * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
5941
        our link to use readlink so as to preserve any relative link created
5942
        by install-toollibLIBRARIES.
5943
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
5944
 
5945
2004-12-02  Shaun Jackman  
5946
 
5947
        * libc/sys/linux/stdlib/glob.c: Include  which defines
5948
        time_t before including sys/stat.h, which uses it.
5949
        * libc/sys/linux/sys/stat.h: Include  and
5950
         just prior to definition of __KERNEL__ so as to
5951
        allow building on Debian Linux where otherwise, mktime would
5952
        be redefined.
5953
 
5954
2004-11-26  Paul Brook  
5955
 
5956
        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
5957
 
5958
2004-11-24  Jeff Johnston  
5959
 
5960
        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
5961
        const for value string parameter to match Single Unix and glibc.
5962
        * libc/stdlib/putenv.c: Ditto.
5963
        * libc/stdlib/putenv_r.c: Ditto.
5964
 
5965
2004-11-24  Jeff Johnston  
5966
 
5967
        * libc/stdio/Makefile.am: Fix missing vfscanf.
5968
        * libc/stdio/Makefile.in: Regenerated.
5969
 
5970
2004-11-23  Jeff Johnston  
5971
 
5972
        * libc/include/stdio.h: Add new iprintf and iscanf variants.  Also
5973
        do some reordering.
5974
        * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
5975
        * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
5976
        family functions.
5977
        * libc/stdio/Makefile.in: Regenerated.
5978
        * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
5979
        * libc/stdio/iprintf.c: Ditto.
5980
        * libc/stdio/local.h (__svfiscanf_r): New prototype.
5981
        * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
5982
        * libc/stdio/sniprintf.c: Move docs to siprintf.c.
5983
        * libc/stdio/stdio.tex: Add new functions.
5984
        * libc/stdio/vfscanf.c: Split out __sccl function to separate
5985
        file and add special name defines so this file can be used
5986
        to build vfiscanf.o.
5987
        * libc/stdio/asiprintf.c: New file.
5988
        * libc/stdio/fiscanf.c: Ditto.
5989
        * libc/stdio/iscanf.c: Ditto.
5990
        * libc/stdio/sccl.c: Ditto.
5991
        * libc/stdio/siscanf.c: Ditto.
5992
        * libc/stdio/vasiprintf.c: Ditto.
5993
        * libc/stdio/viprintf.c: Ditto.
5994
        * libc/stdio/viscanf.c: Ditto.
5995
        * libc/stdio/vsiprintf.c: Ditto.
5996
        * libc/stdio/vsiscanf.c: Ditto.
5997
        * libc/stdio/vsniprintf.c: Ditto.
5998
 
5999
2004-11-19  Shaun Jackman  
6000
 
6001
        * libc/include/stdio.h: Add sniprintf.
6002
        * libc/stdio/Makefile.am: Add sniprintf.c.
6003
        * libc/stdio/Makefile.in: Regenerated.
6004
        * libc/stdio/sniprintf.c: New file.
6005
        * libc/stdio/stdio.tex: Add sniprintf.
6006
 
6007
2004-11-17  Christopher Faylor  
6008
 
6009
        * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin.  Clear
6010
        EOF flag if successful.
6011
 
6012
2004-10-28  Christopher Faylor  
6013
 
6014
        * libc/include/sys/signal.h: Move  include to bottom of file
6015
        so that all relevant definitions have been performed for use in the
6016
        include.
6017
 
6018
2004-10-26  Jason Tishler  
6019
 
6020
        * libc/stdio/fread.c (fread): Fix return value for unbuffered
6021
        fread.
6022
 
6023
2004-10-25  Ralf Corsepius 
6024
 
6025
        * libc/include/machine/setjmp.h: Add AVR support.
6026
        * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
6027
 
6028
2004-10-08  Jeff Johnston  
6029
 
6030
        * libc/include/sys/signal.h: If  didn't include
6031
        this header file, include  to account for
6032
        applications that take advantage that the two header
6033
        files are the same in glibc.
6034
 
6035
2004-10-05  Tomer Levi  
6036
 
6037
        * configure.host: Add support for crx.
6038
        * libc/include/machine/ieeefp.h: Ditto.
6039
        * libc/include/machine/setjmp.h: Ditto.
6040
        * libc/machine/crx/Makefile.am: New file.
6041
        * libc/machine/crx/configure.in: Ditto.
6042
        * libc/machine/crx/setjmp.S: Ditto.
6043
        * libc/machine/crx/getenv.c: Ditto.
6044
        * libc/machine/crx/aclocal.m4: Generate.
6045
        * libc/machine/crx/configure: Ditto.
6046
        * libc/machine/crx/Makefile.in: Ditto.
6047
        * libc/machine/crx/sys/asm.h: New file.
6048
        * libc/machine/crx/sys/libh.h: Ditto.
6049
        * libc/machine/crx/sys/syscall.h: Ditto.
6050
 
6051
2004-10-05  Jeff Johnston  
6052
 
6053
        * Makefile.am (stmp-targ-include): Support sys header files
6054
        from machine directories.
6055
        * Makefile.in: Regenerated.
6056
 
6057
2004-10-04  Jeff Johnston  
6058
 
6059
        * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
6060
        count skipped zero characters as part of the nread count for %n.
6061
        * libc/machine/powerpc/vfscanf.c: Ditto.
6062
 
6063
2004-09-24  Jeff Johnston  
6064
 
6065
        * libc/stdio/local.h: Include .
6066
 
6067
2004-09-24  Corinna Vinschen  
6068
 
6069
        * libc/stdio/fread.c (fread): Include .
6070
 
6071
2004-09-22  Jeff Johnston  
6072
 
6073
        * libc/stdio/fread.c (fread):  For non-space-optimized case,
6074
        add special code for unbuffered files to use user buffer and
6075
        only require one low-level system read.
6076
 
6077
2004-09-21  Ian Lance Taylor  
6078
 
6079
        * libc/machine/xscale/setjmp.S: New file, copied from
6080
        libc/machine/arm/setjmp.S.
6081
        * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
6082
        * libc/machine/xscale/Makefile.in: Regenerate.
6083
 
6084
2004-09-16  Antony King  
6085
 
6086
        * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
6087
        with locking API.
6088
        * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
6089
        check for__SSTR in _flags and if set, skip lock request.
6090
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6091
        * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
6092
        not NULL.
6093
        * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
6094
        initialisation of _file to -1 in local FILE.
6095
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
6096
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
6097
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6098
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6099
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
6100
        _flags in local FILE to prevent locking.
6101
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6102
 
6103
2004-09-16  Antony King  
6104
 
6105
        * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
6106
        and only walk the reentrancy parameter.
6107
        (_fwalk_reent): Ditto.
6108
        * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
6109
 
6110
2004-09-16  Antony King  
6111
 
6112
        * libc/stdio64/freopen64.c: Remove casting of fp lock to
6113
        _LOCK_RECURSIVE_T.
6114
 
6115
2004-09-16  Antony King  
6116
 
6117
        * libc/time/tzlock.c: Add default stubs that use generic
6118
        locking code.
6119
 
6120
2004-09-16  Antony King  
6121
 
6122
        * libc/ctype/ctype.tex: Added missing documentation.
6123
        * libc/stdio/stdio.tex Ditto.
6124
        * libc/stdlib/stdlib.tex Ditto.
6125
        * libc/string/strings.tex Ditto.
6126
        * libc/time/time.tex: Ditto.
6127
        * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
6128
 
6129
2004-09-15  Corinna Vinschen  
6130
 
6131
        * libc/reent/impure.c (reent_data): Define as alias to impure_data
6132
        when building for Cygwin.
6133
        * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
6134
        _global_impure_ptr.
6135
 
6136
2004-09-15  Jeff Johnston  
6137
 
6138
        * configure.host: Reverting 2004-09-14 change as fix has occurred on
6139
        Cygwin side.
6140
        * configure.in: Ditto.
6141
        * libc/configure.in: Ditto.
6142
        * libc/sys/configure.in: Ditto.
6143
        * configure: Ditto.
6144
        * libc/configure: Ditto.
6145
        * libc/sys/configure: Ditto.
6146
        * libc/include/sys/reent.h: Ditto.
6147
        * libc/stdlib/__atexit.c: Ditto.
6148
        * libc/stdlib/__call_atexit.c: Ditto.
6149
        * libc/stdlib/cxa_atexit.c: Ditto.
6150
        * libc/stdlib/cxa_finalize.c: Ditto.
6151
        * libc/sys/cygwin/Makefile.am: Removed again.
6152
        * libc/sys/cygwin/Makefile.in: Ditto.
6153
        * libc/sys/cygwin/aclocal.m4: Ditto.
6154
        * libc/sys/cygwin/configure: Ditto.
6155
        * libc/sys/cygwin/configure.in: Ditto.
6156
        * libc/sys/cygwin/dummy.c: Ditto.
6157
        * libc/sys/cygwin/sys/reent.h: Ditto.
6158
 
6159
2004-09-14  Jeff Johnston  
6160
 
6161
        * configure.host: Add Cygwin sys directory.
6162
        * configure.in: Do not set CRT0 for cygwin.
6163
        * libc/configure.in: Ditto.
6164
        * libc/sys/configure.in: Ditto.
6165
        * configure: Regenerated.
6166
        * libc/configure: Ditto.
6167
        * libc/sys/configure: Ditto.
6168
        * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
6169
        * libc/stdlib/__atexit.c: Keep cxa support protected by new
6170
        __REENT_HAS_CXA_SUPPORT flag.
6171
        * libc/stdlib/__call_atexit.c: Ditto.
6172
        * libc/stdlib/cxa_atexit.c: Ditto.
6173
        * libc/stdlib/cxa_finalize.c: Ditto.
6174
        * libc/sys/cygwin/Makefile.am: New file.
6175
        * libc/sys/cygwin/Makefile.in: Ditto.
6176
        * libc/sys/cygwin/aclocal.m4: Ditto.
6177
        * libc/sys/cygwin/configure: Ditto.
6178
        * libc/sys/cygwin/configure.in: Ditto.
6179
        * libc/sys/cygwin/dummy.c: Ditto.
6180
        * libc/sys/cygwin/sys/reent.h: Ditto.  This file is stabilized
6181
        version of reent.h.
6182
 
6183
2004-09-13 Artem B. Bityuckiy  
6184
 
6185
        * libc/iconv/iconv.tex: Updated with new content.
6186
        * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
6187
        instead of NLS_DEFAULT_NLSPATH.
6188
        * libc/iconv/lib/iconvnls.h: Fix typo.
6189
        * libc/include/sys/iconvnls.h: New file.
6190
 
6191
2004-09-09  Paul Brook  
6192
 
6193
        * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
6194
        and _is_cxa.
6195
        (struct _atexit): Add _next when _REENT_SMALL.
6196
        (struct _reent): Add _atexit0 when _REENT_SMALL.
6197
        (_REENT_INIT_PTR): Adjust.
6198
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
6199
        __call_exit.c.
6200
        (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
6201
        * libc/stdlib/Makefile.in: Regenerate.
6202
        * libc/stdlib/__atexit.c: New file.
6203
        * libc/stdlib/__call_atexit.c: New file.
6204
        * libc/stdlib/atexit.h: Remove old definitions.  Add new.
6205
        * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
6206
        * libc/stdlib/cxa_atexit.c: New file.
6207
        * libc/stdlib/cxa_finalize.c: New file.
6208
        * libc/stdlib/exit.c (exit): Use __call_exitprocs.
6209
        * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
6210
        2004-09-09  Jeff Johnston  
6211
        * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
6212
        _on_exit_args_ptr.
6213
 
6214
2004-08-23  Jeff Johnston  
6215
 
6216
        * libc/include/sys/unistd.h (getpass): Change prototype to use
6217
        const instead of __const.
6218
 
6219
2004-08-16  Nathan Sidwell  
6220
 
6221
        * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
6222
        #if.
6223
 
6224
2004-08-12  Jeff Johnston  
6225
 
6226
        * libc/sys/linux/sys/types.h (u64): New typedef to allow building
6227
        on linux systems with glibc 2.3.3 installed.
6228
        * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
6229
        profile_fixup so newlib can build on fc3 system.
6230
 
6231
2004-07-30  Alexandre Oliva  
6232
 
6233
        Introduce SH2a support.
6234
        2004-03-16  Corinna Vinschen  
6235
        * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
6236
        __SH2A_SINGLE_ONLY__, too.
6237
        * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
6238
        2004-02-24  Corinna Vinschen  
6239
        * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu.  Fix comments.
6240
        2004-02-10  DJ Delorie  
6241
        * libc/sys/sh/crt0.S (start_l): Support sh2a.
6242
 
6243
2004-07-29  Jeff Johnston  
6244
 
6245
        * libc/time/strptime.c: Correct full-name of "March" typo.
6246
 
6247
2004-07-16  Anil Paranjpe  
6248
 
6249
        * configure.host (h8300*-*-*): Default long long printing support.
6250
 
6251
2004-07-16  Jeff Johnston  
6252
 
6253
        * libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
6254
        calls, if realloc fails, free up buffer as it is no longer
6255
        used.
6256
 
6257
2004-07-07  Artem B. Bityuckiy  
6258
 
6259
        * libc/iconv/iconv.tex: Updated to represent recent changes.
6260
        * libc/iconv/lib/iconv.c: Documentation updated.
6261
 
6262
2004-07-07  Nick Clifton  
6263
 
6264
        * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
6265
        for xStormy16.
6266
 
6267
2004-07-06  Chris Demetriou  
6268
 
6269
        * configure.host (mips*-*-elf*): Default long long printing
6270
        support.
6271
 
6272
2004-07-05  Jeff Johnston  
6273
 
6274
        * libc/Makefile.am (libc.dvi): Add target and specify
6275
        same dependencies as libc.info.
6276
        * libc/Makefile.in: Regenerated.
6277
        * libm/Makefile.am (libm.dvi): Add target and specify
6278
        same dependencies as libm.info.
6279
        * libm/Makefile.in: Regenerated.
6280
 
6281
2004-06-29  Artem B. Bityuckiy  
6282
 
6283
        * acinclude.m4: Move --enable-newlib-iconv option back here.
6284
        * configure.in: Remove --enable-newlib-iconv option.  Don't
6285
        tie iconv support to --enable-newlib-mb.
6286
        * aclocal.m4: Regenerated.
6287
        * configure: Ditto.
6288
        * doc/aclocal.m4, doc/configure: Ditto.
6289
        * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
6290
        * libm/*/aclocal.m4: Ditto.
6291
        * libm/*/configure: Ditto.
6292
        * libc/*/aclocal.m4: Ditto.
6293
        * libc/*/configure: Ditto.
6294
 
6295
2004-06-25  Artem B. Bityuckiy  
6296
 
6297
        * acinclude.m4: Move iconv options into configure.in.
6298
        * aclocal.m4: Regenerated.
6299
        * configure: Ditto.
6300
        * configure.in: Add iconv options.
6301
        * newlib.hin: Add new iconv encodings and remove deleted ones.
6302
        * doc/aclocal.m4: Regenerated.
6303
        * doc/configure: Ditto.
6304
        * iconvdata/aclocal.m4: Ditto.
6305
        * iconvdata/configure: Ditto.
6306
        * libc/iconv: Design change.  New size-optimized ccs format.
6307
        * libc/iconv/AUTHORS: Removed.
6308
        * libc/iconv/COPYING: Ditto.
6309
        * libc/iconv/README.ORIGINAL: Ditto.
6310
        * libc/iconv/README.TODO: Ditto.
6311
        * libc/iconv/charset.aliases: Ditto.
6312
        * libc/iconv/encoding.aliases: New file.
6313
        * libc/iconv/Makefile.am: Updated.
6314
        * libc/iconv/Makefile.in: Regenerated.
6315
        * libc/iconv/iconv.tex: Updated.
6316
        * libc/iconv/ccs/Makefile.am: Ditto.
6317
        * libc/iconv/ccs/Makefile.in: Regenerated.
6318
        * libc/iconv/ccs/big5.c: Updated.
6319
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6320
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6321
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6322
        * libc/iconv/ccs/cp775.c: Ditto.
6323
        * libc/iconv/ccs/cp850.c: Ditto.
6324
        * libc/iconv/ccs/cp852.c: Ditto.
6325
        * libc/iconv/ccs/cp855.c: Ditto.
6326
        * libc/iconv/ccs/cp866.c: Ditto.
6327
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6328
        * libc/iconv/ccs/README.CCS.SOURCES: Removed.
6329
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6330
        * libc/iconv/ccs/iconv_mktbl: Ditto.
6331
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6332
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6333
        * libc/iconv/ccs/shift_jis.c: Ditto.
6334
        * libc/iconv/ccs/us_ascii.c: Ditto.
6335
        * libc/iconv/ccs/ccs.h: New file.
6336
        * libc/iconv/ccs/ccsbi.c: Ditto.
6337
        * libc/iconv/ccs/ccsbi.h: Ditto.
6338
        * libc/iconv/ccs/ccsnames.h: Ditto.
6339
        * libc/iconv/ccs/iso_8859_10.c: Ditto.
6340
        * libc/iconv/ccs/iso_8859_11.c: Ditto.
6341
        * libc/iconv/ccs/iso_8859_13.c: Ditto.
6342
        * libc/iconv/ccs/iso_8859_14.c: Ditto.
6343
        * libc/iconv/ccs/iso_8859_3.c: Ditto.
6344
        * libc/iconv/ccs/iso_8859_6.c: Ditto.
6345
        * libc/iconv/ccs/iso_8859_7.c: Ditto.
6346
        * libc/iconv/ccs/iso_8859_8.c: Ditto.
6347
        * libc/iconv/ccs/iso_8859_9.c: Ditto.
6348
        * libc/iconv/ccs/iso_ir_111.c: Ditto.
6349
        * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
6350
        * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
6351
        * libc/iconv/ccs/koi8_ru.c: Ditto.
6352
        * libc/iconv/ccs/koi8_uni.c: Ditto.
6353
        * libc/iconv/ccs/mktbl.pl: Ditto.
6354
        * libc/iconv/ccs/win_1250.c: Ditto.
6355
        * libc/iconv/ccs/win_1251.c: Ditto.
6356
        * libc/iconv/ccs/win_1252.c: Ditto.
6357
        * libc/iconv/ccs/win_1253.c: Ditto.
6358
        * libc/iconv/ccs/win_1254.c: Ditto.
6359
        * libc/iconv/ccs/win_1255.c: Ditto.
6360
        * libc/iconv/ccs/win_1256.c: Ditto.
6361
        * libc/iconv/ccs/win_1257.c: Ditto.
6362
        * libc/iconv/ccs/win_1258.c: Ditto.
6363
        * libc/iconv/ccs/iso_8859_15.c: Updated.
6364
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6365
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6366
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6367
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6368
        * libc/iconv/ccs/koi8_r.c: Ditto.
6369
        * libc/iconv/ccs/koi8_u.c: Ditto.
6370
        * libc/iconv/ccs/ksx1001.c: Ditto.
6371
        * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
6372
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
6373
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6374
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6375
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
6376
        * libc/iconv/ccs/binary/Makefile.am: Updated.
6377
        * libc/iconv/ccs/binary/Makefile.in: Regenerated.
6378
        * libc/iconv/ccs/binary/big5.cct: Updated.
6379
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6380
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6381
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6382
        * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
6383
        * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
6384
        * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
6385
        * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
6386
        * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
6387
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6388
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6389
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
6390
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
6391
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
6392
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
6393
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
6394
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6395
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6396
        * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
6397
        * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
6398
        * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
6399
        * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
6400
        * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
6401
        * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
6402
        * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
6403
        * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
6404
        * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
6405
        * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
6406
        * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
6407
        * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
6408
        * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
6409
        * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
6410
        * libc/iconv/ccs/binary/win_1250.cct: Ditto.
6411
        * libc/iconv/ccs/binary/win_1251.cct: Ditto.
6412
        * libc/iconv/ccs/binary/win_1252.cct: Ditto.
6413
        * libc/iconv/ccs/binary/win_1253.cct: Ditto.
6414
        * libc/iconv/ccs/binary/win_1254.cct: Ditto.
6415
        * libc/iconv/ccs/binary/win_1255.cct: Ditto.
6416
        * libc/iconv/ccs/binary/win_1256.cct: Ditto.
6417
        * libc/iconv/ccs/binary/win_1257.cct: Ditto.
6418
        * libc/iconv/ccs/binary/win_1258.cct: Ditto.
6419
        * libc/iconv/ces/Makefile.am: Updated.
6420
        * libc/iconv/ces/Makefile.in: Regenerated.
6421
        * libc/iconv/ces/ucs-2-internal.c: Updated.
6422
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
6423
        * libc/iconv/ces/utf-16.c: Ditto.
6424
        * libc/iconv/ces/utf-8.c: Ditto.
6425
        * libc/iconv/ces/cesbi.c: New file.
6426
        * libc/iconv/ces/cesbi.h: Ditto.
6427
        * libc/iconv/ces/cesdeps.h: Ditto.
6428
        * libc/iconv/ces/euc.c: Ditto.
6429
        * libc/iconv/ces/mkdeps.pl: Ditto.
6430
        * libc/iconv/ces/table-pcs.c: Ditto.
6431
        * libc/iconv/ces/table.c: Ditto.
6432
        * libc/iconv/ces/ucs-2.c: Ditto.
6433
        * libc/iconv/ces/ucs-4.c: Ditto.
6434
        * libc/iconv/ces/us-ascii.c: Ditto.
6435
        * libc/iconv/ces/euc-jp.c: Removed.
6436
        * libc/iconv/ces/euc-kr.c: Ditto.
6437
        * libc/iconv/ces/euc-tw.c: Ditto.
6438
        * libc/iconv/ces/gb2312.c: Ditto.
6439
        * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
6440
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6441
        * libc/iconv/lib/Makefile.am: Updated.
6442
        * libc/iconv/lib/Makefile.in: Regenerated.
6443
        * libc/iconv/lib/endian.h: Updated.
6444
        * libc/iconv/lib/iconv.c: Ditto.
6445
        * libc/iconv/lib/local.h: Ditto.
6446
        * libc/iconv/lib/aliases.c: Removed.
6447
        * libc/iconv/lib/bialiasesi.c: Ditto.
6448
        * libc/iconv/lib/biccs.c: Ditto.
6449
        * libc/iconv/lib/bices.c: Ditto.
6450
        * libc/iconv/lib/ccs.c: Ditto.
6451
        * libc/iconv/lib/ces.c: Ditto.
6452
        * libc/iconv/lib/ces_euc.c: Ditto.
6453
        * libc/iconv/lib/ces_iso2022.c: Ditto.
6454
        * libc/iconv/lib/ces_table.c: Ditto.
6455
        * libc/iconv/lib/converter.c: Ditto.
6456
        * libc/iconv/lib/deps.h: Ditto.
6457
        * libc/iconv/lib/loaddata.c: Ditto.
6458
        * libc/iconv/lib/aliasesbi.c: New file.
6459
        * libc/iconv/lib/aliasesi.c: Ditto.
6460
        * libc/iconv/lib/conv.h: Ditto.
6461
        * libc/iconv/lib/encnames.h: Ditto.
6462
        * libc/iconv/lib/encoding.deps: Ditto.
6463
        * libc/iconv/lib/iconvnls.c: Ditto.
6464
        * libc/iconv/lib/iconvnls.h: Ditto.
6465
        * libc/iconv/lib/nullconv.c: Ditto.
6466
        * libc/iconv/lib/ucsconv.c: Ditto.
6467
        * libc/iconv/lib/ucsconv.h: Ditto.
6468
        * libc/include/iconv.h: Update copyright.
6469
        * libc/*/aclocal.m4: Regenerated.
6470
        * libc/*/configure: Ditto.
6471
        * libm/*/aclocal.m4: Ditto.
6472
        * libm/*/configure: Ditto.
6473
 
6474
2004-06-22  Alexandre Oliva  
6475
 
6476
        * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
6477
        instead of typedefing jmp_buf.
6478
 
6479
        2003-07-02  Richard Sandiford  
6480
        * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
6481
        * libc/machine/h8300/defines.h (LEN): New macro.
6482
        * libc/machine/h8300/memcpy.S: Add h8sx version.
6483
        * libc/machine/h8300/memset.S: Likewise.
6484
        * libc/machine/h8300/strcmp.S: Likewise.
6485
        * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
6486
        * libc/machine/h8300/h8sx_strcpy.S: New file.
6487
        2003-06-30  Richard Sandiford  
6488
        * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
6489
        __H8300SX__.
6490
        * libc/include/machine/setjmp.h: Likewise.
6491
        * libc/include/sys/config.h: Likewise.
6492
        * libc/machine/h8300/defines.h: Likewise.
6493
        * libc/machine/h8300/setjmp.S: Likewise.
6494
        * libc/machine/h8300/strcmp.S: Likewise.
6495
        * libc/sys/h8300hms/close.S: Likewise.
6496
        * libc/sys/h8300hms/fstat.S: Likewise.
6497
        * libc/sys/h8300hms/lseek.S: Likewise.
6498
        * libc/sys/h8300hms/read.S: Likewise.
6499
        * libc/sys/h8300hms/write.S: Likewise.
6500
        * libc/sys/h8300hms/crt0.S: Likewise.
6501
        * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
6502
        __H8300SX__ is defined.
6503
        * libc/sys/h8300hms/setarch.h: Likewise.
6504
 
6505
2004-06-17  Jeff Johnston  
6506
 
6507
        * libc/include/sys/reent.h (_GLOBAL_REENT): Back
6508
        out change which set _GLOBAL_REENT to _global_impure_ptr until
6509
        we understand why Cygwin breaks because of it.
6510
 
6511
2004-06-14  Jeff Johnston  
6512
 
6513
        * libc/sys/linux/machine/i386/syscall.h: For now, set up
6514
        __syscall_return macro for systems with vsyscall.
6515
 
6516
2004-06-11  Antony King  
6517
 
6518
        * libc/include/sys/_types.h: Include  and change
6519
        _flock_t to be of type _LOCK_RECURSIVE_T.
6520
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
6521
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
6522
        (_global_impure_ptr): New declaration.
6523
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
6524
        * libc/include/sys/stdio.h: Include  and
6525
        .
6526
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
6527
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6528
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
6529
        * libc/stdio/fclose.c: Remove casting of fp lock to
6530
        _LOCK_RECURSIVE_T.
6531
        * libc/stdio/findfp.c: Ditto.
6532
        * libc/stdio/fopen.c: Ditto.
6533
        * libc/stdio/freopen.c: Ditto.
6534
        * libc/stdio/vfprintf.c: Ditto.
6535
        * libc/stdio64/fopen64.c: Ditto.
6536
        * libc/stdlib/envlock.c: Add default stubs that use generic
6537
        locking code.
6538
        * libc/stdlib/mlock.c: Ditto.
6539
 
6540
        Jeff Johnston  
6541
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
6542
        (_flock_t): Change to be a struct containing a single member
6543
        named mutex which is of type __flock_mutex_t.
6544
 
6545
2004-06-09  Jeff Johnston  
6546
 
6547
        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
6548
        from /usr/include/asm/signal.h instead of kernel sources.  Also
6549
        default max to 32 if not found in header file.
6550
        * libc/sys/linux/Makefile.in: Regenerated.
6551
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
6552
        systems where __syscall_return is not defined.
6553
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
6554
        systems to use syscall() function instead of assembler interrupt.
6555
 
6556
2004-06-09  Toralf Lund  
6557
 
6558
        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
6559
        files from libc/sys/arm to libc/machine/arm.
6560
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
6561
        library build support for files moved from libc/sys/arm.
6562
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
6563
        references to access and setjmp.
6564
        * configure.host: Add checks for newlib_may_supply_syscalls to
6565
        determine whether or not to use sys/arm directory and use
6566
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
6567
 
6568
2004-06-02  Jeff Johnston  
6569
 
6570
        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
6571
        reset digit flags appropriately after we have discovered "0x".
6572
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6573
 
6574
2004-05-27  Jeff Johnston  
6575
 
6576
        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
6577
        from here ...
6578
        (_VFPRINTF_R): ... to here so all I/O printf routines
6579
        are covered.
6580
 
6581
2004-05-26  Jeff Johnston  
6582
 
6583
        * libc/search/hash_buf.c: Protect MAX and MIN macros from
6584
        redefinition.
6585
        * libc/search/hash.c: Ditto.
6586
 
6587
2004-05-25  Artem B. Bityuckiy  
6588
 
6589
        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
6590
        (_WANT_IO_LONG_LONG): Ditto.
6591
        (_WANT_IO_LONG_DOUBLE): Ditto.
6592
        * configure.in: Add new configuration options
6593
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
6594
        which tie to new defines in newlib.hin.
6595
        * configure: Regenerated.
6596
        * configure.host: Add checks for new configuration options.  Also
6597
        fix up check for --enable-newlib-io-pos-args so configuration
6598
        option will override any default for a given platform.
6599
        Remove defining compiler flags for the _WANT_IO* options.
6600
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
6601
        instead of looking for old compiler flags.
6602
        * libc/stdio/vfscanf.c: Ditto.
6603
        * libc/stdio/vfieeefp.h: Ditto.
6604
        * libc/machine/powerpc/vfprintf.c: Ditto.
6605
        * libc/machine/powerpc/vfscanf.c: Ditto.
6606
 
6607
2004-05-25  Jeff Johnston  
6608
 
6609
        * testsuite/include/check.h: Add include of .
6610
 
6611
2004-05-17  Corinna Vinschen  
6612
 
6613
        * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
6614
 
6615
2004-05-11  Artem B. Bityuckiy  
6616
 
6617
        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
6618
        of free.
6619
 
6620
2004-05-07  Artem B. Bityuckiy  
6621
 
6622
        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
6623
        list for reentrant pointer.  Call _vfiprintf_r.
6624
        * libc/stdio/siprintf.c (_siprintf_r): New function.
6625
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
6626
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
6627
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
6628
        prototypes.
6629
 
6630
2004-05-07  Jeff Johnston  
6631
 
6632
        * libc/include/sys/param.h: Remove endian info and include
6633
         instead.
6634
        * libc/include/machine/endian.h: New file.
6635
        * libc/include/machine/param.h: Ditto.
6636
        * libc/machine/arm/machine/endian.h: Ditto.
6637
        * libc/machine/arm/machine/param.h: Ditto.
6638
        * libc/sys/arm/sys/param.h: Removed.
6639
        * libc/sys/sysvi386/sys/param.h: Ditto.
6640
        * libc/sys/rtems/sys/param.h: Modified to include .
6641
 
6642
2004-05-03  Artem B. Bityuckiy  
6643
 
6644
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
6645
        multibyte functions return failure for %C, %S, %lc, and %ls
6646
        format specifiers.
6647
 
6648
2004-05-03  Artem B. Bityuckiy  
6649
 
6650
        * testsuite/include/check.h (CHECK): Add flush of stdout.
6651
 
6652
2004-05-03  Artem B. Bityuckiy  
6653
 
6654
        * libc/include/stdio.h (_ungetc_r): New prototype.
6655
        * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
6656
        (__submore): Add reentrant struct pointer argument.
6657
        (ungetc): Change to call _ungetc_r.
6658
 
6659
2004-04-28  Artem B. Bityuckiy  
6660
 
6661
        * libc/stdio/local.h (_fwalk_reent): Specify prototype of
6662
        function pointer argument.
6663
        * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
6664
        to specify function pointer arguments.
6665
        (__fwalk, __fwalk_reent): Ditto.
6666
 
6667
2004-04-26  Aldy Hernandez  
6668
 
6669
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
6670
        CT_INT case.
6671
 
6672
2004-04-23  Artem B. Bityuckiy  
6673
 
6674
        * configure.in: Define _MB_CAPABLE if mb supported.
6675
        * configure: Regenerated.
6676
        * configure.host: Remove manual setting of MB_CAPABLE compiler
6677
        flag.
6678
        * newlib.hin: Add _MB_CAPABLE flag.
6679
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include 
6680
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
6681
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
6682
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
6683
        * libc/ctype/jp2uc.c: Ditto.
6684
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
6685
        * libc/locale/locale.c: Ditto
6686
        * libc/machine/powerpc/vfscanf.c: Ditto
6687
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
6688
        * libc/stdlib/mblen.c: Ditto
6689
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
6690
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
6691
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
6692
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
6693
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
6694
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
6695
        * libc/sys/linux/intl/explodename.c: Ditto
6696
        * libc/sys/linux/intl/finddomain.c: Ditto
6697
        * libc/sys/linux/intl/l10nflist.c: Ditto
6698
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
6699
        * libc/sys/linux/intl/localealias.c: Ditto
6700
 
6701
2004-04-23  Jeff Johnston  
6702
 
6703
        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
6704
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6705
        which are not part of a base prefix.
6706
        Keep track of width truncation to fit into buf, not counting left-out
6707
        zeroes against width till the truncation has been compensated for.
6708
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
6709
 
6710
2004-04-23  Jeff Johnston  
6711
 
6712
        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
6713
 
6714
2004-04-23  Artem B. Bityuckiy  
6715
 
6716
        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
6717
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
6718
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
6719
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
6720
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
6721
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
6722
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
6723
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
6724
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
6725
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
6726
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
6727
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
6728
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
6729
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
6730
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
6731
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
6732
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
6733
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
6734
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
6735
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
6736
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
6737
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
6738
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
6739
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
6740
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
6741
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
6742
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
6743
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
6744
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
6745
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
6746
        copyright notices to top of file, ensure that <_ansi.h> is
6747
        included, be consistent with open parentheses, use _DEFUN macro,
6748
        include "local.h" where needed, and remove various compiler
6749
        warnings.
6750
 
6751
2004-04-21  J"orn Rennecke 
6752
 
6753
        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
6754
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6755
        which are not part of a base prefix.
6756
        Keep track of width truncation to fit into buf, not counting left-out
6757
        zeroes against width till the truncation has been compensated for.
6758
 
6759
2004-04-20  Corinna Vinschen  
6760
 
6761
        * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
6762
 
6763
2004-04-20  Corinna Vinschen  
6764
 
6765
        * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
6766
 
6767
2004-04-10  Corinna Vinschen  
6768
 
6769
        * libc/include/sys/unistd.h (sync): Define void on Cygwin according
6770
        to SUSv3.
6771
 
6772
2004-04-08  Artem B. Bityuckiy  
6773
 
6774
        * libc/stdio/fclose.c (_fclose_r): New function.
6775
        * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
6776
        * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
6777
        * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
6778
        * libc/include/stdio.h (_fclose_r): New prototype.
6779
        * libc/stdio/fopen.c: Fix typo in comment.
6780
 
6781
2004-04-08  Jeff Johnston  
6782
 
6783
        * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
6784
        to handle _r reentrant functions.
6785
 
6786
2004-04-08  Eric Christopher  
6787
 
6788
        * libc/include/machine/setjmp.h: Fix endif locations.
6789
 
6790
2004-04-01  Artem B. Bityuckiy  
6791
 
6792
        * libc/time/strptime.c: Add standard includes to avoid
6793
        warning messages at compilation time.
6794
 
6795
2004-04-01  Jeff Johnston  
6796
 
6797
        * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
6798
        of file.
6799
 
6800
2004-03-30  Jeff Johnston  
6801
 
6802
        * libc/machine/h8300/Makefile.am: Reformat slightly.
6803
        * libc/machine/h8300/Makefile.in: Regenerate.
6804
 
6805
2004-03-30  Thomas Pfaff  
6806
 
6807
        * libc/stdio/findfp.c (__fp_lock_all): Add call to
6808
        __sfp_lock_acquire.
6809
        (__fp_unlock_all): Add call to __sfp_lock_release.
6810
 
6811
2004-03-25  Thomas Pfaff  
6812
 
6813
        * libc/stdio/fclose.c (fclose): Protect file pointer list when
6814
        releasing a file.
6815
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
6816
        fwalk.
6817
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
6818
        _flockfile/_funlockfile.
6819
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
6820
        to recursive.
6821
        Change __lock_acquire/__lock_release calls for __sfp_lock to
6822
        __sfp_lock_acquire/__sfp_lock_release throughout.
6823
        (std): Make sure that file lock is only initialized once.
6824
        (__sfp): Move _file initialization. Initialize file lock.
6825
        (__sfp_lock_acquire): New function.
6826
        (__sfp_lock_release): Ditto.
6827
        (__fp_lock_all): Remove __sfp_lock_acquire call.
6828
        (__fp_unlock_all): Remove __sfp_lock_release call.
6829
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
6830
        Add calls to _flockfile/_funlockfile. Remove
6831
        __lock_init_recursive call.
6832
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
6833
        * libc/stdio/fwalk.c (__fwalk): New static function.
6834
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
6835
        file pointers.
6836
        * libc/stdio/local.h: Add defines for
6837
        __sfp_lock_acquire/__sfp_lock_release when
6838
        single threaded. Add function prototypes otherwise.
6839
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
6840
        _flockfile/_funlockfile.
6841
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
6842
        Add calls to _flockfile/_funlockfile. Remove
6843
         __lock_init_recursive call.
6844
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
6845
        list.
6846
 
6847
2004-03-25  Jeff Johnston  
6848
 
6849
        * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
6850
        defined.  Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
6851
        * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
6852
        to be __LOCK_INIT_RECURSIVE.
6853
 
6854
2004-03-11  Kazu Hirata  
6855
 
6856
        * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
6857
        _exit.c with _exit.S.
6858
        * libc/sys/h8300hms/Makefile.in: Regenerate.
6859
        * libc/sys/h8300hms/_exit.c: Remove.
6860
        * libc/sys/h8300hms/_exit.S: New.
6861
 
6862
2004-03-09  Thomas Pfaff  
6863
 
6864
        * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
6865
        Change __sfp_lock to static global.
6866
        (__fp_lock): New static function.
6867
        (__fp_unlock): Ditto.
6868
        (__fp_lock_all): New function.
6869
        (__fp_unlock_all): Ditto.
6870
 
6871
2004-02-10  Christopher Faylor  
6872
 
6873
        * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
6874
        * libm/mathfp/er_lgamma.c (lgamma): Ditto.
6875
        * libm/mathfp/erf_gamma.c (gammaf): Ditto.
6876
        * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
6877
 
6878
2004-02-09  Christopher Faylor  
6879
 
6880
        * libc/include/time.h (TIMER_RELTIME): New define.
6881
 
6882
2004-02-09  Jeff Johnston  
6883
 
6884
        * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
6885
        * libc/stdlib/Makefile.in: Regenerated.
6886
 
6887
2004-02-08  Christopher Faylor  
6888
 
6889
        * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
6890
        * libc/include/sys/reent.h (__getreent): Protect against possibly being
6891
        defined.
6892
        * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
6893
 
6894
2004-02-05  Paul Brook  
6895
 
6896
        * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
6897
        IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
6898
 
6899
2004-02-02  Jeff Johnston  
6900
 
6901
        * NEWS: Update with 1.12.0 info.
6902
        * README: Ditto.
6903
        * acinclude.m4: Change version number to 1.12.0.
6904
        * aclocal.m4: Regenerated.
6905
        * configure: Ditto.
6906
        * doc/aclocal.m4: Ditto.
6907
        * doc/configure: Ditto.
6908
        * libc/*/aclocal.m4: Ditto.
6909
        * libc/*/configure: Ditto.
6910
        * libc/libc.texinfo: Ditto.
6911
        * libm/*/aclocal.m4: Ditto.
6912
        * libm/*/configure: Ditto.
6913
        * libm/libm.texinfo: Ditto.
6914
        * libc/sys/linux/shared.ld: Add VERS_1.12.
6915
 
6916
2004-02-02  Joel Sherrill  
6917
 
6918
        * configure.host: Add support for tic4x.
6919
        * libc/include/machine/ieeefp.h: Ditto.
6920
        * libc/include/machine/setjmp.h: Ditto.
6921
        * libc/machine/tic4x/Makefile.am: New file.
6922
        * libc/machine/tic4x/configure.in: Ditto.
6923
        * libc/machine/tic4x/setjmp.S: Ditto.
6924
        * libc/machine/tic4x/aclocal.m4: Generated.
6925
        * libc/machine/tic4x/configure: Ditto.
6926
        * libc/machine/tic4x/Makefile.in: Ditto.
6927
 
6928
2004-01-30  Jeff Johnston  
6929
 
6930
        * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
6931
        file chain on the passed in reentrancy struct if it
6932
        is _GLOBAL_REENT.
6933
 
6934
2004-01-30  Artem B. Bityuckiy  
6935
            Jeff Johnston  
6936
 
6937
        * libc/iconv/iconv.tex: Updated with more information.
6938
 
6939
2004-01-30  Thomas Pfaff  
6940
            Jeff Johnston  
6941
 
6942
        * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
6943
        struct for std streams and traverse the global reeentrancy
6944
        struct for all other streams.
6945
 
6946
2004-01-27  Jeff Johnston  
6947
 
6948
        * libc/stdlib/atexit.c: Protect global atexit list with a
6949
        lock when newlib is multithreaded.
6950
 
6951
2004-01-27  Artem B. Bityuckiy  
6952
 
6953
        * configure.in: Add support to generate iconv converter flags
6954
        for newlib.h
6955
        * newlib.hin: Add iconv converter flags.
6956
        * configure: Regenerated.
6957
        * libc/Makefile.in: Ditto.
6958
        * libc/configure.in: Moved iconv converter parsing logic to
6959
        top level newlib configure.in.
6960
        * libc/configure: Regenerated.
6961
        * libc/iconv/Makefile.in: Ditto.
6962
        * libc/iconv/README.TODO
6963
        * libc/iconv/charset.aliases: Remove wrong BE aliases for
6964
        UCS2/UCS4/UTF8.
6965
        * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
6966
        newlib.h can be used.
6967
        * libc/iconv/ces/Makefile.am: Ditto.
6968
        * libc/iconv/lib/Makefile.am: Ditto.
6969
        * libc/iconv/ccs/Makefile.in: Regenerated.
6970
        * libc/iconv/ces/Makefile.in: Ditto.
6971
        * libc/iconv/lib/Makefile.in: Ditto.
6972
        * libc/iconv/ccs/README.CCS.SOURCES: Updated.
6973
        * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
6974
        * libc/iconv/ccs/big5.c: Switch to use new underscored flags
6975
        defined in newlib.h.
6976
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6977
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6978
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6979
        * libc/iconv/ccs/cp775.c: Ditto.
6980
        * libc/iconv/ccs/cp850.c: Ditto.
6981
        * libc/iconv/ccs/cp852.c: Ditto.
6982
        * libc/iconv/ccs/cp855.c: Ditto.
6983
        * libc/iconv/ccs/cp866.c: Ditto.
6984
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6985
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6986
        * libc/iconv/ccs/iso_8859_15.c: Ditto.
6987
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6988
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6989
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6990
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6991
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6992
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6993
        * libc/iconv/ccs/koi8_r.c: Ditto.
6994
        * libc/iconv/ccs/koi8_u.c: Ditto.
6995
        * libc/iconv/ccs/ksx1001.c: Ditto.
6996
        * libc/iconv/ccs/shift_jis.c: Ditto.
6997
        * libc/iconv/ccs/us_ascii.c: Ditto.
6998
        * libc/iconv/ccs/binary/big5.cct: Newly generated.
6999
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
7000
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
7001
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
7002
        * libc/iconv/ccs/binary/cp775.cct: Ditto.
7003
        * libc/iconv/ccs/binary/cp850.cct: Ditto.
7004
        * libc/iconv/ccs/binary/cp852.cct: Ditto.
7005
        * libc/iconv/ccs/binary/cp855.cct: Ditto.
7006
        * libc/iconv/ccs/binary/cp866.cct: Ditto.
7007
        * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
7008
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
7009
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
7010
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
7011
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
7012
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
7013
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
7014
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
7015
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
7016
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
7017
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
7018
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
7019
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
7020
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
7021
        * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
7022
        * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
7023
        * libc/iconv/ces/euc-kr.c: Ditto.
7024
        * libc/iconv/ces/euc-tw.c: Ditto.
7025
        * libc/iconv/ces/gb2312.c: Ditto.
7026
        * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
7027
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
7028
        * libc/iconv/ces/ucs-2-internal.c: Ditto.
7029
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
7030
        * libc/iconv/ces/utf-16.c: Ditto.
7031
        * libc/iconv/ces/utf-8.c: Ditto.
7032
        * libc/iconv/lib/aliases.c: Ditto.
7033
        * libc/iconv/lib/biccs.c: Ditto.
7034
        * libc/iconv/lib/bices.c: Ditto.
7035
        * libc/iconv/lib/ccs.c: Ditto.
7036
        * libc/iconv/lib/ces.c: Ditto.
7037
        * libc/iconv/lib/ces_euc.c: Ditto.
7038
        * libc/iconv/lib/ces_iso2022.c: Ditto.
7039
        * libc/iconv/lib/ces_table.c: Ditto.
7040
        * libc/iconv/lib/converter.c: Ditto.
7041
        * libc/iconv/lib/deps.h: Ditto.
7042
        * libc/iconv/lib/endian.h: Ditto.
7043
        * libc/iconv/lib/iconv.c: Ditto.
7044
        * libc/iconv/lib/loaddata.c: Ditto.
7045
        * libc/iconv/lib/local.h: Include newlib.h.
7046
        * libc/argz/Makefile.in: Regenerated.
7047
        * libc/ctype/Makefile.in: Ditto.
7048
        * libc/errno/Makefile.in: Ditto.
7049
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
7050
        * libc/locale/Makefile.in: Ditto.
7051
        * libc/misc/Makefile.in: Ditto.
7052
        * libc/posix/Makefile.in: Ditto.
7053
        * libc/reent/Makefile.in: Ditto.
7054
        * libc/search/Makefile.in: Ditto.
7055
        * libc/signal/Makefile.in: Ditto.
7056
        * libc/stdio/Makefile.in: Ditto.
7057
        * libc/stdio64/Makefile.in: Ditto.
7058
        * libc/stdlib/Makefile.in: Ditto.
7059
        * libc/string/Makefile.in: Ditto.
7060
        * libc/syscalls/Makefile.in: Ditto.
7061
        * libc/time/Makefile.in: Ditto.
7062
        * libc/unix/Makefile.in: Ditto.
7063
        * testsuite/newlib.iconv/iconv.exp: New file.
7064
        * testsuite/newlib.iconv/iconvjp.c: Ditto.
7065
        * testsuite/newlib.iconv/iconvnm.c: Ditto.
7066
        * testsuite/newlib.iconv/iconvru.c: Ditto.
7067
 
7068
2004-01-23  Artem B. Bityuckiy  
7069
 
7070
        * acinclude.m4 (--enable-newlib-iconv): New configuration option.
7071
        (--enable-newlib-builtin-converters): Ditto.
7072
        * configure.in: Add code to set _ICONV_ENABLED flag.
7073
        Set _MB_LEN_MAX to 1 if not mb enabled.
7074
        * configure: Regenerated.
7075
        * aclocal.m4: Ditto.
7076
        * Makefile.in: Ditto.
7077
        * newlib.hin: Add _ICONV_ENABLED flag.
7078
        * libc/Makefile.am: Add support for iconv.
7079
        * libc/configure.in: Ditto.
7080
        * libc/Makefile.in: Regenerated.
7081
        * libc/aclocal.m4: Ditto.
7082
        * libc/configure: Ditto.
7083
        * libc/libc.texinfo: Add iconv documentation.
7084
        * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
7085
        libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
7086
        libc/iconv/README.TODO, libc/iconv/charset.aliases,
7087
        libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
7088
        libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
7089
        libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
7090
        libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
7091
        libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
7092
        libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
7093
        libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
7094
        libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
7095
        libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
7096
        libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
7097
        libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
7098
        libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
7099
        libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
7100
        libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
7101
        libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
7102
        libc/iconv/ccs/binary/big5.cct,
7103
        libc/iconv/ccs/binary/cns11643_plane1.cct,
7104
        libc/iconv/ccs/binary/cns11643_plane14.cct,
7105
        libc/iconv/ccs/binary/cns11643_plane2.cct,
7106
        libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
7107
        libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
7108
        libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
7109
        libc/iconv/ccs/binary/iso_8859_1.cct,
7110
        libc/iconv/ccs/binary/iso_8859_15.cct,
7111
        libc/iconv/ccs/binary/iso_8859_2.cct,
7112
        libc/iconv/ccs/binary/iso_8859_4.cct,
7113
        libc/iconv/ccs/binary/iso_8859_5.cct,
7114
        libc/iconv/ccs/binary/jis_x0201.cct,
7115
        libc/iconv/ccs/binary/jis_x0208_1983.cct,
7116
        libc/iconv/ccs/binary/jis_x0212_1990.cct,
7117
        libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
7118
        libc/iconv/ccs/binary/ksx1001.cct,
7119
        libc/iconv/ccs/binary/shift_jis.cct,
7120
        libc/iconv/ccs/binary/us_ascii.cct,
7121
        libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
7122
        libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
7123
        libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
7124
        libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
7125
        libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
7126
        libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
7127
        libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
7128
        libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
7129
        libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
7130
        libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
7131
        libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
7132
        libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
7133
        libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
7134
        libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
7135
        libc/iconv/lib/local.h, libc/include/iconv.h: New files.
7136
        * libc/sys/linux/include/iconv.h: Ditto.
7137
        * libc/include/sys/_types.h (_iconv_t): Added.
7138
        * doc/aclocal.m4: Regenerated.
7139
        * doc/configure: Ditto.
7140
        * doc/Makefile.in: Ditto.
7141
        * iconvdata/Makefile.in: Ditto.
7142
        * iconvdata/aclocal.m4: Ditto.
7143
        * iconvdata/configure: Ditto.
7144
        * libc/*aclocal.m4: Ditto.
7145
        * libc/*Makefile.in: Ditto.
7146
        * libc/*configure: Ditto.
7147
        * libm/*aclocal.m4: Ditto.
7148
        * libm/*Makefile.in: Ditto.
7149
        * libm/*configure: Ditto.
7150
 
7151
2004-01-22  Thomas Pfaff  
7152
 
7153
        * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
7154
        by a lock when newlib is multithreaded.
7155
 
7156
2004-01-21  Jeff Johnston  
7157
 
7158
        * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
7159
        pointer to match C99 spec.
7160
        * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
7161
        dst is NULL.  Also fix to not alter src pointer when dst is NULL
7162
        and call _mbrtowc_r instead of _mbtowc_r.
7163
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
7164
        of _wctomb_r.
7165
 
7166
2004-01-19  Thomas Pfaff  
7167
 
7168
        * libc/stdio/fclose.c (fclose): Release FILE as the last step.
7169
        * libc/stdio/freopen.c (freopen): Ditto.
7170
 
7171
2004-01-16  Christopher Faylor  
7172
 
7173
        * libc/stdio/vfprintf.c: Add sys/lock.h include.
7174
 
7175
2004-01-16  Thomas Pfaff  
7176
 
7177
        * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
7178
        * libc/stdio/vfprintf.c (__sbprintf): Ditto.
7179
        Add calls to __lock_init_recursive and __lock_close_recursive
7180
        instead.
7181
 
7182
2004-01-15  Thomas Pfaff  
7183
 
7184
        * libc/stdio/fclose.c: Include sys/lock.h.
7185
        (fclose): Destroy lock when file is closed.
7186
        * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
7187
        member.
7188
        * libc/stdio/freopen.c: Include sys/lock.h.
7189
        (_freopen_r): Destroy lock when file is closed.
7190
        * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
7191
        _lock member.
7192
 
7193
2004-01-08  Joel Sherrill  
7194
 
7195
        * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
7196
        Remove warnings.
7197
 
7198
2004-01-08  Joel Sherrill  
7199
 
7200
        * libc/sys/rtems/sys/queue.h: New file.
7201
        * libc/include/sys/signal.h: Reflect renumbering of signals to
7202
        fit into 32-bit mask.
7203
        * libc/include/sys/unistd.h: Add fdatasync() prototype.
7204
        * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
7205
        required.  In particular, add the reentrant variants of libc calls.
7206
        * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
7207
 
7208
2004-01-06  Mark Mitchell  
7209
 
7210
        * libc/sys/arm/syscalls.c (unistd.h): Include it.
7211
        (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
7212
        Similarly for stdout and stderr.
7213
 
7214
2004-01-06  Jeff Johnston  
7215
 
7216
        * libc/libc.texinfo: Correct escape character for @ sign
7217
        so file will be processed by make info.  Update copyright years.
7218
        * libm/libm.texinfo: Ditto.
7219
 
7220
2003-12-05  Jeff Johnston  
7221
 
7222
        * libc/include/sys/stat.h: No longer include stat-dj.h.
7223
        * libc/include/sys/stat-dj.h: Removed.
7224
 
7225
2003-12-05  Jeff Johnston  
7226
 
7227
        * libc/include/wchar.h: Include .
7228
 
7229
2003-12-05  Christopher Faylor  
7230
 
7231
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
7232
        when defining _mbrtowc.
7233
        * libc/stdlib/mbsinit.c: Ditto.
7234
        * libc/stdlib/mbsrtowcs.c: Ditto.
7235
        * libc/stdlib/wcrtomb.c: Ditto.
7236
        * libc/stdlib/wcsrtombs.c: Ditto.
7237
        * libc/stdlib/wctob.c: Ditto.
7238
 
7239
2003-12-05  Christopher Faylor  
7240
 
7241
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler
7242
        errors when defining _mbrtowc.
7243
        * libc/stdlib/mbsinit.c: Ditto.
7244
        * libc/stdlib/mbsrtowcs.c: Ditto.
7245
 
7246
2003-12-05  Christopher Faylor  
7247
 
7248
        * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
7249
        errors when defining _mbrtowc.
7250
 
7251
2003-12-04  Artem B. Bityuckiy  
7252
 
7253
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
7254
        of mb routines for %lc and %ls support.
7255
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
7256
        %ls, and %S support.  Remove CYGNUS_NEC markers and
7257
        code within.
7258
 
7259
2003-12-04  Jeff Johnston  
7260
 
7261
        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
7262
        _wcrtomb_r, and _wcsrtombs_r.
7263
 
7264
2003-12-01  Corinna Vinschen  
7265
 
7266
        * libc/include/sys/fcntl.h: Don't define struct flock when on
7267
        Cygwin.  This is done in winsup/cygwin/include/cygwin/types.h now.
7268
 
7269
2003-11-28  Christopher Faylor  
7270
 
7271
        * libc/include/sys/signal.h: Use system specific signal file when
7272
        building on cygwin.
7273
 
7274
2003-11-27  Jeff Johnston  
7275
 
7276
        * libc/include/stdlib.h (_atoi_r): New prototype.
7277
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
7278
 
7279
2003-11-27  Jeff Johnston  
7280
 
7281
        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
7282
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
7283
        * libc/stdlib/atoll.c (_atoll_r): Ditto.
7284
 
7285
2003-11-27  Artem B. Bityuckiy  
7286
            Jeff Johnston  
7287
 
7288
        * libc/include/stdlib.h (lldiv_t): New type.
7289
        (atoll, llabs, lldiv): New prototypes.
7290
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
7291
        * libc/stdlib/stdlib.tex: Ditto.
7292
        * libc/stdlib/Makefile.in: Regenerated.
7293
        * libc/stdlib/atoll.c: New file.
7294
        * libc/stdlib/llabs.c: Ditto.
7295
        * libc/stdlib/lldiv.c: Ditto.
7296
 
7297
2003-11-26  Corinna Vinschen  
7298
 
7299
        * libc/include/fcntl.h: Declare syscalls only when building newlib.
7300
        * libc/include/unistd.h: Ditto.
7301
        * libc/include/stat.h: Ditto.  Also declare struct stat64.
7302
 
7303
2003-11-24  Artem B. Bityuckiy  
7304
 
7305
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
7306
        specifier to use ch instead of *fmt.
7307
 
7308
2003-11-21  Artem B. Bityuckiy  
7309
 
7310
        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
7311
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
7312
        use simple byte logic.
7313
 
7314
2003-11-21  Jeff Johnston  
7315
 
7316
        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
7317
        _strtold routine for processing floats and doubles since it
7318
        is not as fast as _strtod_r.
7319
 
7320
2003-11-20 Dhananjay Deshpande 
7321
 
7322
        * libc/machine/h8300/defines.h : Correct pointer register defines
7323
        for normal mode.
7324
        * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7325
        for normal mode.
7326
        * libc/machine/h8300/reg_memcpy.S : Likewise.
7327
        * libc/machine/h8300/reg_memset.S : Likewise.
7328
        * libc/machine/h8300/strcmp.S : Likewise.
7329
 
7330
2003-11-19  Nicholas Wourms  
7331
 
7332
        * configure.host: Enable positional arguments for printf
7333
        family for Cygwin.
7334
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
7335
        pointer reference for quad_ptr_t.
7336
 
7337
2003-11-19  Jeff Johnston  
7338
 
7339
        * libc/stdio/scanf.c: Don't include local.h more than once.
7340
 
7341
2003-11-18  Corinna Vinschen  
7342
 
7343
        * libc/include/sys/fcntl.h: Declare _open64.
7344
        * libc/include/sys/stat.h: Declare _fstat64.
7345
        * libc/include/sys/unistd.h: Declare _lseek64.
7346
 
7347
2003-11-17  Corinna Vinschen  
7348
 
7349
        * libc/include/stdlib.h (getprogname): Declare for Cygwin.
7350
        (setprogname): Ditto.
7351
 
7352
2003-11-10  Jeff Johnston  
7353
 
7354
        * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
7355
        to use (Ebits + 1) which accounts for the sign-bit.
7356
 
7357
2003-11-07  Jeff Johnston  
7358
 
7359
        * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
7360
        x86 build.
7361
        * iconvdata/Makefile.am: Make dependent on newlib's configure.host
7362
        and set up default flags to pass to aclocal.
7363
        * iconvdata/Makefile.in: Regenerated.
7364
        * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
7365
        and getpwuid routines.
7366
        * libc/sys/linux/Makefile.in: Regenerated.
7367
        * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
7368
        applications to link with newlib's shared libc library.
7369
        * libc/sys/linux/getpwnam.c: Ditto.
7370
        * libc/sys/linux/getpwuid.c: Ditto.
7371
        * libc/sys/linux/sys/types.h: Include  and supply types
7372
        that were formerly supplied by /usr/include/linux/types.h with
7373
        kernel types.
7374
        * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
7375
        test _ELIX_LEVEL macro.
7376
 
7377
2003-11-07  Jeff Johnston  
7378
 
7379
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
7380
        referring to _NO_LONGLONG macro.
7381
 
7382
2003-11-06  Jeff Johnston  
7383
 
7384
        * libc/sys/linux/linuxthreads/td_init.c: Replace function name
7385
        in LOG() macro so this will compile on gcc 3.4 and up.
7386
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7387
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7388
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7389
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7390
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7391
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7392
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7393
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7394
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7395
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7396
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7397
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7398
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7399
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7400
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7401
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7402
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7403
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7404
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7405
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7406
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7407
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7408
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7409
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7410
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7411
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7412
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7413
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7414
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7415
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7416
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7417
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7418
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7419
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7420
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7421
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7422
 
7423
2003-11-05  Jeff Johnston  
7424
            Artem B. Bityuckiy  
7425
 
7426
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
7427
        %ls, %S, %lc, and %C format specifiers.
7428
        (get_arg): Ditto.
7429
        * libc/stdio/sprintf.c: Add documentation regarding new
7430
        format specifiers added in vfprintf.c.
7431
 
7432
2003-11-05  Jeff Johnston  
7433
 
7434
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
7435
        to make code work as specified in standard.
7436
 
7437
2003-10-23  Jeff Johnston  
7438
 
7439
        * configure.in: Use absolute newlib basedir when forming
7440
        CC_FOR_NEWLIB include options.
7441
        * configure: Regenerated.
7442
 
7443
2003-10-23  Artem B. Bityuckiy  
7444
 
7445
        * libc/string/wcsnlen.c: New file.
7446
        * libc/include/wchar.h: Add wcsnlen prototype.
7447
        * libc/string/Makefile.am: Add wcsnlen support.
7448
        * libc/string/Makefile.in: Regenerated.
7449
        * libc/string/wcstrings.tex: Add wcsnlen documentation.
7450
 
7451
2003-10-22  Richard Sandiford  
7452
 
7453
        * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
7454
 
7455
2003-10-20  Bob Wilson  
7456
 
7457
        * libc/locale/locale.c: Use double quotes in code.
7458
        * libc/locale/locale.tex: Likewise.
7459
        * libc/libc.texinfo: Hyphenate "floating-point".
7460
        * libc/machine/necv70/necv70.tex: Likewise.
7461
        * libc/stdio/sprintf.c: Likewise.
7462
        * libc/stdio/sscanf.c: Likewise.
7463
        * libc/stdlib/atof.c: Likewise.
7464
        * libc/stdlib/ldtoa.c: Fix comment typo.
7465
        * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
7466
        * libc/stdlib/ldiv.c: Likewise.
7467
        * libm/common/s_expm1.c: Likewise.
7468
        * libm/common/s_ilogb.c: Hyphenate "floating-point".  Use "nonzero".
7469
        * libm/common/s_infinity: Hyphenate "double- and single-precision".
7470
        * libm/common/s_nan.c: Likewise.  Also correct the FUNCTION summary.
7471
        * libm/common/s_nextafter.c: Fix typo.  Hyphenate "double-precision"
7472
        and "floating-point".
7473
        * libm/common/s_scalbn.c: Correct the FUNCTION summary.
7474
        * libm/math/e_pow.c: Fix comment typo.
7475
        * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
7476
        * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
7477
        * libm/math/s_atan.c: Likewise.
7478
        * libm/math/s_frexp.c: Likewise.  Also use "nonzero".
7479
        * libm/math/s_isnan.c: Hyphenate "single-precision" and
7480
        "floating-point".  Use "nonzero".
7481
        * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7482
        * libm/math/w_acos.c: Likewise.
7483
        * libm/math/w_acosh.c: Likewise.
7484
        * libm/math/w_asin.c: Likewise.
7485
        * libm/math/w_atan2.c: Likewise.
7486
        * libm/math/w_atanh.c: Likewise.
7487
        * libm/math/w_cosh.c: Likewise.
7488
        * libm/math/w_exp.c: Likewise.
7489
        * libm/math/w_exp2.c: Likewise.  Add missing @end and missing @tex
7490
        version of 2^x in the description.
7491
        * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
7492
        * libm/math/w_gamma.c: Likewise.
7493
        * libm/math/w_hypot.c: Likewise.
7494
        * libm/math/w_j0.c: Likewise.
7495
        * libm/math/w_sinh.c: Likewise.
7496
        * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
7497
        * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
7498
        "floating-point".
7499
        * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
7500
        * libm/mathfp/e_atanh.c: Likewise.
7501
        * libm/mathfp/e_hypot.c: Likewise.
7502
        * libm/mathfp/er_lgamma.c: Likewise.
7503
        * libm/mathfp/s_acos.c: Likewise.
7504
        * libm/mathfp/s_asine.c: Likewise.
7505
        * libm/mathfp/s_asinh.c: Likewise.
7506
        * libm/mathfp/s_atan.c: Likewise.
7507
        * libm/mathfp/s_atan2.c: Likewise.
7508
        * libm/mathfp/s_atangent.c: Likewise.
7509
        * libm/mathfp/s_cosh.c: Likewise.
7510
        * libm/mathfp/s_exp.c: Likewise.
7511
        * libm/mathfp/s_fmod.c: Likewise.
7512
        * libm/mathfp/s_frexp.c: Likewise.  Also use "nonzero".
7513
        * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
7514
        "floating-point".  Use "nonzero".
7515
        * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
7516
        * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7517
        * libm/mathfp/s_sineh.c: Likewise.
7518
        * libm/mathfp/w_jn.c: Likewise.
7519
 
7520
2003-10-15  Alexandre Oliva  
7521
 
7522
        * Makefile.am: Add $(MAKE) comments to multido and multiclean
7523
        lines, to enable parallel make.
7524
        * Makefile.in: Rebuilt.
7525
 
7526
2003-10-14  Christopher Faylor  
7527
 
7528
        * libc/time/clock.c: Clarify documentation of return value when no
7529
        measurement is available.
7530
 
7531
2003-09-29  Ian Lance Taylor  
7532
 
7533
        * libm/configure.in: Check libm_machine_dir, not machine_dir.
7534
        * libm/configure: Regenerate.
7535
        * libm/Makefile.in: Ditto.
7536
 
7537
2003-09-29  J"orn Rennecke 
7538
 
7539
        * libc/machine/sh/strncpy.S: New file.
7540
        * libc/machine/sh/Makefile.am: Add entry & rule for new file.
7541
        * libc/machine/sh/Makefile.in: Regenerate.
7542
 
7543
2003-09-11  James E Wilson  
7544
 
7545
        * MAINTAINERS: Update my e-mail address.
7546
 
7547
2003-09-10  Corinna Vinschen  
7548
 
7549
        * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
7550
 
7551
2003-09-09  Jeff Johnston  
7552
 
7553
        * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
7554
        prototype.
7555
        * libc/machine/powerpc/simdldtoa.c: Remove prototype for
7556
        _simdldcheck().  Also add unsigned cast for index variable in
7557
        for loop using sizeof operators.
7558
        * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
7559
        * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
7560
        * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
7561
        plus fix shift calculation for determining if there is a
7562
        carry from word2.
7563
 
7564
2003-09-09  Corinna Vinschen  
7565
 
7566
        * libc/include/grp.h: Don't define setgrfile, group_from_gid and
7567
        setgroupent for Cygwin.
7568
 
7569
2003-09-05  Jeff Johnston  
7570
 
7571
        * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
7572
        is different for _REENT_SMALL than when using regular reent
7573
        struct.
7574
 
7575
2003-09-05  Ben Elliston  
7576
 
7577
        * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
7578
        modern versions of GCC issue a warning.
7579
 
7580
        * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
7581
        after continuation characters that induces a warning from modern
7582
        versions of GCC.
7583
 
7584
2003-09-04  Ben Elliston  
7585
 
7586
        * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
7587
        FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
7588
 
7589
2003-09-02  Thomas Pfaff  
7590
 
7591
        * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
7592
        * libc/stdlib/exit.c : Ditto.
7593
        * libc/stdlib/on_exit.c: Ditto.
7594
 
7595
2003-08-27  Corinna Vinschen  
7596
 
7597
        * libc/include/reent.h: Define stat64 as __stat64 when
7598
        compiling newlib for Cygwin.
7599
 
7600
2003-08-26  Jeff Johnston  
7601
 
7602
        * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
7603
        __stat64 when compiling newlib.
7604
 
7605
2003-08-26  Jeff Johnston  
7606
 
7607
        * libc/include/stdio.h: Allow the io64 function prototypes for
7608
        Cygwin when compiling newlib.
7609
        * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
7610
        to expose the Cygwin struct __stat64 type.
7611
        * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
7612
        pointer.
7613
        * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
7614
 
7615
2003-08-23  Christopher Faylor  
7616
 
7617
        * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
7618
        definition to fseeko64.
7619
 
7620
2003-08-22  Jeff Johnston  
7621
 
7622
        * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
7623
        * libc/stdio: Globally remove/replace all references to fp->_data.
7624
        Replace with _REENT or _GLOBAL_REENT where appropriate.
7625
        * libc/stdio/asprintf.c: Ditto.
7626
        * libc/stdio/fclose.c: Ditto.
7627
        * libc/stdio/fvwrite.c: Ditto.
7628
        * libc/stdio/makebuf.c: Ditto.
7629
        * libc/stdio/refill.c: Ditto.
7630
        * libc/stdio/local.h: Ditto.
7631
        * libc/stdio/setvbuf.c: Ditto.
7632
        * libc/stdio/sscanf.c: Ditto.
7633
        * libc/stdio/stdio.c: Ditto.
7634
        * libc/stdio/ungetc.c: Ditto.
7635
        * libc/stdio/vfscanf.c: Ditto.
7636
        * libc/stdio/vsscanf.c: Ditto.
7637
        * libc/stdio/fopen.c: Ditto.  Also use _fseek_r in _fopen_r.
7638
        * libc/stdio/vasprintf.c: Ditto.  Also call _vfprintf_r directly.
7639
        * libc/stdio/vsnprintf.c: Ditto.
7640
        * libc/stdio/vsprintf.c: Ditto.
7641
        * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
7642
        instead of _REENT to walk file list.
7643
        * libc/stdio/fflush.c: Ditto.
7644
        * libc/stdio/fgetpos.c: Add reentrant version and have regular
7645
        version call reentrant version with _REENT argument.
7646
        * libc/stdio/fsetpos.c: Ditto.
7647
        * libc/stdio/fseek.c: Ditto.
7648
        * libc/stdio/fseeko.c: Ditto.
7649
        * libc/stdio/ftell.c: Ditto.
7650
        * libc/stdio/ftello.c: Ditto.
7651
        * libc/stdio/freopen.c: Ditto.
7652
        * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
7653
        new files to chain.  Also use _GLOBAL_REENT pointer for
7654
        cleaning up.
7655
        * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
7656
        * libc/stdio/siprintf.c: Ditto.
7657
        * libc/stdio/iprintf.c: Ditto.
7658
        * libc/stdio/fprintf.c: Ditto.
7659
        * libc/stdio/printf.c: Ditto.
7660
        * libc/stdio/snprintf.c: Call _vfprintf_r directly.
7661
        * libc/stdio/sprintf.c: Ditto.
7662
        * libc/stdio/vprintf.c: Ditto.  Also add _REENT_ONLY check.
7663
        * libc/stdio/rewind.c: Call _fseek_r directly.
7664
        * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
7665
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
7666
        data pointer.
7667
        (get_arg): Add extra struct _reent pointer argument.
7668
        * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
7669
        to fp->_data.
7670
        * libc/stdio64/fopen64.c: Ditto.
7671
        * libc/stdio64/freopen64.c: Ditto.
7672
        * libc/stdio64/fsetpos64.c: Ditto.
7673
        * libc/stdio64/ftello64.c: Ditto.
7674
        * libc/stdio64/local64.h: Ditto.
7675
        * libc/stdio64/stdio64.c: Ditto.
7676
        * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
7677
        _fstat64_r for the meantime.
7678
 
7679
2003-08-19  Jeff Johnston  
7680
 
7681
        * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
7682
        overflow detection.
7683
 
7684
2003-08-13  Aldy Hernandez  
7685
 
7686
        * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
7687
        extern "C".
7688
 
7689
2003-08-13  Jeff Johnston  
7690
 
7691
        * libc/include/math.h: Add prototypes for __signbitf and
7692
        __signbitd.
7693
 
7694
2003-07-31  Jeff Johnston  
7695
 
7696
        * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
7697
        correct type of conversion when dealing with EUCJP or SJIS.
7698
        * libc/ctype/iswblank.c: Ditto.
7699
        * libc/ctype/iswcntrl.c: Ditto.
7700
        * libc/ctype/iswprint.c: Ditto.
7701
        * libc/ctype/iswpunct.c: Ditto.
7702
        * libc/ctype/iswspace.c: Ditto.
7703
        * libc/ctype/towlower.c: Ditto.
7704
        * libc/ctype/towupper.c: Ditto.
7705
 
7706
2003-07-31  Nick Clifton  
7707
 
7708
        * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
7709
        before calling main, in case it saves its argument registers.
7710
        Remove reference to deleted v850ea port.
7711
        * configure.host: Remove reference to deleted v850ea port.
7712
        Do not use -mv850 when building for v850e target.  This
7713
        prevents the ctbp system register from being initialised.
7714
 
7715
2003-07-29  Honda Hiroki  
7716
 
7717
        * libc/stdio/vfprintf.c: Set output size to 1 when
7718
        we have %f format with precision 0 and # flag not specified.
7719
 
7720
2003-07-29  Alexandre Oliva  
7721
 
7722
        * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
7723
        .am33_2.
7724
 
7725
2003-07-25  Christopher Faylor  
7726
 
7727
        * libc/stdio64/fdopen64.c: Include sys/lock.h.
7728
 
7729
2003-07-25  Christopher Faylor  
7730
 
7731
        * configure.host: Find cygwin include directory, when appropriate.
7732
 
7733
2003-07-24  Christopher Faylor  
7734
 
7735
        * libc/stdio64/fdopen64.c: New file.
7736
        * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
7737
        * libc/stdio64/Makefile.in: Regenerate.
7738
        * libc/include/stdio.h (fdopen64): Define.
7739
        * libc/include/stdio.h (_fdopen64_r): Ditto.
7740
 
7741
2003-07-10  Alexandre Oliva  
7742
 
7743
        2000-04-27  Alexandre Oliva  
7744
        * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
7745
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
7746
        restore callee-saved FP registers.
7747
 
7748
2003-07-10  J"orn Rennecke 
7749
 
7750
        * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
7751
        for __sh__.
7752
        * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
7753
        truncate.c.
7754
        * libc/sys/sh/Makefile.in: Regenerate.
7755
        * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
7756
        * libc/sys/sh/ftruncate.c: New file.
7757
        * libc/sys/sh/truncate.c: Likewise.
7758
 
7759
2003-07-09  Alexandre Oliva  
7760
 
7761
        * libc/include/math.h (nan, nanf): Update prototype to C99.
7762
        * libm/common/s_nan.c (nan): Likewise.
7763
        * libm/common/s_nanf.c (nanf, nan): Likewise.
7764
        * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
7765
 
7766
2003-07-07  Jeff Johnston  
7767
 
7768
        * libc/include/stdbool.h: Removed as this is defined by gcc.
7769
 
7770
2003-07-03  Shaun Jackman  
7771
 
7772
        * libc/include/stdbool.h: New header file defined by C99.
7773
 
7774
2003-07-02  Jeff Johnston  
7775
 
7776
        * libc/include/sys/types.h (int8_t): Make signed.
7777
 
7778
2003-07-02  Jeff Johnston  
7779
 
7780
        * libc/sys/linux/include/mqueue.h: Add include of .
7781
 
7782
2003-06-27  Jose Goncalves  
7783
 
7784
        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
7785
        on if we actually created the shared memory file exclusively.
7786
 
7787
2003-06-27  Joe Vornehm  
7788
 
7789
        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
7790
        comparisons to account for unsigned internal value w.
7791
 
7792
2003-06-26  Jeff Johnston  
7793
 
7794
        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
7795
        wrbuf for a non-creating open.
7796
 
7797
2003-06-24  Kazu Hirata  
7798
 
7799
        * libc/machine/h8300/setarch.h: New.
7800
        * libc/machine/h8300/memcpy.S: Use it.
7801
        * libc/machine/h8300/memset.S: Likewise.
7802
        * libc/machine/h8300/reg_memcpy.S: Likewise.
7803
        * libc/machine/h8300/reg_memset.S: Likewise.
7804
        * libc/machine/h8300/setjmp.S: Likewise.
7805
        * libc/machine/h8300/strcmp.S: Likewise.
7806
 
7807
2003-06-24  Richard Sandiford  
7808
 
7809
        * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
7810
        to atexit().
7811
 
7812
2003-06-20  Jeff Johnston  
7813
 
7814
        * configure.host (iq2000): Add tabs.
7815
 
7816
2003-06-20  Jeff Johnston  
7817
 
7818
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
7819
        to handle latest on_exit change.
7820
        * libc/sys/linux/Makefile.am: Remove special compilation
7821
        for malloc.c and mcheck.c.
7822
        * libc/sys/linux/Makefile.in: Regenerated.
7823
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
7824
        after including .
7825
        * libc/sys/linux/mcheck.c: Ditto.
7826
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
7827
        for .
7828
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
7829
        add -DNOT_IN_libc to C flags.
7830
        * libc/sys/linux/intl/Makefile.in: Regenerated.
7831
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
7832
        * libc/sys/linux/linuxthreads/semaphore.h: Include
7833
        .
7834
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
7835
        including .
7836
        * libc/sys/linux/sys/lock.h: Ditto.
7837
 
7838
2003-06-11  Nick Clifton  
7839
 
7840
        * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
7841
        _on_exit_args_ptr.
7842
 
7843
2003-06-10  Stan Cox  
7844
            Anthony Green  
7845
 
7846
        * configure.host: Add iq2000 support.
7847
        * newlib/libc/include/machine/ieeefp.h: Ditto.
7848
        * newlib/libc/include/machine/setjmp.h: Ditto.
7849
        * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
7850
        libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
7851
        libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
7852
        libc/machine/iq2000/Makefile.in: New files.
7853
 
7854
2003-06-10  Richard Sandiford  
7855
 
7856
        * libc/sys/h8300hms/setarch.h: New file.
7857
        * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
7858
        libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
7859
        libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
7860
        libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
7861
 
7862
2003-06-06  Jeff Johnston  
7863
 
7864
        * libc/argz/argz_add.c: Change to use _DEFUN macro for function
7865
        definition.
7866
        * libc/argz/argz_add_sep.c: Ditto.
7867
        * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
7868
        * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
7869
        * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
7870
        * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
7871
        * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
7872
        * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
7873
        * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
7874
        * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
7875
        * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
7876
        * libc/posix/closedir.c libc/posix/creat.c: Ditto.
7877
        * libc/posix/execl.c libc/posix/execle.c: Ditto.
7878
        * libc/posix/execlp.c libc/posix/execve.c: Ditto.
7879
        * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
7880
        * libc/posix/popen.c libc/posix/readdir.c: Ditto.
7881
        * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
7882
        * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
7883
        * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
7884
        * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
7885
        * libc/search/tfind.c libc/search/tsearch.c: Ditto.
7886
        * libc/search/twalk.c libc/signal/signal.c: Ditto.
7887
 
7888
2003-06-05  Nick Clifton  
7889
 
7890
        * libc/include/sys/reent.h (struct _on_exit_args): New
7891
        structure containing fields used by the on_exit() function.
7892
        (struct _atexit): Include struct _on_exit_args.  For
7893
        _REENT_SMALL do his via a pointer that is initialised when
7894
        needed.
7895
        * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
7896
        structure, if one has been allocated.
7897
        * libc/stdlib/atexit.c (atexit): Update indirection to
7898
        _fntypes field.
7899
        * libc/stdlib/on_exit.c (on_exit): Indirect via the
7900
        _on_exit_args structure.  For _REENT_SMALL, allocate a
7901
        structure if one does not exist.
7902
        * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
7903
        structure.
7904
 
7905
2003-06-04  Jeff Johnston  
7906
 
7907
        * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
7908
        * libc/sys/linux/net/Makefile.in: Regenerated.
7909
 
7910
2003-06-03  Jeff Johnston  
7911
 
7912
        * libc/reent/execr.c: Use _DEFUN macro for function declaration.
7913
        * libc/reent/fcntlr.c: Ditto.
7914
        * libc/reent/fstat64r.c: Ditto.
7915
        * libc/reent/linkr.c: Ditto.
7916
        * libc/reent/lseek64r.c: Ditto.
7917
        * libc/reent/lseekr.c: Ditto.
7918
        * libc/reent/openr.c: Ditto.
7919
        * libc/reent/readr.c: Ditto.
7920
        * libc/reent/reent.c: Ditto.
7921
        * libc/reent/sbrkr.c: Ditto.
7922
        * libc/reent/signalr.c: Ditto.
7923
        * libc/reent/signgam.c: Ditto.
7924
        * libc/reent/statr.c: Ditto.
7925
        * libc/reent/timer.c: Ditto.
7926
        * libc/reent/unlinkr.c: Ditto.
7927
        * libc/reent/writer.c: Ditto.
7928
        * libc/syscalls/sysclose.c: Ditto.
7929
        * libc/syscalls/sysexecve.c: Ditto.
7930
        * libc/syscalls/sysfcntl.c: Ditto.
7931
        * libc/syscalls/sysfork.c: Ditto.
7932
        * libc/syscalls/sysfstat.c: Ditto.
7933
        * libc/syscalls/sysgetpid.c: Ditto.
7934
        * libc/syscalls/sysgettod.c: Ditto.
7935
        * libc/syscalls/syskill.c: Ditto.
7936
        * libc/syscalls/syslink.c: Ditto.
7937
        * libc/syscalls/syslseek.c: Ditto.
7938
        * libc/syscalls/sysopen.c: Ditto.
7939
        * libc/syscalls/sysread.c: Ditto.
7940
        * libc/syscalls/syssbrk.c: Ditto.
7941
        * libc/syscalls/sysstat.c: Ditto.
7942
        * libc/syscalls/systimes.c: Ditto.
7943
        * libc/syscalls/sysunlink.c: Ditto.
7944
        * libc/syscalls/syswait.c: Ditto.
7945
        * libc/syscalls/syswrite.c: Ditto.
7946
 
7947
2003-06-03  Till Straumann  
7948
 
7949
        * libc/time/tzset_r.c: Change local variables that are
7950
        set via sscanf using the %h format specifier to be unsigned short
7951
        instead of int.
7952
 
7953
2003-05-30  Kelley Cook  
7954
 
7955
        * configure.host:  Allow i[34567]86 variant.
7956
        * configure.in: Likewise.
7957
        * README: Likewise to the docs.
7958
        * configure: Regenerated.
7959
        * Makefile.in: Ditto.
7960
 
7961
2003-05-28  Jeff Johnston  
7962
            Tom Fitzsimmons  
7963
 
7964
        * configure.in: Add iconvdata support for x86 linux.
7965
        * configure: Regenerated.
7966
        * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
7967
        library, iconv, and linuxthreads support.
7968
        * libc/sys/linux/configure.in: Ditto.
7969
        * libc/sys/linux/Makefile.in: Regenerated.
7970
        * libc/sys/linux/configure: Ditto.
7971
        * iconvdata/EUC-JP.irreversible: New file.
7972
        * iconvdata/Makefile.am: Ditto.
7973
        * iconvdata/Makefile.in: Ditto.
7974
        * iconvdata/SJIS.irreversible: Ditto.
7975
        * iconvdata/aclocal.m4: Ditto.
7976
        * iconvdata/configure: Ditto.
7977
        * iconvdata/configure.in: Ditto.
7978
        * iconvdata/dummy.c: Ditto.
7979
        * iconvdata/euc-jp.c: Ditto.
7980
        * iconvdata/gconv-modules: Ditto.
7981
        * iconvdata/jis0201.c: Ditto.
7982
        * iconvdata/jis0201.h: Ditto.
7983
        * iconvdata/jis0208.c: Ditto.
7984
        * iconvdata/jis0208.h: Ditto.
7985
        * iconvdata/jis0212.c: Ditto.
7986
        * iconvdata/jis0212.h: Ditto.
7987
        * iconvdata/sjis.c: Ditto.
7988
        * libc/include/errno.h: Protect definition of error_t.
7989
        * libc/sys/linux/gethostid.c: New file.
7990
        * libc/sys/linux/sethostid.c: Ditto.
7991
        * libc/sys/linux/dl/Makefile.am: Ditto.
7992
        * libc/sys/linux/dl/Makefile.in: Ditto.
7993
        * libc/sys/linux/dl/abi-tag.h: Ditto.
7994
        * libc/sys/linux/dl/atomicity.h: Ditto.
7995
        * libc/sys/linux/dl/dl-addr.c: Ditto.
7996
        * libc/sys/linux/dl/dl-cache.c: Ditto.
7997
        * libc/sys/linux/dl/dl-cache.h: Ditto.
7998
        * libc/sys/linux/dl/dl-close.c: Ditto.
7999
        * libc/sys/linux/dl/dl-debug.c: Ditto.
8000
        * libc/sys/linux/dl/dl-deps.c: Ditto.
8001
        * libc/sys/linux/dl/dl-dst.h: Ditto.
8002
        * libc/sys/linux/dl/dl-error.c: Ditto.
8003
        * libc/sys/linux/dl/dl-fini.c: Ditto.
8004
        * libc/sys/linux/dl/dl-init.c: Ditto.
8005
        * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
8006
        * libc/sys/linux/dl/dl-libc.c: Ditto.
8007
        * libc/sys/linux/dl/dl-librecon.h: Ditto.
8008
        * libc/sys/linux/dl/dl-load.c: Ditto.
8009
        * libc/sys/linux/dl/dl-lookup.c: Ditto.
8010
        * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
8011
        * libc/sys/linux/dl/dl-minimal.c: Ditto.
8012
        * libc/sys/linux/dl/dl-misc.c: Ditto.
8013
        * libc/sys/linux/dl/dl-object.c: Ditto.
8014
        * libc/sys/linux/dl/dl-open.c: Ditto.
8015
        * libc/sys/linux/dl/dl-osinfo.h: Ditto.
8016
        * libc/sys/linux/dl/dl-profile.c: Ditto.
8017
        * libc/sys/linux/dl/dl-profstub.c: Ditto.
8018
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
8019
        * libc/sys/linux/dl/dl-runtime.c: Ditto.
8020
        * libc/sys/linux/dl/dl-support.c: Ditto.
8021
        * libc/sys/linux/dl/dl-sym.c: Ditto.
8022
        * libc/sys/linux/dl/dl-version.c: Ditto.
8023
        * libc/sys/linux/dl/dlfcn.h: Ditto.
8024
        * libc/sys/linux/dl/do-lookup.h: Ditto.
8025
        * libc/sys/linux/dl/do-rel.h: Ditto.
8026
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
8027
        * libc/sys/linux/dl/kernel-features.h: Ditto.
8028
        * libc/sys/linux/dl/ldsodefs.h: Ditto.
8029
        * libc/sys/linux/dl/libintl.h: Ditto.
8030
        * libc/sys/linux/dl/trusted-dirs.h: Ditto.
8031
        * libc/sys/linux/dl/unsecvars.h: Ditto.
8032
        * libc/sys/linux/iconv/Makefile.am: Ditto.
8033
        * libc/sys/linux/iconv/Makefile.in: Ditto.
8034
        * libc/sys/linux/iconv/categories.def: Ditto.
8035
        * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
8036
        * libc/sys/linux/iconv/gconv.c: Ditto.
8037
        * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
8038
        * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
8039
        * libc/sys/linux/iconv/gconv_cache.c: Ditto.
8040
        * libc/sys/linux/iconv/gconv_charset.h: Ditto.
8041
        * libc/sys/linux/iconv/gconv_close.c: Ditto.
8042
        * libc/sys/linux/iconv/gconv_conf.c: Ditto.
8043
        * libc/sys/linux/iconv/gconv_db.c: Ditto.
8044
        * libc/sys/linux/iconv/gconv_dl.c: Ditto.
8045
        * libc/sys/linux/iconv/gconv_int.h: Ditto.
8046
        * libc/sys/linux/iconv/gconv_open.c: Ditto.
8047
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
8048
        * libc/sys/linux/iconv/gconv_trans.c: Ditto.
8049
        * libc/sys/linux/iconv/hash-string.h: Ditto.
8050
        * libc/sys/linux/iconv/iconv.c: Ditto.
8051
        * libc/sys/linux/iconv/iconv.h: Ditto.
8052
        * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
8053
        * libc/sys/linux/iconv/iconv_close.c: Ditto.
8054
        * libc/sys/linux/iconv/iconv_open.c: Ditto.
8055
        * libc/sys/linux/iconv/iconvconfig.c: Ditto.
8056
        * libc/sys/linux/iconv/iconvconfig.h: Ditto.
8057
        * libc/sys/linux/iconv/loadinfo.h: Ditto.
8058
        * libc/sys/linux/iconv/localeinfo.h: Ditto.
8059
        * libc/sys/linux/iconv/loop.c: Ditto.
8060
        * libc/sys/linux/iconv/skeleton.c: Ditto.
8061
        * libc/sys/linux/iconv/strtab.c: Ditto.
8062
        * libc/sys/linux/include/dl-hash.h: Ditto.
8063
        * libc/sys/linux/include/dlfcn.h: Ditto.
8064
        * libc/sys/linux/include/fnmatch.h: Ditto.
8065
        * libc/sys/linux/include/gconv.h: Ditto.
8066
        * libc/sys/linux/include/glob.h: Ditto.
8067
        * libc/sys/linux/include/hesiod.h: Ditto.
8068
        * libc/sys/linux/include/ifaddrs.h: Ditto.
8069
        * libc/sys/linux/include/libc_private.h: Ditto.
8070
        * libc/sys/linux/include/link.h: Ditto.
8071
        * libc/sys/linux/include/namespace.h: Ditto.
8072
        * libc/sys/linux/include/netconfig.h: Ditto.
8073
        * libc/sys/linux/include/netdb.h: Ditto.
8074
        * libc/sys/linux/include/nsswitch.h: Ditto.
8075
        * libc/sys/linux/include/regex.h: Ditto.
8076
        * libc/sys/linux/include/resolv.h: Ditto.
8077
        * libc/sys/linux/include/rune.h: Ditto.
8078
        * libc/sys/linux/include/runetype.h: Ditto.
8079
        * libc/sys/linux/include/semaphore.h: Ditto.
8080
        * libc/sys/linux/include/setlocale.h: Ditto.
8081
        * libc/sys/linux/include/un-namespace.h: Ditto.
8082
        * libc/sys/linux/include/wordexp.h: Ditto.
8083
        * libc/sys/linux/include/arpa/ftp.h: Ditto.
8084
        * libc/sys/linux/include/arpa/inet.h: Ditto.
8085
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
8086
        * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
8087
        * libc/sys/linux/include/arpa/telnet.h: Ditto.
8088
        * libc/sys/linux/include/arpa/tftp.h: Ditto.
8089
        * libc/sys/linux/include/net/bpf.h: Ditto.
8090
        * libc/sys/linux/include/net/bpf_compat.h: Ditto.
8091
        * libc/sys/linux/include/net/bpfdesc.h: Ditto.
8092
        * libc/sys/linux/include/net/bridge.h: Ditto.
8093
        * libc/sys/linux/include/net/ethernet.h: Ditto.
8094
        * libc/sys/linux/include/net/fddi.h: Ditto.
8095
        * libc/sys/linux/include/net/if.h: Ditto.
8096
        * libc/sys/linux/include/net/if_arc.h: Ditto.
8097
        * libc/sys/linux/include/net/if_arp.h: Ditto.
8098
        * libc/sys/linux/include/net/if_atm.h: Ditto.
8099
        * libc/sys/linux/include/net/if_dl.h: Ditto.
8100
        * libc/sys/linux/include/net/if_gif.h: Ditto.
8101
        * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
8102
        * libc/sys/linux/include/net/if_llc.h: Ditto.
8103
        * libc/sys/linux/include/net/if_media.h: Ditto.
8104
        * libc/sys/linux/include/net/if_mib.h: Ditto.
8105
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
8106
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
8107
        * libc/sys/linux/include/net/if_slvar.h: Ditto.
8108
        * libc/sys/linux/include/net/if_sppp.h: Ditto.
8109
        * libc/sys/linux/include/net/if_stf.h: Ditto.
8110
        * libc/sys/linux/include/net/if_tap.h: Ditto.
8111
        * libc/sys/linux/include/net/if_tapvar.h: Ditto.
8112
        * libc/sys/linux/include/net/if_tun.h: Ditto.
8113
        * libc/sys/linux/include/net/if_tunvar.h: Ditto.
8114
        * libc/sys/linux/include/net/if_types.h: Ditto.
8115
        * libc/sys/linux/include/net/if_var.h: Ditto.
8116
        * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
8117
        * libc/sys/linux/include/net/intrq.h: Ditto.
8118
        * libc/sys/linux/include/net/iso88025.h: Ditto.
8119
        * libc/sys/linux/include/net/net_osdep.h: Ditto.
8120
        * libc/sys/linux/include/net/netisr.h: Ditto.
8121
        * libc/sys/linux/include/net/pfil.h: Ditto.
8122
        * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
8123
        * libc/sys/linux/include/net/ppp_comp.h: Ditto.
8124
        * libc/sys/linux/include/net/ppp_defs.h: Ditto.
8125
        * libc/sys/linux/include/net/radix.h: Ditto.
8126
        * libc/sys/linux/include/net/raw_cb.h: Ditto.
8127
        * libc/sys/linux/include/net/route.h: Ditto.
8128
        * libc/sys/linux/include/net/slcompress.h: Ditto.
8129
        * libc/sys/linux/include/net/slip.h: Ditto.
8130
        * libc/sys/linux/include/net/zlib.h: Ditto.
8131
        * libc/sys/linux/include/netinet/icmp6.h: Ditto.
8132
        * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
8133
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
8134
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
8135
        * libc/sys/linux/include/netinet/igmp.h: Ditto.
8136
        * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
8137
        * libc/sys/linux/include/netinet/in.h: Ditto.
8138
        * libc/sys/linux/include/netinet/in_gif.h: Ditto.
8139
        * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
8140
        * libc/sys/linux/include/netinet/in_systm.h: Ditto.
8141
        * libc/sys/linux/include/netinet/in_var.h: Ditto.
8142
        * libc/sys/linux/include/netinet/ip.h: Ditto.
8143
        * libc/sys/linux/include/netinet/ip6.h: Ditto.
8144
        * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
8145
        * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
8146
        * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
8147
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
8148
        * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
8149
        * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
8150
        * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
8151
        * libc/sys/linux/include/netinet/ip_var.h: Ditto.
8152
        * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
8153
        * libc/sys/linux/include/netinet/tcp.h: Ditto.
8154
        * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
8155
        * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
8156
        * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
8157
        * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
8158
        * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
8159
        * libc/sys/linux/include/netinet/tcpip.h: Ditto.
8160
        * libc/sys/linux/include/netinet/udp.h: Ditto.
8161
        * libc/sys/linux/include/netinet/udp_var.h: Ditto.
8162
        * libc/sys/linux/include/netinet6/ah.h: Ditto.
8163
        * libc/sys/linux/include/netinet6/ah6.h: Ditto.
8164
        * libc/sys/linux/include/netinet6/esp.h: Ditto.
8165
        * libc/sys/linux/include/netinet6/esp6.h: Ditto.
8166
        * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
8167
        * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
8168
        * libc/sys/linux/include/netinet6/in6.h: Ditto.
8169
        * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
8170
        * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
8171
        * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
8172
        * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
8173
        * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
8174
        * libc/sys/linux/include/netinet6/ip6.h: Ditto.
8175
        * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
8176
        * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
8177
        * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
8178
        * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
8179
        * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
8180
        * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
8181
        * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
8182
        * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
8183
        * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
8184
        * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
8185
        * libc/sys/linux/include/netinet6/nd6.h: Ditto.
8186
        * libc/sys/linux/include/netinet6/pim6.h: Ditto.
8187
        * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
8188
        * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
8189
        * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
8190
        * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
8191
        * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
8192
        * libc/sys/linux/include/netns/idp.h: Ditto.
8193
        * libc/sys/linux/include/netns/idp_var.h: Ditto.
8194
        * libc/sys/linux/include/netns/ns.h: Ditto.
8195
        * libc/sys/linux/include/netns/ns_error.h: Ditto.
8196
        * libc/sys/linux/include/netns/ns_if.h: Ditto.
8197
        * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
8198
        * libc/sys/linux/include/netns/sp.h: Ditto.
8199
        * libc/sys/linux/include/netns/spidp.h: Ditto.
8200
        * libc/sys/linux/include/netns/spp_debug.h: Ditto.
8201
        * libc/sys/linux/include/netns/spp_timer.h: Ditto.
8202
        * libc/sys/linux/include/netns/spp_var.h: Ditto.
8203
        * libc/sys/linux/include/rpc/Makefile: Ditto.
8204
        * libc/sys/linux/include/rpc/auth.h: Ditto.
8205
        * libc/sys/linux/include/rpc/auth_des.h: Ditto.
8206
        * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
8207
        * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
8208
        * libc/sys/linux/include/rpc/clnt.h: Ditto.
8209
        * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
8210
        * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
8211
        * libc/sys/linux/include/rpc/des.h: Ditto.
8212
        * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
8213
        * libc/sys/linux/include/rpc/nettype.h: Ditto.
8214
        * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
8215
        * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
8216
        * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
8217
        * libc/sys/linux/include/rpc/raw.h: Ditto.
8218
        * libc/sys/linux/include/rpc/rpc.h: Ditto.
8219
        * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
8220
        * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
8221
        * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
8222
        * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
8223
        * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
8224
        * libc/sys/linux/include/rpc/rpcent.h: Ditto.
8225
        * libc/sys/linux/include/rpc/svc.h: Ditto.
8226
        * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
8227
        * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
8228
        * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
8229
        * libc/sys/linux/include/rpc/types.h: Ditto.
8230
        * libc/sys/linux/include/rpc/xdr.h: Ditto.
8231
        * libc/sys/linux/intl/Makefile.am: Ditto.
8232
        * libc/sys/linux/intl/Makefile.in: Ditto.
8233
        * libc/sys/linux/intl/bindtextdom.c: Ditto.
8234
        * libc/sys/linux/intl/catgets.c: Ditto.
8235
        * libc/sys/linux/intl/catgetsinfo.h: Ditto.
8236
        * libc/sys/linux/intl/config.h: Ditto.
8237
        * libc/sys/linux/intl/dcgettext.c: Ditto.
8238
        * libc/sys/linux/intl/dcigettext.c: Ditto.
8239
        * libc/sys/linux/intl/dcngettext.c: Ditto.
8240
        * libc/sys/linux/intl/dgettext.c: Ditto.
8241
        * libc/sys/linux/intl/dngettext.c: Ditto.
8242
        * libc/sys/linux/intl/explodename.c: Ditto.
8243
        * libc/sys/linux/intl/finddomain.c: Ditto.
8244
        * libc/sys/linux/intl/gettext.c: Ditto.
8245
        * libc/sys/linux/intl/gettext.h: Ditto.
8246
        * libc/sys/linux/intl/gettextP.h: Ditto.
8247
        * libc/sys/linux/intl/hash-string.h: Ditto.
8248
        * libc/sys/linux/intl/l10nflist.c: Ditto.
8249
        * libc/sys/linux/intl/loadinfo.h: Ditto.
8250
        * libc/sys/linux/intl/loadmsgcat.c: Ditto.
8251
        * libc/sys/linux/intl/locale.alias: Ditto.
8252
        * libc/sys/linux/intl/localealias.c: Ditto.
8253
        * libc/sys/linux/intl/ngettext.c: Ditto.
8254
        * libc/sys/linux/intl/open_catalog.c: Ditto.
8255
        * libc/sys/linux/intl/plural.c: Ditto.
8256
        * libc/sys/linux/intl/plural.y: Ditto.
8257
        * libc/sys/linux/intl/stpcpy.c: Ditto.
8258
        * libc/sys/linux/intl/textdomain.c: Ditto.
8259
        * libc/sys/linux/linuxthreads/LICENSE: Ditto.
8260
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
8261
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
8262
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
8263
        * libc/sys/linux/linuxthreads/attr.c: Ditto.
8264
        * libc/sys/linux/linuxthreads/barrier.c: Ditto.
8265
        * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
8266
        * libc/sys/linux/linuxthreads/cancel.c: Ditto.
8267
        * libc/sys/linux/linuxthreads/condvar.c: Ditto.
8268
        * libc/sys/linux/linuxthreads/config.h: Ditto.
8269
        * libc/sys/linux/linuxthreads/configure: Ditto.
8270
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
8271
        * libc/sys/linux/linuxthreads/defs.awk: Ditto.
8272
        * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
8273
        * libc/sys/linux/linuxthreads/events.c: Ditto.
8274
        * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
8275
        * libc/sys/linux/linuxthreads/getreent.c: Ditto.
8276
        * libc/sys/linux/linuxthreads/internals.h: Ditto.
8277
        * libc/sys/linux/linuxthreads/join.c: Ditto.
8278
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
8279
        * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
8280
        * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
8281
        * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
8282
        * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
8283
        * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
8284
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
8285
        * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
8286
        * libc/sys/linux/linuxthreads/mutex.c: Ditto.
8287
        * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
8288
        * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
8289
        * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
8290
        * libc/sys/linux/linuxthreads/prio.c: Ditto.
8291
        * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
8292
        * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
8293
        * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
8294
        * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
8295
        * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
8296
        * libc/sys/linux/linuxthreads/pthread.c: Ditto.
8297
        * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
8298
        * libc/sys/linux/linuxthreads/queue.h: Ditto.
8299
        * libc/sys/linux/linuxthreads/reent.c: Ditto.
8300
        * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
8301
        * libc/sys/linux/linuxthreads/restart.h: Ditto.
8302
        * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
8303
        * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
8304
        * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
8305
        * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
8306
        * libc/sys/linux/linuxthreads/signals.c: Ditto.
8307
        * libc/sys/linux/linuxthreads/specific.c: Ditto.
8308
        * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
8309
        * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
8310
        * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
8311
        * libc/sys/linux/linuxthreads/td_init.c: Ditto.
8312
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
8313
        * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
8314
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
8315
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
8316
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
8317
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
8318
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
8319
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
8320
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
8321
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
8322
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
8323
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
8324
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
8325
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
8326
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
8327
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
8328
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
8329
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
8330
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
8331
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
8332
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
8333
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
8334
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
8335
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
8336
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
8337
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
8338
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
8339
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
8340
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
8341
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
8342
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
8343
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
8344
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
8345
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
8346
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
8347
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
8348
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
8349
        * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
8350
        * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
8351
        * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
8352
        * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
8353
        * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
8354
        * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
8355
        * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
8356
        * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
8357
        * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
8358
        * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
8359
        * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
8360
        * libc/sys/linux/linuxthreads/tststack.c: Ditto.
8361
        * libc/sys/linux/linuxthreads/unload.c: Ditto.
8362
        * libc/sys/linux/linuxthreads/weaks.c: Ditto.
8363
        * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
8364
        * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
8365
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
8366
        * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
8367
        * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
8368
        * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
8369
        * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
8370
        * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
8371
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
8372
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
8373
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
8374
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
8375
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
8376
        * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
8377
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
8378
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
8379
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
8380
        * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
8381
        * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
8382
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
8383
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
8384
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
8385
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
8386
        * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
8387
        * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
8388
        * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
8389
        * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
8390
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
8391
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
8392
        * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
8393
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
8394
        * libc/sys/linux/net/Makefile.am: Ditto.
8395
        * libc/sys/linux/net/Makefile.in: Ditto.
8396
        * libc/sys/linux/net/addr2ascii.3: Ditto.
8397
        * libc/sys/linux/net/addr2ascii.c: Ditto.
8398
        * libc/sys/linux/net/ascii2addr.c: Ditto.
8399
        * libc/sys/linux/net/base64.c: Ditto.
8400
        * libc/sys/linux/net/bindresvport.c: Ditto.
8401
        * libc/sys/linux/net/byteorder.3: Ditto.
8402
        * libc/sys/linux/net/ether_addr.c: Ditto.
8403
        * libc/sys/linux/net/ethers.3: Ditto.
8404
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
8405
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
8406
        * libc/sys/linux/net/gethostbydns.c: Ditto.
8407
        * libc/sys/linux/net/gethostbyht.c: Ditto.
8408
        * libc/sys/linux/net/gethostbyname.3: Ditto.
8409
        * libc/sys/linux/net/gethostbynis.c: Ditto.
8410
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
8411
        * libc/sys/linux/net/getifaddrs.3: Ditto.
8412
        * libc/sys/linux/net/getifaddrs.c: Ditto.
8413
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
8414
        * libc/sys/linux/net/getnameinfo.3: Ditto.
8415
        * libc/sys/linux/net/getnameinfo.c: Ditto.
8416
        * libc/sys/linux/net/getnetbydns.c: Ditto.
8417
        * libc/sys/linux/net/getnetbyht.c: Ditto.
8418
        * libc/sys/linux/net/getnetbynis.c: Ditto.
8419
        * libc/sys/linux/net/getnetent.3: Ditto.
8420
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
8421
        * libc/sys/linux/net/getproto.c: Ditto.
8422
        * libc/sys/linux/net/getprotoent.3: Ditto.
8423
        * libc/sys/linux/net/getprotoent.c: Ditto.
8424
        * libc/sys/linux/net/getprotoname.c: Ditto.
8425
        * libc/sys/linux/net/getservbyname.c: Ditto.
8426
        * libc/sys/linux/net/getservbyport.c: Ditto.
8427
        * libc/sys/linux/net/getservent.3: Ditto.
8428
        * libc/sys/linux/net/getservent.c: Ditto.
8429
        * libc/sys/linux/net/herror.c: Ditto.
8430
        * libc/sys/linux/net/hesiod.3: Ditto.
8431
        * libc/sys/linux/net/hesiod.c: Ditto.
8432
        * libc/sys/linux/net/if_indextoname.3: Ditto.
8433
        * libc/sys/linux/net/ifname.c: Ditto.
8434
        * libc/sys/linux/net/inet.3: Ditto.
8435
        * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
8436
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
8437
        * libc/sys/linux/net/inet_addr.c: Ditto.
8438
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
8439
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
8440
        * libc/sys/linux/net/inet_net.3: Ditto.
8441
        * libc/sys/linux/net/inet_net_ntop.c: Ditto.
8442
        * libc/sys/linux/net/inet_net_pton.c: Ditto.
8443
        * libc/sys/linux/net/inet_neta.c: Ditto.
8444
        * libc/sys/linux/net/inet_netof.c: Ditto.
8445
        * libc/sys/linux/net/inet_network.c: Ditto.
8446
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
8447
        * libc/sys/linux/net/inet_ntop.c: Ditto.
8448
        * libc/sys/linux/net/inet_pton.c: Ditto.
8449
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
8450
        * libc/sys/linux/net/ip6opt.c: Ditto.
8451
        * libc/sys/linux/net/iso_addr.3: Ditto.
8452
        * libc/sys/linux/net/iso_addr.c: Ditto.
8453
        * libc/sys/linux/net/issetugid-stub.c: Ditto.
8454
        * libc/sys/linux/net/linkaddr.3: Ditto.
8455
        * libc/sys/linux/net/linkaddr.c: Ditto.
8456
        * libc/sys/linux/net/map_v4v6.c: Ditto.
8457
        * libc/sys/linux/net/name6.c: Ditto.
8458
        * libc/sys/linux/net/namespace.h: Ditto.
8459
        * libc/sys/linux/net/ns.3: Ditto.
8460
        * libc/sys/linux/net/ns_addr.c: Ditto.
8461
        * libc/sys/linux/net/ns_name.c: Ditto.
8462
        * libc/sys/linux/net/ns_netint.c: Ditto.
8463
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
8464
        * libc/sys/linux/net/ns_parse.c: Ditto.
8465
        * libc/sys/linux/net/ns_print.c: Ditto.
8466
        * libc/sys/linux/net/ns_ttl.c: Ditto.
8467
        * libc/sys/linux/net/nsap_addr.c: Ditto.
8468
        * libc/sys/linux/net/nsdispatch.3: Ditto.
8469
        * libc/sys/linux/net/nsdispatch.c: Ditto.
8470
        * libc/sys/linux/net/nslexer.c: Ditto.
8471
        * libc/sys/linux/net/nslexer.l: Ditto.
8472
        * libc/sys/linux/net/nsparser.c: Ditto.
8473
        * libc/sys/linux/net/nsparser.h: Ditto.
8474
        * libc/sys/linux/net/nsparser.y: Ditto.
8475
        * libc/sys/linux/net/rcmd.3: Ditto.
8476
        * libc/sys/linux/net/rcmd.c: Ditto.
8477
        * libc/sys/linux/net/rcmdsh.3: Ditto.
8478
        * libc/sys/linux/net/rcmdsh.c: Ditto.
8479
        * libc/sys/linux/net/recv.c: Ditto.
8480
        * libc/sys/linux/net/res_comp.c: Ditto.
8481
        * libc/sys/linux/net/res_config.h: Ditto.
8482
        * libc/sys/linux/net/res_data.c: Ditto.
8483
        * libc/sys/linux/net/res_debug.c: Ditto.
8484
        * libc/sys/linux/net/res_init.c: Ditto.
8485
        * libc/sys/linux/net/res_mkquery.c: Ditto.
8486
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
8487
        * libc/sys/linux/net/res_query.c: Ditto.
8488
        * libc/sys/linux/net/res_send.c: Ditto.
8489
        * libc/sys/linux/net/res_update.c: Ditto.
8490
        * libc/sys/linux/net/resolver.3: Ditto.
8491
        * libc/sys/linux/net/rthdr.c: Ditto.
8492
        * libc/sys/linux/net/send.c: Ditto.
8493
        * libc/sys/linux/net/un-namespace.h: Ditto.
8494
        * libc/sys/linux/net/vars.c: Ditto.
8495
        * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
8496
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
8497
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
8498
        * libc/sys/linux/stdlib/cclass.h: Ditto.
8499
        * libc/sys/linux/stdlib/cname.h: Ditto.
8500
        * libc/sys/linux/stdlib/collate.c: Ditto.
8501
        * libc/sys/linux/stdlib/collate.h: Ditto.
8502
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
8503
        * libc/sys/linux/stdlib/engine.c: Ditto.
8504
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
8505
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
8506
        * libc/sys/linux/stdlib/glob.3: Ditto.
8507
        * libc/sys/linux/stdlib/glob.c: Ditto.
8508
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
8509
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
8510
        * libc/sys/linux/stdlib/regerror.c: Ditto.
8511
        * libc/sys/linux/stdlib/regex.3: Ditto.
8512
        * libc/sys/linux/stdlib/regex2.h: Ditto.
8513
        * libc/sys/linux/stdlib/regexec.c: Ditto.
8514
        * libc/sys/linux/stdlib/regfree.c: Ditto.
8515
        * libc/sys/linux/stdlib/utils.h: Ditto.
8516
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
8517
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
8518
        * libc/sys/linux/sys/dlfcn.h: Ditto.
8519
        * libc/sys/linux/sys/elfclass.h: Ditto.
8520
        * libc/sys/linux/sys/event.h: Ditto.
8521
        * libc/sys/linux/sys/ioccom.h: Ditto.
8522
        * libc/sys/linux/sys/libc-tsd.h: Ditto.
8523
        * libc/sys/linux/sys/link.h: Ditto.
8524
        * libc/sys/linux/sys/lock.h: Ditto.
8525
        * libc/sys/linux/sys/param.h: Ditto.
8526
        * libc/sys/linux/sys/socket.h: Ditto.
8527
        * libc/sys/linux/sys/sockio.h: Ditto.
8528
 
8529
2003-05-28  Dhananjay Deshpande  
8530
 
8531
        * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
8532
        normal mode
8533
        * newlib/libc/machine/h8300/memset.S: Likewise
8534
        * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
8535
        * newlib/lib/machine/h8300/reg_memset.S: Likewise
8536
        * newlib/lib/machine/h8300/setjmp.S: Likewise
8537
        * newlib/lib/machine/h8300/strcmp.S: Likewise
8538
        * newlib/lib/sys/h8300hms/crt0.S: Likewise
8539
 
8540
2003-05-13  Corinna Vinschen  
8541
 
8542
        * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
8543
        * libc/include/stdio.h: Ditto.
8544
        * libc/include/sys/config.h: Ditto.
8545
        * libc/stdio/mktemp.c: Ditto.
8546
 
8547
2003-05-13  Corinna Vinschen  
8548
 
8549
        * libc/locale/ldpart.c (__part_load_locale): Substitute
8550
        __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
8551
        * libc/search/hash.c (__hash_open): Ditto.
8552
        (init_hash): Ditto.
8553
        * libc/stdio/fseek.c (fseek): Ditto.
8554
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8555
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8556
 
8557
2003-05-12  Corinna Vinschen  
8558
 
8559
        * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
8560
 
8561
2003-05-12  Corinna Vinschen  
8562
 
8563
        * configure.host: Accomodate removing the libc/sys/cygwin dir.
8564
        * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
8565
        if __CYGWIN_USE_BIG_TYPES__ is set.
8566
        * libc/search/hash.c (__hash_open): Ditto.
8567
        (init_hash): Ditto.
8568
        * libc/stdio/fseek.c (fseek): Ditto.
8569
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8570
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8571
        * libc/sys/cygwin/Makefile.am: Remove.
8572
        * libc/sys/cygwin/Makefile.in: Remove.
8573
        * libc/sys/cygwin/aclocal.m4: Remove.
8574
        * libc/sys/cygwin/configure: Remove.
8575
        * libc/sys/cygwin/configure.in: Remove.
8576
        * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
8577
        * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
8578
        directory.
8579
        * libc/sys/cygwin/sys/param.h: Ditto.
8580
        * libc/sys/cygwin/sys/utime.h: Ditto.
8581
        * libc/sys/cygwin/sys/utmp.h: Ditto.
8582
 
8583
2003-05-11  Corinna Vinschen  
8584
 
8585
        * libc/include/sys/types.h: Don't define key_t for Cygwin.
8586
 
8587
2003-05-10  Christopher Faylor  
8588
 
8589
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
8590
        64 bit inodes.
8591
 
8592
2003-05-09  Corinna Vinschen  
8593
 
8594
        * libc/include/sys/config.h: Remove all Cygwin specific configuration.
8595
        Include cygwin/config.h instead.
8596
 
8597
2003-04-16  Jeff Johnston  
8598
 
8599
        * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
8600
        all code with #ifdef __SPE__ test.
8601
        * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
8602
 
8603
2003-04-15  Chris January 
8604
 
8605
        * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
8606
        Cygwin.
8607
 
8608
2003-04-09  J"orn Rennecke 
8609
 
8610
        * libc/machine/sh/memset.S: Avoid clobbering volatile
8611
        objects following a tiny to-be-set array in the same quadword.
8612
 
8613
2001-04-09  Corinna Vinschen  
8614
 
8615
        * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8616
        * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
8617
        * libc/string/Makefile.in: Regenerated.
8618
        * libc/string/wcswidth.c: New file.
8619
        * libc/string/wcwidth.c: New file.
8620
        * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
8621
 
8622
Thu Apr  3 14:01:16 2003  J"orn Rennecke 
8623
 
8624
        * libc/machine/sh/memset.S: Fix problem with alloco region
8625
        exceeding destination region for length >= 88 bytes, start
8626
        & 0x16 == 0, end & 0x1f == 18.
8627
 
8628
2001-04-03  Corinna Vinschen  
8629
 
8630
        * libc/string/wcscoll.c: Fix comment.
8631
 
8632
2001-04-02  Corinna Vinschen  
8633
 
8634
        * libc/include/wchar.h: Add definition for wcscoll.
8635
        * libc/string/Makefile.am: Add wcscoll.c.
8636
        * libc/string/Makefile.in: Regenerated.
8637
        * libc/string/wcscoll.c: New file.
8638
        * libc/string/wcstrings.tex: Add wcscoll.
8639
 
8640
2003-04-01  Corinna Vinschen  
8641
 
8642
        * libc/stdio/sscanf.c: Update flags description.
8643
        * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
8644
        type.
8645
        (__svfscanf_r): Add 'hh' and 'll' handling.
8646
 
8647
2003-04-01  Corinna Vinschen  
8648
 
8649
        * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
8650
        __d_position member to _off_t.
8651
 
8652
2003-03-20  Jeff Johnston  
8653
 
8654
        * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
8655
        count all characters used to create number against maximum width.
8656
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8657
 
8658
2003-03-18  D.Venkatasubramanian  
8659
 
8660
        * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
8661
        support.
8662
        * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
8663
        flag to support simulator only extensions.
8664
 
8665
2003-03-17  Bob Cassels  
8666
 
8667
        * libc/string/wcschr.c: (wcschr): Look for character first,
8668
        then for end of string, so you can do wcschr(x, '\0').
8669
 
8670
2003-03-10  Corinna Vinschen  
8671
 
8672
        * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
8673
        with internal (_fpos_t and _off_t) datatypes when compiling newlib.
8674
        * libc/include/sys/unistd.h: Declare _lseek using _off_t.
8675
        * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
8676
        * libc/stdio/fseeko.c (fseeko): Ditto.
8677
        * libc/stdio/ftello.c (ftello): Ditto.
8678
        * libc/stdio/stdio.c (__swrite): Ditto.
8679
        (__sseek): Ditto.
8680
        * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
8681
        * libc/stdio/fseek.c (fseek): Ditto.
8682
        * libc/stdio/fsetpos.c (fsetpos): Ditto.
8683
        * libc/stdio/ftell.c (ftell): Ditto.
8684
        * libc/stdio/local.h: Declare __sseek using _off_t.
8685
 
8686
2003-03-09  Corinna Vinschen  
8687
 
8688
        * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
8689
 
8690
2003-03-09  Corinna Vinschen  
8691
 
8692
        * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
8693
        Cygwin.
8694
 
8695
2003-03-09  Corinna Vinschen  
8696
 
8697
        * libc/include/pwd.h: Add guards to avoid type clashes when compiling
8698
        Cygwin.
8699
        * libc/include/sys/stat.h: Ditto.
8700
        * libc/include/sys/unistd.h: Ditto.
8701
        * libc/sys/cygwin/sys/dirent.h: Ditto.
8702
 
8703
2003-03-07  Christopher Faylor  
8704
 
8705
        * libc/include/sys/unistd.h: Guard getopt.h call to force only
8706
        declaration of getopt and avoid getopt_long declaration.
8707
        * libc/sys/cygwin/include/unistd.h: Remove.
8708
 
8709
2003-03-07  Corinna Vinschen  
8710
 
8711
        * configure.host: Define stdio64_dir for Cygwin.
8712
        * libc/include/stdio.h: Change definition of fpos_t to fulfill
8713
        Cygwin 64bit file access requirements.
8714
        Drop definition of f*64() functions when compiled for Cygwin.
8715
        * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
8716
        * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
8717
        * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
8718
 
8719
2003-03-07   Jeff Johnston  
8720
 
8721
        * libc/include/sys/reent.h: Remove extraneous _sig_func
8722
        declaration.
8723
 
8724
2003-02-25   D.Venkatasubramanian 
8725
 
8726
        * libc/sys/h8300hms/Makefile.am: Add support for new files.
8727
        * libc/sys/h8300hms/Makefile.in: Regenerated.
8728
        * libc/sys/h8300hms/close.S: New file.
8729
        * libc/sys/h8300hms/fstat.S: Ditto.
8730
        * libc/sys/h8300hms/lseek.S: Ditto.
8731
        * libc/sys/h8300hms/open.S: Ditto.
8732
        * libc/sys/h8300hms/stat.S: Ditto.
8733
        * libc/sys/h8300hms/read.S: New file to replace read.c.
8734
        * libc/sys/h8300hms/read.c: Removed.
8735
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
8736
        _lseek, _close, _stat, _fstat.
8737
        * libc/sys/h8300hms/write.S: New file to replace write.c.
8738
        * libc/sys/h8300hms/write.c: Removed.
8739
 
8740
2003-02-20  Nick Clifton  
8741
 
8742
        * Add support for Cirrus Maverick ARM co-processor:
8743
 
8744
        2000-09-13  Aldy Hernandez  
8745
 
8746
                * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
8747
                IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
8748
 
8749
        2000-08-11  Aldy Hernandez  
8750
 
8751
                * configure.host: set sys_dir, syscall_dir, and
8752
                newlib_cflags for ep9312 host.
8753
 
8754
        * configure.host: Restore alpha sorting of entries in case
8755
        statements.
8756
 
8757
2003-02-19  Jeff Johnston  
8758
 
8759
        * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
8760
 
8761
2003-02-18  Christian Groessler  
8762
 
8763
        * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
8764
        support z8001 segmented mode.
8765
 
8766
2003-02-18  Earnie Boyd  
8767
 
8768
        * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
8769
        with a NULL value.
8770
 
8771
2003-02-10  Christopher Faylor  
8772
 
8773
        * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
8774
        Don't define some types under cygwin.
8775
 
8776
2003-02-07  Jeff Johnston  
8777
 
8778
        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
8779
        option to allow disabling of syscalls being supplied in newlib.
8780
        * aclocal.m4: Regenerated.
8781
        * configure: Ditto.
8782
        * configure.host: Add support of new configuration option and add
8783
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
8784
        * doc/aclocal.m4: Regenerated.
8785
        * doc/configure: Ditto.
8786
        * libc/*aclocal.m4: Ditto.
8787
        * libc/*configure: Ditto.
8788
        * libm/*aclocal.m4: Ditto.
8789
        * libm/*configure: Ditto.
8790
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
8791
        is disabled.
8792
        * libc/sys/arm/Makefile.in: Regenerated.
8793
 
8794
2003-02-05  Jonathan Larmour  
8795
 
8796
        * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
8797
        -1 to be sure it cannot later match a valid file fd causing
8798
        isatty() to return 1.
8799
        * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
8800
        * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
8801
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
8802
 
8803
2003-02-03  Jeff Johnston  
8804
 
8805
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
8806
        buffer based on the precision, after we have processed the input value
8807
        in a local buffer and know its relative magnitude.
8808
 
8809
2003-01-31  Michael Snyder  
8810
 
8811
        * libc/sys/h8300hms/_exit.c (_exit, __exit):  Slip a magic cookie
8812
        into registers r1 and r2, so that the simulator can distinguish
8813
        this trap from a breakpoint trap.  Copied from libgloss.
8814
 
8815
2003-01-31  Michael Snyder  
8816
 
8817
        * libc/sys/h8300hms/crt0.S (_start): Change local label
8818
        from .loop to .Loop, so that ld and gdb will ignore it.
8819
 
8820
2003-01-29  Jason Tishler  
8821
 
8822
        * libc/include/time.h: Declare nanosleep() under Cygwin.
8823
 
8824
2003-01-24  Nick Clifton  
8825
 
8826
        * Add sh2e support:
8827
 
8828
        2002-04-02  Alexandre Oliva  
8829
 
8830
                * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
8831
                * libc/machine/sh/setjmp.S: Likewise.
8832
                * libc/include/machine/ieeefp.h: Likewise.
8833
 
8834
2003-01-24  Corinna Vinschen  
8835
 
8836
        * libc/include/sys/unistd.h: Add setregid and setreuid declarations
8837
        for Cygwin.
8838
 
8839
2003-01-21 Anita Kulkarni  
8840
 
8841
        * libc/time/difftime.c : Typecast the result to double.
8842
 
8843
2003-01-20  Christopher Faylor  
8844
 
8845
        * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
8846
 
8847
2003-01-18  Nick Clifton  
8848
 
8849
        * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
8850
        __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
8851
 
8852
2003-01-16  Joel Sherrill 
8853
 
8854
        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
8855
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
8856
        constants are defined in each file in the shared versions in
8857
        libc/include.
8858
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
8859
        autoconf can link programs.
8860
        * libc/include/machine/types.h: Explicitly specify signed on
8861
        intXX_t types to ensure they are signed.
8862
 
8863
2003-01-14  Christopher Faylor  
8864
 
8865
        * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
8866
        extensions.
8867
 
8868
2003-01-08  Richard Sandiford  
8869
 
8870
        * configure.host (mips64vr-elf, mips64vrel-elf): New config.
8871
 
8872
2003-01-07  Charles Wilson  
8873
 
8874
        * libc/stdio/sprintf.c: fix typo
8875
        * libc/stdio/vfprintf.c: fix typo
8876
 
8877
2003-01-07  Jeff Johnston  
8878
 
8879
        * configure.host: Support long double I/O for x86-linux.
8880
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
8881
        large enough to hold formatted result.
8882
        * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
8883
 
8884
2003-01-06  Charles Wilson  
8885
 
8886
        * Makefile.am: Add vasprintf.
8887
        * Makefile.in: Regenerated.
8888
 
8889
2003-01-06  Charles Wilson  
8890
 
8891
        * asprintf.c (_asprintf_r): insure both declarations
8892
        are the same.
8893
 
8894
2002-12-28  Christopher Faylor  
8895
 
8896
        * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
8897
        than defining getopt directly.
8898
 
8899
2002-12-20  Jeff Johnston  
8900
 
8901
        * NEWS: Update with 1.11.0 info.
8902
        * README: Ditto.
8903
        * acinclude.m4: Change version number to 1.11.0.
8904
        * aclocal.m4: Regenerated.
8905
        * configure: Ditto.
8906
        * doc/aclocal.m4: Ditto.
8907
        * doc/configure: Ditto.
8908
        * libc/*/aclocal.m4: Ditto.
8909
        * libc/*/configure: Ditto.
8910
        * libc/libc.texinfo: Ditto.
8911
        * libm/*/aclocal.m4: Ditto.
8912
        * libm/*/configure: Ditto.
8913
        * libm/libm.texinfo: Ditto.
8914
        * libc/sys/linux/shared.ld: Add VERS_1.11.
8915
 
8916
2002-12-20  Jeff Johnston  
8917
 
8918
        * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
8919
        Solutions to Red Hat Inc.
8920
        * libc/machine/i386/f_atan2f.S: Ditto.
8921
        * libc/machine/i386/f_exp.c: Ditto.
8922
        * libc/machine/i386/f_expf.c: Ditto.
8923
        * libc/machine/i386/f_frexp.S: Ditto.
8924
        * libc/machine/i386/f_frexpf.S: Ditto.
8925
        * libc/machine/i386/f_ldexp.S: Ditto.
8926
        * libc/machine/i386/f_ldexpf.S: Ditto.
8927
        * libc/machine/i386/f_log.S: Ditto.
8928
        * libc/machine/i386/f_log10.S: Ditto.
8929
        * libc/machine/i386/f_log10f.S: Ditto.
8930
        * libc/machine/i386/f_logf.S: Ditto.
8931
        * libc/machine/i386/f_pow.c: Ditto.
8932
        * libc/machine/i386/f_powf.c: Ditto.
8933
        * libc/machine/i386/f_tan.S: Ditto.
8934
        * libc/machine/i386/f_tanf.S: Ditto.
8935
        * libc/machine/i386/memchr.S: Ditto.
8936
        * libc/machine/i386/memcmp.S: Ditto.
8937
        * libc/machine/i386/memcpy.S: Ditto.
8938
        * libc/machine/i386/memmove.S: Ditto.
8939
        * libc/machine/i386/memset.S: Ditto.
8940
        * libc/machine/i386/strchr.S: Ditto.
8941
        * libc/machine/i386/strlen.S: Ditto.
8942
        * libm/machine/i386/f_atan2.S: Ditto.
8943
        * libm/machine/i386/f_atan2f.S: Ditto.
8944
        * libm/machine/i386/f_exp.c: Ditto.
8945
        * libm/machine/i386/f_expf.c: Ditto.
8946
        * libm/machine/i386/f_frexp.S: Ditto.
8947
        * libm/machine/i386/f_frexpf.S: Ditto.
8948
        * libm/machine/i386/f_ldexp.S: Ditto.
8949
        * libm/machine/i386/f_ldexpf.S: Ditto.
8950
        * libm/machine/i386/f_log.S: Ditto.
8951
        * libm/machine/i386/f_log10.S: Ditto.
8952
        * libm/machine/i386/f_log10f.S: Ditto.
8953
        * libm/machine/i386/f_logf.S: Ditto.
8954
        * libm/machine/i386/f_pow.c: Ditto.
8955
        * libm/machine/i386/f_powf.c: Ditto.
8956
        * libm/machine/i386/f_tan.S: Ditto.
8957
        * libm/machine/i386/f_tanf.S: Ditto.
8958
 
8959
2002-12-20  Jeff Johnston  
8960
 
8961
        * libc/stdlib/environ.c: Update license to Red Hat.
8962
        * libc/machine/hppa/setjmp.S: Ditto.
8963
        * libm/test/Makefile.in: Ditto.
8964
 
8965
2002-12-19  Jeff Johnston  
8966
 
8967
        * configure.host: Remove references to go32.
8968
        * libc/sys/go32/*: Removed.
8969
 
8970
2002-12-16  Kazu Hirata  
8971
 
8972
        * libc/include/sys/config.h: Change setting of INT_MAX
8973
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
8974
        __H8300S__.  Also consolidate flag settings for these
8975
        platforms.
8976
 
8977
2002-12-10  Joel Sherrill  
8978
 
8979
        * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
8980
        for i386-rtems targets.
8981
 
8982
2002-12-06  Jeff Johnston  
8983
 
8984
        * libc/include/stdlib.h (strtof): New prototype (from C99).
8985
        (strtodf): Changed from prototype to macro which redefines
8986
        to strtof.
8987
        * libc/stdlib/atof.c: Change documentation to refer to strtof
8988
        instead of strtodf.
8989
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
8990
        strtodf.
8991
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
8992
        (strtof): New function.
8993
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
8994
        calls strtof.
8995
 
8996
2002-11-27  Christopher Faylor  
8997
 
8998
        * libc/string/memset.c (memset): Fix comment.
8999
 
9000
2002-11-26  Christopher Faylor  
9001
 
9002
        * libc/string/memset.c (memset): Move initialization of 'd' earlier in
9003
        function.
9004
 
9005
2002-11-25  Christopher Faylor  
9006
 
9007
        * libc/string/memset.c (memset): Minor optimization: Use new 'd'
9008
        variable, introduced below, everywhere.
9009
 
9010
2002-11-25  Kazu Hirata  
9011
 
9012
        * libc/string/memset.c (memset): Make it safe even if
9013
        sizeof (int) = 2.
9014
 
9015
2002-11-22  Joe Buehler  
9016
 
9017
        * configure.in: Change check for libc/include in ${CC} to
9018
        use an intermediate value so as to work with different shells.
9019
        * configure: Regenerated.
9020
        * Makefile.in: Ditto.
9021
 
9022
2002-11-22  Vijay L. Khuspe  
9023
 
9024
        * libc/sys/h8300hms/read.c: Add support for normal mode
9025
        architecture.
9026
 
9027
2002-11-20  Ryo Tsuruta  
9028
 
9029
        * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
9030
        code for __H8300H__ and __H8300S__.  Also return 32-bit return code
9031
        when -mint32 is used.
9032
 
9033
2002-11-18  Nick Clifton  
9034
 
9035
        * libc/sys/arm/crt0.S: Add NULL to end of argv array.
9036
 
9037
2002-11-14  Jeff Johnston  
9038
 
9039
        * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
9040
        only issue one pass/fail message for a compile/link/execute.
9041
        * testsuite/newlib.elix/elix.exp: New file.
9042
        * testsuite/newlib.elix/tmmap.c: Ditto.
9043
 
9044
2002-11-06  Christopher Faylor  
9045
 
9046
        * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
9047
        * libc/stdlib/mlock.c: Ditto.
9048
        * libc/stdlib/msize.c: Ditto.
9049
        * libc/stdlib/msize.c: Ditto.
9050
        * libc/stdlib/mtrim.c: Ditto.
9051
        * libc/stdlib/valloc.c: Ditto.
9052
 
9053
2002-11-12  Jeff Johnston  
9054
 
9055
        * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
9056
        for inf/nan, make sure that the check ignores the sign bit.
9057
 
9058
2002-11-07  Joel Sherrill 
9059
 
9060
        * libc/sys/rtems/machine: New directory.
9061
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
9062
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
9063
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
9064
        targets more BSD like when installed without requiring files to
9065
        be overwritten at install point when RTEMS itself is installed.
9066
        * Makefile.am: Pick up system dependent machine .h files such as
9067
        might be found on a BSD-ish system.
9068
        * Makefile.in: Regenerate.
9069
        * libc/include/machine/types.h: When on an RTEMS target, define a
9070
        few BSD flavor types.
9071
 
9072
2002-11-06  Sergey Okhapkin  
9073
 
9074
        * include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.
9075
 
9076
2002-11-06  Kazuhiro Fujieda  
9077
 
9078
        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
9079
        * libc/include/wctype.h: Ditto.
9080
 
9081
2002-11-04  Jeff Johnston  
9082
 
9083
        * libc/include/wchar.h: Add extern "C" specifier if C++.
9084
        * libc/include/wctype.h: Ditto.
9085
 
9086
2002-10-18  Jeff Johnston  
9087
 
9088
        * testsuite/newlib.wctype/tiswctype.c: New test case.
9089
        * testsuite/newlib.wctype/twctrans.c: Ditto.
9090
 
9091
2002-10-18  Jeff Johnston  
9092
 
9093
        * libc/sys/linux/machine/i386/include/endian.h: New file.
9094
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
9095
 
9096
2002-10-18  Jeff Johnston  
9097
 
9098
        * libm/machine/i386/aclocal.m4: Regenerated.
9099
        * libm/machine/i386/configure: Ditto.
9100
 
9101
2002-10-18  Jeff Johnston  
9102
 
9103
        * testsuite/include/check.h: New header file to use with
9104
        test cases.
9105
        * testsuite/lib/newlib.exp: Add testsuite/include directory
9106
        to list of header files to use.
9107
        * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
9108
        * testsuite/newlib.wctype/wctype.exp: New file.
9109
 
9110
2002-10-11  Graham Stott  
9111
            Richard Sandiford  
9112
 
9113
        * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
9114
        * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
9115
        doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
9116
 
9117
2002-10-07      Joel Sherrill 
9118
 
9119
        * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
9120
        dummy programs.
9121
 
9122
2002-10-07      Joel Sherrill 
9123
 
9124
        * libc/include/pthread.h: Define PTHREAD_CANCELED.
9125
 
9126
2002-10-07      Joel Sherrill 
9127
 
9128
        * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
9129
        libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
9130
        compile with current GNU tools.
9131
 
9132
2002-10-07  Jeff Johnston  
9133
 
9134
        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
9135
        the build library.
9136
        * configure.in: Ditto.
9137
        * Makefile.in: Regenerated.
9138
        * configure: Ditto.
9139
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
9140
        for specifying configured libraries/directories.
9141
        * libc/sys/linux/configure.in: Ditto.
9142
        * libc/sys/linux/Makefile.in: Regenerated.
9143
        * libc/sys/linux/configure: Ditto.
9144
 
9145
2002-10-03  Jeff Johnston  
9146
 
9147
        * libc/include/reent.h: Update documentation at start of file.
9148
 
9149
2002-09-27  Jim Wilson  
9150
 
9151
        * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
9152
        the ctbp register.
9153
 
9154
2002-09-27  Jeff Johnston  
9155
 
9156
        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
9157
        Also convert to EUCJP before using arrays.  For values not in
9158
        the conversion arrays, return WEOF.
9159
        * libc/ctype/jp2uc.h: Change from one array to a number of
9160
        arrays to account for the fact that the originating table
9161
        is not contiguous for the input values since some are invalid.
9162
 
9163
2002-09-24  Jeff Johnston  
9164
 
9165
        * libc/time/ctime.c: Fix prototype documentation.
9166
 
9167
2002-09-24  Corinna Vinschen  
9168
 
9169
        * libc/include/sys/errno.h: Add EOVERFLOW.
9170
 
9171
2002-09-20  Jeff Johnston  
9172
 
9173
        * libc/include/wctype.h: New file.
9174
 
9175
2002-09-20  Jeff Johnston  
9176
 
9177
        * libc/ctype/Makefile.am: Add new files.
9178
        * libc/ctype/Makefile.in: Regenerated.
9179
        * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
9180
        and wctrans functions to documentation index.
9181
        * libc/ctype/iswalnum.c: New file.
9182
        * libc/ctype/iswalpha.c: Ditto.
9183
        * libc/ctype/iswblank.c: Ditto.
9184
        * libc/ctype/iswcntrl.c: Ditto.
9185
        * libc/ctype/iswctype.c: Ditto.
9186
        * libc/ctype/iswdigit.c: Ditto.
9187
        * libc/ctype/iswgraph.c: Ditto.
9188
        * libc/ctype/iswlower.c: Ditto.
9189
        * libc/ctype/iswprint.c: Ditto.
9190
        * libc/ctype/iswpunct.c: Ditto.
9191
        * libc/ctype/iswspace.c: Ditto.
9192
        * libc/ctype/iswupper.c: Ditto.
9193
        * libc/ctype/iswxdigit.c: Ditto.
9194
        * libc/ctype/jp2uc.c: Ditto.
9195
        * libc/ctype/jp2uc.h: Ditto.
9196
        * libc/ctype/local.h: Ditto.
9197
        * libc/ctype/towctrans.c: Ditto.
9198
        * libc/ctype/towlower.c: Ditto.
9199
        * libc/ctype/towupper.c: Ditto.
9200
        * libc/ctype/utf8alpha.h: Ditto.
9201
        * libc/ctype/utf8print.h: Ditto.
9202
        * libc/ctype/utf8punct.h: Ditto.
9203
        * libc/ctype/wctrans.c: Ditto.
9204
        * libc/ctype/wctype.c: Ditto.
9205
        * libc/locale/locale.c (__lc_ctype): New external array to
9206
        replace static lc_ctype array.
9207
        * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
9208
        rather than reentrancy structure's _current_locale field.
9209
        * libc/stdlib/wctomb_r.c: Ditto.
9210
 
9211
2002-09-20  Jeff Johnston  
9212
 
9213
        * configure.host: Minor comment and formatting changes.
9214
        * libc/Makefile.am: Add libc_la_DEPENDENCIES.
9215
        * libc/Makefile.in: Regenerated.
9216
        * libc/include/sys/config.h: Minor format change.
9217
 
9218
2002-09-19  Jeff Johnston  
9219
 
9220
        * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
9221
        statement comment.
9222
 
9223
2002-09-19  Jeff Johnston  
9224
 
9225
        * libc/posix/opendir.c (opendir): Change code to check
9226
        for HAVE_FCNTL before calling fcntl.
9227
        * libc/search/hash.c (hash_open): Ditto.
9228
        * libc/search/hash_page.c (open_tmp): Ditto.
9229
        * libc/reent/Makefile.am: Add fcntlr.c.
9230
        * libc/reent/Makefile.in: Regenerated.
9231
        * libc/reent/fcntlr.c: New file.
9232
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
9233
        instead of _fcntl when HAVE_FCNTL flag is set.
9234
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
9235
        to see if _fcntl or _fcntl_r should be called.  If flag is not
9236
        set, default to ENOSYS stub.
9237
 
9238
2002-09-16  Jeff Johnston  
9239
 
9240
        * libc/include/wchar.h (mbstate_t): Change protective flag to
9241
        be _MBSTATE_T.
9242
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
9243
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
9244
        for Cygwin.
9245
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
9246
 
9247
2002-09-11  Jeff Johnston  
9248
 
9249
        * acinclude.m4 (enable-newlib-mb): Change check to
9250
        default newlib_mb variable to empty string rather than "no".
9251
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
9252
        x86-linux and Cygwin.  Add code to check for newlib_mb
9253
        being unset in which case set to "yes" for x86-linux and
9254
        Cygwin.  Change check for newlib_mb being "yes" to allow
9255
        for an empty string.
9256
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
9257
        * newlib.hin (_MB_LEN_MAX): New define to configure.
9258
        * aclocal.m4: Regenerated.
9259
        * configure: Ditto.
9260
        * libc/include/limits.h: New file.
9261
        * libc/sys/linux/include/limits.h: Ditto.
9262
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
9263
          libc/configure libc/machine/aclocal.m4
9264
          libc/machine/configure libc/machine/a29k/aclocal.m4
9265
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9266
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9267
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9268
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9269
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
9270
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
9271
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9272
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9273
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9274
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
9275
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9276
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
9277
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
9278
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9279
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9280
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9281
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9282
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9283
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9284
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9285
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9286
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9287
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9288
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
9289
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
9290
          libc/machine/xscale/configure
9291
          libc/machine/xstormy16/aclocal.m4
9292
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
9293
          libc/machine/z8k/configure libc/sys/aclocal.m4
9294
          libc/sys/configure libc/sys/a29khif/aclocal.m4
9295
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
9296
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
9297
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9298
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
9299
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
9300
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
9301
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
9302
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
9303
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
9304
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
9305
          libc/sys/linux/configure
9306
          libc/sys/linux/machine/aclocal.m4
9307
          libc/sys/linux/machine/configure
9308
          libc/sys/linux/machine/i386/aclocal.m4
9309
          libc/sys/linux/machine/i386/configure
9310
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9311
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
9312
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9313
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9314
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9315
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9316
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9317
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9318
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9319
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9320
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9321
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9322
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9323
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9324
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9325
          libm/aclocal.m4 libm/configure: Regenerated.
9326
 
9327
2002-09-09  Jeff Johnston  
9328
 
9329
        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
9330
        code that clears the .bss section.
9331
 
9332
2002-09-09  Jeff Johnston  
9333
 
9334
        * libc/include/sys/_types.h (_mbstate_t): Changed to use
9335
        unsigned char internally.
9336
        * libc/sys/linux/sys/_types.h: Ditto.
9337
        * libc/include/sys/reent.h
9338
        * libc/stdlib/mblen.c (mblen): Use function-specific state
9339
        value from default reentrancy structure.
9340
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
9341
        _mbtowc_r is less than 0, reset state __count value and
9342
        return -1.
9343
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
9344
        is NULL, use the function-specific pointer provided in the
9345
        default reentrancy structure.
9346
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
9347
        If input state pointer is NULL, use function-specific area
9348
        provided in reentrancy structure.
9349
        * libc/stdlib/mbsrtowcs.c: Ditto.
9350
        * libc/stdlib/wcrtomb.c: Ditto.
9351
        * libc/stdlib/wcsrtombs.c: Ditto.
9352
        * libc/stdlib/mbstowcs.c: Reformat.
9353
        * libc/stdlib/wcstombs.c: Ditto.
9354
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
9355
        reset the state's __count value and return -1.
9356
        * libc/stdlib/mbtowc.c: Ditto.
9357
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
9358
        If number of bytes is used up before completing a valid multibyte
9359
        character, return -2 and save the state.
9360
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
9361
        and change some __count references to __state for clarity.
9362
 
9363
2002-09-06  Jeff Johnston  
9364
 
9365
        * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
9366
        is defined by .
9367
 
9368
2002-09-05  Kazuhiro Fujieda  
9369
 
9370
        * libc/include/wchar.h (WCHAR_MAX): Only define if not already
9371
        defined.
9372
 
9373
2002-09-04  Kazuhiro Fujieda  
9374
 
9375
        * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
9376
        * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
9377
        __WCHAR_MAX__ or 0x7fffffffu.
9378
        * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
9379
        * libc/string/wcsncmp.c: Ditto.
9380
 
9381
2002-09-03  Jeff Johnston  
9382
 
9383
        * libc/string/wcschr.c: Add include of .
9384
        * libc/string/wcspbrk.c: Ditto.
9385
        * libc/string/wcsrchr.c: Ditto.
9386
        * libc/string/wcsstr.c: Ditto.
9387
 
9388
2002-09-03  Jeff Johnston  
9389
 
9390
        * libc/include/sys/_types.h (_flock_t): Added.
9391
        * libc/include/sys/lock.h (__lock_try_acquire): New interface.
9392
        (__lock_try_acquire_recursive): Ditto.
9393
        * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
9394
        _lock field.
9395
        * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
9396
        field.
9397
        * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
9398
        * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
9399
        * libc/sys/linux/include/time.h (struct timespec): Moved from
9400
         and added check for __need_timespec flag so type
9401
        can be defined by itself.
9402
        * libc/sys/linux/sys/_types.h (_flock_t): New type.
9403
        * libc/sys/linux/sys/types.h (struct timespec): Moved to
9404
        .
9405
 
9406
2002-08-29  Thomas Fitzsimmons  
9407
 
9408
        * libc/sys/linux/argp: New directory.
9409
        * libc/sys/linux/getopt.c: New file.
9410
        * libc/sys/linux/getopt1.c: New file.
9411
        * libc/sys/linux/getoptlong.c: Remove file.
9412
        * libc/sys/linux/include/argp.h: New file.
9413
        * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
9414
        based on ELIX level.
9415
        (SUBDIRS): Add argp_dir.
9416
        (SUBLIBS): Add ARGP_LIB.
9417
        (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
9418
        getopt_long.$(oext).
9419
        * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
9420
 
9421
2002-08-29  Jeff Johnston  
9422
 
9423
        * libc/libc.texinfo: Add node reference to wide-character strings.
9424
        * libc/string/wcstrings.tex: New file.
9425
        * libc/string/strtok_r.c: Remove outdated advertising clause.
9426
        * libc/string/Makefile.am (doc): Add wide-character string
9427
        chapter to documentation.
9428
        * libc/string/Makefile.in: Regenerated.
9429
 
9430
2002-08-29  Kazuhiro Fujieda  
9431
 
9432
        * libc/include/wchar.h: Define NULL. Define WEOF more general
9433
        way. Declare functions in newlib manner.
9434
        * libc/stdlib/Makefile.am: Delete wmem*.c
9435
        * libc/stdlib/Makefile.in: Regenerated.
9436
        * libc/stdlib/wmemchr.c: Delete.
9437
        * libc/stdlib/wmemcmp.c: Ditto.
9438
        * libc/stdlib/wmemcpy.c: Ditto.
9439
        * libc/stdlib/wmemmove.c: Ditto.
9440
        * libc/stdlib/wmemset.c: Ditto.
9441
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
9442
        * libc/string/Makefile.in: Regenerated.
9443
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
9444
        * libc/string/wcschr.c: Ditto.
9445
        * libc/string/wcscmp.c: Ditto.
9446
        * libc/string/wcscpy.c: Ditto.
9447
        * libc/string/wcscspn.c: Ditto.
9448
        * libc/string/wcslcat.c: Ditto.
9449
        * libc/string/wcslcpy.c: Ditto.
9450
        * libc/string/wcslen.c: Ditto.
9451
        * libc/string/wcsncat.c: Ditto.
9452
        * libc/string/wcsncmp.c: Ditto.
9453
        * libc/string/wcsncpy.c: Ditto.
9454
        * libc/string/wcspbrk.c: Ditto.
9455
        * libc/string/wcsrchr.c: Ditto.
9456
        * libc/string/wcsspn.c: Ditto.
9457
        * libc/string/wcsstr.c: Ditto.
9458
        * libc/string/wmemchr.c: Ditto.
9459
        * libc/string/wmemcmp.c: Ditto.
9460
        * libc/string/wmemcpy.c: Ditto.
9461
        * libc/string/wmemmove.c: Ditto.
9462
        * libc/string/wmemset.c: Ditto.
9463
 
9464
2002-08-29  Jeff Johnston  
9465
 
9466
        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
9467
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
9468
        and is treated as if "C" was specified.
9469
 
9470
2002-08-28  Jeff Johnston  
9471
 
9472
        * Makefile.am (install-data-local): Move install of build
9473
        newlib.h after installing headers in libc/include so as to
9474
        overwrite default newlib.h.
9475
        * Makefile.in: Regenerated.
9476
 
9477
2002-08-28  Jeff Johnston  
9478
 
9479
        * libc/include/newlib.h: New file for tools that use newlib
9480
        headers but don't build newlib first (e.g. gcc).
9481
 
9482
2002-08-28  Jeff Johnston  
9483
 
9484
        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
9485
        * libc/stdlib/wmemcmp.c: Ditto.
9486
        * libc/stdlib/wmemcpy.c: Ditto.
9487
        * libc/stdlib/wmemmove.c: Ditto.
9488
        * libc/stdlib/wmemset.c: Ditto.
9489
 
9490
2002-08-27  Egor Duda  
9491
 
9492
        * libc/stdlib/wmemchr.c: New file.
9493
        * libc/stdlib/wmemcmp.c: Ditto.
9494
        * libc/stdlib/wmemcpy.c: Ditto.
9495
        * libc/stdlib/wmemmove.c: Ditto.
9496
        * libc/stdlib/wmemset.c: Ditto.
9497
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
9498
        * configure.host: Default -DMB_CAPABLE for cygwin.
9499
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
9500
        wmemmove() and wmemset().  Add include of <_ansi.h>.
9501
        * libc/stdlib/Makefile.in: Regenerate.
9502
 
9503
2002-08-27  Jeff Johnston  
9504
 
9505
        * configure.host: Remove _ELIX_LEVEL flag setting.
9506
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
9507
        (install-data-local): Install newlib.h.
9508
        * Makefile.in: Regenerated.
9509
        * aclocal.m4: Ditto.
9510
        * configure: Ditto.
9511
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
9512
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
9513
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
9514
        In AC_OUTPUT statement, unset ac_file so multilib support does
9515
        not use last ac_file temporary used in newlib.h configuration.
9516
        * libc/include/_ansi.h: Include .
9517
        * newlib.hin: New template file for newlib.h.
9518
        * stamp-h.in: New file.
9519
 
9520
2002-08-26  Wu Yongwei 
9521
 
9522
        * time.h (timezonevar): Change "#if" to "#ifdef".
9523
 
9524
2002-08-26  Jeff Johnston  
9525
 
9526
        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
9527
        * Makefile.in: Regenerated.
9528
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
9529
        * aclocal.m4: Regenerated.
9530
        * configure: Ditto.
9531
        * configure.host: Add code to define _ELIX_LEVEL if
9532
        --enable-newlib-elix-level option is used.
9533
        * configure.in:
9534
        * libc/aclocal.m4: Regenerated.
9535
        * libc/configure: Ditto.
9536
        * libc/argz/Makefile.am: Add EL/IX level checking.
9537
        * libc/argz/Makefile.in: Regenerated.
9538
        * libc/argz/dummy.c: New file.
9539
        * libc/ctype/Makefile.am: Add EL/IX level checking.
9540
        * libc/ctype/Makefile.in: Regenerated.
9541
        * libc/locale/Makefile.am: Add EL/IX level checking.
9542
        * libc/locale/Makefile.in: Regenerated.
9543
        * libc/posix/Makefile.am: Add EL/IX level checking.
9544
        * libc/posix/Makefile.in: Regenerated.
9545
        * libc/posix/telldir.c: Add EL/IX level checking.
9546
        * libc/reent/Makefile.am: Ditto.
9547
        * libc/reent/fstat64r.c: Ditto.
9548
        * libc/reent/lseek64r.c: Ditto.
9549
        * libc/reent/open64r.c: Ditto.
9550
        * libc/reent/Makefile.in: Regenerated.
9551
        * libc/search/Makefile.am: Add EL/IX level checking.
9552
        * libc/search/Makefile.in: Regenerated.
9553
        * libc/stdio/Makefile.am: Add EL/IX level checking.
9554
        * libc/stdio/Makefile.in: Regenerated.
9555
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
9556
        * libc/stdio64/Makefile.in: Regenerated.
9557
        * libc/stdio64/dummy.c: New file.
9558
        * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
9559
        after first include.
9560
        * libc/stdio64/fopen64.c: Ditto.
9561
        * libc/stdio64/freopen64.c: Ditto.
9562
        * libc/stdio64/fseeko64.c: Ditto.
9563
        * libc/stdio64/fsetpos64.c: Ditto.
9564
        * libc/stdio64/ftello64.c: Ditto.
9565
        * libc/stdio64/tmpfile64.c: Ditto.
9566
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
9567
        * libc/stdlib/Makefile.in: Regenerated.
9568
        * libc/stdlib/mstats.c: Add EL/IX level checking.
9569
        * libc/string/Makefile.am: Ditto.
9570
        * libc/string/Makefile.in: Regenerated.
9571
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
9572
        * libc/sys/linux/Makefile.in: Regenerated.
9573
        * libc/sys/linux/aclocal.m4: Ditto.
9574
        * libc/sys/linux/configure: Ditto.
9575
        * libc/sys/linux/aio.c: Add EL/IX level checking.
9576
        * libc/sys/linux/ftok.c: Ditto.
9577
        * libc/sys/linux/getdate.c: Ditto.
9578
        * libc/sys/linux/ids.c: Ditto.
9579
        * libc/sys/linux/inode.c: Ditto.
9580
        * libc/sys/linux/io.c: Ditto.
9581
        * libc/sys/linux/process.c: Ditto.
9582
        * libc/sys/linux/resource.c: Ditto.
9583
        * libc/sys/linux/sched.c: Ditto.
9584
        * libc/sys/linux/sig.c: Ditto.
9585
        * libc/sys/linux/termios.c: Ditto.
9586
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
9587
        __libc___waitpid weak aliases.
9588
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
9589
        that generate the code for a syscall, but do not create a
9590
        weak alias.
9591
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
9592
        * libc/syscalls/Makefile.in: Regenerated.
9593
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
9594
        functionality.
9595
        * libc/unix/Makefile.am: Add EL/IX level checking.
9596
        * libc/unix/Makefile.in: Regenerated.
9597
 
9598
2002-08-26  Christopher Faylor  
9599
 
9600
        * libc/include/malloc.h: On cygwin, define malloc _r functions as
9601
        wrapper macros to standard malloc functions.
9602
        * libc/include/stdlib.h: Ditto.
9603
        * configure.host: Always define MALLOC_PROVIDED on cygwin.
9604
 
9605
2002-08-22  Thomas Fitzsimmons  
9606
 
9607
        * libc/include/langinfo.h: New file.
9608
        * libc/include/wchar.h: Likewise.
9609
        * libc/include/sys/syslimits.h: Likewise.
9610
        * libc/locale/fix_grouping.c: Likewise.
9611
        * libc/locale/ldpart.c: Likewise.
9612
        * libc/locale/ldpart.h: Likewise.
9613
        * libc/locale/lmessages.c: Likewise.
9614
        * libc/locale/lmessages.h: Likewise.
9615
        * libc/locale/lmonetary.c: Likewise.
9616
        * libc/locale/lmonetary.h: Likewise.
9617
        * libc/locale/lnumeric.c: Likewise.
9618
        * libc/locale/lnumeric.h: Likewise.
9619
        * libc/locale/nl_langinfo.3: Likewise.
9620
        * libc/locale/nl_langinfo.c: Likewise.
9621
        * libc/locale/timelocal.c: Likewise.
9622
        * libc/locale/timelocal.h: Likewise.
9623
        * libc/stdlib/btowc.c: Likewise.
9624
        * libc/stdlib/mbrlen.c: Likewise.
9625
        * libc/stdlib/mbrtowc.c: Likewise.
9626
        * libc/stdlib/mbsinit.c: Likewise.
9627
        * libc/stdlib/mbsrtowcs.c: Likewise.
9628
        * libc/stdlib/wcrtomb.c: Likewise.
9629
        * libc/stdlib/wcsrtombs.c: Likewise.
9630
        * libc/stdlib/wctob.c: Likewise.
9631
        * libc/sys/linux/prof-freq.c: Likewise.
9632
        * libc/sys/linux/profile.c: Likewise.
9633
        * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
9634
        * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
9635
        * libc/include/stdlib.h: Change re-entrant functions to take
9636
        mbstate_t pointers.
9637
        * libc/include/sys/_types.h: Define _mbstate_t.
9638
        * libc/include/sys/config.h (MB_LEN_MAX): New macro.
9639
        * libc/include/sys/errno.h (EILSEQ): New error code.
9640
        * libc/include/sys/reent.h: Include wchar.h.  Change reentrant
9641
        structure to use mbstate_t.
9642
        * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
9643
        * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
9644
        * libc/machine/powerpc/vfscanf.c: Likewise.
9645
        * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
9646
        * libc/stdio/vfprintf.c: Likewise.
9647
        * libc/stdio/vfscanf.c: Likewise.
9648
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
9649
        * libc/stdlib/mblen.c: Use mbstate_t.
9650
        * libc/stdlib/mblen_r.c: Likewise.
9651
        * libc/stdlib/mbstowcs.c: Likewise.
9652
        * libc/stdlib/mbstowcs_r.c: Likewise.
9653
        * libc/stdlib/mbtowc.c: Likewise.
9654
        * libc/stdlib/mbtowc_r.c: Likewise.
9655
        * libc/stdlib/wcstombs.c: Likewise.
9656
        * libc/stdlib/wcstombs_r.c: Likewise.
9657
        * libc/stdlib/wctomb_r.c: Likewise.
9658
        * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
9659
        profile.c.
9660
        * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
9661
        dl-procinfo.c.
9662
        * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
9663
        * libc/sys/linux/sys/types.h (off_t): Define type.
9664
        * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
9665
        to C-UTF-8.
9666
        * testsuite/newlib.locale/UTF-8.exp: Likewise.
9667
 
9668
2002-08-20  Casper S. Hornstrup  
9669
 
9670
        * libc/stdlib/mallocr.c: #include windows.h on Win32.
9671
          (AlignPage): Continue macro on next line.
9672
 
9673
2002-08-19  Jeff Johnston  
9674
 
9675
        * libc/sys/linux/include/pthread.h: New file.
9676
 
9677
2002-08-19  Jeff Johnston  
9678
 
9679
        * libc/include/sys/types.h: Support __need_inttypes macro
9680
        that only sets the __intxx and __uintxx types.
9681
        * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
9682
        to get mprec.h.
9683
        * libc/machine/powerpc/Makefile.in: Regenerated.
9684
        * libc/machine/powerpc/vfprintf.c: Fix state variable type.
9685
        * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
9686
        redundant fixed-point conversion prototypes.
9687
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include 
9688
        after setting __need_inttypes.
9689
 
9690
2002-08-18  Christopher Faylor  
9691
 
9692
        * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
9693
 
9694
2002-08-17  Jeff Johnston  
9695
 
9696
        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
9697
        _LONG_DOUBLE to double.
9698
 
9699
2002-08-17  Jeff Johnston  
9700
 
9701
        * configure.host: Add powerpc*-*-eabispe* configuration.
9702
        * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
9703
        * libc/machine/powerpc/atosfix32.c: Ditto.
9704
        * libc/machine/powerpc/atosfix64.c: Ditto.
9705
        * libc/machine/powerpc/atoufix16.c: Ditto.
9706
        * libc/machine/powerpc/atoufix32.c: Ditto.
9707
        * libc/machine/powerpc/atoufix64.c: Ditto.
9708
        * libc/machine/powerpc/fix64.h: Ditto.
9709
        * libc/machine/powerpc/simdldtoa.c: Ditto.
9710
        * libc/machine/powerpc/strtosfix16.c: Ditto.
9711
        * libc/machine/powerpc/strtosfix32.c: Ditto.
9712
        * libc/machine/powerpc/strtosfix64.c: Ditto.
9713
        * libc/machine/powerpc/strtoufix16.c: Ditto.
9714
        * libc/machine/powerpc/strtoufix32.c: Ditto.
9715
        * libc/machine/powerpc/strtoufix64.c: Ditto.
9716
        * libc/machine/powerpc/ufix64toa.c: Ditto.
9717
        * libc/machine/powerpc/configure.in: Add check for
9718
        powerpc*-eabispe and add fixed-point conversion functions.
9719
        * libc/machine/powerpc/configure: Regenerated.
9720
        * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
9721
        %r and %R format specifiers which handle fixed-point data.
9722
        * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
9723
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
9724
        function prototypes.
9725
 
9726
2002-08-17  Jeff Johnston  
9727
 
9728
        *  Makefile.am: Move cmath stuff into libc/sys/linux.
9729
        *  Makefile.in: Regenerated.
9730
        *  configure.host: Default -DMB_CAPABLE for x86-linux.
9731
        *  libc/include/reent.h: Define _sbrk to take signed int argument.
9732
        *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
9733
        *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
9734
        make locale name checking more efficient.  Also allow "C-ISO-8859-1"
9735
        locale for LC_CTYPE and LC_MESSAGES.
9736
        *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
9737
        *  libc/sys/linux/brk.c: Change sbrk prototype.
9738
        *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
9739
        include .
9740
        (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
9741
        (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
9742
        *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
9743
        with a few local additions.
9744
        *  libc/sys/linux/sys/features.h: New file.
9745
        *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
9746
        to take signed argument.
9747
        *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
9748
        prototypes to take signed size argument.
9749
 
9750
2002-08-16  Thomas Fitzsimmons  
9751
 
9752
        * libc/sys/linux/cmath: New directory.
9753
        * libc/sys/linux/include/cmathcalls.h: New file.
9754
        * libc/sys/linux/include/complex.h: New file.
9755
        * libc/sys/linux/machine/i386/huge_val.h: New file
9756
        * libm/math/w_sincos.c: New file
9757
        * libm/math/wf_sincos.c: New file
9758
        * libm/mathfp/s_sincos.c: New file
9759
        * libm/mathfp/sf_sincos.c: New file
9760
        * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
9761
        * libc/include/math.h: Add sincos and sincosf declarations.
9762
        * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
9763
        (SUBLIBS): Likewise.
9764
        * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
9765
        * libm/math/Makefile.am (src): Add w_sincos.c.
9766
        (fsrc): Add wf_sincos.c.
9767
        * libm/mathfp/Makefile.am (src): Add s_sincos.c
9768
        (fsrc): Add sf_sincos.c.
9769
 
9770
2002-08-12  Jeff Johnston  
9771
 
9772
        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
9773
        Declare as extern chars and use the address operator to
9774
        properly use values set in linker script.
9775
 
9776
2002-08-09  Jason Tishler  
9777
 
9778
        * libc/stdlib/mallocr.c: Include .
9779
        (request2size): Change macro to do
9780
        unsigned long comparisons and avoid signed overflow.
9781
        (mALLOc): Add overflow check for the number of bytes to allocate.
9782
        (rEALLOc): Ditto.
9783
 
9784
2002-08-09  Jeff Johnston  
9785
 
9786
        * configure.host: Add check for --enable-newlib-io-pos-args
9787
        and define WANT_IO_POS_ARGS flag if enabled.  Define
9788
        the flag by default for x86-linux configurations.
9789
        * configure.in: Add support for --enable-newlib-io-pos-args.
9790
        * libc/configure.in: Ditto.
9791
        * configure: Regenerated.
9792
        * libc/configure: Ditto.
9793
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
9794
        vfprintf.c and vfiprintf.c.
9795
        * libc/stdio/Makefile.in: Regenerated.
9796
        * libc/stdio/vfprintf.c: Add positional argument support that
9797
        is enabled by compiling with -DWANT_IO_POS_ARGS.
9798
 
9799
2002-08-07  Richard Sandiford  
9800
 
9801
        * libc/include/machine/setjmp.h: For mips, define _JBLEN based
9802
        based on __mips_soft_float rather than __mips64.
9803
        * libc/machine/mips/setjmp.S: Provide hard and soft float versions
9804
        of both 32-bit and 64-bit code.
9805
 
9806
2002-08-04  Christopher Faylor  
9807
 
9808
        * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
9809
        arguments for popen to match similar functionality in fopen.
9810
 
9811
2002-07-29  Pierre Humblet  
9812
 
9813
        * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
9814
 
9815
2002-07-29  Jeff Johnston  
9816
 
9817
        * libc/sys/linux/Makefile.am: Add aio64.c.
9818
        * libc/sys/linux/Makefile.in: Regenerated.
9819
        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
9820
        * libc/sys/linux/aio64.c: New file.
9821
 
9822
2002-07-26  Jeff Johnston  
9823
 
9824
        *  libc/include/sys/param.h (MAX, MIN): Added macros.
9825
        *  libc/sys/linux/Makefile.am: Add new files.
9826
        *  libc/sys/linux/Makefile.in: Regenerated.
9827
        *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9828
        *  libc/sys/linux/inode.c (fchdir): Added syscall.
9829
        *  libc/sys/linux/ftw.c: New file.
9830
        *  libc/sys/linux/ftw64.c: Ditto.
9831
        *  libc/sys/linux/getwd.c: Ditto.
9832
        *  libc/sys/linux/scandir64.c: Ditto.
9833
        *  libc/sys/linux/strverscmp.c: Ditto.
9834
        *  libc/sys/linux/versionsort.c: Ditto.
9835
        *  libc/sys/linux/versionsort64.c: Ditto.
9836
 
9837
2002-07-26  Jeff Johnston  
9838
 
9839
        * libc/string/strings.tex: Fix typo for memccpy.
9840
 
9841
2002-07-25  Jeff Johnston  
9842
 
9843
        * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
9844
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
9845
 
9846
2002-07-25  Jeff Johnston  
9847
 
9848
        * libc/sys/linux/Makefile.am: Add fclean.c.
9849
        * libc/sys/linux/Makefile.in: Regenerated.
9850
        * libc/sys/linux/fclean.c: New file.
9851
 
9852
2002-07-25  Jeff Johnston  
9853
 
9854
        * libc/sys/linux/Makefile.am: Add confstr.c.
9855
        * libc/sys/linux/Makefile.in: Regenerated.
9856
        * libc/sys/linux/confstr.c: New file.
9857
        * libc/sys/linux/confstr.h: Ditto.
9858
        * libc/sys/linux/sys/unistd.h: Include  and
9859
        .
9860
 
9861
2002-07-25  Jeff Johnston  
9862
 
9863
        * libc/sys/linux/config.h (__set_errno): Macro definition removed.
9864
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
9865
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
9866
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
9867
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
9868
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
9869
 
9870
2002-07-24  Jeff Johnston  
9871
 
9872
        * libc/sys/linux/Makefile.am: Add new files.
9873
        * libc/sys/linux/Makefile.in: Regenerated.
9874
        * libc/sys/linux/fstab.c: New file.
9875
        * libc/sys/linux/fstatvfs.c: Ditto.
9876
        * libc/sys/linux/fstatvfs64.c: Ditto.
9877
        * libc/sys/linux/internal_statvfs.c: Ditto.
9878
        * libc/sys/linux/mntent.c: Ditto.
9879
        * libc/sys/linux/mntent_r.c: Ditto.
9880
        * libc/sys/linux/statvfs.c: Ditto.
9881
        * libc/sys/linux/statvfs64.c: Ditto.
9882
        * libc/sys/linux/include/paths.h: Ditto.
9883
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
9884
        with double-underscore weak-aliases.
9885
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9886
 
9887
2002-07-24  Jeff Johnston  
9888
 
9889
        * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
9890
        to use _sig_func_ptr type casted constants.
9891
        (_sig_func_ptr): Typedef moved to sys/signal.h.
9892
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
9893
        For __rtems, use POSIX definition, otherwise default to ANSI.
9894
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
9895
 
9896
2002-07-24  Stephane Carrez  
9897
 
9898
        * configure.host: Recognize m6811-elf and m6812-elf targets.
9899
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
9900
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
9901
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
9902
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
9903
        according to __INT_MAX__.
9904
        (_POINTER_INT): Define to short.
9905
        * libc/machine/m68hc11/Makefile.am: New file.
9906
        * libc/machine/m68hc11/Makefile.in: New file.
9907
        * libc/machine/m68hc11/configure.in: New file.
9908
        * libc/machine/m68hc11/configure: New file.
9909
        * libc/machine/m68hc11/aclocal.m4: New file.
9910
        * libc/machine/m68hc11/setjmp.S: New file.
9911
 
9912
2002-07-23  Jeff Johnston  
9913
 
9914
        * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
9915
        prototypes.
9916
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
9917
        * libc/stdlib/Makefile.in: Regenerated.
9918
        * libc/stdlib/strdup.c: Removed.
9919
        * libc/stdlib/strdup_r.c: Removed.
9920
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
9921
        mempcpy.c, strndup.c, and strndup_r.c.
9922
        * libc/string/Makefile.in: Regenerated.
9923
        * libc/string/memccpy.c: New file.
9924
        * libc/string/mempcpy.c: Ditto.
9925
        * libc/string/strndup.c: Ditto.
9926
        * libc/string/strndup_r.c: Ditto.
9927
        * libc/string/strdup.c: New file moved from stdlib.
9928
        * libc/string/strdup_r.c: Ditto.
9929
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
9930
 
9931
2002-07-23  Jeff Johnston  
9932
 
9933
        * libc/include/stdio.h: Move fcloseall prototype within
9934
        #ifndef _REENT_ONLY section.
9935
        * libc/sys/linux/Makefile.am: Add new files.
9936
        * libc/sys/linux/Makefile.in: Regenerated.
9937
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
9938
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
9939
        * libc/sys/linux/sys/types.h: Add ino64_t type.
9940
        * libc/sys/linux/ctermid.c: New file.
9941
        * libc/sys/linux/ttyname_r.c: Ditto.
9942
        * libc/sys/linux/readdir64.c: Ditto.
9943
 
9944
2002-07-22  Jeff Johnston  
9945
 
9946
        * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
9947
        * libc/stdio/Makefile.am: Added fcloseall.c support.
9948
        * libc/stdio/Makefile.in: Regenerated.
9949
        * libc/stdio/fcloseall.c: New file.
9950
        * libc/stdio64/Makefile.am: Remove missing .def references.
9951
        * libc/stdio64/Makefile.in: Regenerated.
9952
 
9953
2002-07-22  Jeff Johnston  
9954
 
9955
        * libc/machine/powerpc/time.c: Removed..renamed to times.c.
9956
        * libc/machine/powerpc/times.c: New file.
9957
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
9958
        * libc/machine/powerpc/Makefile.in: Regenerated.
9959
 
9960
2002-07-22  Aldy Hernandez  
9961
 
9962
        * libc/machine/powerpc/time.c: New file.
9963
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
9964
        time.c.
9965
        * libc/machine/powerpc/Makefile.in: Regenerated.
9966
 
9967
2002-07-22  Thomas Fitzsimmons  
9968
 
9969
        * libc/libc.texinfo: Change copyright notices to Red Hat from
9970
        Cygnus.
9971
        * libm/libm.texinfo: Likewise.
9972
        * README: Change docs URL to
9973
        http://sources.redhat.com/newlib/docs.html.
9974
 
9975
2002-07-19  Jeff Johnston  
9976
 
9977
        * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
9978
        * libc/sys/linux/Makefile.in: Regenerated.
9979
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
9980
        * libc/sys/linux/io.c: Add ftruncate syscall.
9981
        * libc/sys/linux/fpathconf.c: New file.
9982
        * libc/sys/linux/pathconf.c: Ditto.
9983
        * libc/sys/linux/linux_fsinfo.h: Ditto.
9984
        * libc/sys/linux/sys/unistd.h: Ditto.
9985
 
9986
2002-07-19  Jeff Johnston  
9987
 
9988
        * libc/stdio64/Makefile.am: Remove missing files.
9989
        * libc/stdio64/Makefile.in: Regenerated.
9990
 
9991
2002-07-19  Jeff Johnston  
9992
 
9993
        * libc/include/sys/config.h[__i386__][__linux__]: Define
9994
        _LARGE64FILE_SOURCE to 1.
9995
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
9996
        * libc/sys/linux/Makefile.in: Regenerated.
9997
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
9998
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
9999
        * libc/sys/linux/sys/resource.h: Include  instead
10000
        of .
10001
        * libc/sys/linux/getrlimit64.c: New file.
10002
        * libc/sys/linux/setrlimit64.c: Ditto.
10003
 
10004
2002-07-19  Thomas Fitzsimmons  
10005
 
10006
        * libc/argz/argz_replace.c: Include buf_findstr.h.
10007
        * libc/argz/buf_findstr.c: Likewise.
10008
        * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
10009
        value to (char *).
10010
        * libc/argz/envz_get.c: Likewise.
10011
        * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
10012
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
10013
        * libc/stdlib/getsubopt.3: New file.
10014
        * libc/stdlib/getsubopt.c: New file.
10015
        * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
10016
        Change esp to ebp.
10017
 
10018
2002-07-17  Jeff Johnston  
10019
 
10020
        * configure.host(stdio64_dir): New setting that is used to
10021
        enable building of new stdio64 directory.
10022
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
10023
        large files.
10024
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
10025
        stdio64 info to info files.
10026
        * libc/Makefile.in: Regenerated.
10027
        * libc/configure: Ditto.
10028
        * libc/configure.in: Add configuration variables that are set
10029
        when stdio64 is selected as subdir in configure.host.
10030
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
10031
        on whether STDIO64 flag is set or not.
10032
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
10033
        STDIO64 flag is set or not.
10034
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
10035
        _r sycall routines.
10036
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
10037
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
10038
        (__SL64): New file flag indicating file is opened via fopen64.
10039
        * libc/include/sys/_types.h(_off64_t): Added.
10040
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
10041
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
10042
        for 64-bit offset large file support.
10043
        (__FILE): New intermediate type either set to struct __sFILE64 or
10044
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
10045
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
10046
        * libc/reent/Makefile.in: Regenerated.
10047
        * libc/reent/fstat64r.c: New file.
10048
        * libc/reent/lseek64r.c: Ditto.
10049
        * libc/reent/open64r.c: Ditto.
10050
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
10051
        based on whether STDIO64 flag is set.
10052
        * libc/stdio/stdio.tex: Add blank line.
10053
        * libc/stdio64/Makefile.am: New file.
10054
        * libc/stdio64/Makefile.in: Ditto.
10055
        * libc/stdio64/fgetpos64.c: Ditto.
10056
        * libc/stdio64/fopen64.: Ditto.
10057
        * libc/stdio64/freopen64.c: Ditto.
10058
        * libc/stdio64/fseeko64.c: Ditto.
10059
        * libc/stdio64/fsetpos64.c: Ditto.
10060
        * libc/stdio64/ftello64.c: Ditto.
10061
        * libc/stdio64/local64.h: Ditto.
10062
        * libc/stdio64/stdio64.c: Ditto.
10063
        * libc/stdio64/stdio64.tex: Ditto.
10064
        * libc/stdio64/tmpfile64.c: Ditto.
10065
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
10066
        open64.
10067
 
10068
2002-07-16  Jeff Johnston  
10069
 
10070
        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
10071
        if LIBC_EXTRA_LIB is present.
10072
        * libc/Makefile.in: Regenerated.
10073
        * libc/libc.texinfo: Add blank line.
10074
        * libc/argz/Makefile.am: Add doc support.
10075
        * libc/search/Makefile.am: Ditto.
10076
        * libc/argz/Makefile.in: Regenerated.
10077
        * libc/search/Makefile.in: Ditto.
10078
        * libc/misc/misc.tex: Add ffs function.
10079
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.
10080
 
10081
2002-07-15  Jeff Johnston  
10082
 
10083
        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
10084
        definition that was removed in error.
10085
 
10086
2002-07-15  Jeff Johnston  
10087
 
10088
        * libc/include/machine/ieeefp.h: Change to only define
10089
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
10090
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
10091
        * libc/include/sys/config.h: Include  and
10092
        remove redundant floating point definitions.
10093
 
10094
2002-07-15  Jeff Johnston  
10095
 
10096
        * libc/sys/linux/callocr.c: Fix so code references
10097
        calloc.
10098
 
10099
2002-07-15  Jeff Johnston  
10100
 
10101
        * libc/sys/linux/Makefile.am: Add new files.
10102
        * libc/sys/linux/Makefile.in: Regenerated.
10103
        * libc/sys/linux/bp-sym.h: Moved to include directory.
10104
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
10105
        * libc/sys/linux/inode.c: Set _LIBC to 1.
10106
        * libc/sys/linux/mq_close.c: Ditto.
10107
        * libc/sys/linux/mq_getattr.c: Ditto.
10108
        * libc/sys/linux/mq_open.c: Ditto.
10109
        * libc/sys/linux/mq_receive.c: Ditto.
10110
        * libc/sys/linux/mq_send.c: Ditto.
10111
        * libc/sys/linux/mq_setattr.c: Ditto.
10112
        * libc/sys/linux/mq_unlink.c: Ditto.
10113
        * libc/sys/linux/calloc.c: New file.
10114
        * libc/sys/linux/callocr.c: Ditto.
10115
        * libc/sys/linux/cfreer.c: Ditto.
10116
        * libc/sys/linux/config.h: Ditto.
10117
        * libc/sys/linux/free.c: Ditto.
10118
        * libc/sys/linux/freer.c: Ditto.
10119
        * libc/sys/linux/msize.c: Ditto.
10120
        * libc/sys/linux/msizer.c: Ditto.
10121
        * libc/sys/linux/mstats.c: Ditto.
10122
        * libc/sys/linux/mtrim.c: Ditto.
10123
        * libc/sys/linux/mtrimr.c: Ditto.
10124
        * libc/sys/linux/pvallocr.c: Ditto.
10125
        * libc/sys/linux/realloc.c: Ditto.
10126
        * libc/sys/linux/reallocr.c: Ditto.
10127
        * libc/sys/linux/thread-m.h: Ditto.
10128
        * libc/sys/linux/vallocr.c: Ditto.
10129
        * libc/sys/linux/bp-checks.h: Ditto.
10130
        * libc/sys/linux/libc-symbols.h: Ditto.
10131
        * libc/sys/linux/libc-tsd.h: Ditto.
10132
        * libc/sys/linux/libintl.h: Ditto.
10133
        * libc/sys/linux/malign.c: Ditto.
10134
        * libc/sys/linux/malignr.c: Ditto.
10135
        * libc/sys/linux/mallinfor.c: Ditto.
10136
        * libc/sys/linux/malloc.c: Ditto.
10137
        * libc/sys/linux/mallocr.c: Ditto.
10138
        * libc/sys/linux/malloptr.c: Ditto.
10139
        * libc/sys/linux/mallstatsr.c: Ditto.
10140
        * libc/sys/linux/mcheck.c: Ditto.
10141
        * libc/sys/linux/mhooks.h: Ditto.
10142
        * libc/sys/linux/include/bp-sym.h: Ditto.
10143
        * libc/sys/linux/include/malloc.h: Ditto.
10144
        * libc/sys/linux/include/mcheck.h: Ditto.
10145
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
10146
        getpagesize.c.
10147
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
10148
        * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
10149
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
10150
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
10151
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10152
        * libc/sys/linux/machine/i386/sysdep.h: New file.
10153
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
10154
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
10155
        * libc/sys/linux/sys/lock.h: Include .
10156
 
10157
2002-07-12  Jeff Johnston  
10158
 
10159
        * libc/sys/linux/include/mqueue.h: Change to use 
10160
        instead of .
10161
        * libc/sys/linux/sys/signal.h: Change to include various linux
10162
         header files, rather than  so as
10163
        to work with multiple releases of glibc header files.
10164
 
10165
2002-07-11  Chris Demetriou  
10166
 
10167
        * testsuite/newlib.search/hsearchtest.c: New file to test
10168
        newlib/libc/search.
10169
        * testsuite/newlib.search/hsearchtest.exp: Likewise.
10170
 
10171
2002-07-10  Florian Schrack  
10172
 
10173
        * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
10174
        a terminal.
10175
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
10176
 
10177
2002-07-08  Jeff Johnston  
10178
 
10179
        * libc/include/math.h (MAXFLOAT): Added.
10180
 
10181
Mon Jul  8 13:55:23 2002  J"orn Rennecke 
10182
 
10183
        * libc/machine/sh/Makefile.am (lib_a_SOURCES):
10184
        Make strcmp.S unconditional.
10185
        * libc/machine/sh/Makefile.in: Regenerate.
10186
        * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
10187
        * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
10188
        for SHcompact.
10189
 
10190
2002-07-04  Jeff Johnston  
10191
 
10192
        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
10193
        define before including .
10194
 
10195
2002-07-04  Jeff Johnston  
10196
 
10197
        * libc/include/utime.h: Add include of <_ansi.h>.
10198
        * libc/sys/linux/Makefile.am: Add utimes.c.
10199
        * libc/sys/linux/Makefile.in: Regenerated.
10200
        * libc/sys/linux/inode.c(__umask): New static routine.
10201
        (umask): Written to use __umask and attempt to thread lock.
10202
        (getumask): New function written to use __umask and thread lock.
10203
        * libc/sys/linux/utimes.c: New file.
10204
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
10205
        * libc/sys/linux/sys/utime.h: New file.
10206
 
10207
2002-07-04  Thomas Fitzsimmons  
10208
 
10209
        * libtool.m4: New file.
10210
        * libc/sys/linux/process.c: Implement vfork in terms of fork,
10211
        rather than as a syscall.
10212
 
10213
2002-07-04  Jeff Johnston  
10214
 
10215
        * libc/include/stdio.h: Add new prototypes.
10216
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
10217
        * libc/stdio/Makefile.in: Regenerated.
10218
        * libc/stdio/fseek.c: Add fseeko documentation.
10219
        * libc/stdio/ftell.c: Add ftello documentation.
10220
        * libc/stdio/fseeko.c: New file.
10221
        * libc/stdio/ftello.c: New file.
10222
 
10223
2002-07-04  Jeff Johnston  
10224
 
10225
        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
10226
        * libc/stdio/Makefile.in: Regenerated.
10227
        * libc/stdio/asprintf.c: New file.
10228
        * libc/stdio/vasprintf.c: Ditto.
10229
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
10230
        the buffer for asprintf support.
10231
        * libc/stdio/sprintf.c: Add asprintf documentation.
10232
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
10233
        * libc/include/stdio.h: Add new prototypes.
10234
 
10235
2002-07-02  Thomas Fitzsimmons  
10236
 
10237
        * libc/search/hcreate.c: Remove advertising clause from license.
10238
        * libc/search/hcreate_r.c: Likewise.
10239
 
10240
2002-07-02  Chris Demetriou  
10241
 
10242
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
10243
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
10244
        Check that one of them is defined and error out if not.
10245
        Add any platforms defined in  that are missing.
10246
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
10247
        (DB_LITTLE_ENDIAN): New defines.
10248
        * libc/search/hash.c: Replace all incorrect checks for
10249
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
10250
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
10251
        * libc/search/hash_page.c: Likewise.
10252
 
10253
2002-06-28  Thomas Fitzsimmons  
10254
 
10255
        * libm/mathfp/sf_pow.c (powf): Change k from int to float.
10256
 
10257
2002-06-27  Benjamin Kosnik  
10258
 
10259
        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
10260
        * libc/include/time.h: Same.
10261
        * libc/include/string.h: Same.
10262
        * libc/include/stdlib.h: Same.
10263
        * libc/include/signal.h: Same.
10264
        * libc/include/setjmp.h: Same.
10265
        * libc/include/math.h: Same.
10266
        * libc/include/locale.h: Same.
10267
        * libc/include/ctype.h: Same.
10268
        * libc/include/machine/setjmp.h: Same.
10269
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
10270
        (_END_STD_C): Add.
10271
 
10272
2002-06-27  Jeff Johnston  
10273
 
10274
        * libc/include/sys/_types.h: Define _ssize_t as int if int is
10275
        32-bits, otherwise define it as long.
10276
        * libc/include/sys/types.h: Include <_ansi.h> and 
10277
        and define ssize_t as _ssize_t.
10278
        * libc/reent/readr.c: Change return type to _ssize_t.
10279
        * libc/reent/writer.c: Ditto.
10280
        * libc/sys/linux/Makefile.am: Add aio.c.
10281
        * libc/sys/linux/Makefile.in: Regenerated.
10282
        * libc/sys/linux/aio.c: New file.
10283
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
10284
        * libm/common/fdlibm.h: Undef __P before defining it.
10285
 
10286
2002-06-27  Thomas Fitzsimmons  
10287
 
10288
        * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
10289
        exponent_is_even_int variable.  Handle case where x is
10290
        negative, and y is an odd integer.
10291
        * libm/mathfp/sf_pow.c (powf): Likewise.
10292
 
10293
        * libm/mathfp/er_lgamma.c: Remove __kernel references.
10294
        * libm/mathfp/erf_lgamma.c: Likewise.
10295
        * libm/mathfp/s_tgamma.c: Likewise.
10296
        * libm/mathfp/sf_tgamma.c: Likewise.
10297
 
10298
2002-06-27  Jeff Johnston  
10299
 
10300
        * libc/sys/linux/Makefile.am: Add new clock routines.
10301
        * libc/sys/linux/Makefile.in: Regenerated.
10302
        * libc/sys/linux/clock_getres.c: New file.
10303
        * libc/sys/linux/clock_gettime.c: Ditto.
10304
        * libc/sys/linux/clock_settime.c: Ditto.
10305
        * libc/sys/linux/hp-timing.h: Ditto.
10306
        * libc/sys/linux/libc-internal.h: Ditto.
10307
        * libc/sys/linux/sysconf.c: Fix typo.
10308
        * libc/sys/linux/include/time.h: Add include of .
10309
        * libc/sys/linux/machine/hp-timing.h: New file.
10310
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
10311
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10312
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
10313
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
10314
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
10315
        * libc/sys/linux/sys/linux_time.h: New file.
10316
        * libc/sys/linux/sys/time.h: Remove include of  and
10317
        replace with .
10318
 
10319
Wed Jun 26 16:33:25 2002  J"orn Rennecke 
10320
 
10321
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
10322
 
10323
2002-06-25  Jeff Johnston  
10324
 
10325
        * libc/sys/linux/Makefile.am: Consolidate additional items under
10326
        ADD_OBJS.
10327
        * libc/sys/linux/Makefile.in: Regenerated.
10328
 
10329
2002-06-25  Jeff Johnston  
10330
 
10331
        * libc/sys/linux/sethostname.c: New file.
10332
        * libc/sys/linux/Makefile.am: Add sethostname.c support.
10333
        * libc/sys/linux/Makefile.in: Regenerated.
10334
 
10335
2002-06-24  Thomas Fitzsimmons  
10336
 
10337
        * libc/search/db_local.h: New file.
10338
        * libc/include/db.h: Remove.
10339
        * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
10340
        * libc/search/hash.c (MIN,MAX): Add macros.  Change  to
10341
        "db_local.h".
10342
        * libc/search/hash_bigkey.c: Likewise.
10343
        * libc/search/hash_buf.c: Likewise.
10344
        * libc/search/hash_func.c: Likewise.
10345
        * libc/search/hash_log2.c: Likewise.
10346
        * libc/search/hash_page.c: Likewise.
10347
 
10348
2002-06-24  J"orn Rennecke 
10349
 
10350
        * libc/machine/sh/strlen.S: New file.
10351
        * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
10352
        * libc/machine/sh/Makefile.am: Regenerate.
10353
 
10354
2002-06-24  Jeff Johnston  
10355
 
10356
        * libc/sys/linux/gethostname.c: Change name to __gethostname and
10357
        add gethostname alias.
10358
 
10359
2002-06-24  Jeff Johnston  
10360
 
10361
        * libc/include/math.h: Remove .
10362
        (__dmath): Use __ULong instead of __uint32_t.
10363
        * libc/include/sys/reent.h: If long or int is not 32-bits,
10364
        include  to get definitions for __int32_t and __uint32_t.
10365
        * libc/stdlib/mprec.h: Include  to get integer defs.
10366
        * libm/common/fdlibm.h: Ditto.
10367
 
10368
2002-06-24  Thomas Fitzsimmons  
10369
 
10370
        * libc/include/ndbm.h: Remove.
10371
        * libc/search/ndbm.c: Remove.
10372
 
10373
2002-06-24  WATANABE Hirofumi 
10374
 
10375
        * libc/stdio/fseek.c (fseek): Fix braces.
10376
 
10377
2002-06-21  Corinna Vinschen  
10378
 
10379
        * libc/time/strftime.c (strftime): Add %e format specifier.
10380
 
10381
2002-06-21  Thomas Fitzsimmons  
10382
 
10383
        * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
10384
        previously defined.
10385
 
10386
2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
10387
 
10388
        * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
10389
        (BYTE_ORDER): Define as appropriate for the target.
10390
 
10391
2002-06-21  Jeff Johnston  
10392
 
10393
        * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
10394
        to _ssize_t.
10395
        * libc/sys/linux/io.c (read, write): Change to return ssize_t.
10396
 
10397
2002-06-21  Jeff Johnston  
10398
 
10399
        * libc/include/stdio.h (__getline, __getdelim): New prototypes.
10400
        * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
10401
        [HAVE_GETDATE](getdate_err): New error code.
10402
        * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
10403
        * libc/stdio/Makefile.in: Regenerated.
10404
        * libc/stdio/getdelim.c: New file.
10405
        * libc/stdio/getline.c: Ditto.
10406
        * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
10407
        and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
10408
        * libc/sys/linux/Makefile.in: Regenerated.
10409
        * libc/sys/linux/getdate.c: New file.
10410
        * libc/sys/linux/getdate_err.c: Ditto.
10411
        * libc/sys/linux/ntp_gettime.c: Ditto.
10412
        * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
10413
        * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
10414
 
10415
2002-06-21  Jeff Johnston  
10416
 
10417
        * libc/include/math.h: Add  to get _uint32_t definition.
10418
        * libc/include/machine/types.h: Skip __off_t, __pid_t, and
10419
        __loff_t definitions if special _HAVE_SYSTYPES macro defined.
10420
        * libc/include/sys/config.h: Removed _uint*, _int* definitions.
10421
        * libc/include/sys/param.h: Remove i386 case which is handled
10422
        by default case.
10423
        (BIG_ENDIAN, LITTLE_ENDIAN): Protect
10424
        definitions in case they are already defined.
10425
        (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
10426
        _IEEE_LITTLE_ENDIAN flags.
10427
        * libc/include/sys/reent.h: Change __uint32_t references to
10428
        use _ULong instead.
10429
        (_REENT_GETDATE_REENT_P): New macro.
10430
        * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
10431
        (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
10432
        * libc/search/hash.h: Add default setting of BYTE_ORDER,
10433
        LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
10434
        * libc/sys/linux/sys/types.h: Include .  Define
10435
        ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
10436
        pid_t, off_t, loff_t, caddr_t, and daddr_t type
10437
        definitions which are done by subsequent glibc headers.
10438
        Add macro definitions to prevent subsequent header files from
10439
        defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
10440
        intptr_t to after glibc definitions of types they are based on.
10441
 
10442
2002-06-21  Jeff Johnston  
10443
 
10444
        * libc/include/errno.h: Protect from multiple inclusion.
10445
 
10446
2002-06-21  Nick Clifton  
10447
 
10448
        * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
10449
 
10450
2002-06-20  Thomas Fitzsimmons  
10451
 
10452
        * Makefile.am (LIB_OBJECTLISTS): Add
10453
        libc/search/objectlist.awk.in.
10454
        * libc/Makefile.am (SUBDIRS): Add search.
10455
        (SUBLIBS): Add search/libsearch.la.
10456
        * libc/configure.in (AC_OUTPUT): Add search/Makefile.
10457
        * libc/search: New directory.
10458
        * libc/search/Makefile.am: New file.
10459
        * libc/search/extern.h: New file.
10460
        * libc/search/hash.c: New file.
10461
        * libc/search/hash.h: New file.
10462
        * libc/search/hash_bigkey.c: New file.
10463
        * libc/search/hash_buf.c: New file.
10464
        * libc/search/hash_func.c: New file.
10465
        * libc/search/hash_log2.c: New file.
10466
        * libc/search/hash_page.c: New file.
10467
        * libc/search/hcreate.3: New file.
10468
        * libc/search/hcreate.c: New file.
10469
        * libc/search/hcreate_r.c: New file.
10470
        * libc/search/ndbm.c: New file.
10471
        * libc/search/page.h: New file.
10472
        * libc/search/tdelete.c: New file.
10473
        * libc/search/tdestroy.c: New file.
10474
        * libc/search/tfind.c: New file.
10475
        * libc/search/tsearch.3: New file.
10476
        * libc/search/tsearch.c: New file.
10477
        * libc/search/twalk.c: New file.
10478
        * libc/include/db.h: New file.
10479
        * libc/include/ndbm.h: New file.
10480
        * libc/include/search.h: New file.
10481
        * libc/include/sys/queue.h: New file.
10482
        * libc/include/sys/cdefs.h: New file.
10483
        * libc/include/sys/param.h
10484
        [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
10485
        LITTLE_ENDIAN or BIG_ENDIAN.
10486
        * libc/include/sys/errno.h (EFTYPE): New macro.
10487
        * libc/search/bsearch.c: Move from libc/stdlib.
10488
        * libc/search/qsort.c: Likewise.
10489
        * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
10490
        qsort.c.
10491
        (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
10492
        * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
10493
 
10494
2002-06-19  Jeff Johnston  
10495
 
10496
        * libc/sys/linux/Makefile.am: Add support for message queue routines,
10497
        ipc routines, and ftok.
10498
        * libc/sys/linux/Makefile.in: Regenerated.
10499
        * libc/sys/linux/ftok.c: New file.
10500
        * libc/sys/linux/ipc.c: Ditto.
10501
        * libc/sys/linux/mq_close.c: Ditto.
10502
        * libc/sys/linux/mq_getattr.c: Ditto.
10503
        * libc/sys/linux/mq_notify.c: Ditto.
10504
        * libc/sys/linux/mq_open.c: Ditto.
10505
        * libc/sys/linux/mq_receive.c: Ditto.
10506
        * libc/sys/linux/mq_send.c: Ditto.
10507
        * libc/sys/linux/mq_setattr.c: Ditto.
10508
        * libc/sys/linux/mq_unlink.c: Ditto.
10509
        * libc/sys/linux/mqlocal.h: Ditto.
10510
        * libc/sys/linux/include/mqueue.h: Ditto.
10511
        * libc/sys/linux/sys/types.h: Define __gid_t_defined and
10512
        __uid_t_defined.
10513
 
10514
2002-06-19  J"orn Rennecke 
10515
 
10516
        * libm/common/sf_lround.c (round): Change name to: (lround).
10517
        * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
10518
        remquof.
10519
 
10520
2002-06-18  Thomas Fitzsimmons  
10521
 
10522
        * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
10523
        procedure.
10524
        (newlib_pass_fail): Change to compile and run only one file.
10525
        * testsuite/newlib.locale/locale.exp: Use new
10526
        newlib_pass_fail_all procedure.
10527
        * testsuite/newlib.string/string.exp: Likewise.
10528
 
10529
2002-06-18  Dave Brolley  
10530
 
10531
        From Catherine Moore, Michael Meissner, Richard Sandiford:
10532
        * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
10533
        (_JBTYPE): Ditto.
10534
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
10535
        (__ATTRIBUTE_IMPURE_PTR__): Ditto.
10536
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
10537
        * configure.host: Support frv-*-*.
10538
        * libc/machine/frv/Makefile.am: New file.
10539
        * libc/machine/frv/configure.in: New file.
10540
        * libc/machine/frv/setjmp.S: New file.
10541
 
10542
2002-06-18  Thomas Fitzsimmons  
10543
 
10544
        * libc/include/ctype.h: Remove isblank macro.
10545
 
10546
        * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
10547
        * libc/ctype/isblank.c: New file.
10548
        * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
10549
        declaration.  Add isblank macro.
10550
 
10551
2002-06-18  Jeff Johnston  
10552
 
10553
        * testsuite/newlib.stdlib/atexit.c: New file.
10554
        * testsuite/newlib.stdlib/atexit.exp: Ditto.
10555
        * testsuite/newlib.string/tstring.c: Change default start size
10556
        to something more reasonable for embedded platforms.
10557
 
10558
2002-06-14  Thomas Fitzsimmons  
10559
 
10560
        * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
10561
 
10562
        * libc/argz: New directory.
10563
        * libc/argz/*: New files.
10564
        * libc/argz/argz_add.c: New file.
10565
        * libc/argz/argz_add_sep.c: New file.
10566
        * libc/argz/argz_append.c: New file.
10567
        * libc/argz/argz_count.c: New file.
10568
        * libc/argz/argz_create.c: New file.
10569
        * libc/argz/argz_create_sep.c: New file.
10570
        * libc/argz/argz_delete.c: New file.
10571
        * libc/argz/argz_extract.c: New file.
10572
        * libc/argz/argz_insert.c: New file.
10573
        * libc/argz/argz_next.c: New file.
10574
        * libc/argz/argz_replace.c: New file.
10575
        * libc/argz/argz_stringify.c: New file.
10576
        * libc/argz/buf_findstr.c: New file.
10577
        * libc/argz/envz_add.c: New file.
10578
        * libc/argz/envz_entry.c: New file.
10579
        * libc/argz/envz_get.c: New file.
10580
        * libc/argz/envz_merge.c: New file.
10581
        * libc/argz/envz_remove.c: New file.
10582
        * libc/argz/envz_strip.c: New file.
10583
        * libc/include/argz.h: New file.
10584
        * libc/include/envz.h: New file.
10585
        * Makefile.am (LIBC_OBJECTLISTS): Add
10586
        libc/argz/objectlist.awk.in.
10587
        * libc/Makefile.am (SUBDIRS): Add argz.
10588
        (SUBLIBS): Add argz/libargz.la.
10589
        * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
10590
        * libc/include/errno.h: Add error_t typedef.
10591
 
10592
2002-06-13  Jeff Johnston  
10593
 
10594
        * libc/include/stdlib.h: Add _Exit prototype.
10595
        * libc/stdlib/Makefile.am: Add _Exit.c support.
10596
        * libc/stdlib/Makefile.in: Ditto.
10597
        * libc/stdlib/_Exit.c: New file.
10598
 
10599
2002-06-13  Stephen L. Moshier  
10600
 
10601
        * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
10602
        x is close to -1.0 and y is very large to use ax (absolute value)
10603
        instead of x.
10604
        * libm/math/ef_pow.c (__ieee754_powf): Ditto.
10605
 
10606
Thu Jun 13 19:23:40 2002  J"orn Rennecke 
10607
 
10608
        * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
10609
        Fix clobbering bytes before destination if src and dst have same
10610
        non-zero misalignment.
10611
 
10612
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10613
        Fixed bug in writing end of set region.
10614
 
10615
2002-06-10  Christopher Faylor  
10616
 
10617
        * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
10618
        spawnve declaration.
10619
 
10620
2002-06-06  Thomas Fitzsimmons  
10621
 
10622
        * libm/common/s_fdim.c: New file.
10623
        * libm/common/s_fma.c: Likewise.
10624
        * libm/common/s_fmax.c: Likewise.
10625
        * libm/common/s_fmin.c: Likewise.
10626
        * libm/common/s_fpclassify.c: Likewise.
10627
        * libm/common/s_lrint.c: Likewise.
10628
        * libm/common/s_lround.c: Likewise.
10629
        * libm/common/s_nearbyint.c: Likewise.
10630
        * libm/common/s_remquo.c: Likewise.
10631
        * libm/common/s_round.c: Likewise.
10632
        * libm/common/s_scalbln.c: Likewise.
10633
        * libm/common/s_signbit.c: Likewise.
10634
        * libm/common/s_trunc.c: Likewise.
10635
        * libm/common/sf_fdim.c: Likewise.
10636
        * libm/common/sf_fma.c: Likewise.
10637
        * libm/common/sf_fmax.c: Likewise.
10638
        * libm/common/sf_fmin.c: Likewise.
10639
        * libm/common/sf_lrint.c: Likewise.
10640
        * libm/common/sf_lround.c: Likewise.
10641
        * libm/common/sf_nearbyint.c: Likewise.
10642
        * libm/common/sf_remquo.c: Likewise.
10643
        * libm/common/sf_round.c: Likewise.
10644
        * libm/common/sf_scalbln.c: Likewise.
10645
        * libm/common/sf_trunc.c: Likewise.
10646
        * libm/math/w_exp2.c: Likewise.
10647
        * libm/math/w_tgamma.c: Likewise.
10648
        * libm/math/wf_exp2.c: Likewise.
10649
        * libm/math/wf_tgamma.c: Likewise.
10650
        * libm/mathfp/s_exp2.c: Likewise.
10651
        * libm/mathfp/s_tgamma.c: Likewise.
10652
        * libm/mathfp/sf_exp2.c: Likewise.
10653
        * libm/mathfp/sf_tgamma.c: Likewise.
10654
        * libm/math/er_gamma.c: Fix return value.
10655
        * libm/math/erf_gamma.c: Likewise.
10656
        * libm/mathfp/er_gamma.c: Likewise.
10657
        * libm/mathfp/erf_gamma.c: Likewise.
10658
        * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
10659
        declarations and macros.
10660
        Regenerated all Makefile.in, aclocal.m4 and configure files to
10661
        use new libtool macros in top-level libtool.m4
10662
 
10663
2002-06-05  Jeff Johnston  
10664
 
10665
        * libc/include/string.h[__linux__]: Add strsignal prototype.
10666
        * libc/include/sys/lock.h: New file with default locking support.
10667
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
10668
        and psignal.
10669
        * libc/posix/Makefile.am: Add support for readdir_r.c.
10670
        * libc/posix/Makefile.in: Regenerated.
10671
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
10672
        * libc/posix/opendir.c: Add lock support.
10673
        * libc/posix/readdir.c: Ditto.
10674
        * libc/posix/rewinddir.c: Ditto.
10675
        * libc/posix/scandir.c: Ditto.
10676
        * libc/posix/seekdir.c: Ditto.
10677
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
10678
        clean up leftover hash table entries.
10679
        * libc/posix/readdir_r.c: New file.
10680
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
10681
        * libc/sys/linux/Makefile.in: Regenerated.
10682
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
10683
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
10684
        * libc/sys/linux/psignal.c: New file.
10685
        * libc/sys/linux/strsignal.c: Ditto.
10686
 
10687
2002-06-03  Corinna Vinschen  
10688
 
10689
        * libc/include/sys/types.h: Don't define dev_t when compiling for
10690
        Cygwin.
10691
 
10692
2002-05-31  Jeff Johnston  
10693
 
10694
        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
10695
        make siglist.inc dependent on sig.c instead of signal.c.
10696
        * libc/sys/linux/Makefile.in: Regenerated.
10697
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
10698
        use NSIG instead of _NSIG.
10699
        * libc/sys/linux/sigaction.c: New file.
10700
        * libc/sys/linux/signal.c: Changed to be linux signal() function
10701
        so as to override regular newlib default signal.c.
10702
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
10703
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10704
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
10705
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
10706
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
10707
        default linux sigset_t typedef by defining it equal to __sigset_t.
10708
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
10709
        with a sigset_t that isn't implemented with a single int.
10710
 
10711
2002-05-30  Jeff Johnston  
10712
 
10713
        * libc/sys/linux/Makefile.am: Add support for new files.
10714
        * libc/sys/linux/Makefile.in: Regenerated.
10715
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
10716
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
10717
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
10718
        it is in a separate file now.
10719
        * libc/sys/linux/machine/i386/Makefile.am
10720
        * libc/sys/linux/machine/i386/Makefile.in
10721
        * libc/sys/linux/sys/signal.h: Add include of .
10722
        * libc/sys/linux/sigaction.c: New file.
10723
        * libc/sys/linux/sigqueue.c: Ditto.
10724
        * libc/sys/linux/sigwait.c: Ditto.
10725
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
10726
        * libc/sys/linux/kernel_sigaction.h: Ditto.
10727
 
10728
2002-05-28  Jeff Johnston  
10729
 
10730
        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
10731
        tcsendbrk.c.
10732
        * libc/sys/linux/Makefile.in: Regenerated.
10733
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
10734
        tcgetpgrp(), and tcsetpgrp() functions.
10735
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
10736
        to get __MAX_BAUD rate.
10737
        * libc/sys/linux/machine/i386/include/termios.h: New file.
10738
        * libc/include/machine/termios.h: Ditto.
10739
        * libc/sys/linux/cfspeed.c: Ditto.
10740
        * libc/sys/linux/tcsendbrk.c: Ditto.
10741
 
10742
2002-05-24  Jeff Johnston  
10743
 
10744
        * libc/include/string.h: Add strnlen and strerror_r prototypes.
10745
        * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
10746
        * libc/string/Makefile.in: Regenerated.
10747
        * libc/string/strerror_r.c: New file.
10748
        * libc/string/strnlen.c: New file.
10749
        * libc/sys/linux/Makefile.am: Add rename.c.
10750
        * libc/sys/linux/Makefile.in: Regenerated.
10751
        * libc/sys/linux/rename.c: New file to override default rename.
10752
 
10753
2002-05-24  Thomas Fitzsimmons  
10754
 
10755
        * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
10756
        * libc/sys/linux/sys/time.h: Add conversion macros.
10757
        * libc/sys/linux/sys/types.h: Add FD_ macros.  Include .
10758
        * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
10759
        * libc/sys/linux/gethostname.c: New file.
10760
        * libc/sys/linux/seteuid.c: New file.
10761
        * libc/sys/linux/sysctl.c: New file.
10762
 
10763
2002-05-23  Jeff Johnston  
10764
 
10765
        * libc/string/Makefile.am: Add support for strsep.c.
10766
        * libc/string/Makefile.in: Regenerated.
10767
        * libc/string/strsep.c: New file.
10768
        * libc/string/strtok.c: Change to call __strtok_r service routine.
10769
        * libc/string/strtok_r.c: Add __strtok_r routine which takes
10770
        additional flag parameter regarding whether to skip leading delimeters.
10771
        Change strtok_r to call __strtok_r.
10772
 
10773
2002-05-23  Gareth Pearce  
10774
 
10775
        * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
10776
        * libc/stdio/Makefile.in: Regenerated.
10777
        * libc/stdio/setbuffer.c: New file.
10778
        * libc/stdio/setlinebuf.c: New file.
10779
 
10780
2002-05-23  Jeff Johnston  
10781
 
10782
        * libc/sys/linux/Makefile.am: Add resource.c.
10783
        * libc/sys/linux/Makefile.in: Regenerated.
10784
        * libc/sys/linux/resource.c: New file.
10785
        * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
10786
        * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
10787
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10788
        * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
10789
        are now found in libc/sys/linux/resource.c.
10790
 
10791
2002-05-23  Jeff Johnston  
10792
 
10793
        * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
10794
        to use void * pointers and comply with Single Unix spec.
10795
        * libc/string/bcmp.c: Change to use void * instead of char *.
10796
        * libc/string/bcopy.c: Ditto.
10797
        * libc/string/bzero.c: Ditto.
10798
 
10799
2002-05-22  Jeff Johnston  
10800
 
10801
        * libc/sys/linux/shm_open.c: New file.
10802
        * libc/sys/linux/shm_unlink.c: Ditto.
10803
        * libc/sys/linux/Makefile.am: Add support for shm_open.c and
10804
        shm_unlink.c.
10805
        * libc/sys/linux/Makefile.in: Regenerated.
10806
        * libc/sys/linux/sys/types.h: Add some additional checks to see
10807
        if clock_t or time_t is already defined.
10808
 
10809
2002-05-22  Jeff Johnston  
10810
 
10811
        * Makefile.am: Don't pass $toollibdir down directly in
10812
        AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
10813
        Pass it under the name: top_toollibdir.
10814
        * Makefile.in: Regenerated.
10815
 
10816
2002-05-22  Corinna Vinschen  
10817
 
10818
        * libc/include/sys/types.h: Revert previous patch.
10819
 
10820
2002-05-22  Corinna Vinschen  
10821
 
10822
        * libc/include/sys/types.h: Include cygwin/types.h always under
10823
        Cygwin, not only if _POSIX_THREADS is defined.
10824
 
10825
2002-05-21 Dhananjay Deshpande 
10826
 
10827
        * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
10828
 
10829
2002-05-17  Jeff Johnston  
10830
 
10831
        * Makefile.am: Copy and install headers from sys/machine/include
10832
        directory.  Also pass $toollibdir to lower-level directories.
10833
        * Makefile.in: Regenerated.
10834
        * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
10835
        stderr to use _REENT macro instead of _impure_ptr directly.
10836
        * libc/include/sys/config.h[__i386__][__linux__]: Define
10837
        __DYNAMIC_REENT__.
10838
        * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
10839
        call to __getreent() function if !__SINGLE_THREAD__ and
10840
        __DYNAMIC_REENT__ is set.
10841
        * libc/reent/Makefile.am: Add support for getreent.c.
10842
        * libc/reent/Makefile.in: Regenerated.
10843
        * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
10844
        * libc/sys/linux/Makefile.am: Add support for new files.
10845
        * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
10846
        * libc/sys/linux/Makefile.in: Regenerated.
10847
        * libc/sys/linux/configure: Ditto.
10848
        * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
10849
        __close, __read, __write, __poll, __open, __lseek, __fcntl from
10850
        their __libc_ counterparts.
10851
        * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
10852
        and weak-alias to regular names.
10853
        * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
10854
        to pread64 and __pread64.
10855
        * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
10856
        * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
10857
        weak-alias to pwrite64.
10858
        * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
10859
        __libc_sched_getscheduler, __libc_sched_get_priority_max,
10860
        __libc_sched_get_priority_min, and __libc_sched_setschedule to
10861
        name with __ instead of __libc_.
10862
        * libc/sys/linux/siglongjmp.c: Include .
10863
        Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
10864
        Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
10865
        * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
10866
        to raise.
10867
        * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
10868
        __libc_send to __send.
10869
        * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
10870
        __gettimeofday.
10871
        * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
10872
        it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
10873
        * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
10874
        type and typedef __jmp_buf to jmp_buf.
10875
        * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
10876
        setjmp.S.
10877
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10878
        * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
10879
        section.
10880
        * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
10881
        prefix for function macros and then use weak_alias() to regular names.
10882
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
10883
        * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
10884
        * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
10885
        to be flockfile() and funlockfile() respectively.
10886
        * libc/sys/linux/sys/types.h
10887
        * libc/reent/getreent.c: New file.
10888
        * libc/sys/linux/flockfile.c: Ditto.
10889
        * libc/sys/linux/funlockfile.c: Ditto.
10890
        * libc/sys/linux/getreent.c: Ditto.
10891
        * libc/sys/linux/pread.c: Ditto.
10892
        * libc/sys/linux/pwrite.c: Ditto.
10893
        * libc/sys/linux/raise.c: Ditto.
10894
        * libc/sys/linux/system.c: Ditto.
10895
        * libc/sys/linux/tcdrain.c: Ditto.
10896
        * libc/sys/linux/machine/i386/i386mach.h: Ditto.
10897
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
10898
        * libc/sys/linux/machine/i386/syscalls.c: Ditto.
10899
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
10900
        * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
10901
 
10902
2002-05-14 Dhananjay Deshpande 
10903
 
10904
        * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
10905
        * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
10906
        * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
10907
        * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
10908
 
10909
Thu May 16 17:24:57 2002  J"orn Rennecke 
10910
 
10911
        * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
10912
        __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
10913
        exit point.
10914
 
10915
2002-05-15  Thomas Fitzsimmons  
10916
 
10917
        * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
10918
        options when testing natively on i[3456]86-*-linux.
10919
 
10920
        * testsuite/lib/checkoutput.exp (newlib_check_output): Output
10921
        only one pass or fail per test file.  Trim \r's from output
10922
        values received from test programs.  Remove support for named
10923
        tests.
10924
        * testsuite/newlib.locale/UTF-8.exp: Update to support new
10925
        newlib_check_output behaviour.
10926
        * testsuite/newlib.locale/UTF-8.c: Likewise.
10927
 
10928
2002-05-15  Jeff Johnston  
10929
 
10930
        * libc/include/stdlib.h: Add on_exit prototype.
10931
        * libc/include/sys/reent.h (struct _atexit): Add argument array
10932
        and bits to track type of exit routine to support both on_exit
10933
        and atexit.
10934
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
10935
        by default and change the setting of the atexit structure.
10936
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
10937
        * libc/stdlib/on_exit.c: New file.
10938
        * libc/stdlib/Makefile.am: Add support for on_exit.
10939
        * libc/stdlib/Makefile.in: Regenerated.
10940
        * libc/stdlib/atexit.c: Change to initialize types field.
10941
        * libc/stdlib/exit.c: Change to look at types field for each
10942
        exit routine and either call an atexit-style or an on_exit-style
10943
        routine accordingly.
10944
 
10945
2002-05-13  Jeff Johnston  
10946
 
10947
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
10948
        allow v specifier with n or L specifiers.  For vector c format,
10949
        move tmp declaration to the top.
10950
 
10951
2002-05-13  Jeff Johnston  
10952
 
10953
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
10954
        the original format specifier when looping for vectors to compensate
10955
        for any changes made in vector %g format processing.
10956
        Also add syntax checking for various invalid scenarios
10957
        involving vector format extensions.
10958
        * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
10959
        return code setting for vector formats.  Also treat vector
10960
        separator mismatch as a match error instead of an input error.
10961
        Perform some syntax checking for vector formats.
10962
 
10963
2002-05-10  Mark Bradshaw  
10964
 
10965
        * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
10966
        * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
10967
        * libc/string/strlcat.c: New file.
10968
        * libc/string/strlcpy.c: New file.
10969
 
10970
2002-05-10  Jeff Johnston  
10971
 
10972
        * libc/string/strchr.c: Fix comment typo.
10973
 
10974
2002-05-08  Thomas Fitzsimmons  
10975
 
10976
        * acinclude.m4: Add support for --enable-newlib-multithread.
10977
        * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
10978
        --enable-newlib-multithread=no.
10979
 
10980
        * libc/stdio/getc_u.c: New file.
10981
        * libc/stdio/getchar_u.c: New file.
10982
        * libc/stdio/putc_u.c: New file.
10983
        * libc/stdio/putchar_u.c: New file.
10984
        * libc/include/stdio.h: Add declarations for getc_unlocked,
10985
        getchar_unlocked, putc_unlocked and putchar_unlocked.
10986
        * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
10987
        (CHEWOUT_FILES): Add new files' .def's.
10988
        * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
10989
 
10990
Wed May  8 17:47:35 2002  J"orn Rennecke 
10991
 
10992
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10993
        Also handle as single quad word when destination ends at last
10994
        byte of first quad word.  Fix byte selection in single quad code.
10995
 
10996
2002-05-07  Thomas Fitzsimmons  
10997
 
10998
        * libc/include/sys/stdio.h: New file.
10999
        * libc/sys/linux/sys/stdio.h: New file.
11000
        * libc/include/stdio.h: Add declarations for flockfile,
11001
        ftrylockfile, and funlockfile.  Include .
11002
        * libc/stdio/clearerr.c: Add file locking.
11003
        * libc/stdio/fclose.c: Likewise.
11004
        * libc/stdio/feof.c: Likewise.
11005
        * libc/stdio/ferror.c: Likewise.
11006
        * libc/stdio/fflush.c: Likewise.
11007
        * libc/stdio/fgetc.c: Likewise.
11008
        * libc/stdio/fgetpos.c: Likewise.
11009
        * libc/stdio/fgets.c: Likewise.
11010
        * libc/stdio/fileno.c: Likewise.
11011
        * libc/stdio/fputc.c: Likewise.
11012
        * libc/stdio/fputs.c: Likewise.
11013
        * libc/stdio/fread.c: Likewise.
11014
        * libc/stdio/freopen.c: Likewise.
11015
        * libc/stdio/fseek.c: Likewise.
11016
        * libc/stdio/ftell.c: Likewise.
11017
        * libc/stdio/fwrite.c: Likewise.
11018
        * libc/stdio/getc.c: Likewise.
11019
        * libc/stdio/putc.c: Likewise.
11020
        * libc/stdio/setvbuf.c: Likewise.
11021
        * libc/stdio/ungetc.c: Likewise.
11022
        * libc/stdio/vfprintf.c: Likewise.
11023
 
11024
2002-05-06  Jeff Johnston  
11025
 
11026
        * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
11027
        support for 'p' format.  Fix code to print bytes for vector
11028
        integer formats that do not specify 'h' or 'l'.
11029
        * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
11030
        for 'p' specifier.  Fix code to scan 16 bytes for vector integer
11031
        formats that do not specify 'h' or 'l'.
11032
 
11033
        * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
11034
 
11035
2002-05-06  Nick Clifton  
11036
 
11037
        * libc/sys/arm/syscalls.c (_rename): Add parameter names.
11038
        (_sbrk): Add cast of return value.
11039
 
11040
2002-05-06  Jeff Johnston  
11041
 
11042
        *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
11043
        (_REENT_L64A_BUF): New macro for accessing area.
11044
        *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
11045
        *  libc/stdlib/Makefile.in: Regenerated.
11046
        *  libc/stdlib/a64l.c: New file.
11047
        *  libc/stdlib/l64a.c: New file.
11048
 
11049
2002-05-06  Jeff Johnston  
11050
 
11051
        * libc/unix/pread.c: Fix typo for _pread_r.
11052
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
11053
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
11054
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
11055
 
11056
2002-05-03  Christopher Faylor  
11057
 
11058
        * libc/include/sys/unistd.h: Define getdomainname under cygwin.
11059
 
11060
2002-05-03  Thomas Fitzsimmons  
11061
 
11062
        * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
11063
 
11064
2002-05-01  Christopher Faylor  
11065
 
11066
        * utmp.h: Define more UNIX constants.
11067
 
11068
2002-05-01  Thomas Fitzsimmons  
11069
 
11070
        * Makefile.am: Add support for checking multilibs.
11071
 
11072
        * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
11073
        (SUBDEFS): Add LIBC_EXTRA_DEF.
11074
        * libc/configure.in (LIBC_EXTRA_LIB): New variable.
11075
        (LIBC_EXTRA_DEF): Likewise.
11076
        (extra_dir): Likewise.
11077
        * libc/machine/xscale/machine: New directory.
11078
        * libc/machine/xscale/machine/profile.h: New file.
11079
 
11080
        * Makefile.am (site.exp): Remove newlib_cflags.  Add
11081
        multibuildtop.
11082
        * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
11083
        * testsuite/lib/flags.exp: New file.
11084
        * testsuite/lib/newlib.exp: Load flags.exp.
11085
        (newlib_target_compile): Remove libgloss directory references.
11086
        (newlib_init): Remove newlib_cflags references.
11087
 
11088
2002-04-30  Thomas Fitzsimmons  
11089
 
11090
        * testsuite/lib/newlib.exp (newlib_target_compile): Change
11091
        method of finding libgloss_target_dir.
11092
 
11093
        * Makefile.am (site.exp): Change host_alias, host_triplet,
11094
        target_alias, target_triplet to refer to gcc's host and target
11095
        variables (newlib's build and host variables).
11096
        * testsuite/lib/newlib.exp (newlib_init): Change build
11097
        references to host references, host references to target
11098
        references to reflect Makefile.am changes.
11099
        (newlib_target_compile): Likewise.
11100
        (newlib_finish): Likewise.
11101
 
11102
2002-04-29  Jeff Johnston  
11103
 
11104
        * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
11105
 
11106
2002-04-29  Jonathan Larmour  
11107
 
11108
        * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
11109
        (_system): New function. Ditto.
11110
        * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
11111
        * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
11112
        targets.
11113
 
11114
2002-04-29  Jeff Johnston  
11115
 
11116
        *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
11117
        *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
11118
        *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
11119
        *  libc/sys/linux/Makefile.in: Regenerated.
11120
        *  libc/unix/Makefile.in: Ditto.
11121
        *  libc/sys/linux/pread64.c: New file.
11122
        *  libc/sys/linux/pwrite64.c: Ditto.
11123
        *  libc/unix/pread.c: Ditto.
11124
        *  libc/unix/pwrite.c: Ditto.
11125
 
11126
2002-04-26  Jeff Johnston  
11127
 
11128
        *  libc/sys/linux/Makefile.am: Add io64.c.
11129
        *  libc/sys/linux/Makefile.in: Regenerated.
11130
        *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
11131
        *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
11132
        *  libc/sys/linux/io64.c: New file.
11133
 
11134
2002-04-26  Jeff Johnston  
11135
 
11136
        * configure.in (CC_FOR_NEWLIB): New variable that
11137
        bases on $(CC) and adds targ-include and libc/include as
11138
        -isystem directives if they are not already part of $(CC).
11139
        * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
11140
        $(CC_FOR_NEWLIB).
11141
        * configure: Regenerated.
11142
        * Makefile.in: Ditto.
11143
 
11144
2002-04-25  Jeff Johnston  
11145
 
11146
        *  libc/sys/linux/Makefile.am: Add support for sched.c.
11147
        *  libc/sys/linux/Makefile.in: Regenerated.
11148
        *  libc/sys/linux/sched.c: New file.
11149
        *  libc/sys/linux/sys/types.h: Add struct timespec.
11150
 
11151
2002-04-25  Thomas Fitzsimmons  
11152
 
11153
        * configure.in (CC_FOR_BUILD): Set to gcc whether
11154
        cross-compiling or not.
11155
        (CC): Add -isystem's for targ-include and libc/include when they
11156
        do not already appear in CC.
11157
 
11158
2002-04-24  Thomas Fitzsimmons  
11159
 
11160
        * Makefile.am (check-DEJAGNU): New target.
11161
        (site.exp): Likewise.
11162
        * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
11163
        with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
11164
        * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
11165
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
11166
        * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
11167
        * testsuite: New directory.
11168
        * testsuite/config: Likewise.
11169
        * testsuite/lib: Likewise.
11170
        * testsuite/newlib.locale: Likewise.
11171
        * testsuite/newlib.string: Likewise.
11172
        * testsuite/config/default.exp: New file.
11173
        * testsuite/lib/checkoutput.exp: New file.
11174
        * testsuite/lib/newlib.exp: New file.
11175
        * testsuite/lib/passfail.exp: New file.
11176
        * testsuite/newlib.locale/UTF-8.c: New file.
11177
        * testsuite/newlib.locale/UTF-8.exp: New file.
11178
        * testsuite/newlib.locale/locale.exp: New file.
11179
        * testsuite/newlib.string/string.exp: New file.
11180
        * testsuite/newlib.string/tstring.c: New file.
11181
 
11182
2002-04-23  Jeff Johnston  
11183
 
11184
        *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
11185
        *  libc/sys/linux/Makefile.am: Add support for mmap.c.
11186
        *  libc/sys/linux/Makefile.in: Regenerated.
11187
        *  libc/sys/linux/mmap.c: New file.
11188
        *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
11189
        *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
11190
 
11191
2002-04-22  Thomas Fitzsimmons  
11192
 
11193
        * acinclude.m4 (newlib_cflags): Remove include directories that
11194
        are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
11195
 
11196
2002-04-19  Bill Siegmund  
11197
 
11198
        * libc/machine/xscale/memchr.c: Don't use multi-line strings.
11199
        * libc/machine/xscale/memcmp.c: Ditto.
11200
        * libc/machine/xscale/memcpy.c: Ditto.
11201
        * libc/machine/xscale/memmove.c: Ditto.
11202
        * libc/machine/xscale/memset.c: Ditto.
11203
        * libc/machine/xscale/strchr.c: Ditto.
11204
        * libc/machine/xscale/strcmp.c: Ditto.
11205
        * libc/machine/xscale/strcpy.c: Ditto.
11206
        * libc/machine/xscale/strlen.c: Ditto.
11207
 
11208
2002-04-19  Alexandre Oliva  
11209
 
11210
        * libc/include/sys/config.h: Remove include of .
11211
        (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
11212
        define INT_MAX and LONG_MAX.  Use them in tests.
11213
 
11214
2002-04-19  Jeff Johnston  
11215
 
11216
        *  configure.host: Add support for powerpc-eabialtivec*.
11217
        *  libc/include/malloc.h: Add include of .
11218
        *  libc/include/stdlib.h: Add include of .
11219
        *  libc/include/machine/malloc.h: New file.
11220
        *  libc/include/machine/stdlib.h: Ditto.
11221
        *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
11222
        *  libc/machine/powerpc/Makefile.am: Add conditional objects and
11223
        sources based on configuration.
11224
        *  libc/machine/powerpc/Makefile.in: Regenerated.
11225
        *  libc/machine/powerpc/configure: Ditto.
11226
        *  libc/machine/powerpc/configure.in: Add check for
11227
        powerpc-eabialtivec* in which case add in additional source files.
11228
        *  libc/machine/powerpc/setjmp.S: Add altivec support.
11229
        *  libc/machine/powerpc/vec_calloc.c: New file.
11230
        *  libc/machine/powerpc/vec_free.c: Ditto.
11231
        *  libc/machine/powerpc/vec_malloc.c: Ditto.
11232
        *  libc/machine/powerpc/vec_mallocr.c: Ditto.
11233
        *  libc/machine/powerpc/vec_realloc.c: Ditto.
11234
        *  libc/machine/powerpc/machine/malloc.h: Ditto.
11235
        *  libc/machine/powerpc/machine/stdlib.h: Ditto.
11236
        *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
11237
        with added altivec format specifiers.
11238
        *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
11239
        added altivec format specifiers.
11240
 
11241
2002-04-19      Joel Sherrill 
11242
 
11243
        * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
11244
        while autoconf is trying to link main(){}.
11245
 
11246
2002-04-17  Jeff Johnston  
11247
 
11248
        * libc/sys/linux/signal.c: Remove include of .
11249
        * libc/sys/linux/sys/signal.h: Add include of .
11250
 
11251
2002-04-17  Jeff Johnston  
11252
 
11253
        * libc/time/time.tex: Add tzset info.
11254
 
11255
2002-04-17  Jeff Johnston  
11256
 
11257
        * libc/include/time.h (tzset, _tzset_r): Added prototypes.
11258
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11259
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11260
        (tzname): Defined for all platforms.
11261
        (daylight, timezone): Defined only for CYGWIN.
11262
        * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11263
        environment set up.
11264
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11265
        environment variable is set.
11266
        * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11267
        tzset_r.c.
11268
        * libc/time/Makefile.in: Regenerated.
11269
        * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11270
        * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11271
        * libc/time/lcltime_r.c (lcltime_r): Ditto.
11272
        * libc/time/local.h: New local header file.
11273
        * libc/time/mktime.c (mktime): Add timezone support.
11274
        * libc/time/mktm_r.c: New file which is the common engine
11275
        for gmtime_r and lcltime_r.  This code has timezone support.
11276
        * libc/time/strftime.c (strftime): Add %Z timezone support.
11277
        * libc/time/tzlock.c: New file containing timezone lock stubs.
11278
        * libc/time/tzset.c: New file containing tzset() routine.
11279
        * libc/time/tzset_r.c: New file containing _tzset_r and
11280
        internal routine for calculating timezone changes for specified year.
11281
 
11282
2002-04-17  Thomas Fitzsimmons  
11283
 
11284
        * configure.in (CRT0_DIR): Set to libc/.
11285
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11286
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11287
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11288
        $(CRT1_DIR)/$(CRT1).
11289
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11290
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11291
        * libc/machine/xstormy16/configure: Regenerated.
11292
 
11293
2002-04-13  Alexandre Oliva  
11294
 
11295
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11296
        fails, don't bail out, and try to correct next time.
11297
 
11298
        * libc/include/sys/config.h: Include limits.h.
11299
 
11300
2002-04-12  Eric Norum  
11301
 
11302
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11303
        routine to allow autoconf to determine that building executables
11304
        for rtems works.
11305
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11306
        (rtems_gxx_mutex_once): Ditto.
11307
 
11308
2002-04-09  Tom Rix  
11309
 
11310
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11311
 
11312
2002-04-09  Mark Bradshaw  
11313
 
11314
        * libc/include/time.h: Fix strptime declaration.
11315
        * libc/time/Makefile.am: Add strptime.c.
11316
        * libc/time/Makefile.in: Regenerated.
11317
        * libc/time/strptime.c: New file.
11318
 
11319
2002-04-08  Jeff Johnston  
11320
 
11321
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11322
        siglongjmp prototype, and sigsetjmp macro definition.
11323
        * libc/sys/linux/siglongjmp.c: New file.
11324
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11325
        * libc/sys/linux/Makefile.in: Regenerated.
11326
 
11327
2002-04-04  Jeff Johnston  
11328
 
11329
        * Makefile.am: Add support for installing crt1.o if one exists.
11330
        * configure.host: Specify crt1.o for linux.
11331
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11332
        * Makefile.in: Regenerated.
11333
        * configure: Ditto.
11334
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11335
        Added for non-Cygwin, non-RTEMS configurations.
11336
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11337
        * libc/sys/linux/Makefile.in: Regenerated.
11338
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11339
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11340
        * libc/sys/linux/sysconf.c: New file.
11341
 
11342
2002-04-03  Jeff Johnston  
11343
 
11344
        * configure.host: Add support for machine subdirectory of
11345
        sys subdirectory.
11346
        * configure.in: Add check for sys machine subdirectory.
11347
        * Makefile.am: Ditto.
11348
        * configure: Regenerated.
11349
        * Makefile.in: Ditto.
11350
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11351
        * libc/sys/linux/sys/syscall.h: Ditto.
11352
        * libc/sys/linux/sleep.c: New file.
11353
        * libc/sys/linux/socket.c: Ditto.
11354
        * libc/sys/linux/sockops.h: Ditto.
11355
        * libc/sys/linux/stack.c: Ditto.
11356
        * libc/sys/linux/usleep.c: Ditto.
11357
        * libc/sys/linux/machine/Makefile.am: Ditto.
11358
        * libc/sys/linux/machine/Makefile.in: Ditto.
11359
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11360
        * libc/sys/linux/machine/configure: Ditto.
11361
        * libc/sys/linux/machine/configure.in: Ditto.
11362
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11363
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11364
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11365
        * libc/sys/linux/machine/i386/configure: Ditto.
11366
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11367
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11368
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11369
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11370
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11371
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11372
        * libc/sys/linux/sys/select.h: Ditto.
11373
        * libc/sys/linux/configure.in: Add support for machine directory.
11374
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11375
        * libc/sys/linux/Makefile.in: Regenerated.
11376
        * libc/sys/linux/configure: Ditto.
11377
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11378
        * libc/sys/linux/inode.c: Ditto.
11379
        * libc/sys/linux/linux.c: Ditto.
11380
        * libc/sys/linux/process.c: Ditto.
11381
        * libc/sys/linux/systat.c: Ditto.
11382
        * libc/sys/linux/time.c: Ditto.
11383
        * libc/sys/linux/wait.c: Ditto.
11384
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11385
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11386
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11387
        use __sigsuspend syscall.
11388
        * libc/sys/linux/select.c: Change header plus change select to
11389
        use _newselect syscall.
11390
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11391
        used by glibc header files.
11392
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11393
        types.
11394
 
11395
2002-04-01  Jeff Johnston  
11396
 
11397
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11398
        initializing a struct _reent that has been dynamically allocated.
11399
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11400
        _REENT_SMALL and does nothing otherwise.
11401
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11402
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11403
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11404
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11405
        [_REENT_SMALL](struct _misc_reent): New structure containing
11406
        miscellaneous reentrant areas needed by newlib.
11407
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11408
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11409
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11410
        and _REENT_STRTOK_LAST macros.
11411
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11412
        and _REENT_MBLEN_STATE macros.
11413
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11414
        and _REENT_MBTOWC_STATE macros.
11415
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11416
        and _REENT_WCTOMB_STATE macros.
11417
 
11418
2002-04-01  Till Straumann 
11419
 
11420
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11421
 
11422
Wed Mar 27 07:34:44 2002  Jason Tishler 
11423
 
11424
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11425
 
11426
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11427
 
11428
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11429
        Store high part of leading bytes too.
11430
 
11431
2002-03-22  Richard Sandiford  
11432
 
11433
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11434
 
11435
2002-03-13  Alexandre Oliva  
11436
 
11437
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11438
        error.
11439
 
11440
2002-03-12  Jeff Johnston  
11441
 
11442
        * libc/sys/go32/access.c: Change license to relaxed license
11443
        used in identical file throughout newlib/libgloss.
11444
 
11445
2002-03-12  Richard Earnshaw  
11446
 
11447
        * libc/sys/arm/access.c: New file.
11448
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11449
        * libc/sys/arm/Makefile.in: Regenerate.
11450
        * libc/sys/arm/syscalls.c (_stat): New function.
11451
 
11452
2002-03-11  Michael Meissner  
11453
 
11454
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11455
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11456
        * libc/machine/mips/Makefile.in: Regenerate.
11457
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11458
        * libc/machine/mips/memset.c: Dito.
11459
        * libc/machine/mips/strcmp.c: Dito.
11460
        * libc/machine/mips/strlen.c: Dito.
11461
        * libc/machine/mips/strncmp.c: Dito.
11462
 
11463
2002-03-06  Jeff Johnston  
11464
 
11465
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11466
        object so it works for shared library or statici library.
11467
2002-04-17  Jeff Johnston  
11468
 
11469
        *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
11470
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11471
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11472
        (tzname): Defined for all platforms.
11473
        (daylight, timezone): Defined only for CYGWIN.
11474
        *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11475
        environment set up.
11476
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11477
        environment variable is set.
11478
        *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11479
        tzset_r.c.
11480
        *  libc/time/Makefile.in: Regenerated.
11481
        *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11482
        *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11483
        *  libc/time/lcltime_r.c (lcltime_r): Ditto.
11484
        *  libc/time/local.h: New local header file.
11485
        *  libc/time/mktime.c (mktime): Add timezone support.
11486
        *  libc/time/mktm_r.c: New file which is the common engine
11487
        for gmtime_r and lcltime_r.  This code has timezone support.
11488
        *  libc/time/strftime.c (strftime): Add %Z timezone support.
11489
        *  libc/time/tzlock.c: New file containing timezone lock stubs.
11490
        *  libc/time/tzset.c: New file containing tzset() routine.
11491
        *  libc/time/tzset_r.c: New file containing _tzset_r and
11492
        internal routine for calculating timezone changes for specified year.
11493
 
11494
2002-04-17  Thomas Fitzsimmons  
11495
 
11496
        * configure.in (CRT0_DIR): Set to libc/.
11497
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11498
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11499
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11500
        $(CRT1_DIR)/$(CRT1).
11501
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11502
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11503
        * libc/machine/xstormy16/configure: Regenerated.
11504
 
11505
2002-04-13  Alexandre Oliva  
11506
 
11507
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11508
        fails, don't bail out, and try to correct next time.
11509
 
11510
        * libc/include/sys/config.h: Include limits.h.
11511
 
11512
2002-04-12  Eric Norum  
11513
 
11514
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11515
        routine to allow autoconf to determine that building executables
11516
        for rtems works.
11517
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11518
        (rtems_gxx_mutex_once): Ditto.
11519
 
11520
2002-04-09  Tom Rix  
11521
 
11522
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11523
 
11524
2002-04-09  Mark Bradshaw  
11525
 
11526
        * libc/include/time.h: Fix strptime declaration.
11527
        * libc/time/Makefile.am: Add strptime.c.
11528
        * libc/time/Makefile.in: Regenerated.
11529
        * libc/time/strptime.c: New file.
11530
 
11531
2002-04-08  Jeff Johnston  
11532
 
11533
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11534
        siglongjmp prototype, and sigsetjmp macro definition.
11535
        * libc/sys/linux/siglongjmp.c: New file.
11536
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11537
        * libc/sys/linux/Makefile.in: Regenerated.
11538
 
11539
2002-04-04  Jeff Johnston  
11540
 
11541
        * Makefile.am: Add support for installing crt1.o if one exists.
11542
        * configure.host: Specify crt1.o for linux.
11543
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11544
        * Makefile.in: Regenerated.
11545
        * configure: Ditto.
11546
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11547
        Added for non-Cygwin, non-RTEMS configurations.
11548
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11549
        * libc/sys/linux/Makefile.in: Regenerated.
11550
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11551
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11552
        * libc/sys/linux/sysconf.c: New file.
11553
 
11554
2002-04-03  Jeff Johnston  
11555
 
11556
        * configure.host: Add support for machine subdirectory of
11557
        sys subdirectory.
11558
        * configure.in: Add check for sys machine subdirectory.
11559
        * Makefile.am: Ditto.
11560
        * configure: Regenerated.
11561
        * Makefile.in: Ditto.
11562
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11563
        * libc/sys/linux/sys/syscall.h: Ditto.
11564
        * libc/sys/linux/sleep.c: New file.
11565
        * libc/sys/linux/socket.c: Ditto.
11566
        * libc/sys/linux/sockops.h: Ditto.
11567
        * libc/sys/linux/stack.c: Ditto.
11568
        * libc/sys/linux/usleep.c: Ditto.
11569
        * libc/sys/linux/machine/Makefile.am: Ditto.
11570
        * libc/sys/linux/machine/Makefile.in: Ditto.
11571
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11572
        * libc/sys/linux/machine/configure: Ditto.
11573
        * libc/sys/linux/machine/configure.in: Ditto.
11574
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11575
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11576
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11577
        * libc/sys/linux/machine/i386/configure: Ditto.
11578
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11579
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11580
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11581
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11582
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11583
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11584
        * libc/sys/linux/sys/select.h: Ditto.
11585
        * libc/sys/linux/configure.in: Add support for machine directory.
11586
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11587
        * libc/sys/linux/Makefile.in: Regenerated.
11588
        * libc/sys/linux/configure: Ditto.
11589
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11590
        * libc/sys/linux/inode.c: Ditto.
11591
        * libc/sys/linux/linux.c: Ditto.
11592
        * libc/sys/linux/process.c: Ditto.
11593
        * libc/sys/linux/systat.c: Ditto.
11594
        * libc/sys/linux/time.c: Ditto.
11595
        * libc/sys/linux/wait.c: Ditto.
11596
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11597
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11598
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11599
        use __sigsuspend syscall.
11600
        * libc/sys/linux/select.c: Change header plus change select to
11601
        use _newselect syscall.
11602
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11603
        used by glibc header files.
11604
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11605
        types.
11606
 
11607
2002-04-01  Jeff Johnston  
11608
 
11609
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11610
        initializing a struct _reent that has been dynamically allocated.
11611
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11612
        _REENT_SMALL and does nothing otherwise.
11613
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11614
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11615
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11616
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11617
        [_REENT_SMALL](struct _misc_reent): New structure containing
11618
        miscellaneous reentrant areas needed by newlib.
11619
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11620
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11621
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11622
        and _REENT_STRTOK_LAST macros.
11623
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11624
        and _REENT_MBLEN_STATE macros.
11625
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11626
        and _REENT_MBTOWC_STATE macros.
11627
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11628
        and _REENT_WCTOMB_STATE macros.
11629
 
11630
2002-04-01  Till Straumann 
11631
 
11632
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11633
 
11634
Wed Mar 27 07:34:44 2002  Jason Tishler 
11635
 
11636
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11637
 
11638
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11639
 
11640
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11641
        Store high part of leading bytes too.
11642
 
11643
2002-03-22  Richard Sandiford  
11644
 
11645
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11646
 
11647
2002-03-13  Alexandre Oliva  
11648
 
11649
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11650
        error.
11651
 
11652
2002-03-12  Jeff Johnston  
11653
 
11654
        * libc/sys/go32/access.c: Change license to relaxed license
11655
        used in identical file throughout newlib/libgloss.
11656
 
11657
2002-03-12  Richard Earnshaw  
11658
 
11659
        * libc/sys/arm/access.c: New file.
11660
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11661
        * libc/sys/arm/Makefile.in: Regenerate.
11662
        * libc/sys/arm/syscalls.c (_stat): New function.
11663
 
11664
2002-03-11  Michael Meissner  
11665
 
11666
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11667
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11668
        * libc/machine/mips/Makefile.in: Regenerate.
11669
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11670
        * libc/machine/mips/memset.c: Dito.
11671
        * libc/machine/mips/strcmp.c: Dito.
11672
        * libc/machine/mips/strlen.c: Dito.
11673
        * libc/machine/mips/strncmp.c: Dito.
11674
 
11675
2002-03-06  Jeff Johnston  
11676
 
11677
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11678
        object so it works for shared library or statici library.
11679
        * libc/machine/i386/Makefile.in: Regenerated.
11680
 
11681
Wed Mar  6 10:24:26 2002  J"orn Rennecke 
11682
 
11683
        * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
11684
        Add memcpy.S, memset.S and strcpy.S.
11685
        * libc/machine/sh/Makefile.in: Regenerate.
11686
        * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
11687
        (SHHI, SHLO): Define.
11688
        * libc/machine/sh/memset.S: Add code for SH5.
11689
        * libc/machine/sh/memset.S: Likewise.
11690
        * libc/machine/sh/strcpy.S: Likewise.
11691
 
11692
2002-02-27  Jeff Johnston  
11693
 
11694
        * configure.host: Add check for --disable-newlib-io-float
11695
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
11696
        if appropriate.
11697
        * acinclude.m4: Added --disable-newlib-io-float option.
11698
        * aclocal.m4: Regenerated.
11699
        * configure: Ditto.
11700
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11701
        * libc/*/aclocal.m4 libc/*/configure
11702
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
11703
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
11704
        if NO_FLOATING_POINT flag is not defined.
11705
 
11706
2002-02-25  Jeff Johnston  
11707
 
11708
        * libc/include/sys/config.h: Add __extension__ in front of
11709
        long long references.
11710
 
11711
2002-02-23  Corinna Vinschen  
11712
 
11713
        * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
11714
        (_stat): Ditto.
11715
 
11716
2002-02-23  Corinna Vinschen  
11717
 
11718
        * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
11719
        of off_t.
11720
 
11721
2002-02-20  Nick Clifton  
11722
 
11723
        * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
11724
        clobbered registers.
11725
 
11726
2002-02-19  Thomas Fitzsimmons  
11727
 
11728
        * configure.host (newlib_cflags): When host is in m68* add
11729
        -DCOMPACT_CTYPE.
11730
 
11731
2002-02-15  Jeff Johnston  
11732
 
11733
        * libc/include/sys/config.h: Add definitions for
11734
        __int16_t, __uint16_t, __int64_t, and __uint64_t.
11735
 
11736
2002-02-12  Hans-Peter Nilsson  
11737
 
11738
        * libc/sys/mmixware/link.c: New.
11739
        * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
11740
        volatile.
11741
        * libc/sys/mmixware/times.c (_times): Renamed from times.
11742
        * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
11743
        properly by reading previous contents, not through BinaryReadWrite.
11744
        * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
11745
        * libc/sys/mmixware/Makefile.in: Regenerate.
11746
 
11747
2002-02-10  Corinna Vinschen  
11748
 
11749
        * libc/include/grp.h: Don't declare group functions when compiling
11750
        Cygwin.
11751
 
11752
2002-02-09  Corinna Vinschen  
11753
 
11754
        * libc/include/grp.h: Include Cygwin specific header.
11755
        * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
11756
        when compiling for Cygwin.
11757
        * libc/include/sys/types.h: Don't define off_t, uid_t
11758
        and gid_t when compiling for Cygwin.
11759
 
11760
2002-02-08  matthew green  
11761
 
11762
        * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
11763
        _REENT_EMERGENCY_SIZE, not sizeof(char *).
11764
 
11765
2002-02-08  Alexandre Oliva  
11766
 
11767
        Contribute sh64-elf.
11768
        2001-03-13  Alexandre Oliva  
11769
        * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
11770
        support in printf.
11771
        2001-01-29  Alexandre Oliva  
11772
        * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
11773
        any labels.
11774
        2001-01-24  Alexandre Oliva  
11775
        * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
11776
        2000-12-16  Alexandre Oliva  
11777
        * libc/machine/sh/configure.in: Rework conditionals.
11778
        * libc/machine/sh/Makefile.am: Likewise.
11779
        * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
11780
        2000-12-01  Alexandre Oliva  
11781
        * configure.host: Match `sh*'.
11782
        * libc/include/machine/setjmp.h: Define for SH5.
11783
        * libc/machine/sh/configure.in: Detect SH5.
11784
        * libc/machine/sh/configure: Rebuilt.
11785
        * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
11786
        * libc/machine/sh/Makefile.in: Rebuilt.
11787
        * libc/machine/sh/asm.h: Adjust for SH5.
11788
        * libc/machine/sh/setjmp.S: Implement in SHmedia.
11789
        * libc/sys/sh/crt0.S: Likewise.
11790
        * libc/sys/sh/trap.S: Likewise.
11791
 
11792
2002-02-07  Jeff Johnston  
11793
 
11794
        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
11795
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
11796
        (LIB_SOURCES): Remove $(mach_add_src).
11797
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
11798
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
11799
        * libc/machine/i386/Makefile.in: Regenerate.
11800
 
11801
2002-02-05  Manik Raina 
11802
 
11803
        * libc/misc/dprintf.c (parse_number): #if 0 unused function.
11804
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
11805
        s, p, k, and outstr.
11806
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
11807
 
11808
2002-02-04  Jeff Johnston  
11809
 
11810
        * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
11811
        _REENT_CHECK_EMERGENCY macro.
11812
 
11813
2002-02-03  matthew green  
11814
 
11815
        * libc/reent/signgam.c (__signgam): Fix error in previous.
11816
 
11817
2002-02-02  matthew green  
11818
 
11819
        * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
11820
 
11821
        * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
11822
        * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
11823
        * libc/include/sys/reent.h (struct _reent): Completely new version
11824
        for _REENT_SMALL.
11825
        (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
11826
        (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
11827
        (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
11828
        (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
11829
        (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
11830
        (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
11831
        (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
11832
        (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
11833
        (_REENT_EMERGENCY): Likewise.
11834
 
11835
        * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
11836
        the start of the real __sFILE, used for stdin, stdout and stderr until
11837
        they are setup properly.
11838
        (struct __sFILE): Move location of _data in _REENT_SMALL case.
11839
        * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
11840
        allocated stdin, stdout and stderr.
11841
        * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
11842
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
11843
        * libc/stdio/perror.c (_perror_r): Likewise.
11844
        * libc/stdio/printf.c (printf, _printf_r): Likewise.
11845
        * libc/stdio/putchar.c (_putchar_r): Likewise.
11846
        * libc/stdio/puts.c (_puts_r): Likewise.
11847
        * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
11848
        * libc/stdio/vprintf.c (vprintf): Likewise.
11849
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
11850
 
11851
        * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
11852
 
11853
        * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
11854
        * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
11855
        for _REENT_SMALL.
11856
        * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
11857
        * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
11858
 
11859
        * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
11860
        _REENT_SMALL.
11861
        * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
11862
        * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
11863
        * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
11864
        * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
11865
        * libc/stdlib/rand48.c (__dorand48): Likewise.
11866
        * libc/stdlib/seed48.c (_seed48_r): Likewise.
11867
        * libc/stdlib/srand48.c (_srand48_r): Likewise.
11868
        * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
11869
        as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
11870
        * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
11871
        _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
11872
        * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
11873
        * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
11874
        * libc/stdlib/rand.c (rand): Likewise.
11875
 
11876
        * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
11877
        * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
11878
 
11879
        * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
11880
        _REENT_MP_FREELIST() and _REENT_MP_P5S.
11881
        * libc/include/sys/reent.h (struct _mprec): New structure.
11882
 
11883
        * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
11884
        _unused_strtok_last.
11885
        * libc/string/strtok.c (strtok): Use a local static variable.
11886
 
11887
        * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
11888
        (_REENT_EMERGENCY_SIZE): Likewise.
11889
        * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
11890
        _REENT_ASCTIME_BUF().
11891
        * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
11892
        _REENT_TM().
11893
 
11894
        * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
11895
        * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
11896
        * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
11897
        * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
11898
        * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
11899
        * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
11900
 
11901
2002-02-01  Geoffrey Keating  
11902
 
11903
        * configure.host (xstormy16): Don't use the generic malloc.
11904
        * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
11905
        * libc/machine/xstormy16/Makefile.in: Regenerate.
11906
        * libc/machine/xstormy16/mallocr.c: New file.
11907
        * libc/machine/xstormy16/tiny-malloc.c: New file.
11908
 
11909
2002-01-28  Thomas Fitzsimmons  
11910
 
11911
        * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
11912
        when _CYGWIN_TYPES_H is not defined.
11913
 
11914
2002-01-24  Thomas Fitzsimmons  
11915
 
11916
        * libc/include/sys/signal.h: Revert 2002-01-23 change.
11917
 
11918
2002-01-23  Thomas Fitzsimmons  
11919
 
11920
        * libc/include/sys/signal.h: Remove pthread_kill declaration
11921
        when __CYGWIN__ is defined.
11922
 
11923
2002-01-18  Mark Bradshaw  
11924
 
11925
        * libc/include/time.h: Add prototype for strptime for Cygwin.
11926
 
11927
2002-01-17  Nick Clifton  
11928
 
11929
        * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
11930
        dst was not word aligned.
11931
 
11932
        * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
11933
        if too much memory is requested.
11934
 
11935
2002-01-11 Jeff Johnston  
11936
 
11937
        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
11938
        reads blanks from the input file to break if EOF reached
11939
        rather than end processing.
11940
 
11941
2002-01-07 Jeff Johnston  
11942
 
11943
        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
11944
 
11945
2002-01-07 Alan Matsuoka 
11946
 
11947
        * libc/include/machine/ieeefp.h: Configure d10v doubles to
11948
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
11949
        libc/include/sys/config.h: Ditto.
11950
 
11951
2001-12-28  Corinna Vinschen  
11952
 
11953
        * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
11954
 
11955
2001-12-22  Geoffrey Keating  
11956
            Catherine Moore  
11957
            Richard Henderson  
11958
            Corinna Vinschen  
11959
 
11960
        * configure.host: Add support for xstormy16.
11961
        * libc/include/machine/ieeefp.h: Add support for xstormy16.
11962
        * libc/include/machine/setjmp.h: Add support for xstormy16.
11963
        * libc/include/sys/config.h: Add support for xstormy16.
11964
        * libc/machine/xstormy16/Makefile.am: New file.
11965
        * libc/machine/xstormy16/Makefile.in: New file.
11966
        * libc/machine/xstormy16/aclocal.m4: New file.
11967
        * libc/machine/xstormy16/configure: New file.
11968
        * libc/machine/xstormy16/configure.in: New file.
11969
        * libc/machine/xstormy16/setjmp.S: New file.
11970
 
11971
2001-12-19  Thomas Fitzsimmons  
11972
 
11973
        * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
11974
        * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
11975
 
11976
2001-12-19  Corinna Vinschen  
11977
 
11978
        * libm/machine/Makefile.am: Change rules to create correct lib.a.
11979
        * libm/machine/Makefile.in: Regenerated through automake.
11980
 
11981
2001-12-18  Thomas Fitzsimmons  
11982
 
11983
        * Makefile.am (DOCDIR): Force to empty string when doc
11984
        directory is not present.
11985
 
11986
2001-12-18  Thomas Fitzsimmons  
11987
 
11988
        * libc/machine/i386/f_*: Move to libm/machine/i386.
11989
 
11990
2001-12-18      Joel Sherrill 
11991
 
11992
        * libm/machine/Makefile.am: Add dummy doc stub so
11993
        "make info" works.
11994
 
11995
2001-12-17      Joel Sherrill 
11996
 
11997
        * libc/include/sys/types.h (ino_t): RTEMS uses long also.
11998
 
11999
2001-12-17  Thomas Fitzsimmons  
12000
 
12001
        * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
12002
        $(COMPILE) rather than $(CC).
12003
        * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
12004
        (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
12005
        $(LIB_COMPILE) change.
12006
        (vfiprintf.$(oext)): Likewise.
12007
 
12008
2001-12-17  Corinna Vinschen  
12009
 
12010
        * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
12011
        conditionalized including of getopt stuff.
12012
 
12013
2001-12-14  Thomas Fitzsimmons  
12014
 
12015
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
12016
        compile line.
12017
        (vfiprintf.$(oext)): Likewise.
12018
 
12019
2001-12-13  Thomas Fitzsimmons  
12020
 
12021
        * Makefile.shared: New file.
12022
        * libc/sys/linux/shared.ld: New file.
12023
        * libm/machine/*: New files.
12024
        * libm/machine/i386/*: New files.
12025
        * Makefile.am: Add libtool support.  Change math and mathfp
12026
        references to variables.
12027
        * configure.host: Add variables for libtool support.  Add
12028
        libm_machine_dir variable.
12029
        * configure.in: Add objectlist variables, for libtool
12030
        support.  Add CC_FOR_BUILD tests.
12031
        * libc/Makefile.am: Add libtool support.  Change crt0.o
12032
        reference to be a variable reference.
12033
        * libc/configure.in: Add libtool support.  Change sublib
12034
        names to be lib${subdir}.la when using libtool.
12035
        * libc/ctype/Makefile.am: Add libtool support.
12036
        * libc/errno/Makefile.am: Likewise.
12037
        * libc/locale/Makefile.am: Likewise.
12038
        * libc/machine/Makefile.am: Likewise.
12039
        * libc/machine/configure.in: Likewise.
12040
        * libc/machine/i386/Makefile.am: Likewise.
12041
        * libc/machine/i386/configure.in: Likewise.
12042
        * libc/misc/Makefile.am: Likewise.
12043
        * libc/posix/Makefile.am: Likewise.
12044
        * libc/reent/Makefile.am: Likewise.
12045
        * libc/signal/Makefile.am: Likewise.
12046
        * libc/stdio/Makefile.am: Likewise.
12047
        * libc/stdlib/Makefile.am: Likewise.
12048
        * libc/string/Makefile.am: Likewise.
12049
        * libc/sys/Makefile.am: Likewise.
12050
        * libc/sys/configure.in: Likewise.
12051
        * libc/sys/linux/Makefile.am: Add libtool support.  Change
12052
        awk reference to a variable reference.  Change signal.h
12053
        reference to a variable reference.
12054
        * libc/sys/linux/configure.in: Add libtool support.
12055
        * libc/syscalls/Makefile.am: Likewise.
12056
        * libc/time/Makefile.am: Likewise.
12057
        * libc/unix/Makefile.am: Likewise.
12058
        * libm/Makefile.am: Add libtool support.  Change math and
12059
        mathfp references to variables.
12060
        * libm/configure.in: Add libtool support.  Add
12061
        LIBM_MACHINE_LIB variable.
12062
        * libm/common/Makefile.am: Add libtool support.
12063
        * libm/math/Makefile.am: Likewise.
12064
        * libm/mathfp/Makefile.am: Likewise.
12065
        Regenerate all Makefile.in, aclocal.m4, and configure.
12066
 
12067
2001-12-13 Anita Kulkarni 
12068
 
12069
        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
12070
 
12071
2001-12-06  John Peacock 
12072
 
12073
        * libc/include/sys/unistd.h: Correct ualarm declaration.
12074
 
12075
2001-12-05  Nick Clifton  
12076
 
12077
        * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
12078
        vector before calling the initialisation functions.
12079
 
12080
2001-11-29  Christopher Faylor  
12081
 
12082
        * libc/include/dirent.h: Protect against multiple inclusion.
12083
 
12084
2001-11-27  Christopher Faylor  
12085
 
12086
        * libc/include/sys/types.h: Define useconds_t.
12087
        * libc/include/sys/ulimit.h: Declare ualarm.
12088
 
12089
2001-11-21  Christopher Faylor  
12090
 
12091
        * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
12092
 
12093
2001-11-19  Hans-Peter Nilsson  
12094
 
12095
        * libc/sys/mmixware/*: Tweak license header in all source files.
12096
 
12097
2001-11-12  Corinna Vinschen  
12098
 
12099
        * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
12100
        to here.  Rearrange for general inclusion by stdlib.h.
12101
        * libc/include/stdlib.h: Include  if __STRICT_ANSI__
12102
        isn't defined.
12103
        * libc/sys/linux/include/alloca.h: Move to libc/include.
12104
 
12105
2001-11-12  Anthony Green  
12106
 
12107
        * libc/sys/arm/crt0.S (__stack_base__): New symbol.
12108
 
12109
2001-11-13  Hans-Peter Nilsson  
12110
 
12111
        * libc/sys/mmixware/*: Correct spacing in all source files.
12112
        * libc/sys/mmixware/syscall.h: Move misplaced file...
12113
        * libc/sys/mmixware/sys/syscall.h: ...here.
12114
 
12115
2001-11-12  Hans-Peter Nilsson  
12116
 
12117
        * libc/include/machine/ieeefp.h: Add support for mmix target.
12118
        * libc/include/machine/setjmp.h: Ditto.
12119
        * configure.host: Ditto.
12120
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
12121
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
12122
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
12123
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
12124
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
12125
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
12126
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
12127
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
12128
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
12129
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
12130
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
12131
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
12132
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
12133
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
12134
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
12135
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
12136
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
12137
        libc/sys/mmixware/aclocal.m4: Generate.
12138
 
12139
2001-11-05  Corinna Vinschen  
12140
 
12141
        * libc/include/sys/unistd.h: Add prototypes for endusershell(),
12142
        getusershell(), iruserok(), revoke(), ruserok() and setusershell()
12143
        when __CYGWIN__ is defined.
12144
        * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
12145
        logwtmp().
12146
 
12147
2001-11-01  Arati Dikey  
12148
 
12149
        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
12150
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
12151
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
12152
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
12153
 
12154
2001-10-24  Christopher Faylor  
12155
 
12156
        * libc/stdio/fseek.c: Reset pointer to buffer base
12157
        when forced to seek outside of current buffer contents.
12158
        This prevents the code from erroneously thinking there is
12159
        anything in the current buffer.
12160
 
12161
2001-10-22  Geoffrey Keating  
12162
 
12163
        * libc/include/math.h: The C++ standard adds the single-precision
12164
        versions of the elementary functions.
12165
 
12166
2001-10-22  Christopher Faylor  
12167
 
12168
        * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
12169
        throughout.
12170
        * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
12171
        * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
12172
        * system.c (_system_r): Ditto.
12173
 
12174
2001-10-17  Corinna Vinschen  
12175
 
12176
        * libc/include/sys/unistd.h: Add prototype for fchdir() when
12177
        __CYGWIN__ or __rtems__ is defined.
12178
 
12179
2001-10-01  Charles Wilson  
12180
 
12181
        * libc/include/stdlib.h: add declarations for
12182
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
12183
        * libc/stdio/local.h: remove declarations of
12184
        __strtoull_r and __strtoll_r.
12185
        * libc/stdio/vfscanf.c(__svfscanf_r): call
12186
        _strtoull_r instead of __strtoull_r. Ditto
12187
        _strtoll_r vs. __strtoll_r.
12188
        * libc/stdlib/Makefile.am: add new files to
12189
        .c list and .def list
12190
        * libc/stdlib/Makefile.in: regenerate
12191
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
12192
        as _strtoll_r
12193
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
12194
        as _strtoull_r
12195
        * libc/stdlib/strtoull.c: new file
12196
        * libc/stdlib/strtoll.c: new file
12197
 
12198
Mon Sep 17 17:29:47 2001  Christopher Faylor 
12199
 
12200
        * libc/include/process.h: Add getpid() declaration.
12201
 
12202
2001-09-14  Nick Clifton  
12203
 
12204
        * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
12205
        for new style arm/elf ctor/dtor handling.
12206
        Minor formatting tidy up.
12207
 
12208
2001-09-13  Jeff Johnston  
12209
 
12210
        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
12211
        and strtoull_r.c.
12212
        * libc/stdlib/Makefile.in: Regenerated.
12213
        * libc/stdlib/strtoll_r.c: New file.
12214
        * libc/stdlib/strtoull_r.c: New file.
12215
        * libc/stdio/local.h: Add prototypes for long long string
12216
        conversion routines.
12217
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
12218
        tied to %L integer conversion specifier.
12219
 
12220
Thu Sep 13 08:49:49 2001  Jason Tishler 
12221
 
12222
        * strftime.c (strftime): Fix "%W" implementation to properly handle
12223
        Mondays too.
12224
 
12225
2001-09-07  Jeff Law  
12226
 
12227
        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
12228
        __fini with "mov.l" instead of "mov.w".
12229
 
12230
2001-09-05  Corinna Vinschen  
12231
 
12232
        * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
12233
        and getopt.h.
12234
 
12235
2001-09-04  Jason Merrill  
12236
 
12237
        * libc/sys/h8300hms/crt0.S: Support ELF initialization.
12238
 
12239
2001-09-03  Corinna Vinschen  
12240
 
12241
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
12242
        field.
12243
        (__DIRENT_VERSION): New define.
12244
 
12245
2001-09-03  Corinna Vinschen  
12246
 
12247
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
12248
        Shrink __d_reserved accordingly to keep structure size.
12249
        (dirfd): Declare external.
12250
 
12251
2001-08-29  Joel Sherrill 
12252
 
12253
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
12254
 
12255
2001-08-29  Ralf Corsepius 
12256
 
12257
        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
12258
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
12259
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
12260
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
12261
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
12262
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
12263
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
12264
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
12265
        Add conditional compilation to avoid HW FPU instructions
12266
        when compiled for soft-float.
12267
 
12268
2001-08-29  Jeff Johnston  
12269
 
12270
        * Makefile.am: Add check for ln failing when creating libg.a
12271
        so that cp gets used as a backup.
12272
        * Makefile.in: Regenerated.
12273
 
12274
2001-08-29  Jeff Johnston  
12275
 
12276
        * libc/include/sys/reent.h: Add include of .
12277
        No longer include time.h.  Add struct __tm to use for
12278
        _localtime_buf in the reentrant structure.  Add a
12279
        _NULL definition to use in initializing the reentrant struct.
12280
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
12281
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
12282
        .
12283
        * libc/include/sys/unistd.h: Include .
12284
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
12285
        _localtime_buf to be struct tm *.
12286
 
12287
Wed Aug 29 14:17:38 2001  J"orn Rennecke 
12288
 
12289
        * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
12290
        * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
12291
        __ctors_end.
12292
        * libc/sys/h8300hms/syscalls.c: Include errno.h.
12293
        (_unlink): New stub function.
12294
 
12295
Sat Aug 25 22:22:25 2001  Christopher Faylor 
12296
 
12297
        * libc/include/sys/errno.h: Add a cautionary comment.
12298
 
12299
2001-08-21  Jeff Johnston  
12300
 
12301
        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
12302
        for SIZE_SZ so that alignment ends up a minimum of 8.
12303
 
12304
Mon Aug 13 22:26:01 2001  Christopher Faylor 
12305
 
12306
        * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
12307
        arguments.
12308
 
12309
        * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
12310
        Cygwin.
12311
 
12312
2001-08-13  Jeff Johnston  
12313
 
12314
        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
12315
        macro constants for mallopt options.
12316
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
12317
 
12318
2001-08-02  Jeff Johnston  
12319
 
12320
        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
12321
        otherwise default.
12322
 
12323
2001-07-12  Aldy Hernandez  
12324
 
12325
        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
12326
 
12327
2001-06-27  Nick Clifton  
12328
 
12329
        * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
12330
        Define for little endian ARMs.
12331
 
12332
        * libc/stdlib/mprec.h (Storeinc): Use little endian version if
12333
        __IEEE_BYTES_LITTLE_ENDIAN is defined.
12334
 
12335
2001-06-11  Danny Smith  
12336
 
12337
        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
12338
 
12339
2001-06-11  Egor Duda  
12340
 
12341
        * libc/ctype/ctype_.c: When compiled with gcc on platforms
12342
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
12343
        initialized memory region. Platform can define COMPACT_CTYPE
12344
        to avoid allocation of the additional 128 bytes of data.
12345
        Add pointer to _ctype_ array. Always initialize all _ctype_
12346
        array elements.
12347
 
12348
2001-06-08  Jonathan Larmour  
12349
 
12350
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
12351
        NULL pointer.
12352
 
12353
2001-05-28  Nick Clifton  
12354
 
12355
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
12356
 
12357
2001-05-25  Nick Clifton  
12358
 
12359
        * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
12360
        matching, non-word alignment, and the length is <= 4 but more than
12361
        enough to move them over a word boundary.
12362
        Add comments explaining what each instruction does.
12363
 
12364
Mon May  7 20:39:25 2001  Christopher Faylor 
12365
 
12366
        * libc/include/sys/stat.h: Revert March 3, Cygwin change.
12367
        * libc/include/sys/unistd.h: Ditto.
12368
 
12369
2001-05-04  Earnie Boyd  
12370
 
12371
        * libc/string/strrchr.c: Use strchr for the speed improvements.
12372
 
12373
2001-05-01  Jeff Johnston  
12374
 
12375
        * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
12376
        real file systems, let __smakebuf() determine if line buffering
12377
        should be used for stdout.
12378
 
12379
2001-04-27  Jeff Johnston  
12380
 
12381
        * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
12382
 
12383
2001-04-27  Jeff Johnston  
12384
 
12385
        * libc/include/stdlib.h: Add prototype for _strtod_r.
12386
 
12387
2001-04-24  Charles Wilson  
12388
 
12389
        * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
12390
        * libc/stdio/vprintf.c (_vprintf_r): new function
12391
        * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
12392
        * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
12393
        _DEFUN, and call _vfprintf_r, not vfprintf.
12394
        * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
12395
        * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
12396
        _DEFUN, and call _vfprintf_r, not vfprintf.
12397
 
12398
2001-04-22  Earnie Boyd  
12399
 
12400
        * libc/include/sys/unistd.h [X_OK]: Use better protection against
12401
        Cygwin X_OK definitions in sys/file.h.
12402
 
12403
Fri Apr 20 23:17:51 2001  Christopher Faylor 
12404
 
12405
        * libc/include/sys/time.h: Define timercmp and other macros for
12406
        __CYGWIN__, too.
12407
 
12408
2001-04-20  Jeff Johnston  
12409
 
12410
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
12411
        * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
12412
        --enable-malloc-debugging selected.
12413
        * aclocal.m4 configure: Regenerated.
12414
          libm/aclocal.m4 libm/configure: Ditto.
12415
        * libc/aclocal.m4 libc/configure: Ditto.
12416
        * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
12417
        * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
12418
        * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
12419
        * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
12420
        * doc/aclocal.m4 doc/configure: Ditto.
12421
 
12422
2001-04-20  Jeff Johnston  
12423
 
12424
        * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
12425
        into one list.
12426
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
12427
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
12428
        function prototypes.
12429
        (_fscanf_r, _sscanf_r): Ditto.
12430
        * libc/include/stdlib.h: Added _strtod_r prototype.
12431
        * libc/stdio/Makefile.am: Add new v*scanf functions.
12432
        * libc/stdio/Makefile.in: Regenerate.
12433
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
12434
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
12435
        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
12436
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
12437
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
12438
        (_sscanf_r): New routine.
12439
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
12440
        with __svfscanf_r prototype.
12441
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
12442
        routines.
12443
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
12444
        structure as argument as calls reentrant versions of helper functions
12445
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
12446
        to _strtol_r and _strtod_r respectively.
12447
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
12448
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
12449
        _REENT argument.
12450
        * libc/stdio/vscanf.c: New file.
12451
        * libc/stdio/vsscanf.c: Ditto.
12452
 
12453
2001-04-19  Robert Collins  
12454
 
12455
        * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
12456
        Define daylight to _daylight if it is not defined
12457
        Prepare a variable export of timezone based on timezonevariable.
12458
        (Cannot be used with the timezone() function.)
12459
 
12460
2001-04-17  Stephen L. Moshier  
12461
 
12462
        * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
12463
         Correct the numerical values.
12464
 
12465
2001-04-13  Robert Collins 
12466
 
12467
        * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
12468
 
12469
Thu Apr 12 23:11:00 2001  Corinna Vinschen 
12470
 
12471
        * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
12472
        on case insensitve file systems.
12473
 
12474
2001-04-12  Robert Collins 
12475
 
12476
        * libc/include/sys/features.h: Add appropriate defines for Cygwin
12477
        pthread support.
12478
        * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
12479
        * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
12480
        types.  Include  for the cygwin specific typedefs.
12481
 
12482
2001-04-04  Richard Sandiford  
12483
 
12484
        * libc/include/machine/ieeefp.h: Comment about new configuration
12485
        macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
12486
        * libm/common/fdlib.h: Define new macros for testing floats.
12487
        * libm/common/sf_*: Use them.
12488
        * libm/math/ef_*: Likewise.
12489
        * libm/math/sf_*: Likewise.
12490
 
12491
2001-03-29  Jeff Johnston  
12492
 
12493
        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
12494
        prolog to by-pass possible assembler error.
12495
 
12496
2001-03-21  Egor Duda  
12497
 
12498
        Allow building internal stubs for non-reentrant syscalls
12499
        if target provides its own malloc
12500
        * libc/reent/reent.c (errno): Move definition here.
12501
        * libc/reent/sbrkr.c: From here.
12502
 
12503
2001-03-20  Danny Smith 
12504
 
12505
        * libc/include/sys/types.h (BSD int typedefs): Guard with
12506
        _BSDTYPES_DEFINED rather than _WINSOCK_H.
12507
        (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
12508
        _SYS_TYPES_FD_SET.
12509
        * libc/include/sys/unistd.h (gethostname): Don't declare if defined
12510
        (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
12511
 
12512
Sat Mar 17 18:30:00 2001  Corinna Vinschen 
12513
 
12514
        * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
12515
        _PC_POSIX_SECURITY constants for Cygwin.
12516
 
12517
Wed Mar 14  9:34:00 2001  Corinna Vinschen 
12518
 
12519
        * libc/sys/cygwin/crt0.c: Add copyright hint.
12520
        * libc/sys/cygwin/sys/dirent.h: Ditto.
12521
        * libc/sys/cygwin/sys/param.h: Ditto.
12522
        * libc/sys/cygwin/sys/utime.h: Ditto.
12523
        * libc/sys/cygwin/sys/utmp.h: Ditto.
12524
 
12525
2001-03-13  Alexandre Oliva  
12526
 
12527
        * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
12528
        equivalent to LONGINT.
12529
 
12530
2001-03-08  Richard Sandiford  
12531
 
12532
        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
12533
        jmpbuf on MIPS64 targets.
12534
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.
12535
 
12536
Wed Mar  7 16:02:07 2001  Christopher Faylor 
12537
 
12538
        * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
12539
          declarations.
12540
 
12541
Mon Mar  5 21:48:54 2001  J"orn Rennecke 
12542
 
12543
        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
12544
        For RTEMS, define to be ssize_t.  Default to int if not defined.
12545
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
12546
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
12547
        * libc/stdio/local.h (__sread, __swrite): Likewise.
12548
        * libc/include/sys/reent.h (_read, _write): Likewise.
12549
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
12550
        * libc/syscalls/sysread.c (read): Likewise.
12551
        * libc/syscalls/syswrite.c (write): Likewise.
12552
 
12553
2001-03-05  Jeff Johnston  
12554
 
12555
        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
12556
 
12557
Sat Mar  3 00:34:14 2001  Christopher Faylor 
12558
 
12559
        * libc/include/sys/stat.h: Use special defines for executable stat bits
12560
        when compiling for Cygwin.
12561
        * libc/include/sys/unistd.h: Use special define for X_OK when compiling
12562
        for Cygwin.
12563
 
12564
2001-03-02  Jeff Johnston  
12565
 
12566
        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
12567
        of strtok_r is always defined.
12568
 
12569
2001-03-02  Jeff Johnston  
12570
 
12571
        * libc/include/machine/ansi.h: New dummy header file.
12572
 
12573
2001-02-22  Jeff Johnston  
12574
 
12575
        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
12576
        changed the copyright information to allow free modification of the
12577
        file with no reference to "copying.dj".
12578
        * libc/include/sys/stat-dj.h: Ditto.
12579
        * libc/machine/i386/setjmp.S: Ditto.
12580
        * libc/sys/h8300hms/sys/file.h: Ditto.
12581
        * libc/sys/sysmec/access.c: Ditto.
12582
        * libc/sys/sysnecv850/access.c: Ditto.
12583
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
12584
        * libc/stdlib/getenv_r.c: Ditto.
12585
        * libc/stdlib/putenv_r.c: Ditto.
12586
        * libc/stdlib/setenv_r.c: Ditto.
12587
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
12588
        modifications will now be in the _r version of this file.
12589
        * libc/stdlib/putenv.c: Ditto.
12590
        * libc/stdlib/setenv.c: Ditto.
12591
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
12592
        valid.  Added a reference to DJ's web page that contains his address.
12593
        * libc/sys/go32/*.s: Removed references to DJ's old address.
12594
        * libc/sys/go32/*.c: Ditto.
12595
        * libc/sys/go32/*.h: Ditto.
12596
        * libc/sys/go32/*.S: Ditto.
12597
        * libc/sys/go32/sys/*.h: Ditto.
12598
 
12599
2001-02-21  Jeff Johnston  
12600
 
12601
        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
12602
        HAVE_FCNTL flag check.
12603
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
12604
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
12605
 
12606
Thu Feb 15 01:39:51 2001  Christopher Faylor 
12607
 
12608
        * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
12609
 
12610
2001-02-14  Kazuhiro Fujieda  
12611
 
12612
        * libc/include/stdlib.h: Add declarations of rand48 functions and
12613
        their reentrant versions.
12614
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
12615
        struct _rand48 for shared parameters of rand48 functions.
12616
        (struct _reent): Add a variable _r48 of struct _rand48.
12617
        (_REENT_INIT): Add _r48 initialization.
12618
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
12619
        (CHEWOUT_FILES): Add rand48.def.
12620
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
12621
        * libc/stdlib/Makefile.in: Regenerated.
12622
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
12623
        NetBSD C library.
12624
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
12625
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
12626
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
12627
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
12628
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
12629
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
12630
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
12631
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
12632
        * libc/stdlib/rand48.c (__dorand48): Ditto.
12633
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
12634
        parameters into macros referring them in the reentrant structure.
12635
 
12636
2001-02-12  Jeff Johnston  
12637
 
12638
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
12639
        Cygwin definition has correct prototype.
12640
 
12641
2001-02-08  Jeff Johnston  
12642
 
12643
        * libc/include/sys/stat.h: Must revert change for mknod
12644
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
12645
        prototype.
12646
 
12647
2001-02-08  Jeff Johnston  
12648
 
12649
        * libc/include/stdio.h: Revert putw prototype.
12650
 
12651
2001-02-08  Edward M. Lee  
12652
 
12653
        * libc/include/grp.h: add prototype for initgroups.
12654
        * libc/include/stdio.h: fix prototype for putw.
12655
        * libc/include/sys/signal.h: add prototype for killpg.
12656
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
12657
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
12658
        vhangup and remove duplicate sysconf prototype.
12659
 
12660
2001-02-07  Jeff Johnston  
12661
 
12662
        * libc/sys/rtems/sys/types.h: Removed.
12663
 
12664
2001-02-05  Charles Wilson  
12665
 
12666
        * libc/include/locale.h: add LC_MESSAGES definition
12667
 
12668
2001-02-01  Alexandre Oliva  
12669
 
12670
        * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
12671
        SYS_get_argN):
12672
        * libc/sys/sh/syscalls.c (__setup_argv_for_main,
12673
        __setup_argv_and_call_main): New.
12674
 
12675
2001-01-31  Jeff Johnston  
12676
 
12677
        * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
12678
        if defined.
12679
        (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
12680
        (L_tmpnam): Changed to use __L_tmpnam__ if defined.
12681
        * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
12682
        appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
12683
 
12684
Mon Jan 29 23:03:06 2001  Christopher Faylor 
12685
 
12686
        * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
12687
        compiling under Cygwin.
12688
 
12689
2001-01-29  Jeff Johnston  
12690
 
12691
        * libc/include/math.h (signgam): Change to errno-like solution
12692
        using a function to return the address of the real signgam.
12693
        * libc/reent/signgam.c: New file containing __signgam().
12694
        * libc/reent/Makefile.am: Added signgam.c to list of files.
12695
        * libc/reent/Makefile.in: Regenerated.
12696
 
12697
2001-01-25  Alexandre Oliva  
12698
 
12699
        * libc/sys/sh/syscalls.c (_times): New.
12700
 
12701
        * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
12702
        * libc/sys/sh/syscalls.c (_gettimeofday): New.
12703
 
12704
2001-01-23  Jeff Johnston  
12705
 
12706
        * libc/include/math.h (signgam): Regress previous fix as
12707
        it does not handle programs with extern int signgam in them.
12708
 
12709
2001-01-23  Jeff Johnston  
12710
 
12711
        * libc/include/math.h (signgam): Changed to a macro refering to
12712
        its location in the reentrant structure.
12713
 
12714
2001-01-23  Jeff Johnston  
12715
 
12716
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
12717
        that suppressed . for %.0f, 0.1.  Check now looks if there
12718
        are padding zeroes (expt) in addition to any digits (ndig) to
12719
        print.
12720
 
12721
2001-01-18  Jeff Johnston  
12722
 
12723
        * libc/sys/arc/Makefile.am: New file.
12724
        * libc/sys/arc/Makefile.in: Ditto.
12725
        * libc/sys/arc/aclocal.m4: Ditto.
12726
        * libc/sys/arc/configure: Ditto.
12727
        * libc/sys/arc/configure.in: Ditto.
12728
        * libc/sys/arc/crt0.S: Ditto.
12729
        * libc/sys/arc/isatty.c: Ditto.
12730
        * libc/sys/arc/mem-layout.c: Ditto.
12731
        * libc/sys/arc/sbrk.c: Ditto.
12732
        * libc/sys/arc/syscalls.c: Ditto.
12733
        * libc/sys/arc/sys/syscall.h: Ditto.
12734
 
12735
Wed Jan 17 23:20:56 2001  Christopher Faylor 
12736
 
12737
        * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
12738
 
12739
Fri Jan 12 00:34:31 2001  Christopher Faylor 
12740
 
12741
        * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
12742
 
12743
Thu Jan 11 20:42:06  2001  Earnie Boyd  
12744
 
12745
        * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
12746
 
12747
2001-01-09  Nick Clifton  
12748
 
12749
        * configure.host (v859): Remove unsupported compiler options.
12750
 
12751
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  
12752
 
12753
        * src/newlib/configure.host (*-*-rtems*): add printf long long
12754
        support for RTEMS.
12755
 
12756
2000-12-19  Graham Stott 
12757
 
12758
        * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
12759
 
12760
Wed Dec 14  Jeff Johnston  
12761
 
12762
        * configure.host: Turn on long double I/O for Cygwin.
12763
 
12764
Wed Dec 14  Jeff Johnston  
12765
 
12766
        * MAINTAINERS: Removed Ranjith.
12767
        * NEWS: Updated for 1.9.0.
12768
        * README: Updated.
12769
        * acinclude.m4: Updated to release 1.9.0.
12770
        * aclocal.m4 configure
12771
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
12772
          libc/machine/aclocal.m4 libc/machine/configure
12773
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
12774
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
12775
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
12776
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
12777
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
12778
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
12779
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
12780
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
12781
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
12782
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
12783
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
12784
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
12785
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
12786
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
12787
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
12788
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
12789
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
12790
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
12791
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
12792
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
12793
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12794
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12795
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12796
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
12797
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12798
          libc/sys/aclocal.m4 libc/sys/configure
12799
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12800
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12801
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12802
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12803
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12804
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12805
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12806
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12807
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
12808
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12809
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12810
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12811
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12812
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12813
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12814
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12815
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12816
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12817
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12818
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12819
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12820
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12821
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12822
          libm/aclocal.m4 libm/configure: Regenerated.
12823
 
12824
Wed Dec 13 11:52:00 2000  Corinna Vinschen 
12825
 
12826
        * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
12827
        when __CYGWIN__ is defined.
12828
 
12829
2000-12-13  Jeff Johnston  
12830
 
12831
        * libc/stdlib/ldtoa.c (_ldcheck): New routine
12832
        that categorizes a long double as NaN, Infinity, or other.
12833
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
12834
        isinfl and isnanl static routines which were i386-specific.  Changed
12835
        calls to the two removed routines to a single _ldcheck call.
12836
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
12837
 
12838
2000-12-13  Jeff Johnston  
12839
 
12840
        * Makefile.am: Fixed install-data-local target to use
12841
        $(mkinstalldirs) for the installed header files to ensure
12842
        the directories exist before copying.
12843
        * Makefile.in: Regenerated.
12844
 
12845
2000-12-12  Jeff Johnston  
12846
 
12847
        * libc/include/sys/unistd.h: Restored Cygwin _SC
12848
        constants and moved new constants appropriately
12849
        so Cygwin will build.
12850
 
12851
2000-12-11  Joel Sherrill 
12852
 
12853
        * Merge RTEMS specific .h files into main libc/include.
12854
        * libc/sys/rtems/include/signal.h: Removed.
12855
        * libc/sys/rtems/include/time.h: Removed.
12856
        * libc/sys/rtems/sys/features.h: Removed.
12857
        * libc/sys/rtems/sys/sched.h: Removed.
12858
        * libc/sys/rtems/sys/siginfo.h: Removed.
12859
        * libc/sys/rtems/sys/signal.h: Removed.
12860
        * libc/sys/rtems/sys/time.h: Removed.
12861
        * libc/sys/rtems/sys/times.h: Removed.
12862
        definitions for time_t and clock_t since these are
12863
        no longer in time.h.
12864
        * libc/include/pthread.h: New file.
12865
        * libc/include/sys/sched.h: New file.
12866
        * libc/include/sys/features.h: New file.
12867
        * libc/include/time.h: Removed duplicate definition of clock_t
12868
        and time_t, get them from  instead.  Add prototypes
12869
        for POSIX clock and timer functionality.
12870
        * libc/sys/linux/sys/types.h: Changed to include
12871
        * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
12872
        * libc/include/sys/signal.h: Add more complete set of POSIX
12873
        signal functionality including real-time and threaded signals.
12874
        * libc/include/sys/types.h: Add clock_t, time_t, struct
12875
        timespec, and struct itimerspec.  Centralizing these makes
12876
        things cleaner.  RTEMS uses 64-bit dev_t.
12877
        Added numerous primitive definitions
12878
        for pthreads including macros, pthread_attr_t,
12879
        pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
12880
        pthread_once_t, and pthread_t.
12881
        * libc/include/sys/unistd.h: Added getlogin_r() prototype.
12882
        If RTEMS follow POSIX on read(), write() and sbrk() prototype.
12883
        Feature flags removed and moved to new file .
12884
        Full set of POSIX sysconf() constants
12885
 
12886
2000-12-08  Werner Almesberger  
12887
 
12888
        * configure.host: Added x86 linux target.
12889
        * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
12890
        definitions provided if not already defined.
12891
        * libc/sys/linux/crt0.c: New file.
12892
        * libc/sys/linux/Makefile.am: Ditto.
12893
        * libc/sys/linux/Makefile.in: Ditto.
12894
        * libc/sys/linux/aclocal.m4: Ditto.
12895
        * libc/sys/linux/brk.c: Ditto.
12896
        * libc/sys/linux/configure: Ditto.
12897
        * libc/sys/linux/configure.in: Ditto.
12898
        * libc/sys/linux/getoptlong.c: Ditto.
12899
        * libc/sys/linux/ids.c: Ditto.
12900
        * libc/sys/linux/inode.c: Ditto.
12901
        * libc/sys/linux/io.c: Ditto.
12902
        * libc/sys/linux/linux.c: Ditto.
12903
        * libc/sys/linux/process.c: Ditto.
12904
        * libc/sys/linux/realpath.c: Ditto.
12905
        * libc/sys/linux/select.c: Ditto.
12906
        * libc/sys/linux/signal.c: Ditto.
12907
        * libc/sys/linux/systat.c: Ditto.
12908
        * libc/sys/linux/termios.c: Ditto.
12909
        * libc/sys/linux/time.c: Ditto.
12910
        * libc/sys/linux/wait.c: Ditto.
12911
        * libc/sys/linux/include/alloca.h: Ditto.
12912
        * libc/sys/linux/include/getopt.h: Ditto.
12913
        * libc/sys/linux/include/stdint.h: Ditto.
12914
        * libc/sys/linux/include/unistd.h: Ditto.
12915
        * libc/sys/linux/sys/cdefs.h: Ditto.
12916
        * libc/sys/linux/sys/dirent.h: Ditto.
12917
        * libc/sys/linux/sys/errno.h: Ditto.
12918
        * libc/sys/linux/sys/fcntl.h: Ditto.
12919
        * libc/sys/linux/sys/file.h: Ditto.
12920
        * libc/sys/linux/sys/ioctl.h: Ditto.
12921
        * libc/sys/linux/sys/resource.h: Ditto.
12922
        * libc/sys/linux/sys/signal.h: Ditto.
12923
        * libc/sys/linux/sys/stat.h: Ditto.
12924
        * libc/sys/linux/sys/syscall.h: Ditto.
12925
        * libc/sys/linux/sys/termios.h: Ditto.
12926
        * libc/sys/linux/sys/time.h: Ditto.
12927
        * libc/sys/linux/sys/types.h: Ditto.
12928
        * libc/sys/linux/sys/utmp.h: Ditto.
12929
        * libc/sys/linux/sys/utsname.h: Ditto.
12930
        * libc/sys/linux/sys/wait.h: Ditto.
12931
 
12932
2000-12-08  Ralf Corsepius 
12933
 
12934
        * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
12935
        can be a relative path to $(top_srcdir)/install.sh so ensure the
12936
        autoconf detected settings are properly passed recursively.
12937
        Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
12938
        properly to subdirectories.
12939
        * Makefile.in: Regenerated.
12940
 
12941
2000-12-07  Jay Kulpinski 
12942
 
12943
        * libc/stdio/vfprintf.c: Minor modification to avoid requiring
12944
        a floating point register unless really printing a floating
12945
        point number.
12946
 
12947
2000-12-07  Jeff Johnston  
12948
 
12949
        * libc/stdlib/ldtoa.c: Removed include of alloca.h.
12950
        Also removed \r's.
12951
        (asctoeg): Replaced alloca call with stack array and malloc
12952
        when storage exceeds reasonable limit.
12953
        (e53toe): Fixed einfin calls missing ldp parameter.
12954
        (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
12955
 
12956
2000-12-06  Jeff Johnston  
12957
 
12958
 
12959
        * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
12960
 
12961
2000-12-06  Jeff Johnston  
12962
 
12963
        * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
12964
        * libc/stdlib/Makefile.in: Regenerated.
12965
        * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
12966
        * libc/stdio/vfieeefp.h: Added long double bit structures.
12967
        * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
12968
        [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
12969
        (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
12970
        * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
12971
        * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
12972
        _strtold routines used for conversions between character
12973
        and long double.
12974
 
12975
Wed Dec  6 12:01:00 2000  Corinna Vinschen 
12976
 
12977
        * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
12978
 
12979
2000-12-04  Joel Sherrill 
12980
 
12981
        * libc/include/machine/time.h: RTEMS systems can configure clock
12982
        tick rate so use sysconf() to ask.
12983
 
12984
2000-12-04  Joel Sherrill 
12985
 
12986
        * libc/include/sys/times.h: Add reference to POSIX standard.
12987
 
12988
2000-12-04  Joel Sherrill 
12989
 
12990
        * libc/include/sys/time.h: Added BSD timer manipulation macros
12991
        used by RTEMS code.
12992
 
12993
2000-12-04  Joel Sherrill 
12994
 
12995
        * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
12996
        referenced by code generated by gcc 2.8.1.
12997
        (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
12998
        satisfy gcc.
12999
 
13000
2000-12-04  Joel Sherrill 
13001
 
13002
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
13003
 
13004
2000-12-04  Joel Sherrill 
13005
 
13006
        * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
13007
 
13008
2000-12-04  Joel Sherrill 
13009
 
13010
        * configure.host (or16, or32): New entries for OpenCores
13011
        OpenRisc CPUs.
13012
        (*-*-rtems*): Add -DNO_EXEC.
13013
 
13014
2000-12-04  Keith Outwater 
13015
 
13016
        * libc/include/sys/errno.h: Added comments on many error numbers.
13017
        * libc/string/strerror.c: Added some more strings.
13018
 
13019
2000-11-30  Jeff Johnston 
13020
 
13021
        * libc/sys/sh/syscalls.c (_link): New stub.
13022
 
13023
2000-11-29  Nick Clifton  
13024
 
13025
        * configure.host: Add xscale target.
13026
        * libc/machine/xscale: New directory.
13027
        * libc/machine/xscale/Makefile.am: New file.
13028
        * libc/machine/xscale/Makefile.in: New file.
13029
        * libc/machine/xscale/aclocal.m4: New file.
13030
        * libc/machine/xscale/configure: New file.
13031
        * libc/machine/xscale/configure.in: New file.
13032
        * libc/machine/xscale/memchr.S: New file.
13033
        * libc/machine/xscale/memcmp.S: New file.
13034
        * libc/machine/xscale/memcpy.S: New file.
13035
        * libc/machine/xscale/memmove.S: New file.
13036
        * libc/machine/xscale/memset.S: New file.
13037
        * libc/machine/xscale/strchr.S: New file.
13038
        * libc/machine/xscale/strcmp.S: New file.
13039
        * libc/machine/xscale/strcpy.S: New file.
13040
        * libc/machine/xscale/strlen.S: New file.
13041
 
13042
Sat Nov 25 11:24:00 2000  Corinna Vinschen 
13043
 
13044
        * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
13045
        avoid compiler warnings.
13046
 
13047
2000-11-22  Michael Meissner  
13048
 
13049
        * libc/posix/execl.c (execl): Don't reference environ directly,
13050
        reference it only via a static pointer to avoid problems with some
13051
        shared library systems and with different uses of small data where
13052
        the user specifies his own version of environ.
13053
        * libc/posix/execv.c (execv): Ditto.
13054
        * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
13055
        * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
13056
        * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
13057
 
13058
        * libc/stdlib/getenv.c (environ): Delete unused reference to
13059
        environ.
13060
 
13061
        * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
13062
        colorization.
13063
        * libc/stdlib/system.c: Ditto.
13064
 
13065
Tue Nov 21 20:32:21 2000  Christopher Faylor 
13066
 
13067
        * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
13068
        including windows headers.
13069
 
13070
2000-11-20  Jeff Johnston  
13071
 
13072
        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
13073
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
13074
        not defined by sys/dirent.h.
13075
        * libc/posix/execvp.c: Added include of dirent.h to get
13076
        MAXNAMLEN value which used to be in unistd.h.
13077
 
13078
Mon Nov  6 12:56:00 2000  Corinna Vinschen 
13079
 
13080
        * libc/include/sys/types.h: Change type of i to `size_t' in
13081
        FD_ZERO macro to avoid compiler warnings.
13082
 
13083
Sun Oct 29 20:06:41 2000  Christopher Faylor 
13084
 
13085
        * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
13086
        * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
13087
 
13088
Tue Oct 24 20:16:00 2000  Corinna Vinschen 
13089
 
13090
        * libc/include/sys/unistd.h: Add defines for sysconf values
13091
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
13092
        _SC_AVPHYS_PAGES.
13093
 
13094
Mon Oct  9 20:26:33 2000  Christopher Faylor 
13095
 
13096
        * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
13097
        declarations for __CYGWIN__.
13098
 
13099
2000-09-19  Geoffrey Keating  
13100
 
13101
        * libc/signal/signal.c (__sigtramp_r): ISO C requires
13102
        case labels to be integral constant expressions, so
13103
        use an if/else tree instead.
13104
        (_raise_r): Likewise.
13105
 
13106
2000-09-13  Jeff Johnston  
13107
 
13108
        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
13109
        clipping patch from e-mail reader.
13110
 
13111
2000-09-13  Will Cohen  
13112
 
13113
        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
13114
        Added return value 0.
13115
        (_longjmp): Allow longjmp to return value of second argument
13116
        passed to it.
13117
 
13118
2000-09-06  Jeff Johnston 
13119
 
13120
        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
13121
        inline code to prevent having to include another header file.
13122
 
13123
Wed Sep  6 15:06:40 2000  Christopher Faylor 
13124
 
13125
        * Makefile.am: Fix space vs. tab problem in install-data-local.
13126
        * Makefile.in: Regenerate.
13127
 
13128
Wed Sep  6 13:49:51 2000  Christopher Faylor 
13129
 
13130
        * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
13131
        (_EXPARM): New macro for defining a function parameter.
13132
        * libc/include/stdlib.h: Use _EXPARM.
13133
        * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
13134
 
13135
2000-09-05  Manfred Hollstein  
13136
 
13137
        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
13138
        required, as documented in the gnu coding standards.
13139
        * Makefile.in: Regenerate.
13140
 
13141
2000-09-05  Jeff Johnston 
13142
 
13143
        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
13144
        make O_NDELAY and O_NONBLOCK have the same value.
13145
 
13146
2000-08-30  Kazu Hirata  
13147
 
13148
        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
13149
 
13150
2000-08-30  Werner Almesberger  
13151
 
13152
        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
13153
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
13154
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
13155
        everywhere else.
13156
 
13157
2000-08-30  Geoffrey Keating  
13158
 
13159
        * libc/string/swab.c: Specify that it's defined in .
13160
        * libc/include/string.h: Don't include ,
13161
        as it causes really bad namespace pollution.  Don't declare
13162
        swab(), it is properly declared in unistd.h.
13163
 
13164
2000-08-29  Werner Almesberger  
13165
 
13166
        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
13167
        (broken) support for non-existent /etc/passwd field "comment".
13168
 
13169
2000-08-27  Werner Almesberger  
13170
 
13171
        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
13172
        only if _DIRENT_HAVE_D_NAMLEN is defined.
13173
        (alphasort): aligned prototype with
13174
        libc/sys/cygwin/sys/dirent.h and simplified function body.
13175
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
13176
        long telldir (DIR *) as mentioned in annex B of POSIX.1
13177
 
13178
2000-08-27  Werner Almesberger  
13179
 
13180
        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
13181
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
13182
        Added __CLI and __STI macros (controlled via
13183
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
13184
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
13185
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
13186
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
13187
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
13188
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
13189
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
13190
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
13191
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
13192
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
13193
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
13194
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
13195
        for all global entry points.
13196
        * libc/machine/i386/setjmp.S: removed code replicated in
13197
        libc/machine/i386/i386mach.h and included i386mach.h instead;
13198
        Use __CLI and __STI instead of cli and sti.
13199
 
13200
2000-08-25  DJ Delorie  
13201
 
13202
        * libc/include/sys/unistd.h (environ): this one isn't from the
13203
        DLL, no __IMPORT
13204
 
13205
Fri Aug 25 13:37:11 2000  Christopher Faylor 
13206
 
13207
        * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
13208
        environ when compiling under cygwin since it is already declared in
13209
        unistd.h.
13210
 
13211
2000-08-23  Werner Almesberger  
13212
 
13213
        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
13214
        like  x << y-z  to the equivalent  x << (y-z).
13215
        (d2b): changed if statements with assignment to perform the
13216
        assignment prior to the if check.
13217
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
13218
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
13219
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
13220
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
13221
        precedence.
13222
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
13223
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
13224
        execve.c).
13225
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
13226
        precedence.
13227
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
13228
        clarify && and || precendence (and to remove pascalism).
13229
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
13230
        * libm/math/s_infconst.c: added another pair of braces to all
13231
        initializers for __infinity (need three: for __infinity[1] array,
13232
        for union __dmath, and for i[2]).
13233
 
13234
2000-08-23  Werner Almesberger  
13235
 
13236
        * libc/stdlib/abort.c: changed description: uses "raise" instead of
13237
        "getpid" and "kill"; added: uses "write" and "_exit".
13238
        Also included unistd.h for "_exit" prototype.
13239
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
13240
        reent.h for "_fork_r" and "_wait_r" prototypes.
13241
        (do_system): changed  extern char *environ[] to POSIX-friendly
13242
        extern char **environ.
13243
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
13244
        prototypes.
13245
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
13246
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
13247
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
13248
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
13249
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
13250
        unistd.h for "getpid" prototype.
13251
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
13252
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
13253
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
13254
        prototype.  Also included stdlib.h for "abort", string.h for
13255
        "strdup" and "strncmp" prototypes.
13256
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
13257
        "strncpy", unistd.h for "read" and "close" prototypes.
13258
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
13259
        "strcat" prototypes.
13260
 
13261
2000-08-23  Werner Almesberger  
13262
 
13263
        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
13264
        used later (ifdef __SCLE)
13265
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
13266
        used later (ifdef MB_CAPABLE)
13267
        * libc/string/memset.c (memset): removed unused variables "count"
13268
        and "unaligned_addr"
13269
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
13270
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
13271
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
13272
        and "gid"
13273
 
13274
2000-08-23  Werner Almesberger  
13275
 
13276
        * libc/stdlib/envlock.c: changed documented "__env_lock" and
13277
        "__env_unlock" prototype from "void *" or "char *" to
13278
        "struct _reent *" to match real function.  Also added include
13279
        of envlock.h.
13280
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
13281
        "__malloc_unlock" prototype from "void *" or "char *" to
13282
        "struct _reent *" to match real function.
13283
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
13284
        prototypes (for getenv_r.c and setenv_r.c).
13285
 
13286
2000-08-22  Werner Almesberger  
13287
 
13288
        * libc/unix/getut.c (utmpname): added _CONST to reflect common use
13289
        and prototype in cygwin's utmp.h
13290
 
13291
2000-08-16  Eric Fifer  
13292
 
13293
        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
13294
 
13295
2000-08-09  Nick Clifton  
13296
 
13297
        * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
13298
        epilogue and to allow the functions to be used in a Thumb based
13299
        toolchain.
13300
 
13301
2000-08-08  Jeff Johnston 
13302
 
13303
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
13304
        so size of 0 results in nothing being written to string.
13305
        Also fixed code so that when size is non-zero, there is only
13306
        a maximum of size - 1 characters written to the array and
13307
        a nul terminator is appended at the end.
13308
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
13309
 
13310
2000-08-01  DJ Delorie  
13311
 
13312
        * libc/include/sys/config.h: define __IMPORT appropriately
13313
        * libc/include/ctype.h (_ctype_): use __IMPORT
13314
        * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
13315
        * libc/include/math.h (__mb_cur_max): ditto
13316
        * libc/include/time.h (_timezone, _daylight, _tzname): ditto
13317
        * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
13318
        * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
13319
        * libc/include/unistd.h (environ): ditto
13320
 
13321
2000-07-28  Michael Meissner  
13322
 
13323
        * libc/include/math.h (__infinity): Declare as an array without
13324
        bounds to get around small data support.  Rewrite Cygwin support
13325
        to be more general.
13326
        * libm/math/s_infconst.c (__infinity): Ditto.
13327
        * libm/mathfp/s_infconst.c (__infinity): Ditto.
13328
 
13329
Thu Jul 27 10:46:01 2000  Christopher Faylor 
13330
 
13331
        * libc/include/math.h: Use appropriate dll import linkage for
13332
        __infinity under Cygwin.
13333
 
13334
2000-07-13  DJ Delorie  
13335
 
13336
        * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
13337
 
13338
Wed Jun 28 14:08:00 2000  Keith Walker  
13339
 
13340
        * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
13341
        to argument list for AngelSWI_Reason_GetCmdLine.
13342
 
13343
Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  
13344
 
13345
        * configure.host: Add support for AVR target.
13346
        * libc/include/machine/ieeefp.h: Likewise.
13347
        * libc/include/sys/config.h: Likewise.
13348
 
13349
Thu Jun 22 18:35:00 2000  Ranjith Kumaran  
13350
 
13351
        * README: Newlib 1.8.2 must be built in a separate directory
13352
        than the sources.
13353
 
13354
Tue Jun 20 14:30:00 2000  Jeff Johnston  
13355
 
13356
        * libc/include/sys/reent.h (_rand_next): Added __extension__
13357
        qualifier as long long type is not strict ANSI.
13358
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
13359
        to long long constant.
13360
 
13361
Fri Jun 16 23:02:00 2000  Corinna Vinschen 
13362
 
13363
        * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
13364
        `setegid' provided by Cygwin.
13365
 
13366
Thu Jun 15  0:21:00 2000  Corinna Vinschen 
13367
 
13368
        * libc/stdio/fdopen.c: Take explicit given bin/textmode into
13369
        account for Cygwin.
13370
 
13371
Fri Jun  9 14:28:00 2000  Jeff Johnston  
13372
 
13373
        * libc/include/sys/reent.h (_rand_next): Changed to
13374
        unsigned long long and moved to end of _reent struct in _new union.
13375
        (_REENT_INIT): Changed to move _rand_next initialization.
13376
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
13377
        linear congruential algorithm that is used by DJGPP.
13378
 
13379
Thu Jun  8 21:18:00 2000  Ranjith Kumaran  
13380
 
13381
        * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
13382
        * libc/include/sys/config.h: Define __RAND_MAX.
13383
 
13384
Thu Jun  8 17:54:00 2000  Jeff Johnston  
13385
 
13386
        * libc/stdlib/rand_r.c: New algorithm that meets minimal
13387
        standard.
13388
 
13389
Fri Jun  2 23:02:11 2000  Christopher Faylor 
13390
 
13391
        * libc/include/string.h: Work around problem with strsignal and gdb.
13392
 
13393
Tue May 30 13:13:01 2000  Christopher Faylor 
13394
 
13395
        * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
13396
        * libc/include/malloc.h: Ditto.
13397
        * libc/include/process.h: Ditto.
13398
        * libc/include/stdio.h: Ditto.
13399
        * libc/include/stdlib.h: Ditto.
13400
        * libc/include/time.h: Ditto.
13401
        * libc/include/machine/setjmp.h: Ditto.
13402
        * libc/include/sys/errno.h: Ditto.
13403
        * libc/include/sys/signal.h: Ditto.
13404
        * libc/include/sys/stat.h: Ditto.
13405
        * libc/include/sys/time.h: Ditto.
13406
        * libc/include/sys/unistd.h: Ditto.
13407
        * libc/include/string.h: Ditto.  strsignal should return a const char *.
13408
 
13409
2000-05-26  Marek Michalkiewicz  
13410
 
13411
        * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
13412
        * libm/common/s_log1p.c (log1p): Likewise.
13413
        * libm/common/s_scalbn.c (scalbn): Likewise.
13414
        * libm/math/e_log.c: Likewise.
13415
        * libm/math/e_asin.c: Likewise.
13416
        * libm/math/ef_asin.c: Likewise.
13417
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
13418
        * libm/math/e_j1.c (pone, qone): Likewise.
13419
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
13420
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
13421
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
13422
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
13423
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
13424
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
13425
 
13426
2000-05-19  DJ Delorie  
13427
 
13428
        * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
13429
        (__sread): always read in binary mode
13430
        (__swrite): always write in binary mode
13431
        * libc/include/stdio.h: no getc/putc macros for cygwin; causes
13432
        compatibility issues with different dll versions
13433
        * libc/stdio/fopen.c: use __stextmode
13434
        * libc/stdio/fdopen.c: ditto
13435
        * libc/stdio/freopen.c: ditto
13436
        * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
13437
        * libc/stdio/local.h: declare __stextmode
13438
 
13439
2000-05-18  DJ Delorie  
13440
 
13441
        * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
13442
 
13443
Mon May 15 18:54:00 2000  Jeff Johnston  
13444
 
13445
        * libc/include/ctype.h: Changed tolower and toupper macros
13446
        to use __extension__ to prevent pedantic warnings.
13447
 
13448
Mon May 15 14:26:00 2000  Joel Sherrill  
13449
 
13450
        * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
13451
        structures.
13452
 
13453
Wed May 10 19:24:53 2000  Jim Wilson  
13454
 
13455
        * libc/include/machine/ieeefp.h: Add ia64 support.
13456
        * configure.host: Likewise.
13457
 
13458
Wed May 10 13:52:24 2000  Egor Duda 
13459
 
13460
        * libc/time/asctime_r.c (asctime_r): Change output format. Day of
13461
        month is now padded with space, not zero.  This now conforms to
13462
        ANSI standard.
13463
 
13464
Wed May 03 17:57:00 2000  Corinna Vinschen 
13465
 
13466
        * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
13467
        host or network path") used by cygwin. Add some comments.
13468
 
13469
Tue May 02 23:45:48 2000  DJ Delorie  
13470
 
13471
        * libc/include/stdio.h (FILE): define __SCLE for "convert line
13472
        endings" for Cygwin.
13473
        (__sgetc): convert line endings if needed
13474
        (__sputc): ditto
13475
        * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
13476
        * libc/stdio/fopen.c (_fopen_r): ditto
13477
        * libc/stdio/freopen.c (freopen): ditto
13478
        * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
13479
        * libc/stdio/fvwrite.c (__sfvwrite): ditto
13480
 
13481
Thu Apr 27 07:45:48 2000  Alexandre Oliva  
13482
 
13483
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
13484
        post-increment when it is worth it, spacewise.
13485
 
13486
Mon Apr 17 12:46:00 2000  Marek Michalkiewicz 
13487
 
13488
        * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
13489
        * libc/stdio/findfp.c (std): Added declaration of flags and file.
13490
        * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
13491
        return type.
13492
        * libc/stdio/putchar.c (putchar): Added return statement.
13493
        * libc/stdio/refill.c (lflush): Added correct parentheses.
13494
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
13495
        * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
13496
        prints long value to use l qualifier.
13497
        * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
13498
        messages and initialized local values: ilim, ilim1, and spec_case.
13499
        * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
13500
        * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
13501
        * libc/stdlib/mprec.c: Ditto.
13502
        * libc/stdlib/setenv_r.c: Ditto.
13503
        * libc/stdlib/strtod.c: Ditto.
13504
        * libc/stdlib/strtol.c: Ditto.
13505
        * libc/stdlib/strtoul.c: Ditto.
13506
        * libm/common/sf_expm1.c: Added curly braces to if else clauses.
13507
        * libm/common/sf_log1p.c: Ditto.
13508
        * libm/common/sf_scalbn.c: Ditto.
13509
        * libm/math/ef_log.c: Ditto.
13510
 
13511
Sun Apr 16 12:45:00 2000  Corinna Vinschen 
13512
 
13513
        * libc/posix/execvp.c (execvp): Check path for
13514
        trailing slash.
13515
 
13516
Fri Mar 31 20:39:00 2000  Corinna Vinschen 
13517
 
13518
        * libc/include/sys/unistd.h: Add prototypes for
13519
        fchmod, fchown, lchown.
13520
 
13521
Fri Mar 24 15:34:00 2000  Jeff Johnston  
13522
 
13523
        * acinclude.m4: Changed release to 1.8.2.
13524
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
13525
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
13526
          libc/machine/configure libc/machine/a29k/aclocal.m4
13527
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13528
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13529
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13530
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13531
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
13532
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13533
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13534
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13535
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13536
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13537
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13538
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13539
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13540
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13541
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13542
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13543
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13544
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
13545
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13546
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
13547
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
13548
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
13549
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
13550
          libc/machine/z8k/configure libc/sys/aclocal.m4
13551
          libc/sys/aclocal.m4 libc/sys/configure
13552
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13553
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
13554
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
13555
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13556
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13557
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13558
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13559
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13560
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13561
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13562
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13563
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
13564
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
13565
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
13566
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
13567
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
13568
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
13569
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
13570
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
13571
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
13572
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
13573
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
13574
          libm/aclocal.m4 libm/configure: Regenerated.
13575
 
13576
2000-03-24  Nick Clifton  
13577
 
13578
        * libc/sys/arm/syscalls.c: Fix compile time warnings.
13579
        (do_AngelSWI): Add "cc" to list o registers clobbered.
13580
 
13581
Thu Mar 22 14:57:00 2000  Fernando Nasser 
13582
 
13583
        * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
13584
        information to be clobbered by an Angel C library support syscall.
13585
 
13586
Tue Mar 21 19:08:00 2000  Jeff Johnston 
13587
 
13588
        * libc/stdlib/envlock.c: Fixed comment typo.
13589
 
13590
Fri Mar 17 15:37:00 2000  Jeff Johnston 
13591
 
13592
        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
13593
        code to update nread as each character is processed instead
13594
        of using buffer contents which throw away leading zeroes.
13595
 
13596
Mon Mar 13 15:22:00 2000  Sergei Organov 
13597
 
13598
        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
13599
 
13600
Fri Mar 10 16:09:20 2000  Jeff Johnston 
13601
 
13602
        * libc/include/string.h: Include .
13603
 
13604
Fri Mar 10 14:53:50 2000  Alexandre Oliva  
13605
 
13606
        * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
13607
        with XSH5, not SVID.
13608
 
13609
Thu Mar  9 17:20:41 2000  Jeff Johnston 
13610
 
13611
        * libc/include/string.h: Changed last argument back to ssize_t
13612
        to make it compatible with XPG4 definition which is
13613
        defined in .  There is a conflict in the SVID 3
13614
        and XPG4 definitions and newlib will settle with XPG4.
13615
        * libc/string/swab.c: Ditto.
13616
 
13617
Wed Mar  8 17:11:41 2000  Jeff Johnston 
13618
 
13619
        * libc/include/string.h: Changed last argument to size_t.
13620
        * libc/string/swab.c: Changed last argument to size_t.
13621
 
13622
Wed Mar  8 00:46:41 2000  Alexandre Oliva  
13623
 
13624
        * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
13625
        (CHEWOUT_FILES): Added unlinkr.def.
13626
        * libc/reent/Makefile.in: Rebuilt.
13627
        * libc/sys.tex: Include unlinkr.def.
13628
        * libc/reent/linkr.c (_unlink_r): Moved to...
13629
        * libc/reent/unlinkr.c: ... new file.
13630
 
13631
Wed Mar  8 00:43:07 2000  Alexandre Oliva  
13632
 
13633
        * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
13634
        (CHEWOUT_FILES): Added swab.def.
13635
        * libc/string/Makefile.in: Rebuilt.
13636
        * libc/string/string.tex: Include swab.def.
13637
        * libc/include/string.h (swab): Declare.
13638
        * libc/string/swab.c: New file.
13639
 
13640
Wed Mar  8 00:38:35 2000  Alexandre Oliva  
13641
 
13642
        * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
13643
        (CHEWOUT_FILES): Added getw.def and putw.def.
13644
        * libc/stdio/Makefile.in: Rebuilt.
13645
        * libc/stdio/stdio.tex: Include getw.def and putw.def.
13646
        * libc/stdio/getw.c: New file.
13647
        * libc/stdio/putw.c: New file.
13648
 
13649
Fri Feb 25 14:50:50 2000  Jeff Johnston 
13650
 
13651
        * libc/stdio/flags.c (__sflags): Added check that mode[1]
13652
        is non-null before looking at mode[2].
13653
 
13654
Thu Feb 24 11:43:00 2000  Ran Cabell 
13655
 
13656
        * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
13657
        * libm/mathfp/sf_atan.c: Ditto.
13658
 
13659
Thu Feb 24 11:39:00 2000  Joel Sherrill 
13660
 
13661
        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
13662
 
13663
Tue Feb 22 14:37:00 2000  Ran Cabell 
13664
 
13665
        * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
13666
        _DOUBLE_IS_32BITS.
13667
 
13668
Mon Feb 21 11:43:50 2000  Jeff Johnston 
13669
 
13670
        * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
13671
        call prior to calling _VFPRINTF_R so reentrant data area is set.
13672
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
13673
 
13674
Thu Feb 17 01:42:50 2000  J"orn Rennecke 
13675
 
13676
        * libc/stdio/vfscanf.c (limits.h): #include.
13677
        (MAX_LONG_LEN): #define.
13678
        (__svfscanf): Handle floating point numbers with arbitrary amounts
13679
        of leading zeroes.
13680
 
13681
2000-02-15  Nick Clifton  
13682
 
13683
        * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
13684
        zero.  Set the blocksize to 1024/
13685
 
13686
Thu Jan 20 18:57:00 2000  Fernando Nasser 
13687
 
13688
        * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
13689
        with line buffering.
13690
 
13691
Mon Jan 10 18:43:00 2000  Jeff Johnston 
13692
 
13693
        * acinclude.m4: Changed include directory for winsup headers.
13694
        * aclocal.m4 configure libc/aclocal.m4
13695
          libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
13696
          libc/locale/Makefile.in libc/machine/aclocal.m4
13697
          libc/machine/configure libc/machine/a29k/aclocal.m4
13698
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13699
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13700
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13701
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13702
          libc/machine/fr30/configure
13703
          libc/machine/h8300/aclocal.m4
13704
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13705
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13706
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13707
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13708
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13709
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13710
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13711
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13712
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13713
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13714
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13715
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13716
          libc/machine/powerpc/configure
13717
          libc/machine/sh/aclocal.m4
13718
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13719
          libc/machine/sparc/configure
13720
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
13721
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
13722
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
13723
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
13724
          libc/misc/Makefile.in libc/posix/Makefile.in
13725
          libc/reent/Makefile.in
13726
          libc/signal/Makefile.in
13727
          libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
13728
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13729
          libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
13730
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
13731
          libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
13732
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13733
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13734
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13735
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13736
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13737
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13738
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13739
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13740
          libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
13741
          libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
13742
          libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
13743
          libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
13744
          libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
13745
          libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
13746
          libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
13747
          libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
13748
          libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
13749
          libc/sys/tic80/configure libc/sys/w65/aclocal.m4
13750
          libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
13751
          libc/sys/z8ksim/configure libc/syscalls/Makefile.in
13752
          libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
13753
          libm/configure: Regenerated.
13754
 
13755
Mon Jan 10 18:43:46 2000  Jeff Johnston 
13756
 
13757
        * libc/stdlib/putenv_r.c (_putenv_r): New file.
13758
        * libc/stdlib/strdup_r.c (_strdup_r): New file.
13759
        * libc/include/string.h: Added _strdup_r.
13760
        * libc/stdlib/putenv.c: Added call to reentrant version.
13761
        * libc/stdlib/strdup.c: Ditto.
13762
        * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
13763
        * libc/include/stdlib.h: Ditto.
13764
        * libc/stdlib/Makefile.in: Regenerated.
13765
        * libc/string/Makefile.in: Regenerated.
13766
        * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
13767
        * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
13768
        management calls to reentrant versions.
13769
        * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
13770
        * libc/stdlib/wctomb.c: Ditto.
13771
        * libc/stdlib/mblen.c: Ditto.
13772
        * libc/stdlib/mbstowcs.c: Ditto.
13773
        * libc/stdlib/mbtowc.c: Ditto.
13774
        * libc/stdlib/getenv.c: Ditto.
13775
        * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
13776
        and _strdup_r.
13777
 
13778
Thu Jan  6 15:33:46 2000  Christopher Faylor 
13779
 
13780
        patch from Corinna Vinschen 
13781
        * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
13782
 
13783
Mon Jan 03 14:36:00 2000  Sergei Organov 
13784
 
13785
        * libm/mathfp/s_atangent.c: Fix exponent calculation.
13786
        * libm/mathfp/s_ldexp.c: Ditto.
13787
        * libm/mathfp/sf_atangent.c: Ditto.
13788
        * libm/mathfp/sf_ldexp.c: Ditto.
13789
 
13790
Tue Dec 14 5:42:00 1999  Ranjith Kumaran 
13791
 
13792
        * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
13793
        * libc/include/locale.h: define NULL to be 0.
13794
 
13795
Tue Dec  7 15:41:45 1999  Jim Wilson  
13796
 
13797
        * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
13798
        function.
13799
 
13800
Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
13801
 
13802
        * libc/machine/mn10300/setjmp.S: Handle am33.
13803
 
13804
1999-11-26  Nick Clifton  
13805
 
13806
        * libc/sys/arm/syscalls.c: Add function prototypes.
13807
        (stack_ptr): Move declaration before function definitions.
13808
 
13809
Sat Nov 20 17:13:00 1999  Ranjith Kumaran 
13810
 
13811
        * NEWS: Updated version information.
13812
        * README: Ditto.
13813
 
13814
Tue Nov 09 12:19:21 1999  Jeff Johnston 
13815
 
13816
        * libc/machine/i386/strchr.S: Fixed alignment test.
13817
 
13818
Thu Oct 28 05:30:46 1999  Andrew Cagney  
13819
 
13820
        * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
13821
 
13822
Thu Oct 28 15:29:11 1999  Andrew Cagney  
13823
 
13824
        * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
13825
        ensuring that there is space between the two.
13826
 
13827
Thu Oct 14 13:39:21 1999  Christopher Faylor 
13828
 
13829
        * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
13830
        only.
13831
 
13832
1999-10-08  Vadim Egorov  
13833
 
13834
        * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
13835
        section
13836
 
13837
Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius 
13838
 
13839
        * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
13840
        * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
13841
 
13842
Fri Oct  1 13:17:59 CDT 1999  
13843
        * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
13844
          per POSIX 1003.1b.
13845
        * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
13846
          per POSIX 1003.1b.
13847
 
13848
1999-09-13  DJ Delorie  
13849
 
13850
        * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
13851
        also.
13852
 
13853
Thu Sep  9 15:31:00 1999  Jeff Johnston 
13854
 
13855
        * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
13856
        also note BUFSIZ as its size.
13857
 
13858
Tue Sep  7 17:15:00 1999  Joel Sherrill 
13859
 
13860
        * configure.host: Corrected feature defines for RTEMS.
13861
        * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
13862
        * libc/include/sys/stat.h: mkfifo() should take const path arg.
13863
        * libc/include/sys/unistd.h: pathconf() should take const path arg.
13864
          Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
13865
          Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
13866
          _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
13867
          _PC_PRIO_IO, and _PC_SYNC_IO.
13868
        * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
13869
        * libc/machine/m68k/Makefile.in: Regenerated.
13870
        * libc/machine/m68k/strcpy.c: New file.
13871
        * libc/machine/m68k/strlen.c: New file.
13872
        * libc/stdio/tmpnam.c: Always make the returned name usable.
13873
        * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
13874
        * libc/sys/rtems/sys/dirent.h: New file.
13875
        * libc/sys/rtems/sys/types.h: Added dev_t.
13876
 
13877
Tue Sep  7 17:15:00 1999   Jay Kulpinski 
13878
 
13879
        * libc/stdlib/mprec.c: Fixed unitialized variable problem.
13880
 
13881
Fri Sep  3 12:35:20 1999  Jeff Johnston 
13882
 
13883
        * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
13884
        my patch.
13885
 
13886
Thu Sep  2 22:05:20 1999  Christopher Faylor 
13887
 
13888
        patch from Jeff Johnston 
13889
        * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
13890
        buffer is not in a useful state.
13891
 
13892
1999-09-01  Nick Clifton  
13893
 
13894
        * libc/sys/arm/syscalls.c (_link): Add stub.
13895
 
13896
Fri Aug 27 23:09:09 1999  J"orn Rennecke 
13897
 
13898
        * ftell.c (ftell): Use actual position within buffer for text mode.
13899
        * findfp.c (std): Initialize ptr->_bf._size.
13900
 
13901
Wed Aug 18 18:48:02 1999  Christopher Faylor 
13902
 
13903
        * libc/include/sys/unistd.h: Add nice() declaration.
13904
 
13905
1999-08-09  Nick Clifton  
13906
 
13907
        * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
13908
        declare as a thumb function so that the disassembler will see the
13909
        mode change.
13910
 
13911
Thu Aug  5 17:37:00 1999  Ranjith Kumaran 
13912
 
13913
        * libc/reent/reent.tex: Updated list of reentrant functions.
13914
 
13915
1999-07-09  Michael Meissner  
13916
 
13917
        * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
13918
 
13919
Tue Jul  6 10:46:24 1999  Jeff Johnston 
13920
 
13921
        * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
13922
        separate file.
13923
        * libc/stdio/snprintf.c: New file.
13924
        * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
13925
        separate file.
13926
        * libc/stdio/vsnprintf.c: New file.
13927
        * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
13928
        * libc/stdio/Makefile.in: Regenerated.
13929
 
13930
Mon Jul  5 14:43:24 1999  Christopher Faylor 
13931
 
13932
        Patch submitted by Egor Duda :
13933
        * libc/include/stdio.h: Add declarations for *nprintf.
13934
        * libc/stdio/sprintf.c (snprintf): New function.
13935
        (_snprintf_r): New function.
13936
        * libc/stdio/vsprintf.c (vsnprintf): New function.
13937
        (_vnsprintf_r): New function.
13938
 
13939
Wed Jun 30 16:36:27 1999  Jeff Johnston  
13940
 
13941
        * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
13942
        * libm/Makefile.am (stmp-targetdep): Ditto.
13943
        * libc/Makefile.in: Regenerated.
13944
        * libm/Makefile.in: Ditto.
13945
 
13946
Fri Jun 25 10:49:27 1999  Jeff Johnston  
13947
 
13948
        * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
13949
        * libm/Makefile.am (stmp-targetdep): Ditto.
13950
        * libc/Makefile.in: Regenerated.
13951
        * libm/Makefile.in: Ditto.
13952
 
13953
Thu June 03 16:25:00 1999  Jeff Johnston 
13954
 
13955
        * Makefile.am: Removed dependencies on all-recursive and added "."
13956
        to the SUBDIRS list to prevent infinite recursion from occurring.
13957
        Also removed any references to EXTRA_DATA.
13958
        * libc/Makefile.am: Ditto.
13959
        * libc/machine/Makefile.am: Ditto.
13960
        * libc/machine/i386/Makefile.am: Ditto.
13961
        * libm/Makefile.am: Ditto.
13962
        * libc/sys/Makefile.am: Ditto.
13963
        * Makefile.in: Regenerated.
13964
        * aclocal.m4: Ditto.
13965
        * configure: Ditto.
13966
        * doc/Makefile.in: Ditto.
13967
        * doc/aclocal.m4: Ditto.
13968
        * doc/configure: Ditto.
13969
        * libc/Makefile.in: Ditto.
13970
        * libc/aclocal.m4: Ditto.
13971
        * libc/configure: Ditto.
13972
        * libc/machine/Makefile.in: Ditto.
13973
        * libc/machine/aclocal.m4: Ditto.
13974
        * libc/machine/configure: Ditto.
13975
        * libc/machine/mn10300/Makefile.in: Ditto.
13976
        * libc/machine/mn10300/aclocal.m4: Ditto.
13977
        * libc/machine/mn10300/configure: Ditto.
13978
        * libc/sys/Makefile.in: Ditto.
13979
        * libc/sys/aclocal.m4: Ditto.
13980
        * libc/sys/configure: Ditto.
13981
        * libm/Makefile.in: Ditto.
13982
        * libm/aclocal.m4: Ditto.
13983
        * libm/configure: Ditto.
13984
 
13985
Thu June 03 16:20:00 1999  Ranjith Kumaran 
13986
 
13987
        * libc/include/stdlib/stdlib.tex: Add link to env_lock.
13988
 
13989
Fri May 28 17:09:00 1999  Ranjith Kumaran 
13990
 
13991
        * libc/include/stdlib.h: Add reentrant routines.
13992
        * libc/stdlib/Makefile.am: Add reentrant routines.
13993
        * libc/stdlib/Makefile.in: Ditto.
13994
        * libc/stdlib/envlock.c: New file.
13995
        * libc/stdlib/envlock.h: New file.
13996
        * libc/stdlib/getenv.c: Modify to call reentrant routine.
13997
        * libc/stdlib/getenv_r.c: New file.
13998
        * libc/stdlib/mblen.c: Modify to call reentrant routine.
13999
        * libc/stdlib/mblen_r.c: New file.
14000
        * libc/stdlib/setenv.c: Modify to call reentrant routine.
14001
        * libc/stdlib/setenv_r.c: New file.
14002
        * libc/stdlib/stdlib.tex: Add reentrant routines.
14003
 
14004
Mon May 17 22:01:38 1999  Christopher Faylor 
14005
 
14006
        * libc/include/sys/types.h: Define __MS_types__ whenever
14007
        cygwin or win32.
14008
 
14009
Sun May 16 16:02:41 1999  Christopher Faylor 
14010
 
14011
        * libc/include/machine/ieeefp.h: Always default to little
14012
        endian if Windows, regardless of architecture.
14013
        * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
14014
        regardless of architecture.
14015
 
14016
Mon May  3 11:49:18 1999  Geoffrey Noer  
14017
 
14018
        * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
14019
        _WIN32 isn't defined.
14020
 
14021
Mon May  3 11:41:51 1999  Jeff Johnston  
14022
 
14023
        * libm/common/s_rint.c (rint): Add volatile qualifier for
14024
        intermediate value w.
14025
        * libm/common/sf_rint.c (rintf): Ditto.
14026
 
14027
Thu Apr 29 20:34:27 1999  Jeff Johnston  
14028
 
14029
        * libc/sys/arm/syscalls.c (remap_handle): Added check to
14030
        ensure that std streams are initialized before being referenced.
14031
 
14032
1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
14033
 
14034
        * README: Update reference to newlib@cygnus.com new
14035
        newlib@sourceware.cygnus.com address.
14036
 
14037
Mon Apr 26 18:17:33 1999  Geoffrey Noer  
14038
 
14039
        * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
14040
        * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
14041
        defined, even if _WIN32 isn't defined.
14042
 
14043
Sat Apr 24 19:59:55 1999  Christopher Faylor 
14044
 
14045
        * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
14046
 
14047
Wed Apr 21 18:01:00 1999  Ranjith Kumaran  
14048
 
14049
        * libc/include/sys/reent.h: Change Long and ULong to __Long and
14050
        __ULong.
14051
        * libc/stdlib/dtoa.c: Ditto.
14052
        * libc/stdlib/mprec.c: Ditto.
14053
        * libc/stdlib/mprec.h: Ditto.
14054
        * libc/stdlib/strtod.c: Ditto.
14055
 
14056
1999-04-21  Nick Clifton  
14057
 
14058
        * configure.host (mcore): Remove mcore machine directory.
14059
 
14060
1999-04-18  Nick Clifton  
14061
 
14062
        * libc/include/machine/ieeefp.h: Add support for mcore target.
14063
        * libc/include/machine/setjmp.h: Add support for mcore target.
14064
        * configure.host: Add support for mcore target.
14065
 
14066
1999-04-13  Mark Salter  
14067
 
14068
        * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
14069
        * libc/sys/arm/syscalls.c: Added isatty.
14070
 
14071
Wed Apr 07 16:06:04 1999  Jeff Johnston  
14072
 
14073
        * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
14074
        insert zeroes after significant digits.
14075
 
14076
Wed Mar 17 22:06:04 1999  Jeff Johnston  
14077
 
14078
        * libc/stdio/vfprintf.c (cvt): Changed floating point
14079
        cvt routine to use union used by dtoa to properly determine
14080
        if the sign bit is on or not.
14081
        * libc/stdio/vfieeefp.h: New file
14082
 
14083
Wed Mar 17 17:35:04 1999  Jeff Johnston  
14084
 
14085
        * aclocal.m4: Regenerated.
14086
        * configure: Regenerated.
14087
 
14088
Wed Mar 17 16:35:04 1999  Jeff Johnston  
14089
 
14090
        * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
14091
        f_tanf reference.
14092
        * libc/machine/i386/Makefile.in: Regenerated.
14093
 
14094
Tue Mar 16 14:56:36 1999  Jeff Johnston  
14095
 
14096
        * acinclude.m4: Changed to work with new automake.
14097
        * configure: Regenerated.
14098
        * libc/machine/i386/aclocal.m4: Regenerated.
14099
        * libc/machine/i386/configure: Regenerated.
14100
 
14101
Tue Mar 16 13:55:36 1999  Corinna Vinschen  
14102
 
14103
        * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
14104
        for telldir() and seekdir().  Rename unused structure element
14105
        for use with these two routines.
14106
 
14107
Fri Mar 12 19:11:58 1999  Jeff Johnston  
14108
 
14109
        * libc/time/mktime.c (validate_structure): Multiple fixes to
14110
        code to handle cases where input fields are outside valid ranges.
14111
        * libc/stdlib/div.c (div): Modified invalid rounding check.
14112
        * libc/stdlib/ldiv.c (ldiv): Ditto.
14113
 
14114
Thu Mar 11 21:32:13 1999  Jeff Johnston  
14115
 
14116
        * libc/machine/i386/memcpy.S: Performance rewrite.
14117
        * libc/machine/i386/memmove.S: Ditto.
14118
        * libc/machine/i386/i386mach.h: Added more register definitions.
14119
        * libc/include/math.h: Include  if -ffast-math
14120
        option used.
14121
        * libc/include/machine/fastmath.h: Add definitions for x86
14122
        fast-math routines.
14123
 
14124
Wed Mar 10 17:56:00 1999 Ranjith Kumaran  
14125
 
14126
        * libc/stdlib/strtod.c: Change from unsigned long to ULong.
14127
 
14128
Tue Mar  9 14:31:58 1999  Geoffrey Noer  
14129
 
14130
        Adjust newlib headers for new Cygwin Win32 API header files:
14131
        * libc/include/sys/time.h: Check _WINSOCK_H rather than
14132
        _GNU_H_WINDOWS32_SOCKETS.
14133
        * libc/include/sys/types.h: Ditto.
14134
 
14135
Tue Mar 09 15:55:00 1999 Ranjith Kumaran  
14136
 
14137
        *include/sys/reent.h: Add checks for size of Bigint element Long.
14138
        *libc/dtoa.c: Change routines to use generic Long type.
14139
        *libc/mprec.c: Change routines to use generic Long type.
14140
        *libc/mprec.h: Change routines to use generic Long type.
14141
 
14142
Tue Mar 02 18:07:49 1999 Ranjith Kumaran  
14143
 
14144
        * libc/Makefile.am: Add .def files.
14145
        * libc/Makefile.in: Regenerate.
14146
        * libc/e_acosh.c: Documentation update.
14147
        * libc/e_atanh.c: Documentation update.
14148
        * libc/e_hypot.c: Documentation update.
14149
        * libc/e_remainder.c: Documentation update.
14150
        * libc/er_lgamma.c: Documentation update.
14151
        * libc/mathfp.tex: Documentation update.
14152
        * libc/s_acos.c: Documentation update.
14153
        * libc/s_atan.c: Documentation update.
14154
        * libc/s_atan2.c: Documentation update.
14155
        * libc/s_cosh.c: Documentation update.
14156
        * libc/s_fmod.c: Documentation update.
14157
        * libc/s_isnan.c: Documentation update.
14158
        * libc/s_log10.c: Documentation update.
14159
        * libc/s_pow.c: Documentation update.
14160
        * libc/w_jn.c: Documentation update.
14161
 
14162
Sun Feb 28 23:18:49 1999  Geoffrey Noer  
14163
 
14164
        * aclocal.m4: Regenerate.
14165
        * configure: Regenerate.
14166
 
14167
Tue Feb 23 13:57:26 1999  Jeff Johnston  
14168
 
14169
        * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
14170
        to return 1 if user specified return code is 0.
14171
        * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
14172
 
14173
Thu Feb 18 11:13:28 1999  Jeff Johnston  
14174
 
14175
        * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
14176
        to save the return address.  Fixed longjmp to return to the original
14177
        calling address of setjmp and to return the user specified return code
14178
        rather than default to 1.
14179
        * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
14180
 
14181
Mon Feb 15 17:48:17 1999  Jeff Johnston  
14182
 
14183
        * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
14184
 
14185
1999-02-10  Nick Clifton  
14186
 
14187
        * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
14188
        volatile so that its assignments will not be discarded.
14189
 
14190
Wed Feb 10 17:19:40 1999  Jeff Johnston  
14191
 
14192
        * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
14193
        be __STRICT_ANSI__ which is generated by compiler.
14194
        * libc/include/ctype.h: Ditto.
14195
        * libc/include/math.h: Ditto.
14196
        * libc/include/stdio.h: Ditto.
14197
        * libc/include/stdlib.h: Ditto.
14198
        * libc/include/string.h: Ditto.
14199
        * libc/include/sys/signal.h: Ditto.
14200
 
14201
1999-02-08  Nick Clifton  
14202
 
14203
        * configure.host: Add support for StrongARM target.
14204
 
14205
Fri Feb  5 11:13:14 1999  Jeff Johnston  
14206
 
14207
        * libc/string/strncpy.c (strncpy): Removed redundant code
14208
        that was copying bytes if data unaligned.
14209
 
14210
1999-02-02  Brendan Kehoe  
14211
 
14212
        * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
14213
        mbstowcs.def, and wcstombs.def.
14214
 
14215
Sat Jan 30 02:36:33 1999  Christopher Faylor 
14216
 
14217
        * libc/include/sys/errno.h: Add Cygwin errno.
14218
        * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
14219
        is specified.
14220
 
14221
1999-01-29  Nick Clifton  
14222
 
14223
        * libc/sys/arm/syscalls.c: Move C library functions into seperate
14224
        file.
14225
 
14226
        * libc/sys/arm/libcfunc.c: New file containing C library functions
14227
        from syscalls.c
14228
 
14229
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
14230
        * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
14231
 
14232
 
14233
1999-01-27  Michael Meissner  
14234
 
14235
        * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
14236
        type, and cut size in half so that the jmp_buf array is guaranteed
14237
        to be aligned on a 64-bit boundary.
14238
 
14239
Mon Jan 25 12:05:38 1999  Jeff Johnston  
14240
 
14241
        * libc/string/strings.tex: Added information about
14242
        strcasecmp and strncasecmp.
14243
        * libc/stdlib/stdlib.tex: Added missing information
14244
        about mblen, mbstowcs, and wcstombs.
14245
        * libc/string/strchr.c: Changed how mask is built to use
14246
        shift operators so register will be used instead of storage.
14247
 
14248
1999-01-22  DJ Delorie  
14249
 
14250
        * libc/include/stdlib.h: don't use dllimport if we're building
14251
        newlib, since it's inside cygwin.dll
14252
 
14253
Fri Jan 22 14:57:18 1999  Christopher Faylor 
14254
 
14255
        * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
14256
        _ctype_ under cygwin.
14257
 
14258
Fri Jan 22 09:50:19 1999  Christopher Faylor 
14259
 
14260
        * include/stdlib.h: Fix typo from previous checkin.
14261
 
14262
Thu Jan 21 22:42:21 1999  Christopher Faylor 
14263
 
14264
        * include/ctype.h: Use __declspec(dllimport) method for exporting
14265
        variable from cygwin DLL.
14266
        * include/time.h: Ditto.
14267
        * sys/errno.h: Ditto.
14268
        * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
14269
        * libc/locale/locale.c: Use __declspec(dllexport) method for
14270
        exporting variable from cygwin DLL.
14271
 
14272
Sat Jan 16 13:29:54 1999  Christopher Faylor 
14273
 
14274
        * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
14275
        access of bogus pointer will result in SIGSEGV.
14276
 
14277
1999-01-07  Nick Clifton  
14278
 
14279
        * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
14280
        of an underscore prefix to function names.
14281
 
14282
Fri Jan  8 19:00:07 1999  Jeff Johnston  
14283
 
14284
        * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
14285
        define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
14286
 
14287
1998-12-31  Michael Meissner  
14288
 
14289
        * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
14290
        to `%' if not already defined.
14291
 
14292
1998-12-30  Michael Meissner  
14293
 
14294
        * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
14295
        arguments const char *, not char *.
14296
        * libc/include/stdio.h (_tempnam_r): Ditto.
14297
 
14298
        * libc/include/sys/reent.h (struct _reent): The _sig_func type
14299
        points to a function taking an integer, not void.
14300
 
14301
Tue Dec 29 14:35:53 1998  Christopher Faylor 
14302
 
14303
        * configure.host: Add a define for Cygwin builds.
14304
        * libc/include/ctype.h: Don't use dll imported variables in newlib.
14305
 
14306
Mon Dec 28 09:19:56 1998  Christopher Faylor 
14307
 
14308
        * libc/include/ctype.h: Define _ctype_ as dll imported variable
14309
        for use with Cygwin.
14310
        * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
14311
        dll imported variables for use with Cygwin.
14312
        * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
14313
        as a dll imported variable for Cygwin.
14314
 
14315
Sat Dec 26 00:13:53 1998  Christopher Faylor 
14316
 
14317
        * libc/include/sys/unistd.h: Add proto for getpass.
14318
 
14319
Fri Dec 18 19:28:19 1998  Geoffrey Noer  
14320
 
14321
        * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
14322
        alphasort.
14323
 
14324
Fri Dec 18 16:33:25 1998  Geoffrey Noer  
14325
 
14326
        * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
14327
        not posix_path_list_p.
14328
 
14329
1998-12-15  Nick Clifton  
14330
 
14331
        * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
14332
        a signed int.
14333
 
14334
1998-12-13  Nick Clifton  
14335
 
14336
        * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
14337
 
14338
1998-12-12  Nick Clifton  
14339
 
14340
        * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
14341
        
14342
        * libc/machine/fr30/Makefile.am: Add build of setjmp.S
14343
        * libc/machine/fr30/Makefile.in: Regenerated.
14344
 
14345
1998-12-11  Nick Clifton  
14346
 
14347
        * configure.host: Remove use of libc/sys for FR30 port.
14348
        * libc/sys/fr30: Remove directory (replaced by libgloss).
14349
 
14350
1998-12-10  Ken Raeburn  
14351
 
14352
        * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
14353
        * libc/string/strncat.c (ALIGNED): Ditto.
14354
 
14355
Wed Dec  9 14:37:57 1998  Geoffrey Noer  
14356
 
14357
        * libc/include/sys/time.h: include sys/types.h
14358
 
14359
Tue Dec  8 15:53:18 1998  Jeff Johnston  
14360
 
14361
        * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
14362
        comparison found when checking word at a time.
14363
 
14364
1998-12-04  Nick Clifton  
14365
 
14366
        * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
14367
 
14368
1998-12-03  Nick Clifton  
14369
 
14370
        * libc/sys/fr30/syscalls.c (_times): New function stub.
14371
 
14372
Thu Dec  3 15:59:19 1998  Jeff Johnston  
14373
 
14374
        * configure.host (mach_add_setjmp): Replaced mach_add_objs
14375
        with mach_add_setjmp flag which indicates if setjmp should
14376
        be added to the machine directory objects.
14377
        * acinclude.m4: Removed reference to mach_add_objs.
14378
        * aclocal.m4: Regenerated.
14379
        * Makefile.in: Regenerated.
14380
        * configure: Regenerated.
14381
        * libc/aclocal.m4: Regenerated.
14382
        * libc/Makefile.in: Regenerated.
14383
        * libc/configure: Regenerated.
14384
        * libc/machine/aclocal.m4: Regenerated.
14385
        * libc/machine/Makefile.in: Regenerated.
14386
        * libc/machine/configure: Regenerated.
14387
        * libc/machine/i386/aclocal.m4: Regenerated.
14388
        * libc/machine/i386/Makefile.am: Altered to selectively add
14389
        setjmp.S to the src files list.
14390
        * libc/machine/i386/Makefile.in: Regenerated.
14391
        * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
14392
        * libc/machine/i386/configure: Regenerated.
14393
 
14394
1998-12-02  Nick Clifton  
14395
 
14396
        * libc/sys/fr30/crt0.s (_start): Fix function names.
14397
 
14398
        * libc/machine/fr30: New directory
14399
        * libc/machine/fr30/Makefile.am: New file.
14400
        * libc/machine/fr30/Makefile.in: New generated file.
14401
        * libc/machine/fr30/configure.in: New file.
14402
        * libc/machine/fr30/configure: New generated file.
14403
        * libc/machine/fr30/aclocal.m4: New generated file.
14404
        * libc/sys/fr30/Makefile.am: New file.
14405
        * libc/sys/fr30/Makefile.in: New generated file.
14406
        * libc/sys/fr30/configure.in: New file.
14407
        * libc/sys/fr30/configure: New generated file.
14408
        * libc/sys/fr30/syscalls.c: New file.
14409
 
14410
Tue Dec  1 16:28:56 1998  Geoffrey Noer  
14411
 
14412
        * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
14413
 
14414
1998-12-01  Ken Raeburn  
14415
 
14416
        * libc/time/strftime.c (strftime): Also handle %y for years before
14417
        1900.
14418
 
14419
Tue Dec  1 13:26:07 1998  Christopher Faylor 
14420
 
14421
        * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
14422
        UNIX convention.  Perform tolower on characters before comparing
14423
        them rather than use toupper.
14424
        * libc/string/strncasecmp.c (strncasecmp): Ditto.
14425
 
14426
Mon Nov 30 16:24:19 1998  Jeff Johnston  
14427
 
14428
        * configure.host: Added using i386 machine directory
14429
        for all x86 cross-compiler and configuring
14430
        which added object files to use via new "mach_add_objs" variable.
14431
        * configure: Regenerated.
14432
        * libc/configure: Regenerated.
14433
        * libc/Makefile.in: Regenerated.
14434
        * libc/aclocal.m4: Regenerated.
14435
        * libc/ctype/Makefile.in: Regenerated.
14436
        * libc/errno/Makefile.in: Regenerated.
14437
        * libc/locale/Makefile.in: Regenerated.
14438
        * libc/machine/Makefile.in: Regenerated.
14439
        * libc/machine/aclocal.m4: Regenerated.
14440
        * libc/machine/configure: Regenerated.
14441
        * libc/posix/Makefile.in: Regenerated.
14442
        * libc/reent/Makefile.in: Regenerated.
14443
        * libc/signal/Makefile.in: Regenerated.
14444
        * libc/stdio/Makefile.in: Regenerated.
14445
        * libc/stdlib/Makefile.in: Regenerated.
14446
        * libc/string/Makefile.in: Regenerated.
14447
        * libc/string/memmove.c: Optimized code to use memcpy
14448
        logic when performing a non-destructive copy.
14449
        * libc/string/strncmp.c: Altered code to allow building
14450
        optimized for size or speed.
14451
        * libc/syscalls/Makefile.in: Regenerated.
14452
        * libc/time/Makefile.in: Regenerated.
14453
        * libc/unix/Makefile.in: Regenerated.
14454
        * libc/machine/i386/Makefile.am: Added new files and reference
14455
        to "mach_add_objs" to indicate optional object files.
14456
        * libc/machine/i386/Makefile.in: Regenerated.
14457
        * libc/machine/i386/aclocal.m4: Regenerated.
14458
        * libc/machine/i386/configure: Regenerated.
14459
        * libc/machine/i386/memchr.S: New file that implements
14460
        function in Intel assembler.
14461
        * libc/machine/i386/memcmp.S: ditto.
14462
        * libc/machine/i386/memcpy.S: ditto.
14463
        * libc/machine/i386/memmove.S: ditto.
14464
        * libc/machine/i386/memset.S: ditto.
14465
        * libc/machine/i386/strchr.S: ditto.
14466
        * libc/machine/i386/strlen.S: ditto.
14467
        * libc/machine/i386/f_atan2.S: New file that implements
14468
        fast version of math function to be used by compiler when
14469
        --ffast_math compile option is used.
14470
        * libc/machine/i386/f_atan2f.S: ditto.
14471
        * libc/machine/i386/f_exp.c: ditto.
14472
        * libc/machine/i386/f_expf.c: ditto.
14473
        * libc/machine/i386/f_frexp.S: ditto.
14474
        * libc/machine/i386/f_frexpf.S: ditto.
14475
        * libc/machine/i386/f_ldexp.S: ditto.
14476
        * libc/machine/i386/f_ldexpf.S: ditto.
14477
        * libc/machine/i386/f_log.S: ditto.
14478
        * libc/machine/i386/f_logf.S: ditto.
14479
        * libc/machine/i386/f_log10.S: ditto.
14480
        * libc/machine/i386/f_log10f.S: ditto.
14481
        * libc/machine/i386/f_math.h: New file.
14482
        * libc/machine/i386/f_pow.c: ditto.
14483
        * libc/machine/i386/f_powf.S: ditto.
14484
        * libc/machine/i386/f_tan.S: ditto.
14485
        * libc/machine/i386/f_tan.S: ditto.
14486
        * libc/machine/i386/i386mach.h: New file.
14487
 
14488
Mon Nov 30 13:02:17 1998  Christopher Faylor 
14489
 
14490
        patch from Mumit Khan 
14491
        * libc/include/stdio.h (tempnam): Add prototype.
14492
        * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
14493
        (tempnam): Adhere to prototype.
14494
 
14495
Thu Nov 26 00:21:32 1998  Christopher Faylor 
14496
 
14497
        * Makefile.am: Add default for AR_FLAGS.
14498
        * Makefile.in: Regenerate.
14499
 
14500
Tue Nov 24 18:48:56 1998  Geoffrey Noer  
14501
 
14502
        * libc/include/time.h: move __cplusplus wrapper after includes
14503
        * libc/include/sys/time.h: ditto.  If Cygwin, include
14504
        sys/select.h.
14505
        * libc/include/sys/types.h: lose "32" in comment about Cygwin.
14506
 
14507
1998-11-23  Ken Raeburn  
14508
 
14509
        * libc/time/strftime.c (strftime): Handle %y after year 2000.
14510
 
14511
Wed Nov 18 12:22:41 1998  Nick Clifton  
14512
 
14513
        * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
14514
        abnormnal end-of-crt0 marker.
14515
 
14516
Tue Nov 17 16:27:58 1998  Nick Clifton  
14517
 
14518
        * libc/sys/fr30/crt0.s: New file/directory.
14519
        * libc/include/machine/setjmp.h: Add FR30 target.
14520
        * libc/include/machine/ieeefp.h: Add FR30 target.
14521
        * configure.host: Add FR30 target.
14522
 
14523
Mon Nov  16 23:15:00 1998  Ranjith Kumaran 
14524
 
14525
        * libm/math: Files that are duplicated in common directory removed.
14526
        * libm/math/fdlibm.h: Removed.
14527
        * libm/math/s_cbrt.c: Removed.
14528
        * libm/math/s_copysign.c: Removed.
14529
        * libm/math/s_expm1.c: Removed.
14530
        * libm/math/s_finite.c: Removed.
14531
        * libm/math/s_ilogb.c: Removed.
14532
        * libm/math/s_infinity.c: Removed.
14533
        * libm/math/s_lib_ver.c: Removed.
14534
        * libm/math/s_log1p.c: Removed.
14535
        * libm/math/s_logb.c: Removed.
14536
        * libm/math/s_matherr.c: Removed.
14537
        * libm/math/s_modf.c: Removed.
14538
        * libm/math/s_nan.c: Removed.
14539
        * libm/math/s_nextafter.c: Removed.
14540
        * libm/math/s_rint.c: Removed.
14541
        * libm/math/s_scalbn.c: Removed.
14542
        * libm/math/sf_cbrt.c: Removed.
14543
        * libm/math/sf_copysign.c: Removed.
14544
        * libm/math/sf_expm1.c: Removed.
14545
        * libm/math/sf_finite.c: Removed.
14546
        * libm/math/sf_ilogb.c: Removed.
14547
        * libm/math/sf_infinity.c: Removed.
14548
        * libm/math/sf_log1p.c: Removed.
14549
        * libm/math/sf_logb.c: Removed.
14550
        * libm/math/sf_modf.c: Removed.
14551
        * libm/math/sf_nan.c: Removed.
14552
        * libm/math/sf_nextafter.c: Removed.
14553
        * libm/math/sf_rint.c: Removed.
14554
        * libm/math/sf_scalbn.c: Removed.
14555
        * libm/math/Makefile.am: Removed references to deleted files (above).
14556
        * libm/math/Makefile.in: Regenerated.
14557
        * libm/Makefile.am: Added common directory to math.
14558
        * libm/Makefile.in: Regenerated.
14559
 
14560
Mon Nov  2 23:12:00 1998  Ranjith Kumaran 
14561
 
14562
        * libm/mathfp: Add non-ANSI functions.
14563
        * libm/mathfp/e_acosh.c acosh(): New file.
14564
        * libm/mathfp/e_atanh.c atanh(): New file.
14565
        * libm/mathfp/e_hypot.c hypot(): New file.
14566
        * libm/mathfp/e_j0.c j0(): New file.
14567
        * libm/mathfp/e_j1.c j1(): New file.
14568
        * libm/mathfp/e_remainder.c remainder(): New file.
14569
        * libm/mathfp/e_scalb.c scalb(): New file.
14570
        * libm/mathfp/ef_acosh.c acoshf(): New file.
14571
        * libm/mathfp/ef_atanh.c atanhf(): New file.
14572
        * libm/mathfp/ef_hypot.c hypotf(): New file.
14573
        * libm/mathfp/ef_j0.c j0f(): New file.
14574
        * libm/mathfp/ef_j1.c j1f(): New file.
14575
        * libm/mathfp/ef_remainder.c remainderf(): New file.
14576
        * libm/mathfp/ef_scalb.c scalbf(): New file.
14577
        * libm/mathfp/er_gamma.c gamma_r: New file.
14578
        * libm/mathfp/er_lgamma.c lgamma_r(): New file.
14579
        * libm/mathfp/erf_gamma.c gamma_rf(): New file.
14580
        * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
14581
        * libm/mathfp/w_cabs.c cabs(): New file.
14582
        * libm/mathfp/w_drem.c drem(): New file.
14583
        * libm/mathfp/w_jn.c jn(): New file.
14584
        * libm/mathfp/wf_cabs.c cabsf(): New file.
14585
        * libm/mathfp/wf_drem.c dremf(): New file.
14586
        * libm/mathfp/wf_jn.c jnf(): New file.
14587
 
14588
Mon Nov  2 16:43:18 1998  Geoffrey Noer  
14589
 
14590
        * libc/sys/cygwin32: remove directory and contents
14591
        * libc/sys/cygwin: and add back, losing the "32".
14592
        * configure.host: check for cygwin* instead of cygwin32.
14593
        * acinclude.m4: ditto.
14594
        * aclocal.m4: regenerate with aclocal
14595
        * configure: regenerate with autoconf
14596
 
14597
Tue Oct 20 17:28:28 1998  Geoffrey Noer  
14598
 
14599
        * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
14600
        for length
14601
 
14602
Tue Oct 20 18:49:05 1998  Jeff Johnston  
14603
 
14604
        * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
14605
        _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
14606
        to make rand/srand, strtok, asctime, localtime, w_gamma,
14607
        w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
14608
        time.h to bring in struct tm definition.
14609
        * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
14610
        '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
14611
        * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
14612
        instead of static variable.
14613
        * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
14614
        struct reent instead of static variable.
14615
        * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
14616
        struct reent instead of static variable.
14617
        * libm/math/Makefile.am: Removed s_signgam.o.
14618
        * libm/math/Makefile.in: Regenerated.
14619
        * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
14620
        struct reent instead of global variable 'signgam'.
14621
        * libm/math/w_lgamma.c (lgamma): Likewise.
14622
        * libm/math/wf_gamma.c (gammaf): Likewise.
14623
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
14624
        * libm/math/s_signgam.c: Removed.
14625
        * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
14626
        to be const.
14627
        * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
14628
        to be const.
14629
        * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
14630
        libc/include/reent.h.
14631
        * libc/reent/Makefile.in: Regenerated.
14632
        * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
14633
        to be const.
14634
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
14635
        'JIS_action_table' to be const.
14636
        * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
14637
 
14638
Mon Oct 12 00:26:33 1998  Christopher Faylor 
14639
 
14640
        * acinclude.m4:  $with_target_subdir should default to '.'
14641
        or confusion results when configuring in same directory as sources.
14642
        * Regenerate all aclocal.m4 and configure files.
14643
 
14644
Fri Oct  9 16:27:36 1998  Jeff Johnston  
14645
 
14646
        * libc/stdlib/mallocr.c: Added 16 byte alignment support which
14647
        can be set by defining MALLOC_ALIGNMENT=16.  Also added support
14648
        for platforms where sizeof(size_t) < sizeof(long) via
14649
        SIZE_T_SMALLER_THAN_LONG macro.
14650
 
14651
Wed Oct  7 14:02:40 1998  Jeff Johnston  
14652
 
14653
        * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
14654
        to refer to _CLOCKS_PER_SEC_ and added including 
14655
        which sets _CLOCKS_PER_SEC_ for selected machines.
14656
        * libc/include/machine/time.h: New file.
14657
 
14658
Tue Oct  6 16:08:05 1998  Jeff Johnston  
14659
 
14660
        * libc/syscalls/sysexecve.c: New file.
14661
        * libc/syscalls/sysgettod.c: New file.
14662
        * libc/syscalls/systimes.c: New file.
14663
        * libc/syscalls/Makefile.am: Added new objects.
14664
        * libc/syscalls/Makefile.in: Regenerated.
14665
        * libc/include/_syslist.h (_execve): Moved define in file.
14666
        * libc/include/reent.h:  Added _execve_r declaration.
14667
        * libc/Makefile.in: Regenerated.
14668
        * libc/ctype/Makefile.in: Regenerated.
14669
        * libc/errno/Makefile.in: Regenerated.
14670
        * libc/locale/Makefile.in: Regenerated.
14671
        * libc/machine/Makefile.in: Regenerated.
14672
        * libc/misc/Makefile.in: Regenerated.
14673
        * libc/posix/Makefile.in: Regenerated.
14674
        * libc/reent/Makefile.in: Regenerated.
14675
        * libc/reent/execr.c (_execve_r): Added _execve_r function.
14676
        * libc/signal/Makefile.in: Regenerated.
14677
        * libc/stdio/Makefile.in: Regenerated.
14678
        * libc/time/Makefile.in: Regenerated.
14679
        * libc/unix/Makefile.in: Regenerated.
14680
        * libm/mathfp/Makefile.in: Regenerated.
14681
 
14682
Tue Oct  6 14:14:05 1998  Jeff Johnston  
14683
 
14684
        * libc/string/Makefile.in: Regenerated.
14685
        * libc/string/memchr.c (memchr): Moved code to reduce object size.
14686
        * libc/string/memcpy.c (memcpy): Ditto.
14687
        * libc/string/memcmp.c (memcmp): Ditto.
14688
        * libc/string/memset.c (memset): Ditto.
14689
        * libc/string/strchr.c (strchr): Ditto.
14690
        * libc/string/strcmp.c (strcmp): Ditto.
14691
        * libc/string/strcpy.c (strcpy): Ditto.
14692
        * libc/string/strlen.c (strlen): Ditto.
14693
 
14694
Tue Oct  6 13:58:05 1998  Jeff Johnston  
14695
 
14696
        * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
14697
        to generate aclocal.m4.
14698
        * libm/Makefile.in: Regenerated.
14699
        * libm/aclocal.m4: Regenerated.
14700
        * libm/configure: Regenerated.
14701
        * libm/math/Makefile.in: Regenerated.
14702
        * libm/mathfp/Makefile.in: Regenerated.
14703
 
14704
1998-09-25  Mark Salter  
14705
 
14706
        * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
14707
        by adding leading and trailing underscores to symbol names.
14708
 
14709
Tue Sep 22 15:33:41 1998  Christopher Faylor 
14710
 
14711
        * Makefile.in: Add default for AR_FLAGS.
14712
 
14713
Tue Sep 22 15:02:49 1998  Christopher Faylor 
14714
 
14715
        patch from ian@airs.com (Ian Taylor):
14716
        * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
14717
        NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
14718
        is needed for detecting the build machine.  Required for
14719
        cygwin native builds.
14720
 
14721
        * Regenerate all aclocal.m4 and configure files.
14722
 
14723
Mon Sep 21 14:44:16 1998  Nick Clifton  
14724
 
14725
        * libc/sys/arm/crt0.S: Prepend a period to all local labels that
14726
        used to start with LC.
14727
 
14728
Thu Sep 17 18:18:11 1998  J"orn Rennecke 
14729
 
14730
        * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
14731
        (longjmp): Likewise.
14732
 
14733
Thu Sep 17 16:25:33 1998  J"orn Rennecke 
14734
 
14735
        * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
14736
        the test for small number of bytes.
14737
 
14738
Thu Sep 10 11:40:00 1998  Ranjith Kumaran 
14739
 
14740
        * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
14741
        math library that uses floating point algorithms instead of the old
14742
        libm.
14743
        * Makefile.in: Regenerate with automake version 1.3b.
14744
        * configure: Rebuild.
14745
        * libm/Makefile.in: Regenerate with automake version 1.3b.
14746
        * libm/aclocal.m4: Regenerate.
14747
        * libm/configure: Rebuild.
14748
        * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
14749
        * libm/acinclude.m4: Define macros for configure.in.
14750
        * libm/config.h.in: Generate.
14751
        * libm/mathfp/Makefile.am: New file.
14752
        * libm/mathfp/Makefile.in: Generate.
14753
        * libm/mathfp/s_acos.c (acos): New file.
14754
        * libm/mathfp/s_asin.c (asin): New file.
14755
        * libm/mathfp/s_asine.c (asine): New file.
14756
        * libm/mathfp/s_atan.c (atan): New file.
14757
        * libm/mathfp/s_atan2.c (atan2): New file.
14758
        * libm/mathfp/s_atangent.c (atangent): New file.
14759
        * libm/mathfp/s_ceil.c (ceil): New file.
14760
        * libm/mathfp/s_copysign.c (copysign): New file.
14761
        * libm/mathfp/s_cos.c (cos): New file.
14762
        * libm/mathfp/s_cosh.c (cosh): New file.
14763
        * libm/mathfp/s_exp.c (exp): New file.
14764
        * libm/mathfp/s_fabs.c (fabs): New file.
14765
        * libm/mathfp/s_finite.c (finite): New file.
14766
        * libm/mathfp/s_floor.c (floor): New file.
14767
        * libm/mathfp/s_fmod.c (fmod): New file.
14768
        * libm/mathfp/s_frexp.c (frexp): New file.
14769
        * libm/mathfp/s_infconst.c: New file.
14770
        * libm/mathfp/s_isinf (isinf).c: New file.
14771
        * libm/mathfp/s_isnan.c (isnan): New file.
14772
        * libm/mathfp/s_ispos.c (ispos): New file.
14773
        * libm/mathfp/s_ldexp.c (ldexp): New file.
14774
        * libm/mathfp/s_log.c (log): New file.
14775
        * libm/mathfp/s_log10.c (log10): New file.
14776
        * libm/mathfp/s_logarithm.c (logarithm): New file.
14777
        * libm/mathfp/s_mathcnst.c: New file.
14778
        * libm/mathfp/s_modf (modf).c: New file.
14779
        * libm/mathfp/s_numtest.c (numtest): New file.
14780
        * libm/mathfp/s_pow.c (pow): New file.
14781
        * libm/mathfp/s_scalbn.c (scalbn): New file.
14782
        * libm/mathfp/s_sin (sin).c: New file.
14783
        * libm/mathfp/s_sine.c (sine): New file.
14784
        * libm/mathfp/s_sineh.c (sineh): New file.
14785
        * libm/mathfp/s_sinf.c (sinf): New file.
14786
        * libm/mathfp/s_sinh.c (sinh): New file.
14787
        * libm/mathfp/s_sqrt.c (sqrt): New file.
14788
        * libm/mathfp/s_tan.c (tan): New file.
14789
        * libm/mathfp/s_tanh.c (tanh): New file.
14790
        * libm/mathfp/sf_acos.c (acosf): New file.
14791
        * libm/mathfp/sf_asin.c (asinf): New file.
14792
        * libm/mathfp/sf_asine.c (asinef): New file.
14793
        * libm/mathfp/sf_atan.c (atanf): New file.
14794
        * libm/mathfp/sf_atan2.c (atan2f): New file.
14795
        * libm/mathfp/sf_atangent.c (atangent): New file.
14796
        * libm/mathfp/sf_ceil.c (ceilf): New file.
14797
        * libm/mathfp/sf_copysign.c (copysignf): New file.
14798
        * libm/mathfp/sf_cos.c (cosf): New file.
14799
        * libm/mathfp/sf_cosh.c (coshf): New file.
14800
        * libm/mathfp/sf_exp.c (expf): New file.
14801
        * libm/mathfp/sf_fabs.c (fabsf): New file.
14802
        * libm/mathfp/sf_finite.c (finitef): New file.
14803
        * libm/mathfp/sf_floor.c (floorf): New file.
14804
        * libm/mathfp/sf_fmod.c (fmodf): New file.
14805
        * libm/mathfp/sf_frexp.c (frexpf): New file.
14806
        * libm/mathfp/sf_isinf.c (isinff): New file.
14807
        * libm/mathfp/sf_isnan.c (isnanf): New file.
14808
        * libm/mathfp/sf_ispos.c (isposf): New file.
14809
        * libm/mathfp/sf_ldexp.c (ldexpf): New file.
14810
        * libm/mathfp/sf_log.c (logf): New file.
14811
        * libm/mathfp/sf_log10.c (log10f): New file.
14812
        * libm/mathfp/sf_logarithm.c (logarithmf): New file.
14813
        * libm/mathfp/sf_modf.c (modff): New file.
14814
        * libm/mathfp/sf_numtest.c (numtestf): New file.
14815
        * libm/mathfp/sf_pow.c (powf): New file.
14816
        * libm/mathfp/sf_scalbn.c (scalbnf): New file.
14817
        * libm/mathfp/sf_sin.c (sinf): New file.
14818
        * libm/mathfp/sf_sine.c (sinef): New file.
14819
        * libm/mathfp/sf_sineh.c (sinehf): New file.
14820
        * libm/mathfp/sf_sinh.c (sinhf): New file.
14821
        * libm/mathfp/sf_sqrt.c (sqrtf): New file.
14822
        * libm/mathfp/sf_tan.c (tanf): New file.
14823
        * libm/mathfp/sf_tanh.c (tanhf): New file.
14824
        * libm/mathfp/zmath.h: New file.
14825
 
14826
Wed Sep  2 02:49:03 1998  J"orn Rennecke 
14827
 
14828
        * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
14829
        exit if it has been overwritten by pre-fetching in delay slot.
14830
 
14831
1998-09-01  Michael Meissner  
14832
 
14833
        * Makefile.am (tooldir): Add in host_alias, so that multilib
14834
        libraries are installed in the directory the compiler looks in.
14835
        * Makefile.in: Regenerate.
14836
 
14837
        * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
14838
 
14839
Mon Aug 31 11:39:31 1998  Jeff Johnston  
14840
 
14841
        * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
14842
        ahead of test for number of bytes being moved.
14843
 
14844
Thu Aug 27 14:07:53 1998  Christopher Faylor 
14845
 
14846
        * libc/include/sys/unistd.h: Nothing special needed for
14847
        _exit under cygwin.
14848
 
14849
Wed Aug 26 15:05:21 1998  Nick Clifton  
14850
 
14851
        * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
14852
        conform to user label naming conventions.
14853
 
14854
Mon Aug 24 14:46:19 1998  Geoffrey Noer 
14855
 
14856
        * libc/sys/cygwin32/sys/utime.h: variable names in
14857
        protos should start with two leading underscores
14858
        * libc/include/string.h: ditto
14859
        * libc/include/sys/signal.h: ditto
14860
        * libc/include/sys/stat.h: ditto
14861
        * libc/include/sys/time.h: ditto
14862
        * libc/include/sys/unistd.h: ditto
14863
        * libc/include/ctype.h: ditto
14864
        * libc/include/stdlib.h: ditto
14865
        * libc/include/sys/reent.h: struct _atexit function ptr takes a
14866
        void, same with _sig_func.
14867
 
14868
Fri Aug 21 14:44:14 1998  Jeff Johnston  
14869
 
14870
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
14871
        for MB_CAPABLE to reduce code size when newlib is not configured
14872
        with --enable-newlib-mb.
14873
        * libc/stdlib/Makefile.am: Specified -fshort-enums when building
14874
        mbtowc_r.o to minimize size.
14875
        * libc/stdlib/Makefile.in: Rebuild.
14876
 
14877
Wed Aug 19 16:20:13 1998  Jim Wilson  
14878
 
14879
        * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
14880
        to -DREENT.
14881
        * libc/sys/sparc64/Makefile.in: Rebuild.
14882
 
14883
Tue Aug 18 22:38:29 1998  Ian Lance Taylor  
14884
 
14885
        * Makefile.am (MAKEOVERRIDES): Define.
14886
        * Makefile.in: Rebuild.
14887
 
14888
Tue Aug 18 12:38:47 1998  Jim Wilson  
14889
 
14890
        * libc/sys/sparc64/sys/stat.h (stat): Add const.
14891
 
14892
Mon Aug 17 22:27:06 1998  Ian Lance Taylor  
14893
 
14894
        * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
14895
        newlib_cflags when looking for targ-include.
14896
        * */aclocal.m4, */configure: Rebuild.
14897
 
14898
Fri Jul 31 10:57:42 1998  Catherine Moore  
14899
 
14900
        * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
14901
        to "_end".
14902
 
14903
Wed Jul 29 00:02:01 1998  Mark Alexander  
14904
 
14905
        * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
14906
        on SPARCs with little-endian data.
14907
        * libc/include/machine/ieeefp.h: Ditto.
14908
 
14909
Wed Jul 22 18:00:10 1998  Ian Lance Taylor  
14910
 
14911
        * acinclude.m4: Handle a relative srcdir correctly when setting
14912
        newlib_cflags.
14913
        * */aclocal.m4, */configure: Rebuild.
14914
 
14915
Wed Jul 22 17:11:33 1998  Jeff Johnston  
14916
 
14917
        * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
14918
        also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
14919
        * libm/math/wrf_gamma.c (gammaf_r): ditto
14920
        * libm/math/wr_lgamma.c (lgamma_r): ditto
14921
        * libm/math/wr_gamma.c (gamma_r): ditto
14922
        * libm/math/wf_sqrt.c (sqrtf): ditto
14923
        * libm/math/wf_sinh.c (sinhf): ditto
14924
        * libm/math/wf_scalb.c (scalbf): ditto
14925
        * libm/math/wf_remainder.c (remainderf): ditto
14926
        * libm/math/wf_pow.c (powf): ditto
14927
        * libm/math/wf_log10.c (log10f): ditto
14928
        * libm/math/wf_log.c (logf): ditto
14929
        * libm/math/wf_lgamma.c (lgammaf): ditto
14930
        * libm/math/wf_jn.c (jnf, ynf): ditto
14931
        * libm/math/wf_j1.c (j1f, y1f): ditto
14932
        * libm/math/wf_j0.c (j0f, y0f): ditto
14933
        * libm/math/wf_hypot.c (hypotf): ditto
14934
        * libm/math/wf_gamma.c (gammaf): ditto
14935
        * libm/math/wf_fmod.c (fmodf): ditto
14936
        * libm/math/wf_exp.c (expf): ditto
14937
        * libm/math/wf_cosh.c (coshf): ditto
14938
        * libm/math/wf_atanh.c (atanhf): ditto
14939
        * libm/math/wf_atan2f.c (atan2f): ditto
14940
        * libm/math/wf_asin.c (asinf): ditto
14941
        * libm/math/wf_acosh.c (acoshf): ditto
14942
        * libm/math/wf_acos.c (acosf): ditto
14943
        * libm/math/w_sqrt.c (sqrt): ditto
14944
        * libm/math/w_sinh.c (sinh): ditto
14945
        * libm/math/w_scalb.c (scalb): ditto
14946
        * libm/math/w_remainder.c (remainder): ditto
14947
        * libm/math/w_pow.c (pow): ditto
14948
        * libm/math/w_log10.c (log10): ditto
14949
        * libm/math/w_log.c (log): ditto
14950
        * libm/math/w_lgamma.c (lgamma): ditto
14951
        * libm/math/w_jn.c (jn, yn): ditto
14952
        * libm/math/w_j1.c (j1, y1): ditto
14953
        * libm/math/w_j0.c (j0, y0): ditto
14954
        * libm/math/w_hypot.c (hypot): ditto
14955
        * libm/math/w_gamma.c (gamma): ditto
14956
        * libm/math/w_fmod.c (fmod): ditto
14957
        * libm/math/w_exp.c (exp): ditto
14958
        * libm/math/w_cosh.c (cosh): ditto
14959
        * libm/math/w_atanh.c (atanh): ditto
14960
        * libm/math/w_atan2f.c (atan2): ditto
14961
        * libm/math/w_asin.c (asin): ditto
14962
        * libm/math/w_acosh.c (acosh): ditto
14963
        * libm/math/w_acos.c (acos): ditto
14964
 
14965
Tue Jul 21 12:34:54 1998  Ian Lance Taylor  
14966
 
14967
        * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
14968
        (fsrc): Add wf_cabs.c and wf_drem.c.
14969
        * libm/math/Makefile.in: Rebuild.
14970
 
14971
        * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
14972
        unused directory variables.  Remove duplicate CFLAGS.
14973
        * Makefile.in: Rebuild.
14974
 
14975
        * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
14976
        with $(CC_FOR_BUILD).
14977
        (makedoc.o): Likewise.
14978
        * doc/Makefile.in: Rebuild.
14979
 
14980
        * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
14981
        force a definition of COMPILE.
14982
        (libfoo_a_SOURCES): Define.
14983
        * libc/sys/cygwin32/Makefile.in: Rebuild.
14984
        * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
14985
        force a definition of COMPILE.
14986
        (libfoo_a_SOURCES): Define.
14987
        * libc/sys/tic80/Makefile.in: Rebuild.
14988
 
14989
Mon Jul 20 20:49:24 1998  Christopher Faylor 
14990
 
14991
        * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
14992
        flag.
14993
 
14994
Fri Jul 17 16:13:16 1998  Ian Lance Taylor  
14995
 
14996
        * Build using autoconf and automake.  Added many Makefile.am and
14997
        configure.in files, plus generated files.  Old configure.in files
14998
        and all old Makefile.in files completely replaced.  Removed
14999
        host/any.  Added acinclude.m4 and configure.host.
15000
 
15001
Sat Jul 11 18:14:49 1998  Felix Lee  
15002
 
15003
        * libc/stdio/vfprintf.c: enable long long support, sometimes.
15004
        * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
15005
 
15006
Tue Jul  7 01:51:55 1998  J"orn Rennecke 
15007
 
15008
        * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
15009
        * libc/machine/sh/Makefile.in: Add rules for new files.
15010
 
15011
Tue Jul  7 01:40:55 1998  J"orn Rennecke 
15012
 
15013
        * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
15014
        * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
15015
        * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
15016
 
15017
Thu Jul  2 10:33:16 1998  Nick Clifton  
15018
 
15019
        * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
15020
        code is ignored.
15021
 
15022
Wed Jun 24 13:56:54 1998  Jeff Johnston  
15023
 
15024
        * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
15025
        internal static buffer when s is NULL, as prescribed by ANSI.
15026
 
15027
1998-06-22  Vladimir N. Makarov  
15028
 
15029
        * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
15030
        removed.
15031
        * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
15032
        libc/stdlib will be used for h8300hms.
15033
 
15034
Thu Jun 18 16:56:05 1998  Jeff Johnston  
15035
 
15036
        * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
15037
        version that can be built either for speed or size.
15038
        * libc/machine/mn10300/memset.S (_memset): ditto
15039
        * libc/machine/mn10300/memchr.S (_memchr): ditto
15040
        * libc/machine/mn10300/memcpy.S (_memcpy): ditto
15041
        * libc/machine/mn10300/memcmp.S (_memcmp): ditto
15042
        * libc/machine/mn10300/strchr.S (_strchr): ditto
15043
        * libc/machine/mn10300/strcmp.S (_strcmp): ditto
15044
        * libc/machine/mn10300/strcpy.S (_strcpy): ditto
15045
        * libc/machine/mn10300/Makefile.in: Added entries for
15046
        memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
15047
        strcmp.o, strcpy.o, and strlen.o.
15048
 
15049
Wed Jun 17 12:50:26 1998  Mark Alexander  
15050
 
15051
        * configure.in: Don't use libc/sys/sysmec for MN10200; it's
15052
        been replaced with libgloss/mn10200.
15053
 
15054
Fri Jun 12 14:34:39 1998  Michael Meissner  
15055
 
15056
        * libc/string/strchr.c (strchr): Make s a constant pointer to
15057
        avoid warning.
15058
 
15059
Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
15060
 
15061
        * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
15062
        instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
15063
        board SWIs instead of Demon board SWIs).
15064
 
15065
Thu Jun  4 12:16:46 1998  Michael Meissner  
15066
 
15067
        * libc/string/strncat.c (strncat):  Make -Os act the same as
15068
        PREFER_SIZE_OVER_SPEED being defined.
15069
 
15070
Wed Jun  3 17:52:33 1998  Michael Meissner  
15071
 
15072
        * libc/string/memchr.c (memchr): Make -Os act the same as
15073
        PREFER_SIZE_OVER_SPEED being defined.
15074
        * libc/string/memcmp.c (memcmp): Ditto.
15075
        * libc/string/memcpy.c (memcpy): Ditto.
15076
        * libc/string/memset.c (memset): Ditto.
15077
        * libc/string/strcat.c (strcat): Ditto.
15078
        * libc/string/strchr.c (strchr): Ditto.
15079
        * libc/string/strcmp.c (strcmp): Ditto.
15080
        * libc/string/strcpy.c (strcpy): Ditto.
15081
        * libc/string/strlen.c (strlen): Ditto.
15082
        * libc/string/strncat.c (strncat): Ditto.
15083
        * libc/string/strncmp.c (strncmp): Ditto.
15084
        * libc/string/strncpy.c (strncpy): Ditto.
15085
 
15086
Mon Jun  1 15:25:07 1998  Geoffrey Noer  
15087
 
15088
        * libc/include/sys/itimer.h: remove
15089
        * libc/include/sys/time.h: itimer stuff should be here
15090
 
15091
Mon Jun  1 16:31:29 1998  Jeff Johnston  
15092
 
15093
        * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
15094
        bit instead of comparing to 0 so -0.0 can be printed correctly.
15095
 
15096
Sat May 30 09:33:51 1998  J"orn Rennecke 
15097
 
15098
        * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
15099
 
15100
Fri May 29 22:25:10 1998  Geoffrey Noer  
15101
 
15102
        * libc/include/sys/unistd.h: fix sync() proto
15103
        * libc/include/sys/fcntl.h: remove _close which is already
15104
        defined in unistd.h.
15105
        * libc/include/sys/time.h: add getitimer proto
15106
 
15107
Fri May 29 16:10:28 1998  Geoffrey Noer  
15108
 
15109
        * libc/string/strchr.c: convert arg to unsigned char
15110
        * libc/include/stdlib.h: add protos for random, srandom
15111
        * libc/include/sys/stat.h: add lstat proto
15112
        * libc/include/sys/time.h: add setitimer proto
15113
        * libc/include/sys/unistd.h: add readlink, symlink protos
15114
        * libc/include/process.h: instead of including windows.h and using
15115
        HANDLEs in sexec protos, just use void *s.  Need to include
15116
        sys/types.h.
15117
 
15118
Fri May 29 03:04:29 1998  Geoffrey Noer  
15119
 
15120
        * libc/include/sys/fcntl.h: add _close proto for Cygwin32
15121
 
15122
Thu May 28 16:34:21 1998  Geoffrey Noer  
15123
 
15124
        * libc/include/process.h: add secure exec protos
15125
 
15126
Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
15127
 
15128
        * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
15129
        which are accessed as both doubles and integers.
15130
        * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
15131
        * libc/stdlib/strtod.c (_strtod_r): Likewise.
15132
        * libc/stdlib/mprec.h: Add "union double_union" and change
15133
        word0/word1 macros to use it.
15134
 
15135
Tue May 26 18:04:21 1998  Geoffrey Noer  
15136
 
15137
        * libc/include/sys/signal.h: add __cplusplus wrapper
15138
 
15139
Tue May 26 15:10:22 1998  Geoffrey Noer  
15140
 
15141
        * libc/include/sys/utime.h: new generic file that gets replaced by
15142
        libc/sys/SYSDIR/sys/utime.h on systems that support the utime
15143
        function.
15144
        * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
15145
        * libc/include/time.h: remove duplicate utime proto
15146
        * libc/include/utime.h: add comment
15147
 
15148
Sun May 24 23:56:20 1998  Christopher Faylor 
15149
 
15150
        * libc/include/sys/time.h: Add missing include to
15151
        allow use of _EXFUN.  Remove times function that is
15152
        already defined in times.h.
15153
 
15154
Sun May 24 01:32:14 1998  Christopher Faylor 
15155
 
15156
        * libc/include/time.h: Fix typo in tzset.
15157
 
15158
Fri May 22 17:00:48 1998  Geoffrey Noer  
15159
 
15160
        * libc/include/sys/time.h: add missing Cygwin32 function protos
15161
        * libc/include/sys/unistd.h: ditto
15162
        * libc/include/time.h: ditto
15163
 
15164
Wed May 20 20:35:11 1998  Geoffrey Noer  
15165
 
15166
        * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
15167
        FIXME.
15168
        * libc/include/sys/types.h: add a new __MS_types__ section
15169
        to define vm_offset_t, vm_size_t, int32_t et al, register_t,
15170
        __BIT_TYPES_DEFINED__.
15171
 
15172
Wed May 20 18:49:21 1998  Geoffrey Noer  
15173
 
15174
        * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
15175
        since it overrides the one in libc/include/sys.  Also, start
15176
        including types.h.
15177
 
15178
Wed May 20 14:45:40 1998  Geoffrey Noer  
15179
 
15180
        * libm/math/Makefile.in: add s_signgam.o to obj list
15181
 
15182
Tue May 19 11:57:11 1998  Jeff Johnston  
15183
 
15184
        * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
15185
 
15186
Mon May 18 22:36:12 1998  Christopher Faylor 
15187
 
15188
        * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
15189
        so don't use defines.
15190
 
15191
Mon May 18 19:01:02 1998  Michael Meissner  
15192
 
15193
        * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
15194
 
15195
Sun May 17 18:40:32 1998  Frank Ch. Eigler  
15196
 
15197
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
15198
        _current_locale as default locale.
15199
 
15200
Sat May 16 21:59:59 1998  Bob Manson  
15201
 
15202
        * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
15203
        insufficient space in a chunk.
15204
 
15205
Tue May 12 14:41:01 1998  Jeff Johnston  
15206
 
15207
        * configure.in (links): Added check for --enable-newlib-mb configure
15208
        option which defines the MB_CAPABLE macro.
15209
        * libc/locale/locale.c (_setlocale_r): Added support for setting
15210
        LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
15211
        defined.
15212
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
15213
        implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
15214
        * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
15215
        implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
15216
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
15217
        implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
15218
        * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
15219
        wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
15220
        * libc/stdlib/Makefile.in: Added new multibyte
15221
        routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
15222
        * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
15223
        _mbstowcs_r(), and _wcstombs_r().
15224
        * libc/stdlib/mbctype.h: New internal header file that contains macros to test
15225
        for JIS, SJIS, and EUC-JP characters.
15226
        * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
15227
        MB_CAPABLE defined.
15228
        * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
15229
        MB_CAPABLE defined.
15230
        * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
15231
        MB_CAPABLE defined.
15232
        * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
15233
        if MB_CAPABLE defined.
15234
        * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
15235
        if MB_CAPABLE defined.
15236
        * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
15237
        to the format string processing when MB_CAPABLE.
15238
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
15239
        call _mbtowc_r().
15240
 
15241
Tue May  5 16:07:23 1998  Nick Clifton  
15242
 
15243
        The following modifications are courtesy of Anthony Thompson,
15244
        athompson@cambridge.arm.com:
15245
        * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
15246
        boith RDI and RDP monitors.
15247
        * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
15248
        RDI and RDP monitors.
15249
 
15250
Wed Apr 29 15:22:15 1998  Jeff Johnston  
15251
 
15252
        * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
15253
        * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
15254
        (_swiopen): Fixed open flags to treat write with append as just append.
15255
        (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
15256
        * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
15257
 
15258
Fri Apr 24 18:00:09 1998  J"orn Rennecke 
15259
 
15260
        * libc/machine/sh/memcpy.S (L_odddst, big endian version):
15261
        When needing to transfer an initial 2-byte-word, store as
15262
        two single bytes.
15263
 
15264
Wed Apr 22 17:56:03 1998  J"orn Rennecke 
15265
 
15266
        * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
15267
        __SH3E__ .
15268
        * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
15269
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
15270
 
15271
Wed Apr 22 12:28:03 1998  Michael Meissner  
15272
 
15273
        * configure.in (target_cflags): If --enable-target-optspace, use
15274
        -Os to compile newlib rather than -O2.  Default to using -Os for
15275
        d10v, d30v and m32r if --{enable,disable}-target-optspace is not
15276
        used.
15277
 
15278
Tue Apr 21 23:13:34 1998  Geoffrey Noer  
15279
 
15280
        * libc/include/machine/setjmp.h: change sigsetjmp and
15281
        siglongjmp definitions to use an array instead of a struct
15282
        for __CYGWIN32__
15283
 
15284
Tue Apr 14 11:47:47 1998  Doug Evans  
15285
 
15286
        * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
15287
 
15288
Mon Apr  6 15:05:08 1998  Jonathan Larmour  
15289
 
15290
        * libc/string/strxfrm.c: fix to get correct return value
15291
 
15292
Wed Apr  1 16:09:05 1998  Nick Clifton  
15293
 
15294
        * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
15295
        builds.  Make mode change labels global so that they will be seen
15296
        by the debugger.
15297
 
15298
Wed Mar 18 09:45:10 1998  Nick Clifton  
15299
 
15300
        * configure.in (links): Do not use ARM debiugging protocols for PE
15301
        builds.
15302
 
15303
        * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
15304
        message.
15305
 
15306
Fri Mar 13 11:24:34 1998  Jeff Johnston  
15307
 
15308
        * libc/stdio/findfp.c (__sinit): Made stdout default to
15309
        line buffered mode as defined by ANSI.
15310
 
15311
Tue Mar 10 11:41:26 1997  Bob Manson  
15312
 
15313
        * libc/include/sys/itimer.h: New file.
15314
 
15315
        * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
15316
 
15317
Mon Mar  9 14:19:26 1998  J"orn Rennecke 
15318
 
15319
        * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
15320
        failure.
15321
 
15322
Fri Feb 27 13:56:10 1998  Michael Meissner  
15323
 
15324
        * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
15325
        insns.
15326
 
15327
Wed Feb 25 09:29:54 1998  Nick Clifton  
15328
 
15329
        * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
15330
 
15331
Tue Feb 24 18:00:13 1998  Michael Meissner  
15332
 
15333
        * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
15334
        support.
15335
 
15336
        * libc/include/machine/setjmp.h: Add D30V support.
15337
 
15338
        * configure.in (d30v-*): Add d30v machine directory.
15339
 
15340
Mon Feb 23 09:32:58 1998  Mark Alexander  
15341
 
15342
        * configure.in: Don't use libc/sys/sysmec for MN10300; it's
15343
        been replaced with libgloss/mn10300.
15344
 
15345
Sat Feb 21 17:44:43 1998  Geoffrey Noer  
15346
 
15347
        * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
15348
        it is no longer needed.
15349
 
15350
Thu Feb 19 16:15:10 1998  Geoffrey Noer  
15351
 
15352
        * libc/include/sys/signal.h: add sigpause proto for Cygwin32
15353
 
15354
Wed Feb 18 23:51:08 1998  Geoffrey Noer  
15355
 
15356
        * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
15357
        the file when O_APPEND is set, wherever the EOF happens to be at
15358
        that time.
15359
 
15360
Wed Feb 18 23:25:02 1998  Geoffrey Noer  
15361
 
15362
        patch from cgf@bbc.com (Christopher Faylor):
15363
        * libc/stdio/freopen.c (freopen): Conform to standard UNIX
15364
        convention of closing fp prior to attempting to open the file
15365
        argument.  This allows correct operation when reopening
15366
        stdin/stdout/stderr.  Replaces last freopen.c patch.
15367
 
15368
Wed Feb 18 16:27:40 1998  Geoffrey Noer  
15369
 
15370
        patch from cgf@bbc.com (Christopher Faylor):
15371
        * libc/stdio/freopen.c: freopen was not preserving the fd
15372
        of the stream being operated on.  This confuses programs that
15373
        expect that the handles for stdout and stderr will be 1 and 2.
15374
 
15375
Mon Feb 16 23:34:07 1998  Andrew Cagney  
15376
 
15377
        * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
15378
 
15379
Thu Feb 12 15:09:20 1998  Ranjith Kumaran 
15380
 
15381
        * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
15382
 
15383
Wed Feb 11 17:50:45 1998  Jeff Johnston  
15384
 
15385
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
15386
        altered to not use a branch.  Also added hint that last
15387
        bclr in longjmp will likely result in branch.
15388
 
15389
 
15390
Mon Feb  9 03:44:02 1998  Geoffrey Noer  
15391
 
15392
        * libc/sys/cygwin32/crt0.c: add missing args to main() extern
15393
 
15394
Fri Feb  6 16:32:32 1998  Nick Clifton  
15395
 
15396
        * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
15397
        v850 builds.
15398
 
15399
        * configure.in: Add -msmall-sld to target_cflags for v850 builds.
15400
 
15401
Wed Feb  4 16:56:20 1998  Jeff Johnston  
15402
 
15403
        * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
15404
        that loads FR14 to specify offset of 8 rather than 4
15405
        so it loads from offset 96 (where setjmp stored it).
15406
 
15407
Tue Feb  3 18:08:34 1998  Jeff Johnston  
15408
 
15409
        * libc/machine/sh/memcpy.S: (_memcpy): Update to
15410
        latest version supplied by customer.
15411
        * libc/machine/sh/memset.S (_memset): Ditto.
15412
 
15413
Mon Feb  2 16:20:39 1998  Nick Clifton  
15414
 
15415
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
15416
        PR14730).
15417
 
15418
Mon Feb  2 15:13:26 1998  Geoffrey Noer  
15419
 
15420
        * libc/include/string.h: remove redefinition of ffs
15421
 
15422
Wed Jan 28 13:30:14 1998  Geoffrey Noer  
15423
 
15424
        * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
15425
        defined
15426
 
15427
Wed Jan 28 10:38:34 1998  Jeff Johnston  
15428
 
15429
        * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
15430
        TI Libraries to link to libc.a
15431
 
15432
Sat Jan 24 10:15:56 1998  Michael Meissner  
15433
 
15434
        * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
15435
        * libc/include/sys/stat.h (_{,f}stat): Ditto.
15436
        * libc/include/sys/wait.h (_wait): Ditto.
15437
        * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
15438
        (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
15439
 
15440
Fri Jan 23 11:32:10 1998  Michael Meissner  
15441
 
15442
        * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
15443
        minded stabs so function name shows up when running the simulator
15444
        with -t.
15445
        * libc/sys/d10v/{crt0,trap}.S: Ditto.
15446
 
15447
Thu Jan 22 15:57:14 1998  Fred Fish  
15448
 
15449
        * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
15450
        * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
15451
        Use R5 where we used to use R3.
15452
 
15453
Wed Jan 21 14:22:23 1998  Bill Moyer 
15454
 
15455
        * libc/stdlib/getopt.c (getopt): replaced __progname
15456
        with nargv[0] to improve portability to imbedded systems.
15457
 
15458
Thu Jan 15 12:32:38 1998  Nick Clifton  
15459
 
15460
        * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
15461
        patch supplied by Tont.Thompson@arm.com to fix the creation of the
15462
        stdout file.
15463
 
15464
Wed Jan 14 13:00:19 1998  Ian Lance Taylor  
15465
 
15466
        * libc/stdio/tmpnam.c (worker): Generate a different file name
15467
        each time.
15468
 
15469
        * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
15470
        fails, try an execlp for sh.
15471
 
15472
        * host/any (INCLUDES): If target_os is cygwin32, then add a -I
15473
        option for the winsup include directory.
15474
 
15475
Wed Jan  7 17:02:58 1998  Nick Clifton  
15476
 
15477
        * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
15478
        debugging interface from Tony.Thompson@arm.com.
15479
 
15480
        * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
15481
        * libc/sys/arm/swi.h: ditto.
15482
 
15483
Tue Jan  6 14:15:10 1998  Geoffrey Noer  
15484
 
15485
        * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
15486
        DIR struct used for readdir hashes.
15487
 
15488
Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
15489
 
15490
        * libc/string/strchr.c: Use "unsigned chars" as necessary.
15491
 
15492
Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
15493
 
15494
        * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
15495
        integer targets.
15496
 
15497
Sat Dec 13 15:11:06 1997  Ian Lance Taylor  
15498
 
15499
        * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
15500
        INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
15501
        * libc/include/malloc.h: Add extern "C" if __cplusplus.
15502
        (__malloc_copy): Declare.
15503
 
15504
Wed Dec 10 12:15:54 1997  Ian Lance Taylor  
15505
 
15506
        * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
15507
        .
15508
        (POINTER_UINT): Define.
15509
        (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
15510
        (MALLOC_ALIGNMENT): Don't define if already defined.
15511
        (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
15512
        long.
15513
 
15514
Tue Dec  9 19:23:42 1997  Michael Meissner  
15515
 
15516
        * libc/string/memset.c (memset): Fiddle with code so that the long
15517
        value being stored is not a stack value.  Unroll storing longs 4
15518
        times.
15519
 
15520
Tue Dec  9 14:13:18 1997  Jeff Johnston  
15521
 
15522
        * Reduce code size for libm modules.
15523
        * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
15524
        and simply move code into sqrt.
15525
        * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
15526
        * libm/math/wr_lgamma.c (lgamma_r): Likewise.
15527
        * libm/math/wrf_gamma.c (gammaf_r): Likewise.
15528
        * libm/math/wr_gamma.c (gamma_r): Likewise.
15529
        * libm/math/wf_sinh.c (sinfh): Likewise.
15530
        * libm/math/w_sinh.c (sinh): Likewise.
15531
        * libm/math/wf_scalb.c (scalbf): Likewise.
15532
        * libm/math/w_scalb.c (scalb): Likewise.
15533
        * libm/math/wf_remainder.c (remainderf): Likewise.
15534
        * libm/math/w_remainder.c (remainder): Likewise.
15535
        * libm/math/wf_pow.c (powf): Likewise.
15536
        * libm/math/w_pow.c (pow): Likewise.
15537
        * libm/math/wf_log10.c (log10f): Likewise.
15538
        * libm/math/w_log10.c (log10): Likewise.
15539
        * libm/math/wf_log.c (logf): Likewise.
15540
        * libm/math/w_log.c (log): Likewise.
15541
        * libm/math/w_lgamma.c (lgamma): Likewise.
15542
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
15543
        * libm/math/wf_jn.c (jnf): Likewise.
15544
        * libm/math/w_jn.c (jn): Likewise.
15545
        * libm/math/wf_j1.c (j1f): Likewise.
15546
        * libm/math/w_j1.c (j1): Likewise.
15547
        * libm/math/wf_j0.c (j0f): Likewise.
15548
        * libm/math/w_j0.c (j0): Likewise.
15549
        * libm/math/wf_hypot.c (hypotf): Likewise.
15550
        * libm/math/w_hypot.c (hypot): Likewise.
15551
        * libm/math/wf_gamma.c (gammaf): Likewise.
15552
        * libm/math/w_gamma.c (gamma): Likewise.
15553
        * libm/math/wf_fmod.c (fmodf): Likewise.
15554
        * libm/math/w_fmod.c (fmod): Likewise.
15555
        * libm/math/wf_exp.c (expf): Likewise.
15556
        * libm/math/w_exp.c (exp): Likewise.
15557
        * libm/math/wf_cosh.c (coshf): Likewise.
15558
        * libm/math/w_cosh.c (cosh): Likewise.
15559
        * libm/math/wf_atanh.c (atanhf): Likewise.
15560
        * libm/math/w_atanh.c (atanh): Likewise.
15561
        * libm/math/wf_atan2.c (atan2f): Likewise.
15562
        * libm/math/w_atan2.c (atan2): Likewise.
15563
        * libm/math/wf_asin.c (asinf): Likewise.
15564
        * libm/math/w_asin.c (asin): Likewise.
15565
        * libm/math/wf_acosh.c (acoshf): Likewise.
15566
        * libm/math/w_acosh.c (acosh): Likewise.
15567
        * libm/math/wf_acos.c (asocf): Likewise.
15568
        * libm/math/w_acos.c (acos): Likewise.
15569
        * libm/math/wf_sqrt.c (sqrtf): Likewise.
15570
        * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
15571
        for embedded systems.
15572
 
15573
Mon Dec  8 12:12:58 1997  Ian Lance Taylor  
15574
 
15575
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
15576
        Lea in case of a foreign sbrk.
15577
 
15578
Fri Dec  5 23:27:28 1997  Ian Lance Taylor  
15579
 
15580
        Incorporate Doug Lea's malloc:
15581
        * libc/stdlib/mallocr.c: Completely replaced.
15582
        * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
15583
        (realloc): Remove.
15584
        * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
15585
        * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
15586
        mallopt.
15587
        (mallinfo, malloc_stats, mallopt): New functions.
15588
        (_mstats_r): Just call _malloc_stats_r.
15589
        * libc/stdlib/malign.c: New file.
15590
        * libc/stdlib/mlock.c: New file.
15591
        * libc/stdlib/msize.c: New file.
15592
        * libc/stdlib/mtrim.c: New file.
15593
        * libc/stdlib/realloc.c: New file.
15594
        * libc/stdlib/valloc.c: New file.
15595
        * libc/stdlib/malloc.h: Remove.
15596
        * libc/stdlib/callocr.c: Remove.
15597
        * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
15598
        malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
15599
        mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
15600
        reallocr.o, valloc.o, vallocr.o.
15601
        (CHEWOUT_FILES): Add mlock.def, mstats.def.
15602
        (MALLOC_CFLAGS): New variable.
15603
        (mallocr.o): New target, build from mallocr.c.
15604
        (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
15605
        (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
15606
        (msizer.o, malloptr.o): Likewise.
15607
        (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
15608
        (valloc.o): New target.
15609
        * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
15610
        * libc/include/malloc.h: Declare struct mallinfo, and new
15611
        routines.
15612
        * libc/include/stdlib.h (cfree): Correct declaration.
15613
 
15614
Tue Dec  2 10:12:16 1997  Nick Clifton  
15615
 
15616
        * libc/include/machine/setjmp.h: Add support for Thumb target.
15617
 
15618
        * libc/include/machine/ieeefp.h: Add support for Thumb target.
15619
 
15620
        * configure.in (links): Add support for Thumb target.
15621
 
15622
Wed Nov 26 09:56:17 1997  Nick Clifton  
15623
 
15624
        * libc/sys/arm/setjmp.S: Updated with version from branch.
15625
 
15626
Thu Nov 20 01:21:43 1997  Geoffrey Noer  
15627
 
15628
        * libc/include/stdio.h: add POSIX-required define L_ctermid
15629
        for ctermid
15630
 
15631
Wed Nov 19 16:11:40 1997  Michael Meissner  
15632
 
15633
        * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
15634
        addition to MISSING_SYSCALL_NAMES.
15635
 
15636
Mon Nov 17 20:05:05 1997  J"orn Rennecke 
15637
 
15638
        * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
15639
 
15640
Mon Nov 10 22:26:55 1997  Geoffrey Noer  
15641
 
15642
        * libc/include/string.h: change strsignal proto to return
15643
        a char *.  This eliminates compile problems in gdb resulting
15644
        from gdb's definition of strsignal in defs.h.
15645
 
15646
Mon Nov 10 17:11:08 1997  Geoffrey Noer  
15647
 
15648
        * libc/sys/cygwin32/sys/utime.h: new (moved here from
15649
        winsup/include) so as not to conflict with the one in
15650
        libc/include.
15651
        * libc/include/string.h: add protos for strsignal, strtosigno
15652
 
15653
Mon Nov 10 13:49:54 1997  Michael Meissner  
15654
 
15655
        * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
15656
 
15657
        * configure.in (d30v-*-*): Add configuration.
15658
 
15659
Thu Oct 30 14:01:23 1997  Nick Clifton  
15660
 
15661
        * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
15662
        to select which kind of debug monitor is in use for an ARM target.
15663
 
15664
        * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
15665
        Angel and Demon debug monitors.  Part of this code was supplied by
15666
        Tony Thompson at ARM: athompso@arm.com.
15667
 
15668
Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
15669
 
15670
        * strncat.c (strncat): Don't call strncpy; strncay has the wrong
15671
        semantics when the count is greater than the length of the second
15672
        source string.
15673
 
15674
Thu Oct 23 01:37:41 1997  Geoffrey Noer  
15675
 
15676
        * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
15677
        * libc/include/sys/unistd.h: add protos for usleep, truncate,
15678
        truncate and ftruncate take off_t, not size_t
15679
 
15680
Tue Oct 21 18:42:00 1997  Jim Wilson  
15681
 
15682
        * libc/string/strcat.c (strcat): Add missing comment end.
15683
        * libc/string/strncat.c (strncat): Likewise.
15684
 
15685
Tue Oct 21 17:23:34 1997  Nick Clifton  
15686
 
15687
        * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
15688
        targets.
15689
        * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
15690
        optimised version which is selected if PREFER_SIZE_OVER_SPEED is
15691
        defined.
15692
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15693
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15694
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15695
 
15696
Mon Oct 13 15:12:35 1997  Ian Lance Taylor  
15697
 
15698
        * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
15699
        (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
15700
 
15701
Thu Oct  9 13:54:44 1997  Doug Evans  
15702
 
15703
        * libc/machine/i386/setjmp.S: New file.
15704
        * libc/machine/i386/Makefile.in: Delete COPYOFILES.
15705
        (OFILES): Add setjmp.o.
15706
        (setjmp.o): Add rule for.
15707
        * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
15708
 
15709
Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
15710
                         Jeffrey A Law  (law@cygnus.com)
15711
 
15712
        * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
15713
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15714
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15715
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15716
 
15717
Mon Oct  6 14:07:59 1997  Nick Clifton  
15718
 
15719
        * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
15720
        rules.
15721
 
15722
        * libc/include/sys/config.h: Use __v850 to select v850
15723
        endianness.
15724
 
15725
        * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
15726
        buffer size.
15727
 
15728
        * libc/include/machine/ieeefp.h: Use __v850 to select v850
15729
        endianness.
15730
 
15731
Thu Sep 25 14:11:37 1997  Geoffrey Noer  
15732
 
15733
        * libc/stdlib/setenv.c: change unsetenv definition to match
15734
        style of setenv (with _DEFUN).  The string should be a const.
15735
        * libc/include/stdlib.h: unsetenv proto should return void.
15736
 
15737
Tue Sep 23 18:17:20 1997  Geoffrey Noer  
15738
 
15739
        * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
15740
 
15741
Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
15742
 
15743
        * libc/stdio/glue.h: remove.
15744
        * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
15745
        * libc/stdio/Makefile.in: remove glue.h dependencies
15746
 
15747
Wed Sep 17 17:42:27 1997  Nick Clifton  
15748
 
15749
        * libc/sys/sysnecv850/crt0.S: Created V850e version.
15750
 
15751
Tue Sep  9 10:40:57 1997  Doug Evans  
15752
 
15753
        * configure.in (target_cpu): Add `arc'.
15754
 
15755
Tue Sep  9 10:40:42 1997  Joel Sherrill  
15756
 
15757
        * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
15758
          -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
15759
        * newlib/libc/include/sys/errno.h: Add ENOTSUP.
15760
        * newlib/libc/reent/reent.c: Add _wrapup_reent.
15761
        * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
15762
 
15763
Sun Sep  7 16:41:41 1997  Gavin Koch  
15764
 
15765
        * libc/machine/mips/setjmp.S: Handle mips16 builds.
15766
 
15767
Thu Aug 21 20:05:38 1997  Ian Lance Taylor  
15768
 
15769
        * libc/include/stdio.h (siprintf): Declare.
15770
 
15771
Mon Aug 18 11:19:13 1997  Nick Clifton  
15772
 
15773
        * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
15774
        TARGET_CFLAGS and NEWLIB_FLAGS.
15775
 
15776
Mon Aug 18 11:15:43 1997  Nick Clifton  
15777
 
15778
        * configure.in (links): Add support for v850ea target.
15779
 
15780
Mon Aug 18 11:15:43 1997  Nick Clifton  
15781
 
15782
        * configure.in (links): Add support for v850e target.
15783
 
15784
Wed Aug 13 19:16:54 1997  Nick Clifton  
15785
 
15786
        * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
15787
 
15788
Mon Aug 11 15:49:54 1997  Doug Evans  
15789
 
15790
        * configure.in (arc-*-*): Add support for.
15791
        * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
15792
 
15793
Fri Jul 25 17:37:41 1997  J"orn Rennecke 
15794
 
15795
        * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
15796
 
15797
Thu Jul 24 18:32:17 1997  Geoffrey Noer  
15798
 
15799
        * libc/stdlib/bsearch.c (bsearch): remove last unneeded
15800
        comparison which accesses invalid memory when the key is
15801
        larger than the last member of the array.
15802
        * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
15803
        for CYGWIN32
15804
        * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
15805
 
15806
Tue Jul 22 16:03:06 1997  Ian Lance Taylor  
15807
 
15808
        * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
15809
        not _STRICT_ANSI.
15810
 
15811
Thu Jul 10 15:11:52 1997  Doug Evans  
15812
 
15813
        * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
15814
        ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
15815
 
15816
Thu Jul 10 16:00:09 1997  Mike Meissner  
15817
 
15818
        * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
15819
        to load/store memory.
15820
 
15821
Mon Jul  7 17:38:17 1997  Ian Lance Taylor  
15822
 
15823
        * libc/include/sys/fcntl.h: Define _O_* symbols with leading
15824
        underscores if _WIN32.
15825
 
15826
Wed Jul  2 10:07:20 1997  Doug Evans  
15827
 
15828
        * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
15829
        support ifdef _USE_WRITE missed in last change.
15830
        From Anders Blomdell .
15831
 
15832
Wed Jun 25 10:18:49 1997  Doug Evans  
15833
 
15834
        * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
15835
        (_tmpnam_r, _tempnam_r): Update.
15836
 
15837
Wed Jun 25 00:16:55 1997  Mark Alexander  
15838
 
15839
        * libc/machine/sparc/setjmp.S: New file.
15840
        * libc/machine/sparc/Makefile.in: Add setjmp.
15841
        * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
15842
 
15843
Tue Jun 24 23:27:38 1997  Mark Alexander  
15844
 
15845
        * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
15846
 
15847
Tue Jun 24 14:53:40 1997  Doug Evans  
15848
 
15849
        From Joel Sherrill .
15850
        * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
15851
 
15852
        Add rtems support.  From Joel Sherrill .
15853
        * configure.in: Recognize *-*-rtems*.
15854
        * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
15855
        * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
15856
        time.h,times.h,types.h}: New files.
15857
        * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
15858
 
15859
Fri Jun 20 11:13:16 1997  Geoffrey Noer  
15860
 
15861
        patch from sos@prospect.com.ru (Sergey Okhapkin):
15862
        * include/sys/wait.h: correct operator precidence bug
15863
        in WIFSIGNALED
15864
 
15865
Wed Jun 18 22:08:27 1997  Geoffrey Noer  
15866
 
15867
        * libc/include/stdlib.h: remove unsetenv proto since it conflicts
15868
        with newlib's unsetenv function
15869
        * libc/sys/cygwin32/sys: new directory for includes
15870
        * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
15871
        here from winsup/include/sys
15872
 
15873
Mon Jun 16 21:02:22 1997  Geoffrey Noer  
15874
 
15875
        * libc/include/sys/unistd.h: _exit should only be
15876
        labelled noreturn when not __CYGWIN32__
15877
        * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
15878
        * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
15879
        increment NSIG
15880
 
15881
Thu Jun 12 18:52:41 1997  Ian Lance Taylor  
15882
 
15883
        * libc/include/sys/time.h: Only define timeval and timezone if
15884
        _GNU_H_WINDOWS32_SOCKETS is not defined.
15885
        * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
15886
 
15887
Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
15888
 
15889
        * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
15890
        * libc/machine/mn10300/setjmp.S: Likewise.
15891
 
15892
        * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
15893
        the mn10300 (more relaxing opportunities).
15894
 
15895
Tue Jun 10 17:24:45 1997  Mike Meissner  
15896
 
15897
        * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
15898
        Build libraries with -mstrict-align.
15899
 
15900
Fri Jun  6 14:07:59 1997  Ian Lance Taylor  
15901
 
15902
        * libc/string/strlwr.c: New file.
15903
        * libc/string/strupr.c: New file.
15904
        * libc/include/string.h: Declare strlwr and strupr.
15905
        * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
15906
        (CHEWOUT_FILES): Add strlwr.def and strupr.def.
15907
        (strlwr.o, strupr.o): New targets.
15908
        * libc/string/strings.tex: Include strlwr and strupr docs.
15909
 
15910
        * libc/include/sys/types.h: Don't define u_char, et. al., if
15911
        _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
15912
        et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
15913
        _types_fd_set rather than fd_set, and define fd_set as a macro.
15914
 
15915
        * libc/include/malloc.h: New file.
15916
 
15917
        * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
15918
        strnicmp if they are not already defined.
15919
 
15920
        * libc/include/time.h: If __CYGWIN32__, declare tzset and define
15921
        _timezone, _daylight, and _tzname.
15922
 
15923
Wed Jun  4 12:51:16 1997  Doug Evans  
15924
 
15925
        * configure.in: Sort all configuration tables.
15926
 
15927
        From Joel Sherrill 
15928
        * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
15929
 
15930
Tue Jun  3 14:47:46 1997  Ian Lance Taylor  
15931
 
15932
        * libc/include/sys/signal.h: Don't include .  Just
15933
        use int when declaring kill.
15934
 
15935
        * libc/include/sys/timeb.h: New file.
15936
 
15937
Mon Jun  2 12:06:58 1997  Geoffrey Noer  
15938
 
15939
        * libc/include/sys/time.h: add itimer support for Cygwin32
15940
 
15941
Mon May 19 11:56:46 1997  Mike Meissner  
15942
 
15943
        * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
15944
        out a message that abort was called to stderr.
15945
 
15946
Fri May 16 15:02:59 1997  Bob Manson  
15947
 
15948
        * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
15949
        so that libio doesn't freak.
15950
 
15951
        * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
15952
        int.
15953
 
15954
        * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
15955
        memory sizes, not int.
15956
 
15957
Wed May 14 21:16:58 1997  Bob Manson  
15958
 
15959
        * libm/math/ef_hypot.c: Use long constants where
15960
        appropriate.
15961
        * libm/math/ef_sqrt.c: Ditto.
15962
 
15963
        * libc/sys/sysmec/times.c(_times): Change to times.
15964
 
15965
        * libc/sys/sysmec/read.c(_read): The third argument is
15966
        size_t.
15967
        * libc/sys/sysmec/write.c (_write): Ditto.
15968
 
15969
        * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
15970
        (_lseek): It's off_t for the second argument.
15971
 
15972
Wed May 14 15:23:36 1997  Mike Meissner  
15973
 
15974
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
15975
        as well as machine/ieeefp.h.
15976
 
15977
Thu May  8 15:47:25 1997  Geoffrey Noer  
15978
 
15979
        * libc/include/sys/signal.h: add signal protos for winsup
15980
        functions (when __CYGWIN32__), include types.h
15981
        * libc/include/sys/types.h: Change __go32_types__ internal
15982
        define to __MS_types__ since it's used for more than just
15983
        GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
15984
        defined.
15985
        * libc/include/sys/unistd.h: add ftruncate proto for
15986
        winsup functions (when __CYGWIN32__)
15987
 
15988
Fri Apr 25 10:10:16 1997  Doug Evans  
15989
 
15990
        * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
15991
 
15992
Thu Apr 24 15:46:51 1997  Mike Stump  
15993
 
15994
        * libc/include/machine/setjmp.h: Add tic80 support.
15995
        * libc/machine/tic80/setjmp.S: Likewise.
15996
 
15997
Tue Apr 22 16:54:40 1997  Geoffrey Noer  
15998
 
15999
        * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
16000
        link programs from libraries only (such as in the X11
16001
        distribution)
16002
 
16003
Mon Apr 21 15:02:12 1997  Fred Fish  
16004
 
16005
        * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
16006
        supplied elsewhere in newlib.
16007
 
16008
Mon Apr 14 16:25:55 1997  Ian Lance Taylor  
16009
 
16010
        * Makefile.in (INSTALL): Change install.sh to install-sh.
16011
 
16012
Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16013
 
16014
        * README: update WWW address for on-line documentation.
16015
 
16016
Wed Apr  9 00:38:13 1997  Geoffrey Noer  
16017
 
16018
        * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
16019
        increment NSIG
16020
 
16021
Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
16022
 
16023
        * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
16024
        mn10300.
16025
        * libc/sys/sysmec/trap.S: Don't compare a register to itself.
16026
 
16027
Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
16028
 
16029
        * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
16030
        * libc/sys/d10v/syscalls.c: Likewise.
16031
        * libc/sys/h8300hms/sbrk.c: Likewise.
16032
        * libc/sys/h8500hms/syscalls.c: Likewise.
16033
        * libc/sys/m88kbug/syscalls.c: Likewise.
16034
        * libc/sys/sh/syscalls.c: Likewise.
16035
        * libc/sys/sysmec/sbrk.c: Likewise.
16036
        * libc/sys/sysnecv850/sbrk.c: Likewise.
16037
        * libc/sys/w65/syscalls.c: Likewise.
16038
        * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
16039
 
16040
Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
16041
 
16042
        * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
16043
        emulated syscall instead of "trap".
16044
 
16045
Fri Mar 14 11:26:13 1997  Michael Meissner  
16046
 
16047
        * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
16048
        not trap 0.
16049
 
16050
Sun Mar  9 23:27:04 1997  Doug Evans  
16051
 
16052
        * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
16053
 
16054
Sat Mar  8 09:05:01 1997  Fred Fish  
16055
 
16056
        * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
16057
        not "sh".
16058
        * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
16059
        not "d10v".
16060
        * libc/sys/tic80/crt0.c: New file for TIc80.
16061
        * libc/sys/tic80/Makefile.in: New file for TIc80.
16062
        * libc/machine/tic80/Makefile.in: New file for TIc80.
16063
 
16064
Wed Mar  5 11:32:12 1997  J.T. Conklin  
16065
 
16066
        * libc/machine/sh/memcpy.S: New file.
16067
        * libc/machine/sh/memset.S: New file.
16068
        * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
16069
 
16070
Thu Feb 27 16:27:55 1997  Fred Fish  
16071
 
16072
        * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
16073
        for TIc80.
16074
 
16075
Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
16076
 
16077
        * libc/sys/sysmec/crt0.S: Handle new calling conventions for
16078
        the mn10200.
16079
 
16080
Wed Feb 26 07:11:03 1997  Michael Meissner  
16081
 
16082
        * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
16083
        (patch from andrew@pogo.WV.TEK.COM).
16084
 
16085
Fri Feb 14 11:49:28 1997  Doug Evans  
16086
 
16087
        * libc/machine/m32r/setjmp.S (setjmp): Save r12.
16088
        (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
16089
 
16090
Mon Feb 10 10:02:34 1997  Fred Fish  
16091
 
16092
        * configure.in:  Add cases for "tic80" to set machine_dir,
16093
        sys_dir, and syscall_dir.
16094
 
16095
Sun Feb  2 17:57:15 1997  Geoffrey Noer  
16096
 
16097
        * libc/sys/cygwin32/crt0.c: initialize floating pt registers
16098
 
16099
Wed Jan 29 15:57:38 1997  Geoffrey Noer  
16100
 
16101
        * libc/include/math.h: avoid conflicts with ANSI C++ 
16102
 
16103
Mon Jan 27 12:50:01 1997  Doug Evans  
16104
 
16105
        * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
16106
        Use proper constant prefix.
16107
 
16108
Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
16109
 
16110
        * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
16111
        that loses on the mn10200 where ints and pointers are different
16112
        sizes.
16113
 
16114
Tue Jan 14 13:29:55 PST 1997  Jeremy Allison 
16115
 
16116
        * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
16117
        target as signal is provided in winsup.
16118
 
16119
Tue Jan 14 11:10:13 1997  Jeremy Allison 
16120
 
16121
        * libc/include/sys/process.h: Corrected const definitions
16122
        in spawn functions. Added cwait.
16123
 
16124
Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
16125
 
16126
        * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
16127
        doubles.
16128
        * libc/include/sys/config.h: Similarly.
16129
 
16130
Tue Dec 31 18:36:14 1996  Michael Meissner  
16131
 
16132
        * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
16133
        target_cflags.
16134
        (i[3456]86-*-sco*): Ditto.
16135
 
16136
        * libc/signal/Makefile.in (OFILES): Add signal.o.
16137
        (CFILES): Add signal.c.
16138
 
16139
        * libc/signal/raise.c (_raise_r): Only compile code if
16140
        SIGNAL_PROVIDED is defined.
16141
 
16142
        * libc/signal/signal.c: Redo whole file so that it works with
16143
        current newlib.  Use _kill_r if no signal handler provided.
16144
 
16145
        * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
16146
        signal stubs.
16147
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
16148
        * libc/sys/sysnecv850/Makefile.in: Ditto.
16149
 
16150
        * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
16151
        * libc/sys/sysmec/{raise,signal}.c: Ditto.
16152
        * libc/sys/sysvnecv70/signal.s: Ditto.
16153
        * libc/sys/sysnecv850/raise.c: Ditto.
16154
 
16155
        * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
16156
        simulator and debugger can tell the difference between a signal
16157
        being raised and an exit system call.
16158
 
16159
        * NEWS: Document software signals being provided.
16160
 
16161
Mon Dec 23 11:54:19 1996  Michael Meissner  
16162
 
16163
        * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
16164
        __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
16165
        include/sys/config.h.
16166
        (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
16167
        Change from 'inpure_data'.
16168
        (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
16169
        &impure_data, not &inpure_data.
16170
 
16171
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
16172
        and and System V ABI, define so that _impure_ptr lives in the
16173
        .sdata section.
16174
 
16175
Sun Dec 22 23:33:05 1996  Michael Meissner  
16176
 
16177
        * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
16178
        nothing if not defined.
16179
        (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
16180
        its attributes.
16181
 
16182
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
16183
 
16184
Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
16185
 
16186
        * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
16187
        * libc/sys/sysmec/trap.s: Handle mn10200 too.
16188
        * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
16189
 
16190
Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
16191
 
16192
        * libc/sys/sysmec/crt0.S: Handle mn10200 too.
16193
 
16194
Fri Dec 13 11:05:20 1996  Jeremy Allison 
16195
 
16196
        * libc/include/sys/errno.h: Added net errno's.
16197
 
16198
Wed Dec 11 16:24:25 1996  Michael Meissner  
16199
 
16200
        * libc/misc/ffs.c: New file to support ffs function for GCC test
16201
        gcc.c-torture/execute/960909-1.c.
16202
 
16203
        * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
16204
 
16205
Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
16206
 
16207
        * libc/sys/sysmec/crt0.S: Handle underscore prefix.
16208
        * libc/sys/sysmec/trap.S: Likewise.
16209
 
16210
Fri Dec  6 15:08:49 1996  Jim Wilson  
16211
 
16212
        * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
16213
        * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
16214
 
16215
Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
16216
 
16217
        * libc/sys/sysmec/signal.c: Dummy file.
16218
        * libc/sys/sysmec/Makefile.in: Build it.
16219
 
16220
Wed Nov 27 13:10:18 1996  Ian Lance Taylor  
16221
 
16222
        * libc/machine/mips/machine/regdef.h: Define pc as $pc for
16223
        mips16.
16224
 
16225
Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
16226
 
16227
        * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
16228
        c-startup and simulator traps.
16229
 
16230
 
16231
        * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
16232
        * libc/sys/sysmec/trap0.S: Likewise.
16233
 
16234
Sat Nov 23 09:01:03 1996  Michael Meissner  
16235
 
16236
        * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
16237
        round to double word alignment.
16238
        (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
16239
        byte alignment.
16240
 
16241
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
16242
 
16243
        * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
16244
        out of memory.
16245
 
16246
Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
16247
 
16248
        * configure.in: Handle mn10200 and mn10300.
16249
        * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
16250
        * libc/include/sys/config.h: Likewise.
16251
        * libc/sys/sysmec: New directory for mec stuff.
16252
        * libc/machine/mn10300: New directory for mn10300 stuff.
16253
        * libc/machine/mn10200: Similarly for mn10200 stuff.
16254
 
16255
Fri Nov 15 16:41:41 1996  Doug Evans  
16256
 
16257
        * libc/sys/arm/crt0.S: Use .text, not .section .text.
16258
        * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
16259
 
16260
        * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
16261
        (nlink_t): Change type from unsigned int to unsigned short.
16262
        (mode_t): Ensure size is 32 bits even if int is 16.
16263
        * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
16264
        (st_spare[123]): Change type from int to long.
16265
 
16266
Fri Nov 15 11:41:50 1996  Michael Meissner  
16267
 
16268
        * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
16269
        byte boundary.
16270
 
16271
        * configure.in (d10v*): Define SMALL_MEMORY.
16272
 
16273
Mon Nov 11 10:30:44 1996  Michael Meissner  
16274
 
16275
        * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
16276
        -mrelocatable-lib and -mno-eabi flags.
16277
 
16278
Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
16279
 
16280
        * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
16281
        Fix handling of mis-aligned source operand when both the
16282
        destination & length are properly aligned.
16283
 
16284
Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
16285
 
16286
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add
16287
        times.o, time.o and gettime.o
16288
        * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
16289
        * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
16290
        SYS_gettimeofday.
16291
 
16292
Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
16293
 
16294
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
16295
        * libc/sys/sysnecv850/access.c: New file.
16296
 
16297
Mon Oct 21 19:47:02 1996  Ian Lance Taylor  
16298
 
16299
        * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
16300
 
16301
        * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
16302
        long.
16303
 
16304
Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
16305
 
16306
        * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
16307
 
16308
Thu Oct 17 11:47:16 1996  Doug Evans  
16309
 
16310
        * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
16311
        * libc/include/sys/config.h: Add m32r support.
16312
 
16313
Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
16314
 
16315
        * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
16316
        here.
16317
 
16318
Wed Oct 16 21:18:07 1996  Mark Alexander  
16319
 
16320
        * libc/include/machine/setjmp.h: Add D10v support.
16321
 
16322
Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
16323
 
16324
        * configure.in: Configure the "libc/syscalls" directory for
16325
        the v850.
16326
 
16327
        * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
16328
        * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
16329
        * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
16330
        * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
16331
        * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
16332
 
16333
Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
16334
 
16335
        * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
16336
        stack for args for main and other routines.  Zero out args for
16337
        main.
16338
 
16339
        * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
16340
        correctly.
16341
 
16342
Tue Oct 15 11:51:42 1996  Michael Meissner  
16343
 
16344
        * libc/stdio/findfp.c (std): Remove extraneous ';' after
16345
        function.
16346
 
16347
        * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
16348
 
16349
        * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
16350
        real system calls now.
16351
 
16352
        * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
16353
        before casting them to int.
16354
        * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
16355
 
16356
        * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
16357
        aligning pointer.
16358
        * libc/string/memset.c (memset): Ditto.
16359
 
16360
        * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
16361
        first convert ints to _POINTER_INT to eliminate GCC warning.
16362
 
16363
        * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
16364
        processing %p.
16365
 
16366
        * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
16367
        from 65000 if ints are only 16 bits.
16368
 
16369
        * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
16370
        from 50000 if ints are only 16 bits.
16371
 
16372
        * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
16373
        int type that is the same size as a pointer.
16374
 
16375
        * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
16376
        processing %p.
16377
        (get_number): Explicitly cast number to long before shifting by 16
16378
        or 24, in case ints are short.
16379
 
16380
        * libc/include/sys/config.h (_POINTER_INT): Define as short.
16381
 
16382
Wed Oct  9 16:54:32 1996  Jeremy Allison 
16383
 
16384
        * libc/string.h: Added ffs, removed swab.
16385
        * libc/sys/errno.h: Added EOPNOTSUPP.
16386
        * libc/sys/unistd.h: Added swab.
16387
 
16388
Thu Oct  3 17:08:50 1996  Jeremy Allison 
16389
 
16390
        * libc/include/sys/stat.h: Added fchmod.
16391
        * libc/include/sys/unistd.h: Added fsync.
16392
 
16393
Tue Oct  1 17:34:08 1996  Jeremy Allison 
16394
 
16395
        * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
16396
        and ECONNRESET (104) for cygwin32.
16397
 
16398
Tue Oct  1 16:24:05 1996  Gavin Koch  
16399
 
16400
        * libc/sys/sysnecv850/_exit.c: added _do_dtors to
16401
        do the static destructors.
16402
 
16403
Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
16404
 
16405
        * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
16406
 
16407
Mon Sep 30 12:02:50 1996  Doug Evans  
16408
 
16409
        * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
16410
        * configure.in: Recognize m32r-*-*.
16411
 
16412
Mon Sep 30 00:34:41 1996  James G. Smith  
16413
 
16414
        * libc/sys/arm/trap.S (__rt_stkovf_split_big,
16415
        __rt_stkovf_split_small): Added default software stack overflow
16416
        handlers, which just call SWI_Exit.
16417
        * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
16418
        limit initialisation.
16419
 
16420
Fri Sep 27 13:08:03 1996  Mark Alexander  
16421
 
16422
        * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
16423
 
16424
Fri Sep 27 12:32:00 1996  Jeremy Allison 
16425
 
16426
        * libc/include/sys/types.h: Added ssize_t definition.
16427
 
16428
Wed Sep 25 14:52:18 1996  Michael Meissner  
16429
 
16430
        * libc/machine/d10v/setjmp.S: Use ';' for comments.
16431
        * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
16432
 
16433
        * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
16434
        branch around a single ldi instruction.
16435
 
16436
        * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
16437
        Call exit, instead of just issuing a stop instruction.
16438
 
16439
Sun Sep 22 17:26:55 1996  Michael Meissner  
16440
 
16441
        * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
16442
 
16443
Fri Sep 20 13:23:12 1996  Michael Meissner  
16444
 
16445
        * libc/stdlib/mprec.h: Explicitly declare all large constants as
16446
        longs, and then cast them to __uint32_t.
16447
 
16448
        * libc/include/sys/config.h: Protect against multiple inclusions.
16449
 
16450
Tue Sep 17 13:10:33 1996  Mark Alexander  
16451
 
16452
        * configure.in (d10v*): Set syscall_dir.
16453
 
16454
Sun Sep 15 10:41:59 1996  Mark Alexander  
16455
 
16456
        * libc/sys/d10v/crt0.S: Set stack pointer.
16457
 
16458
Thu Sep 12 13:02:38 1996  Mark Alexander  
16459
 
16460
        * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
16461
        in assembly for efficiency.  Change calling convention to allow
16462
        long ints to be returned.
16463
 
16464
Wed Sep 11 10:28:18 1996  Michael Meissner  
16465
 
16466
        * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
16467
 
16468
Thu Sep  5 19:23:06 1996  Doug Evans  
16469
 
16470
        * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
16471
        Handle empty entries in $PATH.
16472
 
16473
Tue Sep 03 18:15:02 1996  Mark Alexander  
16474
 
16475
        * libc/machine/d10v/setjmp.S: Make it really work.
16476
 
16477
Tue Sep  3 12:16:26 1996  Ian Lance Taylor  
16478
 
16479
        * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
16480
        the .stack section.
16481
 
16482
Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
16483
 
16484
        * sys/sysnecv850/sys/file.h: Remove.
16485
        * sys/sysnecv850/sys/syscall.h: New file.
16486
        * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
16487
        * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
16488
        * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
16489
        * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
16490
        * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
16491
        * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
16492
        * sys/sysnec850/trap.S: New file.
16493
        * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
16494
        syscalls.
16495
        * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
16496
        * sys/sysnec850/sbrk.c: New version.
16497
 
16498
Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
16499
 
16500
        * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
16501
        as long as r6 is less than r7.
16502
 
16503
Sun Sep  1 13:54:19 1996  Ian Lance Taylor  
16504
 
16505
        * Makefile.in (mostlyclean): Separate from clean target.  Don't
16506
        remove *.a or targ-include.
16507
        * libc/machine/sparc/Makefile.in (mostlyclean): New target.
16508
 
16509
Sun Sep  1 11:35:26 1996  Michael Meissner  
16510
 
16511
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
16512
        d10v.
16513
        (__SMALL_BITFIELDS): Ditto.
16514
 
16515
        * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
16516
 
16517
Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
16518
 
16519
        * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
16520
        prefix.
16521
 
16522
        * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
16523
        * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
16524
        * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
16525
        * libc/sys/sysnecv850/write.c (write): Likewise.
16526
 
16527
        * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
16528
        .bss.
16529
 
16530
Fri Aug 30 11:18:45 1996  Michael Meissner  
16531
 
16532
        * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
16533
        appropriately for D10V, depending on -mint16/-mint32.
16534
 
16535
Thu Aug 29 16:09:37 1996  Mark Alexander  
16536
 
16537
        * configure.in: Add cases for D10V.
16538
 
16539
Thu Aug 29 17:03:23 1996  Michael Meissner  
16540
 
16541
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
16542
 
16543
Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
16544
 
16545
        * libc/include/machine/ieeefp.h: Fix typo.
16546
 
16547
Wed Aug 28 19:47:55 1996  Mark Alexander  
16548
 
16549
        * libc/sys/d10v: New directory for D10V stuff.
16550
        * libc/include/machine/ieeefp.h: Add D10V defines.
16551
 
16552
Mon Aug 26 13:34:58 1996  Doug Evans  
16553
 
16554
        * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
16555
        ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
16556
        ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
16557
        * libc/string/strerror.c (strerror): Add them.
16558
 
16559
Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
16560
 
16561
        * libc/sys/sysnecv850: New directory for v850 stuff.
16562
 
16563
        * libc/machine/v850: New directory for v850 stuff.
16564
        * libc/machine/v850/setjmp.S: setjmp/longjmp support.
16565
 
16566
        * configure.in: Add support for the v850.
16567
 
16568
        * libc/include/machine/ieeefp.h: Add v850 defines.
16569
        * libc/include/machine/setjmp.h: Likewise.
16570
        * libc/include/sys/config.h: Add v850 defines.
16571
 
16572
Sat Aug 17 04:06:36 1996  Geoffrey Noer  
16573
 
16574
        * libc/include/machine/ieeefp.h
16575
        * libc/include/machine/setjmp.h
16576
        * libc/include/sys/fcntl.h
16577
        * libc/include/sys/signal.h
16578
        * libc/include/sys/types.h
16579
        * libc/stdlib/system.c:
16580
        Fix preprocessor defines to match new scheme (_WIN32 for WIN32
16581
        API availability, __CYGWIN32__ for cygwin32 environment specific).
16582
 
16583
Thu Aug 15 17:09:21 1996  Geoffrey Noer  
16584
 
16585
        * libc/include/stdlib.h: add multibyte character functions.  Add
16586
        __eprintf for assert.
16587
 
16588
Thu Aug 15 11:15:40 1996  Michael Meissner  
16589
 
16590
        * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
16591
        arithmetic or __alignof__ to properly get the alignment, instead
16592
        of hardwiring it to 4.
16593
 
16594
Wed Aug 14 23:43:28 1996  Geoffrey Noer  
16595
 
16596
        * libc/stdio/fseek.c: add fflush call to adjust seek offset
16597
        on append stream (fix from NetBSD sources), adjust curoff offset
16598
        for ungetc's benefit.
16599
        * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
16600
        * libc/stdio/rewind.c: replace code with up to date NetBSD
16601
        code to undo hacks made to work around above problem of not
16602
        having fflush call mentioned above
16603
 
16604
Fri Aug  2 18:28:07 1996  J.T. Conklin  
16605
 
16606
        * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
16607
        openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
16608
        Partially revert last changes.  The thread specific errno is set
16609
        iff if the underlying syscall fails and the global errno is not
16610
        zero.
16611
 
16612
Fri Jul 19 11:41:52 1996  J.T. Conklin  
16613
 
16614
        * libc/reent/filer.c: Removed files, all functions have split out
16615
        into their own files.
16616
        * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
16617
        New files containing functions formally in filer.c
16618
        * libc/reent/Makefile.in: Updated for above change.
16619
 
16620
        * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
16621
        syscall fails, not if errno is changed.
16622
        * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
16623
        _write_r): Likewise.
16624
        * libc/reent/fstatr.c (_fstat_r): Likewise.
16625
        * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
16626
        * libc/reent/sbrkr.c (_sbrk_r): Likewise.
16627
        * libc/reent/signalr.c (_kill_r): Likewise.
16628
        * libc/reent/statr.c (_stat_r): Likewise.
16629
        * libc/reent/timer.c (_gettimeofday_r): Likewise.
16630
 
16631
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
16632
        signalr.c, statr.c, timer.c} (errno): declare extern rather
16633
        than as a common.
16634
 
16635
        * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
16636
        instead of calling vfprintf so that i*printf will not require
16637
        floating point support code.
16638
 
16639
Mon Jul 15 16:50:59 1996  Doug Evans  
16640
 
16641
        * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
16642
        path delimiter.
16643
        * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
16644
        (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
16645
 
16646
Thu Jul 11 14:34:14 1996  Geoffrey Noer  
16647
 
16648
        * libc/include/signal.h: _sig_func_ptr function takes an int
16649
        * libc/include/sys/signal.h: sa_handler function takes an int
16650
 
16651
Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
16652
 
16653
        * libc/include/machine/ieeefp.h: Simplify H8/S support.
16654
        * libc/include/sys/config.h: Add missing H8/S conditional.
16655
 
16656
Sun Jun 30 12:05:46 1996  Doug Evans  
16657
 
16658
        * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
16659
 
16660
Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
16661
 
16662
        * libc/include/machine/setjmp.h: Handle H8/S.
16663
        * libc/include/machine/ieeefp.h: Likewise.
16664
        * libc/include/sys/config.h: Likewise.
16665
        * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
16666
        * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
16667
        * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
16668
        * libc/sys/h8300hms/crt0.S: Likewise.
16669
 
16670
Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16671
 
16672
        * Makefile.in (datadir): Set to $(prefix)/share.
16673
        (oldincludedir, docdir): Removed.
16674
        * doc/Makefile.in (datadir): Set to $(prefix)/share.
16675
        (oldincludedir, docdir): Removed.
16676
        * libc/Makefile.in (datadir): Set to $(prefix)/share.
16677
        (oldincludedir, docdir): Removed.
16678
        * libm/Makefile.in (datadir): Set to $(prefix)/share.
16679
        (oldincludedir, docdir): Removed.
16680
 
16681
Fri Jun 21 19:24:41 1996  Ian Lance Taylor  
16682
 
16683
        * libc/include/sys/reent.h (_REENT_INIT): Update for change to
16684
        _reent struct.
16685
 
16686
Wed Jun 19 14:00:09 1996  Doug Evans  
16687
 
16688
        * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
16689
        fetch current path rules with sysconf and handler posix/win32
16690
        appropriately.
16691
 
16692
        * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
16693
 
16694
        * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
16695
        (WAIT_CHILD): Always define.
16696
 
16697
Sat Jun 15 17:50:42 1996  Ian Lance Taylor  
16698
 
16699
        * libc/stdlib/eprintf.c: New file.
16700
        * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
16701
        (eprintf.o): New target.
16702
 
16703
Thu Jun 13 16:44:32 1996  Doug Evans  
16704
 
16705
        * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
16706
        (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
16707
 
16708
Thu Jun 13 17:45:17 1996  Mike Meissner  
16709
 
16710
        * libc/include/machine/ieeefp.h: Add support for AIX and Windows
16711
        NT in PowerPC endianess cases.
16712
 
16713
Tue Jun 11 12:26:28 1996  Michael Meissner  
16714
 
16715
        * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
16716
 
16717
Thu Jun  6 11:34:20 1996  Michael Meissner  
16718
 
16719
        * libc/string/strtok.c: Fix doc typo.
16720
 
16721
Mon Jun  3 11:30:00 1996  J.T. Conklin  
16722
 
16723
        * libc/include/sys/reent.h (struct _reent): Removed _asctime,
16724
        _next, _scanpoint, _signgam fields.
16725
 
16726
        * libc/include/stdlib.h (rand_r): Added new declaration.
16727
        (_rand_r, _srand_r): Removed declarations.
16728
        * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
16729
        have been made obsolete by rand_r.
16730
        * libc/stdlib/rand_r.c: New file, rand_r function as specified
16731
        by POSIX.1c.
16732
 
16733
        * libc/string/strtok.c: Update documentation to describe
16734
        strtok_r().
16735
 
16736
Sat Jun  1 23:50:39 1996  Michael Meissner  
16737
 
16738
        * libc/include/sys/stat.h (stat structure): Use the expanded stat
16739
        structure on Solaris, and PowerPC systems even though __svr4__ is
16740
        defined.
16741
 
16742
Tue May 28 13:02:42 1996  Doug Evans  
16743
 
16744
        * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
16745
 
16746
Fri May 17 10:34:44 1996  Ian Lance Taylor  
16747
 
16748
        * host/any: Use ../.. rather than .. to get to the main build
16749
        directory.  This matches the current layout of the build
16750
        directory.
16751
 
16752
Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
16753
 
16754
        * libc/machine/h8300/__main.S: Delete.  No longer needed.
16755
        * libc/machine/h8300/Makefile.in: Corresponding changes.
16756
        * libc/sys/h8300hms/crt1.c: New file.
16757
        * libc/sys/h8300hms/Makefile.in: Corresponding changes.
16758
        * libc/sys/h8300hms/crt0.s: Call __main.
16759
 
16760
        * libc/sys/h8300hms/crt0.S: Use temporary label names
16761
        for branch targets.
16762
 
16763
Mon May 13 14:26:30 1996  Doug Evans  
16764
 
16765
        * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
16766
 
16767
Fri May  3 16:38:23 1996  Michael Meissner  
16768
 
16769
        * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
16770
        .sdata on the PowerPC so that we can link newlib with code
16771
        compiled with -msdata.
16772
 
16773
Mon Apr 29 21:38:02 1996  Doug Evans  
16774
 
16775
        * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
16776
 
16777
Thu Apr 25 06:38:59 1996  Michael Meissner  
16778
 
16779
        * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
16780
        exception handler to __cygwin_exception_handler.
16781
 
16782
Tue Apr 23 15:14:20 1996  Ian Lance Taylor  
16783
 
16784
        * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
16785
 
16786
Sun Apr 21 12:11:51 1996  Doug Evans  
16787
 
16788
        * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
16789
        SunOS VPATH.
16790
        * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
16791
        wcstombs.o): Likewise.
16792
 
16793
Thu Apr 18 12:37:01 1996  Doug Evans  
16794
 
16795
        * libc/stdlib/environ.c (initial_env): New static local.
16796
        (environ): Point to `initial_env'.
16797
 
16798
        * libc/include/machine/setjmp.h: Clean up.
16799
        (__H8300H__,__PPC__): Define _JBTYPE.
16800
        (__arm__): Provide entry for.
16801
        (sigjmp_buf): Delete.
16802
        (jmp_buf): Use _JBTYPE if defined, otherwise int.
16803
 
16804
Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
16805
 
16806
        * libc/machine/h8300/strcmp.S: Sign extend the result to
16807
        32bits so we don't lose with -mint32.
16808
 
16809
Sun Apr 14 19:59:52 1996  Doug Evans  
16810
 
16811
        * libc/sys/go32/sys/errno.h: New file.
16812
        * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
16813
        * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
16814
        errno's address (make compatible with rest of newlib).
16815
        * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
16816
        * libc/string/strerror.c (strerror): Surround each case with #ifdef.
16817
 
16818
Thu Mar 28 13:44:42 1996  Doug Evans  
16819
 
16820
        * libc/machine/sparc/{scan.c,shuffle.c}: New files.
16821
        * libc/machine/sparc/Makefile.in: Build them.
16822
        * libc/machine/sparc/machine/sparclet.h: New file.
16823
 
16824
Mon Mar 25 15:29:14 1996  J.T. Conklin  
16825
 
16826
        * libc/machine/sh/asm.h: New file.
16827
        * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
16828
        support for SH3e's FP registers.  Use asm.h.
16829
 
16830
Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
16831
 
16832
        * libc/stdio/vfprintf.c (cvt): Accept a reent structure
16833
        as first argument.  Call _dtoa_r and pass the reent structure
16834
        instead of calling __dtoa.
16835
 
16836
Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
16837
 
16838
        * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
16839
        the h8300, h8500, and others.  Add comments for some rather
16840
        dubious code.
16841
 
16842
Thu Mar 14 18:04:43 1996  Ian Lance Taylor  
16843
 
16844
        * Makefile.in (check): Check that testsuite exists before cd.
16845
 
16846
Tue Mar 12 11:46:47 1996  Michael Meissner  
16847
 
16848
        * libc/include/string.h (strsep): Correct prototype.
16849
 
16850
Mon Mar 11 09:55:19 1996  Doug Evans  
16851
 
16852
        * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
16853
        * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
16854
        * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
16855
 
16856
Wed Mar  6 11:51:55 1996  Doug Evans  
16857
 
16858
        * libc/posix/{creat.c,isatty.c}: New files.
16859
        * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
16860
 
16861
        * libc/sys/sparc64/crt0.S (environ): Delete.
16862
        (.LHaveBias): Renamed from HaveBias.
16863
 
16864
Thu Feb 15 10:48:37 1996  Doug Evans  
16865
 
16866
        * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
16867
        (_morecore_r): Delete SBRK_IS_ALLOC support.
16868
 
16869
Tue Feb 13 09:44:09 1996  Michael Meissner  
16870
 
16871
        * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
16872
        module rather than touch, so we don't get warning messages when
16873
        all of the libraries are combined into libc.a.
16874
 
16875
Tue Feb 13 06:32:07 1996  Doug Evans  
16876
 
16877
        * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
16878
        crt0.s replaced by version in libgloss.
16879
 
16880
Mon Feb  5 15:17:51 1996  J.T. Conklin  
16881
 
16882
        * libc/reent/Makefile.in (OFILES): Add impure.o.
16883
        * libc/reent/impure.o: New file, define initial reentrancy struct.
16884
        * libc/reent/reent.c: Remove above definition.
16885
 
16886
        * libm/math/sf_asinh.c: Fix typo.
16887
 
16888
        * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
16889
        srf_ldexp.o.
16890
 
16891
        * libm/libm.texinfo: Change documentation to reflect changes
16892
        in reentrancy model.
16893
        * libm/math/w_gamma.c: Likewise.
16894
 
16895
Wed Jan 31 18:49:45 1996  Steve Chamberlain  
16896
 
16897
        * configure.in (*-*-cygwin32): New.
16898
        (*-*-win32): Deleted.
16899
        * libc/sys/win32 renamed libc/sys/cygwin32.
16900
 
16901
Tue Jan 30 22:09:03 1996  Michael Meissner  
16902
 
16903
        * libc/include/sys/file.h: New include file.
16904
 
16905
Fri Jan 26 15:52:54 1996  Steve Chamberlain  
16906
 
16907
        * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
16908
 
16909
Tue Jan 23 17:49:16 1996  Steve Chamberlain  
16910
 
16911
        * libc/include/sys/wait.h (WIFSIGNALED): Fix.
16912
 
16913
Tue Jan 16 09:28:10 1996  Michael Meissner  
16914
 
16915
        * doc/makedoc.c (realloc): Declare at file scope.
16916
        (catchar): Not here.
16917
 
16918
Wed Dec 27 15:45:23 1995  Doug Evans  
16919
 
16920
        * Makefile.in (VERSION): Update to 1.7.0.
16921
        * {libc,libm}/Makefile.in (VERSION): Likewise.
16922
        * configure.in: Minor clean up of multilib stuff.
16923
 
16924
        From David Johnson 
16925
        * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
16926
 
16927
        * libc/stdlib/environ.c: New file.
16928
        * libc/stdlib/Makefile.in (OFILES): Build it.
16929
        * libc/sys/h8500hms/crt0.c (environ): Deleted.
16930
        * libc/sys/m88kbug/crt0.c (environ): Deleted.
16931
        * libc/sys/z8ksim/crt0.c (environ): Deleted.
16932
        * libc/sys/netware/environ.c: Deleted.
16933
 
16934
Tue Dec 19 15:24:46 1995  Kim Knuttila  
16935
 
16936
        * configure.in (links): set sys_dir, posix_dir, syscall_dir
16937
 
16938
Wed Dec 13 04:16:25 1995  Michael Meissner  
16939
 
16940
        * doc/makedoc.c (init_string_with_size,nextword): Move malloc
16941
        declaration out to external scope and declare it PTR, not char *.
16942
 
16943
Mon Dec 11 17:35:12 1995  steve chamberlain  
16944
 
16945
        * libc/include/sys/unistd.h (getpagesize): New declaration.
16946
        (_SC_PAGESIZE): New definition.
16947
        * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
16948
        * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
16949
 
16950
Fri Dec  1 16:48:46 1995  James G. Smith  
16951
 
16952
        * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
16953
        addressing. System call returns size, not (last address + 1).
16954
 
16955
Thu Nov 30 15:05:26 1995  J.T. Conklin  
16956
 
16957
        * libm/math/*.c: Removed _foo_r() reentrancy API.
16958
        * libc/include/math.h: Removed _foo_r prototypes and macros.
16959
 
16960
        * libm/math/*.c: On systems with IEEE single precision "doubles"
16961
        move foo() -> foof() wrapper code from the files that implement
16962
        the standard IEEE double precision functions to the files that
16963
        implement IEEE single precision functions. (ie. On those systems
16964
        sin is moved from s_sin.c to sf_sin.c).  There should eventually
16965
        be use of a C extension (like gcc's alias attribute) so that the
16966
        wrappers are not needed at all.
16967
 
16968
        * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
16969
        strict NEC V810 compiler.
16970
        * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
16971
        for same reason.
16972
 
16973
Wed Nov 29 14:25:05 1995  J.T. Conklin  
16974
 
16975
        * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
16976
        from NetBSD C library.
16977
        * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
16978
 
16979
        * libc/stdlib/assert.c (__assert): Renamed from __assertfail
16980
        and adapted from implementation I wrote for NetBSD C library.
16981
        The difference is __assert doesn't take a format argument,
16982
        so that there won't be multiple copies of the same string
16983
        constant in the executable if assertions are enabled in
16984
        more than one source module.
16985
        * libc/include/assert.h (assert): Changed to call __assert.
16986
 
16987
Tue Nov 28 16:54:26 1995  J.T. Conklin  
16988
 
16989
        * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
16990
        word1 on systems with 32 bit doubles.
16991
        * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
16992
        so that we can do arithmetic on them.
16993
        * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
16994
        compilers.
16995
 
16996
Tue Nov 28 16:03:32 1995  Doug Evans  
16997
 
16998
        * libc/sys/arm/crt0.S: Zero bss.
16999
 
17000
Fri Nov 24 16:09:23 1995  Doug Evans  
17001
 
17002
        * libc/include/unctrl.h: New file.
17003
        * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
17004
        * configure.in (subdirs): Add libc/misc.
17005
        * libc/Makefile.in (SUBDIRS): Add misc.
17006
        (SUBLIBS): Add misc/lib.a.
17007
 
17008
        * libc/include/sys/reent.h (struct _reent): Make __sf last member.
17009
 
17010
Wed Nov 22 19:49:47 1995  Doug Evans  
17011
 
17012
        * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
17013
        (_vfprintf_r): Call CHECK_INIT.
17014
 
17015
Tue Nov 14 02:52:12 1995  Doug Evans  
17016
 
17017
        * Makefile.in (MULTITOP): Delete.
17018
        (MULTISRCTOP, MULTIBUILDTOP): Add.
17019
        * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
17020
        instead of cfg-ml-pos.in.
17021
 
17022
Wed Nov  8 01:24:08 1995  James G. Smith  
17023
 
17024
        * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
17025
        * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17026
        presence.
17027
 
17028
Thu Nov  2 22:25:06 1995  Michael Meissner  
17029
 
17030
        * libc/string/strtok.c: Include string.h to pick up strtok_r
17031
        prototype.
17032
 
17033
Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17034
 
17035
        * libc/string/strtok.c: include <_ansi.h>.
17036
        * libc/time/asctime_r.c: `reresult' -> `result'.
17037
 
17038
Wed Nov  1 14:35:52 1995  J.T. Conklin  
17039
 
17040
        * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
17041
        in #ifndef _REENT_ONLY ... #endif conditional.
17042
 
17043
        * libc/include/string.h (_strtok_r): Remove declaration.
17044
        * libc/include/time.h (_asctime_r): Remove declaration.
17045
        * libc/string/strtok.c (_strtok_r): Removed.
17046
        * libc/time/asctime.c (_asctime_r): Removed.
17047
 
17048
        * libc/string/Makefile.in (OFILES): Add new object.
17049
        * libc/string/strtok_r.c: New file.  strtok_r function as
17050
        specified by POSIX.1c, adapted from strtok implementation
17051
        from NetBSD C library.
17052
        * libc/string/strtok.c (strtok): Reimplemented in terms of
17053
        strtok_r.
17054
 
17055
        * libc/time/Makefile.in (OFILES): Add new objects.
17056
        * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
17057
        New files, reentrant time functions specified by POSIX.1c.
17058
        * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17059
        reentrant time functions re-written in terms of reentrant
17060
        functions.
17061
        * libc/time/lcltime.c: Renamed from localtime.c
17062
 
17063
        * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
17064
        gmtime_r, and localtime_r.
17065
 
17066
Sat Oct 28 14:34:31 1995  steve chamberlain  
17067
 
17068
        * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
17069
        * libc/include/sys/unistd.h (getlogin): Revert change of
17070
        Oct 19.
17071
        * libc/include/sys/signal.h (sigprocmask): Change prototype
17072
        so it compiles with c++.
17073
 
17074
Wed Oct 25 15:43:18 1995  Michael Meissner  
17075
 
17076
        * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
17077
        PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
17078
        to give some room in case we need to align the jmp_buf.
17079
 
17080
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
17081
        the new ppc-asm.h include file the compiler provides to specify
17082
        function prologue/epilogue.  Eliminate saves of the xer and ctr
17083
        registers, which are volatile.  Before starting to save registers,
17084
        align to 8 byte boundary.
17085
 
17086
Mon Oct 23 11:20:51 1995  James G. Smith  
17087
 
17088
        * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17089
        referenced by standard libraries.
17090
 
17091
Thu Oct 19 21:39:47 1995  Fred Fish  
17092
 
17093
        * libc/unix/Makefile.in, libc/string/Makefile.in,
17094
        libc/stdio/Makefile.in, libc/reent/Makefile.in,
17095
        libc/posix/Makefile.in:
17096
        Remove tabs from otherwise empty line.  Confuses some
17097
        older non-GNU versions of "make".
17098
 
17099
Thu Oct 19 16:32:17 1995  steve chamberlain  
17100
 
17101
        * libc/sys/unistd.h (getlogin): Returns const char *.
17102
 
17103
Wed Oct 18 12:57:50 1995  steve chamberlain  
17104
 
17105
        * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
17106
        * libc/include/errno.h: Moved into and include...
17107
        * libc/include/sys/errno.h: New file.
17108
        * libc/include/sys/wait.h: New file.
17109
        * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
17110
        * libc/sys/win32/*: Moved out.
17111
        * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
17112
        * configure.in (i[345]86-*-win32): HAVE_RENAME
17113
 
17114
Wed Oct 18 09:58:27 1995  Brendan Kehoe  
17115
 
17116
        * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
17117
        avoid macro expansion for these two names.
17118
 
17119
Tue Oct 17 08:45:33 1995  Doug Evans  
17120
 
17121
        * libc/machine/h8500/psi.S: r6 renamed to fp.
17122
 
17123
Sun Oct 15 12:58:10 1995  Michael Meissner  
17124
 
17125
        * configure.in (powerpc*): No longer need to define
17126
        NO_LONGLONG_POINTERS to supress warnings.
17127
 
17128
Sat Oct 14 12:55:08 1995  Jim Wilson  
17129
 
17130
        * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
17131
        through PTR instead of directly.
17132
 
17133
        * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
17134
        non-standard constructor support.
17135
 
17136
Thu Oct 12 11:39:42 1995  J.T. Conklin  
17137
 
17138
        * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17139
        address of the Bigint instead of the address of its _x field,
17140
        as the size the result buffer was calculated accordingly.
17141
        Fix from Jim Wilson .
17142
 
17143
        * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17144
        from NetBSD C library.  No longer special cases division by
17145
        zero (which needs to be done by the application anyway), but
17146
        it doesn't need to call abs() (or labs()) four times either.
17147
 
17148
        * libc/stdlib/qsort.c: Replaced with implementation from
17149
        NetBSD C library.
17150
 
17151
Tue Oct 10 14:01:10 1995  J.T. Conklin  
17152
 
17153
        * libc/stdio/vfprintf.c: Replaced with implementation from
17154
        NetBSD C library (which is derived from the 4.4BSD C library).
17155
        * libc/stdio/cvt.c: Removed.
17156
        * libc/stdio/Makefile: Updated.
17157
 
17158
Tue Oct 10 12:15:23 1995  steve chamberlain  
17159
 
17160
        * libc/sys/win32/syscalls.c (rename): New.
17161
        * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
17162
 
17163
Fri Oct  6 12:18:43 1995  Jim Wilson  
17164
 
17165
        * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
17166
        * libc/machine/sh/setjmp.S: Rename from setjmp.s.
17167
 
17168
        * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
17169
        (setjmp.o): Delete rule to build setjmp.o.
17170
        * libc/sys/sh/setjmp.S: Delete file.
17171
 
17172
Fri Oct  6 11:19:05 1995  J.T. Conklin  
17173
 
17174
        * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
17175
        * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
17176
        format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
17177
        pow5mult and s2b to identifiers with leading underscores.
17178
        * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
17179
        ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
17180
 
17181
Thu Oct  5 17:27:30 1995  steve chamberlain  
17182
 
17183
        * libc/sys/posix/popen.c (sys/types.h): Include.
17184
 
17185
Thu Oct  5 16:33:01 1995  Doug Evans  
17186
 
17187
        * libc/sys/win32/syscalls.h (fhandler): New struct.
17188
        (__lookup_fhandler, __lookup_fhandler_hook): Declare.
17189
        (__fhandler_normal): Declare.
17190
        (hinfo): New member op_handlers.
17191
        * libc/sys/win32/syscalls.c (__read): Don't validate fd.
17192
        (__write): Likewise.
17193
        (_read, _write, _open, _close, _lseek): Validate fd here.
17194
        Move file type specific stuff to foo_normal.
17195
        (read_normal, write_normal, open_normal, close_normal, lseek_normal):
17196
        New functions.
17197
        (__lookup_fhandler): New function.
17198
        (__lookup_fhandler_hook, __fhandler_normal): New variables.
17199
 
17200
        From anders.blomdell@control.lth.se (Anders Blomdell)
17201
        * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
17202
        Don't touch standard handles.
17203
        * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
17204
        (_execve): Only create __FD_TABLE__ if necessary.
17205
        * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
17206
 
17207
Thu Oct  5 14:25:14 1995  steve chamberlain  
17208
 
17209
        * libc/sys/win32/sys/termios.h (FLUSHO): New.
17210
        * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
17211
        * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
17212
        * libc/sys/win32/exception.c (ehandler3): set strace when a signal
17213
        without a handler is received.
17214
        * libc/sys/win32/Makefile.in: Remove --nodelete.
17215
        * libc/sys/win32/resouce.c (gettimeofday): New.
17216
        * libc/sys/win32/syscalls.c (path_to_real_path): New.
17217
        * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
17218
 
17219
Wed Oct  4 13:10:35 1995  Doug Evans  
17220
 
17221
        * libc/sys/win32/dirsearch.c (opendir): stat real path name.
17222
        Don't append "/*" to search pattern if trailing '/' already there,
17223
        append "*".
17224
        * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
17225
        like /'s, convert them to \'s.  Handle /// path names.
17226
        Add space for quoted \'s in arg string.  Print translated prog name
17227
        and original prog name.
17228
        (_execve): Handle parent doing exec a teensy bit better.
17229
        * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
17230
        * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
17231
        path needs conversion, handle both cases.  Delete `const' from result.
17232
        (hash_path_name): New function.
17233
        (_open): Call it.
17234
        (_stat): Likewise.  Fill in more fields for directories.
17235
        * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
17236
        (wait_for_any): Fix trace message.
17237
        (waitpid): Explicitly test for intpid == 0.
17238
 
17239
        From anders.blomdell@control.lth.se (Anders Blomdell)
17240
        * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
17241
        so `next' is valid.
17242
 
17243
Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
17244
 
17245
        * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
17246
        complicated.
17247
 
17248
Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
17249
 
17250
        * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
17251
        at all, not just == 1.
17252
        * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
17253
 
17254
Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17255
 
17256
        * libc/sys/win32/include/winbase.h: include  and 
17257
        * libc/sys/win32/include/wintypes.h: include 
17258
        * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
17259
        file.
17260
 
17261
Fri Sep 29 01:49:17 1995  steve chamberlain  
17262
 
17263
        * libc/sys/syscalls.c (getcwd): Fix off by one error.
17264
 
17265
        * libc/sys/signal.c (sleep): Fill it in.
17266
        * libc/sys/termios.c (tcflush): Use PurgeComm
17267
        (tcsetattr): Set some more of the bits.
17268
        * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
17269
 
17270
Fri Sep 29 04:33:53 1995  Doug Evans  
17271
 
17272
        * libc/sys/arm/crt0.S (fp): Initialize to 0.
17273
        Conditionally include .idata$3 stuff ifdef __pe__.
17274
 
17275
Fri Sep 29 01:49:17 1995  steve chamberlain  
17276
 
17277
        * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
17278
        * libc/sys/win32/pipe.c (pipe): Ditto.
17279
        * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
17280
        * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
17281
        * libc/sys/win32/termios.c (tcsetattr): Init new fields.
17282
        (tcgetattr): Contents are new.
17283
        * libc/sys/win32/include/winkernel.h (DCB): New.
17284
        (GetCommState, SetCommState): New.
17285
 
17286
Thu Sep 28 16:29:09 1995  Doug Evans  
17287
 
17288
        * libc/sys/arm/crt0.S (_start): Define.
17289
 
17290
Thu Sep 28 12:26:45 1995  steve chamberlain  
17291
 
17292
        * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
17293
        * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
17294
 
17295
        * libc/sys/win32/sysconf.c: New
17296
        * libc/sys/win32/sys/winadvapi.h: New
17297
        * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
17298
        * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
17299
        * libc/sys/win32/pipe.c (pipe): Ditto.
17300
        * libc/sys/win32/signal.c (_raise): New.
17301
        (_kill): Moved from spawn.c
17302
        * libc/sys/win32/spawn.c (kill): Moved to signal.c
17303
        * libc/sys/win32/syscalls.c (__read): Use new fields.
17304
        (_open): Ditto.
17305
        * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
17306
        * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
17307
        * libc/include/sys/unistd.h (rmdir): Takes const path.
17308
        * libc/include/sys/stat.h (mkdir): Takes const path.
17309
        * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
17310
 
17311
Thu Sep 28 10:11:27 1995  Doug Evans  
17312
 
17313
        * libc/sys/win32/spawn.c (_spawn): Fix quoting.
17314
 
17315
        Add support for specifying paths as ///foo/bar.
17316
        * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
17317
        (__path_to_real_path): Declare.
17318
        (PATH_TO_REAL_PATH): New macro.
17319
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
17320
        (__path_needs_conversion_p, __path_to_real_path): New functions.
17321
        (_open): Fix test for error return from CreateFileA.
17322
        Handle new path syntax.
17323
        (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
17324
        * libc/sys/win32/dirsearch.c (opendir): Likewise.
17325
 
17326
Wed Sep 27 16:36:46 1995  steve chamberlain  
17327
 
17328
        * libc/sys/win32/include/*.h: Reorganized
17329
        * libc/sys/win32/include/WINREADME: New.
17330
        * libc/sys/win32/Makefile.in (DLLS): Build version.a.
17331
        * libc/sys/win32/*.c: Fix for new include scheme.
17332
        * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
17333
        * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
17334
        * libc/sys/win32/passwd.c (*): Fix.
17335
        * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
17336
        (_stat): Get directory owner and permissions right.
17337
        * libc/sys/win32/syscalls.h (uinfo): New.
17338
        * libc/sys/win32/version.def: Remove leading underscores.
17339
 
17340
Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17341
 
17342
        * libc/sys/win32/key.c: include "include/wincon.h".
17343
 
17344
Tue Sep 26 07:21:48 1995  steve chamberlain  
17345
 
17346
        * libc/sys/win32/{key, stubs}.c: New.
17347
        * libc/sys/win32/Makefile: Adjust to cope.
17348
        * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
17349
        (environ_init): Change env names to upper case.
17350
        * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
17351
        * libc/sys/win32/passwd.c (*): Fill in the functions.
17352
        * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
17353
        * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
17354
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
17355
        (_open): Initialze hmap->execable_p too.
17356
        * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
17357
        (_fstat): Fill in permissions.
17358
        * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
17359
 
17360
Fri Sep 22 13:47:27 1995  Doug Evans  
17361
 
17362
        * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
17363
        if defined.
17364
        (cfg-ml-pos.in invocation): Likewise.
17365
 
17366
Fri Sep 22 11:43:44 1995  J.T. Conklin  
17367
 
17368
        * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
17369
        s_isnan.o and sf_isnan.o.
17370
 
17371
Wed Sep 20 14:50:19 1995  Ian Lance Taylor  
17372
 
17373
        * All Makefile.in files: added maintainer-clean target as a
17374
        synonym for realclean.
17375
 
17376
Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
17377
 
17378
        * libc/include/machine/setjmp.h: Add hppa support.
17379
        * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
17380
        support.
17381
        * libc/machine/hppa/Makefile.in: Related changes.
17382
 
17383
Tue Sep 19 12:09:01 1995  J.T. Conklin  
17384
 
17385
        * configure.in (machine_dir): Don't set for v810-*-*.
17386
 
17387
Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17388
 
17389
        * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
17390
        conventions correctly.
17391
 
17392
Thu Sep 14 13:37:22 1995  J.T. Conklin  
17393
 
17394
        * libc/stdio/puts.c: Update documentation of return value to match
17395
        ANSI standard.
17396
 
17397
Thu Sep 14 01:52:37 1995  Doug Evans  
17398
 
17399
        Fix file descriptor inheritance.
17400
        * libc/sys/win32/syscalls.h (CHILD_P): Define again.
17401
        (NOT_OPEN_FD): Fix.
17402
        * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
17403
        close-on-exec flag not set.  Initialize child's entire fd table.
17404
        * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
17405
        CHILD_P.
17406
        * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
17407
        if CHILD_P.  Initialize entire hmap entry.
17408
        (dup): Only create new handle as inheritable if CHILD_P.
17409
        (dup2): Likewise.  Properly initialize hmap entry.
17410
 
17411
        * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
17412
        _spawn.
17413
        (_exit): Use CHILD_P.
17414
        * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
17415
        (_stat): Likewise.
17416
 
17417
Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17418
 
17419
        * libc/sys/win32/crt0.c (passover): fix up the state table.
17420
        * libc/posix/popen.c: Added.
17421
        * libc/posix/Makefile.in: compile popen.c.
17422
 
17423
Mon Sep 11 11:43:38 1995  J.T. Conklin  
17424
 
17425
        * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
17426
        h8/500 define _DOUBLE_IS_32BITS.
17427
 
17428
Sat Sep  9 17:55:54 1995  Doug Evans  
17429
 
17430
        Get vfork/exec/spawn/cwait/wait working again.
17431
        * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
17432
        (procinfo): New member vfork_level.
17433
        * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
17434
        (vfork_init_first): Use GetCurrentProcessId to get pid.
17435
        Initialize vfork_level.
17436
        (vfork_init): Delete __PID__.
17437
        (environ_init): New function.  Undo patch of Aug 19, Posix says
17438
        environment variables are case sensitive.
17439
        (mainCRTStartup): Call it.
17440
        * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
17441
        (my_longjump: Make static.
17442
        (_spawn): New argument `h'.  Delete setting of __PID__.
17443
        Delete local `idx'.  Look for chars that need quotes, rather than
17444
        ones that don't.  Set handle of created process in `h'.
17445
        Result is process id if created task.
17446
        (allocate_spawn_entry): New function.
17447
        (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
17448
        (_execve): Set __FD_TABLE__ before spawning child.
17449
        Scan our fd table when passing fds, not our parent's.
17450
        Store handle and pid in procinfo entry.
17451
        (vfork0): Ensure strace message always printed.
17452
        Set child pid to VFORK_NEWBORN_PSEUDO_PID.
17453
        (vfork): Don't clobber result of vfork0.
17454
        * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
17455
        (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
17456
 
17457
        * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
17458
        and `exit_code'.
17459
        * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
17460
        (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
17461
        adding vfork level to pseudo-pid.
17462
        (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
17463
        (spawnvp, spawnv, _execve): Set handle_valid_p if success.
17464
        (_exit): If child, set exit code.
17465
        (__vfork_record_death): Only close process handle if valid.
17466
        * libc/sys/win32/wait.c (wait_for_single): Watch for children that
17467
        didn't exec.
17468
        (wait_for_any): Likewise.  Start scan after root entry.
17469
 
17470
Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17471
 
17472
        * libc/include/sys/types.h (off_t): off_t back to 32 bits.
17473
        * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
17474
        * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
17475
        of actual file length.
17476
 
17477
        * libc/sys/win32/sys/wait.h: include .
17478
        * libc/include/paths.h: _PATH_BSHELL added.
17479
        * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
17480
        and STDERR_FILENO.
17481
 
17482
Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17483
 
17484
        * libc/include/ar.h: Added.
17485
        * libc/include/sys/types.h: ino_t goes back to 32-bits.
17486
        * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
17487
        * libc/sys/win32/syscalls.c (_open): compute .namehash based
17488
        on filename.
17489
        (_fstat): use .namehash for inode number of the fd.
17490
 
17491
Thu Sep  7 12:57:19 1995  steve chamberlain  
17492
 
17493
        * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
17494
         Change hinfo to __this_procinfo.
17495
        * libc/sys/win32/crt0.c: Remove procinfo_list.
17496
 
17497
Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17498
 
17499
        * libc/include/sys/types.h (ino_t): Define ino_t correctly for
17500
        win32 environment.
17501
 
17502
Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17503
 
17504
        * libc/sys/win32/include/grp.h: Removed.
17505
        * libc/sys/include/grp.h: Added.
17506
        * libc/sys/win32/grp.c: Include .
17507
 
17508
Wed Sep  6 16:52:48 1995  steve chamberlain  
17509
 
17510
        * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
17511
        (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
17512
        Defined for all but strict ANSI.
17513
        * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
17514
        * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
17515
        * libc/signal/signal.c (_signal_r): Changed from using
17516
        _MAX_SIGNALS to NSIG.
17517
        * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
17518
         __hmap): Deleted.
17519
        (__strace, __vfork_next_pid): New.
17520
        (__exe_suffix): Default to 1.
17521
        (passover, table): Understand quoted arguments.
17522
        (vfork_init_first): New.
17523
        (vfork_init): Initialize new process structure.
17524
        (mainCRTStartup): Pass environ to main.
17525
        * exceptions.c (__sig_mask): New
17526
        (ehandler3): Ignore signals in mask.
17527
        (really_exit): Remove CHILD_P test.
17528
        * pipe.c (pipe, dup, dup2): Use new process and file structure.
17529
        * resource.c (getrusage): Ditto.
17530
        * signal.c (sigprocmask): New.
17531
        * spawn.c (*): Rewritten.
17532
        * syscalls.c (*): Use new process and file structure.
17533
        (find_unused_handle): New.
17534
        * syscalls.h (MAX_HANDLES): Deleted.
17535
        (hinfo): Removed child_created_p.
17536
        (MAX_CHILDREN): Deleted.
17537
        (vfork_jmp_info, procinfo): New.
17538
        * wait.c (*): Mostly new.
17539
        * sys/strace.h (_STRACE_PARANOID): New.
17540
        * sys/param.h: New file.
17541
 
17542
Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17543
 
17544
        * libc/include/sys/stat.h: add S_BLKSIZE.
17545
        * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
17546
        * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
17547
        types under win32.
17548
        (mode_t): add a #else to avoid multiple definitons.
17549
 
17550
        * libc/sys/win32/Makefile.in: add grp.c.
17551
        * libc/sys/win32/grp.c: include grp.h correctly.
17552
        * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
17553
        of the st structure with real information.
17554
        * libc/sys/win32 (dirent): d_ino is of type ino_t.
17555
 
17556
Wed Sep  6 10:41:34 1995  Doug Evans  
17557
 
17558
        * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
17559
        and (maybe) sparc64.
17560
        (nlink_t): Provide typedef.
17561
 
17562
Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17563
 
17564
        * libc/sys/win32/grp.c: New file.
17565
        * libc/sys/win32/include/grp.h: New file.
17566
 
17567
Tue Sep  5 13:47:27 1995  J.T. Conklin  
17568
 
17569
        * libc/include/machine/ieeefp.h: Added whitespace to make this
17570
        file easier to maintain.
17571
        On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
17572
        depending on the value of __LITTLE_ENDIAN__.
17573
        On the sh3e, define _DOUBLE_IS_32BITS.
17574
 
17575
Fri Sep  1 15:35:18 1995  James G. Smith  
17576
 
17577
        * libc/sys/vr4300/syscalls.c: Added missing support
17578
        routines. _raise() and getpid().
17579
 
17580
Fri Sep  1 14:12:48 1995  James G. Smith  
17581
 
17582
        * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
17583
 
17584
Fri Sep  1 08:42:11 1995  James G. Smith  
17585
 
17586
        * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
17587
        and VR4300 processor.
17588
        * libc/sys/vr4300: Add directory.
17589
        * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17590
        monitor run-time support.
17591
 
17592
Thu Aug 31 09:16:52 1995  J.T. Conklin  
17593
 
17594
        * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
17595
        * libc/stdlib/stdlib.tex: Don't include atol.def.
17596
 
17597
Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17598
 
17599
        * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
17600
 
17601
Wed Aug 30 10:48:08 1995  steve chamberlain  
17602
 
17603
        * libc/ctype/Makefile.in: Fill in _to* dependencies.
17604
 
17605
Tue Aug 29 17:14:29 1995  steve chamberlain  
17606
 
17607
        * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
17608
        * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
17609
        * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
17610
        * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
17611
        * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
17612
 
17613
Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17614
 
17615
        * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
17616
 
17617
Tue Aug 29 16:08:09 1995  J.T. Conklin  
17618
 
17619
        * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
17620
        * libc/stdlib/atoff.c: New file.
17621
        * libc/stdlib/atof.c (atoff): Moved to atoff.c.
17622
        * libc/stdlib/atoi.c (atol): Removed.
17623
        * libc/stdlib/atol.c: Removed duplicate documentation.
17624
 
17625
        * libc/include/ctype.h (_tolower, _toupper): Moved inside
17626
        #ifndef _STRICT_ANSI conditional.
17627
        * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
17628
        * libc/ctype/_tolower.c: New file.
17629
        * libc/ctype/_toupper.c: New file.
17630
        * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
17631
        * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
17632
        * libc/ctype/toascii.c (_toascii): Removed.
17633
 
17634
Tue Aug 29 12:17:32 1995  Doug Evans  
17635
 
17636
        * libc/sys/sparc64/sys/types.h: Deleted.
17637
 
17638
Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17639
 
17640
        * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
17641
        and recognize Windows_95 systems.
17642
 
17643
Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17644
 
17645
        * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
17646
        and passed fds should be opened in text mode.
17647
 
17648
Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17649
 
17650
        * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
17651
        in __hmap, set to binary mode by default.
17652
 
17653
Tue Aug 22 14:12:37 1995  J.T. Conklin  
17654
 
17655
        * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
17656
        * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
17657
        vector 34.
17658
 
17659
Sat Aug 19 18:25:37 1995  steve chamberlain  
17660
 
17661
        * Makefile.in (install): Install all libraries found in the
17662
        top level.  If there's a sys//include directory,
17663
        install those headers into include.
17664
 
17665
        * libc/sys/win32/kernel.def351: Delete
17666
        * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
17667
        glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
17668
        lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
17669
        nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
17670
        ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
17671
        rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
17672
        uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
17673
        winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
17674
 
17675
        * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
17676
        * libc/sys/win32/crt0.c: Force all env names to upper case.
17677
        * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
17678
        * libc/sys/win32/*.c: Headers have moved.
17679
        * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
17680
        __vfork_child_idx is now __vfork_child_ptr.
17681
 
17682
        * posix/execvp (execvp): Don't crash if no PATH envname.
17683
 
17684
Fri Aug 18 12:22:59 1995  J.T. Conklin  
17685
 
17686
        * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
17687
        * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
17688
        through the _freelist instead of through the _reclaim list.
17689
        * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
17690
        * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
17691
        sources.
17692
 
17693
Thu Aug 17 11:03:27 1995  J.T. Conklin  
17694
 
17695
        * libc/machine/h8500/setjmp.S: New file.
17696
        * libc/include/machine/setjmp.h: Updated for H8/500.
17697
 
17698
Wed Aug 16 16:19:11 1995  steve chamberlain  
17699
 
17700
        * libc/sys/win32/syscalls.c (_open): More stracing.
17701
        (_stat): Open the file in O_BINARY.
17702
 
17703
Wed Aug 16 15:49:01 1995  J.T. Conklin  
17704
 
17705
        * libc/machine/h8300/setjmp.S: New file.
17706
        * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
17707
 
17708
Tue Aug 15 10:31:09 1995  Doug Evans  
17709
 
17710
        * libc/sys/win32/crt0.c (__exe_suffix): New global.
17711
        (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
17712
        * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
17713
        __exe_suffix.  Free fd_tab after setting env variable.
17714
        (spawnv,_execve): Update.
17715
        * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
17716
        * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
17717
        (__small_vfprintf): New function.
17718
        * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
17719
        * libc/sys/win32/wait.c (cwait): Validate argument.
17720
 
17721
        * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
17722
        (process_deletion_queue): Likewise.
17723
 
17724
        * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
17725
 
17726
Mon Aug 14 10:14:10 1995  steve chamberlain  
17727
 
17728
        * libc/sys/win32: Copyrights and gratuitous indenting.
17729
 
17730
Mon Aug 14 01:32:58 1995  Doug Evans  
17731
 
17732
        * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
17733
        (process_deletion_queue): Likewise.
17734
        (__close_all_files): New function.
17735
        (_close): Only queue file deletion if really a file.
17736
        * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
17737
        _P_APPEND_EXE.
17738
        (_exit): Call __close_all_files.
17739
 
17740
        * libc/stdlib/system.c: #include .
17741
        (_system_r): Fix results in -DNO_EXEC case.
17742
 
17743
        * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
17744
        Reorganize structure.
17745
        * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
17746
        if argument is valid.  Save directory name in DIR.  malloc space
17747
        for dirent struct separately.
17748
        * libc/sys/win32/syscalls.c (stat): Fix test for directory.
17749
 
17750
        * libc/include/errno.h (ENAMETOOLONG): Define.
17751
        * libc/string/strerror.c (strerror): Reword ENFILE.
17752
        Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
17753
 
17754
Sun Aug 13 22:42:25 1995  Doug Evans  
17755
 
17756
        * libc/sys/win32/crt0.c (__progname): New global.
17757
        (mainCRTStartup): Support strace=bitmask,filename.
17758
        * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
17759
        * libc/sys/win32/syscalls.c (_write): Print parent trace message
17760
        if error.
17761
        (getcwd): Handle len too small.  Convert '\\' to '/'.
17762
        * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
17763
        Add prototypes for open, creat, fcntl.
17764
        (O_APPEND): Change value to conform to Microsoft's value.
17765
        * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
17766
 
17767
        * libc/stdlib/getopt.c: New file.
17768
        * libc/stdlib/Makefile.in: Build it.
17769
 
17770
Sat Aug 12 12:17:14 1995  Doug Evans  
17771
 
17772
        * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
17773
        Fix scanning of $PATH.
17774
        * libc/posix/exec*.c: Call _execve, not execve.
17775
        * libc/posix/execve.c: New file.
17776
        * libc/posix/Makefile.in (OFILES): Add execve.o.
17777
 
17778
        * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
17779
        _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
17780
        (_STRACE): If level==0, always print.  Handle new bit mask scheme.
17781
        * libc/sys/win32/crt0.c: Update _STRACE calls.
17782
        * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
17783
 
17784
        * libc/sys/win32/smallprint.c (rn): Fix digit list.
17785
 
17786
        * libc/sys/win32/syscalls.c (__really_exit): Move from here,
17787
        * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
17788
        * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
17789
        Print __seterrno trace message first.
17790
        (_execve): Renamed from execve.
17791
        (vfork): Update __strace usage.
17792
        (__vfork_child_pid): Deleted.
17793
        (__vfork_children, __vfork_child_idx): New globals.
17794
        (_spawnvp): New function.
17795
        (spawnvp, spawnv, _execve): Call _spawnvp.
17796
        (init_child): Record child in __vfork_children.
17797
        (__vfork_get_entry, __vfork_record_death): New functions.
17798
        * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
17799
        * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
17800
        * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
17801
        (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
17802
        (children): New typedef.
17803
        (__vfork_children,__vfork_child_idx): Declare.
17804
        (__vfork_get_entry,__vfork_record_death): Declare.
17805
        * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
17806
        (waitpid): Handle pid == -1.
17807
        * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
17808
        * configure.in (i386-win32): Add -DNO_FORK.
17809
        * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
17810
        * libc/reent/execr.c (_fork_r): Likewise.
17811
        * libc/stdlib/system.c (do_system): New function.
17812
        If WIN32, try to get shell path from $SH_PATH, use vfork.
17813
        (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
17814
        otherwise return 0.
17815
 
17816
Sat Aug 12 11:08:00 1995  steve chamberlain  
17817
 
17818
        * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
17819
        * libc/sys/win32/fcntl.h: Don't include self.
17820
        * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
17821
        * libc/sys/win32/sys/winbase.h: (GetUserName) New.
17822
        * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
17823
        * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
17824
        SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
17825
        Correct prototypes.
17826
        * libc/sys/win32/strace.c: New file.
17827
        * libc/sys/win32/smallprint.c: New file.
17828
        * libc/sys/win32/crt0.c (func): Delete.
17829
        (mainCRTStartup): Fix alloca usage.  Set handles explictly.
17830
        * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
17831
        * libc/sys/win32/exceptions.c: Lint.
17832
        * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
17833
        Clean up handle usage.
17834
        * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
17835
        (open.c): Default file type is text.
17836
        * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17837
        * libc/sys/win32/advapi32.def: New
17838
 
17839
Fri Aug 11 17:11:52 1995  Doug Evans  
17840
 
17841
        * configure.in (posix_dir, libc_posix_lib): New variables.
17842
        Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
17843
        (i[345]86-*-win32): Define posix_dir.
17844
        Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
17845
        (if unix_dir): Fix typo.
17846
        * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
17847
        scandir,seekdir,telldir}: New files.
17848
        * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
17849
        from libc/unix.
17850
        * libc/Makefile.in (LIBC_POSIX_LIB): Define.
17851
        (SUBDIRS): Add posix.
17852
        (SUBLIBS): Add $(LIBC_POSIX_LIB).
17853
 
17854
        * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
17855
        (NSIG): Increase to 21.
17856
        * libc/include/sys/unistd.h (pid_t): Move from here,
17857
        * libc/include/sys/types.h (pid_t): to here.
17858
 
17859
        * libc/sys/win32/syscalls.h: #include "sys/strace.h".
17860
        (__ptrace): Delete.
17861
        (hinfo): New members close_exec_p, child_created_p.
17862
        (struct exception_list): Define.
17863
        (__hmap): Redefine as pointer to table.
17864
        (__parent_hmap, __child_hmap): New globals.
17865
        (__set_errno, __really_exit): Declare.
17866
        (__vfork_child_pid): Declare.
17867
        * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
17868
        (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
17869
        (__parent_hmap, __child_hmap): New globals.
17870
        (__hmap): Redefine as pointer to active map.
17871
        (__get_console): New function.
17872
        (mainCRTStartup): Change leading '=' in environ vars to '!'.
17873
        (env __FD_TABLE__): Watch for this and initialize our fd/handle
17874
        mapping table from it if defined.
17875
        (argv, envp): Dump if __strace >= 4.
17876
        (main): Call here.
17877
        * libc/sys/win32/exceptions.c (myp): Redefine.
17878
        (__syscalls_b): Delete.
17879
        (__stack_trace): New function.
17880
        (ehandler3): Update to use _STRACE.  Print stack trace.
17881
        Call __really_exit instead of exit.
17882
        (init_exceptions): Delete args argc,argv.  New arg mine.
17883
        * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
17884
        FindFirstFileA, FindNextFileA, GetComputerNameA,
17885
        GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
17886
        * libc/sys/win32/signal.c (signal): Validate arg.
17887
        (alarm, sleep): Define as stubs for now.
17888
        * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
17889
        (__syscalls_b, errno): Delete.
17890
        (__vfork_child_pid, __vfork_jmp_buf): New globals.
17891
        (__seterrno): Handle more errors.
17892
        (__sys_printf): Renamed from _ptrace.
17893
        (__really_exit): New function.
17894
        (queue_file_deletion, process_deletion_queue): New functions.
17895
        (__resume_parent): New function.
17896
        (_unlink): Handle trying to delete open file.
17897
        (__totime_t): Renamed from totime_t.
17898
        (setsid, __read, __write): New functions.
17899
        (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
17900
        * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
17901
        times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
17902
        * libc/sys/win32/console.c: Update to new definition of __hmap.
17903
        * libc/sys/win32/Makefile.in: Build new files.
17904
        * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
17905
        * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
17906
        * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
17907
        * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
17908
 
17909
Thu Aug 10 16:32:52 1995  Doug Evans  
17910
 
17911
        * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
17912
 
17913
Thu Aug 10 12:07:38 1995  J.T. Conklin  
17914
 
17915
        * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
17916
        have been made to the master dtoa.c sources (from netlib.att.com)
17917
        since they were integrated into newlib in early 1992.  Fixes
17918
        problems with storage leaks and handling of numbers with very
17919
        negative exponents.
17920
 
17921
Wed Aug  9 14:18:39 1995  J.T. Conklin  
17922
 
17923
        * Makefile.in (all): set rootpre and srcrootpre before calling
17924
        sub-makes.
17925
 
17926
Tue Aug  8 17:20:45 1995  steve chamberlain  
17927
 
17928
        * libc/sys/win32/crt0.c: Change __hmap usage.
17929
        * libc/sys/win32/exceptions.c: Use _ptrace call.
17930
        * libc/sys/win32/syscalls.c: Use _ptrace call.
17931
        (read, write): Cope with DOS style CRLF when in TEXT mode.
17932
        * libc/sys/win32/syscalls.h: Declare hinfo struct.
17933
        * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
17934
        * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
17935
        * libc/sys/win32/sys/windows.h: Fill in rest of messages.
17936
        * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
17937
 
17938
Mon Aug  7 13:04:54 1995  J.T. Conklin  
17939
 
17940
        * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
17941
 
17942
        * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
17943
        wrappers for hypot() and remainder() for BSD libm compatibility.
17944
        These are public domain implementations written by me for the
17945
        NetBSD libm some time ago.  Note cabs() is required by ucbtest.
17946
        * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
17947
        (fobj): Added wf_cabs.o and wf_drem.o.
17948
 
17949
Thu Aug  3 08:13:05 1995  J.T. Conklin  
17950
 
17951
        * libc/sys/h8500hms/misc.c: New file.
17952
        * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
17953
 
17954
Wed Aug  2 16:46:27 1995  J.T. Conklin  
17955
 
17956
        * libc/time/localtime.c (localtime): Fix problem with leap year
17957
        handling.  Stole algorithm from Arthur David Olson's tz code.
17958
 
17959
Mon Jul 31 10:21:54 1995  steve chamberlain  
17960
 
17961
        * configure.in: (z8k-*sim): Renamed z8k-*-coff.
17962
 
17963
        * libc/sys/z8ksim/glue.c (_getpid, _kill): New
17964
        (_exit): Use argument.
17965
 
17966
Fri Jul 28 15:17:04 1995  Doug Evans  
17967
 
17968
        * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
17969
 
17970
Wed Jul 26 16:24:19 1995  steve chamberlain  
17971
 
17972
        * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
17973
 
17974
Mon Jul 24 13:42:52 1995  J.T. Conklin  
17975
 
17976
        * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
17977
        target_cflags.
17978
 
17979
Mon Jul 24 11:42:07 1995  steve chamberlain  
17980
 
17981
        * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
17982
        ptrace with case insensitivity
17983
        * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17984
        sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
17985
        New files.
17986
 
17987
Fri Jul 21 11:22:26 1995  Doug Evans  
17988
 
17989
        * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17990
        (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
17991
        (all, install, *clean): Use new multilib support.
17992
        * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17993
 
17994
Fri Jul 21 07:11:42 1995  steve chamberlain  
17995
 
17996
        * libc/include/sys/signal.h (__WIN32__): New.
17997
 
17998
        * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
17999
 
18000
        * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
18001
        (ulp, b2d): Handle 32 bit doubles.
18002
        * libc/stdlib/mprec.h:  Handle 32 bit doubles.
18003
        * libc/stdlib/strtod.c (_strtod_r): Ditto.
18004
 
18005
Fri Jul 14 08:24:58 1995  steve chamberlain  
18006
 
18007
        from medp@primag.co.uk:
18008
        * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
18009
        dynamically allocated buffers.
18010
 
18011
Thu Jul 20 10:11:03 1995  Fred Fish  
18012
 
18013
        * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
18014
        * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
18015
 
18016
Thu Jul 20 10:16:25 1995  Michael Meissner  
18017
 
18018
        * configure.in (powerpc): Fix previous fix.
18019
 
18020
Wed Jul 19 14:08:55 1995  Michael Meissner  
18021
 
18022
        * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
18023
        directories for this target.
18024
 
18025
Wed Jul 19 00:34:30 1995  Jeffrey A. Law  
18026
 
18027
        * configure.in (hppa): Add machine_dir definition.
18028
        * libc/machine/hppa: New directory with PA specific implementations
18029
        of the basic memory/string functions.
18030
 
18031
Tue Jul 18 21:16:00 1995  Michael Meissner  
18032
 
18033
        * configure.in: Update current PowerPC multilib directories.
18034
        Split big and little endian configurations.
18035
 
18036
Tue Jul 18 11:55:33 1995  Ian Lance Taylor  
18037
 
18038
        * configure.in: Add --enable-single-float option to configure to
18039
        control use of MIPS single-float directories.  Default to yes.
18040
 
18041
        * Makefile.in (all): Don't recurse into multilib directory if it
18042
        does not exist.
18043
 
18044
Mon Jul 17 15:51:30 1995  J.T. Conklin  
18045
 
18046
        * libc/sys/sh/syscalls.c: Fix typo.
18047
 
18048
Mon Jul  3 14:38:52 1995  Steve Chamberlain  
18049
 
18050
        * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
18051
        Pass down DLLTOOL.
18052
        * libc/include/process.h: Define WAIT_CHILD.
18053
        * libc/include/types.h: Get sizes right for win32.
18054
        * configure.in (i386-*-pe): Becomes i386-win32.
18055
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18056
        wintypes.h,sys/file.h,sys/resource.h}: Second pass.
18057
        * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
18058
        is defined.
18059
 
18060
Wed Jun 28 18:34:54 1995  Steve Chamberlain  
18061
 
18062
        * configure.in (i[345]86-*-pe):  New target (NT).
18063
        * host/any: DLLTOOL new.
18064
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18065
        wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
18066
        WIN32 (just enough to cross host the comp-tools).
18067
 
18068
Thu Jun 22 11:45:18 1995  Doug Evans  
18069
 
18070
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
18071
        Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
18072
 
18073
Mon Jun 19 11:40:40 1995  Doug Evans  
18074
 
18075
        * libc/include/machine/ieeefp.h (arm): Change to always be
18076
        __IEEE_BIG_ENDIAN (even on little endian ARM's).
18077
 
18078
Thu Jun  8 14:22:28 1995  Steve Chamberlain  
18079
 
18080
        * libc/sys/crt0.S: Initialze sp, and call exit after main.
18081
        * libc/sys/syscalls.c (abort): New.
18082
        * configure.in (arm): Define ABORT_PROVIDED.
18083
 
18084
Wed Jun  7 14:04:35 1995  J.T. Conklin  
18085
 
18086
        * configure.in (powerpc): Define multidirs.
18087
 
18088
Mon Jun  5 16:10:13 1995  Doug Evans  
18089
 
18090
        * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
18091
 
18092
Thu Jun  1 10:51:47 1995  Sean Eric Fagan 
18093
 
18094
        * configure.in (sparclite): Delete target_cflags.  Define multidirs.
18095
 
18096
Wed May 24 14:23:25 1995  Steve Chamberlain  
18097
 
18098
        * configure.in, libc/include/machine/ieeefp.h: Modified
18099
        for arm:
18100
        libc/machine/arm/*, libc/sys/arm/*: New
18101
 
18102
Tue May 23 13:53:07 1995  J.T. Conklin  
18103
 
18104
        * libc/include/machine/ieeefp.h: Use __PPC__ instead of
18105
          __powerpc__ when determining endianness.
18106
 
18107
Wed May 10 07:55:56 1995  J.T. Conklin  
18108
 
18109
        * configure.in (m68*): Add multidir for the m68332.
18110
 
18111
        * host/any (CC): Fix typo in last change.
18112
 
18113
Fri Apr 14 22:20:31 1995  Ken Raeburn  
18114
 
18115
        * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
18116
        when determining endianness.
18117
        * libc/include/machine/ieeefp.h: Ditto.
18118
        * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
18119
        operands.
18120
 
18121
Fri Apr 14 14:14:29 1995  Doug Evans  
18122
 
18123
        * libc/include/errno.h (ENOTEMPTY): Define.
18124
 
18125
Thu Apr  6 12:21:20 1995  J.T. Conklin  
18126
 
18127
        * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
18128
          target_cflags.
18129
 
18130
        * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
18131
          and umultiply.o.
18132
 
18133
        * libc/stdio/tmpnam.c (worker): Unconditionally increment count
18134
          instead of only when open succeeds.  ANSI requires that multiple
18135
          calls to tmpnam() result in different files.
18136
 
18137
        * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
18138
          objects pulled in from /lib/libc.a that must be renamed before
18139
          being pulled into newlib.  /lib/libc.a's div.o conflicted with
18140
          newlib's file with the same name.
18141
 
18142
        * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
18143
 
18144
        * host/any (CC, AS, AR, RANLIB): Changed so that executables in
18145
          the build tree will only be used if the executables are present
18146
          (instead of just the Makefiles).
18147
 
18148
        * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
18149
          wcstombs): Define.
18150
        * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
18151
          versions of these functions that I orignally wrote for the
18152
          NetBSD C library.
18153
        * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
18154
          versions I wrote for NetBSD.
18155
 
18156
Wed Mar 29 12:42:42 1995  Kung Hsu  
18157
 
18158
        * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
18159
        * libc/sys/sparclite/crt0.s: ditto.
18160
 
18161
Tue Mar 28 20:28:03 1995  Rob Savoye  
18162
 
18163
        * configure.in: Add soft-float for proelf.
18164
 
18165
Mon Mar 27 12:07:56 1995  Steve Chamberlain  
18166
 
18167
        * libc/stdlib/mprec.h (Bcopy): Copy the right number
18168
        of bytes.
18169
 
18170
Mon Mar 27 11:24:22 1995  Doug Evans  
18171
 
18172
        * Makefile.in (all): Depend on `force'.
18173
        * configure.in (syscall_dir): Renamed from fake_sys_dir.
18174
        (libc_syscall_lib): Renamed from libc_fake_sys_lib.
18175
        (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
18176
        * libc/Makefile.in: Likewise.
18177
        * libc/include/reent.h: Update syscall references.
18178
        (_fcntl_r): Add prototype.
18179
        * libc/syscalls/*.c #include .
18180
        (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
18181
 
18182
Mon Mar 20 16:57:39 1995  Doug Evans  
18183
 
18184
        * libc/include/sys/stat-dj.h (S_ISBLK): Define.
18185
        (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
18186
        * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
18187
        (time.h, sys/types.h): Always include (even if MSDOS).
18188
        (stat): Fix prototype.
18189
 
18190
Fri Mar 10 11:30:38 1995  Ian Lance Taylor  
18191
 
18192
        * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
18193
 
18194
Mon Feb 27 18:00:39 1995  Jim Wilson  
18195
 
18196
        * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
18197
 
18198
Mon Feb 13 16:10:03 1995  Ian Lance Taylor  
18199
 
18200
        * libc/include/regdef.h: New file.
18201
        * libc/machine/mips/machine/regdef.h: New file.
18202
 
18203
Mon Feb  6 15:24:29 1995  Doug Evans  
18204
 
18205
        * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
18206
 
18207
Fri Jan 27 13:52:10 1995  Steve Chamberlain  
18208
 
18209
        * libc/sys/sh/crt0.S: Pass main's return to exit.
18210
        * libc/sys/sh/trap.S: Put errno in the right place.
18211
 
18212
Tue Jan 24 18:57:56 1995  Ian Lance Taylor  
18213
 
18214
        * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
18215
        from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
18216
        * libm/math/ef_rem_pio2.c: Likewise.
18217
        * libm/math/e_log10.c: Remove unused static one.
18218
        * libm/math/ef_log10.c: Likewise.
18219
        * libm/math/s_frexp.c: Likewise.
18220
        * libm/math/sf_frexp.c: Likewise.
18221
 
18222
Sun Jan 22 21:26:14 1995  Steve Chamberlain  
18223
 
18224
        * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
18225
        longjmp.S: Upgraded.
18226
        * libc/sys/go32/sys/setjmp.h: Upgraded.
18227
        * libc/sys/go32/sys/go32.h, dpmi.h: New files.
18228
 
18229
Fri Jan 20 18:33:18 1995  Ian Lance Taylor  
18230
 
18231
        * configure.in: Add many entries to multidirs for mips targets.
18232
 
18233
Wed Jan 18 10:19:25 1995  J.T. Conklin  
18234
 
18235
        * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
18236
          5.2 which fixes bug where jn(-1,x) is three times larger than
18237
          the actual answer.
18238
        * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
18239
 
18240
Sun Jan 15 21:48:58 1995  Steve Chamberlain  
18241
 
18242
        * libc/sys/w65/sys/syscalls.h: New file
18243
        * libc/include/machine/ieeefp.h: W65 support.
18244
        * libc/include/sys/config.h: Ditto.
18245
        * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
18246
        sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
18247
        * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
18248
 
18249
Wed Jan 11 15:59:01 1995  Ian Lance Taylor  
18250
 
18251
        * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
18252
 
18253
Tue Jan  3 15:57:03 1995  Rob Savoye  
18254
 
18255
        * Makefile.in, configure.in: Remove any references to the old
18256
        "stub" dir.
18257
 
18258
Thu Dec 22 10:42:08 1994  Ian Lance Taylor  
18259
 
18260
        * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
18261
        uses ... in prototype.
18262
 
18263
 
18264
Wed Nov 30 08:39:42 1994  Ian Lance Taylor  
18265
 
18266
        * libc/sys/a29khif/sys/libconfig.h: Remove.
18267
        * libc/sys/go32/sys/libconfig.h: Remove.
18268
        * libc/sys/sun4/sys/libconfig.h: Remove.
18269
        * libc/sys/sysvi386/sys/libconfig.h: Remove.
18270
        * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
18271
        * libc/sys/sparc64/sys/libconfig.h: Remove.
18272
 
18273
        * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
18274
        * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
18275
        * libc/include/math.h: Change all uses of _FLOAT_RET and
18276
        _FLOAT_ARG to float.
18277
        * libm/test/math.c: Likewise.
18278
        * testsuite/libm.sac/math.c: Likewise.
18279
        * testsuite/libm.sac/working/math.c: Likewise.
18280
 
18281
Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18282
 
18283
        * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
18284
        gcc calls gas with endian option.
18285
        * configure.in (sh): Build little endian version too.
18286
 
18287
Wed Nov 16 18:21:45 1994  Ian Lance Taylor  
18288
 
18289
        * configure.in: Configure big and little endian versions for MIPS
18290
        targets.
18291
 
18292
Sat Nov 12 21:12:51 1994  Doug Evans  
18293
 
18294
        * libc/include/limits.h: Deleted.
18295
        * libc/include/machine/limits.h: Deleted.
18296
 
18297
Thu Nov 10 15:32:44 1994  Rob Savoye  
18298
 
18299
        * ChangeLog: Remove stub directory. This has all been rewritten
18300
        and moved to devo/libgloss.
18301
 
18302
Thu Sep 29 18:31:04 1994  Ian Lance Taylor  
18303
 
18304
        * Makefile.in (dvi): Add to info target, use $@ in sub make.
18305
        (docs): Merge into info target.
18306
        * libm/Makefile.in (dvi): Add $(srcdir).
18307
        * libm/math/Makefile.in (chobjs): Remove underscores from file
18308
        names.  Texinfo doesn't like them.
18309
        (wacos.def, ...): Add explicit targets for all .def files.
18310
        * libm/math/math.tex: Remove underscores from @include file names.
18311
        * doc/Makefile.in (dvi): Add dummy target.
18312
        * testsuite/Makefile.in (dvi): Add dummy target.
18313
 
18314
Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
18315
 
18316
        * Makefile.in (VERSION): Define.  For net newlib releases.
18317
 
18318
Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
18319
 
18320
        * README: New file.
18321
 
18322
Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18323
 
18324
        * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
18325
 
18326
Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18327
 
18328
        * libc/stdlib/setenv.c (_findenv): Declare.
18329
 
18330
        * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
18331
        fcntl to not use _EXFUN, and change string parameters to open and
18332
        creat to be ``const char *''.
18333
        * libc/sys/sparc64/sys/fcntl.h: Likewise.
18334
        * libc/sys/sparc64/creat.c (creat): Make PATH const.
18335
        * libc/syscalls/sysopen.c: Include .
18336
        (open) Make _FILE const.
18337
        * libc/sys/z8ksim/glue.c (_open): Make BUF const.
18338
        (_creat): Make PATH const.
18339
        * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
18340
        * libc/sys/h8500hms/syscalls.c (_open): Likewise.
18341
        * libc/sys/m88kbug/syscalls.c (open): Likewise.
18342
        * libc/sys/sh/syscalls.c (_open): Likewise.
18343
        * stub/shared/glue.c (open): Make BUF const.
18344
        * stub/ex93x/syscalls.c (open): Make FILENAME const.
18345
 
18346
Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18347
 
18348
        * libc/include/errno.h: Add ENMFILE
18349
        * libc/include/sys/config.h: Support Z8000.
18350
        * libc/include/sys/signal.h: New signals for go32.
18351
        * libc/machine/h8500/psi.S (__addpsir0r0): New function
18352
        * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
18353
        * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
18354
        * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
18355
        size is variable, depending upon CHUNK_POWER.
18356
        * libc/sys/go32/*.c: Upgrade to new go32 stuff.
18357
 
18358
Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18359
 
18360
        * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
18361
 
18362
Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18363
 
18364
        * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
18365
 
18366
Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18367
 
18368
        * configure.in: Change i[34]86 to i[345]86.
18369
 
18370
        * libc/include/math.h: Don't define HUGE_VAL if it is already
18371
        defined.
18372
 
18373
Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18374
 
18375
        * testsuite/libm.sac/test_erfc.c: Correct some result values.
18376
        * testsuite/libm.sac/test_gammaf.c: Likewise.
18377
        * testsuite/libm.sac/test_sin.c: Likewise.
18378
        * testsuite/libm.sac/test_tanh.c: Likewise.
18379
 
18380
Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18381
 
18382
        * libc/include/machine/ieeefp.h: Don't try set endianness if it is
18383
        already set.  Define typedefs __int32_t and __uint32_t.
18384
        * libc/include/math.h: Include .
18385
        (union __dmath): Use __uint32_t.
18386
        * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
18387
        instead of int and unsigned int.
18388
 
18389
Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18390
 
18391
        Replace the math library with the SunPRO fdlibm package.
18392
        * libm/math: Completely changed all files.
18393
        * libm/ieeefp: Remove contents and directory.
18394
        * libm/Makefile.in (LIBM_FP_LIB): Remove.
18395
        (SUBDIRS): Just set to math/lib.a.
18396
        * libm/libm.texinfo: Updated for new library.
18397
        * libc/include/math.h: Extensive changes for new math library.
18398
        * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
18399
        from _FLOAT_ARG to float.
18400
        (maxpowtwo, maxpowtwof): Don't declare.
18401
        * configure.in (fp_dir): Removed; was always ieeefp anyhow.
18402
        (libm_fp_lib): Removed.
18403
        * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
18404
        * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
18405
        argument to ${RUNTEST}.
18406
        * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
18407
        (.c.o): New rule.
18408
        (RUNTESTFLAGS): Set CC and CFLAGS.
18409
        (TESTS): Remove test_log2 and test_log2f.
18410
        (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
18411
        * testsuite/libm.sac/math.c (run_vector_1): Use float, not
18412
        _FLOAT_ARG, for single precision argument type.
18413
        * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
18414
        expected failure.  Close the input pipe.
18415
        * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
18416
        Correct misspelling of inaccurate.
18417
        (test_mok): Use ``inaccurate'', not ``wrong''.
18418
        * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
18419
        test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
18420
        test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
18421
        test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
18422
        test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
18423
        test_yn.c): Correct many result values.  Many are still wrong.
18424
 
18425
        * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
18426
        just copy the string.
18427
        (_gcvt): Always return the buffer.
18428
 
18429
Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18430
 
18431
        * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
18432
 
18433
Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
18434
 
18435
        * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
18436
        structure.
18437
        (struct _reent): add _p5s, _cvtlen, _cvtbuf.
18438
        (_reclaim_reent): declare new entry point.
18439
        * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
18440
        functions.
18441
 
18442
        * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
18443
        ever allocated, so that we can later reclaim them all.
18444
        (pow5mult): make reentrant.
18445
 
18446
        * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
18447
        so that when given NULL as a buffer, return a pointer to static
18448
        space in the rent structure.  This is not documented behaviour;
18449
        it's only to support ecvt and fcvt, which aren't ANSI anyway.
18450
        * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
18451
        therefore become reentrant).
18452
 
18453
        * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
18454
 
18455
Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18456
 
18457
        * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
18458
 
18459
Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18460
 
18461
        * Makefile.in: Make link to libg.a after libc.a; this is needed
18462
          for the testsuites to build executables when everything comes
18463
          from the tree.
18464
 
18465
Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
18466
 
18467
        * libc/Makefile.in: Add a VERSION variable so we can keep track.
18468
        * libm/Makefile.in: Add a VERSION variable so we can keep track.
18469
 
18470
Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18471
 
18472
        * libc/include/stdio.h: Use __VALIST, not va_list.
18473
 
18474
Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
18475
 
18476
        * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
18477
        testsuite/libm.sac/execute.exp:
18478
          Replace error proc calls with perror calls.
18479
 
18480
Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
18481
 
18482
        * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
18483
        * libc/include/time.h: #define NULL as 0L.
18484
 
18485
Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
18486
 
18487
        * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
18488
        care of it.
18489
 
18490
Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18491
 
18492
        * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
18493
        not __unix__.
18494
 
18495
Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
18496
 
18497
        * configure.in (TARGET_CFLAGS): Set -O2 as default.
18498
        (z8k-*-*): Use syscalls fake sys dir.
18499
        * libc/sys/z8k/glue.c: Rename syscalls.
18500
        * libc/sys/go32/Makefile.in: Use new routines.
18501
        * libc/machine/Makefile.in: Fix typo in ln stuff.
18502
 
18503
Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18504
 
18505
        * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
18506
        * libc/Makefile.in (crt0.o): Likewise.
18507
        * libc/machine/Makefile.in (lib.a): Likewise.
18508
        * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
18509
 
18510
        All Makefile.in files: Added mostlyclean, realclean and distclean
18511
        targets.
18512
 
18513
        * Makefile.in: Don't bother to unexport XTRAFLAGS or
18514
        XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
18515
        the top level Makefile.
18516
 
18517
Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
18518
 
18519
        * libc/sys/sparc64/sys/stat.h: New file.
18520
        * libc/sys/sparc64/sys/time.h: New file.
18521
        * libc/sys/sparc64/sys/types.h: New file.
18522
 
18523
Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
18524
 
18525
        * stub/ex93x/crt0.s (start): Add code to clear bss.
18526
 
18527
Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
18528
 
18529
        * libc/include/sys/types.h (time_t): Properly protect inside
18530
        #ifndef __time_t_defined.
18531
 
18532
        * libc/stdio/fileno.c: New file.
18533
        * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
18534
        (fileno.o): Add dependency.
18535
        * libc/include/stdio.h (__sgetc): Rename never to _never.
18536
        (fileno macro): Disable, needs to do CHECK_INIT first.
18537
 
18538
Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
18539
 
18540
        * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
18541
        goal.
18542
 
18543
        * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
18544
        * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
18545
        runtest.
18546
        * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
18547
        runtest.
18548
 
18549
Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
18550
 
18551
        * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
18552
        of the various constants.
18553
 
18554
Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
18555
 
18556
        * libc/include/math.h: #ifndef __math_68881 around things which
18557
        conflict with the (gcc-provided) inline functions in
18558
        gcc/ginclude/math-68881.h.
18559
 
18560
Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
18561
 
18562
        * libc/include/_syslist.h (_gettimeofday): Define.
18563
        (_times): Ditto.
18564
        * libc/include/reent.h: #include  to get _CLOCK_T_.
18565
        (struct tms, timeval, timezone): Declare.
18566
        (_gettimeofday_r, _times_r): Declare.
18567
        * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
18568
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18569
        (time_t): Add multiple definition protection, __time_t_defined.
18570
        * libc/include/sys/time.h: Don't #include .
18571
        Always define struct timezone (remove #ifndef _TIME_H_).
18572
        * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
18573
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18574
        * libc/reent/Makefile.in (OFILES): Add timer.o.
18575
        (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
18576
        * libc/reent/timer.c: New file.
18577
        * libc/time/clock.c: #include .
18578
        (clock): Call _times_r instead of times.
18579
        * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
18580
        HAVE_GET_TIME_OF_DAY.
18581
        Add comment regarding supporting OS routine(s) required (for docs).
18582
        #include .
18583
        (time): Call _gettimeofday_r instead of gettimeofday.
18584
        * libc/time/asctime.c: Fix comment regarding supporting OS routines.
18585
        * libc/time/ctime.c: Ditto.
18586
        * libc/time/strftime.c: Ditto.
18587
        * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
18588
        (TEMPLATE_SFILES_R): Define here.  Also define times.
18589
        Add times_r.o/times.S dependence.
18590
        (time2.c, junk.c): Deleted.
18591
        * libc/sys/sparc64/time2.c: Deleted.
18592
        * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
18593
 
18594
        * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
18595
        * libc/stdio/tmpnam.c (_getpid_r): Ditto.
18596
        * libc/sys/sparc64/junk.c: Deleted.
18597
 
18598
Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
18599
 
18600
        * libc/sys/sparc64/Makefile.in: Add times syscall.
18601
        * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
18602
        be used with and without it.  Add comment clarifying Medium/Anywhere
18603
        model requirements.
18604
        * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
18605
        * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
18606
        even if obsolete.
18607
 
18608
Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
18609
 
18610
        * configure.in (target_cflags): Move init.
18611
        (sparc64-*-*): Define HAVE_BLKSIZE.
18612
 
18613
Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
18614
 
18615
        * libc/include/sys/_types.h: New file.
18616
        * libc/include/reent.h: #include it.
18617
        Add comment describing REENTRANT_SYSCALLS_PROVIDED and
18618
        MISSING_SYSCALL_NAMES.
18619
        Sort syscalls.
18620
        * libc/include/_syslist.h: Remove _raise.
18621
        * libc/reent/signalr.c: New file.
18622
        * libc/reent/Makefile.in: Compile it.
18623
        * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
18624
        Add doc for raise and _raise_r.
18625
        * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
18626
        (raise): Call _raise_r.
18627
        (_raise_r): Call _getpid_r and _kill_r.
18628
        * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
18629
        (abort): Loop forever calling raise and _exit.
18630
 
18631
Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18632
 
18633
        * configure.in: Remove extraneous echo.
18634
 
18635
Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
18636
 
18637
        * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
18638
        collision with unistd.h, and fix for svr4.
18639
 
18640
Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
18641
 
18642
        * libc/stdio/local.h (_llicvt): Declare.
18643
        (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
18644
        * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
18645
        (_llicvt): Define.
18646
        (_sicvt): Fix function header (`value' is short).
18647
        * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
18648
        Add printing of long long's support.
18649
        Add printing of 8 byte pointer support.
18650
 
18651
Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
18652
 
18653
        * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
18654
        stat, chmod): New hooks.
18655
        (sbrk): Abort if stack and heap collide.
18656
        * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
18657
        shortcut when given small args.
18658
        * libc/machine/sh/setjmp.s: Rewritten.
18659
        * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
18660
        of cmp/str instruction.
18661
 
18662
Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18663
 
18664
        * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
18665
        and machine_dir powerpc.
18666
        * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
18667
        Add cases for __powerpc__.
18668
        * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
18669
        New files.
18670
 
18671
        * libc/include/stdio.h (_iprintf_r): Declare correctly.
18672
 
18673
Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
18674
 
18675
        * libc/stdlib/callocr.c: New file with _calloc_r in it.
18676
        * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
18677
 
18678
Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
18679
 
18680
        * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
18681
        (print_e): More comments to describe args, etc.
18682
        "type" arg may now be 'g' or 'G' for %g/G format --> remove
18683
        trailing blanks.
18684
        (_gcvt): Remove locals decpt, sign, end, p, done.
18685
        More comments for print_e invocation.
18686
        Pass "type" to print_e as is (g/G).
18687
 
18688
Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
18689
 
18690
        * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
18691
        stock m68000.
18692
 
18693
Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
18694
 
18695
        * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
18696
        works with any sized pointer, including ones bigger than ints and
18697
        longs.
18698
 
18699
Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
18700
 
18701
        * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
18702
 
18703
Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
18704
 
18705
        * libc/include/stdlib.h (_calloc_r): Add prototype.
18706
        * libc/machine/h8500/negsi2.c: New file.
18707
        * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
18708
        large unsigned numbers.
18709
        * libc/machine/h8500/cmpsi.c: Add cmppsi.
18710
        * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
18711
        works when sizeof(size_t) != sizeof(char *).
18712
        * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
18713
        get play area
18714
        * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
18715
 
18716
Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
18717
 
18718
        * libc/include/assert.h (assert): Handle -traditional.
18719
 
18720
Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
18721
 
18722
        * Makefile.in: added ; after every "fi" and "done" that wasn't at
18723
        the end of a line (ie. anything before a backslash continuation)
18724
        so that bash handles them.
18725
 
18726
Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18727
 
18728
        * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
18729
        stat to lstat
18730
 
18731
Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
18732
 
18733
        * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
18734
        libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
18735
        libc/machine/sh/udivsi3.s: Use new calling convention.
18736
 
18737
Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
18738
 
18739
        * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
18740
        chmod, access, chdir, chown by making _path const. Also fix _amode
18741
        param of access.
18742
 
18743
Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
18744
 
18745
        * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
18746
        _khif_tmpnam, because it doesn't comply with ANSI but may be
18747
        useful anyway. Real tmpnam was already in libc/stdio, and was
18748
        colliding with this one (pr 2176.)
18749
        * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
18750
        the wrong idea anyhow.
18751
 
18752
Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
18753
 
18754
        * configure.in: Remove h8300h, we have multilib now.
18755
 
18756
Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
18757
 
18758
        * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
18759
        functions, to get preference over the ones in libiberty (since we
18760
        provide correct declarations in .
18761
        * libc/string/Makefile.in: add support for strncasecmp,
18762
        strcasecmp.
18763
 
18764
Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
18765
 
18766
        * Change netware config not to look for cpu explicitly.
18767
 
18768
Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18769
 
18770
        * libc/sys/sparc64/{creat.c,junk.c}: New files.
18771
        * libc/sys/sparc64/Makefile.in: Add dependencies.
18772
 
18773
Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
18774
 
18775
        * configure.in: Clean up v9 a bit, new "os" aoutv8.
18776
 
18777
Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
18778
 
18779
        * libc/include/sys/reent.h: make structure smaller by allocating
18780
        some stuff when needed.
18781
        * libc/signal/signal.c: allocate as needed
18782
        * libc/stdio/findfp.c,stdio/local.h: ditto
18783
        * libc/stdlib/mprec.c: ditto
18784
 
18785
        * libc/time/localtime.c: don't return a dangling stack ptr.
18786
 
18787
Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18788
 
18789
        * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
18790
 
18791
Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18792
 
18793
        * libc/include/stdio.h (__sputc): comment out static inline which
18794
          confuses coff toolchains.
18795
 
18796
Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
18797
 
18798
        * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
18799
        _write.s, getpid.c, kill.c, read.s}:
18800
        * libc/sys/a29khif/stubs.s: eliminated stubs that already go
18801
        through the syscalls directory.
18802
 
18803
Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
18804
 
18805
        * configure.in: fixed double quote gotcha.
18806
 
18807
Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18808
 
18809
        * stub/ex931: stub library for sparclite board.
18810
        * stub/idp: Renamed from mc68ec. Added contructor table
18811
        stuff to linker script.
18812
        * stub/mvme135: Renamed from m68kmvme. Added contructor table
18813
        stuff to linker script.
18814
 
18815
Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18816
 
18817
        * configure.in: Configure testsuites only if they exist.
18818
 
18819
Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18820
 
18821
        * configure.in: Don't set machine_dir for i386 until there is
18822
        something in libc/machine/i386 to compile.  For i[34]86-*-netware*
18823
        use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
18824
        CLOCK_PROVIDED and MALLOC_PROVIDED.
18825
 
18826
        * libc/sys/netware: New directory.  Contains simplistic and
18827
        probably incorrect stubs for NetWare.  Should be enough to load
18828
        the library.
18829
        * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
18830
        libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
18831
        stub files.
18832
 
18833
        * libc/reent/execr.c: Don't use if NO_EXEC is defined.
18834
        * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
18835
        * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
18836
        * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
18837
 
18838
Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
18839
 
18840
        * testsuite/Makefile.in: add "docs" dummy target for consistency
18841
        with rest of newlib; turn "info" and "install-info" into dummy
18842
        targets, since they wouldn't have worked.  (Depended on
18843
        nonexistent "doc" subdir.)
18844
 
18845
Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18846
 
18847
        * configure.in: handle mips* instead of mips
18848
 
18849
Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
18850
 
18851
        * libc/include/sys/dirent.h: New file.  If it is not overridden by
18852
        a version of libc/sys/*/sys/dirent.h, it includes the next
18853
         file in case there is one lurking somewhere.
18854
 
18855
Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18856
 
18857
        * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
18858
        compliance, namely: Accept a minus sign.  Consider a single 0 with
18859
        a radix of 0 as being a conversion.  Determine overflow correctly.
18860
        If an overflow occurs, set *ptr to the end of the number, not the
18861
        middle.
18862
        * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
18863
 
18864
Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
18865
 
18866
        * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
18867
 
18868
Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
18869
 
18870
        * Makefile.in (INSTALL): Use $srcrootpre.
18871
        (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
18872
        can't handle it.
18873
        * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
18874
        it.
18875
        * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
18876
        * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
18877
        * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
18878
        * libm/math/Makefile.in (matherr.o): Ditto.
18879
 
18880
Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
18881
 
18882
        * configure.in: Build multidirs for z8k.
18883
        * libc/include/stdlib.h (_strtoul_r): add prototype.
18884
        * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
18885
        * libc/include/machine/setjmp.h: Add for z8k.
18886
        * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
18887
        * libc/sys/z8ksim/glue.c: tidy up.
18888
 
18889
Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
18890
 
18891
        * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
18892
        New files.  Requires execve system call.
18893
        * libc/unix/Makefile.in: Use them.
18894
        * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
18895
        Deleted, moved to libc/unix.
18896
        * libc/sys/sparc64/Makefile.in: Remove them.
18897
 
18898
Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18899
 
18900
        * libc/sys/sparc64/{template.S template_r.S}: New files.
18901
        * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
18902
        from templates.
18903
        * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
18904
        fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
18905
        umask.S unlink.S wait4.S write.S}: Removed, now built from
18906
        templates.
18907
 
18908
Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
18909
 
18910
        * libc/time/time.c: #include <_ansi.h>.
18911
 
18912
Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18913
 
18914
        * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
18915
 
18916
Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18917
 
18918
        * configure.in: match m8* rather than m88k so that m88110 is
18919
          recognized as well.
18920
 
18921
Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18922
 
18923
        * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
18924
        Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
18925
        misc.c: New file.
18926
 
18927
        * configure.in: Add multilib support to h8300.
18928
 
18929
Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
18930
 
18931
        * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
18932
        * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
18933
        * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
18934
 
18935
Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18936
 
18937
        * configure.in: Corrected multidirs for sparc target.
18938
 
18939
Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18940
 
18941
        Support for building newlib multiple times with different
18942
        compilation flags.
18943
        * configure.in: Only configure doc at top level.  Set multidirs
18944
        when appropriate for target, unless not at top level.  If
18945
        multidirs is set, independently configure each subdirectory.
18946
        Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
18947
        * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
18948
        automagically set by configure.in.
18949
        (all): If MULTIDIRS is set, build multiple copies of libraries.
18950
        (install): If MULTIDIRS is set, install multiple copies of
18951
        libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
18952
        MULTISUBDIR is set, don't bother to install header files.
18953
        * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
18954
        ${srcrootpre}.
18955
        * stub/configure.in: Set MULTISUBDIR appropriately.
18956
        * stub/Makefile.in (install): Install in
18957
        $(tooldir)/lib/$(MULTISUBDIR).
18958
        * All Makefile.in files: Define SRCTOP as well as TOP.
18959
 
18960
Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
18961
 
18962
        * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
18963
        * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
18964
 
18965
Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
18966
 
18967
        * libc/sys/h8300hms/exit.c (_exit): New function.
18968
 
18969
Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18970
 
18971
        * configure.in: recognize m88110.
18972
 
18973
Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18974
 
18975
        * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
18976
          prototype main and call with args.
18977
 
18978
Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
18979
 
18980
        First real try at system traps for m88k-bug.
18981
        * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
18982
          to real trap calls.
18983
        * libc/sys/m88kbug/sys/systraps.h: new file.
18984
 
18985
Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18986
 
18987
        Patches to fix info building when target does not use sys
18988
        directory.
18989
        * libc/Makefile.in (targetdep.tex): add sys.tex separately.
18990
        * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
18991
          libc/sys.tex.
18992
        * libc/sys/Makefile.in (doc): do nothing.
18993
 
18994
Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18995
 
18996
        * libc/Makefile.in (CRT0): new macro.
18997
          (all): depend on $(CRT0) rather than crt0.o.
18998
 
18999
        * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
19000
          do not default crt0, instead, set crt0 and crt0_dir based on
19001
          sys_dir and stub_dir.
19002
 
19003
        * Makefile.in (CRT0_DIR): new macro.
19004
          (all): depend on $(CRT0) rather than crt0.o which may not exist.
19005
          (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
19006
          $(CRT0).
19007
          ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
19008
 
19009
Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19010
 
19011
        * testsuite/lib/libm.exp:
19012
                added code to support compiling and linking of tests for
19013
                libm.sac (paranoia to be added next) and processing the
19014
                pass or failure of the tests.
19015
 
19016
        * testsuite/config/unix-libm.exp:
19017
                platform specific proc's for dealing with compiler, linker
19018
                and the way we execute and process the test results.
19019
 
19020
        * testsuite/libm.sac/execute.exp:
19021
                generic framework for the sac tests. the config and lib
19022
                expect code for specific platforms tie it all together.
19023
 
19024
        * testsuite/libm.sac/test_is.c:
19025
                changed the output of the test to be consistant with the
19026
                other tests. parsing of pass nad fail messages is now fixed.
19027
 
19028
Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
19029
 
19030
        * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
19031
        locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
19032
        stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
19033
        #ifdef __cplusplus, surround by extern ""C { ... }.
19034
        * libc/include/assert.h:  Do *not* protect assert.h against
19035
        multiple inclusion!  Also, #undef it before #define, to allow
19036
        redefinition.
19037
        * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
19038
        should be only in unistd.h.
19039
 
19040
        * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
19041
        unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
19042
        ... }.
19043
 
19044
Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
19045
 
19046
        * libc/machine/sparc/Makefile.in: Must create a library, even
19047
        if empty.
19048
 
19049
Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19050
 
19051
        * configure.in: set machine_dir for m88k.  edit crt0 definition
19052
          into makefiles.
19053
 
19054
        * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
19055
 
19056
        * libc/Makefile.in (all): also build crt0.o.
19057
 
19058
        * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
19059
          libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
19060
          to remove CRT0.
19061
 
19062
        * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
19063
          (all): reworked to build in place.
19064
          (clean): remove lib.a
19065
          (Makefile): remove redundant ./, call $(SHELL) rather than sh.
19066
 
19067
        * libc/sys/m88kbug/crt0.c (start): renamed to _start.
19068
          (_start): key off edata rather than _start_bss.
19069
 
19070
Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
19071
 
19072
        * libc/include/sys/unistd.h, libc/include/reent.h,
19073
        libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
19074
 
19075
Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19076
 
19077
        * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
19078
 
19079
        * Makefile.in (libc.a): break into two rules, one for libc.a and
19080
          one for libc/libc.a.  Force subdirs current before rebuilding
19081
          library.
19082
          (libm.a): break into two rules, one for libm.a and one for
19083
          libm/libm.a.  Force subdirs current before rebuilding library.
19084
 
19085
        * libc/Makefile.in (SUBLIBS): fix typo.
19086
 
19087
        * libc/sys/Makefile.in (all): force descent into subdirs, then
19088
          rebuild library iff out of of date.
19089
 
19090
Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19091
 
19092
        Rework so that library is built and then finished rather than
19093
        being built on each invocation of make.
19094
 
19095
        * host/any (machine_dir, sys_dir, signal_dir): these are not
19096
          shared and have been moved to their associated Makefile.in's.
19097
          (AR_FLAGS): switch to qc which is faster.
19098
        * configure.in: no longer assign machine_dir for m88k.  set
19099
          stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
19100
          stub_dir set, then add to configdirs.  add comment about silly
19101
          configuration.
19102
          (configdirs): drop stub.  It will be added only
19103
          when needed.
19104
          (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
19105
          libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
19106
          stub_lib, crt0): new variables for tailoring lower level
19107
          makefiles.  Assign accordingly and edit into makefiles.
19108
        * libm/Makefile.in: updated copyright.
19109
          (TARGETLIB): removed.
19110
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
19111
          (SUBDIRS): removed TARGETDEP_DIRS.
19112
          (LIBM_FP_LIB, SUBLIBS): new macros.
19113
          (all): reworked.
19114
          (force): new target to force rebuilds.
19115
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19116
        * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
19117
          libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
19118
          libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
19119
          libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
19120
          libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
19121
          libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
19122
          stub/m68kmvme/Makefile.in: updated copyright.
19123
          (TARGETLIB, TARGETCRT0, CRT0): macros removed.
19124
          (all): reworked.  made this the default rule.
19125
          (clean): also remove lib.a.
19126
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19127
        * stub/Makefile.in: updated copyright.
19128
          (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
19129
          (stub_lib): new macro.
19130
          (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
19131
          RANLIB.
19132
          (all): reworked.
19133
          (clean, install): assume stub_dir exists.
19134
          (Makefile): depend on configure.in.  call $(SHELL) rather than
19135
          sh.  drop redundant ./
19136
        * stub/configure.in (stublib): new macro, assign it, edit it into
19137
          makefiles.
19138
        * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
19139
          updated copyright.
19140
          (all): reworked.
19141
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19142
        * libc/Makefile.in (TARGETCRT0): removed.
19143
          (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
19144
          TARGETCRT0.
19145
          (SUBDIRS): drop TARGETDEP_DIRS.
19146
          (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
19147
          LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
19148
          (force): new target to force rebuilds.
19149
        * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
19150
          (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
19151
          removed.
19152
          (clean): assume sys_dir always exists.
19153
        * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
19154
          drop redundant ./
19155
        * libc/ctype/Makefile.in, libc/errno/Makefile.in,
19156
          libc/locale/Makefile.in, libc/machine/Makefile.in,
19157
          libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
19158
          libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
19159
          libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
19160
          libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
19161
          libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
19162
          libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
19163
          libc/signal/Makefile.in, libc/stdio/Makefile.in,
19164
          libc/stdlib/Makefile.in, libc/string/Makefile.in,
19165
          libc/sys/Makefile.in, libc/syscalls/Makefile.in,
19166
          libc/time/Makefile.in, libc/unix/Makefile.in,
19167
          libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
19168
          (TARGETLIB): removed.
19169
          (all): reworked.
19170
          (clean): also remove lib.a.
19171
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19172
        * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
19173
          new macros.
19174
          (SUBDIRS): moved to follow frag inclusion, change stub to
19175
          stub_dir.
19176
          (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
19177
          are now set in the libc Makefile.
19178
        * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
19179
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
19180
          TARGETCRT0.
19181
          (force): new target to force rebuilds.
19182
        * stub/configure.in: determine and set stub_lib for for Makefile.
19183
 
19184
Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
19185
 
19186
        * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
19187
        crt0.s renamed to crt0.S.
19188
        * libc/sys/h8300hms/crt0.S: Add h8/300h support.
19189
 
19190
        * libc/machine/h8300/Makefile.in: Make `all' the default target.
19191
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
19192
        h8300h.
19193
        * libc/machine/h8300/defines.h: Add macros to handle pointers for
19194
        h8300 (16 bits) and h8300h (32 bits).
19195
        * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
19196
        reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
19197
 
19198
Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
19199
 
19200
        * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
19201
        implementation of setjmp and longjmp for the m88k.
19202
        * libc/include/machine/setjmp.h: Added __m88000__ case.
19203
 
19204
Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
19205
 
19206
        * configure.in: Recognize h8300h as variant of h8300.
19207
 
19208
Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19209
 
19210
        * libc/include/sys/unistd.h (read, write): get prototypes right.
19211
        (sbrk): New prototype.
19212
        * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
19213
        * libc/stdio/local.h: Include unistd.h.
19214
        * libc/machine/h8300/syscalls.c: Names have changed.
19215
 
19216
Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
19217
 
19218
        * configure.in: add sys_dir assignment for m88k-bug.
19219
 
19220
Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19221
 
19222
        * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
19223
        a.out or elf.
19224
        * libc/sys/sparc64: all *.S files: Use new macros.
19225
        * libc/sys/sparc64/isatty.c: New file.
19226
        * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
19227
        functions beyond what newlib provides.
19228
 
19229
Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
19230
 
19231
        * libc/include/sys/stat.h: Move st_atime so not doubly defined for
19232
        svr4.
19233
 
19234
Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
19235
 
19236
        * libc/include/machine/ieeefp.h: Add support for h8/300h.
19237
 
19238
Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
19239
 
19240
        * configure.in: add m88k.
19241
        * libc/include/machine/ieeefp.h: add case for m88k.  Also add
19242
        sanity check so no one else need ever chase what I did to find
19243
        this.
19244
 
19245
        * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
19246
 
19247
Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19248
 
19249
        * doc/makedoc.c: Include .
19250
 
19251
Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
19252
 
19253
        * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19254
        * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19255
        * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19256
 
19257
        * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
19258
 
19259
Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
19260
 
19261
        * libc/include/errno.h (ENOSYS): Added.
19262
 
19263
        * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
19264
 
19265
Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19266
 
19267
        * libc/stdio/fflush.c (fflush): Check for reent struct
19268
        initialization.
19269
        * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
19270
 
19271
Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
19272
 
19273
        * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
19274
        out of dtoa.c so it doesn't pollute the namespace.
19275
        * libc/include/_syslist.h: new file -- mappings from _function to
19276
        function, for systems where we can't win (by default, all of them,
19277
        until we start updating system calls.)
19278
        * libc/syscalls: new directory -- stubs for exporting _function
19279
        names as unmodified function names.
19280
        * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
19281
        _syslist.h on all platforms by default, but put hooks in for
19282
        fake_sys_dir so we can include it when we've renamed the system
19283
        calls.
19284
        * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
19285
        libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
19286
        libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
19287
        libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
19288
        libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
19289
        libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
19290
        non ANSI functions to call _function.
19291
 
19292
Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19293
 
19294
        * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
19295
        when base 16 is specified.  Don't accept non-digits if radix > 10.
19296
 
19297
Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
19298
 
19299
        * libc/include/math.h: Rename xxx_r fns to _xxx_r.
19300
 
19301
Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19302
 
19303
        * libc/include/sys/stat.h: Surround text after #endif with
19304
        comments.
19305
 
19306
Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19307
 
19308
        * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
19309
        _malloc_r, _realloc_r, and free_r call the corresponding
19310
        non-reentrant functions.
19311
 
19312
        * libm/math/modf.c (modf): We now take the address of ipart, so
19313
        don't make it a register variable.
19314
 
19315
Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
19316
 
19317
        * libm/math/*: Rename all xxx_r fns to _xxx_r.
19318
 
19319
Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
19320
 
19321
        * libc/libc.texinfo and embedded docn throughout: formatting
19322
        improvements, minor rephrasing for clarity, and improved
19323
        reentrancy docn.
19324
 
19325
Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19326
 
19327
        * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
19328
 
19329
        * libc/stdio/cvt.c (_licvt): Print the right value on machines
19330
        where sizeof(int) != sizeof(long).
19331
 
19332
Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19333
 
19334
        * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
19335
        libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
19336
        libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
19337
        libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
19338
        libm/math/matherr.c: changes for better docn formatting (info).
19339
 
19340
        * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
19341
        libc/reent/reent.tex, libc/signal/signal.tex,
19342
        libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
19343
        libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
19344
        libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
19345
        makeinfo node defaulting to get better Info file node structure.
19346
        (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
19347
        Also include a few formerly missing sections (subroutines).
19348
 
19349
        * doc/doc.str: delete fossil expansion for "func"
19350
 
19351
        * default.menu, no-signal.menu: delete.
19352
 
19353
        * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
19354
        method used to adjust doc for missing "signals" chapter when
19355
        signal_dir is empty.
19356
 
19357
Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19358
 
19359
        * configure.in: added testsuite/libm.sac
19360
 
19361
Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
19362
 
19363
        * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
19364
        code model).
19365
 
19366
Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19367
 
19368
        * libm/Makefile.in: Use $(MAKE) rather than make, and define
19369
        MAKEOVERRIDES to be empty.
19370
 
19371
Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
19372
 
19373
        * configure.in: Don't build mips-*-* with -msoft-float, since that
19374
        makes it incompatible with hard floating point.
19375
 
19376
Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19377
 
19378
        * Makefile.in: added recursive 'make check'
19379
 
19380
Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19381
 
19382
        * configure.in: added ./testsuite ./testsuite/libm.paranoia
19383
        * ./testsuite/Makefile.in: created
19384
        * ./testsuite/libm.paranoia: paranoia tests added
19385
 
19386
Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
19387
 
19388
        * configure.in: For mips-*-* set machine_dir to mips.
19389
 
19390
        * libc/machine/mips: New directory.
19391
        * libc/machine/mips/Makefile.in: New file.
19392
        * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
19393
        setjmp and longjmp.
19394
        * libc/include/machine/setjmp.h: Added __mips__ case.
19395
 
19396
        * libc/machine/lmips: Removed unused and useless directory.
19397
 
19398
Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
19399
 
19400
        * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
19401
 
19402
Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
19403
 
19404
        * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
19405
        start up).
19406
 
19407
Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19408
 
19409
        * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
19410
        SETJMP_H.
19411
 
19412
Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
19413
 
19414
        * libm/test/convert.c: structure member errno -> errno_val.
19415
        Must include  to use errno, it's a macro now.
19416
        * libm/test/math.c: Ditto.
19417
        * libm/test/math2.c: Include errno.h.
19418
        * libm/test/string.c: Ditto.
19419
        * libm/test/test.h: structure member errno -> errno_val.
19420
        Remove extern int errno decl.
19421
 
19422
Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
19423
 
19424
        * libc/stdio/Makefile.in: Added dependencies on local header
19425
        files.
19426
        * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
19427
        files.
19428
 
19429
Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19430
 
19431
        * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
19432
 
19433
Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19434
 
19435
        * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
19436
        Initialize _data.
19437
 
19438
        * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
19439
        * libc/stdio/local.h: Add prototype for _licvt.
19440
 
19441
        * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
19442
        instead of malloc,reealloc.
19443
 
19444
        * libc/stdlib/local.h: New file.
19445
        * libc/stdlib/efgcvt.c: #include local.h.
19446
        (gcvt): Fix call to _gcvt.
19447
        * libc/stdlib/ecvtbuf.c: #include local.h.
19448
 
19449
        * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
19450
        * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
19451
        * libc/stdlib/malloc.c: main routines moved to mallocr.c.
19452
 
19453
        * libc/stdlib/atexit.c: moved global data to struct _reent.
19454
        * libc/stdlib/exit.c: use struct _atexit in struct _reent.
19455
 
19456
        * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
19457
 
19458
Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
19459
 
19460
        * libc/include/sys/reent.h: Stuff required by ANSI headers moved
19461
        here from ../reent.h.
19462
 
19463
Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
19464
 
19465
        * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
19466
        should be provided in both libc.a and libm.a.
19467
        (libc.a): Depend on targ-include and libm.a.  Copy
19468
        $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
19469
        (libm.a): Depend on targ-include.
19470
        * configure.in (subdirs): Removed libc/math.
19471
 
19472
Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19473
 
19474
        * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
19475
 
19476
Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
19477
 
19478
        * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
19479
        sys/reent.h instead of reent.h.
19480
        * libc/include/reent.h: Split into two parts: stuff needed by ANSI
19481
        headers moved to sys/reent.h.
19482
        * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
19483
        * libc/include/sys/signal.h: Define _MAX_SIGNALS if
19484
        __need__MAX_SIGNALS defined.
19485
        * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
19486
        std{in,out,err} refer to new _std{in,out,err} members.
19487
 
19488
Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
19489
 
19490
        * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
19491
        case.
19492
 
19493
Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
19494
 
19495
        * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
19496
        rather than whatever macro seterrno() has.
19497
 
19498
Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
19499
 
19500
        * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
19501
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19502
 
19503
        * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
19504
        __STDC__.
19505
 
19506
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
19507
        reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
19508
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19509
 
19510
        * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
19511
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19512
 
19513
        * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
19514
        fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
19515
        fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
19516
        mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
19517
        remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
19518
        sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
19519
        vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
19520
        renamed to _xxx_r.  struct reent_struct renamed to struct _reent
19521
        for ANSI.  structure members given leading "_" for ANSI.  Use
19522
        _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19523
 
19524
        * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
19525
        mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
19526
        system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
19527
        reent_struct renamed to struct _reent for ANSI.
19528
        Structure members given leading "_" for ANSI.
19529
        _CONST --> const in prototypes.
19530
        Use _HAVE_STDC instead of __STDC__.
19531
 
19532
        * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
19533
        _xxx_r.
19534
        struct reent_struct renamed to struct _reent for ANSI.
19535
        Structure members given leading "_" for ANSI.
19536
 
19537
        * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
19538
        _xxx_r.
19539
        struct reent_struct renamed to struct _reent for ANSI.
19540
 
19541
        * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
19542
        cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
19543
        gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
19544
        mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
19545
        tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
19546
 
19547
        * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
19548
        signal.h, stdio.h, stdlib.h, string.h, time.h}:
19549
        Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19550
        #ifndef _STRICT_ANSI non-ANSI routines.
19551
        Reentrant routines renamed from _r_xxx to _xxx_r.
19552
        No need to use _STRICT_ANSI on _xxx_r reentrant routines.
19553
        Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
19554
        Clean up namespace (structure members have leading "_").
19555
        struct reent_struct renamed to struct _reent for ANSI compliance.
19556
        _CONST --> const in function prototypes.
19557
 
19558
        * libc/include/string.h: Add NULL and size_t.
19559
 
19560
        * libc/sys/sparc64/Makefile.in: New syscall routines for link,
19561
        unlink, wait, wait4. Reentrant syscall routines close, fork,
19562
        fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
19563
        write.
19564
        * libc/sys/sparc64/cerror.S (cerror_r): New routine.
19565
        * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
19566
        open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
19567
        write.S}: Define reentrant versions.
19568
        * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
19569
        reentrant syscalls.
19570
 
19571
        * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
19572
 
19573
        * libc/include/stdlib.h (RAND_MAX): Fix value.
19574
 
19575
Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
19576
 
19577
        * libc/sys/a29khif/_main.c: Removed unnecessary file.
19578
        * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
19579
        VPATH support targets after all: target.
19580
 
19581
        * stub/mvme135/mvme.S: Renamed exceptionhandler to
19582
        exceptionHandler, which is what mvme135-stub.c expects.
19583
 
19584
Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
19585
 
19586
        * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
19587
 
19588
        * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
19589
        def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
19590
        compliant).
19591
 
19592
Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19593
 
19594
        * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
19595
        first.
19596
        libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
19597
        _r_write): Ditto.
19598
        libc/reent/fstatr.c (_r_fstat): Ditto.
19599
        libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
19600
        libc/reent/sbrkr.c (_r_sbrk): Ditto.
19601
        libc/reent/statr.c (_r_stat): Ditto.
19602
 
19603
        * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
19604
        * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
19605
        * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
19606
        * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
19607
        * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
19608
        * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
19609
        * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
19610
        * libc/stdio/stdio.c (__sread): Ditto for _r_read.
19611
        (__swrite): Ditto for _r_lseek, _r_write.
19612
        (__sseek): Ditto for _r_lseek.
19613
        (__close): Ditto for _r_close.
19614
        * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
19615
 
19616
        * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
19617
        * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
19618
 
19619
        * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
19620
        to make reent_struct the first argument (and thus consistent with
19621
        the rest of newlib).
19622
 
19623
        * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
19624
        reference to __STDC__.
19625
 
19626
Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
19627
 
19628
        * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
19629
        global __cleanup.
19630
 
19631
Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
19632
 
19633
        * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
19634
        first.
19635
        libc/stdio/fclose.c (fclose): Ditto.
19636
 
19637
Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
19638
 
19639
        * Run through indent and rename reentrant routines for ANSI.
19640
        libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
19641
        fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
19642
        fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
19643
        fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
19644
        getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
19645
        putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
19646
        scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
19647
        tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
19648
        vsprintf.c wbuf.c wsetup.c local.h}
19649
 
19650
        * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
19651
 
19652
        * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
19653
        libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
19654
        assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
19655
        dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
19656
        mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
19657
        strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
19658
 
19659
        * Run through indent.
19660
        libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
19661
        memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
19662
        strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
19663
        strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
19664
        strxfrm.c}
19665
 
19666
        * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
19667
        localtime.c mktime.c strftime.c time.c}:
19668
        Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
19669
 
19670
        * Reformatting + renaming (for ANSI, GNU style, consistency).
19671
        libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
19672
        ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
19673
        signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
19674
 
19675
Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
19676
 
19677
        * libc/include/stdio.h (stdin_r): Fix.
19678
 
19679
Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
19680
 
19681
        * Makefile.in: Unexport some variables to keep GNU make from
19682
        putting them in the environment and using up needed ARG_MAX space
19683
        (a hack is used to let this work with older makes as well).
19684
 
19685
Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
19686
 
19687
        * Makefile.in: Use $(MAKE) rather than make.
19688
        (MAKEOVERRIDES): Define to be empty.
19689
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19690
        (libc.a, libm.a): Depend on targ-include.
19691
        * host/any (LD): Don't define.
19692
        (INCLUDES): Use targ-include.
19693
        * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
19694
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19695
        * libc/Makefile.in: Use $(MAKE) rather than make.
19696
        (MAKEOVERRIDES): Define to be empty.
19697
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19698
        (all): Rewrote to be slightly smaller.
19699
        * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
19700
        Define to be empty.
19701
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19702
        * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
19703
 
19704
Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
19705
 
19706
        * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
19707
        with errno/errno.c.
19708
 
19709
Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
19710
 
19711
        * Changes for reentrancy.
19712
        libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
19713
        Use ptr->_errno, not errno.
19714
        libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
19715
        libc/stdio/remove.c (remove_r): New function.
19716
        libc/stdio/rename.c (rename_r): New function.
19717
        libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19718
        libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
19719
        libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
19720
        reentrant versions of system calls.
19721
        libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
19722
        libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
19723
        libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
19724
        libc/stdio/findfp.c: Include .
19725
        libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
19726
        "local.h".
19727
        libc/stdio/wbuf.c: Include "fvwrite.h"
19728
 
19729
        * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
19730
        .
19731
        libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
19732
        (NULL): Don't define if already defined.
19733
        libc/stdlib/system.c: Call reentrant versions of system calls.
19734
        (system_r): New function.
19735
 
19736
        * Changes for reentrancy.
19737
        libc/include/_ansi.h (_PARAMS): New macro.
19738
        libc/include/errno.h: Define errno as a macro that calls __errno.
19739
        (__errno_r): New macro for reentrant code.
19740
        libc/include/math.h: Include reent.h.  Declare many reentrant
19741
        functions.
19742
        (signgam): Now a macro, not a variable.
19743
        (struct exception): Added err field.
19744
        libc/include/reent.h: Don't declare __sglue.  Added function
19745
        declarations.
19746
        (struct reent_struct): Moved errno to beginning.  Added _signgam.
19747
        libc/include/stdio.h, libc/include/stdlib.h: Added function
19748
        declarations.
19749
 
19750
        * More reentrancy hacking.
19751
        libc/errno/errno.c (__errno): New function.
19752
        libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
19753
        libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
19754
        files.
19755
 
19756
        * Added many new reentrant functions to libm/math/*.
19757
        libm/math/error.c (__matherror): Added reent_struct pointer
19758
        argument. Changed all callers.
19759
        libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
19760
        libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
19761
        libm/math/tan.h: Removed obsolete unused header files.
19762
 
19763
        * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
19764
 
19765
        * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
19766
 
19767
Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19768
 
19769
        * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
19770
        delay slots.
19771
 
19772
Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19773
 
19774
        * libc/libc.texinfo:  comment out reentrancy chapter (duh)
19775
 
19776
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19777
 
19778
        * libc/reent/reent.tex:  New file.  (text from
19779
        newlib/libc/libc.texinfo)
19780
        * libc/stdio/tmpnam.c:  fixed doc typo
19781
        * libc/stdlib/rand.c:   fixed doc typo
19782
 
19783
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19784
 
19785
        * libc/reent/reent.tex:  New file.  (text from
19786
        newlib/libc/libc.texinfo)
19787
 
19788
Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19789
 
19790
        support for reentrancy
19791
        * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
19792
        new files
19793
        * libc/errno/errno.c, libc/include/ieeefp.h,
19794
        libc/include/locale.h, libc/include/reent.h,
19795
        libc/include/signal.h, libc/include/stdio.h,
19796
        libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
19797
        libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
19798
        libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
19799
        libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
19800
        libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19801
        libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
19802
        libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
19803
        libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
19804
        libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
19805
        libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
19806
        libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
19807
        libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
19808
        libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
19809
        libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
19810
        libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
19811
        libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
19812
        libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
19813
        libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
19814
        libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
19815
        libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
19816
        libc/time/strftime.c: modify to provide reentracy.
19817
 
19818
        new routines:
19819
        strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
19820
        perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
19821
        tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
19822
        srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
19823
        mstats_r, realloc_r, localeconv_r, setlocale_r
19824
 
19825
Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
19826
 
19827
        * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
19828
        libc/include/sys/config.h, libc/include/sys/signal.h,
19829
        libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
19830
        provided macros (such as m68000), use the ansi version
19831
        (__m68000__) so that the library can be used with code compiled
19832
        -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
19833
        and sparc.
19834
 
19835
Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19836
 
19837
        * configure.in (sparc*): Don't set -fsoft-float for sparc
19838
        configurations.  Do set -fsoft-float for sparclite configurations.
19839
 
19840
Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19841
 
19842
        * default.menu, no-signal.menu: alternate forms of libc main menu
19843
          (in newlib rather than newlib/libc due to configuration restrictions)
19844
 
19845
        * configure.in: select one of the two menus above, link to
19846
        libc.menu
19847
 
19848
        * libc/libc.texinfo: include menu from separate file
19849
 
19850
Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
19851
 
19852
        * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
19853
        (info): Split long shell command in half.
19854
        * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
19855
        sub-makes, just CHEW and TARGETDOC.
19856
        (targetdep.tex): Removed now special handling of sys and machine
19857
        subdirectories, made obsolete some time ago.
19858
        * libc/machine/Makefile.in (doc): Don't pass everything to
19859
        sub-make, just CHEW and TARGETDOC.
19860
        (Makefile): New target.
19861
        * libc/sys/Makefile.in (Makefile): New target.
19862
 
19863
Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
19864
 
19865
        * Makefile.in (here and most subdirectories): Only pass down CHEW
19866
        and TARGETDOC when making info, not for other targets.
19867
 
19868
        * Makefile.in (here and most subdirectories), host/any: Use $(AR)
19869
        $(AR_FLAGS) rather than $(ARUPDATE).
19870
 
19871
Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
19872
 
19873
        * Try to reduce command line length:
19874
        * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
19875
        CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
19876
        (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
19877
        (info): Pass CHEW to other subdirs.
19878
 
19879
Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
19880
 
19881
        * configure.in: add signal_dir, like unix_dir, but by default it
19882
        is set to "signal" so that a29khif can turn it off (since a29khif
19883
        has raise() as part of machine-specific signal.s.)
19884
 
19885
Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19886
 
19887
        * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
19888
        * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
19889
        correctly.
19890
        * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
19891
        libc/stdio/vfprintf: type lint.
19892
        * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
19893
        initialzation code.
19894
        * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
19895
 
19896
Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
19897
 
19898
        * stub/mvme135/mvme135-asm.S: new file.
19899
        stub/mvme135mvme135-stub.c: moved all assembler routines into
19900
        mvme135-asm.S.
19901
        stub/mvme135/Makefile.in: build mvme135-stub.o.
19902
 
19903
Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
19904
 
19905
        * Makefile.in: don't pass down $(CPP); use $(CC) -E in
19906
        sub-Makefiles instead, to try to avoid line length limitations.
19907
 
19908
Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
19909
 
19910
        * libc/include/unistd.h (read, write):  Use void* instead of
19911
        char*.
19912
 
19913
Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
19914
 
19915
        * stub/go32/resetpc: sample script to send a reset packet to the
19916
        stub
19917
 
19918
        * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
19919
        DOS environment, which compiles with Turbo C.
19920
 
19921
        * stub/go32/DSER32.LNK: new file, linker commands for serial
19922
        remote stub.
19923
 
19924
        * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
19925
        start up message to identify version; call set_debug_traps.
19926
 
19927
        * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
19928
        keyboard interaction); call handle_exception() in go_til_stop,
19929
        rather than return, so that the remote stub gets control.
19930
 
19931
        * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
19932
        rename, rather than mv), set flags that work with current Turbo C,
19933
        including using the /3 flag; also, add commands to build dser32.
19934
 
19935
        * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
19936
        default Turbo C installation (\tc rather than \usr)
19937
 
19938
        * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
19939
        "&..."
19940
 
19941
Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19942
 
19943
        * libc/include/math.h: added _DOUBLE_IS_32BITS checks
19944
 
19945
Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19946
 
19947
        * libc/stdio/cvt.c (licvt): new function to convert ints when
19948
        sizeof(int) != sizeof(long).
19949
 
19950
        * libc/include/stdio.h: added prototype for iprintf.
19951
        * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
19952
 
19953
Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
19954
 
19955
        * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
19956
        __REGISTER_PREFIX__.
19957
 
19958
Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
19959
 
19960
        * libc/sys/m68kbare: moved into stub directory.
19961
 
19962
Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
19963
 
19964
        * configure.in, Makefile.in: created new directory stub, to hold
19965
        sample code for specific targets.
19966
 
19967
Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
19968
 
19969
        * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
19970
        in the unified libc/include/sys/fcntl.h.
19971
 
19972
Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
19973
 
19974
        * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
19975
        printed .01, not 0.01.
19976
 
19977
Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
19978
 
19979
        * configure.in: compile with -m68000 for m68* targets.
19980
 
19981
Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
19982
 
19983
        * libm/math/remainder.c (remainder): document the svr4 and sunos
19984
        references used to construct the function.
19985
 
19986
Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
19987
 
19988
        * libm/math/remainder.c (rint, remainder): fix old typos.
19989
        * libm/math/Makefile.in: actually build remainder.c (functions
19990
        rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
19991
        page.)
19992
 
19993
Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
19994
 
19995
        * libc/string/bcopy.c: BSD version works on overlapping strings,
19996
        so ours should too.
19997
 
19998
        * libc/stdlib/system.c: always invoke /bin/sh, not getenv
19999
        ("SHELL").
20000
 
20001
Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
20002
 
20003
        * Makefile.in (docs): new target.
20004
 
20005
Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
20006
 
20007
        * libc/include/sys/times.h: define clock_t as required by POSIX.
20008
        libc/include/time.h: protect clock_t from multiple definitions.
20009
 
20010
Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20011
 
20012
        * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
20013
        does not need more than the original three iterations to get
20014
        within 1 ulp. (Paranoia tests for rounding to better than that,
20015
        but further iterations *don't* help, only more subtle changes
20016
        can.)
20017
 
20018
Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
20019
 
20020
        * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
20021
        were doing nothing useful.
20022
 
20023
Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20024
 
20025
        * configure.in: define MALLOC_PROVIDED for vxworks targets;
20026
        removed sys_dir settings of vxworks68 and vxworks960.
20027
        host/any: don't pass -nostdinc to gcc, since newlib no longer
20028
        provides all required header files.
20029
 
20030
        * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
20031
        is not defined; this provides a hook for VxWorks.
20032
 
20033
Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20034
 
20035
        * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
20036
        buffer if buf is NULL, don't do it here -- it is already being
20037
        done by makebuf elsewhere in stdio.
20038
 
20039
Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20040
 
20041
        * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
20042
        that C programs can call functions without using initial
20043
        underscores.
20044
 
20045
Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
20046
 
20047
        * libc/stdlib/abort.c (abort): call exit, in case kill returns.
20048
 
20049
Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
20050
 
20051
        * configure.in: set TARGET_CFLAGS for certain CPU types to
20052
        -msoft-float.
20053
 
20054
Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20055
 
20056
        * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of 
20057
 
20058
Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20059
 
20060
        * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
20061
        m68k*-unknown-coff.
20062
 
20063
Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
20064
 
20065
        * libc/include/stdio.h: define __need___va_list before including
20066
        , to avoid defining va_arg, et. al.
20067
 
20068
Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
20069
 
20070
        * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
20071
        (don't cd to the user's home directory).
20072
 
20073
        * libc/Makefile.in: replaced all instances of $(MAKE) with make.
20074
        In general this is the wrong thing to do, but I can't get around
20075
        GNU make's insistence on passing command line arguments any other
20076
        way.
20077
 
20078
Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20079
 
20080
        * configure.in: always configure the libc/sys directory, since it
20081
        now provides a required documentation file.
20082
 
20083
        * Makefile.in: replaced all instances of $(MAKE) with make.  In
20084
        general this is the wrong thing to do, but I can't get around GNU
20085
        make's insistence on passing command line arguments any other way.
20086
 
20087
Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
20088
 
20089
        * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
20090
        terminated.
20091
 
20092
        * libc/stdio/local.h: include  to define va_list.
20093
        libc/stdio/vsprintf.c: include  rather than .
20094
 
20095
        * libc/include/float.h, libc/include/stdarg.h,
20096
        libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
20097
        versions instead.
20098
        libc/include/stdio.h: get size_t from , and va_list from
20099
        , not from .  Protect definition of
20100
        NULL.
20101
        libc/include/time.h: get size_t from stddef.h.  Protect definition
20102
        of NULL.
20103
        libc/include/machine/limits.h: override gcc  by defining
20104
        _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc  to
20105
        get correct INT_MIN and LONG_LONG values.
20106
        libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
20107
        size_t or va_list at all; they're now gotten from stddef.h
20108
        instead.
20109
        libc/include/machine/varargs.h: removed; use gcc version instead.
20110
        libc/include/sys/types.h: explicitly include .
20111
 
20112
        * libm/math/sqrt.h: using the fp-bit routines appears to require
20113
        more iterations.
20114
 
20115
        * Makefile.in, host/any: let system include files override machine
20116
        include files.
20117
 
20118
Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20119
 
20120
        * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
20121
        override _*_T_ definitions defaulted here.
20122
 
20123
Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
20124
 
20125
        * Makefile.in (install): install the include files in
20126
        $(tooldir)/include, not $(exec_prefix)/include.
20127
 
20128
Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
20129
 
20130
        * Makefile.in (install): fixed typo, and changed install to not
20131
        force rebuild of libc.a and libm.a.
20132
 
20133
Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
20134
 
20135
        * libc/sys/a29khif/*: Changed all .include's to include
20136
        sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
20137
        that they will be installed for the user.
20138
 
20139
        * Makefile.in (all): create targ-include, a directory holding the
20140
        machine and system specific header files during the build.
20141
        (install): fixed installation of machine and system specific
20142
        header files.
20143
 
20144
        * Makefile.in: fixed comment.
20145
        host/any: change .s.o rule to use $(AS) rather than $(CC), so that
20146
        we can pass $(INCLUDES) to it.
20147
 
20148
Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20149
 
20150
        * libc/include/sys/param.h: new generic file, which may be
20151
        overridden for specific systems.
20152
 
20153
        * libc/include/sys/signal.h: define all ANSI signal names, and
20154
        NSIG (which is not ANSI) for a29k.
20155
 
20156
Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
20157
 
20158
        * Makefile.in: don't pass down arguments the lower level makes
20159
        will not need.
20160
        * libc/Makefile.in: recurse directly, rather than using subdir_do,
20161
        in hopes of avoiding argument length limits.
20162
        * libm/Makefile.in: recurse directly, rather using subdir_do, in
20163
        hopes of avoiding argument length limits.
20164
 
20165
Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
20166
 
20167
        * libc/include/sys/fcntl.h: include  to ensure that
20168
        mode_t is defined.
20169
 
20170
Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20171
 
20172
        * Fixed make info and make install-info for newlib, changing most
20173
        Makefile.in and several *.tex files.  Moved doc directory from
20174
        libc to top level.
20175
 
20176
        * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
20177
        Should be rewritten.
20178
 
20179
        * libc/string/strings.tex: renamed node index to node index
20180
        function, so that it does not conflict with the top level index
20181
        node.
20182
 
20183
        * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
20184
 
20185
Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20186
 
20187
        * Overhauled general configuration for newlib.  Eliminated all
20188
        target dependent Makefile fragments.  Create libraries in newlib
20189
        rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
20190
        than CROSS_CC, et. al.  Broke make docs; will fix later.
20191
 
20192
        * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
20193
        Should be rewritten.
20194
 
20195
Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
20196
 
20197
        * libc/configure.in: cleaned up somewhat; switch on ${target}
20198
        rather than ${target_alias}.
20199
        * libm/configure.in: cleaned up somewhat; switch on ${target}
20200
        rather than ${target_alias}.
20201
 
20202
        * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
20203
        * libc/include/ctype.h: marked _ctype_ as _CONST.
20204
 
20205
        * libc/locale/locale.c (lconv, localeconv): marked static lconv as
20206
        _CONST.
20207
 
20208
        * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
20209
        libc/stdio/vfscanf.c (__svfscanf): made static variables const.
20210
        libc/stdio/gets.c (gets): removed non-ANSI warning message.
20211
        libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
20212
 
20213
        * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
20214
        bigtens, tinytens): marked arrays _CONST.
20215
        libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
20216
        rather than a static variable.
20217
 
20218
        * libc/time/asctime.c (asctime), libc/time/localtime.c
20219
        (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
20220
        _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
20221
        mname_len, mname): Marked static arrays _CONST.
20222
 
20223
        * libm/math/gamma.h: made local variables non-static.
20224
 
20225
        * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
20226
        libm/math/exp.c, libm/math/gamma.h: marked static arrays as
20227
        _CONST.
20228
 
20229
        * libm/math/constants.c: removed file, because the constants it
20230
        defined were never referenced.
20231
        libm/math/Makefile.in: removed references to constants.c.
20232
        libm/math/mathimpl.h: removed declarations of constants.
20233
 
20234
Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20235
 
20236
        * libc/include/machine/varargs.h: only call __builtin_saveregs if
20237
        it is sensibly defined in libgcc2.  Checks preprocessor defines,
20238
        which is not a good solution.
20239
 
20240
        * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
20241
 
20242
        * libm/frexp.c: handle denormalized numbers as arguments.
20243
 
20244
        * libm/math/Makefile.in: added some dependencies for .c files
20245
        which include local .h files.
20246
 
20247
Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
20248
 
20249
        * libc/configure.in: set target_alias for OSE*.  Replace
20250
        target_makefile_frag if it is blank.
20251
 
20252
        * libc/Makefile.in: make sure everything is passed to subsidiary
20253
        makes; create all directories when installing.
20254
 
20255
        * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
20256
        CROSS_ARUPDATE instead of AR.
20257
 
20258
        * libm/configure.in: set target_alias for OSE*.  Replace
20259
        target_makefile_frag if it is blank.
20260
 
20261
        * libm/Makefile.in: make sure everything is passed to subsidiary
20262
        makes; create all directories when installing.
20263
 
20264
Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
20265
 
20266
        * add following change from libc copy.
20267
 
20268
Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20269
 
20270
        * libc/libc.texinfo: make copyright disclaimers appear on back of
20271
        title page; make format of same slightly less ugly; avoid using
20272
        underbars in section headings (avoids nasty texinfo bug in table
20273
        of contents).
20274
 
20275
        * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
20276
          comments only) avoid using underbars in section headings
20277
 
20278
        * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20279
          isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
20280
          changes in comments only): shorten headings ieeefp/infinity.c,
20281
          ieeefp/isnan.c: (doc, comments only) more informative headings
20282
 
20283
        * libc/math/bessel.c: (doc, comments only) shorten heading
20284
 
20285
        * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
20286
        (doc, comments only) shorten headings
20287
 
20288
        * libc/time/localtime.c (doc, comments only): shorten headings
20289
 
20290
        * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20291
          isnan
20292
          libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
20293
          libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
20294
          headings
20295
          libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
20296
          only) more informative headings
20297
        * libm/math/bessel.c: (doc, comments only) shorten heading
20298
 
20299
Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20300
 
20301
        * .../Makefile.in: use CROSS_ARUPDATE consistently.
20302
        * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
20303
        * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
20304
        * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
20305
        defined, the one from the .mt file will be correct.
20306
        * libc/include/machine, libc/include/sys: created, and populated
20307
        with common files from machine/*/machine. ifdefs were used for
20308
        most, typically by handling exceptions first and then filling in
20309
        defaults. Files with D.J. Delorie copyright #included rather than
20310
        copied. Most files in include/sys really were the same in the
20311
        original.
20312
        * libc/include/...: cleaned up use of _EXFUN.
20313
        * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
20314
        it with double quotes, not angles.
20315
 
20316
Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
20317
 
20318
        * libc/Makefile.in: always create installation directories.
20319
 
20320
Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20321
 
20322
        * libc/configure.in: handle host properly (using canonical
20323
        triples), better error message for the case of target not found
20324
 
20325
Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
20326
 
20327
        * libc/Makefile.in (insincdir): Ensure this directory exists
20328
        before attempting installation.
20329
 
20330
Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20331
 
20332
        * libc/stdlib/assert.c: now calls abort like it should
20333
        * libc/sys/a29khif: many many patches for 29khif work
20334
        * libc/machine/i386: gnulib2 expanded there.
20335
 
20336
Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20337
 
20338
        Added accurate fp conversion routines to stdlib, moved dcvt from
20339
        stdio to stdlib and called it ecvtbuf:
20340
        * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
20341
        * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
20342
        routines
20343
        * libc/libc.texinfo: Modifed to include the copyright info from
20344
        the mprec files
20345
        * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
20346
        * libc/test/ : many vector which tested for the implementation
20347
        defined returns of strange conversion requests have been updated
20348
        to relflect the new implementation
20349
 
20350
Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20351
 
20352
        * libc/libc.texinfo: new chapter on variable arg lists
20353
        (stdarg.h/varargs.h)
20354
        * libc/libc.texinfo: new title
20355
        * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
20356
        (doc only) shorter headings for better formatting.
20357
 
20358
Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20359
 
20360
        * libc/libc.texinfo: three more info menu entries
20361
        * libc/locale/locale.tex: new chapter
20362
        * libc/locale/locale.c: new doc for setlocale, localeconv
20363
        * libc/locale/Makefile.in: use new locale doc
20364
        * libc/signal/signal.tex: new chapter
20365
        * libc/signal/raise.c, libc/signal/signal.c: new doc
20366
        * libc/signal/Makefile.in: use new doc
20367
        * libc/time/time.tex: new chapter
20368
        * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
20369
        libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
20370
        libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
20371
        * libc/time/Makefile.in: use new doc
20372
 
20373
Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20374
 
20375
        * libm/math/log1p.c: split to use the new function way of float
20376
        function definition. math/log1p.h deleted
20377
        * libm/math/scalb.c: obsolete and deleted
20378
        * libm/math/scalbn.c: created from part log1p.c
20379
        * libm/math/Makefile.in: know about log1p and scalbn
20380
 
20381
Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20382
 
20383
        * libc/ctype/isupper.c: revise doc;
20384
          libc/ctype/ctype.tex: use doc from isupper.c
20385
 
20386
        * libc/string/bzero.c: new doc
20387
 
20388
Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20389
 
20390
        * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
20391
        new doc
20392
        * libc/stdlib/Makefile.in: extract new doc
20393
        * libc/stdlib/stdlib.tex: use new doc
20394
 
20395
        * libc/string/strerror.c: expanded doc.
20396
 
20397
        * libc/stdio/Makefile.in: extract doc from more files
20398
        * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
20399
        libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
20400
        libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
20401
        libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
20402
        libc/stdio/vsprintf.c: new doc
20403
        * libc/stdio/stdio.tex: use new doc
20404
 
20405
Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20406
 
20407
        * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
20408
        * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
20409
        finitef functions.
20410
        * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
20411
        time ago.
20412
 
20413
        * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
20414
        * libc/stdio/setbuf.c: added ansi style definition.
20415
        * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
20416
        buffer if none provided.
20417
        * libc/stdio/tmpfile.c: lint
20418
        * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
20419
        rather than using static, also make sure file isn't already
20420
        present.  Uses P_tmpdir. (tempnam): rewritten to use new
20421
        subroutine, and uses P_tmpdir.
20422
        * libc/stdio/siprintf.c: created
20423
 
20424
Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20425
 
20426
        Release 1.03 for NEC, major mods. Main differences from release
20427
        1.02::
20428
 
20429
        More tests in test/:
20430
        * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
20431
        log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
20432
        * test_ieee.c: tests for ieee flags & masks - get/set rounding,
20433
        get/set mask, get/set sticky and get/set roundtoi.  Tests
20434
        that setting the bits changes the way arithmetic is done.
20435
        * string.c: added test to make sure memcmp does it with unsigned
20436
        chars.
20437
        * test.c: cleaned up and removed lint.
20438
        * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
20439
        dvec.c: tests for string to value conversions,  sprintf, scanf,
20440
        atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
20441
        ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
20442
        rounding in sprintf too.
20443
        * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
20444
        isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
20445
        isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
20446
        and function form.
20447
        * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
20448
        powf
20449
 
20450
        In the library:
20451
        * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
20452
        libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
20453
        libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
20454
        libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
20455
        * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
20456
        than sprintf.
20457
        * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
20458
        * Method of producting float versions of double functions has
20459
        changed, functions will be modified gradually. So far:
20460
        libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
20461
        libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
20462
        altered
20463
        * libc/string/memcmp.c: now uses unsigned chars
20464
        * libc/string/bcmp.c, libc/string/strcpy.c,
20465
        libc/stsring/strxfrm.c: fixed doc
20466
        * libc/sys/sysvnecv70.tex: fix example of sbrk code
20467
 
20468
Local Variables:
20469
version-control: never
20470
End:

powered by: WebSVN 2.1.0

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