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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [ChangeLog] - Blame information for rev 847

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

Line No. Rev Author Line
1 399 jeremybenn
2010-10-29  Joern Rennecke  
2
 
3
        * libc/machine/or32/setjmp.S, libc/machine/or32/longjmp.S:
4
        Rename _setjmp / _longjmp to setjmp / longjmp.
5
 
6 207 jeremybenn
2010-07-07  Jeremy Bennett 
7
 
8 214 jeremybenn
        * testsuite/lib/newlibprocs.exp: Renamed from newlib.exp, since
9
        DejaGNU does not like loading libraries with the same name as the
10
        tool.
11
        * testsuite/lib/passfail.exp: Loads newlibprocs.exp.
12
 
13
2010-07-07  Jeremy Bennett 
14
 
15 207 jeremybenn
        * libc/machine/or32/setjmp.S: Rewritten - old code could never
16
        have worked.
17
        * libc/machine/or32/bits: Deleted.
18
 
19
2010-07-07  Jeremy Bennett 
20
 
21
        * configure.host: Updated for OpenRISC to use namespace clean
22
        functions.
23
 
24
2009-12-17  Jeff Johnston  
25
 
26
        * NEWS: Update with 1.18.0 info.
27
        * README: Ditto.
28
        * acinclude.m4: Change version number to 1.18.0.
29
        * aclocal.m4: Regenerated.
30
        * configure: Ditto.
31
        * doc/aclocal.m4: Ditto.
32
        * doc/configure: Ditto.
33
        * libc/*/aclocal.m4: Ditto.
34
        * libc/*/configure: Ditto.
35
        * libc/libc.texinfo: Ditto.
36
        * libm/*/aclocal.m4: Ditto.
37
        * libm/*/configure: Ditto.
38
        * libm/libm.texinfo: Ditto.
39
        * libc/sys/linux/shared.ld: Add VERS_1.18
40
 
41
2009-12-17  Jeff Johnston 
42
 
43
        * libc/include/_syslist.h: Add _mkdir transform.
44
 
45
2009-12-17  Jerker Back  
46
 
47
        * libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of
48
        ICONV_ZERO_MB_STATE_T macro.
49
        * libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use
50
        temporary local variable nullstate to hold empty mbstate_t.
51
 
52
2009-12-17  Jerker Back  
53
 
54
        * libc/include/_ansi.h: Add new _EXFNPTR macro for using with
55
        function pointer arguments.
56
        * libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro.
57
        * libc/iconv/lib/ucsconv.h: Ditto.
58
        * libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers.
59
        * libc/include/sys/reent.h: Ditto.
60
        * libc/include/sys/unistd.h: Ditto.
61
        * libc/search/bsearch.c: Ditto.
62
        * libc/stdio/fseek.c: Ditto.
63
        * libc/stdio64/fseeko64.c: Ditto.
64
        * libc/stdlib/atexit.c: Ditto.
65
        * libc/stdlib/on_exit.c: Ditto.
66
 
67
2009-12-17  Ralf Corsépius 
68
 
69
        * libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
70 214 jeremybenn
        * libc/machine/arm/machine/endian.h: Remove (Conflicts with
71 207 jeremybenn
        libc/include/machine/endian.h)
72
 
73
2009-12-17  Ralf Corsépius 
74
 
75
        * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
76
 
77
2009-12-17  Ralf Corsepius 
78
 
79 214 jeremybenn
        * libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
80 207 jeremybenn
        * libc/include/sys/stat.h: Use struct timespec st_*tim,
81
        blksize_t st_blksize, blkcnt_t st_blocks.
82
        Add st_*time compatibility macros.
83
 
84
2009-12-16  Joel Sherrill 
85
 
86
        * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
87
        for ALIGNBYTES on SPARC.
88
 
89
2009-12-16  Jeff Johnston  
90
 
91
        * libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
92
        and ETOOMANYREFS into general list as they are referenced
93
        by OpenGroup and needed by RTEMS.
94
 
95
2009-12-16  Ralf Corsépius 
96
 
97
        * libc/search/hcreate.c: Don't include  (Unused).
98
 
99
2009-12-16  Ralf Corsépius 
100
 
101
        * libc/sys/rtems/machine/_types.h: New (Derived from
102
        machine/_default_types.h).
103
        * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
104
        * libc/sys/rtems/sys/param.h:
105
        Update copyright notice from FreeBSD.
106
        Remove HZ.
107
        Add #include 
108
        Remove priority handling (moved to sys/priority.h).
109
        Remove CLBYTES (Unused, abandoned in BSD).
110
        * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
111
        Remove CIRCLEQ_*.
112
 
113
2009-12-15  Conny Marco Menebrocker  
114
 
115
        * libc/machine/xc16x/Makefile.am: Fix typo and refer
116
        to puts.c instead of putc.c.
117
        * libc/machine/xc16x/Makefile.in: Regenerated.
118
 
119
2009-12-14  Maxim Kuvyrkov 
120
 
121
        * libc/machine/m68k/memcpy.S: Patch to support
122
        boards which do not support unaligned read/write.
123
 
124
2009-12-10  Conny Marco Menebrocker  
125
 
126
        * configure.host: Add xc16x support.
127
        * libc/include/machine/ieeefp.h: Ditto.
128
        * libc/include/sys/config.h: Ditto.
129
        * libc/machine/configure.in: Ditto.
130
        * libc/machine/Makefile.in: Regenerated.
131
        * libc/machine/aclocal.m4: Ditto.
132
        * libc/machine/configure: Ditto.
133
        * libc/machine/xc16x/Makefile.am: New file.
134
        * libc/machine/xc16x/Makefile.in: Ditto.
135
        * libc/machine/xc16x/aclocal.m4: Ditto.
136
        * libc/machine/xc16x/configure: Ditto.
137
        * libc/machine/xc16x/configure.in: Ditto.
138
        * libc/machine/xc16x/putchar.c: Ditto.
139
        * libc/machine/xc16x/puts.c: Ditto.
140
        * libc/machine/xc16x/setjmp.S: Ditto.
141
 
142
2009-12-08  Eric Blake  
143
 
144
        Fix some *at declarations.
145
        * libc/include/stdio.h (symlinkat): Move this...
146
        * libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
147
        * libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
148
        match POSIX.
149
 
150
2009-12-03  Craig Howland 
151
 
152
        * libc/stdlib/strtod.c:  Correct "NO_REENT" to "_REENT_ONLY".
153
        * libc/stdlib/wcstod.c:  Ditto.
154
        * libc/stdlib/dtoastub.c:  Ditto.
155
 
156
2009-11-23  Corinna Vinschen  
157
 
158
        Use NetBSD fix for CVE-2009-0689 security vulnerability.
159
        * libc/include/sys/reent.h (_Kmax): Define here based on the sizeof
160
        size_t, as in latest NetBSD.
161
        * libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant
162
        value 15.
163
        * libc/stdlib/mprec.c (_Kmax): Don't define here.  Explain why.
164
 
165
2009-11-20  Nick Clifton  
166
 
167
        * libc/machine/rx/strncat.S (_strncat): Replace use of r6
168
        (call-saved) with r14 (call-used).
169
 
170
2009-11-18  Dave Korn  
171
 
172
        * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
173
        containing useless constant before advancing fp sp over it.
174
        (_f_tanf): Likewise.
175
 
176
2009-11-18  Corinna Vinschen  
177
 
178
        * libc/stdio/vfprintf.c: Include ../stdlib/local.h.  Replace call to
179
        _mbtowc_r with direct call to __mbtowc.
180
        * libc/stdio/vfscanf.c: Ditto.
181
        * libc/stdlib/btowc.c: Include local.h.  Replace call to _mbtowc_r
182
        with direct call to __mbtowc.
183
        * libc/stdlib/mblen.c: Ditto.
184
        * libc/stdlib/mblen_r.c: Ditto.
185
        * libc/stdlib/mbrtowc.c: Ditto.
186
        * libc/stdlib/mbstowcs_r.c: Ditto.
187
        * libc/stdlib/mbtowc.c: Ditto.
188
        * libc/stdlib/wcrtomb.c: Include local.h.  Replace call to _wctomb_r
189
        with direct call to __wctomb.
190
        * libc/stdlib/wcsnrtombs.c: Ditto.
191
        (_wcsnrtombs_r): Ditto.
192
        * libc/stdlib/wcstombs_r.c: Ditto.
193
        * libc/stdlib/wctob.c: Ditto.
194
        * libc/stdlib/wctomb.c: Ditto.
195
 
196
        * libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from
197
        _mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
198
        defined.
199
        * libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from
200
        _wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
201
        defined.
202
 
203
        * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for
204
        ch >= 0.
205
 
206
2009-11-17  Yaakov Selkowitz  
207
 
208
        * libm/common/fdlibm.h (logb, logbf): Move decls from here...
209
        * libc/include/math.h (logb, logbf): ...to here.
210
 
211
2009-11-06  Jon Turney  
212
 
213
        * libc/include/ctype.h (__ctype_lookup): Fix precedence.
214
 
215
2009-10-30  Corinna Vinschen  
216
 
217
        * libc/stdio/fflush.c (_fflush_r): Store old errno to check for
218
        low-level seek error condition.  Restore old errno in case of
219
        success.  Don't use new position after seek as error condition,
220
        rather check for return value of -1 and errno.  Handle EINVAL
221
        just like ESPIPE.  Only set fp->_offset if errno is 0.
222
 
223
2009-10-27  Nick Clifton  
224
 
225
        * MAINTAINERS (ARM): Add myself as an ARM maintainer.
226
 
227
2009-10-26  DJ Delorie  
228
 
229
        * configure.host: Add support for RX architecture.
230
        * libc/include/machine/ieeefp.h: Likewise.
231
        * libc/include/machine/setjmp.h: Likewise.
232
        * libc/include/machine/configure.in: Likewise.
233
        * libc/include/machine/configure: Regenerate.
234
        * libc/machine/rx: New directory.
235
        * libc/machine/rx/*: New files to support RX architecture.
236
 
237
2009-10-24  Eric Blake  
238
 
239
        * libc/include/ctype.h (__ctype_lookup): New macro.
240
        (isalpha, isupper, islower, isdigit, isxdigit, isspace, ispunct)
241
        (isalnum, isprint, isgraph, iscntrl, isblank): Use it to fix bug
242
        on 64-bit machines.
243
 
244
2009-10-20  Jeff Johnston  
245
 
246
        * configure.host: Don't set -O2 flag in newlib_cflags.  Leave
247
        that to CFLAGS.
248
        * acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G
249
        as it sets the same flags as we are using.
250
        * aclocal.m4: Regenerated.
251
        * configure: Ditto.
252
        * Makefile.in: Ditto.
253
        * iconvdata/aclocal.m4: Ditto.
254
        * iconvdata/configure: Ditto.
255
        * iconvdata/Makefile.in: Ditto.
256
        * doc/aclocal.m4: Ditto.
257
        * doc/configure: Ditto.
258
        * doc/Makefile.in: Ditto.
259
        * libc/aclocal.m4: Ditto.
260
        * libc/configure: Ditto.
261
        * libc/Makefile.in: Ditto.
262
        * libc/*Makefile.in: Ditto.
263
        * libc/*aclocal.m4: Ditto.
264
        * libc/*configure: Ditto.
265
        * libm/*Makefile.in: Ditto.
266
        * libm/*aclocal.m4: Ditto.
267
        * libm/*configure: Ditto.
268
 
269
2009-10-16  Jeff Johnston  
270
 
271
        * libc/include/sys/config.h[__CYGWIN__]: Set __USE_XOPEN2K flag
272
        if not __STRICT_ANSI__ or stdc version C99 or greater.
273
        * libc/include/stdio.h[__STRICT_ANSI__]: Add __USE_XOPEN2K check
274
        for fseeko and ftello prototypes.
275
 
276
2009-10-15  Corinna Vinschen  
277
 
278
        * libc/include/wchar.h (struct tm0: Declare as incomplete type.
279
 
280
2009-10-15  Corinna Vinschen  
281
 
282
        * libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary
283
        exception for KOI8 charsets.
284
 
285
2009-10-13  Eric Blake  
286
 
287
        * libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constants
288
        new to POSIX 2008.
289
 
290
2009-10-13  Yaakov Selkowitz  
291
 
292
        * libc/include/sys/signal.h: Include  always.
293
        [__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
294
        standards.
295
 
296
2009-10-09  Dave Korn  
297
 
298
        * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
299
        defining struct timeval.
300
 
301
2009-10-09  Corinna Vinschen  
302
 
303
        * libc/locale/locale.c (DEFAULT_LOCALE): New define.
304
        (__default_locale): New global variable set to the default locale.
305
        (__get_locale_env): Return __default_locale rather than fixed "C".
306
 
307
2009-10-08  Jeff Johnston  
308
 
309
        * configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
310
        * libc/stdlib/assert.c (_assert_func): Do not specify
311
        __assert_func if HAVE_ASSERT_FUNC flag is set.
312
 
313
2009-10-08  Eric Blake  
314
 
315
        * libc/include/getopt.h (__getopt_r, __getopt_long_r)
316
        (__getopt_long_only_r): Protect declarations, to avoid compiler
317
        warning.
318
 
319
2009-10-07  Corinna Vinschen  
320
 
321
        * libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
322
        charset on Cygwin.
323
 
324
2009-10-03  Corinna Vinschen  
325
 
326
        * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
327
        value encoding.
328
        * libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
329
        value decoding.
330
 
331
2009-09-29  Corinna Vinschen  
332
 
333
        * libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
334
        prefix.  Add some words to documentation.
335
 
336
2009-09-29  Corinna Vinschen  
337
 
338
        * libc/stdlib/sb_charsets.c: Throughout, translate undefined
339
        characters to their corresponding Windows Unicode value.
340
 
341
2009-09-28  Michael Eager 
342
 
343
        * configure.host: Add microblaze.
344
        * libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
345
        * libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
346
        * libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
347
        _UNIX98_THREAD_MUTEX_ATTRIBUTES.
348
        * libc/include/sys/types.h: Treat XMK like rtems, define
349
        PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
350
        PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
351
        * libc/machine/configure.in: Add microblaze.
352
        * libc/machine/configure: Add microblaze (not regenerated).
353
        * libc/machine/microblaze/configure.in: NEW.
354
        * libc/machine/microblaze/configure: Generate.
355
        * libc/machine/microblaze/Makefile.am: NEW.
356
        * libc/machine/microblaze/Makefile.in: Generate.
357
        * libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
358
        mallocr.c, longjmp.S, setjmp.S}: NEW.
359
        * libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
360
        mALLOc(): return malloc value.
361
 
362
2009-09-27  Corinna Vinschen  
363
 
364
        * libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
365
        (lc_message_charset): Ditto.
366
        (loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
367
        * libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
368
        Cygwin.
369
        * libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
370
        Cygwin.
371
 
372
2009-09-26  Eric Blake  
373
 
374
        * libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
375
        Add declarations.
376
 
377
2009-09-24  Eric Blake  
378
 
379
        * libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
380
        Add declarations.
381
 
382
2009-09-23  Corinna Vinschen  
383
 
384
        * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
385
        (loadlocale): Call __set_charset_from_codepage with 0 codepage.
386
 
387
2009-09-22  Ralf Corsépius 
388
 
389
        * libc/include/stdlib.h: Add posix_memalign.
390
 
391
2009-09-22  Ralf Corsépius 
392
 
393
        * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
394
        Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
395
 
396
2009-09-22  Ralf Corsépius 
397
 
398
        * configure.host (m32c): Move setting -DABORT_PROVIDED to second
399
        "case $host".
400
 
401
2009-09-18  Christopher Faylor  
402
 
403
        * libc/include/sys/unistd.h: Declare getpagesize as returning
404
        POSIX-mandated int.
405
        * libc/sys/linux/sys/unistd.h: Ditto.
406
 
407
2009-08-31  Takaki Makino  
408
 
409
        * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
410
        newer gcc versions.
411
        * libm/maachine/i386/f_powf.c(_f_powf): Ditto.
412
 
413
2009-08-25  Andy Koppe  
414
 
415
        * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
416
        numbers.
417
        * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
418
        charsets.
419
        * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
420
 
421
2009-08-24  Corinna Vinschen  
422
 
423
        * libc/locale/locale.c: Update documentation.
424
        (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.
425
 
426
2009-08-24  Andy Koppe  
427
 
428
        * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
429
        and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
430
        * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.
431
 
432
2009-08-24  Andy Koppe  
433
 
434
        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
435
        space" (U+00A0).
436
        * libc/ctype/iswblank.c (iswblank): Likewise.
437
 
438
2009-08-21  Corinna Vinschen  
439
 
440
        * libc/locale/locale.c (loadlocale): Throughout check charset string
441
        case insensitive and store internal charset string uppercased.  Allow
442
        "UTF8" additionally to "UTF-8".  Add this change to documentation.
443
 
444
2009-08-21  Eric Blake  
445
 
446
        * libc/include/iconv.h (iconv): Match POSIX prototype.
447
        * libc/iconv/lib/iconv.c (iconv): Likewise.
448
 
449
2009-08-21  Craig Howland 
450
 
451
        * libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
452
        * libc/stdio/mktemp.c:  Add #include  for function prototypes.
453
 
454
2009-08-19  Ralf Wildenhues  
455
 
456
        * iconvdata/Makefile.am (all): Remove.
457
        * libc/sys/a29khif/Makefile.am (all-am): Rename from ...
458
        (all): ... this.
459
        * libc/sys/arc/Makefile.am: Likewise.
460
        * libc/sys/arm/Makefile.am: Likewise.
461
        * libc/sys/d10v/Makefile.am: Likewise.
462
        * libc/sys/decstation/Makefile.am: Likewise.
463
        * libc/sys/h8300hms/Makefile.am: Likewise.
464
        * libc/sys/h8500hms/Makefile.am: Likewise.
465
        * libc/sys/linux/Makefile.am: Likewise.
466
        * libc/sys/linux/machine/i386/Makefile.am: Likewise.
467
        * libc/sys/m88kbug/Makefile.am: Likewise.
468
        * libc/sys/mmixware/Makefile.am: Likewise.
469
        * libc/sys/netware/Makefile.am: Likewise.
470
        * libc/sys/rdos/Makefile.am: Likewise.
471
        * libc/sys/rtems/Makefile.am: Likewise.
472
        * libc/sys/sh/Makefile.am: Likewise.
473
        * libc/sys/sparc64/Makefile.am: Likewise.
474
        * libc/sys/sun4/Makefile.am: Likewise.
475
        * libc/sys/sysmec/Makefile.am: Likewise.
476
        * libc/sys/sysnec810/Makefile.am: Likewise.
477
        * libc/sys/sysnecv850/Makefile.am: Likewise.
478
        * libc/sys/sysvi386/Makefile.am: Likewise.
479
        * libc/sys/sysvnecv70/Makefile.am: Likewise.
480
        * libc/sys/tic80/Makefile.am: Likewise.
481
        * libc/sys/w65/Makefile.am: Likewise.
482
        * libc/sys/z8ksim/Makefile.am: Likewise.
483
        * iconvdata/Makefile.in: Regenerate.
484
        * libc/sys/a29khif/Makefile.in: Likewise.
485
        * libc/sys/arc/Makefile.in: Likewise.
486
        * libc/sys/arm/Makefile.in: Likewise.
487
        * libc/sys/d10v/Makefile.in: Likewise.
488
        * libc/sys/decstation/Makefile.in: Likewise.
489
        * libc/sys/h8300hms/Makefile.in: Likewise.
490
        * libc/sys/h8500hms/Makefile.in: Likewise.
491
        * libc/sys/linux/Makefile.in: Likewise.
492
        * libc/sys/linux/machine/i386/Makefile.in: Likewise.
493
        * libc/sys/m88kbug/Makefile.in: Likewise.
494
        * libc/sys/mmixware/Makefile.in: Likewise.
495
        * libc/sys/netware/Makefile.in: Likewise.
496
        * libc/sys/rdos/Makefile.in: Likewise.
497
        * libc/sys/rtems/Makefile.in: Likewise.
498
        * libc/sys/sh/Makefile.in: Likewise.
499
        * libc/sys/sparc64/Makefile.in: Likewise.
500
        * libc/sys/sun4/Makefile.in: Likewise.
501
        * libc/sys/sysmec/Makefile.in: Likewise.
502
        * libc/sys/sysnec810/Makefile.in: Likewise.
503
        * libc/sys/sysnecv850/Makefile.in: Likewise.
504
        * libc/sys/sysvi386/Makefile.in: Likewise.
505
        * libc/sys/sysvnecv70/Makefile.in: Likewise.
506
        * libc/sys/tic80/Makefile.in: Likewise.
507
        * libc/sys/w65/Makefile.in: Likewise.
508
        * libc/sys/z8ksim/Makefile.in: Likewise.
509
 
510
        * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
511
        from newlib_ldbl_eq_dbl.
512
        * configure: Regenerate.
513
 
514
2009-08-19  Eric Blake  
515
 
516
        * libc/Makefile.am (SUBDEFS): Correctly build popen docs.
517
        * libc/libc.texinfo (Top): Add posix node to menu.
518
 
519
2009-08-18  Jeff Johnston  
520
 
521
        * newlib.hin: Add comment regarding file being manually edited.
522
        * Makefile.am: Add no-op rule for newlib.hin.
523
        * Makefile.in: Regenerated.
524
 
525
2009-08-18  Jeff Johnston  
526
 
527
        * acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
528
 
529
2009-08-18  Eric Blake  
530
 
531
        * libc/posix/popen.c (popen): Fix documented prototype.
532
 
533
        Improve popen compatibility with glibc.
534
        * libc/posix/popen.c (popen): The 2006-08-22 change to use
535
        FD_CLOEXEC disagrees with other implementations; instead, use
536
        pidlist to work even when fcntl is not available.  Meanwhile,
537
        support the 'e' modifier to set CLOEXEC, as in glibc.  Drop
538
        cygwin-specific code, now that cygwin has its own version.
539
        * libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
540
        * libc/posix/posix.tex: New file.
541
 
542
2009-08-17  Craig Howland 
543
 
544
        * libc/string/wcsncpy.c (wcsncpy):  Re-write function based on small
545
        version of strncpy() (fixing two bugs).
546
 
547
2009-08-13  Corinna Vinschen  
548
 
549
        * libc/stdio/mktemp.c (mkdtemp): Fix typo in function name.
550
 
551
2009-08-12  Jeff Johnston  
552
 
553
        * libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
554
        HAVE_MKDIR is defined.
555
 
556
2009-08-12  Hans-Peter Nilsson  
557
 
558
        * libc/include/reent.h: Add prototype and definition of _mkdir_r.
559
        * libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c.
560
        (CHEWOUT_FILES): Add mkdirr.def.
561
        * libc/reent/Makefile.in: Regenerate.
562
        * libc/reent/mkdirr.c: New file.
563
 
564
2009-08-10  Jeff Johnston  
565
 
566
        * libc/stdlib/wcstombs.c: Change documentation to specify size_t
567
        return type instead of int.
568
 
569
2009-07-29  Jeff Johnston  
570
 
571
        * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
572
        when a lower-case character is detected.
573
 
574
2009-07-29  Corinna Vinschen  
575
 
576
        * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
577
        pair handling to be more bullet-proof even with incomplete UTF-8
578
        sequences.  Add check for 4 byte sequences resulting in values
579
        outside the valid Unicode range.  Add a comment to clarify checking
580
        for invalid CESU-8 sequences.
581
 
582
2009-07-28  Corinna Vinschen  
583
 
584
        * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
585
        of handling incomplete sequences.
586
 
587
2009-07-22  Eric Blake  
588
 
589
        Avoid a fault from locking a closed standard file.
590
        * libc/stdio/fflush.c (_fflush_r): Give up early if stream has
591
        been previously closed.
592
 
593
2009-07-09  Craig Howland 
594
 
595
        * libm/math/ef_scalb.c:  Replace isnanf() (pre-C99 function call) with
596
        isnan() (C99 macro).
597
        * libm/math/wf_log.c:  Ditto.
598
        * libm/math/wf_j0.c:  Ditto.
599
        * libm/math/wf_sqrt.c:  Ditto.
600
        * libm/math/wf_pow.c:  Ditto.
601
        * libm/math/wf_fmod.c:  Ditto.
602
        * libm/math/wf_remainder.c:  Ditto.
603
        * libm/math/wf_scalb.c:  Ditto.
604
        * libm/math/wf_atanh.c:  Ditto.
605
        * libm/math/wf_cosh.c:  Ditto.
606
        * libm/math/wf_acos.c:  Ditto.
607
        * libm/math/wf_acosh.c:  Ditto.
608
        * libm/math/wf_jn.c:  Ditto.
609
        * libm/math/wf_log10.c:  Ditto.
610
        * libm/math/wf_asin.c:  Ditto.
611
        * libm/math/wf_j1.c:  Ditto.
612
        * libm/common/sf_isnan.c:  Add #include , fix comment.
613
        * libm/common/sf_isinf.c:  Add #include , adjust comment to
614
        match that from s_isinf.c.
615
        * libc/include/machine/ieeefp.h:  Simplify isinf and isnan macros to
616
        remove un-necessary extension use (in a similar manner to as was
617
        recently done in math.h).
618
        * libc/include/math.h:  Remove isnanf and isinff prototypes (are in
619
        ieeefp.h).
620
        * libm/machine/spu/sf_isinf.c:  Fix comment (remove ).
621
 
622
2009-07-06  Joel Sherrill 
623
 
624
        * libc/include/sys/features.h: Enable UNIX98 mutex attributes
625
        for RTEMS.
626
 
627
2009-07-03  Eric Blake  
628
 
629
        Add mkdtemp, mkstemps.
630
        * libc/stdio/mktemp.c: Fix documentation.
631
        (_gettemp): Add domkdir and length parameters.  Check for
632
        insufficient 'X' suffix.  Drop cygwin-specific code.
633
        (_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
634
        (_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
635
        * libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
636
        (mkstemps): Declare them.
637
 
638
        Add fpurge.
639
        * libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
640
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
641
        Build it.
642
        * libc/stdio/Makefile.in: Regenerated.
643
        * libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
644
        * libc/stdio/stdio.tex: Build documentation.
645
 
646
2009-06-23  Jeff Johnston  
647
 
648
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and
649
        sf_fpclassify as these are now used for infinity testing.
650
        * Makefile.in: Regenerated.
651
 
652
2009-06-19  Joel Sherrill 
653
 
654
        * libc/sys/rtems/machine/param.h: Change ALIGNBYTES
655
        so it can point to an aligned structure or double.
656
 
657
2009-06-18  Corinna Vinschen  
658
 
659
        * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
660
        modifier on _MB_CAPABLE targets.  Add comment to explain.  Improve
661
        documentation.
662
 
663
2009-06-17  Michael Eager 
664
 
665
        * libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to
666
        PTHREAD_MUTEX_NORMAL.
667
        * libc/include/sys/features.h: Same.
668
        * libc/include/sys/types.h: Same.
669
 
670
2009-06-16  Corinna Vinschen  
671
 
672
        * libc/include/locale.h (struct lconv): Add missing members required
673
        by POSIX.1-2008.
674
        * libc/locale/locale.c (lconv): Initialize new members to default
675
        values in "C" locale.
676
 
677
2009-06-16  Corinna Vinschen  
678
 
679
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length of
680
        radix char instead of assuming length 1.
681
        * libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE.
682
        (gethex): Allow multibyte decimal point.
683
        Fix compiler warnings due to different signedness of pointer types.
684
        * libc/stdlib/strtod.c: Remove use of USE_LOCALE.
685
        (_strtod_r): Allow multibyte decimal point.
686
        * libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char
687
        endptr position if the decimal point is a multibyte char.
688
 
689
2009-06-16  Craig Howland 
690
 
691
        * libc/ctype/local.h (__locale_charset): Add arguments to
692
        prototype
693
        * libc/stdlib/local.h (__locale_charset): Ditto.
694
 
695
2009-06-16  Craig Howland 
696
 
697
        * libc/include/math.h:  Simplify fpclassify, isinf, isnan, and signbit
698
        macros to remove un-necessary extension use.  isinf and isnan also
699
        changed to use fpclassify.  isfinite macro modified to run faster by
700
        only calling fpclassify once instead of possibly twice.
701
 
702
2009-06-09  Corinna Vinschen  
703
 
704
        * libc/ctype/tolower.c (tolower): Cast conversion result from
705
        mbtowc/wctomb to unsigned char to avoid negative return values.
706
        * libc/ctype/toupper.c (toupper): Ditto.
707
 
708
2009-06-03  IWAMURO Motonori  
709
 
710
        * libc/string/wcwidth.c: Optimize for speed.
711
 
712
2009-06-03  Corinna Vinschen  
713
 
714
        * libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
715
        (loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
716
        to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
717
        (__locale_cjk_lang): New function.
718
        * libc/string/local.h (__locale_cjk_lang): Declare.
719
        * libc/string/wcwidth.c: Fix comments.
720
        (__wcwidth): Handle CJK Ambiguous Width characters according
721
        to setting returned by __locale_cjk_lang.
722
 
723
2009-06-02  Richard Earnshaw  
724
 
725
        * libc/include/sys/config.h: Remove specification of _REENT_SMALL for
726
        thumb2.
727
 
728
2009-06-02  IWAMURO Motonori  
729
 
730
        * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
731
        (__jp2uc): Change the scope to static function.
732
        * libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
733
        * libc/string/local.h (_jp2uc): Include ../ctype/local.h.
734
 
735
2009-05-27  Neal H. Walfield  
736
 
737
        * libc/include/machine/setjmp.h (sigjmp_buf): Size according to
738
        _JBTYPE and the size of sigset_t.
739
 
740
2009-05-15  Craig Howland 
741
 
742
        * configure.in:  Add configuration test for long double type existing
743
        and set flag _HAVE_LONG_DOUBLE if true.  Fix INIT_ARRAY (.init_array)
744
        and _LDBL_EQ_DBL tests to not link so that will work with
745
        cross-compilers.
746
        * configure: Regenerated.
747
        * Makefile.in: Ditto.
748
        * newlib.hin: Add _HAVE_LONG_DOUBLE flag.
749
        * libc/include/math.h:  Change non-builtin defines for HUGE_VAL,
750
        HUGE_VALF, and HUGE_VALL to be constant expressions.  Add definitions
751
        for the non-builtin case for INFINITY and NAN.  Gate HUGE_VALL and
752
        union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
753
        *libm/common/s_infconst.c:  Change definitions to use values from
754
        float.h instead of non-so-portable integer forms.  Mark as being
755
        deprecated (because now removed from math.h, are not used anywhere
756
        in Newlib, itself).
757
 
758
2009-05-15  Corinna Vinschen  
759
 
760
        * libc/string/local.h: New file.
761
        * libc/string/wcswidth.c (wcswidth):  Convert japanese wide
762
        characters to Unicode here.  Handle surrogate pairs for UTF-16
763
        systems.  Call __wcwidth rather than wcwidth.
764
        * libc/string/wcwidth.c: New implementation using Markus Kuhn's
765
        wcwidth implementation for Unicode.
766
        (bisearch): New static function.
767
        (__wcwidth): New function.  Take wint_t rather than wchar_t as
768
        parameter to allow full Unicode handling on UTF-16 systems.
769
        Move old wcwidth implementation here for non-multibyte aware
770
        systems.
771
        (wcwidth): Convert japanese wide characters to Unicode here.
772
        Call __wcwidth rather than using iswprint/iswcntrl.
773
 
774
2009-05-14  Corinna Vinschen  
775
 
776
        * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
777
        to jp2uc.c.
778
        (__jp2uc): Remove declaration.
779
        (_jp2uc): Declare.
780
        * libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
781
        (__jp2uc): Remove Cygwin special case.
782
        (_jp2uc): New function.  On Cygwin, just return c.
783
        * libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
784
        * libc/ctype/iswblank.c (iswblank): Ditto.
785
        * libc/ctype/iswcntrl.c (iswcntrl): Ditto.
786
        * libc/ctype/iswprint.c (iswprint): Ditto.
787
        * libc/ctype/iswpunct.c (iswpunt): Ditto.
788
        * libc/ctype/iswspace.c (iswspace): Ditto.
789
        * libc/ctype/towlower.c (towlower): Ditto.
790
        * libc/ctype/towupper.c (towupper): Ditto.
791
 
792
2009-05-13  Paul Brook  
793
 
794
        * libc/machine/arm/setjmp.S: Don't bother saving IP.  Copy SP to
795
        IP before saving.  Likewise when restoring.
796
 
797
2009-05-13  Paul Brook  
798
 
799
        * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
800
 
801
2009-05-13  Corinna Vinschen  
802
 
803
        * libc/locale/locale.c (setlocale): Don't build on Cygwin.
804
 
805
2009-05-11  Craig Howland 
806
 
807
        * libm/machine/i386/f_llrint.c: Remove llrint() definition.
808
        * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
809
 
810
2009-05-08  Nick Clifton  
811
 
812
        * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
813
        the write-after-approval list.
814
 
815
2009-04-30  Anthony Green  
816
 
817
        * MAINTAINERS: Add myself as moxie maintainer and to the
818
        write-after-approval list.
819
 
820
2009-04-30  Eric Blake  
821
 
822
        Allow gcc warning for toupper even with extended charsets.
823
        * libc/include/ctype.h (toupper, tolower)
824
        [_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
825
        'char' even when we must call the function for correct behavior.
826
        [!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
827
 
828
2009-04-24  Jeff johnston  
829
 
830
        * libc/stdio/fgetc.c: Make sure sfp lock is acquired before the
831
        file lock and released before the file lock to avoid a deadlock
832
        scenario.
833
        * libc/stdio/fgets.c: Ditto.
834
        * libc/stdio/fgetwc.c: Ditto.
835
        * libc/stdio/fgetws.c: Ditto.
836
        * libc/stdio/fread.c: Ditto.
837
        * libc/stdio/fseek.c: Ditto.
838
        * libc/stdio/getc.c: Ditto.
839
        * libc/stdio/getdelim.c: Ditto.
840
        * libc/stdio/gets.c: Ditto.
841
 
842
2009-04-24  Jeff johnston  
843
 
844
        * configure.in: Add configuration test for long double equals dbl
845
        and set flag _LDBL_EQ_DBL if true.
846
        * configure: Regenerated.
847
        * newlib.hin: Add _LDBL_EQ_DBL flag.
848
        * libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
849
        _HAVE_LDBL_MATH.
850
        * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
851
        _HAVE_LDBL_STDLIB.
852
        * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
853
        * libc/stdlib/local.h: Ditto.
854
 
855
2009-04-24  Joseph Myers  
856
 
857
        * libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
858
        if __UINTPTR_MAX__ defined.
859
 
860
2009-04-24  Eric Blake  
861
 
862
        Be namespace clean in ctype.h.
863
        * libc/include/ctype.h (_tolower, _toupper, isalpha, isupper)
864
        (islower, isdigit, isxdigit, isspace, ispunct, isalnum)
865
        (isprint, isgraph, iscntrl, isblank, toupper, tolower)
866
        (isascii, toascii): Don't use 'c' as macro parameter name.
867
 
868
        Trigger gcc warning if isFoo macros are called with plain char.
869
        * libc/include/ctype.h (isalpha, isupper, islower, isdigit)
870
        (isxdigit, isspace, ispunct, isalnum, isprint, isgraph)
871
        (iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall'
872
        warn when user calls macro with a char argument.
873
 
874
2009-04-23  Mike Burgess  
875
 
876
        * libc/string/strcasecmp.c: Optimized rewrite.
877
        * libc/string/strncasecmp.c: Fix description.
878
        * libc/string/strlwr.c: Avoid passing signed char to tolower.
879
        * libc/string/strupr.c: Avoid passing signed char to tolower.
880
 
881
2009-04-23  Paul Brook  
882
            Kazu Hirata  
883
 
884
        * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
885
        to malloc.  Allocate dynamically only if it is present.
886
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
887
        reference to free.  Call free only if it is present.
888
 
889
2009-04-22 Anthony Green 
890
 
891
        * configure.host: Add moxie support.
892
        * libc/machine/configure.in: Add moxie support.
893
        * libc/machine/configure: Rebuilt.
894
        * libc/machine/moxie/aclocal.m4: New file.
895
        * libc/machine/moxie/configure: New file.
896
        * libc/machine/moxie/configure.in: New file.
897
        * libc/machine/moxie/Makefile.am: New file.
898
        * libc/machine/moxie/Makefile.in: New file.
899
        * libc/machine/moxie/setjmp.S: New file.
900
        * libc/include/machine/setjmp.h (_JBLEN): Define for moxie.
901
        * libc/include/machine/ieeefp.h: Add moxie support.
902
 
903
2009-04-22  Kazu Hirata  
904
 
905
        * libc/stdio/local.h (__chclass, __state_table, __action_table):
906
        Add extern to the declarations.
907
        * libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
908
 
909
2009-04-21  Corinna Vinschen  
910
 
911
        * libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
912
        _CTYPE_DATA_128_256.
913
        * libc/ctype/ctype_cp.h: Split off all character class values for
914
        character 255 from the rest of the definitions.
915
        (__ctype_cp): Use the new definitions.  Make sure that the table
916
        always contains 0 for EOF (-1).
917
        * libc/ctype/ctype_iso.h: Ditto.
918
 
919
2009-04-21  Sandra Loosemore  
920
 
921
        * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
922
        (__sf_fake_stderr): Declare locally with weak attribute.
923
 
924
2009-04-21  Mark Mitchell  
925
 
926
        * libc/include/_ansi.h: Move C++ defines to top of file.
927
        (_NOTHROW): New macro.
928
        (_EXFUN_NOTHROW): Likewise.
929
        * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
930
        (free): Likewise.
931
        (malloc): Likewise.
932
        (realloc): Likewise.
933
        (_malloc_r): Likewise.
934
        (_callor_r): Likewise.
935
        (_free_r): Likewise.
936
        (_realloc_r): Likewise.
937
 
938
2009-04-20  Jeff johnston  
939
 
940
        * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
941
        be _HAVE_LDBL_MATH.
942
        * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
943
        be _HAVE_LDBL_STDLIB.
944
 
945
2009-04-17  Jeff johnston  
946
 
947
        * libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
948
        * libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
949
        * libc/stdlib/strtold.c: Include local.h.
950
        * libc/stdlib/wcstold.c: Likewise.
951
        * libm/common/atanl.c: Likewise.
952
        * libm/common/cosl.c: Likewise.
953
        * libm/common/sinl.c: Likewise.
954
        * libm/common/modfl.c: Likewise.
955
        * libm/common/frexpl.c: Likewise.
956
        * libm/common/tanhl.c: Likewise.
957
        * libm/common/tanl.c: Likewise.
958
        * libm/common/expm1l.c: Likewise.
959
        * libm/common/log1pl.c: Likewise.
960
        * libm/common/ceill.c: Likewise.
961
        * libm/common/fabsl.c: Likewise.
962
        * libm/common/floorl.c: Likewise.
963
        * libm/common/acosl.c: Likewise.
964
        * libm/common/asinl.c: Likewise.
965
        * libm/common/atan2l.c: Likewise.
966
        * libm/common/coshl.c: Likewise.
967
        * libm/common/expl.c: Likewise.
968
        * libm/common/fmodl.c: Likewise.
969
        * libm/common/hypotl.c: Likewise.
970
        * libm/common/ldexpl.c: Likewise.
971
        * libm/common/log10l.c: Likewise.
972
        * libm/common/logl.c: Likewise.
973
        * libm/common/powl.c: Likewise.
974
        * libm/common/sqrtl.c: Likewise.
975
        * libm/common/copysignl.c: Likewise.
976
        * libm/common/ilogbl.c: Likewise.
977
        * libm/common/nanl.c: Likewise.
978
        * libm/common/cbrtl.c: Likewise.
979
        * libm/common/asinhl.c: Likewise.
980
        * libm/common/nextafterl.c: Likewise.
981
        * libm/common/rintl.c: Likewise.
982
        * libm/common/scalbnl.c: Likewise.
983
        * libm/common/exp2l.c: Likewise.
984
        * libm/common/fdiml.c: Likewise.
985
        * libm/common/fmal.c: Likewise.
986
        * libm/common/fmaxl.c: Likewise.
987
        * libm/common/fminl.c: Likewise.
988
        * libm/common/lrintl.c: Likewise.
989
        * libm/common/lroundl.c: Likewise.
990
        * libm/common/nearbyintl.c: Likewise.
991
        * libm/common/remquol.c: Likewise.
992
        * libm/common/roundl.c: Likewise.
993
        * libm/common/scalblnl.c: Likewise.
994
        * libm/common/truncl.c: Likewise.
995
        * libm/common/acoshl.c: Likewise.
996
        * libm/common/atanhl.c: Likewise.
997
        * libm/common/erfcl.c: Likewise.
998
        * libm/common/erfl.c: Likewise.
999
        * libm/common/lgammal.c: Likewise.
1000
        * libm/common/remainderl.c: Likewise.
1001
        * libm/common/tgammal.c: Likewise.
1002
        * libm/common/sinhl.c: Likewise.
1003
        * libm/common/llroundl.c: Likewise.
1004
        * libm/common/llrintl.c: Likewise.
1005
        * libm/common/local.h: New file with _LDBL_EQ_DBL macro.
1006
 
1007
2009-04-17  Ken Werner  
1008
 
1009
        * libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
1010
        * libc/include/math.h (llrintl): Declare.
1011
        * libm/common/llrintl.c: New File.
1012
        * libm/common/Makefile.am: New File added.
1013
        * libm/common/Makefile.in: Regenerate.
1014
 
1015
2009-04-17  Ken Werner  
1016
 
1017
        * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
1018
        avoid executable test.
1019
        * libc/configure: Regenerate.
1020
 
1021
2009-04-17  Jeff johnston  
1022
 
1023
        * configure.in: Remove _HAVE_ARRAY_ALIASING check.
1024
        * configure: Regenerated.
1025
        * Makefile.in: Regenerated.
1026
        * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
1027
        * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
1028
        * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
1029
        avoid executable test.
1030
        * libm/configure: Regenerated.
1031
 
1032
2009-04-16  Jeff johnston  
1033
 
1034
        * libc/misc/init.c (__libc_fini_array): Process fini_array in
1035
        reverse order as compliant with the ELF specification.
1036
 
1037
2009-04-16  Ken Werner  
1038
 
1039
        * libc/machine/spu/Makefile.am: Add new File.
1040
        * libc/machine/spu/Makefile.in: Regenerate.
1041
        * libc/machine/spu/fdopen.c: New file.
1042
 
1043
2009-04-16  Hans-Peter Nilsson  
1044
 
1045
        * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
1046
 
1047
2009-04-16  Ken Werner  
1048
 
1049
        * libm/libm.texinfo: Add long double function support chapter.
1050
        * libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
1051
        * libc/include/stdlib.h: Include .
1052
        (strtold, wcstold): Declare.
1053
        * libc/stdlib/strtold.c: New File.
1054
        * libc/stdlib/wcstold.c: Likewise.
1055
        * libc/configure.in: Add long double check.
1056
        * libc/configure: Regenerate.
1057
        * libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
1058
        * libc/stdlib/Makefile.in: Regenerate.
1059
        * libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
1060
        (frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
1061
        (asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
1062
        (sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
1063
        (nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
1064
        (nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
1065
        (llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
1066
        (atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
1067
        * libm/common/atanl.c: New File.
1068
        * libm/common/cosl.c: Likewise.
1069
        * libm/common/sinl.c: Likewise.
1070
        * libm/common/modfl.c: Likewise.
1071
        * libm/common/frexpl.c: Likewise.
1072
        * libm/common/tanhl.c: Likewise.
1073
        * libm/common/tanl.c: Likewise.
1074
        * libm/common/expm1l.c: Likewise.
1075
        * libm/common/log1pl.c: Likewise.
1076
        * libm/common/ceill.c: Likewise.
1077
        * libm/common/fabsl.c: Likewise.
1078
        * libm/common/floorl.c: Likewise.
1079
        * libm/common/acosl.c: Likewise.
1080
        * libm/common/asinl.c: Likewise.
1081
        * libm/common/atan2l.c: Likewise.
1082
        * libm/common/coshl.c: Likewise.
1083
        * libm/common/expl.c: Likewise.
1084
        * libm/common/fmodl.c: Likewise.
1085
        * libm/common/hypotl.c: Likewise.
1086
        * libm/common/ldexpl.c: Likewise.
1087
        * libm/common/log10l.c: Likewise.
1088
        * libm/common/logl.c: Likewise.
1089
        * libm/common/powl.c: Likewise.
1090
        * libm/common/sqrtl.c: Likewise.
1091
        * libm/common/copysignl.c: Likewise.
1092
        * libm/common/ilogbl.c: Likewise.
1093
        * libm/common/nanl.c: Likewise.
1094
        * libm/common/cbrtl.c: Likewise.
1095
        * libm/common/asinhl.c: Likewise.
1096
        * libm/common/nextafterl.c: Likewise.
1097
        * libm/common/rintl.c: Likewise.
1098
        * libm/common/scalbnl.c: Likewise.
1099
        * libm/common/exp2l.c: Likewise.
1100
        * libm/common/fdiml.c: Likewise.
1101
        * libm/common/fmal.c: Likewise.
1102
        * libm/common/fmaxl.c: Likewise.
1103
        * libm/common/fminl.c: Likewise.
1104
        * libm/common/lrintl.c: Likewise.
1105
        * libm/common/lroundl.c: Likewise.
1106
        * libm/common/nearbyintl.c: Likewise.
1107
        * libm/common/remquol.c: Likewise.
1108
        * libm/common/roundl.c: Likewise.
1109
        * libm/common/scalblnl.c: Likewise.
1110
        * libm/common/truncl.c: Likewise.
1111
        * libm/common/acoshl.c: Likewise.
1112
        * libm/common/atanhl.c: Likewise.
1113
        * libm/common/erfcl.c: Likewise.
1114
        * libm/common/erfl.c: Likewise.
1115
        * libm/common/lgammal.c: Likewise.
1116
        * libm/common/remainderl.c: Likewise.
1117
        * libm/common/tgammal.c: Likewise.
1118
        * libm/common/sinhl.c: Likewise.
1119
        * libm/common/llroundl.c: Likewise.
1120
        * libm/configure.in: Add long double check.
1121
        * libm/configure: Regenerate.
1122
        * libm/common/Makefile.am: Add new files.
1123
        * libm/common/Makefile.in: Regenerate.
1124
 
1125
2009-04-09  Corinna Vinschen  
1126
 
1127
        * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
1128
        * libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
1129
        720, 862, 874, 1255, and 1256 to _U|_L.  Fix a couple of incorrect
1130
        class mappings.
1131
        * libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
1132
        6, 8, and 11 to _U|_L.  Fix a couple of incorrect class mappings.
1133
        * libc/ctype/isblank.c (isblank): Special case TAB.
1134
        * libc/ctype/islower.c (islower): Check explicitely for _L flag only
1135
        in (_U|_L).
1136
        * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
1137
        * libc/include/ctype.h (islower): Same in macro.
1138
        (isupper): Ditto.
1139
        (isblank): Special case TAB.  Redefine macro for GCC only.
1140
 
1141
2009-04-09  Corinna Vinschen  
1142
 
1143
        * libc/stdlib/local.h (__mbtowc): Declare extern.
1144
        (__wctomb): Ditto.
1145
 
1146
2009-04-09  Corinna Vinschen  
1147
 
1148
        * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
1149
        recognizes 0x8e and 0x8f lead bytes.
1150
        (_iseucjp2): Rename from _iseucjp.
1151
        * libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
1152
        triplebyte sequences as well.
1153
        * libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
1154
        triplebyte sequences as well.
1155
 
1156
2009-04-08  Ken Werner  
1157
 
1158
        * configure.in: Add square brackets for the array aliasing conftest.
1159
        * configure: Regenerate.
1160
 
1161
2009-04-06  Mike Burgess  
1162
 
1163
        * libc/string/strncasecmp.c: Optimized rewrite.
1164
 
1165
2009-04-06  Ken Werner  
1166
 
1167
        * libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
1168
        * libc/include/machine/time.h (nanosleep): Declare.
1169
 
1170
2009-04-06  Corinna Vinschen  
1171
 
1172
        * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
1173
 
1174
2009-04-04  Corinna Vinschen  
1175
 
1176
        * libc/stdlib/wcstombs.c: Fix datatypes in documentation.
1177
 
1178
2009-04-04  Corinna Vinschen  
1179
 
1180
        * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
1181
        * libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
1182
 
1183
2009-04-03  Yaakov Selkowitz  
1184
 
1185
        * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
1186
        to avoid a warning with -Wmissing-prototypes.
1187
 
1188
2009-04-03  Ken Werner  
1189
 
1190
        * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
1191
 
1192
2009-04-03  Ken Werner  
1193
 
1194
        * libc/machine/spu/sys/linux_syscalls.h: include 
1195
        (linux_getpid, linux_gettid): Declare.
1196
 
1197
2009-04-03  Ken Werner  
1198
 
1199
        * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
1200
        profiling.
1201
 
1202
2009-04-03  Ken Werner  
1203
 
1204
        * libc/include/math.h: Remove duplicate copysign prototype.
1205
        Fix __math_68881 define typo.  Guard functions of the rint family.
1206
 
1207
2009-04-03  Craig Howland 
1208
 
1209
        * libm/common/s_llrint.c: New file, implementing llrint().
1210
        * libm/common/sf_llrint.c: New file, implementing llrintf().
1211
        * libm/common/Makefile.am:  Add s_llrint.c (src); sf_llrint.c (fsrc).
1212
        * libm/common/Makefile.in:  Regenerate.
1213
 
1214
2009-04-02  Corinna Vinschen  
1215
 
1216
        * libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
1217
        ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
1218
        (__ctype_ptr__): Constify in !_MB_CAPABLE case.  Otherwise,
1219
        de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too.  Add comment.
1220
        (__set_ctype): Set __ctype_ptr__ pointer according to definition
1221
        of ALLOW_NEGATIVE_CTYPE_INDEX.
1222
        * libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
1223
 
1224
2009-03-31  Corinna Vinschen  
1225
 
1226
        * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
1227
        source files.  Add a dependency rule for ctype_o to note
1228
        changes in ctype_iso.h and ctype_cp.h.
1229
        * libc/ctype/Makefile.in: Regenerate.
1230
        * libc/ctype/_tolower.c: Remove file.
1231
        * libc/ctype/_toupper.c: Remove file.
1232
        * libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
1233
        is always defined on Cygwin.
1234
        (_ctype_b): Don't make `static const' on Cygwin.
1235
        (ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
1236
        (ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
1237
        (__ctype_ptr): Drop definition.
1238
        (__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
1239
        (_ctype_): Add Cygwin-specifc asm define.
1240
        (__set_ctype): New function to set __ctype_ptr__ according to
1241
        current charset.
1242
        * libc/ctype/ctype_cp.h: New file containing Windows codepage
1243
        specific character class tables.
1244
        * libc/ctype/ctype_iso.h: New file containing ISO-8859-x
1245
        specific character class tables.
1246
        * libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
1247
        charset if one of the extended charsets is enabled.
1248
        * libc/ctype/toupper.c (toupper): Ditto.
1249
        * libc/include/ctype.h (_tolower): Define as macro per POSIX.
1250
        (_toupper): Ditto.
1251
        (__ctype_ptr__): De-constify.
1252
        (toupper): Disable macro on systems supporting extended charsets.
1253
        (tolower): Ditto.
1254
        * libc/include/sys/config.h (__EXPORT): Define empty if not defined.
1255
        * libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
1256
        (__set_ctype): Declare unconditionally.
1257
        (loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
1258
 
1259
2009-03-26  Corinna Vinschen  
1260
 
1261
        * libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
1262
        of "GB2312".  Fix documentation accordingly.
1263
 
1264
2009-03-26  Corinna Vinschen  
1265
 
1266
        * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
1267
        * libc/ctype/isblank.c: Replace hardcoded test with test for having _B
1268
        marker in ctype array.
1269
        * libc/include/ctype.h (isblank): Add macro.
1270
 
1271
2009-03-25  Craig Howland 
1272
 
1273
        * libc/include/math.h:  (llround, llroundf): Declare.
1274
        * libm/common/s_llround.c: New file, implementing llround().
1275
        * libm/common/sf_llround.c: New file, implementing llroundf().
1276
        * libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
1277
        version of function.
1278
        * libm/common/sf_lrint.c: Ditto.
1279
        * libm/common/sf_logb.c:  Corrected return for subnormal argument
1280
        by replacing existing function with a version created from sf_ilogb.c.
1281
        * libm/common/s_logb.c: Ditto, except starting point s_ilogb.c.  Also
1282
        added documentation for logb() and logbf().
1283
        * libm/common/s_signbit.c:  Add signbit() documentation.
1284
        * libm/common/s_log2.c: Update return values to match what w_log2.c has,
1285
        since log2 uses log(); add note about being derived instead of direct.
1286
        * libm/common/sf_fma.c: Add casts to attempt to get correct results,
1287
        as well as comments pointing out problems with the implementation.
1288
        * libm/common/s_fma.c: Add fma() and fmaf() documentation.
1289
        * libm/common/sf_remquo.c: Incorrect quotient returns for large values
1290
        corrected by discarding existing function and replacing with Sun
1291
        verion, with some enhancements.
1292
        * libm/common/s_remquo.c: Ditto.  Add remquo() and remquof()
1293
        documentation.
1294
        * libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
1295
        * libm/common/s_fmin.c: Add fmin() and fminf() documentation.
1296
        * libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
1297
        documentation.
1298
        * libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
1299
        * libm/common/s_trunc.c: Add trunc() and truncf() documentation.
1300
        * libm/common/s_rint.c: Add rint() and rintf() documentation.
1301
        * libm/common/s_round.c: Add round() and roundf() documentation.
1302
        * libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
1303
        * libm/common/s_infinity.c: Add infinity() and infinityf()
1304
        documentation.
1305
        * libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
1306
        llroundf() documentation.
1307
        * libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
1308
        documentation.
1309
        * libm/common/isgreater.c: New file for documenting math.h function-like
1310
        macros isgreater(), isgreaterequal(), isless(), islessequal(),
1311
        islessgreater(), and isunordered().
1312
        * libm/common/s_isnan.c: Add documentation for function-like macros
1313
        fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
1314
        * libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
1315
        documentation.
1316
        * libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
1317
        s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
1318
        s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
1319
        s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
1320
        isgreater.def (chobj);
1321
        re-name all existing chew files (chobj) to match source file base
1322
        names (put in underscores), delete all special targets for chew files
1323
        (leaving all to be generated by rule).
1324
        * libm/common/Makefile.in: regenerate.
1325
        * libm/math/w_exp2.c: Add "base 2" to documentation description (and
1326
        delete TRAD_SYNOPSIS).
1327
        * libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
1328
        with some history behind the function names.
1329
        * libm/math/math.tex: Add includes for newly-added documentation (see
1330
        .def additions to common/Makefile.am and math/Makefile.am in this
1331
        ChangeLog list), adjusted existing .def file names to match source file
1332
        base names (added underscores); add mention of HUGE_VALF; rename
1333
        "Version of library" section to "Error Handling" and add some text
1334
        about floating-point exception; added section "Standards Compliance And
1335
        Portability".
1336
        * libm/math/Makefile.am: Add w_exp2.def (chobj);
1337
        re-name all existing chew files (chobj) to match source file base
1338
        names, delete all special targets for chew files (leaving all to be
1339
        generated by rule).
1340
        * libm/math/Makefile.in: regenerated
1341
        * doc/makedoc.c: Change silent ignoring of commands < 5 characters
1342
        to a failure when reading macro file for commands < 4 characters;
1343
        add -v (verbose) option for printing some debugging information;
1344
        get rid of spurious translation of "@*" to "*" (no source files used @*,
1345
        so no existing doc pages were affected); clean up some compiler
1346
        warnings.
1347
        * doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
1348
        which has them); Remove ITEM command (redundant with makedoc built-in
1349
        "o", not used in any present source file so nothing is lost, anyway).
1350
        * HOWTO: New file to hold information for maintainers regarding how
1351
        to do things.  Initial sections on documentation and ELIX levels.
1352
 
1353
2009-03-25  Richard Earnshaw  
1354
 
1355
        * libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
1356
        detect the nul-byte in a big-endian string.
1357
 
1358
2009-03-25  Jeff Johnston  
1359
 
1360
        * libc/string/wcsdup.c: Fix documentation error.
1361
        * libc/string/Makefile.am: Fix CHEWOUT files to contain
1362
        wcsdup.def rather than wcsdup.
1363
        * libc/string/Makefile.in: Regenerated.
1364
 
1365
2009-03-25  Corinna Vinschen  
1366
 
1367
        * libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
1368
        pointers if category is LC_CTYPE.
1369
 
1370
2009-03-25  Corinna Vinschen  
1371
 
1372
        * libc/locale/locale.c (loadlocale): Rename charset "GBK" to
1373
        "GB2312".  Fix documentation accordingly.
1374
 
1375
2009-03-24  Corinna Vinschen  
1376
 
1377
        * libc/locale/locale.c (loadlocale): Rename charset "CP949" to
1378
        "eucKR".  Fix documentation accordingly.
1379
 
1380
2009-03-24  Corinna Vinschen  
1381
 
1382
        * libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
1383
        for "eucJP" charset support.
1384
 
1385
2009-03-24  Jeff Johnston  
1386
 
1387
        * libc/include/sys/errno.h: Move EFTYPE to general usage because
1388
        it is used in libc/search.
1389
 
1390
2009-03-24  Corinna Vinschen  
1391
 
1392
        * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
1393
        _MB_CAPABLE systems.
1394
        * libc/ctype/iswblank.c: Ditto.
1395
        * libc/ctype/iswcntrl.c: Ditto.
1396
        * libc/ctype/iswprint.c: Ditto.
1397
        * libc/ctype/iswpunct.c: Ditto.
1398
        * libc/ctype/iswspace.c: Ditto.
1399
        * libc/ctype/jp2uc.c (__jp2uc): On Cygwin, just return c.
1400
        Explain why.
1401
        * libc/ctype/towlower.c: Ditto.
1402
        * libc/ctype/towupper.c: Ditto.
1403
        * libc/include/sys/config.h: Define _MB_EXTENDED_CHARSETS_ISO
1404
        and _MB_EXTENDED_CHARSETS_WINDOWS if _MB_EXTENDED_CHARSETS_ALL is
1405
        defined.  Define _MB_EXTENDED_CHARSETS_ALL on Cygwin only for now.
1406
        * libc/include/sys/reent.h (struct _reent): Mark _current_category
1407
        and _current_locale as unused.
1408
        * libc/locale/locale.c: Add new charset support to documentation.
1409
        Include ../stdio/local.h from here.
1410
        (lc_ctype_charset): Set to "ASCII" by default.
1411
        (lc_message_charset): Ditto.
1412
        (_setlocale_r): Don't set _current_category and _current_locale.
1413
        (loadlocale): Add Cygwin codepage support.  On _MB_CAPABLE
1414
        systems, set __mbtowc and __wctomb function pointers to function
1415
        corresponding with current charset.  Don't allow non-existant
1416
        ISO-8859-12 charset.  Add support for Windows singlebyte codepages.
1417
        On Cygwin, add support for GBK, CP949, and BIG5.  On Cygwin,
1418
        call __set_ctype() in case the catorgy is LC_CTYPE.  Don't set
1419
        _current_category and _current_locale.
1420
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add sb_charsets.c.
1421
        * libc/stdlib/Makefile.in: Regenerate.
1422
        * libc/stdlib/local.h: Add prototype for __locale_charset.
1423
        Add prototypes for __mbtowc and __wctomb pointers.
1424
        Add prototypes for charset-specific _wctomb_r and _mbtowc_r
1425
        functions.
1426
        Declare tables and functions from sb_charsets.c.
1427
        * libc/stdlib/mbtowc_r.c (__mbtowc): Define.  Set to __ascii_mbtowc
1428
        by default.
1429
        (_mbtowc_r): Just call __mbtowc from here.
1430
        (__ascii_mbtowc): New function.
1431
        (__iso_mbtowc): New function.
1432
        (__cp_mbtowc): New function.
1433
        (__utf8_mbtowc): New function.
1434
        (__sjis_mbtowc): New function.  Disable on Cygwin.
1435
        (__eucjp_mbtowc): New function.  Disable on Cygwin.
1436
        (__jis_mbtowc): New function.  Disable on Cygwin.
1437
        * libc/stdlib/sb_charsets.c: New file, adding singlebyte to UTF
1438
        conversion tables for all ISO and CP charsets.
1439
        (__iso_8859_index): New function.
1440
        (__cp_index): New function.
1441
        * libc/stdlib/wctomb_r.c (__wctomb): Define.  Set to __ascii_wctomb
1442
        by default.
1443
        (_wctomb_r): Just call __wctomb from here.
1444
        (__ascii_wctomb): New function.
1445
        (__utf8_wctomb): New function.
1446
        (__sjis_wctomb): New function.  Disable on Cygwin.
1447
        (__eucjp_wctomb): New function.  Disable on Cygwin.
1448
        (__jis_wctomb): New function.  Disable on Cygwin.
1449
        (__iso_wctomb): New function.
1450
        (__cp_wctomb): New function.
1451
 
1452
2009-03-23  Richard Earnshaw  
1453
 
1454
        * libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.
1455
 
1456
2009-03-23  Corinna Vinschen  
1457
 
1458
        * libc/locale/locale.c (loadlocale): Fix typo in language and
1459
        territory evaluation.
1460
 
1461
2009-03-20  Jeff Johnston  
1462
 
1463
        * libc/include/sys/errno.h: Protect various non-standard errnos
1464
        with either __LINUX_ERRNO_EXTENSIONS__ or __CYGWIN__.
1465
        * libc/include/sys/config.h[__CYGWIN__]: Define
1466
        __LINUX_ERRNO_EXTENSIONS__.
1467
 
1468
2009-03-19  Corinna Vinschen  
1469
 
1470
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
1471
        invalid character sequence.
1472
 
1473
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Fix compiler warning due to
1474
        missing declaration of __locale_charset.
1475
        * libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
1476
 
1477
2009-03-18  Yaakov Selkowitz 
1478
 
1479
        * libm/common/s_log2.c: New file.
1480
        * libm/common/sf_log2.c: Ditto.
1481
        * libm/common/Makefile.am: Add s_log2.c and sf_log2.c.
1482
        * libm/common/Makefile.in: Regenerated.
1483
        * libc/include/math.h: Add log2 and log2f function prototypes.
1484
 
1485
2009-03-17  Corinna Vinschen  
1486
 
1487
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
1488
        string correctly.
1489
 
1490
2009-03-16  Mark Mitchell  
1491
 
1492
        * libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.
1493
 
1494
2009-03-16  Richard Earnshaw  
1495
 
1496
        * libc/machine/arm/strlen.c (strlen): Correctly detect
1497
        end-of-string.
1498
        * libc/machine/arm/strcpy.c (strcpy): Likewise.
1499
        * libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.
1500
 
1501
2009-03-15  Yaakov Selkowitz 
1502
 
1503
        * libc/include/sys/errno.h (ESTRPIPE): Define.
1504
        * libc/string/strerror.c (strerror): Decode it.
1505
 
1506
2009-03-15  Corinna Vinschen  
1507
 
1508
        * libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
1509
        * libc/string/Makefile.am: Add wcsdup.c.
1510
        * libc/string/Makefile.in: Regenerate.
1511
        * libc/string/strings.tex: Add wcsdup documentation reference.
1512
        * libc/string/wcsdup.c: New file.
1513
 
1514
2009-03-14  Corinna Vinschen  
1515
 
1516
        * libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
1517
        !_REENT_ONLY section.
1518
 
1519
2009-03-14  Corinna Vinschen  
1520
 
1521
        * libc/include/stdio.h (_mkstemp_r, _mktemp_r): Move declarations
1522
        to stdlib.h.
1523
        * libc/include/stdlib.h (mktemp, _mktemp_r): Warn when using.
1524
        * libc/stdio/mktemp.c: Explain the security risk when using
1525
        mktemp.
1526
 
1527
2009-03-12  Craig Howland 
1528
 
1529
        * libc/time/time.tex (wcsftime.def):  Include.
1530
        * libc/time/wcsftime.c:  Clean up documentation a little.
1531
 
1532
2009-03-12  Craig Howland 
1533
 
1534
        * libc/stdio/swscanf.c:  Some documentation corrections.
1535
 
1536
2009-03-12  Craig Howland 
1537
 
1538
        * libc/stdio/swprintf.c (_swprintf_r, swprintf):
1539
        correct how terminating L'\0' is added;
1540
        change return to match standard for when output does not fit;
1541
        some corrections and enhancements to the docs.
1542
        * libc/stdio/vswprintf.c (_vswprintf_r):  ditto, except for docs.
1543
        * libc/stdio/vfwprintf.c:  some corrections to the docs and some
1544
        enhancements to comments.  (No code changes.)
1545
        * libc/time/strftime.c:  Correct some problems that made wcsftime()
1546
        not work correctly:  work properly with swprintf returns that are
1547
        different from snprintf returns, correct test vector lengths for
1548
        when sizeof(wchar_t) > 1.
1549
        * libc/stdio/sprintf.c:  Some documentation and comment corrections and
1550
        enhancements to match those done to swprintf.c.
1551
 
1552
2009-03-11  Corinna Vinschen  
1553
 
1554
        * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
1555
        * libc/string/Makefile.am: Add wcscasecmp.c, wcsncasecmp.c
1556
        * libc/stdio/Makefile.in: Regenerate.
1557
        * libc/string/strings.tex: Add new documentation references.
1558
        * libc/string/wcscasecmp.c: New file.
1559
        * libc/string/wcsncasecmp.c: New file.
1560
 
1561
2009-03-11  Corinna Vinschen  
1562
 
1563
        * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
1564
        wscanf): Declare.
1565
        (_fwscanf_r, _swscanf_r, _vfwscanf_r, _vswscanf_r, _vwscanf_r,
1566
        _wscanf_r): Declare.
1567
        * libc/stdio/Makefile.am: Add new wscanf files.
1568
        * libc/stdio/Makefile.in: Regenerate.
1569
        * libc/stdio/fwscanf.c: New file.
1570
        * libc/stdio/local.h (__svfwscanf_r, __ssvfwscanf_r, __svfiwscanf_r,
1571
        __ssvfiwscanf_r): Declare.
1572
        * libc/stdio/stdio.tex: Add new documentation references.
1573
        * libc/stdio/swscanf.c: New file.
1574
        * libc/stdio/vfwscanf.c: New file.
1575
        * libc/stdio/vswscanf.c: New file.
1576
        * libc/stdio/vwscanf.c: New file.
1577
        * libc/stdio/wscanf.c: New file.
1578
 
1579
        * libc/stdio/vfscanf.c (_sungetc_r): Make externaly available.  Only
1580
        define if INTEGER_ONLY is defined.  Declare otherwise.
1581
        (__ssrefill_r): Ditto.
1582
        (_sfread_r): Ditto.
1583
 
1584
        Remove static eofread/eofread1 functions and use __seofread
1585
        function instead, throughout.
1586
        * libc/stdio/local.h (__seofread): Declare.
1587
        * libc/stdio/stdio.c (__seofread): Define.
1588
 
1589
        * libc/stdio/fgetwc.c (__fgetwc): Fix compiler warning.
1590
        * libc/stdio/fgetws.c (_fgetws_r): Ditto.
1591
        * libc/stdio/fread.c (_fread_r): Ditto.
1592
        * libc/stdio/vfprintf.c: Ditto.
1593
        * libc/stdio/vswprintf.c: Ditto.
1594
 
1595
2009-03-09  Brooks Moses  
1596
 
1597
        * libc/machine/arm/arm_asm.h: Fix typo.
1598
 
1599
2009-03-09  Craig Howland 
1600
 
1601
        * libc/time/strftime.c:  Adapt for dual-purpose use so not only
1602
        defines strftime(), but can also define wcsftime(); add optional
1603
        test package; speed up %Y handling.
1604
        * libc/time/wcsftime.c:  New file, defining wcsftime() (albeit
1605
        indirectly by including strftime.c) and its documentation.
1606
        * libc/time/time.tex:  Enhance tm_isdst explanation, change strftime
1607
        description to match modified description in strftime.c
1608
        * libc/time/Makefile.am:  Add wcsftime.c and wcsftime.def.  Add a rule
1609
        so that wcsftime.o gets rebuilt when strftime changes.
1610
        * libc/time/Makefile.in:  Regenerate.
1611
        * libc/include/wchar.h (wcsftime): Declare.
1612
 
1613
2009-03-06  Hans-Erik Floryd ,
1614
            Corinna Vinschen  
1615
 
1616
        * libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
1617
        statements in _REENT_SMALL case.  Check if _atexit is not NULL before
1618
        dereferencing it.
1619
        (_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
1620
 
1621
2009-03-06  Corinna Vinschen  
1622
 
1623
        * libc/include/stdio.h (__VALIST): Guard against multiple definition.
1624
        * libc/include/wchar.h: Include stdarg.h.
1625
        (__VALIST): Define conditionally.
1626
        (fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf): Declare.
1627
        (_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
1628
         _wprintf_r): Declare.
1629
        * libc/stdio/Makefile.am: Add new files.
1630
        * libc/stdio/Makefile.in: Regenerate.
1631
        * libc/stdio/fwprintf.c: New file.
1632
        * libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
1633
        (__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
1634
        and move to the __ namespace.
1635
        (__chclass, __state_table, __action_table): Declare.
1636
        * libc/stdio/stdio.tex: Add new documentation references.
1637
        * libc/stdio/swprintf.c: New file.
1638
        * libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
1639
        __sprint_r function according to compilation unit.  Use throughout.
1640
        (__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
1641
        Make externaly available.  Only define if INTEGER_ONLY is defined.
1642
        (__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
1643
        is defined.  Handle stream orientation.
1644
        (__sbprintf): Copy FILE's _flags2 member as well.
1645
        (__chclass, __state_table, __action_table): Prepend __ to name and
1646
        make externally available.
1647
        * libc/stdio/vfwprintf.c: New file.
1648
        * libc/stdio/vswprintf.c: New file.
1649
        * libc/stdio/vwprintf.c: New file.
1650
        * libc/stdio/wprintf.c: New file.
1651
 
1652
2009-03-03  Corinna Vinschen  
1653
 
1654
        * libc/locale/locale.c (_setlocale_r): New implementation based on
1655
        FreeBSD's setlocale.
1656
        (currentlocale): New helper function.
1657
        (loadlocale): Ditto.
1658
        (__locale_charset): New function.
1659
        (__locale_msgcharset): Rename from __locale_charset.
1660
        * libc/ctype/local.h (__lc_ctype): Remove declaration.
1661
        (__locale_charset): Declare.
1662
        * libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
1663
        using __lc_ctype directly.  Only compare against the charset alone.
1664
        * libc/ctype/iswblank.c (iswblank): Ditto.
1665
        * libc/ctype/iswcntrl.c (iswcntrl): Ditto.
1666
        * libc/ctype/iswprint.c (iswprint): Ditto.
1667
        * libc/ctype/iswpunct.c (iswpunct): Ditto.
1668
        * libc/ctype/iswspace.c (iswspace): Ditto.
1669
        * libc/ctype/towlower.c (towlower): Ditto.
1670
        * libc/ctype/towupper.c (towupper): Ditto.
1671
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
1672
        * libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
1673
        * libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
1674
        __locale_msgcharset instead of __locale_charset.
1675
 
1676
2009-03-02  Jeff Johnston  
1677
 
1678
        * libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
1679
        charset, cast wchar to size_t in case wchar_t is signed.
1680
        * libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.
1681
 
1682
2009-03-02  Corinna Vinschen  
1683
 
1684
        * libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
1685
        invalid wchar.  Return -1 if wchar doesn't fit into singlebyte
1686
        value in case of using a singlebyte charset.
1687
 
1688
2009-02-26  Brooks Moses  
1689
 
1690
        * libc/machine/arm/strcpy.c: Add missing comma.
1691
 
1692
2009-02-26  Ralf Corsepius  
1693
 
1694
        * libc/machine/lm32/configure.in: Let
1695
        AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
1696
        * libs/machine/lm32/configure: Regenerate.
1697
 
1698
2009-02-25  Brooks Moses  
1699
 
1700
        * libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
1701
          mbsnrtowcs.def, wcsnrtombs.def.
1702
        * libc/stdlib/Makefile.in: Regenerate.
1703
        * libc/stdlib/stdlib.tex (@menu): Use correct section
1704
          names for mbsrtowcs, wcsrtombs.
1705
        * libc/stdlib/wcstod.c: Remove stray character in
1706
          documentation.
1707
 
1708
2009-02-25  Corinna Vinschen  
1709
 
1710
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6
1711
        byte UTF-8 sequences since they are invalid in the Unicode standard.
1712
        Handle surrogate pairs in case of wchar_t == UTF-16.
1713
        * libc/stdlib/wctomb_r.c (_wctomb_r): Don't convert invalid Unicode
1714
        wchar_t values beyond 0x10ffff into UTF-8 chars.  Handle surrogate
1715
        pairs in case of wchar_t == UTF-16.
1716
 
1717
2009-02-24  Kevin Buettner  
1718
 
1719
        * libc/stdio/open_memstream.c (stdint.h): Include.
1720
 
1721
2009-02-23  Craig Howland  
1722
 
1723
        * libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
1724
        coupling ttyname_r() and ttyname() due to the latter's large buffer).
1725
        * libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
1726
        ttyname.c.
1727
        * libc/unix/ttyname.h:  New file (common size definition for the 2
1728
        ttyname*c files that are now split).
1729
        * libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
1730
        * libc/unix/Makefile.in:  Regenerate.
1731
 
1732
2009-02-19  Corinna Vinschen  
1733
 
1734
        * libc/include/wchar.h (mbsnrtowcs): Declare.
1735
        (_mbsnrtowcs_r): Declare.
1736
        (wcsnrtombs): Declare.
1737
        (_wcsnrtombs_r): Declare.
1738
        * libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
1739
        and wcsnrtombs.c.
1740
        * libc/stdlib/Makefile.in: Regenerate.
1741
        * libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
1742
        and mbsnrtowcs.  Document mbsnrtowcs and mbsrtowcs.
1743
        * libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
1744
        (mbsrtowcs): Ditto.
1745
        * libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
1746
        and wcsnrtombs.  Document wcsrtombs and wcsnrtombs.
1747
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
1748
        (wcsrtombs): Ditto.
1749
        * libc/stdlib/stdlib.tex: Accommodate new documentation.
1750
 
1751
2009-02-18  Jeff Johnston  
1752
 
1753
        * libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
1754
        buffer size to be in wchar_t units if wide == 1 is passed in.  In
1755
        this case, also initialize the first character of the buffer to be
1756
        wide char null.
1757
        (_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
1758
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
1759
        incrementing the size_t value n to first check that n is not already
1760
        size_t -1.  Fix some compiler warnings.
1761
        * libc/stdlib/wcstod.c: Add includes for  and .
1762
 
1763
2009-02-18  Corinna Vinschen  
1764
 
1765
        * libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
1766
        (struct memstream): Add wide element.
1767
        Change saved to a union to take char and wchar_t values.
1768
        (memwriter): Accommodate wide-oriented oeprations.
1769
        (memseeker): Ditto.
1770
        (memseeker64): Ditto.
1771
        (memcloser): Ditto.
1772
        (internal_open_memstream_r): New static function.  Take functionality
1773
        from former _open_memstream_r and handle additional "wide" parameter.
1774
        (_open_memstream_r): Just call internal_open_memstream_r with wide==-1
1775
        from here.
1776
        (_open_wmemstream_r): New function.
1777
        (open_wmemstream): Ditto.
1778
        * libc/include/wchar.h (open_wmemstream): Declare.
1779
        (_open_wmemstream_r): Declare.
1780
 
1781
2009-02-16  Corinna Vinschen  
1782
 
1783
        * libc/stdio/fputwc.c: Fix typo in man page info.
1784
 
1785
2009-02-12  Corinna Vinschen  
1786
 
1787
        * libc/include/wchar.h (_wcstod_r): Declare.
1788
        (_wcstof_r): Declare.
1789
        (wcstod): Declare.
1790
        (wcstof): Declare.
1791
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
1792
        (CHEWOUT_FILES): Add wcstod.def.
1793
        * libc/stdlib/Makefile.in: Regenerate.
1794
        * libc/stdlib/stdlib.tex: Add wcstod.
1795
        * libc/stdlib/wcstod.c: New file.
1796
 
1797
2009-02-05  Neal H. Walfield  
1798
 
1799
        * libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
1800
 
1801
2009-01-28  Jeff Johnston  
1802
 
1803
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
1804
        inf and nan processing to not proceed if we have already collected
1805
        zeroes.
1806
 
1807
2009-01-26  DJ Delorie  
1808
 
1809
        * configure.host (m32c-*-*): Add long long I/O support by default.
1810
 
1811
2009-01-21  Richard Earnshaw  
1812
 
1813
        * libc/machine/arm/arm_asm.h: New file.
1814
        * libc/machine/arm/strlen.c: New file.
1815
        * libc/machine/arm/strcpy.c: New file.
1816
        * libc/machine/arm/strcmp.c: New file.
1817
        * libc/machine/arm/Makefile.am: Add new string routines.
1818
 
1819
2009-01-19  Neal H. Walfield  
1820
 
1821
        * libc/include/stdint.h (INT64_C, UINT64_C, INTMAX_C, UINTMAX_C)
1822
        [__have_long64 && __have_longlong64]: Use L and UL, not LL and ULL.
1823
        * libc/include/inttypes.h (__PRI64, __SCN64, __PRIMAX, __SCNMAX,
1824
        __PRIPTR, __SCNPTR) [__have_long64 && __have_longlong64]: Use l,
1825
        not ll.
1826
 
1827
2009-01-12  Nathan Froyd  
1828
 
1829
        * libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
1830
 
1831
2009-01-12  Jeff Johnston  
1832
 
1833
        * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
1834
        each fp.  Let the function being called lock the fp, if necessary.
1835
 
1836
2009-01-07  Kazu Hirata  
1837
 
1838
        * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
1839
 
1840
2009-01-05  Craig Howland 
1841
 
1842
        * libc/stdio/fwide.c:  Correct typo in TRAD_SYNOPSIS for _fwide_r.
1843
 
1844
2008-12-19  Jeff Johnston  
1845
 
1846
        * NEWS: Update with 1.17.0 info.
1847
        * README: Ditto.
1848
        * acinclude.m4: Change version number to 1.17.0.
1849
        * aclocal.m4: Regenerated.
1850
        * configure: Ditto.
1851
        * doc/aclocal.m4: Ditto.
1852
        * doc/configure: Ditto.
1853
        * libc/*/aclocal.m4: Ditto.
1854
        * libc/*/configure: Ditto.
1855
        * libc/libc.texinfo: Ditto.
1856
        * libm/*/aclocal.m4: Ditto.
1857
        * libm/*/configure: Ditto.
1858
        * libm/libm.texinfo: Ditto.
1859
        * libc/sys/linux/shared.ld: Add VERS_1.17
1860
 
1861
2008-12-17  Jon Beniston 
1862
 
1863
        * configure.host: Set syscall_dir for lm32 target.
1864
 
1865
2008-12-15  Jeff Johnston  
1866
 
1867
        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
1868
        are included as part of fputwc and fgetwc, respectively.
1869
 
1870
2008-12-12  Craig Howland 
1871
 
1872
        * libc/include/wchar.h:  Added wcstok() declaration.
1873
        * libc/string/wcstok.c: New file, implementing wcstok.
1874
        * libc/string/Makefile.am: Add wcstok support.
1875
        * libc/string/wcstrings.tex: Ditto.
1876
        * libc/string/Makefile.in: Regenerated.
1877
 
1878
2008-12-12  Ralf Corsepius  
1879
 
1880
        * libc/stdio/fputws.c: Fix documentation.
1881
        * libc/stdio/getwchar.c: Ditto.
1882
        * libc/stdio/putwchar.c: Ditto.
1883
 
1884
2008-12-12  Ralf Corsepius  
1885
 
1886
        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
1887
        200112L (SUSv3 compliance).
1888
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
1889
 
1890
2008-12-12  Ralf Corsepius  
1891
 
1892
        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
1893
        _execve(), _exit().
1894
 
1895
2008-12-12  Ralf Corsepius  
1896
 
1897
        * configure.host: Let *rtems* default to c99-formats.
1898
 
1899
2008-12-12  Craig Howland  
1900
 
1901
        * libc/stdio/freopen.c:  Add  for memset prototype.
1902
        * libc/stdio/fseek.c:  Ditto.
1903
        * libc/stdio/fwide.c:  Add  for fwide prototype.
1904
 
1905
2008-12-11 Jeff Johnston  
1906
 
1907
        * libc/include/sys/time.h (gettimeofday): Change prototype so
1908
        2nd parameter is void *, matching SUSV2.
1909
        * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
1910
 
1911
2008-12-11 Jukka Pietarinen 
1912
 
1913
        * configure.host: Add lm32
1914
        * libc/include/machine/ieeefp.h: Add __lm32__
1915
        * libc/include/machine/setjmp.h: Add __lm32__
1916
        * libc/machine/configure.in: Add lm32
1917
        * libc/machine/configure: Regenerated.
1918
        * libc/machine/lm32/aclocal.m4: New file.
1919
        * libc/machine/lm32/configure.in: Ditto.
1920
        * libc/machine/lm32/configure: Ditto.
1921
        * libc/machine/lm32/Makefile.am: Ditto.
1922
        * libc/machine/lm32/Makefile.in: Ditto.
1923
        * libc/machine/lm32/setjmp.s: Ditto.
1924
 
1925
2008-12-11  Craig Howland  
1926
 
1927
        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
1928
        effect" warnings from gcc.
1929
        * libc/include/sys/stdio.h:  Ditto.
1930
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
1931
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
1932
        * libc/stdlib/__ten_mu.c:  Ditto.
1933
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
1934
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
1935
        already others in file without _ansi method, so did not bother.)
1936
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
1937
        definitions.
1938
        * libc/time/mktime.c:  Ditto.
1939
        * libc/misc/__dprintf.c:  Ditto.
1940
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
1941
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
1942
        _funopen_r, and _fopencookie_r.
1943
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
1944
        _execve_r prototype with POSIX definition for execve.
1945
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
1946
        * libc/stdio/asniprintf.c:  Add #include "local.h".
1947
        * libc/stdio/vasniprintf.c:  Ditto.
1948
        * libc/stdio/fread.c:  Remove unused variable newcount.
1949
        * libc/stdio/local.h:  Add function prototype for __sccl.
1950
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
1951
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
1952
        for __sccl since now in local.h.
1953
        * libc/string/memcpy.c:  Add #include  (for real and for
1954
        traditional synopsis), remove extraneous stddef.h and limits.h.
1955
        * libc/syscalls/sysclose.c:  Add #include .
1956
        * libc/syscalls/sysfork.c:  Ditto.
1957
        * libc/syscalls/sysgetpid.c:  Ditto.
1958
        * libc/syscalls/sysexecve.c:  Add #include , align function
1959
        prototype with POSIX definition.
1960
        * libc/syscalls/sysfstat.c:  Add #include .
1961
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
1962
        * libc/syscalls/syskill.c:  Add #include .
1963
        * libc/syscalls/syslink.c:  Add #include , fix prototype.
1964
        * libc/syscalls/sysunlink.c:  Ditto.
1965
        * libc/syscalls/sysstat.c:  Add #include , fix prototype.
1966
        * libc/syscalls/syswait.c:  Add #include , fix prototype.
1967
 
1968
2008-12-10  Corinna Vinschen  
1969
 
1970
        Implement basic wide char stdio functionality, based on FreeBSD.
1971
        * libc/include/stdio.h (__SORD): Define.
1972
        (__SWID): Define.
1973
        * libc/include/wchar.h: Add declarations for new wide char functions.
1974
        (getwc): Define as macro.
1975
        (getwchar): Ditto.
1976
        (putwc): Ditto.
1977
        (putwchar): Ditto.
1978
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
1979
        (struct __sFILE64): Ditto.
1980
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
1981
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
1982
        and ungetwc.c.
1983
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
1984
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
1985
        ungetwc.def.
1986
        Add header dependency rules for the new files.
1987
        * libc/stdio/Makefile.in: Regenerate.
1988
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
1989
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
1990
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
1991
        (__sfmoreglue): Ditto.
1992
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
1993
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
1994
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
1995
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
1996
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
1997
        _mbstate.
1998
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
1999
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
2000
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
2001
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
2002
        * libc/stdio/getwchar.c: New file, implementing getwchar and
2003
        _getwchar_r.
2004
        * libc/stdio/local.h (ORIENT): New macro.
2005
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
2006
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
2007
        * libc/stdio/putwchar.c: New file, implementing putwchar and
2008
        _putwchar_r.
2009
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
2010
        * libc/stdio/stdio.tex: Add documentation for new functions.
2011
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
2012
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
2013
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
2014
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.
2015
 
2016
2008-12-10  Joseph Myers  
2017
 
2018
        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
2019
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
2020
        constants with "long" types where appropriate.
2021
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
2022
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
2023
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
2024
        Correct to match logic for defining corresponding types.
2025
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
2026
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
2027
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
2028
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
2029
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
2030
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
2031
        types would promote to int.
2032
 
2033
2008-12-04  Corinna Vinschen  
2034
 
2035
        * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
2036
        (_POSIX_V6_LP64_OFF64): Ditto.
2037
        (_POSIX_V6_LPBIG_OFFBIG): Ditto.
2038
 
2039
2008-11-28  Jeff Johnston  
2040
 
2041
        * libc/sys/linux/inode.c: Include  instead of
2042
        .
2043
        * libc/sys/linux/io64.c: Add weak alias for _stat64.
2044
 
2045
2008-11-27  Ralf Corsepius 
2046
 
2047
        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
2048
        to fix GCC warning.
2049
 
2050
2008-11-27  Ken Werner  
2051
 
2052
        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
2053
        * libc/machine/spu/Makefile.in: Regenerated.
2054
        * libc/machine/spu/spu-gmon.c: New file.
2055
        * libc/machine/spu/spu-mcount.S: New file.
2056
 
2057
2008-11-27  Joel Sherrill 
2058
 
2059
        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
2060
 
2061
2008-11-27  Craig Howland 
2062
 
2063
        * libc/argz/argz_add.c:  Added #include  to get function
2064
        prototypes.
2065
        * libc/argz/argz_append.c: Ditto.
2066
        * libc/argz/argz_count.c: Ditto.
2067
        * libc/argz/argz_create.c: Ditto.
2068
        * libc/argz/argz_create_sep.c: Ditto.
2069
        * libc/argz/argz_delete.c: Ditto.
2070
        * libc/argz/argz_next.c: Ditto.
2071
        * libc/argz/argz_stringify.c: Ditto
2072
        * libc/stdlib/strtod.c: Added #include  to get function
2073
        prototypes.
2074
        * libc/stdlib/wcstoul.c: Added #include  to get function
2075
        prototypes, corrected traditional usage comment.
2076
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
2077
 
2078
2008-11-26 Ken Werner 
2079
 
2080
        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
2081
        * libm/machine/spu/headers/asind2.h: Likewise.
2082
        * libm/machine/spu/headers/asinhf4.h: Likewise.
2083
        * libm/machine/spu/headers/divd2.h: Likewise.
2084
        * libm/machine/spu/headers/erf_utils.h: Likewise.
2085
        * libm/machine/spu/headers/erfcd2.h: Likewise.
2086
        * libm/machine/spu/headers/erfcf4.h: Likewise.
2087
        * libm/machine/spu/headers/erfd2.h: Likewise.
2088
        * libm/machine/spu/headers/recipd2.h: Likewise.
2089
 
2090
2008-11-25  Corinna Vinschen  
2091
 
2092
        * libc/stdio/gets.c (_gets_r): Lock stdin here and call
2093
        __sgetc_r instead of _getchar_r.
2094
 
2095
2008-11-24  Craig Howland  
2096
 
2097
        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
2098
        include wchar.h for prototype, remove extraneous includes, use
2099
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
2100
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
2101
        base value check noted above), remove extraneous includes.
2102
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
2103
        prototype for _svfprintf_r().
2104
        * libc/stdio/vasnprintf.c:  Ditto.
2105
        * libc/stdio/local.h:  Add function prototype for __submore().
2106
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
2107
        _ftello_r.
2108
        * libc/posix/namespace.h:  Commented out define for write to
2109
        eliminate write() prototype being missing for collate.c (which is
2110
        the only file that presently includes namespace.h).
2111
        * libc/include/reent.h:  Added _rename_r.
2112
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
2113
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
2114
 
2115
2008-11-24  Jeff Johnston  
2116
 
2117
        * libc/search/hash_func.c: Comment out unused static hash functions.
2118
        * libc/reent/stat64r.c: New file.
2119
        * libc/reent/Makefile.am: Add stat64r.c support.
2120
        * libc/reent/Makefile.in: Regenerated.
2121
 
2122
2008-11-24  Joel Sherrill 
2123
 
2124
        * libc/posix/scandir.c: Fix memory leaks.
2125
 
2126
2008-11-24  Joel Sherrill 
2127
 
2128
        * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
2129
        * libc/posix/Makefile.in: Regenerated.
2130
 
2131
2008-11-24  Corinna Vinschen  
2132
 
2133
        * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
2134
        * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
2135
        * libc/stdio/findfp.c (std): Initialize _flags2.
2136
        (__sfp): Ditto.
2137
        * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
2138
        * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
2139
        * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
2140
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
2141
 
2142
2008-11-20  Ken Werner  
2143
 
2144
        * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
2145
        be in sync with current kernels.
2146
 
2147
2008-11-20  Ken Werner  
2148
            Patrick Mansfield  
2149
            Joel Schopp   
2150
 
2151
        * libc/machine/spu/configure.in: Add __ea detection.
2152
        * libc/machine/spu/Makefile.am: Add new files.
2153
        * libc/machine/spu/include/ea.h: New file.
2154
        * libc/machine/spu/ea_internal.h: Likewise.
2155
        * libc/machine/spu/sys/mman.h: Likewise.
2156
        * libc/machine/spu/mmap_ea.c: Likewise.
2157
        * libc/machine/spu/munmap_ea.c: Likewise.
2158
        * libc/machine/spu/mremap_ea.c: Likewise.
2159
        * libc/machine/spu/msync_ea.c: Likewise.
2160
        * libc/machine/spu/memchr_ea.c: Likewise.
2161
        * libc/machine/spu/memcmp_ea.c: Likewise.
2162
        * libc/machine/spu/memcpy_ea.c: Likewise.
2163
        * libc/machine/spu/memmove_ea.c: Likewise.
2164
        * libc/machine/spu/memset_ea.c: Likewise.
2165
        * libc/machine/spu/malloc_ea.c: Likewise.
2166
        * libc/machine/spu/realloc_ea.c: Likewise.
2167
        * libc/machine/spu/calloc_ea.c: Likewise.
2168
        * libc/machine/spu/free_ea.c: Likewise.
2169
        * libc/machine/spu/posix_memalign_ea.c: Likewise.
2170
        * libc/machine/spu/strcat_ea.c: Likewise.
2171
        * libc/machine/spu/strchr_ea.c: Likewise.
2172
        * libc/machine/spu/strcmp_ea.c: Likewise.
2173
        * libc/machine/spu/strcpy_ea.c: Likewise.
2174
        * libc/machine/spu/strcspn_ea.c: Likewise.
2175
        * libc/machine/spu/strlen_ea.c: Likewise.
2176
        * libc/machine/spu/strncat_ea.c: Likewise.
2177
        * libc/machine/spu/strncmp_ea.c: Likewise.
2178
        * libc/machine/spu/strncpy_ea.c: Likewise.
2179
        * libc/machine/spu/strpbrk_ea.c: Likewise.
2180
        * libc/machine/spu/strrchr_ea.c: Likewise.
2181
        * libc/machine/spu/strspn_ea.c: Likewise.
2182
        * libc/machine/spu/strstr_ea.c: Likewise.
2183
        * libc/machine/spu/read_ea.c: Likewise.
2184
        * libc/machine/spu/pread_ea.c: Likewise.
2185
        * libc/machine/spu/readv_ea.c: Likewise.
2186
        * libc/machine/spu/write_ea.c: Likewise.
2187
        * libc/machine/spu/pwrite_ea.c: Likewise.
2188
        * libc/machine/spu/writev_ea.c: Likewise.
2189
 
2190
2008-11-19  Joel Sherrill 
2191
 
2192
        * libc/include/sys/config.h[__mips__]: Don't bother
2193
        setting __ATTRIBUTE_IMPURE_PTR__ here.
2194
        [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
2195
        macro anymore.
2196
 
2197
2008-11-19  Jeff Johnston  
2198
 
2199
        * libc/sys/linux/bits/dirent.h: New header file.
2200
        * libc/sys/linux/sys/dirent.h: Include  instead of
2201
        .
2202
        * libc/posix/Makefile.am: Remove reallocf.
2203
        * libc/posix/Makefile.in: Regenerated.
2204
        * libc/posix/reallocf.c: Moved to...
2205
        * libc/stdlib/reallocf.c: Here
2206
        * libc/stdlib/malloc.c: Add reallocf documentation.
2207
        * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
2208
        * libc/stdlib/Makefile.am: Add reallocf.
2209
        * libc/stdlib/Makefile.in: Regenerated.
2210
        * libc/posix/_isatty.c: Set errno.
2211
 
2212
2008-11-19  Craig Howland  
2213
 
2214
        * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
2215
        strdup() and strlen() calls, also getting rid of a compiler warning.
2216
 
2217
2008-11-19  Ralf Corsepius 
2218
 
2219
        * libc/include/sys/config.h: Don't put
2220
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
2221
 
2222
2008-11-19  Ralf Corsepius  
2223
 
2224
        * libc/posix/runetype.h: Add include of stddef.h and remove
2225
        defining standard types: size_t and wchar_t.
2226
 
2227
2008-11-19  Ralf Corsepius  
2228
 
2229
        * libc/include/pthread.h: Remove prototypes for
2230
        pthread_attr_getcputime and pthread_attr_setcputime which
2231
        were proposed but never approved by the POSIX standard.
2232
 
2233
2008-11-18  Joel Sherrill 
2234
 
2235
        * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
2236
 
2237
2008-11-18  Jeff Johnston  
2238
 
2239
        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
2240
        ignored if desired by a platform.
2241
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
2242
        * libc/unix/getcwd.c: Ditto.
2243
        * libc/unix/getlogin.c: Ditto.
2244
        * libc/unix/getpass.c: Ditto.
2245
        * libc/unix/getpwent.c: Ditto.
2246
        * libc/unix/getut.c: Ditto.
2247
        * libc/unix/pread.c: Ditto.
2248
        * libc/unix/pwrite.c: Ditto.
2249
        * libc/unix/sigset.c: Ditto.
2250
 
2251
2008-11-18  Craig Howland  
2252
 
2253
        * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
2254
        ttyname_r.
2255
 
2256
2008-11-17  Joel Sherrill 
2257
 
2258
        * configure.host: RTEMS now uses posix subdirectory.
2259
 
2260
2008-11-17  Joel Sherrill 
2261
 
2262
        * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
2263
        * sys/rtems/sys/param.h: sys/rtprio.h not needed.
2264
 
2265
2008-10-31  Jeff Johnston  
2266
 
2267
        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
2268
        libhover docs generate properly.
2269
        * libc/stdio/dprintf.c: Ditto.
2270
        * libc/stdio/fflush.c: Ditto.
2271
        * libc/stdio/fopencookie.c: Ditto.
2272
        * libc/stdio/fread.c: Ditto.
2273
        * libc/stdio/fsetpos.c: Ditto.
2274
        * libc/stdio/getc_u.c: Ditto.
2275
        * libc/stdio/getchar_u.c: Ditto.
2276
        * libc/stdio/putc_u.c: Ditto.
2277
        * libc/stdio/putchar_u.c: Ditto.
2278
        * libc/stdio/remove.c: Ditto.
2279
        * libc/stdio/siprintf.c: Ditto.
2280
        * libc/stdio/siscanf.c: Ditto.
2281
        * libc/stdio/sprintf.c: Ditto.
2282
        * libc/stdio/sscanf.c: Ditto.
2283
        * libc/stdio/vfprintf.c: Ditto.
2284
        * libc/stdio/vfscanf.c: Ditto.
2285
        * libc/stdio/viprintf.c: Ditto.
2286
        * libc/stdio/viscanf.c: Ditto.
2287
        * libc/stdlib/calloc.c: Ditto.
2288
        * libc/stdlib/efgcvt.c: Ditto.
2289
        * libc/stdlib/envlock.c: Ditto.
2290
        * libc/time/asctime.c: Ditto.
2291
        * libc/time/ctime.c: Ditto.
2292
        * libc/time/gmtime.c: Ditto.
2293
        * libc/time/lcltime.c: Ditto.
2294
        * libc/time/tzset.c: Ditto.
2295
        * libc/stdlib/envlock.h: Moved to libc/include.
2296
 
2297
2008-10-31  Jeff Johnston  
2298
 
2299
        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
2300
        * libc/include/envlock.h: New file.
2301
        * libc/include/fnmatch.h: Ditto.
2302
        * libc/include/glob.h: Ditto.
2303
        * libc/include/regex.h: Ditto.
2304
        * libc/include/wordexp.h: Ditto.
2305
        * libc/posix/Makefile.am: Add new files moved from
2306
        libc/sys/linux/stdlib.
2307
        * libc/posix/Makefile.in: Regenerated.
2308
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
2309
        * libc/posix/cclass.h: Ditto.
2310
        * libc/posix/cname.h: Ditto.
2311
        * libc/posix/collate.c: Ditto.
2312
        * libc/posix/collate.h: Ditto.
2313
        * libc/posix/collcmp.c: Ditto.
2314
        * libc/posix/engine.c: Ditto.
2315
        * libc/posix/fnmatch.3: Ditto.
2316
        * libc/posix/glob.3: Ditto.
2317
        * libc/posix/fnmatch.c: Ditto.
2318
        * libc/posix/glob.c: Ditto.
2319
        * libc/posix/namespace.h: Ditto.
2320
        * libc/posix/reallocf.c: Ditto.
2321
        * libc/posix/regcomp.c: Ditto.
2322
        * libc/posix/regerror.c: Ditto.
2323
        * libc/posix/regex.3: Ditto.
2324
        * libc/posix/regex2.h: Ditto.
2325
        * libc/posix/regexec.c: Ditto.
2326
        * libc/posix/regfree.c: Ditto.
2327
        * libc/posix/rune.h: Ditto.
2328
        * libc/posix/runetype.h: Ditto.
2329
        * libc/posix/scandir.c: Remove advertising clause which is not in
2330
        effect.
2331
        * libc/posix/sysexits.h: Ditto.
2332
        * libc/posix/un-namespace.h: Ditto.
2333
        * libc/posix/utils.h: Ditto.
2334
        * libc/posix/wordexp.c: Ditto.
2335
        * libc/posix/wordfree.c: Ditto.
2336
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
2337
        * libc/posix/execle.c: Ditto.
2338
        * libc/posix/execlp.c: Ditto.
2339
        * libc/posix/execv.c: Ditto.
2340
        * libc/posix/execve.c: Ditto.
2341
        * libc/posix/execvp.c: Ditto.
2342
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
2343
        * libc/sys/linux/configure: Regenerated.
2344
        * libc/sys/linux/configure.in: Remove stdlib.
2345
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
2346
        * libc/sys/linux/stdlib/Makefile.am: Removed.
2347
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
2348
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
2349
        * libc/sys/linux/stdlib/cclass.h: Ditto.
2350
        * libc/sys/linux/stdlib/cname.h: Ditto.
2351
        * libc/sys/linux/stdlib/collate.c: Ditto.
2352
        * libc/sys/linux/stdlib/collate.h: Ditto.
2353
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
2354
        * libc/sys/linux/stdlib/engine.c: Ditto.
2355
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
2356
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
2357
        * libc/sys/linux/stdlib/glob.3: Ditto.
2358
        * libc/sys/linux/stdlib/glob.c: Ditto.
2359
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
2360
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
2361
        * libc/sys/linux/stdlib/regerror.c: Ditto.
2362
        * libc/sys/linux/stdlib/regex.3: Ditto.
2363
        * libc/sys/linux/stdlib/regex2.h: Ditto.
2364
        * libc/sys/linux/stdlib/regexec.c: Ditto.
2365
        * libc/sys/linux/stdlib/regfree.c: Ditto.
2366
        * libc/sys/linux/stdlib/utils.h: Ditto.
2367
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
2368
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
2369
 
2370
2008-10-16  Joel Sherrill 
2371
 
2372
        * libc/include/sys/unistd.h: RTEMS follows standard for sync().
2373
 
2374
2008-10-16  Joel Sherrill 
2375
 
2376
        * libc/include/time.h: Add CLOCK_MONOTONIC.
2377
        * libc/include/sys/features.h: Define
2378
        _POSIX_MONOTONIC_CLOCK for RTEMS.
2379
 
2380
2008-10-15  Jeff Johnston  
2381
 
2382
        * newlib.hin: Restore to previous 1.14 version which has no
2383
        PACKAGE_ macros.
2384
 
2385
2008-10-15  Joel Sherrill 
2386
 
2387
        * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
2388
 
2389
2008-10-15  Craig Howland  
2390
 
2391
        * libc/include/ctype.h (isblank):  isblank is C99.
2392
        * libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
2393
        have a macro version (as was claimed in the description).
2394
 
2395
2008-10-15  Jeff Johnston  
2396
 
2397
        * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
2398
        %S conversions when the EL/IX level is 1.
2399
 
2400
2008-10-06  Eric Blake  
2401
 
2402
        * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
2403
        is 0.5 or 0.75.
2404
 
2405
2008-10-06  Craig Howland  
2406
 
2407
        * libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
2408
        2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
2409
 
2410
2008-10-02  Jeff Johnston  
2411
 
2412
        * libc/string/str-two-way.h (critical_factorization): Cast the index
2413
        operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
2414
 
2415
2008-10-02  Jeff Johnston  
2416
 
2417
        * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
2418
        be size of size_t, not int.
2419
        (SIZE_MIN): Remove.
2420
        * libc/sys/linux/sys/stdint.h: Ditto.
2421
 
2422
2008-10-02  Jeff Johnston  
2423
 
2424
        * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
2425
        initialization of _rand_next to 1.
2426
 
2427
2008-09-29  Peter O'Gorman  
2428
            Steve Ellcey  
2429
 
2430
        * configure: Regenerate for new libtool.
2431
        * aclocal.m4: Ditto.
2432
        * Makefile.in: Ditto.
2433
        * newlib.hin: Ditto.
2434
        * doc/Makefile.in: Ditto.
2435
        * doc/configure: Ditto.
2436
        * iconvdata/Makefile.in: Ditto.
2437
        * iconvdata/aclocal.m4: Ditto.
2438
        * iconvdata/configure: Ditto.
2439
        * libc/Makefile.in: Ditto.
2440
        * libc/aclocal.m4: Ditto.
2441
        * libc/configure: Ditto.
2442
        * libc/argz/Makefile.in: Ditto.
2443
        * libc/ctype/Makefile.in: Ditto.
2444
        * libc/errno/Makefile.in: Ditto.
2445
        * libc/iconv/Makefile.in: Ditto.
2446
        * libc/iconv/ccs/Makefile.in: Ditto.
2447
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
2448
        * libc/iconv/ces/Makefile.in: Ditto.
2449
        * libc/iconv/lib/Makefile.in: Ditto.
2450
        * libc/locale/Makefile.in: Ditto.
2451
        * libc/machine/Makefile.in: Ditto.
2452
        * libc/machine/aclocal.m4: Ditto.
2453
        * libc/machine/configure: Ditto.
2454
        * libc/machine/a29k/Makefile.in: Ditto.
2455
        * libc/machine/a29k/configure: Ditto.
2456
        * libc/machine/arm/Makefile.in: Ditto.
2457
        * libc/machine/arm/configure: Ditto.
2458
        * libc/machine/bfin/Makefile.in: Ditto.
2459
        * libc/machine/bfin/configure: Ditto.
2460
        * libc/machine/cris/Makefile.in: Ditto.
2461
        * libc/machine/cris/configure: Ditto.
2462
        * libc/machine/crx/Makefile.in: Ditto.
2463
        * libc/machine/crx/configure: Ditto.
2464
        * libc/machine/d10v/Makefile.in: Ditto.
2465
        * libc/machine/d10v/configure: Ditto.
2466
        * libc/machine/d30v/Makefile.in: Ditto.
2467
        * libc/machine/d30v/configure: Ditto.
2468
        * libc/machine/fr30/Makefile.in: Ditto.
2469
        * libc/machine/fr30/configure: Ditto.
2470
        * libc/machine/frv/Makefile.in: Ditto.
2471
        * libc/machine/frv/configure: Ditto.
2472
        * libc/machine/h8300/Makefile.in: Ditto.
2473
        * libc/machine/h8300/configure: Ditto.
2474
        * libc/machine/h8500/Makefile.in: Ditto.
2475
        * libc/machine/h8500/configure: Ditto.
2476
        * libc/machine/hppa/Makefile.in: Ditto.
2477
        * libc/machine/hppa/configure: Ditto.
2478
        * libc/machine/i386/Makefile.in: Ditto.
2479
        * libc/machine/i386/aclocal.m4: Ditto.
2480
        * libc/machine/i386/configure: Ditto.
2481
        * libc/machine/i960/Makefile.in: Ditto.
2482
        * libc/machine/i960/configure: Ditto.
2483
        * libc/machine/iq2000/Makefile.in: Ditto.
2484
        * libc/machine/iq2000/configure: Ditto.
2485
        * libc/machine/m32c/Makefile.in: Ditto.
2486
        * libc/machine/m32c/configure: Ditto.
2487
        * libc/machine/m32r/Makefile.in: Ditto.
2488
        * libc/machine/m32r/configure: Ditto.
2489
        * libc/machine/m68hc11/Makefile.in: Ditto.
2490
        * libc/machine/m68hc11/configure: Ditto.
2491
        * libc/machine/m68k/Makefile.in: Ditto.
2492
        * libc/machine/m68k/configure: Ditto.
2493
        * libc/machine/m88k/Makefile.in: Ditto.
2494
        * libc/machine/m88k/configure: Ditto.
2495
        * libc/machine/mep/Makefile.in: Ditto.
2496
        * libc/machine/mep/configure: Ditto.
2497
        * libc/machine/mips/Makefile.in: Ditto.
2498
        * libc/machine/mips/configure: Ditto.
2499
        * libc/machine/mn10200/Makefile.in: Ditto.
2500
        * libc/machine/mn10200/configure: Ditto.
2501
        * libc/machine/mn10300/Makefile.in: Ditto.
2502
        * libc/machine/mn10300/configure: Ditto.
2503
        * libc/machine/mt/Makefile.in: Ditto.
2504
        * libc/machine/mt/configure: Ditto.
2505
        * libc/machine/necv70/Makefile.in: Ditto.
2506
        * libc/machine/necv70/configure: Ditto.
2507
        * libc/machine/powerpc/Makefile.in: Ditto.
2508
        * libc/machine/powerpc/configure: Ditto.
2509
        * libc/machine/sh/Makefile.in: Ditto.
2510
        * libc/machine/sh/configure: Ditto.
2511
        * libc/machine/sparc/Makefile.in: Ditto.
2512
        * libc/machine/sparc/configure: Ditto.
2513
        * libc/machine/spu/Makefile.in: Ditto.
2514
        * libc/machine/spu/configure: Ditto.
2515
        * libc/machine/tic4x/Makefile.in: Ditto.
2516
        * libc/machine/tic4x/configure: Ditto.
2517
        * libc/machine/tic80/Makefile.in: Ditto.
2518
        * libc/machine/tic80/configure: Ditto.
2519
        * libc/machine/v850/Makefile.in: Ditto.
2520
        * libc/machine/v850/configure: Ditto.
2521
        * libc/machine/w65/Makefile.in: Ditto.
2522
        * libc/machine/w65/configure: Ditto.
2523
        * libc/machine/x86_64/Makefile.in: Ditto.
2524
        * libc/machine/x86_64/configure: Ditto.
2525
        * libc/machine/xscale/Makefile.in: Ditto.
2526
        * libc/machine/xscale/configure: Ditto.
2527
        * libc/machine/xstormy16/Makefile.in: Ditto.
2528
        * libc/machine/xstormy16/configure: Ditto.
2529
        * libc/machine/z8k/Makefile.in: Ditto.
2530
        * libc/machine/z8k/configure: Ditto.
2531
        * libc/misc/Makefile.in: Ditto.
2532
        * libc/posix/Makefile.in: Ditto.
2533
        * libc/reent/Makefile.in: Ditto.
2534
        * libc/search/Makefile.in: Ditto.
2535
        * libc/signal/Makefile.in: Ditto.
2536
        * libc/stdio/Makefile.in: Ditto.
2537
        * libc/stdio64/Makefile.in: Ditto.
2538
        * libc/stdlib/Makefile.in: Ditto.
2539
        * libc/string/Makefile.in: Ditto.
2540
        * libc/sys/Makefile.in: Ditto.
2541
        * libc/sys/aclocal.m4: Ditto.
2542
        * libc/sys/configure: Ditto.
2543
        * libc/sys/a29khif/Makefile.in: Ditto.
2544
        * libc/sys/a29khif/configure: Ditto.
2545
        * libc/sys/arc/Makefile.in: Ditto.
2546
        * libc/sys/arc/configure: Ditto.
2547
        * libc/sys/arm/Makefile.in: Ditto.
2548
        * libc/sys/arm/configure: Ditto.
2549
        * libc/sys/d10v/Makefile.in: Ditto.
2550
        * libc/sys/d10v/configure: Ditto.
2551
        * libc/sys/decstation/Makefile.in: Ditto.
2552
        * libc/sys/decstation/configure: Ditto.
2553
        * libc/sys/h8300hms/Makefile.in: Ditto.
2554
        * libc/sys/h8300hms/configure: Ditto.
2555
        * libc/sys/h8500hms/Makefile.in: Ditto.
2556
        * libc/sys/h8500hms/configure: Ditto.
2557
        * libc/sys/linux/Makefile.in: Ditto.
2558
        * libc/sys/linux/aclocal.m4: Ditto.
2559
        * libc/sys/linux/configure: Ditto.
2560
        * libc/sys/linux/argp/Makefile.in: Ditto.
2561
        * libc/sys/linux/cmath/Makefile.in: Ditto.
2562
        * libc/sys/linux/dl/Makefile.in: Ditto.
2563
        * libc/sys/linux/iconv/Makefile.in: Ditto.
2564
        * libc/sys/linux/intl/Makefile.in: Ditto.
2565
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2566
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2567
        * libc/sys/linux/linuxthreads/configure: Ditto.
2568
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2569
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2570
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2571
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2572
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2573
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2574
        * libc/sys/linux/machine/Makefile.in: Ditto.
2575
        * libc/sys/linux/machine/aclocal.m4: Ditto.
2576
        * libc/sys/linux/machine/configure: Ditto.
2577
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2578
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2579
        * libc/sys/linux/machine/i386/configure: Ditto.
2580
        * libc/sys/linux/net/Makefile.in: Ditto.
2581
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
2582
        * libc/sys/m88kbug/Makefile.in: Ditto.
2583
        * libc/sys/m88kbug/configure: Ditto.
2584
        * libc/sys/mmixware/Makefile.in: Ditto.
2585
        * libc/sys/mmixware/configure: Ditto.
2586
        * libc/sys/netware/Makefile.in: Ditto.
2587
        * libc/sys/netware/configure: Ditto.
2588
        * libc/sys/rdos/Makefile.in: Ditto.
2589
        * libc/sys/rdos/configure: Ditto.
2590
        * libc/sys/rtems/Makefile.in: Ditto.
2591
        * libc/sys/rtems/configure: Ditto.
2592
        * libc/sys/sh/Makefile.in: Ditto.
2593
        * libc/sys/sh/configure: Ditto.
2594
        * libc/sys/sparc64/Makefile.in: Ditto.
2595
        * libc/sys/sparc64/configure: Ditto.
2596
        * libc/sys/sun4/Makefile.in: Ditto.
2597
        * libc/sys/sun4/configure: Ditto.
2598
        * libc/sys/sysmec/Makefile.in: Ditto.
2599
        * libc/sys/sysmec/configure: Ditto.
2600
        * libc/sys/sysnec810/Makefile.in: Ditto.
2601
        * libc/sys/sysnec810/configure: Ditto.
2602
        * libc/sys/sysnecv850/Makefile.in: Ditto.
2603
        * libc/sys/sysnecv850/configure: Ditto.
2604
        * libc/sys/sysvi386/Makefile.in: Ditto.
2605
        * libc/sys/sysvi386/configure: Ditto.
2606
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
2607
        * libc/sys/sysvnecv70/configure: Ditto.
2608
        * libc/sys/tic80/Makefile.in: Ditto.
2609
        * libc/sys/tic80/configure: Ditto.
2610
        * libc/sys/w65/Makefile.in: Ditto.
2611
        * libc/sys/w65/configure: Ditto.
2612
        * libc/sys/z8ksim/Makefile.in: Ditto.
2613
        * libc/sys/z8ksim/configure: Ditto.
2614
        * libc/syscalls/Makefile.in: Ditto.
2615
        * libc/time/Makefile.in: Ditto.
2616
        * libc/unix/Makefile.in: Ditto.
2617
        * libm/Makefile.in: Ditto.
2618
        * libm/aclocal.m4: Ditto.
2619
        * libm/configure: Ditto.
2620
        * libm/common/Makefile.in: Ditto.
2621
        * libm/machine/Makefile.in: Ditto.
2622
        * libm/machine/aclocal.m4: Ditto.
2623
        * libm/machine/configure: Ditto.
2624
        * libm/machine/i386/Makefile.in: Ditto.
2625
        * libm/machine/i386/aclocal.m4: Ditto.
2626
        * libm/machine/i386/configure: Ditto.
2627
        * libm/machine/spu/Makefile.in: Ditto.
2628
        * libm/machine/spu/configure: Ditto.
2629
        * libm/math/Makefile.in: Ditto.
2630
        * libm/mathfp/Makefile.in: Ditto.
2631
 
2632
2008-09-26  Craig Howland  
2633
 
2634
        * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
2635
        contains an equal sign.
2636
 
2637
2008-09-25  Raphael Derossa Pereira  
2638
 
2639
        * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
2640
        new pthread_mutexattr_gettype and pthread_mutexattr_settype
2641
        prototypes.
2642
        * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
2643
        new mutex type values.
2644
        (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
2645
        field.
2646
 
2647
2008-09-24  Jeff Johnston  
2648
 
2649
        * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
2650
        name is NULL, empty, or contains equal sign.
2651
 
2652
2008-09-24  Pawel Veselov  
2653
 
2654
        Fix setenv/getenv/unsetenv to be OpenGroup compliant:
2655
        * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
2656
        return types.
2657
        * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
2658
        names that contain equal chars.
2659
        * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
2660
        * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
2661
        EINVAL if name contains an equal sign.  Do not remove any equal signs
2662
        from the value.
2663
        (_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
2664
        if name contains equal sign.  Return -1 if no variable(s) were found
2665
        and return 0 otherwise.
2666
 
2667
2008-09-19  Eric Blake  
2668
 
2669
        Supply missing POSIX errno values.
2670
        * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
2671
        * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
2672
 
2673
2008-09-10  Ken Werner  
2674
 
2675
        * libc/machine/spu/strcpy.h: Add missing header.
2676
        * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
2677
        * libm/machine/spu/headers/lgammaf4.h: Add type cast.
2678
 
2679
2008-09-08  Jeff Johnston  
2680
 
2681
        * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
2682
        statement to use "m" instead of "0".
2683
        (atomic_add): Ditto.
2684
        * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
2685
        * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
2686
        * libc/sys/linux/stdlib/glob.c: Ditto.
2687
 
2688
2008-09-04  Ken Werner  
2689
 
2690
        * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
2691
        * libm/machine/spu/headers/acosf4.h: Likewise.
2692
        * libm/machine/spu/headers/acoshd2.h: Likewise.
2693
        * libm/machine/spu/headers/acoshf4.h: Likewise.
2694
        * libm/machine/spu/headers/asind2.h: Likewise.
2695
        * libm/machine/spu/headers/asinf4.h: Likewise.
2696
        * libm/machine/spu/headers/asinhd2.h: Likewise.
2697
        * libm/machine/spu/headers/asinhf4.h: Likewise.
2698
        * libm/machine/spu/headers/atan2d2.h: Likewise.
2699
        * libm/machine/spu/headers/atan2f4.h: Likewise.
2700
        * libm/machine/spu/headers/atand2.h: Likewise.
2701
        * libm/machine/spu/headers/atanf4.h: Likewise.
2702
        * libm/machine/spu/headers/atanhd2.h: Likewise.
2703
        * libm/machine/spu/headers/atanhf4.h: Likewise.
2704
        * libm/machine/spu/headers/cos_sin.h: Likewise.
2705
        * libm/machine/spu/headers/cosd2.h: Likewise.
2706
        * libm/machine/spu/headers/cosf4.h: Likewise.
2707
        * libm/machine/spu/headers/coshd2.h: Likewise.
2708
        * libm/machine/spu/headers/coshf4.h: Likewise.
2709
        * libm/machine/spu/headers/divd2.h: Likewise.
2710
        * libm/machine/spu/headers/divf4.h: Likewise.
2711
        * libm/machine/spu/headers/erf_utils.h: Likewise.
2712
        * libm/machine/spu/headers/erfcd2.h: Likewise.
2713
        * libm/machine/spu/headers/erfcf4.h: Likewise.
2714
        * libm/machine/spu/headers/erfd2.h: Likewise.
2715
        * libm/machine/spu/headers/erff4.h: Likewise.
2716
        * libm/machine/spu/headers/exp2d2.h: Likewise.
2717
        * libm/machine/spu/headers/exp2f4.h: Likewise.
2718
        * libm/machine/spu/headers/expd2.h: Likewise.
2719
        * libm/machine/spu/headers/expf4.h: Likewise.
2720
        * libm/machine/spu/headers/expm1d2.h: Likewise.
2721
        * libm/machine/spu/headers/expm1f4.h: Likewise.
2722
        * libm/machine/spu/headers/floord2.h: Likewise.
2723
        * libm/machine/spu/headers/floorf4.h: Likewise.
2724
        * libm/machine/spu/headers/hypotd2.h: Likewise.
2725
        * libm/machine/spu/headers/hypotf4.h: Likewise.
2726
        * libm/machine/spu/headers/isnand2.h: Likewise.
2727
        * libm/machine/spu/headers/isnanf4.h: Likewise.
2728
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
2729
        * libm/machine/spu/headers/ldexpf4.h: Likewise.
2730
        * libm/machine/spu/headers/lgammad2.h: Likewise.
2731
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
2732
        * libm/machine/spu/headers/log10d2.h: Likewise.
2733
        * libm/machine/spu/headers/log1pd2.h: Likewise.
2734
        * libm/machine/spu/headers/log1pf4.h: Likewise.
2735
        * libm/machine/spu/headers/log2d2.h: Likewise.
2736
        * libm/machine/spu/headers/log2f4.h: Likewise.
2737
        * libm/machine/spu/headers/logbf4.h: Likewise.
2738
        * libm/machine/spu/headers/logd2.h: Likewise.
2739
        * libm/machine/spu/headers/logf4.h: Likewise.
2740
        * libm/machine/spu/headers/nearbyintf4.h: Likewise.
2741
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
2742
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
2743
        * libm/machine/spu/headers/powd2.h: Likewise.
2744
        * libm/machine/spu/headers/powf4.h: Likewise.
2745
        * libm/machine/spu/headers/recipd2.h: Likewise.
2746
        * libm/machine/spu/headers/recipf4.h: Likewise.
2747
        * libm/machine/spu/headers/rintf4.h: Likewise.
2748
        * libm/machine/spu/headers/scalbnf4.h: Likewise.
2749
        * libm/machine/spu/headers/signbitd2.h: Likewise.
2750
        * libm/machine/spu/headers/sincosd2.h: Likewise.
2751
        * libm/machine/spu/headers/sincosf4.h: Likewise.
2752
        * libm/machine/spu/headers/sind2.h: Likewise.
2753
        * libm/machine/spu/headers/sinf4.h: Likewise.
2754
        * libm/machine/spu/headers/sinhd2.h: Likewise.
2755
        * libm/machine/spu/headers/sinhf4.h: Likewise.
2756
        * libm/machine/spu/headers/sqrtd2.h: Likewise.
2757
        * libm/machine/spu/headers/sqrtf4.h: Likewise.
2758
        * libm/machine/spu/headers/tand2.h: Likewise.
2759
        * libm/machine/spu/headers/tanf4.h: Likewise.
2760
        * libm/machine/spu/headers/tanhd2.h: Likewise.
2761
        * libm/machine/spu/headers/tanhf4.h: Likewise.
2762
        * libm/machine/spu/headers/tgammad2.h: Likewise.
2763
        * libm/machine/spu/headers/tgammaf4.h: Likewise.
2764
        * libm/machine/spu/headers/truncd2.h: Likewise.
2765
        * libm/machine/spu/headers/truncf4.h: Likewise.
2766
        * libm/machine/spu/headers/simdmath.h: Likewise.
2767
 
2768
2008-09-04  Ken Werner  
2769
 
2770
        * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
2771
        * libm/machine/spu/headers/asinhd2.h: Likewise.
2772
        * libm/machine/spu/headers/atanhd2.h: Likewise.
2773
        * libm/machine/spu/headers/atanhf4.h: Likewise.
2774
        * libm/machine/spu/headers/erff4.h: Likewise.
2775
        * libm/machine/spu/headers/expd2.h: Likewise.
2776
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
2777
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
2778
        * libm/machine/spu/headers/logbf4.h: Likewise.
2779
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
2780
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
2781
        * libm/machine/spu/headers/recipd2.h: Likewise.
2782
        * libm/machine/spu/headers/simdmath.h: Likewise.
2783
        * libm/machine/spu/headers/acoshd2.: Likewise.
2784
 
2785
2008-09-04  Ken Werner  
2786
 
2787
        * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
2788
        * libm/machine/spu/headers/cbrtf.h: Likewise.
2789
 
2790
2008-09-01  Ken Werner  
2791
 
2792
        * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
2793
        * libc/machine/spu/spu_timebase.c: New file.
2794
        * libc/machine/spu/Makefile.am: Add new file.
2795
        * libc/machine/spu/Makefile.in: Regenerated.
2796
 
2797
2008-08-28  Craig Howland  
2798
 
2799
        * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
2800
        any positive value from user (per std) rather than depending
2801
        upon 1).
2802
 
2803
2008-08-28  Corinna Vinschen  
2804
 
2805
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
2806
        for accepting a converted character.
2807
 
2808
2008-08-27  Sandra Loosemore  
2809
 
2810
        * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
2811
        from building pdfs.
2812
        * libm/libm.texinfo: Likewise.
2813
 
2814
2008-08-27  Corinna Vinschen  
2815
 
2816
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
2817
        accepting a converted character and continuing the loop.
2818
 
2819
2008-07-24  Jeff Johnston  
2820
 
2821
        * libc/include/ctype.h (_ctype_): Restore for C++ backward
2822
        compatability only.
2823
 
2824
2008-07-21  Jeff Johnston  
2825
 
2826
        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
2827
        less than the old __ctype_ptr.
2828
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
2829
        * libc/ctype/isalpha.c: Ditto.
2830
        * libc/ctype/iscntrl.c: Ditto.
2831
        * libc/ctype/isdigit.c: Ditto.
2832
        * libc/ctype/islower.c: Ditto.
2833
        * libc/ctype/isprint.c: Ditto.
2834
        * libc/ctype/ispunct.c: Ditto.
2835
        * libc/ctype/isspace.c: Ditto.
2836
        * libc/ctype/isupper.c: Ditto.
2837
        * libc/ctype/isxdigit.c: Ditto.
2838
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
2839
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
2840
        from here even though they can still work.
2841
 
2842
2008-07-18  Ken Werner  
2843
 
2844
        * libc/machine/spu/strcpy.h: Fix error in previous patch.
2845
 
2846
2008-07-17  Jeff Johnston  
2847
 
2848
        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
2849
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
2850
 
2851
2008-07-17  Ken Werner  
2852
 
2853
        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
2854
 
2855
2008-07-08  Kenji Tanaka  
2856
 
2857
        * libc/machine/mn10300/memset.S: Fix bug where return value is
2858
        incorrectly set if number of bytes set is a multiple of 4.
2859
 
2860
2008-07-07  Hans-Peter Nilsson  
2861
 
2862
        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
2863
        (strncpy): Cast src to uintptr_t before checking alignment with "&".
2864
 
2865
2008-07-02  Jeff Johnston  
2866
 
2867
        * libc/argz/argz_count.c: Include stddef.h to get size_t.
2868
        * libc/argz/argz_extract.c: Ditto.
2869
        * libc/argz/argz_stringify.c: Ditto.
2870
        * libc/search/hash.h: Ditto.
2871
        * libc/sys/linux/include/sched.h: Ditto.
2872
        * libc/sys/linux/sys/types.h: Ditto.
2873
 
2874
2008-07-02  Jeff Johnston  
2875
 
2876
        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
2877
        source data is taken care of before loop unrolling.
2878
 
2879
2008-06-25  Hans-Peter Nilsson  
2880
 
2881
        Fix strict-aliasing issues with _strtod_r and Storeinc.
2882
        * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
2883
        rv, rv0 from double to type U.  Use accessor macros dval, dword0
2884
        and dword1 for all accesses except for the ULtod call, where rv.i
2885
        replaces the pointer cast.
2886
        * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
2887
        of access macros.  Tweak comment.
2888
        Remove #ifdef'd YES_ALIAS code.
2889
        (dword0, dword1, dval): Define in terms of uncast union member
2890
        access.  Ditto for _DOUBLE_IS_32BITS variants.
2891
        (Storeinc): Replace aliasing-flawed microoptimized definition with
2892
        alternative suggested in comment.  Remove now stale comment.
2893
 
2894
2008-06-21  Corinna Vinschen  
2895
 
2896
        * libc/include/machine/setjmp.h (_longjmp): Define as function on
2897
        Cygwin.
2898
        (_setjmp): Ditto.
2899
 
2900
2008-06-18  Eric Blake  
2901
 
2902
        Per Posix, strsignal returns non-const char*.
2903
        * libc/include/string.h (strsignal): Fix return type.
2904
 
2905
2008-06-17  Ken Werner  
2906
 
2907
        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
2908
        support.
2909
 
2910
2008-06-16  Ken Werner  
2911
 
2912
        * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
2913
        * libc/machine/spu/sys/sched.h: Likewise.
2914
        * libc/machine/spu/sys/syscall.h: Likewise.
2915
 
2916
2008-06-16  Ken Werner  
2917
 
2918
        * libc/machine/spu/mk_syscalls: Provide .type and .size directives
2919
        in generated assembler files.
2920
        * libc/machine/spu/fprintf.S: Regenerate.
2921
        * libc/machine/spu/fscanf.S: Regenerate.
2922
        * libc/machine/spu/printf.S: Regenerate.
2923
        * libc/machine/spu/scanf.S: Regenerate.
2924
        * libc/machine/spu/snprintf.S: Regenerate.
2925
        * libc/machine/spu/sprintf.S: Regenerate.
2926
        * libc/machine/spu/sscanf.S: Regenerate.
2927
        * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
2928
        and .size directives.
2929
        * libc/machine/spu/setjmp.S (setjmp): Likewise.
2930
        (longjmp): Likewise.
2931
 
2932
2008-06-11  Jeff Johnston  
2933
 
2934
        * libc/include/machine/_default_types.h: Fix GNUC check to
2935
        handle 4.0 and greater.
2936
 
2937
2008-06-09  Ken Werner  
2938
 
2939
        * libc/machine/spu/Makefile.am: Add new files.
2940
        * libc/machine/spu/Makefile.in: Likewise.
2941
        * libc/machine/spu/include/spu_timer.h: New file to add timer support
2942
        using interrupts.
2943
        * libc/machine/spu/spu_clock_stop.c: Likewise.
2944
        * libc/machine/spu/spu_clock_svcs.c: Likewise.
2945
        * libc/machine/spu/spu_timer_flih.S: Likewise.
2946
        * libc/machine/spu/spu_timer_free.c: Likewise.
2947
        * libc/machine/spu/spu_timer_internal.h: Likewise.
2948
        * libc/machine/spu/spu_timer_slih.c: Likewise.
2949
        * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
2950
        * libc/machine/spu/spu_timer_stop.c: Likewise.
2951
        * libc/machine/spu/spu_timer_svcs.c: Likewise.
2952
 
2953
2008-06-09  Ken Werner  
2954
 
2955
        * libc/machine/spu/strcat.c: Return value fixed.
2956
        * libc/machine/spu/strncat.c: Likewise.
2957
 
2958
2008-05-28  Eric Blake  
2959
 
2960
        Fix bug in previous patch.
2961
        * libc/machine/i386/memset.S (memset): Mask second arg correctly.
2962
 
2963
2008-05-27  Jeff Johnston  
2964
 
2965
        * libc/string/memset.c: Fix documented prototype to remove
2966
        erroneous const attribute on first parameter.
2967
 
2968
2008-05-26  Eric Blake  
2969
 
2970
        Optimize the generic and x86 memchr.
2971
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
2972
        Pre-align pointer so unaligned searches aren't penalized.
2973
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
2974
        operations are faster than repnz byte searches.
2975
 
2976
2008-05-26  Eric Blake  
2977
 
2978
        Optimize the generic and x86 memset.
2979
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
2980
        Pre-align pointer so unaligned stores aren't penalized.
2981
        * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
2982
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
2983
        8-byte over 4-byte alignment.  Reduce register pressure.
2984
 
2985
2008-05-26  Eric Blake  
2986
 
2987
        Optimize the generic and x86 strlen.
2988
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
2989
        data so unaligned searches aren't penalized.
2990
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
2991
        Word operations are faster than repnz byte searches.
2992
 
2993
2008-05-23  Corinna Vinschen  
2994
 
2995
        * libc/include/sys/_default_fcntl.h: Include  on Cygwin.
2996
 
2997
2008-05-22  Jeff Johnston  
2998
 
2999
        * libc/include/sys/reent.h: Add _h_errno field.
3000
        * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
3001
        now used in net directory.
3002
        * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
3003
        * libc/sys/linux/include/hesiod.h: Add needed macros for new code
3004
        in net directory.
3005
        * libc/sys/linux/include/netdb.h: Ditto.
3006
        * libc/sys/linux/include/resolv.h: Ditto.
3007
        * libc/sys/linux/include/stdint.h: Ditto.
3008
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
3009
        * libc/sys/linux/include/net/ethernet.h: Ditto.
3010
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
3011
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3012
        * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
3013
        * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
3014
        flags to avoid duplicate definition.
3015
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
3016
        * libc/sys/linux/net/Makefile.am: Modified to account for removed and
3017
        added files.
3018
        * libc/sys/linux/net/Makefile.in: Regenerated.
3019
        * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
3020
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
3021
        * libc/sys/linux/net/getnameinfo.c: Ditto.
3022
        * libc/sys/linux/net/getproto.c: Ditto.
3023
        * libc/sys/linux/net/getservent.c: Ditto.
3024
        * libc/sys/linux/net/inet_netof.c: Ditto.
3025
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
3026
        * libc/sys/linux/net/ns_name.c: Ditto.
3027
        * libc/sys/linux/net/ns_netint.c: Ditto.
3028
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
3029
        * libc/sys/linux/net/ns_parse.c: Ditto.
3030
        * libc/sys/linux/net/ns_print.c: Ditto.
3031
        * libc/sys/linux/net/ns_ttl.c: Ditto.
3032
        * libc/sys/linux/net/nsap_addr.c: Ditto.
3033
        * libc/sys/linux/net/rcmd.c: Ditto.
3034
        * libc/sys/linux/net/res_comp.c: Ditto.
3035
        * libc/sys/linux/net/res_data.c: Ditto.
3036
        * libc/sys/linux/net/res_debug.c: Ditto.
3037
        * libc/sys/linux/net/res_init.c: Ditto.
3038
        * libc/sys/linux/net/res_mkquery.c: Ditto.
3039
        * libc/sys/linux/net/res_query.c: Ditto.
3040
        * libc/sys/linux/net/res_send.c: Ditto.
3041
        * libc/sys/linux/net/send.c: Ditto.
3042
        * libc/sys/linux/stdlib/collate.c: Ditto.
3043
        * libc/sys/linux/sys/ioctl.h: Ditto.
3044
        * libc/sys/linux/sys/socket.h: Ditto.
3045
        * libc/sys/linux/sys/unistd.h: Ditto.
3046
        * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
3047
        used or because licensing includes advertising clause that cannot be
3048
        ignored.
3049
        * libc/sys/linux/iconv/strtab.c: Ditto.
3050
        * libc/sys/linux/include/libc_private.h: Ditto.
3051
        * libc/sys/linux/include/nsswitch.h: Ditto.
3052
        * libc/sys/linux/include/net/if_atm.h: Ditto.
3053
        * libc/sys/linux/include/net/if_media.h: Ditto.
3054
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3055
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3056
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3057
        * libc/sys/linux/intl/locale.alias: Ditto.
3058
        * libc/sys/linux/net/addr2ascii.3: Ditto.
3059
        * libc/sys/linux/net/bindresvport.c: Ditto.
3060
        * libc/sys/linux/net/byteorder.3: Ditto.
3061
        * libc/sys/linux/net/res_config.h: Ditto.
3062
        * libc/sys/linux/net/ether_addr.c: Ditto.
3063
        * libc/sys/linux/net/ethers.3: Ditto.
3064
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
3065
        * libc/sys/linux/net/gethostbydns.c: Ditto.
3066
        * libc/sys/linux/net/gethostbyht.c: Ditto.
3067
        * libc/sys/linux/net/gethostbyname.3: Ditto.
3068
        * libc/sys/linux/net/gethostbynis.c: Ditto.
3069
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
3070
        * libc/sys/linux/net/getifaddrs.3: Ditto.
3071
        * libc/sys/linux/net/getifaddrs.c: Ditto.
3072
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
3073
        * libc/sys/linux/net/getnameinfo.3: Ditto.
3074
        * libc/sys/linux/net/getnetbydns.c: Ditto.
3075
        * libc/sys/linux/net/getnetbyht.c: Ditto.
3076
        * libc/sys/linux/net/getnetbynis.c: Ditto.
3077
        * libc/sys/linux/net/getnetent.3: Ditto.
3078
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
3079
        * libc/sys/linux/net/getprotoent.3: Ditto.
3080
        * libc/sys/linux/net/getprotoent.c: Ditto.
3081
        * libc/sys/linux/net/getprotoname.c: Ditto.
3082
        * libc/sys/linux/net/getservbyname.c: Ditto.
3083
        * libc/sys/linux/net/getservbyport.c: Ditto.
3084
        * libc/sys/linux/net/getservent.3: Ditto.
3085
        * libc/sys/linux/net/herror.c: Ditto.
3086
        * libc/sys/linux/net/hesiod.3: Ditto.
3087
        * libc/sys/linux/net/hesiod.c: Ditto.
3088
        * libc/sys/linux/net/if_indextoname.3: Ditto.
3089
        * libc/sys/linux/net/inet.3: Ditto.
3090
        * libc/sys/linux/net/inet6_option_space.3: Ditto.
3091
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3092
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3093
        * libc/sys/linux/net/inet_net.3: Ditto.
3094
        * libc/sys/linux/net/inet_network.c: Ditto.
3095
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
3096
        * libc/sys/linux/net/ip6opt.c: Ditto.
3097
        * libc/sys/linux/net/iso_addr.3: Ditto.
3098
        * libc/sys/linux/net/iso_addr.c: Ditto.
3099
        * libc/sys/linux/net/linkaddr.3: Ditto.
3100
        * libc/sys/linux/net/linkaddr.c: Ditto.
3101
        * libc/sys/linux/net/map_v4v6.c: Ditto.
3102
        * libc/sys/linux/net/name6.c: Ditto.
3103
        * libc/sys/linux/net/namespace.h: Ditto.
3104
        * libc/sys/linux/net/ns.3: Ditto.
3105
        * libc/sys/linux/net/ns_addr.c: Ditto.
3106
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
3107
        * libc/sys/linux/net/nsdispatch.3: Ditto.
3108
        * libc/sys/linux/net/nsdispatch.c: Ditto.
3109
        * libc/sys/linux/net/nslexer.c: Ditto.
3110
        * libc/sys/linux/net/nslexer.l: Ditto.
3111
        * libc/sys/linux/net/nsparser.c: Ditto.
3112
        * libc/sys/linux/net/nsparser.h: Ditto.
3113
        * libc/sys/linux/net/nsparser.y: Ditto.
3114
        * libc/sys/linux/net/rcmd.3: Ditto.
3115
        * libc/sys/linux/net/rcmdsh.3: Ditto.
3116
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
3117
        * libc/sys/linux/net/res_update.c: Ditto.
3118
        * libc/sys/linux/net/resolver.3: Ditto.
3119
        * libc/sys/linux/net/rthdr.c: Ditto.
3120
        * libc/sys/linux/net/vars.c: Ditto.
3121
        * libc/sys/linux/shlib-compat.h: New file.
3122
        * libc/sys/linux/machine/i386/atomic.h: Ditto.
3123
        * libc/sys/linux/net/XXX-lookup.c: Ditto.
3124
        * libc/sys/linux/net/alias-lookup.c: Ditto.
3125
        * libc/sys/linux/net/res_libc.c: Ditto.
3126
        * libc/sys/linux/net/aliases.h: Ditto.
3127
        * libc/sys/linux/net/check_pf.c: Ditto.
3128
        * libc/sys/linux/net/databases.def: Ditto.
3129
        * libc/sys/linux/net/digits_dots.c: Ditto.
3130
        * libc/sys/linux/net/ether_aton.c: Ditto.
3131
        * libc/sys/linux/net/ether_aton_r.c: Ditto.
3132
        * libc/sys/linux/net/ether_hton.c: Ditto.
3133
        * libc/sys/linux/net/ether_line.c: Ditto.
3134
        * libc/sys/linux/net/ether_ntoa.c: Ditto.
3135
        * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
3136
        * libc/sys/linux/net/ether_ntoh.c: Ditto.
3137
        * libc/sys/linux/net/etherent.h: Ditto.
3138
        * libc/sys/linux/net/ethers-lookup.c: Ditto.
3139
        * libc/sys/linux/net/function.def: Ditto.
3140
        * libc/sys/linux/net/getXXbyYY.c: Ditto.
3141
        * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
3142
        * libc/sys/linux/net/getXXent.c: Ditto.
3143
        * libc/sys/linux/net/getXXent_r.c: Ditto.
3144
        * libc/sys/linux/net/getaliasent.c: Ditto.
3145
        * libc/sys/linux/net/getaliasent_r.c: Ditto.
3146
        * libc/sys/linux/net/getaliasname.c: Ditto.
3147
        * libc/sys/linux/net/getaliasname_r.c: Ditto.
3148
        * libc/sys/linux/net/gethstbyad.c: Ditto.
3149
        * libc/sys/linux/net/gethstbyad_r.c: Ditto.
3150
        * libc/sys/linux/net/gethstbynm.c: Ditto.
3151
        * libc/sys/linux/net/gethstbynm2.c: Ditto.
3152
        * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
3153
        * libc/sys/linux/net/gethstbynm_r.c: Ditto.
3154
        * libc/sys/linux/net/gethstent.c: Ditto.
3155
        * libc/sys/linux/net/gethstent_r.c: Ditto.
3156
        * libc/sys/linux/net/getnetbyad.c: Ditto.
3157
        * libc/sys/linux/net/getnetbyad_r.c: Ditto.
3158
        * libc/sys/linux/net/getnetbynm.c: Ditto.
3159
        * libc/sys/linux/net/getnetbynm_r.c: Ditto.
3160
        * libc/sys/linux/net/getnetent.c: Ditto.
3161
        * libc/sys/linux/net/getnetent_r.c: Ditto.
3162
        * libc/sys/linux/net/getnetgrent.c: Ditto.
3163
        * libc/sys/linux/net/getnetgrent_r.c: Ditto.
3164
        * libc/sys/linux/net/getnssent.c: Ditto.
3165
        * libc/sys/linux/net/getnssent_r.c: Ditto.
3166
        * libc/sys/linux/net/getproto_r.c: Ditto.
3167
        * libc/sys/linux/net/getprtent.c: Ditto.
3168
        * libc/sys/linux/net/getprtent_r.c: Ditto.
3169
        * libc/sys/linux/net/getprtname.c: Ditto.
3170
        * libc/sys/linux/net/getprtname_r.c: Ditto.
3171
        * libc/sys/linux/net/getrpcbyname.c: Ditto.
3172
        * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
3173
        * libc/sys/linux/net/getrpcbynumber.c: Ditto.
3174
        * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
3175
        * libc/sys/linux/net/getrpcent.c: Ditto.
3176
        * libc/sys/linux/net/getrpcent_r.c: Ditto.
3177
        * libc/sys/linux/net/getservent_r.c: Ditto.
3178
        * libc/sys/linux/net/getsrvbynm.c: Ditto.
3179
        * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
3180
        * libc/sys/linux/net/getsrvbypt.c: Ditto.
3181
        * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
3182
        * libc/sys/linux/net/grp-lookup.c: Ditto.
3183
        * libc/sys/linux/net/herrno.c: Ditto.
3184
        * libc/sys/linux/net/hosts-lookup.c: Ditto.
3185
        * libc/sys/linux/net/ifaddrs.h: Ditto.
3186
        * libc/sys/linux/net/ifreq.c: Ditto.
3187
        * libc/sys/linux/net/ifreq.h: Ditto.
3188
        * libc/sys/linux/net/in6_addr.c: Ditto.
3189
        * libc/sys/linux/net/inet6_option.c: Ditto.
3190
        * libc/sys/linux/net/inet_mkadr.c: Ditto.
3191
        * libc/sys/linux/net/inet_net.c: Ditto.
3192
        * libc/sys/linux/net/key-lookup.c: Ditto.
3193
        * libc/sys/linux/net/local.h: Ditto.
3194
        * libc/sys/linux/net/netgroup.h: Ditto.
3195
        * libc/sys/linux/net/netgrp-lookup.c: Ditto.
3196
        * libc/sys/linux/net/network-lookup.c: Ditto.
3197
        * libc/sys/linux/net/not-cancel.h: Ditto.
3198
        * libc/sys/linux/net/ns_samedomain.c: Ditto.
3199
        * libc/sys/linux/net/nscd-types.h: Ditto.
3200
        * libc/sys/linux/net/nss.h: Ditto.
3201
        * libc/sys/linux/net/nsswitch.c: Ditto.
3202
        * libc/sys/linux/net/nsswitch.h: Ditto.
3203
        * libc/sys/linux/net/opensock.c: Ditto.
3204
        * libc/sys/linux/net/proto-lookup.c: Ditto.
3205
        * libc/sys/linux/net/pwd-lookup.c: Ditto.
3206
        * libc/sys/linux/net/res_debug.h: Ditto.
3207
        * libc/sys/linux/net/res_hconf.c: Ditto.
3208
        * libc/sys/linux/net/res_hconf.h: Ditto.
3209
        * libc/sys/linux/net/rexec.c: Ditto.
3210
        * libc/sys/linux/net/rpc-lookup.c: Ditto.
3211
        * libc/sys/linux/net/ruserpass.c: Ditto.
3212
        * libc/sys/linux/net/service-lookup.c: Ditto.
3213
        * libc/sys/linux/net/spwd-lookup.c: Ditto.
3214
        * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
3215
        * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
3216
 
3217
2008-05-21  Eric Blake  
3218
 
3219
        Optimize the generic strchr.
3220
        * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
3221
        data so unaligned searches aren't penalized.  Special-case
3222
        searching for 0.
3223
 
3224
        Optimize strchr for x86.
3225
        * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
3226
        Pre-align data so unaligned searches aren't penalized.
3227
        Special-case searching for 0.
3228
 
3229
2008-05-20  Nick Clifton  
3230
 
3231
        * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
3232
 
3233
2008-05-20  DJ Delorie  
3234
 
3235
        * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
3236
 
3237
2008-05-14  Jeff Johnston  
3238
 
3239
        * libc/include/sys/reent.h: Change _REENT_INIT... macros to
3240
        access macro parameter with parentheses around it.
3241
 
3242
2008-04-26  Mark Mitchell  
3243
 
3244
        * libc/include/stdint.h (SIZE_MIN): Remove.
3245
        (SIZE_MAX): Define.
3246
        * testsuite/newlib.stdlib/stdlib.exp: New.
3247
        * testsuite/newlib.stdlib/size_max.c: Likewise.
3248
 
3249
2008-04-29  Eric Blake  
3250
 
3251
        Fix 2008-04-14 regression in asprintf(ptr,"").
3252
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
3253
        baggage.
3254
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
3255
        * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
3256
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
3257
        * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
3258
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
3259
        an initial buffer for asprintf.
3260
 
3261
2008-04-24  Corinna Vinschen  
3262
 
3263
        * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
3264
        (fstatat): Fix type of third parameter.
3265
 
3266
2008-04-25  Nick Clifton  
3267
 
3268
        * libc/machine/arm/setjmp.S: Fix thumb2 support.
3269
 
3270
2008-04-24  Nick Clifton  
3271
 
3272
        * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
3273
        should be _DOUBLE_IS_32BITS.
3274
 
3275
2008-04-24  Corinna Vinschen  
3276
 
3277
        * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
3278
        (UTIME_OMIT): Ditto.
3279
        (utimensat): Declare for Cygwin.
3280
        (futimens): Ditto.
3281
 
3282
2008-04-23  Ken Werner  
3283
 
3284
        * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
3285
        * libc/include/math.h: Likewise.
3286
 
3287
2008-04-23  Corinna Vinschen  
3288
 
3289
        * libc/include/stdio.h (renameat): Declare for Cygwin.
3290
        (symlinkat): Ditto.
3291
        * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
3292
        (faccessat): Declare for Cygwin.
3293
        (fchownat): Ditto.
3294
        (linkat): Ditto.
3295
        (readlinkat): Ditto.
3296
        * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
3297
        (AT_EACCESS): Ditto.
3298
        (AT_SYMLINK_NOFOLLOW): Ditto.
3299
        (AT_SYMLINK_FOLLOW): Ditto.
3300
        (AT_REMOVEDIR): Ditto.
3301
        (futimesat): Declare for Cygwin.
3302
        (openat): Ditto.
3303
        (unlinkat): Ditto.
3304
        * libc/include/sys/stat.h (fchmodat): Ditto.
3305
        (fstatat): Ditto.
3306
        (mkdirat): Ditto.
3307
        (mkfifoat): Ditto.
3308
        (mknodat): Ditto.
3309
 
3310
2008-04-22  Nick Clifton  
3311
 
3312
        * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
3313
        register load/store instructions.
3314
 
3315
2008-04-16  Patrick Mansfield  
3316
 
3317
        * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
3318
 
3319
2008-04-16  Patrick Mansfield  
3320
 
3321
        * libc/machine/spu/impure.c: Add missing underscore to impure_data.
3322
 
3323
2008-04-14  Patrick Mansfield  
3324
 
3325
        * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
3326
        * libc/machine/spu/Makefile.am: Add new file impure.c.
3327
        * libc/machine/spu/Makefile.in: Regenerate.
3328
        * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
3329
 
3330
2008-04-14  Jeff Johnston  
3331
 
3332
        * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
3333
        -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
3334
        to build special versions for sprintf/sscanf family functions.
3335
        * libc/stdio/Makefile.in: Regenerated.
3336
        * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
3337
        Redefine to be _svfiprintf_r which is optimized to work with siprintf
3338
        family of functions (i.e. no I/O) and does not support floating-point.
3339
        [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
3340
        _svfprintf_r which is optimized to work with sprintf family of
3341
        functions and not use I/O.
3342
        [STRING_ONLY](__sprint_r): New string only version of static function.
3343
        designed to work with sprintf family of functions.
3344
        * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
3345
        Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
3346
        family of functions (i.e. no I/O) and no float-point support.
3347
        [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
3348
        __ssvfscanf_r which is optimized to work with sscanf family of
3349
        functions and does not require I/O functions.
3350
        * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
3351
        * libc/stdio/snprintf.c: Ditto.
3352
        * libc/stdio/sprintf.c: Ditto.
3353
        * libc/stdio/vasnprintf.c: Ditto.
3354
        * libc/stdio/vasprintf.c: Ditto.
3355
        * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
3356
        * libc/stdio/sniprintf.c: Ditto.
3357
        * libc/stdio/vasiprintf.c: Ditto.
3358
        * libc/stdio/vsiprintf.c: Ditto.
3359
        * libc/stdio/vsniprintf.c: Ditto.
3360
        * libc/stdio/vsprintf.c: Ditto.
3361
        * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
3362
        _ssvfscanf_r, and _ssvfiscanf_r.
3363
        * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
3364
        * libc/stdio/vsscanf.c: Ditto.
3365
        * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
3366
        * libc/stdio/vsiscanf.c: Ditto.
3367
 
3368
2008-04-04  DJ Delorie  
3369
 
3370
        * libm/machine/spu/configure: Regenerate with autoconf 2.61.
3371
        * libc/sys/configure: Regenerate with autoconf 2.61.
3372
        * libc/machine/configure: Regenerate with autoconf 2.61.
3373
 
3374
2008-04-01 Patrick Mansfield 
3375
 
3376
        * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
3377
        * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
3378
        * libc/machine/spu/Makefile.am: Add memcmp.c.
3379
        * libc/machine/spu/Makefile.in: Rebuild.
3380
        * libc/machine/spu/strncmp.c: Use _strncmp_internal.
3381
 
3382
2008-04-01 Patrick Mansfield 
3383
 
3384
        * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
3385
          -DMISSING_SYSCALL_NAMES.
3386
 
3387
2008-04-01 Patrick Mansfield 
3388
 
3389
        * libc/machine/spu/Makefile.am: Add assert.c.
3390
        * libc/machine/spu/Makefile.in: Regenerate.
3391
        * libc/machine/spu/assert.c: New file.
3392
 
3393
2008-03-27 Patrick Mansfield 
3394
 
3395
        * libc/include/reent.h: Define _func_r functions in this file to
3396
        func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
3397
        defined.
3398
 
3399
2008-03-27  Corinna Vinschen  
3400
 
3401
        * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
3402
        constants when building for Cygwin.
3403
 
3404
2008-03-11  Jeff Johnston  
3405
 
3406
        * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
3407
        stdin gets resolved properly before refilling.
3408
 
3409
2008-03-07  Jeff Johnston  
3410
 
3411
        * libc/include/getopt.h: Hide newlib extensions under
3412
        the __need_getopt_newlib flag.
3413
        * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
3414
        getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
3415
        with their own getopt implementation.
3416
        * configure.host: Specify HAVE_GETOPT for x86-linux.
3417
 
3418
2008-03-07  Jeff Johnston  
3419
 
3420
        * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
3421
        this macro completely instead of referring to CHECK_STD_INIT which
3422
        is only found in libc/stdio/local.h.
3423
        * libc/stdio/dprintf.c: Add include of local.h.
3424
        * libc/stdio/vdprintf.c: Ditto.
3425
        * libc/stdio/vdiprintf.c: Ditto.
3426
 
3427
2008-03-04  Eric Blake  
3428
 
3429
        Fix strtod("nan()", ptr).
3430
        * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
3431
        n-char-sequence is omitted, still parse the ().
3432
 
3433
2008-03-03  Eric Blake  
3434
 
3435
        Fix ftell bug after ungetc.
3436
        * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
3437
        ftell.
3438
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
3439
        * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
3440
        repositioning underlying fd offset.
3441
 
3442
2008-03-02  Jeff Johnston  
3443
 
3444
        * libc/include/getopt.h (no_argument): Added for glibc compatibility.
3445
        (required_argument, optional_argument): Ditto.
3446
 
3447
2008-02-29  Gregory Pietsch  
3448
 
3449
        * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
3450
        data area so as to support reentrant calls.  Change all callers
3451
        to fill in data area with global values and restore any changes
3452
        to the global values after call.
3453
        (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
3454
        to support reentrancy that add a data area argument.
3455
        * libc/include/getopt.h: Add new _r routines and provide macros
3456
        so they can be called with using double-underscores.
3457
 
3458
2008-02-21  Eric Blake  
3459
 
3460
        Fix strtod("-0x", NULL).
3461
        * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
3462
        fails.
3463
 
3464
2008-02-12  Jeff Johnston  
3465
 
3466
        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
3467
        for user specifying --disable-newlib-io-long-long on configure.
3468
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
3469
        reentrant pointer passed in rather than _REENT.
3470
 
3471
2008-02-12  Peter Rosin  
3472
 
3473
        * libc/stdlib/getopt.c (getopt_internal): Handle optional
3474
        arguments better for long options and short options not
3475
        appearing as the first option in a sequence.
3476
 
3477
2008-02-11  Patrick Mansfield  
3478
 
3479
        * libc/machine/spu/straddr.h: New file, supplies _straddr.
3480
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
3481
        * libc/machine/spu/strcpy.c: Use _strcpy.
3482
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
3483
        str[n]cpy and str[n]cat.
3484
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
3485
        * libc/machine/spu/strncpy.c: Use _strcpy.
3486
 
3487
2008-02-11  Patrick Mansfield  
3488
 
3489
        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
3490
        calculation of its value.
3491
 
3492
2008-01-25  Hans-Peter Nilsson  
3493
 
3494
        * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
3495
        Make ISO C.
3496
 
3497
2008-01-21  DJ Delorie  
3498
 
3499
        * libc/sys/sh/syscalls.c (_isatty): New.
3500
 
3501
2008-01-21  Neal H. Walfield  
3502
 
3503
        * Makefile.am (crt1.o): Use correct source.
3504
        * Makefile.in: Regenerated.
3505
 
3506
2008-01-15  Eric Blake  
3507
 
3508
        * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
3509
        * libc/string/Makefile: Regenerate.
3510
 
3511
2008-01-15  Corinna Vinschen  
3512
 
3513
        * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
3514
        pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
3515
        (sigsetjmp): Use __SIGMASK_FUNC.
3516
        (siglongjmp): Ditto.
3517
        (_setjmp): Define as macro.
3518
        (_longjmp): Ditto.
3519
 
3520
2008-01-11  Eric Blake  
3521
 
3522
        Make strstr and strcasestr O(n), not O(n^2); add memmem.
3523
        * libc/string/str-two-way.h: New file.
3524
        * libc/string/memmem.c (memmem): New file.
3525
        * libc/include/string.h (memmem): Declare for all platforms.
3526
        * libc/string/strstr.c (strstr): Provide O(n) implementation when
3527
        not optimizing for space.
3528
        * libc/string/strcasestr.c (strcasestr): Likewise.
3529
        * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
3530
        (ELIX_2_SOURCES): ...this.
3531
        (ELIX_4_SOURCES): New category, for memmem.
3532
        (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
3533
        (CHEWOUT_FILES): Build documentation for memmem.
3534
        * libc/string/strings.tex: Include new docs.
3535
 
3536
2008-01-08  Jeff Johnston  
3537
 
3538
        * libc/machine/m68k/memcpy.S: Remove % from register references
3539
        as this is already handled by m68kasm.h.
3540
        * libc/machine/m68k/memset.S: Ditto.
3541
 
3542
2008-01-07  Jeff Johnston  
3543
 
3544
        * libc/machine/m68k/m68kasm.h: New file.
3545
        * libc/machine/m68k/setjmp.S: Remove common definitions and
3546
        place in m68kasm.h.  Include "m68kasm.h".
3547
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
3548
        SYM() macro when referencing function name.
3549
        * libc/machine/m68k/memset.S: Ditto.
3550
 
3551
2008-01-03  Jeff Johnston  
3552
 
3553
        Make isatty syscall handling consistent with other newlib syscalls.
3554
 
3555
        * libc/include/_syslist.h: Add _isatty.
3556
        * libc/include/reent.h: Add _isatty_r.
3557
        * libc/include/sys/unistd.h: Add _isatty.
3558
        * libc/posix/Makefile.am: Add new _isatty.c file.
3559
        * libc/posix/Makefile.in: Regenerated.
3560
        * libc/posix/_isatty.c: New file.
3561
        * libc/posix/isatty.c: Changed to call _isatty().
3562
        * libc/reent/Makefile.am: Add new isattyr.c file.
3563
        * libc/reent/Makefile.in: Regenerated.
3564
        * libc/reent/isattyr.c: New file.
3565
        * libc/stdio/freopen.c: Changed to call _isatty_r().
3566
        * libc/stdio/makebuf.c: Ditto.
3567
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
3568
        * libc/sys/arc/isatty.c: Ditto.
3569
        * libc/sys/arm/syscalls.c: Ditto.
3570
        * libc/sys/d10v/syscalls.c: Ditto.
3571
        * libc/sys/h8300hms/syscalls.c: Ditto.
3572
        * libc/sys/h8500hms/syscalls.c: Ditto.
3573
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
3574
        * libc/sys/linux/Makefile.in: Regenerated.
3575
        * libc/sys/linux/isatty.c: New file.
3576
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
3577
        * libc/syscalls/Makefile.in: Regenerated.
3578
        * libc/syscalls/sysisatty.c: New file.
3579
 
3580
2008-01-02  Jeff Johnston  
3581
 
3582
        * libc/syscalls/sysclose.c: Always call reentrant version of the
3583
        underlying syscall since one is guaranteed to exist in libc/reent.
3584
        * libc/syscalls/sysexecve.c: Ditto.
3585
        * libc/syscalls/sysfcntl.c: Ditto.
3586
        * libc/syscalls/sysfork.c: Ditto.
3587
        * libc/syscalls/sysfstat.c: Ditto.
3588
        * libc/syscalls/sysgetpid.c: Ditto.
3589
        * libc/syscalls/sysgettod.c: Ditto.
3590
        * libc/syscalls/syskill.c: Ditto.
3591
        * libc/syscalls/syslink.c: Ditto.
3592
        * libc/syscalls/syslseek.c: Ditto.
3593
        * libc/syscalls/sysopen.c: Ditto.
3594
        * libc/syscalls/sysread.c: Ditto.
3595
        * libc/syscalls/syssbrk.c: Ditto.
3596
        * libc/syscalls/sysstat.c: Ditto.
3597
        * libc/syscalls/systimes.c: Ditto.
3598
        * libc/syscalls/sysunlink.c: Ditto.
3599
        * libc/syscalls/syswait.c: Ditto.
3600
        * libc/syscalls/syswrite.c: Ditto.
3601
 
3602
2007-12-19  Jeff Johnston  
3603
 
3604
        * NEWS: Update with 1.16.0 info.
3605
        * README: Ditto.
3606
        * acinclude.m4: Change version number to 1.16.0.
3607
        * aclocal.m4: Regenerated.
3608
        * configure: Ditto.
3609
        * doc/aclocal.m4: Ditto.
3610
        * doc/configure: Ditto.
3611
        * libc/*/aclocal.m4: Ditto.
3612
        * libc/*/configure: Ditto.
3613
        * libc/libc.texinfo: Ditto.
3614
        * libm/*/aclocal.m4: Ditto.
3615
        * libm/*/configure: Ditto.
3616
        * libm/libm.texinfo: Ditto.
3617
        * libc/sys/linux/shared.ld: Add VERS_1.16.
3618
 
3619
2007-12-19  Jeff Johnston  
3620
 
3621
        * libc/string/strcasestr.c: Remove id macro.
3622
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
3623
        field reference to be __sched_priority.
3624
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3625
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
3626
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
3627
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
3628
        * libc/sys/linux/stdlib/engine.c: Ditto.
3629
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3630
        * libc/sys/linux/stdlib/glob.c: Ditto.
3631
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
3632
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
3633
        * libc/sys/linux/stdlib/regerror.c: Ditto.
3634
        * libc/sys/linux/stdlib/regexec.c: Ditto.
3635
        * libc/sys/linux/stdlib/regfree.c: Ditto.
3636
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
3637
        * libc/sys/linux/include/argp.h: Ditto.
3638
        * libc/sys/linux/sys/libc-lock.h: New file.
3639
        * libc/sys/linux/sys/stdint.h: Ditto.
3640
        * libc/sys/linux/include/sched.h: New file.
3641
 
3642
2007-12-19  Dave Korn  
3643
            Jeff Johnston  
3644
 
3645
        * libc/include/_ansi.h: Add _LONG_LONG definition.
3646
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
3647
        prototypes.
3648
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
3649
        fast math versions of rint, lrint, and llrint family functions.
3650
        * libm/machine/i386/Makefile.am: Add new files.
3651
        * libm/machine/i386/Makefile.in: Regenerated.
3652
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
3653
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
3654
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
3655
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
3656
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.
3657
 
3658
2007-12-19  Jeff Johnston  
3659
 
3660
        * libc/include/sys/features.h: Add checks for C90 compilers using
3661
        -ansi.
3662
 
3663
2007-12-19  Corinna Vinschen  
3664
 
3665
        * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
3666
        * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
3667
        wcpncpy.c.
3668
        (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
3669
        * libc/string/Makefile.in: Regenerate.
3670
        * libc/string/wcpcpy.c: New file.
3671
        * libc/string/wcpncpy.c: New file.
3672
        * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
3673
 
3674
2007-12-19  Corinna Vinschen  
3675
 
3676
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
3677
        _wcsrtombs_r.
3678
 
3679
2007-11-19  Nick Clifton  
3680
 
3681
        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
3682
        * libc/machine/mn10300/Makefile.in: Regenerate.
3683
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
3684
        .debug_frame section.
3685
        * libc/machine/mn10300/memcmp.S: Likewise.
3686
        * libc/machine/mn10300/memcpy.S: Likewise.
3687
        * libc/machine/mn10300/memset.S: Likewise.
3688
        * libc/machine/mn10300/strchr.S: Likewise.
3689
        * libc/machine/mn10300/strcmp.S: Likewise.
3690
        * libc/machine/mn10300/strcpy.S: Likewise.
3691
        * libc/machine/mn10300/strlen.S: Likewise.
3692
 
3693
2007-11-15  Jeff Johnston  
3694
 
3695
        * libc/include/sys/_default_fcntl.h: New header file that
3696
        is the default version of sys/fcntl.h.
3697
        * libc/include/sys/fcntl.h: Changed to simply include
3698
        sys/_default_fcntl.h.
3699
        * libc/sys/arm/sys/fcntl.h: New file that includes
3700
        sys/_default_fcntl.h and defines O_BINARY.
3701
 
3702
2007-11-08  Corinna Vinschen  
3703
 
3704
        * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
3705
 
3706
2007-11-07  Dave Brolley  
3707
 
3708
        * libc/machine/configure: Regenerated to pick up mep-elf changes.
3709
 
3710
        * Contribute mep-elf from Red Hat
3711
        2006-10-27  DJ Delorie  
3712
 
3713
        * libc/include/machine/setjmp.h: Add MeP support.
3714
 
3715
        2003-04-17  DJ Delorie  
3716
 
3717
        * configure.host (mep-*-*): Support "long long" type.
3718
 
3719
        2001-06-06  DJ Delorie  
3720
 
3721
        * libc/include/machine/ieeefp.h (mep): Support little endian too.
3722
 
3723
        2001-05-14  DJ Delorie  
3724
 
3725
        * configure.host: Add mep's machine_dir.
3726
        * libc/include/setjmp.h: Add mep support.
3727
        * libc/machine/mep: New.
3728
        * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
3729
 
3730
        2001-05-04  DJ Delorie  
3731
 
3732
        * configure.host: Add mep.
3733
        * libc/include/machine/ieeefp.h: Ditto.
3734
 
3735
2007-10-31  DJ Delorie  
3736
 
3737
        * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
3738
        signal table, just use a default, in case initialization cause
3739
        recursion.
3740
 
3741
2007-10-23  Jeff Johnston  
3742
 
3743
        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
3744
        size if output buffer is NULL.
3745
 
3746
2007-10-17  Jeff Johnston  
3747
 
3748
        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
3749
        fix when handling negative input values.  Make function
3750
        consistent with math directory and glibc version such that
3751
        inf and nan values return inf and nan respectively with no
3752
        errno setting.
3753
        * libm/mathfp/sf_logarithm.c: Ditto.
3754
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
3755
        * libm/math/wf_log.c: Ditto.
3756
        * libm/math/w_log10.c: Ditto.
3757
        * libm/math/wf_log10.c: Ditto.
3758
 
3759
2007-10-17  Jeff Johnston  
3760
 
3761
        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
3762
        return -inf.
3763
        * libm/mathfp/sf_logarithm.c: Ditto.
3764
 
3765
2007-10-17  Jeff Johnston  
3766
 
3767
        * libc/machine/i386/machine/fastmath.h: New file.
3768
 
3769
2007-10-13  Eric Blake  
3770
 
3771
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
3772
        Correctly nest else within conditionals.
3773
        Reported by Artur Lipowski.
3774
 
3775
2007-10-09  Nick Clifton  
3776
 
3777
        * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
3778
        the STT_COMMON type.
3779
 
3780
2007-10-09  Ben Elliston  
3781
 
3782
        * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
3783
        before simdmath.h to get a definition for `vector'.
3784
        * libm/machine/spu/headers/asind2.h: Likewise.
3785
 
3786
2007-09-28  Patrick Mansfield  
3787
 
3788
        * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
3789
        * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
3790
        * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
3791
        * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
3792
        * libm/machine/spu/headers/acos.h: Add domain check.
3793
        * libm/machine/spu/headers/acosf.h: Ditto.
3794
        * libm/machine/spu/headers/acosh.h: Ditto.
3795
        * libm/machine/spu/headers/acoshf.h: Ditto.
3796
        * libm/machine/spu/headers/asin.h: Ditto.
3797
        * libm/machine/spu/headers/asinf.h: Ditto.
3798
        * libm/machine/spu/headers/atanh.h: Ditto.
3799
        * libm/machine/spu/headers/atanhf.h: Ditto.
3800
        * libm/machine/spu/headers/fmod.h: Ditto.
3801
        * libm/machine/spu/headers/fmodf.h: Ditto.
3802
        * libm/machine/spu/headers/log.h: Ditto.
3803
        * libm/machine/spu/headers/log10.h: Ditto.
3804
        * libm/machine/spu/headers/log1p.h: Ditto.
3805
        * libm/machine/spu/headers/log1pf.h: Ditto.
3806
        * libm/machine/spu/headers/log2.h: Ditto.
3807
        * libm/machine/spu/headers/log2f.h: Ditto.
3808
        * libm/machine/spu/headers/sqrt.h: Ditto.
3809
        * libm/machine/spu/headers/sqrtf.h: Ditto.
3810
        * libm/machine/spu/headers/tgamma.h: Ditto.
3811
        * libm/machine/spu/headers/tgammaf.h: Ditto.
3812
 
3813
2007-09-28  Patrick Mansfield  
3814
 
3815
        * libm/machine/spu/Makefile.am: Add new C files.
3816
        * libm/machine/spu/Makefile.in: Regenerate.
3817
        * libm/machine/spu/headers/acos.h: New file.
3818
        * libm/machine/spu/headers/acosd2.h: Ditto.
3819
        * libm/machine/spu/headers/acosf.h: Ditto.
3820
        * libm/machine/spu/headers/acosf4.h: Ditto.
3821
        * libm/machine/spu/headers/acosh.h: Ditto.
3822
        * libm/machine/spu/headers/acoshd2.h: Ditto.
3823
        * libm/machine/spu/headers/acoshf.h: Ditto.
3824
        * libm/machine/spu/headers/acoshf4.h: Ditto.
3825
        * libm/machine/spu/headers/asin.h: Ditto.
3826
        * libm/machine/spu/headers/asind2.h: Ditto.
3827
        * libm/machine/spu/headers/asinf.h: Ditto.
3828
        * libm/machine/spu/headers/asinf4.h: Ditto.
3829
        * libm/machine/spu/headers/asinh.h: Ditto.
3830
        * libm/machine/spu/headers/asinhd2.h: Ditto.
3831
        * libm/machine/spu/headers/asinhf.h: Ditto.
3832
        * libm/machine/spu/headers/asinhf4.h: Ditto.
3833
        * libm/machine/spu/headers/atan.h: Ditto.
3834
        * libm/machine/spu/headers/atan2.h: Ditto.
3835
        * libm/machine/spu/headers/atan2d2.h: Ditto.
3836
        * libm/machine/spu/headers/atan2f.h: Ditto.
3837
        * libm/machine/spu/headers/atan2f4.h: Ditto.
3838
        * libm/machine/spu/headers/atand2.h: Ditto.
3839
        * libm/machine/spu/headers/atanf4.h: Ditto.
3840
        * libm/machine/spu/headers/atanh.h: Ditto.
3841
        * libm/machine/spu/headers/atanhd2.h: Ditto.
3842
        * libm/machine/spu/headers/atanhf.h: Ditto.
3843
        * libm/machine/spu/headers/atanhf4.h: Ditto.
3844
        * libm/machine/spu/headers/cos.h: Ditto.
3845
        * libm/machine/spu/headers/cos_sin.h: Ditto.
3846
        * libm/machine/spu/headers/cosd2.h: Ditto.
3847
        * libm/machine/spu/headers/cosf.h: Ditto.
3848
        * libm/machine/spu/headers/cosf4.h: Ditto.
3849
        * libm/machine/spu/headers/cosh.h: Ditto.
3850
        * libm/machine/spu/headers/coshd2.h: Ditto.
3851
        * libm/machine/spu/headers/coshf.h: Ditto.
3852
        * libm/machine/spu/headers/coshf4.h: Ditto.
3853
        * libm/machine/spu/headers/divd2.h: Ditto.
3854
        * libm/machine/spu/headers/divf4.h: Ditto.
3855
        * libm/machine/spu/headers/erf.h: Ditto.
3856
        * libm/machine/spu/headers/erf_utils.h: Ditto.
3857
        * libm/machine/spu/headers/erfc.h: Ditto.
3858
        * libm/machine/spu/headers/erfcd2.h: Ditto.
3859
        * libm/machine/spu/headers/erfcf.h: Ditto.
3860
        * libm/machine/spu/headers/erfcf4.h: Ditto.
3861
        * libm/machine/spu/headers/erfd2.h: Ditto.
3862
        * libm/machine/spu/headers/erff.h: Ditto.
3863
        * libm/machine/spu/headers/erff4.h: Ditto.
3864
        * libm/machine/spu/headers/exp.h: Ditto.
3865
        * libm/machine/spu/headers/exp2.h: Ditto.
3866
        * libm/machine/spu/headers/exp2d2.h: Ditto.
3867
        * libm/machine/spu/headers/exp2f4.h: Ditto.
3868
        * libm/machine/spu/headers/expd2.h: Ditto.
3869
        * libm/machine/spu/headers/expf4.h: Ditto.
3870
        * libm/machine/spu/headers/expm1.h: Ditto.
3871
        * libm/machine/spu/headers/expm1d2.h: Ditto.
3872
        * libm/machine/spu/headers/expm1f.h: Ditto.
3873
        * libm/machine/spu/headers/expm1f4.h: Ditto.
3874
        * libm/machine/spu/headers/floord2.h: Ditto.
3875
        * libm/machine/spu/headers/floorf4.h: Ditto.
3876
        * libm/machine/spu/headers/hypot.h: Ditto.
3877
        * libm/machine/spu/headers/hypotd2.h: Ditto.
3878
        * libm/machine/spu/headers/hypotf.h: Ditto.
3879
        * libm/machine/spu/headers/hypotf4.h: Ditto.
3880
        * libm/machine/spu/headers/isnan.h: Ditto.
3881
        * libm/machine/spu/headers/isnand2.h: Ditto.
3882
        * libm/machine/spu/headers/isnanf.h: Ditto.
3883
        * libm/machine/spu/headers/isnanf4.h: Ditto.
3884
        * libm/machine/spu/headers/ldexpd2.h: Ditto.
3885
        * libm/machine/spu/headers/ldexpf4.h: Ditto.
3886
        * libm/machine/spu/headers/lgamma.h: Ditto.
3887
        * libm/machine/spu/headers/lgammad2.h: Ditto.
3888
        * libm/machine/spu/headers/lgammaf.h: Ditto.
3889
        * libm/machine/spu/headers/lgammaf4.h: Ditto.
3890
        * libm/machine/spu/headers/log.h: Ditto.
3891
        * libm/machine/spu/headers/log10.h: Ditto.
3892
        * libm/machine/spu/headers/log10d2.h: Ditto.
3893
        * libm/machine/spu/headers/log1p.h: Ditto.
3894
        * libm/machine/spu/headers/log1pd2.h: Ditto.
3895
        * libm/machine/spu/headers/log1pf.h: Ditto.
3896
        * libm/machine/spu/headers/log1pf4.h: Ditto.
3897
        * libm/machine/spu/headers/log2.h: Ditto.
3898
        * libm/machine/spu/headers/log2d2.h: Ditto.
3899
        * libm/machine/spu/headers/log2f4.h: Ditto.
3900
        * libm/machine/spu/headers/logbf.h: Ditto.
3901
        * libm/machine/spu/headers/logbf4.h: Ditto.
3902
        * libm/machine/spu/headers/logd2.h: Ditto.
3903
        * libm/machine/spu/headers/logf4.h: Ditto.
3904
        * libm/machine/spu/headers/nearbyintf.h: Ditto.
3905
        * libm/machine/spu/headers/nearbyintf4.h: Ditto.
3906
        * libm/machine/spu/headers/nextafter.h: Ditto.
3907
        * libm/machine/spu/headers/nextafterd2.h: Ditto.
3908
        * libm/machine/spu/headers/nextafterf.h: Ditto.
3909
        * libm/machine/spu/headers/nextafterf4.h: Ditto.
3910
        * libm/machine/spu/headers/pow.h: Ditto.
3911
        * libm/machine/spu/headers/powd2.h: Ditto.
3912
        * libm/machine/spu/headers/powf.h: Ditto.
3913
        * libm/machine/spu/headers/powf4.h: Ditto.
3914
        * libm/machine/spu/headers/recipd2.h: Ditto.
3915
        * libm/machine/spu/headers/recipf4.h: Ditto.
3916
        * libm/machine/spu/headers/rintf.h: Ditto.
3917
        * libm/machine/spu/headers/rintf4.h: Ditto.
3918
        * libm/machine/spu/headers/scalbnf4.h: Ditto.
3919
        * libm/machine/spu/headers/signbit.h: Ditto.
3920
        * libm/machine/spu/headers/signbitd2.h: Ditto.
3921
        * libm/machine/spu/headers/simdmath.h: Ditto.
3922
        * libm/machine/spu/headers/sin.h: Ditto.
3923
        * libm/machine/spu/headers/sincos.h: Ditto.
3924
        * libm/machine/spu/headers/sincosd2.h: Ditto.
3925
        * libm/machine/spu/headers/sincosf.h: Ditto.
3926
        * libm/machine/spu/headers/sincosf4.h: Ditto.
3927
        * libm/machine/spu/headers/sind2.h: Ditto.
3928
        * libm/machine/spu/headers/sinf.h: Ditto.
3929
        * libm/machine/spu/headers/sinf4.h: Ditto.
3930
        * libm/machine/spu/headers/sinh.h: Ditto.
3931
        * libm/machine/spu/headers/sinhd2.h: Ditto.
3932
        * libm/machine/spu/headers/sinhf.h: Ditto.
3933
        * libm/machine/spu/headers/sinhf4.h: Ditto.
3934
        * libm/machine/spu/headers/sqrtd2.h: Ditto.
3935
        * libm/machine/spu/headers/sqrtf.h: Ditto.
3936
        * libm/machine/spu/headers/sqrtf4.h: Ditto.
3937
        * libm/machine/spu/headers/tan.h: Ditto.
3938
        * libm/machine/spu/headers/tand2.h: Ditto.
3939
        * libm/machine/spu/headers/tanf.h: Ditto.
3940
        * libm/machine/spu/headers/tanf4.h: Ditto.
3941
        * libm/machine/spu/headers/tanh.h: Ditto.
3942
        * libm/machine/spu/headers/tanhd2.h: Ditto.
3943
        * libm/machine/spu/headers/tanhf.h: Ditto.
3944
        * libm/machine/spu/headers/tanhf4.h: Ditto.
3945
        * libm/machine/spu/headers/tgamma.h: Ditto.
3946
        * libm/machine/spu/headers/tgammad2.h: Ditto.
3947
        * libm/machine/spu/headers/tgammaf.h: Ditto.
3948
        * libm/machine/spu/headers/tgammaf4.h: Ditto.
3949
        * libm/machine/spu/headers/truncd2.h: Ditto.
3950
        * libm/machine/spu/headers/truncf4.h: Ditto.
3951
        * libm/machine/spu/log2.c: Ditto.
3952
        * libm/machine/spu/s_asinh.c: Ditto.
3953
        * libm/machine/spu/s_atan.c: Ditto.
3954
        * libm/machine/spu/s_cos.c: Ditto.
3955
        * libm/machine/spu/s_erf.c: Ditto.
3956
        * libm/machine/spu/s_expm1.c: Ditto.
3957
        * libm/machine/spu/s_isnan.c: Ditto.
3958
        * libm/machine/spu/s_log1p.c: Ditto.
3959
        * libm/machine/spu/s_nextafter.c: Ditto.
3960
        * libm/machine/spu/s_sin.c: Ditto.
3961
        * libm/machine/spu/s_tan.c: Ditto.
3962
        * libm/machine/spu/s_tanh.c: Ditto.
3963
        * libm/machine/spu/sf_asinh.c: Ditto.
3964
        * libm/machine/spu/sf_cos.c: Ditto.
3965
        * libm/machine/spu/sf_erf.c: Ditto.
3966
        * libm/machine/spu/sf_expm1.c: Ditto.
3967
        * libm/machine/spu/sf_log1p.c: Ditto.
3968
        * libm/machine/spu/sf_logb.c: Ditto.
3969
        * libm/machine/spu/sf_nearbyint.c: Ditto.
3970
        * libm/machine/spu/sf_nextafter.c: Ditto.
3971
        * libm/machine/spu/sf_rint.c: Ditto.
3972
        * libm/machine/spu/sf_sin.c: Ditto.
3973
        * libm/machine/spu/sf_tan.c: Ditto.
3974
        * libm/machine/spu/sf_tanh.c: Ditto.
3975
        * libm/machine/spu/w_acos.c: Ditto.
3976
        * libm/machine/spu/w_acosh.c: Ditto.
3977
        * libm/machine/spu/w_asin.c: Ditto.
3978
        * libm/machine/spu/w_atan2.c: Ditto.
3979
        * libm/machine/spu/w_atanh.c: Ditto.
3980
        * libm/machine/spu/w_cosh.c: Ditto.
3981
        * libm/machine/spu/w_exp.c: Ditto.
3982
        * libm/machine/spu/w_exp2.c: Ditto.
3983
        * libm/machine/spu/w_hypot.c: Ditto.
3984
        * libm/machine/spu/w_lgamma.c: Ditto.
3985
        * libm/machine/spu/w_log.c: Ditto.
3986
        * libm/machine/spu/w_log10.c: Ditto.
3987
        * libm/machine/spu/w_pow.c: Ditto.
3988
        * libm/machine/spu/w_sincos.c: Ditto.
3989
        * libm/machine/spu/w_sinh.c: Ditto.
3990
        * libm/machine/spu/w_tgamma.c: Ditto.
3991
        * libm/machine/spu/wf_acos.c: Ditto.
3992
        * libm/machine/spu/wf_acosh.c: Ditto.
3993
        * libm/machine/spu/wf_asin.c: Ditto.
3994
        * libm/machine/spu/wf_atan2.c: Ditto.
3995
        * libm/machine/spu/wf_atanh.c: Ditto.
3996
        * libm/machine/spu/wf_cosh.c: Ditto.
3997
        * libm/machine/spu/wf_hypot.c: Ditto.
3998
        * libm/machine/spu/wf_lgamma.c: Ditto.
3999
        * libm/machine/spu/wf_pow.c: Ditto.
4000
        * libm/machine/spu/wf_sincos.c: Ditto.
4001
        * libm/machine/spu/wf_sinh.c: Ditto.
4002
        * libm/machine/spu/wf_sqrt.c: Ditto.
4003
        * libm/machine/spu/wf_tgamma.c: Ditto.
4004
 
4005
2007-09-28  Patrick Mansfield  
4006
 
4007
        * configure.host: Define _POSIX_MODE to match the existing vector
4008
        math code, as we don't support the matherr callout.
4009
        * libm/machine/spu/Makefile.am: New file.
4010
        * libm/machine/spu/Makefile.in: Auto-generated.
4011
        * libm/machine/spu/headers/atanf.h: New file.
4012
        * libm/machine/spu/headers/cbrt.h: Ditto.
4013
        * libm/machine/spu/headers/cbrtf.h: Ditto.
4014
        * libm/machine/spu/headers/ceil.h: Ditto.
4015
        * libm/machine/spu/headers/ceilf.h: Ditto.
4016
        * libm/machine/spu/headers/copysign.h: Ditto.
4017
        * libm/machine/spu/headers/copysignf.h: Ditto.
4018
        * libm/machine/spu/headers/exp2f.h: Ditto.
4019
        * libm/machine/spu/headers/expf.h: Ditto.
4020
        * libm/machine/spu/headers/fabs.h: Ditto.
4021
        * libm/machine/spu/headers/fabsf.h: Ditto.
4022
        * libm/machine/spu/headers/fdim.h: Ditto.
4023
        * libm/machine/spu/headers/fdimf.h: Ditto.
4024
        * libm/machine/spu/headers/floor.h: Ditto.
4025
        * libm/machine/spu/headers/floorf.h: Ditto.
4026
        * libm/machine/spu/headers/fma.h: Ditto.
4027
        * libm/machine/spu/headers/fmaf.h: Ditto.
4028
        * libm/machine/spu/headers/fmax.h: Ditto.
4029
        * libm/machine/spu/headers/fmaxf.h: Ditto.
4030
        * libm/machine/spu/headers/fmin.h: Ditto.
4031
        * libm/machine/spu/headers/fminf.h: Ditto.
4032
        * libm/machine/spu/headers/fmod.h: Ditto.
4033
        * libm/machine/spu/headers/fmodf.h: Ditto.
4034
        * libm/machine/spu/headers/frexp.h: Ditto.
4035
        * libm/machine/spu/headers/frexpf.h: Ditto.
4036
        * libm/machine/spu/headers/ilogb.h: Ditto.
4037
        * libm/machine/spu/headers/ilogbf.h: Ditto.
4038
        * libm/machine/spu/headers/ldexp.h: Ditto.
4039
        * libm/machine/spu/headers/ldexpf.h: Ditto.
4040
        * libm/machine/spu/headers/llrint.h: Ditto.
4041
        * libm/machine/spu/headers/llrintf.h: Ditto.
4042
        * libm/machine/spu/headers/llround.h: Ditto.
4043
        * libm/machine/spu/headers/llroundf.h: Ditto.
4044
        * libm/machine/spu/headers/log10f.h: Ditto.
4045
        * libm/machine/spu/headers/log2f.h: Ditto.
4046
        * libm/machine/spu/headers/logf.h: Ditto.
4047
        * libm/machine/spu/headers/lrint.h: Ditto.
4048
        * libm/machine/spu/headers/lrintf.h: Ditto.
4049
        * libm/machine/spu/headers/lround.h: Ditto.
4050
        * libm/machine/spu/headers/lroundf.h: Ditto.
4051
        * libm/machine/spu/headers/nearbyint.h: Ditto.
4052
        * libm/machine/spu/headers/remainder.h: Ditto.
4053
        * libm/machine/spu/headers/remainderf.h: Ditto.
4054
        * libm/machine/spu/headers/remquo.h: Ditto.
4055
        * libm/machine/spu/headers/remquof.h: Ditto.
4056
        * libm/machine/spu/headers/rint.h: Ditto.
4057
        * libm/machine/spu/headers/round.h: Ditto.
4058
        * libm/machine/spu/headers/roundf.h: Ditto.
4059
        * libm/machine/spu/headers/scalbn.h: Ditto.
4060
        * libm/machine/spu/headers/scalbnf.h: Ditto.
4061
        * libm/machine/spu/headers/sqrt.h: Ditto.
4062
        * libm/machine/spu/headers/trunc.h: Ditto.
4063
        * libm/machine/spu/headers/truncf.h: Ditto.
4064
        * libm/machine/spu/headers/vec_literal.h: Ditto.
4065
        * libm/machine/spu/llrint.c: Ditto.
4066
        * libm/machine/spu/llrintf.c: Ditto.
4067
        * libm/machine/spu/llround.c: Ditto.
4068
        * libm/machine/spu/llroundf.c: Ditto.
4069
        * libm/machine/spu/log2f.c: Ditto.
4070
        * libm/machine/spu/s_cbrt.c: Ditto.
4071
        * libm/machine/spu/s_ceil.c: Ditto.
4072
        * libm/machine/spu/s_copysign.c: Ditto.
4073
        * libm/machine/spu/s_fabs.c: Ditto.
4074
        * libm/machine/spu/s_fdim.c: Ditto.
4075
        * libm/machine/spu/s_floor.c: Ditto.
4076
        * libm/machine/spu/s_fma.c: Ditto.
4077
        * libm/machine/spu/s_fmax.c: Ditto.
4078
        * libm/machine/spu/s_fmin.c: Ditto.
4079
        * libm/machine/spu/s_frexp.c: Ditto.
4080
        * libm/machine/spu/s_ilogb.c: Ditto.
4081
        * libm/machine/spu/s_ldexp.c: Ditto.
4082
        * libm/machine/spu/s_lrint.c: Ditto.
4083
        * libm/machine/spu/s_lround.c: Ditto.
4084
        * libm/machine/spu/s_nearbyint.c: Ditto.
4085
        * libm/machine/spu/s_remquo.c: Ditto.
4086
        * libm/machine/spu/s_rint.c: Ditto.
4087
        * libm/machine/spu/s_round.c: Ditto.
4088
        * libm/machine/spu/s_scalbn.c: Ditto.
4089
        * libm/machine/spu/s_trunc.c: Ditto.
4090
        * libm/machine/spu/sf_atan.c: Ditto.
4091
        * libm/machine/spu/sf_cbrt.c: Ditto.
4092
        * libm/machine/spu/sf_ceil.c: Ditto.
4093
        * libm/machine/spu/sf_copysign.c: Ditto.
4094
        * libm/machine/spu/sf_fabs.c: Ditto.
4095
        * libm/machine/spu/sf_fdim.c: Ditto.
4096
        * libm/machine/spu/sf_floor.c: Ditto.
4097
        * libm/machine/spu/sf_fma.c: Ditto.
4098
        * libm/machine/spu/sf_fmax.c: Ditto.
4099
        * libm/machine/spu/sf_fmin.c: Ditto.
4100
        * libm/machine/spu/sf_frexp.c: Ditto.
4101
        * libm/machine/spu/sf_ilogb.c: Ditto.
4102
        * libm/machine/spu/sf_ldexp.c: Ditto.
4103
        * libm/machine/spu/sf_lrint.c: Ditto.
4104
        * libm/machine/spu/sf_lround.c: Ditto.
4105
        * libm/machine/spu/sf_remquo.c: Ditto.
4106
        * libm/machine/spu/sf_round.c: Ditto.
4107
        * libm/machine/spu/sf_scalbn.c: Ditto.
4108
        * libm/machine/spu/sf_trunc.c: Ditto.
4109
        * libm/machine/spu/w_fmod.c: Ditto.
4110
        * libm/machine/spu/w_remainder.c: Ditto.
4111
        * libm/machine/spu/w_sqrt.c: Ditto.
4112
        * libm/machine/spu/wf_exp.c: Ditto.
4113
        * libm/machine/spu/wf_exp2.c: Ditto.
4114
        * libm/machine/spu/wf_fmod.c: Ditto.
4115
        * libm/machine/spu/wf_log.c: Ditto.
4116
        * libm/machine/spu/wf_log10.c: Ditto.
4117
        * libm/machine/spu/wf_remainder.c: Ditto.
4118
 
4119
2007-09-21  Patrick Mansfield  
4120
 
4121
        * libc/machine/spu/sys/uio.h: New file for readv and writev use.
4122
 
4123
2007-09-21  Patrick Mansfield  
4124
 
4125
        * libc/include/sched.h: New file, just include sys/sched.h.
4126
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
4127
        prototype.
4128
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
4129
        struct utimbuf definition.
4130
 
4131
2007-09-21  Patrick Mansfield  
4132
 
4133
        * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
4134
        specific struct and typedef.
4135
 
4136
2007-09-18  Patrick Mansfield  
4137
 
4138
        * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
4139
        typedef dev_t, gid_t, and uid_t.
4140
        * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
4141
        types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
4142
        Change to lower case for all __foo_t_defined names.
4143
        * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
4144
        __uid_t, and __gid_t making them all four bytes. Change to lower case
4145
        for all __foo_t_defined names.
4146
 
4147
2007-09-18  Jeff Johnston  
4148
 
4149
        * libc/reent/renamer.c: New file.
4150
        * libc/reent/Makefile.am: Add new file.
4151
        * libc/reent/Makefile.in: Regenerated.
4152
        * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
4153
        and add check for rename syscall.
4154
 
4155
2007-09-17  Eric Blake  
4156
 
4157
        Obey POSIX on printf("%.s", (char*)NULL).
4158
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
4159
        for %s on NULL.  Skip NULL check when optimizing for size.
4160
 
4161
2007-09-07  Jeff Johnston  
4162
 
4163
        * libc/include/sys/_types.h: Protect all types with flag
4164
        checks to allow definition in machine/_types.h.
4165
 
4166
2007-09-07  Jeff Johnston  
4167
 
4168
        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
4169
        definitions in light of the previous change.
4170
 
4171
2007-09-07  Patrick Mansfield  
4172
 
4173
        * libc/include/machine/_default_types.h: New file, contains what
4174
        was previously in libc/include/machine/_types.h.
4175
        * libc/include/machine/_types.h: Now only includes
4176
        machine/_default_types.h.
4177
        * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
4178
        * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
4179
        with conditional declarations.
4180
        * libc/machine/spu/machine/_types.h: New file, add SPU specific
4181
        typedefs for _fpos_t and _fpos64_t.
4182
 
4183
2007-09-07  Jeff Johnston  
4184
 
4185
        * libc/include/math.h (_M_LOG2E): Replace with..
4186
        (_M_LOG2_E): New macro.
4187
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
4188
 
4189
2007-09-06  Brian Dessent  
4190
 
4191
        * libc/reent/getreent.c: Allow for case where __getreent is
4192
        defined as a macro.
4193
 
4194
2007-09-06  Jeff Johnston  
4195
 
4196
        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
4197
        (log2): Use _M_LOG2E instead of M_LOG2E.
4198
        (log2f): Ditto.
4199
        (M_LOG2E): Define to be _M_LOG2E.
4200
 
4201
2007-09-04  Kazunori Asayama 
4202
 
4203
        * libm/math/wf_tgamma.c: Add missing include.
4204
 
4205
2007-08-31  Antony King  
4206
 
4207
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
4208
        bits and redefine associated dword0 macro (rvalue issue).
4209
        * libc/stdio/vfieeefp.h: Ditto.
4210
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
4211
        to prevent setting dword1 which is an rvalue only.
4212
 
4213
2007-08-28  Hans Kester  
4214
 
4215
        * configure.host: Added support for x86_64.
4216
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
4217
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
4218
        * libc/machine/x86_64/aclocal.m4: Generated.
4219
        * libc/machine/x86_64/configure.in: New.
4220
        * libc/machine/x86_64/configure: Generated.
4221
        * libc/machine/x86_64/Makefile.am: New.
4222
        * libc/machine/x86_64/Makefile.in: Generated.
4223
        * libc/machine/x86_64/setjmp.S: New.
4224
        * libc/machine/x86_64/memcpy.S: New.
4225
        * libc/machine/x86_64/memset.S: New.
4226
        * libc/machine/configure.in: Added support for x86_64.
4227
        * libc/machine/configure: Regenerated.
4228
 
4229
2007-08-24  Jeff Johnston  
4230
 
4231
        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
4232
        to int before comparing it to a signed int value.
4233
 
4234
2007-08-24  Hans-Peter Nilsson  
4235
 
4236
        * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
4237
        (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
4238
        Define.
4239
 
4240
2007-08-23  Hidetaka Takano  
4241
 
4242
        Reduce the memory consumption of variable argument functions
4243
        for SPU (cell):
4244
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
4245
          to assembler sources.
4246
        * libc/machine/spu/Makefile.in: Regenerated.
4247
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
4248
          CHECK_INIT macro to use from assembler routines.
4249
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
4250
        * libc/machine/spu/fiprintf.S: New file.
4251
        * libc/machine/spu/fiscanf.S: Ditto.
4252
        * libc/machine/spu/fprintf.S: Ditto.
4253
        * libc/machine/spu/fscanf.S: Ditto.
4254
        * libc/machine/spu/iprintf.S: Ditto.
4255
        * libc/machine/spu/iscanf.S: Ditto.
4256
        * libc/machine/spu/printf.S: Ditto.
4257
        * libc/machine/spu/scanf.S: Ditto.
4258
        * libc/machine/spu/siprintf.S: Ditto.
4259
        * libc/machine/spu/siscanf.S: Ditto.
4260
        * libc/machine/spu/sniprintf.S: Ditto.
4261
        * libc/machine/spu/snprintf.S: Ditto.
4262
        * libc/machine/spu/sprintf.S: Ditto.
4263
        * libc/machine/spu/sscanf.S: Ditto.
4264
        * libc/machine/spu/stack_reg_va.S: Ditto.
4265
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
4266
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
4267
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
4268
        * libc/machine/spu/fiscanf.c: Ditto.
4269
        * libc/machine/spu/fprintf.c: Ditto.
4270
        * libc/machine/spu/fscanf.c: Ditto.
4271
        * libc/machine/spu/iprintf.c: Ditto.
4272
        * libc/machine/spu/iscanf.c: Ditto.
4273
        * libc/machine/spu/printf.c: Ditto.
4274
        * libc/machine/spu/scanf.c: Ditto.
4275
        * libc/machine/spu/siprintf.c: Ditto.
4276
        * libc/machine/spu/siscanf.c: Ditto.
4277
        * libc/machine/spu/sniprintf.c: Ditto.
4278
        * libc/machine/spu/snprintf.c: Ditto.
4279
        * libc/machine/spu/sprintf.c: Ditto.
4280
        * libc/machine/spu/sscanf.c: Ditto.
4281
 
4282
2007-08-03  Ralf Corsepius  
4283
 
4284
        * libc/include/tar.h: New.
4285
 
4286
2007-08-03  Jeff Johnston  
4287
 
4288
        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
4289
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
4290
        * libc/sys/linux/intl/Makefile.in: Regenerated.
4291
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
4292
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
4293
 
4294
2007-08-02  Eric Blake  
4295
 
4296
        Implement fmemopen and open_memstream.
4297
        * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
4298
        * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
4299
        New file.
4300
        * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
4301
        * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
4302
        functions together.
4303
        (fmemopen, open_memstream): Declare new functions.
4304
        * libc/stdio/stdio.tex: Document them.
4305
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
4306
        fmemopen and open_memstream.
4307
        * libc/stdio/Makefile.in: Regenerate.
4308
 
4309
2007-07-31  Eric Blake  
4310
 
4311
        More POSIX stream corner cases.
4312
        * libc/stdio/findfp.c (__sinit): Open stderr read/write.
4313
        * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
4314
        requested.
4315
        * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
4316
 
4317
2007-07-18  Eric Blake  
4318
 
4319
        Fix 'make info'.
4320
        * libc/stdio/stdio.tex: Add missing include.
4321
        * libc/stdio/vfprintf.c: Use expected node name.
4322
        * libc/stdio/vfscanf.c: Likewise.
4323
        * libc/stdio/sscanf.c: Likewise.
4324
        * libc/stdio/sprintf.c: Likewise.
4325
        * libc/stdio/siscanf.c: Likewise.
4326
        * libc/stdio/siprintf.c: Likewise.
4327
        * libc/stdio/fopencookie.c: Quote raw {}.
4328
        Reported by DJ Delorie.
4329
 
4330
2007-07-13  Eric Blake  
4331
 
4332
        Fix fflush issues.
4333
        * libc/stdio/fflush.c (_fflush_r): New function.
4334
        (fflush): Fix reentrancy and large offset behavior.
4335
        * libc/include/stdio.h (_fflush_r): Add prototype.
4336
        * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
4337
        * libc/stdio/freopen.c (_freopen_r): Likewise.
4338
        * libc/stdio/fseek.c (_fseek_r): Likewise.
4339
        * libc/stdio/ftell.c (_ftell_r): Likewise.
4340
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
4341
        * libc/stdio/refill.c (__srefill_r): Likewise.
4342
        * libc/stdio/setvbuf.c (setvbuf): Likewise.
4343
        * libc/stdio/ungetc.c (_ungetc_r): Likewise.
4344
        * libc/stdio/vfprintf.c (__sbprintf): Likewise.
4345
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
4346
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4347
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
4348
        32-bit version if not large file.
4349
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
4350
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
4351
 
4352
        Documentation updates.
4353
        * libc/stdio/ungetc.c: Document ungetc.
4354
        * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
4355
        of files with documentation.
4356
        * libc/stdio/Makefile.in: Regenerate.
4357
        * libc/stdio/stdio.tex: Sort and update stdio documentation index.
4358
 
4359
2007-07-11  Jeff Johnston  
4360
 
4361
        * libc/include/math.h: Fix so C99 functions/macros are accessible
4362
        when -std=c99 is used when compiling and not when using C89.
4363
 
4364
2007-07-06  Corinna Vinschen  
4365
 
4366
        * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
4367
        wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
4368
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
4369
        (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
4370
        wcstoull_r.c.
4371
        (CHEWOUT_FILES): Add .def files accordingly.
4372
        * libc/stdlib/Makefile.in: Regenerate.
4373
        * libc/stdlib/stdlib.tex: Add documentation links for above functions.
4374
        * libc/stdlib/strtoll.c: Fix portability note.
4375
        * libc/stdlib/strtoull.c: Ditto.
4376
        * libc/stdlib/wcstol.c: New file.
4377
        * libc/stdlib/wcstoll.c: New file.
4378
        * libc/stdlib/wcstoll_r.c: New file.
4379
        * libc/stdlib/wcstoul.c: New file.
4380
        * libc/stdlib/wcstoull.c: New file.
4381
        * libc/stdlib/wcstoull_r.c: New file.
4382
 
4383
2007-07-06  Jeff Johnston  
4384
 
4385
        * libc/include/sys/time.h (gettimeofday): Change to proper
4386
        prototype where second parameter is void *.
4387
        * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
4388
        accordingly.
4389
        * libc/include/reent.h: Fix prototype for _gettimeofday_r.
4390
        * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
4391
        * libc/sys/rdos/gettod.c: Ditto.
4392
        * libc/sys/sh/syscalls.c: Ditto.
4393
        * libc/time/time.c (time): Change call to _gettimeofday_r
4394
        to pass NULL as 2nd argument.
4395
 
4396
2007-07-06  Jeff Johnston  
4397
 
4398
        * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
4399
        * libc/sys/linux/intl/l10nflist.c: Ditto.
4400
 
4401
2007-07-04  Corinna Vinschen  
4402
 
4403
        * libc/include/wchar.h: Add prototype for wcsxfrm.
4404
        * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
4405
        (CHEWOUT_FILES): Add wcsxfrm.def.
4406
        * libc/string/Makefile.in: Regenerate.
4407
        * libc/string/wcsxfrm.c: New file.
4408
        * libc/string/wcstrings.tex: Add wcsxfrm.
4409
 
4410
2007-06-28  Corinna Vinschen  
4411
 
4412
        * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
4413
        * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
4414
        stpncpy.c.
4415
        (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
4416
        * libc/string/Makefile.in: Regenerate.
4417
        * libc/string/stpcpy.c: New file.
4418
        * libc/string/stpncpy.c: New file.
4419
        * libc/string/strings.tex: Add stpcpy and stpncpy.
4420
 
4421
2007-06-27  Eric Blake  
4422
 
4423
        Support __func__ in assert, as required by C99.
4424
        * libc/stdlib/assert.c (__assert_func): New function.
4425
        (__assert): Use __assert_func.
4426
        * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
4427
        possible.
4428
 
4429
2007-06-20  Patrick Mansfield  
4430
 
4431
        * libc/machine/spu/perror.c: Pass errno as the second argument to
4432
        the assist call.
4433
 
4434
2007-06-20  Patrick Mansfield  
4435
 
4436
        * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
4437
        defines; expose ftruncate, truncate and sync prototypes.
4438
 
4439
2007-06-20  Patrick Mansfield  
4440
 
4441
        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
4442
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
4443
        visible.
4444
 
4445
2007-06-15  Patrick Mansfield  
4446
 
4447
        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
4448
        from a dropped patch.
4449
        * libc/machine/spu/Makefile.in: Regenerate.
4450
 
4451
2007-06-13  Patrick Mansfield  
4452
 
4453
        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
4454
        it just calls open with appropriate arguments.
4455
        * libc/machine/spu/Makefile.am: Add creat.c.
4456
        * libc/machine/spu/Makefile.in: Regenerate.
4457
 
4458
2007-06-13  Jeff Johnston  
4459
 
4460
        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
4461
        I accidentally dropped.
4462
        * libc/machine/spu/Makefile.in: Regenerated.
4463
 
4464
2007-06-13  Patrick Mansfield  
4465
 
4466
        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
4467
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
4468
        form and move outside of OS flag checks.
4469
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
4470
        * libc/machine/spu/Makefile.in: Regenerate.
4471
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
4472
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
4473
 
4474
2007-06-11  Corinna Vinschen  
4475
 
4476
        * libc/include/sys/unistd.h: Declare confstr for Cygwin.
4477
        Define confstr constants for Cygwin.  Add comment.
4478
 
4479
2007-06-10  Hans-Peter Nilsson  
4480
 
4481
        * libc/sys/mmixware/access.c (access): Do not try to use a magic
4482
        file-handle and a direct syscall, just use _open.
4483
        * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
4484
        file-handle.
4485
 
4486
        * libc/sys/mmixware/_exit.c (_exit): Update comment about
4487
        passing on the exit value.
4488
 
4489
2007-06-08  Jeff Johnston  
4490
 
4491
        * libc/string/strcasestr.c: New file.
4492
        * libc/include/string.h: Add strcasestr.
4493
        * libc/string/strings.tex: Add strcasestr.
4494
        * libc/string/Makefile.am: Ditto.
4495
        * libc/string/Makefile.in: Regenerated.
4496
 
4497
2007-06-06  Christian Groessler  
4498
 
4499
        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
4500
        rnd is done after the last local variable declaration.
4501
 
4502
2007-06-06  Jeff Johnston  
4503
 
4504
        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
4505
 
4506
2007-06-05  Christian Groessler  
4507
 
4508
        * libc/argz/argz_insert.c (argz_insert): Move delta variable
4509
        declaration to top of function in keeping with C89 standard.
4510
 
4511
2007-06-04  Eric Blake  
4512
 
4513
        Implement funopen, fopencookie.
4514
        * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
4515
        Switch to reentrant callbacks.
4516
        * libc/include/stdio.h (funopen): Fix declaration.
4517
        (fopencookie): Declare.
4518
        * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
4519
        (__sseek64, __swrite64): Fix prototypes.
4520
        [__SCLE]: Pull in setmode declaration.
4521
        * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
4522
        reentrancy.
4523
        * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
4524
        (__sseek64, __swrite64): Fix reentrancy.
4525
        * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
4526
        reentrancy.
4527
        * libc/stdio/ftell.c (_ftell_r): Likewise.
4528
        * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
4529
        * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
4530
        * libc/stdio/freopen.c (_freopen_r): Likewise.
4531
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
4532
        * libc/stdio/refill.c (__srefill_r): Likewise.
4533
        * libc/stdio/siscanf.c (eofread): Likewise.
4534
        * libc/stdio/sscanf.c (eofread): Likewise.
4535
        * libc/stdio/vsiscanf.c (eofread1): Likewise.
4536
        * libc/stdio/vsscanf.c (eofread1): Likewise.
4537
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4538
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
4539
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
4540
        * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
4541
        could be fixed.
4542
        * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
4543
        * libc/stdio/funopen.c (_funopen_r, funopen): New file.
4544
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
4545
        new files.
4546
        * libc/stdio/Makefile.in: Regenerate.
4547
 
4548
2007-05-29  Eric Blake  
4549
 
4550
        Avoid more compiler warnings.
4551
        * libc/stdlib/btowc.c: Add missing header.
4552
        * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
4553
        * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
4554
        * libc/stdlib/wctob.c: Add missing header.
4555
        * libc/string/strcpy.c (strcpy): Avoid warnings.
4556
        * libc/string/strrchr.c (strrchr): Likewise.
4557
 
4558
2007-05-29  Corinna Vinschen  
4559
 
4560
        * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
4561
        argument.
4562
        * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
4563
        * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
4564
        on empty input strings.
4565
        * libc/argz/argz_extract.c (argz_extract): Check argz_len before
4566
        looping through argz.
4567
        * libc/argz/argz_stringify.c (argz_stringify): Ditto.
4568
 
4569
2007-05-27  Brian Dessent  
4570
 
4571
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
4572
        handling %p.
4573
 
4574
2007-05-25  Eric Blake  
4575
 
4576
        * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
4577
 
4578
2007-05-24  Steve Ellcey  
4579
            Charles Wilson  
4580
 
4581
        * libtool.m4: removed
4582
        * configure.in: invoke _LD_DECL_SED before conditionally initializing
4583
        libtool.  Move AC_PROG_AWK outside conditional.
4584
        * libc/sys/linux/configure.in: Ditto.
4585
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
4586
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4587
        * libc/sys/linux/machine/i386/configure.in: Ditto.
4588
 
4589
        * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
4590
        initializing libtool.
4591
        * libc/configure.in: Ditto.
4592
        * libc/machine/configure.in: Ditto.
4593
        * libc/machine/i386/configure.in: Ditto.
4594
        * libc/sys/configure.in: Ditto.
4595
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4596
        * libc/sys/linux/machine/configure.in: Ditto.
4597
        * libm/configure.in: Ditto.
4598
        * libm/machine/configure.in: Ditto.
4599
 
4600
        * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
4601
        * doc/Makefile.am: Ditto.
4602
        * iconvdata/Makefile.am: Ditto.
4603
        * libc/Makefile.am: Ditto.
4604
        * libc/machine/Makefile.am: Ditto.
4605
        * libc/machine/a29k/Makefile.am: Ditto.
4606
        * libc/machine/arm/Makefile.am: Ditto.
4607
        * libc/machine/bfin/Makefile.am: Ditto.
4608
        * libc/machine/cris/Makefile.am: Ditto.
4609
        * libc/machine/crx/Makefile.am: Ditto.
4610
        * libc/machine/d10v/Makefile.am: Ditto.
4611
        * libc/machine/d30v/Makefile.am: Ditto.
4612
        * libc/machine/fr30/Makefile.am: Ditto.
4613
        * libc/machine/frv/Makefile.am: Ditto.
4614
        * libc/machine/h8300/Makefile.am: Ditto.
4615
        * libc/machine/h8500/Makefile.am: Ditto.
4616
        * libc/machine/hppa/Makefile.am: Ditto.
4617
        * libc/machine/i386/Makefile.am: Ditto.
4618
        * libc/machine/i960/Makefile.am: Ditto.
4619
        * libc/machine/iq2000/Makefile.am: Ditto.
4620
        * libc/machine/m32c/Makefile.am: Ditto.
4621
        * libc/machine/m32r/Makefile.am: Ditto.
4622
        * libc/machine/m68hc11/Makefile.am: Ditto.
4623
        * libc/machine/m68k/Makefile.am: Ditto.
4624
        * libc/machine/m88k/Makefile.am: Ditto.
4625
        * libc/machine/mips/Makefile.am: Ditto.
4626
        * libc/machine/mn10200/Makefile.am: Ditto.
4627
        * libc/machine/mn10300/Makefile.am: Ditto.
4628
        * libc/machine/mt/Makefile.am: Ditto.
4629
        * libc/machine/necv70/Makefile.am: Ditto.
4630
        * libc/machine/powerpc/Makefile.am: Ditto.
4631
        * libc/machine/sh/Makefile.am: Ditto.
4632
        * libc/machine/sparc/Makefile.am: Ditto.
4633
        * libc/machine/spu/Makefile.am: Ditto.
4634
        * libc/machine/tic4x/Makefile.am: Ditto.
4635
        * libc/machine/tic80/Makefile.am: Ditto.
4636
        * libc/machine/v850/Makefile.am: Ditto.
4637
        * libc/machine/w65/Makefile.am: Ditto.
4638
        * libc/machine/xscale/Makefile.am: Ditto.
4639
        * libc/machine/xstormy16/Makefile.am: Ditto.
4640
        * libc/machine/z8k/Makefile.am: Ditto.
4641
        * libc/sys/Makefile.am: Ditto.
4642
        * libc/sys/a29khif/Makefile.am: Ditto.
4643
        * libc/sys/arc/Makefile.am: Ditto.
4644
        * libc/sys/arm/Makefile.am: Ditto.
4645
        * libc/sys/d10v/Makefile.am: Ditto.
4646
        * libc/sys/decstation/Makefile.am: Ditto.
4647
        * libc/sys/h8300hms/Makefile.am: Ditto.
4648
        * libc/sys/h8500hms/Makefile.am: Ditto.
4649
        * libc/sys/linux/Makefile.am: Ditto.
4650
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4651
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
4652
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4653
        * libc/sys/linux/machine/Makefile.am: Ditto.
4654
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4655
        * libc/sys/m88kbug/Makefile.am: Ditto.
4656
        * libc/sys/mmixware/Makefile.am: Ditto.
4657
        * libc/sys/netware/Makefile.am: Ditto.
4658
        * libc/sys/rdos/Makefile.am: Ditto.
4659
        * libc/sys/rtems/Makefile.am: Ditto.
4660
        * libc/sys/sh/Makefile.am: Ditto.
4661
        * libc/sys/sparc64/Makefile.am: Ditto.
4662
        * libc/sys/sun4/Makefile.am: Ditto.
4663
        * libc/sys/sysmec/Makefile.am: Ditto.
4664
        * libc/sys/sysnec810/Makefile.am: Ditto.
4665
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4666
        * libc/sys/sysvi386/Makefile.am: Ditto.
4667
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4668
        * libc/sys/tic80/Makefile.am: Ditto.
4669
        * libc/sys/w65/Makefile.am: Ditto.
4670
        * libc/sys/z8ksim/Makefile.am: Ditto.
4671
        * libm/Makefile.am: Ditto.
4672
        * libm/machine/Makefile.am: Ditto.
4673
        * libm/machine/i386/Makefile.am: Ditto.
4674
        * libm/machine/spu/Makefile.am: Ditto.
4675
 
4676
        * aclocal.m4: Regenerate.
4677
        * iconvdata/aclocal.m4: Regenerate.
4678
        * libc/aclocal.m4: Regenerate.
4679
        * libc/machine/aclocal.m4: Regenerate.
4680
        * libc/machine/i386/aclocal.m4: Regenerate.
4681
        * libc/sys/aclocal.m4: Regenerate.
4682
        * libc/sys/linux/aclocal.m4: Regenerate.
4683
        * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
4684
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
4685
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
4686
        * libc/sys/linux/machine/aclocal.m4: Regenerate.
4687
        * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
4688
        * libm/aclocal.m4: Regenerate.
4689
        * libm/machine/aclocal.m4: Regenerate.
4690
        * libm/machine/i386/aclocal.m4: Regenerate.
4691
 
4692
        * Makefile.in: Regenerate.
4693
        * doc/Makefile.in: Regenerate.
4694
        * iconvdata/Makefile.in: Regenerate.
4695
        * libc/Makefile.in: Regenerate.
4696
        * libc/argz/Makefile.in: Regenerate.
4697
        * libc/ctype/Makefile.in: Regenerate.
4698
        * libc/errno/Makefile.in: Regenerate.
4699
        * libc/iconv/Makefile.in: Regenerate.
4700
        * libc/iconv/ccs/Makefile.in: Regenerate.
4701
        * libc/iconv/ccs/binary/Makefile.in: Regenerate.
4702
        * libc/iconv/ces/Makefile.in: Regenerate.
4703
        * libc/iconv/lib/Makefile.in: Regenerate.
4704
        * libc/locale/Makefile.in: Regenerate.
4705
        * libc/machine/Makefile.in: Regenerate.
4706
        * libc/machine/a29k/Makefile.in: Regenerate.
4707
        * libc/machine/arm/Makefile.in: Regenerate.
4708
        * libc/machine/bfin/Makefile.in: Regenerate.
4709
        * libc/machine/cris/Makefile.in: Regenerate.
4710
        * libc/machine/crx/Makefile.in: Regenerate.
4711
        * libc/machine/d10v/Makefile.in: Regenerate.
4712
        * libc/machine/d30v/Makefile.in: Regenerate.
4713
        * libc/machine/fr30/Makefile.in: Regenerate.
4714
        * libc/machine/frv/Makefile.in: Regenerate.
4715
        * libc/machine/h8300/Makefile.in: Regenerate.
4716
        * libc/machine/h8500/Makefile.in: Regenerate.
4717
        * libc/machine/hppa/Makefile.in: Regenerate.
4718
        * libc/machine/i386/Makefile.in: Regenerate.
4719
        * libc/machine/i960/Makefile.in: Regenerate.
4720
        * libc/machine/iq2000/Makefile.in: Regenerate.
4721
        * libc/machine/m32c/Makefile.in: Regenerate.
4722
        * libc/machine/m32r/Makefile.in: Regenerate.
4723
        * libc/machine/m68hc11/Makefile.in: Regenerate.
4724
        * libc/machine/m68k/Makefile.in: Regenerate.
4725
        * libc/machine/m88k/Makefile.in: Regenerate.
4726
        * libc/machine/mips/Makefile.in: Regenerate.
4727
        * libc/machine/mn10200/Makefile.in: Regenerate.
4728
        * libc/machine/mn10300/Makefile.in: Regenerate.
4729
        * libc/machine/mt/Makefile.in: Regenerate.
4730
        * libc/machine/necv70/Makefile.in: Regenerate.
4731
        * libc/machine/powerpc/Makefile.in: Regenerate.
4732
        * libc/machine/sh/Makefile.in: Regenerate.
4733
        * libc/machine/sparc/Makefile.in: Regenerate.
4734
        * libc/machine/spu/Makefile.in: Regenerate.
4735
        * libc/machine/tic4x/Makefile.in: Regenerate.
4736
        * libc/machine/tic80/Makefile.in: Regenerate.
4737
        * libc/machine/v850/Makefile.in: Regenerate.
4738
        * libc/machine/w65/Makefile.in: Regenerate.
4739
        * libc/machine/xscale/Makefile.in: Regenerate.
4740
        * libc/machine/xstormy16/Makefile.in: Regenerate.
4741
        * libc/machine/z8k/Makefile.in: Regenerate.
4742
        * libc/misc/Makefile.in: Regenerate.
4743
        * libc/posix/Makefile.in: Regenerate.
4744
        * libc/reent/Makefile.in: Regenerate.
4745
        * libc/search/Makefile.in: Regenerate.
4746
        * libc/signal/Makefile.in: Regenerate.
4747
        * libc/stdio/Makefile.in: Regenerate.
4748
        * libc/stdio64/Makefile.in: Regenerate.
4749
        * libc/stdlib/Makefile.in: Regenerate.
4750
        * libc/string/Makefile.in: Regenerate.
4751
        * libc/sys/Makefile.in: Regenerate.
4752
        * libc/sys/a29khif/Makefile.in: Regenerate.
4753
        * libc/sys/arc/Makefile.in: Regenerate.
4754
        * libc/sys/arm/Makefile.in: Regenerate.
4755
        * libc/sys/d10v/Makefile.in: Regenerate.
4756
        * libc/sys/decstation/Makefile.in: Regenerate.
4757
        * libc/sys/h8300hms/Makefile.in: Regenerate.
4758
        * libc/sys/h8500hms/Makefile.in: Regenerate.
4759
        * libc/sys/linux/Makefile.in: Regenerate.
4760
        * libc/sys/linux/argp/Makefile.in: Regenerate.
4761
        * libc/sys/linux/cmath/Makefile.in: Regenerate.
4762
        * libc/sys/linux/dl/Makefile.in: Regenerate.
4763
        * libc/sys/linux/iconv/Makefile.in: Regenerate.
4764
        * libc/sys/linux/intl/Makefile.in: Regenerate.
4765
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
4766
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
4767
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
4768
        * libc/sys/linux/machine/Makefile.in: Regenerate.
4769
        * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
4770
        * libc/sys/linux/net/Makefile.in: Regenerate.
4771
        * libc/sys/linux/stdlib/Makefile.in: Regenerate.
4772
        * libc/sys/m88kbug/Makefile.in: Regenerate.
4773
        * libc/sys/mmixware/Makefile.in: Regenerate.
4774
        * libc/sys/netware/Makefile.in: Regenerate.
4775
        * libc/sys/rdos/Makefile.in: Regenerate.
4776
        * libc/sys/rtems/Makefile.in: Regenerate.
4777
        * libc/sys/sh/Makefile.in: Regenerate.
4778
        * libc/sys/sparc64/Makefile.in: Regenerate.
4779
        * libc/sys/sun4/Makefile.in: Regenerate.
4780
        * libc/sys/sysmec/Makefile.in: Regenerate.
4781
        * libc/sys/sysnec810/Makefile.in: Regenerate.
4782
        * libc/sys/sysnecv850/Makefile.in: Regenerate.
4783
        * libc/sys/sysvi386/Makefile.in: Regenerate.
4784
        * libc/sys/sysvnecv70/Makefile.in: Regenerate.
4785
        * libc/sys/tic80/Makefile.in: Regenerate.
4786
        * libc/sys/w65/Makefile.in: Regenerate.
4787
        * libc/sys/z8ksim/Makefile.in: Regenerate.
4788
        * libc/syscalls/Makefile.in: Regenerate.
4789
        * libc/time/Makefile.in: Regenerate.
4790
        * libc/unix/Makefile.in: Regenerate.
4791
        * libm/Makefile.in: Regenerate.
4792
        * libm/common/Makefile.in: Regenerate.
4793
        * libm/machine/Makefile.in: Regenerate.
4794
        * libm/machine/i386/Makefile.in: Regenerate.
4795
        * libm/machine/spu/Makefile.in: Regenerate.
4796
        * libm/math/Makefile.in: Regenerate.
4797
        * libm/mathfp/Makefile.in: Regenerate.
4798
 
4799
        * configure: Regenerate.
4800
        * iconvdata/configure: Regenerate.
4801
        * libc/configure: Regenerate.
4802
        * libc/machine/configure: Regenerate.
4803
        * libc/machine/i386/configure: Regenerate.
4804
        * libc/sys/configure: Regenerate.
4805
        * libc/sys/linux/configure: Regenerate.
4806
        * libc/sys/linux/linuxthreads/configure: Regenerate.
4807
        * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
4808
        * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
4809
        * libc/sys/linux/machine/configure: Regenerate.
4810
        * libc/sys/linux/machine/i386/configure: Regenerate.
4811
        * libm/configure: Regenerate.
4812
        * libm/machine/configure: Regenerate.
4813
        * libm/machine/i386/configure: Regenerate.
4814
 
4815
2007-05-23  Eric Blake  
4816
 
4817
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
4818
        sizeof(void*) is 8 but sizeof(long) is 4.
4819
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
4820
        of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
4821
        to fix reentrancy and bug on encoding error in multibyte locales.
4822
        Always return EOF on read error.
4823
 
4824
2007-05-23 Patrick Mansfield 
4825
 
4826
        * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
4827
        prototype.
4828
        * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
4829
        instead of the slot 0 value, remove any now unused variables, and
4830
        for some cases, now store the result in an int vs int*.
4831
        * libc/machine/spu/feof.c: Ditto.
4832
        * libc/machine/spu/ferror.c: Ditto.
4833
        * libc/machine/spu/fflush.c: Ditto.
4834
        * libc/machine/spu/fgetc.c: Ditto.
4835
        * libc/machine/spu/fgetpos.c: Ditto.
4836
        * libc/machine/spu/fgets.c: Ditto.
4837
        * libc/machine/spu/fileno.c: Ditto.
4838
        * libc/machine/spu/fopen.c: Ditto.
4839
        * libc/machine/spu/fprintf.c: Ditto.
4840
        * libc/machine/spu/fputc.c: Ditto.
4841
        * libc/machine/spu/fputs.c: Ditto.
4842
        * libc/machine/spu/fread.c: Ditto.
4843
        * libc/machine/spu/freopen.c: Ditto.
4844
        * libc/machine/spu/fscanf.c: Ditto.
4845
        * libc/machine/spu/fseek.c: Ditto.
4846
        * libc/machine/spu/fsetpos.c: Ditto.
4847
        * libc/machine/spu/ftell.c: Ditto.
4848
        * libc/machine/spu/fwrite.c: Ditto.
4849
        * libc/machine/spu/getc.c: Ditto.
4850
        * libc/machine/spu/getchar.c: Ditto.
4851
        * libc/machine/spu/gets.c: Ditto.
4852
        * libc/machine/spu/printf.c: Ditto.
4853
        * libc/machine/spu/putc.c: Ditto.
4854
        * libc/machine/spu/putchar.c: Ditto.
4855
        * libc/machine/spu/puts.c: Ditto.
4856
        * libc/machine/spu/remove.c: Ditto.
4857
        * libc/machine/spu/rename.c: Ditto.
4858
        * libc/machine/spu/scanf.c: Ditto.
4859
        * libc/machine/spu/setvbuf.c: Ditto.
4860
        * libc/machine/spu/snprintf.c: Ditto.
4861
        * libc/machine/spu/sprintf.c: Ditto.
4862
        * libc/machine/spu/sscanf.c: Ditto.
4863
        * libc/machine/spu/tmpfile.c: Ditto.
4864
        * libc/machine/spu/tmpnam.c: Ditto.
4865
        * libc/machine/spu/ungetc.c: Ditto.
4866
        * libc/machine/spu/vfprintf.c: Ditto.
4867
        * libc/machine/spu/vfscanf.c: Ditto.
4868
        * libc/machine/spu/vprintf.c: Ditto.
4869
        * libc/machine/spu/vscanf.c: Ditto.
4870
        * libc/machine/spu/vsnprintf.c: Ditto.
4871
        * libc/machine/spu/vsprintf.c: Ditto.
4872
        * libc/machine/spu/vsscanf.c: Ditto.
4873
 
4874
2007-05-23  Eric Blake  
4875
 
4876
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
4877
        Avoid warning when !FLOATING_POINT.
4878
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
4879
        slightly.
4880
 
4881
2007-05-23  Corinna Vinschen  
4882
 
4883
        * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
4884
        to zero.
4885
        * libc/include/argz.h: Guard against multiple inclusion.  Guard for
4886
        use with C++.
4887
 
4888
2007-05-18  Eric Blake  
4889
 
4890
        * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
4891
        compilers.
4892
        * libc/stdio/vfscanf.c: Likewise.
4893
 
4894
2007-05-17  Cary R.   yahoo.com>
4895
 
4896
        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
4897
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
4898
        * libm/math/wf_atan2.c: Ditto.
4899
 
4900
2007-05-17  Yaakov Selkowitz   users.sourceforge.net>
4901
 
4902
        * libm/common/Makefile.am: Add support for exp10, exp10f,
4903
        pow10, and pow10f functions.
4904
        * libm/common/Makefile.in: Regenerated.
4905
        * libm/common/s_pow10.c: New file.
4906
        * libm/common/sf_pow10.c: Ditto.
4907
        * libm/common/s_exp10.c: Ditto.
4908
        * libm/common/sf_exp10.c: Ditto.
4909
        * libc/include/math.h [!pow10]: New pow10 prototype.
4910
        [!pow10f]: New pow10f prototype.
4911
        [!exp10]: New exp10 prototype.
4912
        [!exp10f]: New exp10f prototype.
4913
 
4914
2007-05-17  Charles Wilson  
4915
 
4916
        * stdio/tmpfile.c: Include .
4917
        * stdio64/tmpfile64.c: Ditto.
4918
 
4919
2007-05-16  Eric Blake  
4920
 
4921
        Close security hole in tmpfile.
4922
        * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
4923
        generation and opening the fd.
4924
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
4925
 
4926
        * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
4927
        (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
4928
        required by POSIX.
4929
        * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
4930
        avoid clash with .
4931
 
4932
        * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
4933
        * libc/search/hash.c (__hash_open): Likewise.
4934
 
4935
2007-05-14 Eric Blake 
4936
 
4937
        Reduce stack size of *printf.
4938
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
4939
        in %f.  Avoid malloc when possible for %S.
4940
        (BUF): Improve stack locality by using smaller size.
4941
        (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
4942
        (exponent): Use smaller stack size.
4943
 
4944
2007-05-11  Eric Blake  
4945
 
4946
        Minimize printf/scanf size on platforms that don't need C99.
4947
        * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
4948
        * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
4949
        * configure.in (newlib-io-c99-formats): New configure option.
4950
        (_WANT_IO_C99_FORMATS): Define appropriately.
4951
        * configure.host (*-linux*, cygwin): Default c99-formats to yes.
4952
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
4953
        Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
4954
        * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
4955
        Likewise.
4956
        * configure: Regenerate.
4957
 
4958
        * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
4959
        (get_arg): Support '%a' and '%A'.
4960
 
4961
2007-05-09  Eric Blake  
4962
 
4963
        Allow zero size with non-null buf in *asnprintf.
4964
        * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
4965
        user's buf.
4966
        * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
4967
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
4968
        * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
4969
 
4970
2007-05-07  Charles Wilson  
4971
 
4972
        * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
4973
 
4974
2007-05-03  Eric Blake  
4975
 
4976
        Add support for asnprintf, and improve *printf documentation.
4977
        * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
4978
        (ELIX_2_SOURCES): ...to this.
4979
        (ELIX_4_SOURCES): Add new variable.  Build asnprintf.
4980
        (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
4981
        (CHEWOUT_FILES): Include diprintf in documentation.
4982
        * libc/stdio/Makefile.in: Regenerate.
4983
        * libc/stdio/diprintf.c: Improve documentation.
4984
        * libc/stdio/dprintf.c: Likewise.
4985
        * libc/stdio/siprintf.c: Likewise.
4986
        * libc/stdio/sprintf.c: Likewise.
4987
        * libc/stdio/vfprintf.c: Likewise.
4988
        * libc/stdio/viprintf.c: Likewise.
4989
        * libc/stdio/vsniprintf.c: Consolidate documentation.
4990
        * libc/stdio/asiprintf.c: Refer to documentation.
4991
        * libc/stdio/asprintf.c: Likewise.
4992
        * libc/stdio/fiprintf.c: Likewise.
4993
        * libc/stdio/fprintf.c: Likewise.
4994
        * libc/stdio/iprintf.c: Likewise.
4995
        * libc/stdio/printf.c: Likewise.
4996
        * libc/stdio/sniprintf.c: Likewise.
4997
        * libc/stdio/vdiprintf.c: Likewise.
4998
        * libc/stdio/vdprintf.c: Likewise.
4999
        * libc/stdio/vsiprintf.c: Likewise.
5000
        * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
5001
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
5002
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
5003
        * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
5004
        file.
5005
        * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
5006
        * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
5007
        typical case.
5008
        * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
5009
        * libc/include/stdio.h: Add prototypes for new functions; sort
5010
        existing functions.
5011
 
5012
2007-05-03  Kazu Hirata  
5013
 
5014
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
5015
        and memset.S.
5016
        * libc/machine/m68k/Makefile.in: Regenerate.
5017
        * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
5018
        * libc/machine/m68k/memset.S: Likewise.
5019
 
5020
2007-05-01  Eric Blake  
5021
 
5022
        * libc/stdio64/local64.h: Delete, move contents to...
5023
        * libc/stdio/local.h: ...here.
5024
        * libc/stdio64/fdopen64.c: Update includes.
5025
        * libc/stdio64/fopen64.c: Likewise.
5026
        * libc/stdio64/freopen64.c: Likewise.
5027
        * libc/stdio64/fseeko64.c: Likewise.
5028
        * libc/stdio64/ftello64.c: Likewise.
5029
        * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
5030
        and stderr with 64-bit offset.
5031
        * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
5032
        * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
5033
        * libc/stdio/mktemp.c (_gettemp): Likewise.
5034
 
5035
2007-05-01  Cary R.   yahoo.com>
5036
 
5037
        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
5038
        to treatment of NaN and +-inf arguments.
5039
        * libm/math/ef_pow.c: Ditto.
5040
        * libm/math/w_pow.c: Ditto.
5041
        * libm/math/wf_pow.c: Ditto.
5042
        * libm/math/w_acos.c: Fix domain errors to return NaN.
5043
        * libm/math/w_asin.c: Ditto.
5044
        * libm/math/wf_acos.c: Ditto.
5045
        * libm/math/wf_asin.c: Ditto.
5046
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
5047
        * libm/math/wf_log.c: Ditto.
5048
        * libm/math/wf_log10.c: Ditto.
5049
        * libm/math/w_log10.c: Ditto.
5050
 
5051
2007-04-27  Jeff Johnston  
5052
 
5053
        * libc/machine/m68k/Makefile.am: Temporarily remove
5054
        memcpy.S and memset.S until logic can be confirmed for
5055
        !(__mcoldfile__) case.
5056
        * libc/machine/m68k/Makefile.in: Regenerated.
5057
 
5058
2007-04-27  Kazu Hirata  
5059
 
5060
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
5061
        and memset.S.
5062
        * libc/machine/m68k/Makefile.in: Regenerate.
5063
        * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
5064
 
5065
2007-04-26  Patrick Mansfield 
5066
 
5067
        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
5068
        overridden via machine/ieeefp.h.
5069
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
5070
        macros for isnan and related macros.
5071
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
5072
        overridden via machine/ieeefp.h.
5073
        * libm/machine/spu/Makefile.am: Add new files.
5074
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
5075
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
5076
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
5077
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
5078
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
5079
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
5080
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
5081
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
5082
 
5083
2007-04-25  Jeff Johnston  
5084
 
5085
        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
5086
        * libm/common/sf_fpclassify.c: ...here.  New file.
5087
        * libm/common/Makefile.am: Add sf_fpclassify.c.
5088
        * libm/common/Makefile.in: Regenerated.
5089
 
5090
2007-04-25  Patrick Mansfield 
5091
 
5092
        * libc/machine/spu/sys/errno.h: New file, so spu errno values match
5093
        ppu linux values. This file is a copy of the cris/sys/errno.h plus
5094
        a few changes (see spu errno.h comments).
5095
 
5096
2007-04-25  Eric Blake  
5097
 
5098
        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
5099
        that promote to int.
5100
 
5101
2007-04-25  Patrick Mansfield 
5102
 
5103
        * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
5104
        we clear the proper bits in the fpscr, and don't set some random ones.
5105
 
5106
2007-04-24  Eric Blake  
5107
 
5108
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
5109
        or NaN with %05f.
5110
 
5111
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
5112
        _MB_CAPABLE.
5113
 
5114
        * libc/include/limits.h (NL_ARGMAX): Define a default value.
5115
        * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
5116
        NL_ARGMAX, if present.
5117
 
5118
2007-04-23  Brian Dessent  
5119
 
5120
        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
5121
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
5122
        trailing decimal is printed.
5123
 
5124
2007-04-23  Ralf Wildenhues   gmx.de>
5125
 
5126
        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
5127
        file.  Override Autoconf-2.59's version of these macros with
5128
        fixed handling of multiple adjacent whitespace in arguments.
5129
        * aclocal.m4: Regenerated forcefully.
5130
        * configure: Ditto.
5131
        * Makefile.in: Ditto.
5132
        * libc/*Makefile.in: Ditto.
5133
        * libc/*aclocal.m4: Ditto.
5134
        * libc/*configure: Ditto.
5135
        * libm/*Makefile.in: Ditto.
5136
        * libm/*aclocal.m4: Ditto.
5137
        * libm/*configure: Ditto.
5138
 
5139
2007-04-23  Jeff Johnston  
5140
 
5141
        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
5142
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
5143
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
5144
        * libc/sys/arc/Makefile.in: Regenerated.
5145
 
5146
2007-04-17  Brian Dessent  
5147
 
5148
        * libc/stdio/sscanf.c: Update documentation comments.
5149
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
5150
 
5151
2007-04-12  Eric Blake  
5152
 
5153
        * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
5154
        (chclass): Recognize 'F', 'X', 'n', and not 'W'.
5155
        (get_arg): Handle %1$F, %1$n.
5156
 
5157
2007-04-10  Eric Blake  
5158
 
5159
        * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
5160
        CFLAGS=-O0.
5161
 
5162
2007-04-09  Eric Blake  
5163
 
5164
        * libc/include/stdio.h: Add gcc format attributes to printf and
5165
        scanf families.
5166
 
5167
2007-04-09  Joel Schopp 
5168
 
5169
        * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
5170
        even if the passed in length n is shorter than the source string.
5171
        This matches both the non-spu specific and the glibc strxfrm
5172
        behaviour.
5173
 
5174
2007-04-04  Mark Mitchell  
5175
 
5176
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
5177
        functions registering additional atexit functions.
5178
 
5179
        * testsuite/lib/flags.exp (newlib_include_flags): Drop
5180
        -I${newlib_dir}.
5181
 
5182
2007-04-04  Patrick Mansfield 
5183
 
5184
        * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
5185
        prototype.
5186
        * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
5187
        * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
5188
        * libc/machine/spu/fclose.c: Ditto.
5189
        * libc/machine/spu/feof.c: Ditto.
5190
        * libc/machine/spu/ferror.c: Ditto.
5191
        * libc/machine/spu/fflush.c: Ditto.
5192
        * libc/machine/spu/fgetc.c: Ditto.
5193
        * libc/machine/spu/fgetpos.c: Ditto.
5194
        * libc/machine/spu/fgets.c: Ditto.
5195
        * libc/machine/spu/fileno.c: Ditto.
5196
        * libc/machine/spu/fopen.c: Ditto.
5197
        * libc/machine/spu/fprintf.c: Ditto.
5198
        * libc/machine/spu/fputc.c: Ditto.
5199
        * libc/machine/spu/fputs.c: Ditto.
5200
        * libc/machine/spu/fread.c: Ditto.
5201
        * libc/machine/spu/freopen.c: Ditto.
5202
        * libc/machine/spu/fscanf.c: Ditto.
5203
        * libc/machine/spu/fseek.c: Ditto.
5204
        * libc/machine/spu/fsetpos.c: Ditto.
5205
        * libc/machine/spu/ftell.c: Ditto.
5206
        * libc/machine/spu/fwrite.c: Ditto.
5207
        * libc/machine/spu/getc.c: Ditto.
5208
        * libc/machine/spu/getchar.c: Ditto.
5209
        * libc/machine/spu/gets.c: Ditto.
5210
        * libc/machine/spu/perror.c: Ditto.
5211
        * libc/machine/spu/printf.c: Ditto.
5212
        * libc/machine/spu/putc.c: Ditto.
5213
        * libc/machine/spu/putchar.c: Ditto.
5214
        * libc/machine/spu/puts.c: Ditto.
5215
        * libc/machine/spu/remove.c: Ditto.
5216
        * libc/machine/spu/rename.c: Ditto.
5217
        * libc/machine/spu/rewind.c: Ditto.
5218
        * libc/machine/spu/scanf.c: Ditto.
5219
        * libc/machine/spu/setbuf.c: Ditto.
5220
        * libc/machine/spu/setvbuf.c: Ditto.
5221
        * libc/machine/spu/snprintf.c: Ditto.
5222
        * libc/machine/spu/sprintf.c: Ditto.
5223
        * libc/machine/spu/sscanf.c: Ditto.
5224
        * libc/machine/spu/tmpfile.c: Ditto.
5225
        * libc/machine/spu/tmpnam.c: Ditto.
5226
        * libc/machine/spu/ungetc.c: Ditto.
5227
        * libc/machine/spu/vfprintf.c: Ditto.
5228
        * libc/machine/spu/vfscanf.c: Ditto.
5229
        * libc/machine/spu/vprintf.c: Ditto.
5230
        * libc/machine/spu/vscanf.c: Ditto.
5231
        * libc/machine/spu/vsnprintf.c: Ditto.
5232
        * libc/machine/spu/vsprintf.c: Ditto.
5233
        * libc/machine/spu/vsscanf.c: Ditto.
5234
 
5235
2007-04-04  Jeff Johnston  
5236
 
5237
        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
5238
 
5239
2007-04-04  Eric Blake  
5240
 
5241
        * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
5242
        (asiprintf): Avoid overhead.
5243
        * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
5244
        (asprintf): Avoid overhead.
5245
        * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
5246
        * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
5247
        * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
5248
        (fiprintf): Avoid overhead.
5249
        * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
5250
        (fprintf): Avoid overhead.
5251
        * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
5252
        (iprintf): Avoid overhead.
5253
        * libc/stdio/printf.c (_printf_r): Use _DEFUN.
5254
        (printf): Avoid overhead.
5255
        * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
5256
        * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
5257
        * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
5258
        * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
5259
        * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
5260
        * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
5261
        * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
5262
        * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
5263
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
5264
        vdiprintf.c.
5265
        * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
5266
        (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
5267
 
5268
2007-03-30  Dave Korn  
5269
 
5270
        * libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
5271
        conflicting inline semantics between C99 and GNU89.
5272
        (__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
5273
        compatible with -fkeep-inline-functions usage.
5274
        (__sputc_r):  Likewise for consistency even though disabled.
5275
 
5276
2007-03-29  Nick Clifton  
5277
 
5278
        Reflect changes made to generic vfprintf.c:
5279
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
5280
        and add a "struct reent *" argument.
5281
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
5282
        argument and call _VFPRINTF_R instead of VFPRINTF.
5283
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
5284
        Fix uses of __sprint() and __sbprintf.
5285
 
5286
2007-03-20  Nick Clifton  
5287
 
5288
        Reflect changes made to generic vfprintf.c:
5289
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
5290
        and add a "struct reent *" argument.
5291
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
5292
        argument and call _VFPRINTF_R instead of VFPRINTF.
5293
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
5294
        Fix uses of __sprint() and __sbprintf.
5295
 
5296
2007-03-16  Charles Wilson  
5297
 
5298
        * libc/argz/argz_insert.c: "before" pointer is
5299
        invalid after *argz realloc.  Compute offset
5300
        between "before" and *argz, and use it after
5301
        reallocation instead.
5302
 
5303
2007-03-16  Eric Blake  
5304
 
5305
        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
5306
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
5307
 
5308
2007-03-15  Jeff Johnston  
5309
 
5310
        * configure.in: Add new --enable-newlib-reent-small option.
5311
        * configure: Regenerated.
5312
        * acconfig.h: Add _WANT_REENT_SMALL.
5313
        * newlib.hin: Regenerated minus PACKAGE macros to add
5314
        _WANT_REENT_SMALL macro.
5315
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
5316
        if not already set.
5317
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
5318
        there is no buffer.
5319
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
5320
        use reentrant pointer passed in when resetting the file
5321
        pointer to one of the std streams.
5322
 
5323
2007-03-15  Eric Blake  
5324
 
5325
        * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
5326
        (__smakebuf): Rename...
5327
        (__smakebuf_r): to this.
5328
        * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
5329
        * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
5330
        allocation, then rename...
5331
        (__smakebuf_r): ...to this and fix reentrancy.
5332
        * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
5333
        allocation, then rename...
5334
        (__swsetup_r): ...to this and fix reentrancy.
5335
        * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
5336
        * libc/stdio/refill.c (__srefill_r): Likewise.
5337
        * libc/stdio/fclose.c (_fclose_r): Likewise.
5338
        * libc/stdio/fread.c (_fread_r): Likewise.
5339
        * libc/stdio/freopen.c (_freopen_r): Likewise.
5340
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
5341
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
5342
        * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
5343
        failed asprintf allocation, and fix reentrancy.
5344
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
5345
        as required by POSIX.
5346
        * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
5347
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
5348
        * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
5349
 
5350
2007-03-12  Eric Blake  
5351
 
5352
        * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
5353
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
5354
        allocation to caller.
5355
        * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
5356
        * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
5357
        * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
5358
 
5359
2007-02-23  Jeff Johnston  
5360
 
5361
        * libm/math/w_pow.c: Fix typo in documentation comment.
5362
 
5363
2007-02-21  Patrick Mansfield 
5364
 
5365
        * libc/reent/timer.c: Removed (split into two new files).
5366
        * libc/reent/timesr.c: New file for _times_r.
5367
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
5368
        * reent/Makefile.in: Remove timer.c, add timesr.c and
5369
        gettimeofdayr.c.
5370
        * libc/reent/Makefile.am: Regenerate.
5371
 
5372
2007-02-20  Patrick Mansfield 
5373
 
5374
        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
5375
 
5376
2007-02-20  Kazunori Asayama 
5377
 
5378
        * libc/machine/spu/Makefile.am: Add new objects.
5379
        * libc/machine/spu/Makefile.in: Regenerated.
5380
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
5381
        integer-only version.
5382
        * libc/machine/spu/fiscanf.c: Ditto.
5383
        * libc/machine/spu/iprintf.c: Ditto.
5384
        * libc/machine/spu/iscanf.c: Ditto.
5385
        * libc/machine/spu/siprintf.c: Ditto.
5386
        * libc/machine/spu/siscanf.c: Ditto.
5387
        * libc/machine/spu/sniprintf.c: Ditto.
5388
        * libc/machine/spu/vfiprintf.c: Ditto.
5389
        * libc/machine/spu/vfiscanf.c: Ditto.
5390
        * libc/machine/spu/viprintf.c: Ditto.
5391
        * libc/machine/spu/viscanf.c: Ditto.
5392
        * libc/machine/spu/vsiprintf.c: Ditto.
5393
        * libc/machine/spu/vsiscanf.c: Ditto.
5394
        * libc/machine/spu/vsniprintf.c: Ditto.
5395
        * libc/machine/spu/fprintf.c: Add support for integer-only
5396
        version.
5397
        * libc/machine/spu/fscanf.c: Ditto.
5398
        * libc/machine/spu/printf.c: Ditto.
5399
        * libc/machine/spu/scanf.c: Ditto.
5400
        * libc/machine/spu/snprintf.c: Ditto.
5401
        * libc/machine/spu/sprintf.c: Ditto.
5402
        * libc/machine/spu/sscanf.c: Ditto.
5403
        * libc/machine/spu/vfprintf.c: Ditto.
5404
        * libc/machine/spu/vfscanf.c: Ditto.
5405
        * libc/machine/spu/vprintf.c: Ditto.
5406
        * libc/machine/spu/vscanf.c: Ditto.
5407
        * libc/machine/spu/vsnprintf.c: Ditto.
5408
        * libc/machine/spu/vsprintf.c: Ditto.
5409
        * libc/machine/spu/vsscanf.c: Ditto.
5410
 
5411
2007-02-20  Kazunori Asayama 
5412
 
5413
        * libc/include/stdio.h: Add declaration for vsiprintf.
5414
 
5415
2007-02-14  Patrick Mansfield 
5416
 
5417
        Add a floating point environment for SPU (cell):
5418
 
5419
        * configure.host: add libm_machine_dir=spu.
5420
        * libm/machine/configure: Add spu.
5421
        * libm/machine/configure.in: regenerated with spu added.
5422
        * libc/machine/spu/include/fenv.h: New file.
5423
        * libc/machine/spu/sys/fenv.h: Ditto.
5424
        * libm/machine/spu/Makefile.am: Ditto.
5425
        * libm/machine/spu/Makefile.in: Ditto.
5426
        * libm/machine/spu/aclocal.m4: Ditto.
5427
        * libm/machine/spu/configure: Ditto.
5428
        * libm/machine/spu/configure.in: Ditto.
5429
        * libm/machine/spu/fe_dfl_env.c: Ditto.
5430
        * libm/machine/spu/feclearexcept.c: Ditto.
5431
        * libm/machine/spu/fegetenv.c: Ditto.
5432
        * libm/machine/spu/fegetexceptflag.c: Ditto.
5433
        * libm/machine/spu/fegetround.c: Ditto.
5434
        * libm/machine/spu/feholdexcept.c: Ditto.
5435
        * libm/machine/spu/feraiseexcept.c: Ditto.
5436
        * libm/machine/spu/fesetenv.c: Ditto.
5437
        * libm/machine/spu/fesetexceptflag.c: Ditto.
5438
        * libm/machine/spu/fesetround.c: Ditto.
5439
        * libm/machine/spu/fetestexcept.c: Ditto.
5440
        * libm/machine/spu/feupdateenv.c: Ditto.
5441
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
5442
        * libm/machine/spu/headers/fefpscr.h: Ditto.
5443
        * libm/machine/spu/headers/fegetenv.h: Ditto.
5444
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
5445
        * libm/machine/spu/headers/fegetround.h: Ditto.
5446
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
5447
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
5448
        * libm/machine/spu/headers/fesetenv.h: Ditto.
5449
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
5450
        * libm/machine/spu/headers/fesetround.h: Ditto.
5451
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
5452
        * libm/machine/spu/headers/feupdateenv.h: Ditto.
5453
 
5454
2007-02-14  Corinna Vinschen  
5455
 
5456
        * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
5457
        Cygwin.
5458
 
5459
2007-02-08  Corinna Vinschen  
5460
 
5461
        * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
5462
        Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
5463
 
5464
2007-02-07  Corinna Vinschen  
5465
 
5466
        * libc/include/sys/features.h: Add definition of all supported
5467
        _POSIX_xxx values for Cygwin.
5468
        * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
5469
        on Cygwin.
5470
        (pthread_rwlockattr_t): Ditto.
5471
        * libc/include/sys/unistd.h: Define all _SC_xxx values as
5472
        required by SUSv3.  Unify formatting.
5473
 
5474
2007-02-02  Ralf Corsépius 
5475
 
5476
        * libc/include/sys/errno.h: Add ECANCELED.
5477
 
5478
2007-02-01  Joel Schopp 
5479
            Kazunori Asayama 
5480
 
5481
        * libc/machine/spu/Makefile.am: Add objects.
5482
        * libc/machine/spu/Makefile.in: Regenerated.
5483
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
5484
        implementation.
5485
        * libc/machine/spu/snprintf.c: Ditto.
5486
        * libc/machine/spu/sprintf.c: Ditto.
5487
        * libc/machine/spu/sscanf.c: Ditto.
5488
        * libc/machine/spu/remove.c: Ditto.
5489
        * libc/machine/spu/rename.c: Ditto.
5490
        * libc/machine/spu/tmpnam.c: Ditto.
5491
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
5492
        stdio stuffs.
5493
        * libc/machine/spu/vsprintf.c: Ditto.
5494
 
5495
2007-02-01  Joel Schopp 
5496
            Kazunori Asayama 
5497
 
5498
        * configure.host: Enable SPU specific stdio directory.
5499
        * libc/machine/spu/Makefile.am: Add objects.
5500
        * libc/machine/spu/Makefile.in: Regenerated.
5501
        * libc/machine/spu/c99ppe.h: Add macros and function
5502
        declarations to initialize SPU specific stdio stuffs.
5503
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
5504
        specific FILE structures.
5505
        * libc/machine/spu/perror.c: Add initialization routine of
5506
        stdio stuffs.
5507
        * libc/machine/spu/printf.c: Ditto.
5508
        * libc/machine/spu/putchar.c: Ditto.
5509
        * libc/machine/spu/puts.c: Ditto.
5510
        * libc/machine/spu/vprintf.c: Ditto.
5511
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
5512
        implementation.
5513
        * libc/machine/spu/feof.c: Ditto.
5514
        * libc/machine/spu/ferror.c: Ditto.
5515
        * libc/machine/spu/fileno.c: Ditto.
5516
        * libc/machine/spu/fopen.c: Ditto.
5517
        * libc/machine/spu/fclose.c: Ditto.
5518
        * libc/machine/spu/freopen.c: Ditto.
5519
        * libc/machine/spu/fflush.c: Ditto.
5520
        * libc/machine/spu/fseek.c: Ditto.
5521
        * libc/machine/spu/ftell.c: Ditto.
5522
        * libc/machine/spu/rewind.c: Ditto.
5523
        * libc/machine/spu/fgetpos.c: Ditto.
5524
        * libc/machine/spu/fsetpos.c: Ditto.
5525
        * libc/machine/spu/fread.c: Ditto.
5526
        * libc/machine/spu/fwrite.c: Ditto.
5527
        * libc/machine/spu/getc.c: Ditto.
5528
        * libc/machine/spu/getchar.c: Ditto.
5529
        * libc/machine/spu/gets.c: Ditto.
5530
        * libc/machine/spu/fgetc.c: Ditto.
5531
        * libc/machine/spu/fgets.c: Ditto.
5532
        * libc/machine/spu/ungetc.c: Ditto.
5533
        * libc/machine/spu/putc.c: Ditto.
5534
        * libc/machine/spu/fputc.c: Ditto.
5535
        * libc/machine/spu/fputs.c: Ditto.
5536
        * libc/machine/spu/vfprintf.c: Ditto.
5537
        * libc/machine/spu/vfscanf.c: Ditto.
5538
        * libc/machine/spu/fprintf.c: Ditto.
5539
        * libc/machine/spu/fscanf.c: Ditto.
5540
        * libc/machine/spu/scanf.c: Ditto.
5541
        * libc/machine/spu/vscanf.c: Ditto.
5542
        * libc/machine/spu/setbuf.c: Ditto.
5543
        * libc/machine/spu/setvbuf.c: Ditto.
5544
        * libc/machine/spu/tmpfile.c: Ditto.
5545
 
5546
2007-02-01  Jeff Johnston  
5547
 
5548
        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
5549
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
5550
        around stdio macros that manipulate fields in the normal file
5551
        structure.
5552
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
5553
         to define custom FILE structure.
5554
        * libc/include/sys/custom_file.h: New default header file
5555
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
5556
        * libc/machine/spu/sys/custom_file.h: New file.
5557
 
5558
2007-01-31  Kazunori Asayama 
5559
 
5560
        * configure.host: Define stdio directory as a variable.
5561
        * libc/Makefile.am: Define stdio related names
5562
        as macros.
5563
        * libc/configure.in: Add detection routine of stdio directory.
5564
        * libc/Makefile.in: Regenerated.
5565
        * libc/configure: Ditto.
5566
        * libc/argz/Makefile.in: Ditto.
5567
        * libc/ctype/Makefile.in: Ditto.
5568
        * libc/errno/Makefile.in: Ditto.
5569
        * libc/iconv/Makefile.in: Ditto.
5570
        * libc/iconv/ccs/Makefile.in: Ditto.
5571
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
5572
        * libc/iconv/ces/Makefile.in: Ditto.
5573
        * libc/iconv/lib/Makefile.in: Ditto.
5574
        * libc/locale/Makefile.in: Ditto.
5575
        * libc/misc/Makefile.in: Ditto.
5576
        * libc/posix/Makefile.in: Ditto.
5577
        * libc/reent/Makefile.in: Ditto.
5578
        * libc/search/Makefile.in: Ditto.
5579
        * libc/signal/Makefile.in: Ditto.
5580
        * libc/stdio/Makefile.in: Ditto.
5581
        * libc/stdio64/Makefile.in: Ditto.
5582
        * libc/stdlib/Makefile.in: Ditto.
5583
        * libc/string/Makefile.in: Ditto.
5584
        * libc/syscalls/Makefile.in: Ditto.
5585
        * libc/time/Makefile.in: Ditto.
5586
        * libc/unix/Makefile.in: Ditto.
5587
 
5588
2007-01-30  Ben Elliston  
5589
 
5590
        * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
5591
        fmt member.
5592
        * libc/machine/spu/printf.c (c99_printf_t): Likewise.
5593
        (printf): Pass fmt to va_start to suppress a warning.
5594
 
5595
        * libc/search/hash.c (init_hash): Make `info' parameter const.
5596
 
5597
2007-01-19  Kazunori Asayama 
5598
 
5599
        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
5600
        * libc/machine/spu/vec_literal.h: Ditto.
5601
        * libc/machine/spu/strncmp.c: Ditto.
5602
 
5603
2007-01-15  Joseph Myers  
5604
            Kazu Hirata  
5605
 
5606
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
5607
        for E500V1 and E500V2.
5608
 
5609
2007-01-11  Jeff Johnston  
5610
 
5611
        * libm/configure.in: Always configure machine directory.
5612
        * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
5613
        unconditionally.
5614
        * libm/configure: Regenerated.
5615
        * libm/Makefile.in: Ditto.
5616
        * libm/*/Makefile.in: Ditto.
5617
 
5618
2007-01-05  Brian Ford  
5619
 
5620
        * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
5621
 
5622
2007-01-02  Ben Elliston  
5623
 
5624
        * doc/makedoc.c: Include .
5625
        (malloc, realloc): Remove extern declarations.
5626
 
5627
2006-12-18  Jeff Johnston  
5628
 
5629
        * NEWS: Update with 1.15.0 info.
5630
        * README: Ditto.
5631
        * acinclude.m4: Change version number to 1.15.0.
5632
        * aclocal.m4: Regenerated.
5633
        * configure: Ditto.
5634
        * doc/aclocal.m4: Ditto.
5635
        * doc/configure: Ditto.
5636
        * libc/*/aclocal.m4: Ditto.
5637
        * libc/*/configure: Ditto.
5638
        * libc/libc.texinfo: Ditto.
5639
        * libm/*/aclocal.m4: Ditto.
5640
        * libm/*/configure: Ditto.
5641
        * libm/libm.texinfo: Ditto.
5642
        * libc/sys/linux/shared.ld: Add VERS_1.15.
5643
 
5644
2006-12-18  Kazu Hirata  
5645
 
5646
        Merge from newlib-csl-20060320-branch:
5647
        2006-12-01  Nathan Sidwell  
5648
                    Kazu Hirata  
5649
 
5650
        * configure.host: Recognize fido.
5651
 
5652
2006-12-18  Joel Schopp 
5653
 
5654
        * libc/machine/spu/c99ppe.h: New file
5655
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
5656
        * libc/machine/spu/printf.c: New file
5657
        * libc/machine/spu/putchar.c: New file
5658
        * libc/machine/spu/puts.c: New file
5659
        * libc/machine/spu/vprintf.c: New file
5660
        * libc/machine/spu/vsnprintf.c: New file
5661
        * libc/machine/spu/vsprintf.c: New file
5662
        * libc/machine/spu/Makefile.am: Add new targets.
5663
        * libc/machine/spu/Makefile.in: Regenerated.
5664
 
5665
2006-12-18  Jeff Johnston  
5666
 
5667
        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
5668
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
5669
 
5670
2006-12-18  Jeff Johnston  
5671
 
5672
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
5673
        2.6.5 version of Doug Lea's malloc which is the basis of
5674
        this code.
5675
 
5676
2006-12-18  Kazunori Asayama 
5677
 
5678
        * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
5679
 
5680
2006-12-14  Jeff Johnston  
5681
            Eric Blake  
5682
 
5683
        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
5684
        read but unused data.
5685
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
5686
        even read streams may have side effects that must happen.
5687
 
5688
2006-12-13  Joel Schopp 
5689
 
5690
        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
5691
        correctly.
5692
 
5693
2006-12-13  Joel Schopp 
5694
 
5695
        * libc/include/alloca.h: Add undef alloca to work with xlc.
5696
 
5697
2006-12-12  Joel Schopp 
5698
 
5699
        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
5700
        cell spu.
5701
 
5702
2006-12-04  Kazunori Asayama  
5703
 
5704
        * libc/machine/spu/strncpy.c: Add padding.
5705
 
5706
2006-12-04  Kazunori Asayama  
5707
 
5708
        * testsuite/newlib.string/tstring.c:
5709
 
5710
2006-12-01  Kazunori Asayama  
5711
 
5712
        * libc/machine/spu/strchr.c: Fix mask for misaligned string.
5713
        * libc/machine/spu/strrchr.c: Ditto.
5714
 
5715
2006-11-30  Lev Bishop  
5716
 
5717
        * libc/include/math.h: Allow C99 functions/macros to be
5718
        defined for C++ even when __STRICT_ANSI__.
5719
 
5720
2006-11-29  Jeff Johnston  
5721
 
5722
        * libc/stdio/makebuf.c (__smakebuf): If dealing with
5723
        an asprintf-family buffer, make the default initial size 64.
5724
 
5725
2006-11-29  Eric Blake  
5726
 
5727
        * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
5728
        asprintf, as well as quadratic realloc behavior.
5729
 
5730
2006-11-29  Kazunori Asayama  
5731
 
5732
        * libc/machine/spu/memset.c: Fix type of explicit cast.
5733
        * libc/machine/spu/strncmp.c: Add explicit cast.
5734
        * libc/machine/spu/strrchr.c: Ditto.
5735
        * libc/machine/spu/strspn.c: Ditto.
5736
 
5737
2006-11-22  Luca Barbato  
5738
 
5739
        * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
5740
        * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
5741
        * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
5742
        * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
5743
        * libc/machine/spu/strncat.c: Explicit cast.
5744
        * libc/machine/spu/strncmp.c: Use spu_splats.
5745
        * libc/machine/spu/strncpy.c: Explicit cast.
5746
        * libc/machine/spu/strrchr.c: Use spu_splats.
5747
        * libc/machine/spu/strspn.c: Use spu_splats.
5748
 
5749
2006-11-15  Till Straumann  
5750
 
5751
        * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
5752
 
5753
2006-11-14  Eric Blake  
5754
 
5755
        * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
5756
        (chclass): ' is a flag.  j, t, and z are modifiers.
5757
 
5758
2006-11-08  Jie Zhang  
5759
 
5760
        * configure.host: Add support for bfin.
5761
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
5762
        * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
5763
        * libc/machine/bfin/aclocal.m4: Generate.
5764
        * libc/machine/bfin/configure.in: New.
5765
        * libc/machine/bfin/configure: Generate.
5766
        * libc/machine/bfin/Makefile.am: New.
5767
        * libc/machine/bfin/Makefile.in: Generate.
5768
        * libc/machine/bfin/setjmp.S: New.
5769
        * libc/machine/bfin/longjmp.S: New.
5770
        * libc/machine/configure.in: Add bfin support.
5771
        * libc/machine/configure: Generate.
5772
 
5773
2006-11-07  Corinna Vinschen  
5774
 
5775
        * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
5776
        (_PC_FILESIZEBITS): Add definition.
5777
        (_PC_2_SYMLINKS): Ditto.
5778
        (_PC_SYMLINK_MAX): Ditto.
5779
 
5780
2006-10-27  Joel Schopp  
5781
 
5782
        * libc/machine/spu/memcpy.c: Override generic function with vectorized
5783
        version optimized for the cell spu.
5784
        * libc/machine/spu/memmove.c: Ditto.
5785
        * libc/machine/spu/memset.c: Ditto.
5786
        * libc/machine/spu/strcat.c: Ditto.
5787
        * libc/machine/spu/strchr.c: Ditto.
5788
        * libc/machine/spu/strcmp.c: Ditto.
5789
        * libc/machine/spu/strcpy.c: Ditto.
5790
        * libc/machine/spu/strcspn.c: Ditto.
5791
        * libc/machine/spu/strlen.c: Ditto.
5792
        * libc/machine/spu/strncat.c: Ditto.
5793
        * libc/machine/spu/strncmp.c: Ditto.
5794
        * libc/machine/spu/strncpy.c: Ditto.
5795
        * libc/machine/spu/strpbrk.c: Ditto.
5796
        * libc/machine/spu/strrchr.c: Ditto.
5797
        * libc/machine/spu/strspn.c: Ditto.
5798
        * libc/machine/spu/strxfrm.c: Ditto.
5799
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
5800
        removing altivec style initializers.
5801
        * libc/machine/spu/Makefile.am: Add new files to list so they build
5802
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
5803
 
5804
2006-10-27  Jeff Johnston  
5805
 
5806
        * README: Add a brief section on how to regenerate
5807
        configuration files in newlib.
5808
 
5809
2006-10-25  Vladimir Prus  
5810
 
5811
        * libc/include/math.h: (exception): Add a comment
5812
        telling fixincludes that we handle C vs. C++ issue.
5813
 
5814
2006-10-11  Yang Tse  
5815
 
5816
        * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
5817
        braced-groups.
5818
 
5819
2006-10-11  Corinna Vinschen  
5820
 
5821
        * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
5822
 
5823
2006-09-26  Jeff Johnston  
5824
 
5825
        * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
5826
        for clearerr, feof, or fileno.
5827
        * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
5828
        the dummy std stream scheme to use pointers to const external
5829
        fake files, one for each standard stream.
5830
        * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
5831
        argument.  For _REENT_SMALL, reset the file pointer if it
5832
        matches one of the fake std stream pointers.
5833
        * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
5834
        argument.
5835
        * libc/stdio/fclose.c: Ditto.
5836
        * libc/stdio/feof.c: Ditto.
5837
        * libc/stdio/ferror.c: Ditto.
5838
        * libc/stdio/fflush.c: Ditto.
5839
        * libc/stdio/fgetc.c: Ditto.
5840
        * libc/stdio/fgets.c: Ditto.
5841
        * libc/stdio/fileno.c: Ditto.
5842
        * libc/stdio/findfp.c: Ditto.
5843
        * libc/stdio/fputc.c: Ditto.
5844
        * libc/stdio/fputs.c: Ditto.
5845
        * libc/stdio/fread.c: Ditto.
5846
        * libc/stdio/freopen.c: Ditto.
5847
        * libc/stdio/fseek.c: Ditto.
5848
        * libc/stdio/ftell.c: Ditto.
5849
        * libc/stdio/fwrite.c: Ditto.
5850
        * libc/stdio/getc.c: Ditto.
5851
        * libc/stdio/getdelim.c: Ditto.
5852
        * libc/stdio/putc.c: Ditto.
5853
        * libc/stdio/refill.c: Ditto.
5854
        * libc/stdio/setvbuf.c: Ditto.
5855
        * libc/stdio/ungetc.c: Ditto.
5856
        * libc/stdio/vfprintf.c: Ditto.
5857
        * libc/stdio/vfscanf.c: Ditto.
5858
        * libc/stdio/wbuf.c: Ditto.: Ditto.
5859
        * libc/stdio/wsetup.c: Ditto.
5860
        * libc/stdio64/freopen64.c: Ditto.
5861
        * libc/stdio64/fseeko64.c: Ditto.
5862
        * libc/stdio64/ftello64.c: Ditto.
5863
        * libc/machine/powerpc/vfprintf.c: Ditto.
5864
        * libc/machine/powerpc/vfscanf.c: Ditto.
5865
 
5866
2006-09-22  Paul Brook  
5867
 
5868
        * libc/include/sys/reent.h: Define and use __reent_assert.
5869
 
5870
2006-09-13  Joel Sherrill 
5871
 
5872
        * libc/include/pthread.h: Add pthread barriers,
5873
        rwlocks, and spinlocks.  Change const to
5874
        _CONST and prefix parameter names with
5875
        an underscore.
5876
        * libc/include/sys/types.h: Add id and attribute
5877
        types for barriers, wrlocks, and spinlocks.
5878
        * libc/include/sys/features.h: Enable barriers,
5879
        wrlocks, and spinlocks for RTEMS.
5880
 
5881
2006-09-13  Patrick Mansfield 
5882
 
5883
        * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
5884
        supposed to be writable.
5885
        * libm/common/s_lib_ver.c: Ditto.
5886
 
5887
2006-09-12  Paul Brook  
5888
 
5889
        * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
5890
 
5891
2006-09-07  Masaki Muranaka  
5892
 
5893
 
5894
        * libc/machine/xstormy16/Makefile.am:
5895
        Add $(lpfx) prefix to LIBADD objects.
5896
        lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
5897
        * libc/machine/xstormy16/Makefile.in: Regenerated.
5898
 
5899
2006-09-06  Eric Blake  
5900
 
5901
        * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
5902
        't', and 'z' modifiers.
5903
 
5904
2006-09-01  Kazu Hirata  
5905
 
5906
        Merge from newlib-csl-20060320-branch:
5907
        2006-05-22  Sandra Loosemore 
5908
 
5909
        * configure.host: Tell it we have _rename and _system when
5910
        building m68k-unknown-elf.
5911
 
5912
2006-08-29  Paul Brook  
5913
 
5914
        * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
5915
 
5916
2006-08-27  Joel Sherrill 
5917
 
5918
        * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
5919
        BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
5920
        This is needed to build all AVR and H8300 RTEMS multilib variants.
5921
 
5922
2006-08-23  Kazunori Asayama  
5923
 
5924
        * libc/machine/configure.in: Add configuration for SPU.
5925
        * libc/machine/configure: Regenerated.
5926
        * libc/machine/spu/memcpy.c: Include string.h.
5927
 
5928
2006-08-22  Eric Blake  
5929
 
5930
        * libc/posix/popen.c (popen): Don't close output end of pipe in
5931
        child if stdout was closed on entry.
5932
        [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
5933
 
5934
2006-08-19  Ramana Radhakrishnan  
5935
 
5936
        * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
5937
        line.
5938
 
5939
2006-08-17  Brian Ford  
5940
 
5941
        * libc/time/gmtime.c: Correct man page; clock is not a
5942
        local time and no conversion occurs.
5943
 
5944
2006-08-16  Joel Schopp  
5945
 
5946
        * configure.host (newlib_cflags) [spu]: Add special compiler
5947
        options to reduce size.
5948
 
5949
2006-08-16  Joel Schopp  
5950
 
5951
        * configure.host: Add spu support.
5952
        * libc/include/stdint.h: Ditto.
5953
        * libc/include/machine/ieeefp.h: Ditto.
5954
        * libc/include/machine/setjmp.h: Ditto.
5955
        * libc/include/sys/config.h: Ditto.
5956
        * libc/include/sys/types.h: Ditto.
5957
        * libc/machine/spu/Makefile.am: New file.
5958
        * libc/machine/spu/Makefile.in: Ditto.
5959
        * libc/machine/spu/aclocal.m4: Ditto.
5960
        * libc/machine/spu/configure: Ditto.
5961
        * libc/machine/spu/configure.in: Ditto.
5962
        * libc/machine/spu/memcpy.c: Ditto.
5963
        * libc/machine/spu/setjmp.S: Ditto.
5964
 
5965
2006-08-03  J"orn Rennecke  
5966
 
5967
        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
5968
        properly.
5969
 
5970
2006-08-01  Jeff Johnston  
5971
 
5972
        * libc/Makefile.am: Add libc_TEXINFOS dependency on
5973
        generated .texi files.
5974
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
5975
        generated .texi files.
5976
        * libc/Makefile.in: Regenerated.
5977
        * libm/Makefile.in: Ditto.
5978
 
5979
2006-08-01  Thiemo Seufer  
5980
            Nigel Stephens  
5981
 
5982
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
5983
        define this to force _impure_ptr to live in the .sdata section.
5984
 
5985
2006-07-31  Jeff Johnston  
5986
 
5987
        * acinclude.m4: Check for readelf tool.
5988
        * configure.in: Use ${READELF} instead of hard-coding.
5989
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
5990
 
5991
2006-07-31  Jeff Johnston  
5992
 
5993
        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
5994
        to avoid conflict with newer glibc's revision of mremap.
5995
 
5996
2006-07-05  Jeff Johnston  
5997
 
5998
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
5999
        floating-point format support.  Also redefine
6000
        dword0 and dword1 macros.
6001
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
6002
        to prevent setting dword1 which is an rvalue only.
6003
 
6004
2006-06-22  Jeff Johnston  
6005
 
6006
        * libc/stdlib/Makefile.am: Add new gdtoa routines.
6007
        * libc/stdlib/Makefile.in: Regenerated.
6008
        * libc/stdlib/gd_qnan.h: New file.
6009
        * libc/stdlib/gdtoa-gethex.c: Ditto.
6010
        * libc/stdlib/gdtoa-hexnan.c: Ditto.
6011
        * libc/stdlib/gdtoa.h: Ditto.
6012
        * libc/stdlib/mprec.c: Add new helper routines needed by
6013
        the new gdtoa code.
6014
        * libc/stdlib/mprec.h: Integrate some defines and prototypes
6015
        used by gdtoa routines here.
6016
        * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
6017
        which adds C99 support such as nan, inf, and hexadecimal input
6018
        format.
6019
 
6020
2006-06-15  Corinna Vinschen  
6021
 
6022
        * libc/include/stdio.h (__sgetc_r): Fix typo.
6023
        * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
6024
        * libc/stdio/rget.c (__srbuf): Reinstantiate.
6025
        * libc/stdio/wbuf.c (__swbuf): Ditto.
6026
 
6027
2006-06-14  Jeff Johnston  
6028
 
6029
        * libc/include/stdio.h: Add new reentrant I/O prototypes for
6030
        read/write functions.  Change getc/putc macros to have reentrant underlying
6031
        macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
6032
        * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
6033
        new reentrant I/O functions/macros for reading/writing.
6034
        * libc/stdio/fgets.c: Ditto.
6035
        * libc/stdio/fputc.c: Ditto.
6036
        * libc/stdio/fputs.c: Ditto.
6037
        * libc/stdio/fread.c: Ditto.
6038
        * libc/stdio/fseek.c: Ditto.
6039
        * libc/stdio64/fseeko64.c: Ditto.
6040
        * libc/stdio/fwrite.c: Ditto.
6041
        * libc/stdio/getc.c: Ditto.
6042
        * libc/stdio/getc_u.c: Ditto.
6043
        * libc/stdio/getchar.c: Ditto.
6044
        * libc/stdio/getchar_u.c: Ditto.
6045
        * libc/stdio/putc.c: Ditto.
6046
        * libc/stdio/putc_u.c: Ditto.
6047
        * libc/stdio/putchar.c: Ditto.
6048
        * libc/stdio/puts.c: Ditto.
6049
        * libc/stdio/vfprintf.c: Ditto.
6050
        * libc/stdio/vfscanf.c: Ditto.
6051
        * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
6052
        Change all previous callers of __sfvwrite.  Set errno to EBADF and
6053
        set error flag on if attempt is made to write to file that does not
6054
        allow writing.
6055
        * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
6056
        * libc/stdio/local.h: Ditto.
6057
        * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
6058
        Set errno to EBADF and the error flag on if attempt is made to
6059
        read unreadable file.  Change all previous callers of __srefill.
6060
        * libc/stdio/rget.c
6061
        * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
6062
        all previous callers of __swbuf.
6063
        * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
6064
        huge value macros are already defined correctly for i386 by .
6065
 
6066
2006-06-13  Sandra Loosemore 
6067
 
6068
        * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
6069
        Make them do something useful in the ARM_RDI_MONITOR case.
6070
 
6071
2006-06-07  Fred Fish  
6072
 
6073
        * libc/search/hash_bigkey.c (MIN,MAX): Remove
6074
        defines that are already supplied by .
6075
 
6076
2006-06-07  Fred Fish  
6077
 
6078
        * configure.host: Remove references to HAVE_GETTIMEOFDAY.
6079
 
6080
2006-06-05  Shaun Jackman  
6081
 
6082
        * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
6083
        usleep.c.
6084
        * libc/posix/Makefile.in: Regenerate.
6085
        * libc/posix/sleep.c: New file.
6086
        * libc/posix/usleep.c: Ditto.
6087
 
6088
2006-06-05  Shaun Jackman  
6089
 
6090
        * configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
6091
        -DABORT_PROVIDED flag.
6092
        * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
6093
        * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
6094
 
6095
2006-06-05  Jeff Johnston  
6096
 
6097
        * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
6098
        * Makefile.in: Regenerated.
6099
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
6100
        extraneous CFLAGS reference now that CCASFLAGS are being extended
6101
        properly via multilib.
6102
        * libc/machine/sh/Makefile.in: Regenerated.
6103
 
6104
2006-06-02  Shaun Jackman  
6105
 
6106
        * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
6107
        sigismember.
6108
 
6109
2006-05-23  Jeff Johnston  
6110
 
6111
        * libc/misc/dprintf.c: Removed.
6112
        * libc/misc/__dprintf.c: Renamed from dprintf.c.
6113
        * libc/misc/Makefile.am: Changed appropriately for rename.
6114
        * libc/misc/Makefile.in: Regenerated.
6115
 
6116
2006-05-23  Jeff Johnston  
6117
 
6118
        * libc/include/stdio.h: Protect dprintf prototype
6119
        with #ifndef dprintf so as to not interfere with
6120
        historical code defining their own dprintf macro.
6121
 
6122
2006-05-18  Jeff Johnston  
6123
 
6124
        * libc/include/stdio.h: Add prototypes for fiscanf,
6125
        iscanf, and siscanf.
6126
 
6127
2006-05-11  J"orn Rennecke 
6128
 
6129
        * acinclude.m4 (_NEWLIB_VERSION): Rename to:
6130
        (DEF_NEWLIB_VERSION).
6131
        * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
6132
        * configure: Regenerate.
6133
 
6134
2006-05-09  Jeff Johnston  
6135
 
6136
        * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
6137
        lib_a_SOURCES.
6138
        * libc/ctype/Makefile.in: Regenerated.
6139
 
6140
2006-05-09  Kazu Hirata  
6141
 
6142
        * libc/machine/arm/Makefile.am: Fix a typo.
6143
        * libc/machine/arm/Makefile.in: Regenerated.
6144
 
6145
2006-05-08  J"orn Rennecke 
6146
 
6147
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
6148
        * libc/machine/sh/Makefile.in: Regenerate.
6149
 
6150
2006-05-03  J"orn Rennecke 
6151
 
6152
        * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
6153
        * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
6154
 
6155
2006-05-02  Jeff Johnston  
6156
 
6157
        * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
6158
        .s.
6159
        * libc/sys/sysnec810/Makefile.in: Regenerated.
6160
        * libc/sys/sysnec810/crt0.S: Renamed from .s file.
6161
        * libc/sys/sysnec810/io.S: Ditto.
6162
        * libc/sys/sysnec810/crt0.s: Renamed to .S file.
6163
        * libc/sys/sysnec810/io.s: Ditto.
6164
 
6165
2006-05-01  Jeff Johnston  
6166
 
6167
        * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
6168
        be specified instead of object, do so.
6169
        * libc/ctype/Makefile.am: Ditto.
6170
        * libc/iconv/ccs/Makefile.am: Ditto.
6171
        * libc/iconv/ces/Makefile.am: Ditto.
6172
        * libc/iconv/lib/Makefile.am: Ditto.
6173
        * libc/locale/Makefile.am: Ditto.
6174
        * libc/posix/Makefile.am: Ditto.
6175
        * libc/reent/Makefile.am: Ditto.
6176
        * libc/search/Makefile.am: Ditto.
6177
        * libc/stdio/Makefile.am: Ditto.
6178
        * libc/stdio64/Makefile.am: Ditto.
6179
        * libc/stdlib/Makefile.am: Ditto.
6180
        * libc/string/Makefile.am: Ditto.
6181
        * libc/syscalls/Makefile.am: Ditto.
6182
        * libc/unix/Makefile.am: Ditto.
6183
        * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
6184
        prefix added automatically.  Any specified rules must use $(lpfx) for
6185
        object file names.
6186
        * libc/machine/arm/Makefile.am: Ditto.
6187
        * libc/machine/cris/Makefile.am: Ditto.
6188
        * libc/machine/crx/Makefile.am: Ditto.
6189
        * libc/machine/d10v/Makefile.am: Ditto.
6190
        * libc/machine/d30v/Makefile.am: Ditto.
6191
        * libc/machine/fr30/Makefile.am: Ditto.
6192
        * libc/machine/frv/Makefile.am: Ditto.
6193
        * libc/machine/h8300/Makefile.am: Ditto.
6194
        * libc/machine/h8500/Makefile.am: Ditto.
6195
        * libc/machine/hppa/Makefile.am: Ditto.
6196
        * libc/machine/i386/Makefile.am: Ditto.
6197
        * libc/machine/i960/Makefile.am: Ditto.
6198
        * libc/machine/iq2000/Makefile.am: Ditto.
6199
        * libc/machine/m32c/Makefile.am: Ditto.
6200
        * libc/machine/m32r/Makefile.am: Ditto.
6201
        * libc/machine/m68hc11/Makefile.am: Ditto.
6202
        * libc/machine/m68k/Makefile.am: Ditto.
6203
        * libc/machine/m88k/Makefile.am: Ditto.
6204
        * libc/machine/mips/Makefile.am: Ditto.
6205
        * libc/machine/mn10200/Makefile.am: Ditto.
6206
        * libc/machine/mn10300/Makefile.am: Ditto.
6207
        * libc/machine/mt/Makefile.am: Ditto.
6208
        * libc/machine/necv70/Makefile.am: Ditto.
6209
        * libc/machine/powerpc/Makefile.am: Ditto.
6210
        * libc/machine/sh/Makefile.am: Ditto.
6211
        * libc/machine/sh/Makefile.in: Ditto.
6212
        * libc/machine/sparc/Makefile.am: Ditto.
6213
        * libc/machine/tic4x/Makefile.am: Ditto.
6214
        * libc/machine/tic80/Makefile.am: Ditto.
6215
        * libc/machine/v850/Makefile.am: Ditto.
6216
        * libc/machine/w65/Makefile.am: Ditto.
6217
        * libc/machine/xscale/Makefile.am: Ditto.
6218
        * libc/machine/xstormy16/Makefile.am: Ditto.
6219
        * libc/machine/z8k/Makefile.am: Ditto.
6220
        * libc/sys/a29khif/Makefile.am: Ditto.
6221
        * libc/sys/arm/Makefile.am: Ditto.
6222
        * libc/sys/d10v/Makefile.am: Ditto.
6223
        * libc/sys/h8300hms/Makefile.am: Ditto.
6224
        * libc/sys/h8500hms/Makefile.am: Ditto.
6225
        * libc/sys/linux/Makefile.am: Ditto.
6226
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6227
        * libc/sys/linux/net/Makefile.am: Ditto.
6228
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
6229
        * libc/sys/m88kbug/Makefile.am: Ditto.
6230
        * libc/sys/mmixware/Makefile.am: Ditto.
6231
        * libc/sys/rdos/Makefile.am: Ditto.
6232
        * libc/sys/rtems/Makefile.am: Ditto.
6233
        * libc/sys/sh/Makefile.am: Ditto.
6234
        * libc/sys/sun4/Makefile.am: Ditto.
6235
        * libc/sys/sysmec/Makefile.am: Ditto.
6236
        * libc/sys/sysnec810/Makefile.am: Ditto.
6237
        * libc/sys/sysnecv850/Makefile.am: Ditto.
6238
        * libc/sys/sysvi386/Makefile.am: Ditto.
6239
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
6240
        * libc/sys/tic80/Makefile.am: Ditto.
6241
        * libc/sys/w65/Makefile.am: Ditto.
6242
        * libc/sys/z8ksim/Makefile.am: Ditto.
6243
        * libc/machine/necv70/fastmath.S: Renamed from .s file.
6244
        * libc/machine/necv70/setjmp.S: Ditto.
6245
        * libc/machine/necv70/fastmath.s: Removed.
6246
        * libc/machine/necv70/setjmp.s: Ditto.
6247
        * libc/machine/w65/*.S: New files renamed from .s files.
6248
        * libc/machine/w65/*.s: Renamed and removed.
6249
        * libc/sys/a29khif/*.S: New files renamed from .s files.
6250
        * libc/sys/a29khif/*.s: Renamed and removed.
6251
        * libc/sys/sysvi386/*.S: New files renamed from .s files.
6252
        * libc/sys/sysvi386/*.s: Renamed and removed.
6253
        * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
6254
        * libc/sys/sysvnecv70/*.s: Renamed and removed.
6255
        * libc/*Makefile.in: Regenerated as appropriate.
6256
 
6257
2006-04-24  DJ Delorie  
6258
 
6259
        * libc/machine/sh/configure.in: Avoid link tests.
6260
        * libc/machine/sh/configure: Regenerate.
6261
 
6262
2006-04-18  Jeff Johnston  
6263
 
6264
        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
6265
        (sigaddset, sigemptyset): Add return code.
6266
 
6267
2006-04-13  Ralf Corsepius  
6268
 
6269
        * acinclude.m4: New _NEWLIB_VERSION.
6270
        * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
6271
        Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
6272
        Use new form of AC_INIT_AUTOMAKE.
6273
        * configure.in: AC_PREREQ(2.59).
6274
        Use autoconf-2.5.x version of AC_INIT.
6275
        Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
6276
        autoconf-2.13's AC_OUTPUT.
6277
        * libm/configure.in: Ditto.
6278
        * libm/machine/configure.in: Ditto.
6279
        * libm/machine/i386/configure.in: Ditto.
6280
        * libc/configure.in: Ditto.
6281
        * libc/machine/a29k/configure.in: Ditto.
6282
        * libc/machine/arm/configure.in: Ditto.
6283
        * libc/machine/configure.in: Ditto.
6284
        * libc/machine/mn10300/configure.in: Ditto.
6285
        * libc/machine/powerpc/configure.in: Ditto.
6286
        * libc/machine/z8k/configure.in: Ditto.
6287
        * libc/machine/h8300/configure.in: Ditto.
6288
        * libc/machine/mips/configure.in: Ditto.
6289
        * libc/machine/crx/configure.in: Ditto.
6290
        * libc/machine/m68hc11/configure.in: Ditto.
6291
        * libc/machine/h8500/configure.in: Ditto.
6292
        * libc/machine/xscale/configure.in: Ditto.
6293
        * libc/machine/d10v/configure.in: Ditto.
6294
        * libc/machine/fr30/configure.in: Ditto.
6295
        * libc/machine/sh/configure.in: Ditto.
6296
        * libc/machine/tic80/configure.in: Ditto.
6297
        * libc/machine/m32r/configure.in: Ditto.
6298
        * libc/machine/xstormy16/configure.in: Ditto.
6299
        * libc/machine/i386/configure.in: Ditto.
6300
        * libc/machine/d30v/configure.in: Ditto.
6301
        * libc/machine/mn10200/configure.in: Ditto.
6302
        * libc/machine/frv/configure.in: Ditto.
6303
        * libc/machine/mt/configure.in: Ditto.
6304
        * libc/machine/i960/configure.in: Ditto.
6305
        * libc/machine/v850/configure.in: Ditto.
6306
        * libc/machine/necv70/configure.in: Ditto.
6307
        * libc/machine/tic4x/configure.in: Ditto.
6308
        * libc/machine/cris/configure.in: Ditto.
6309
        * libc/machine/m68k/configure.in: Ditto.
6310
        * libc/machine/m32c/configure.in: Ditto.
6311
        * libc/machine/hppa/configure.in: Ditto.
6312
        * libc/machine/w65/configure.in: Ditto.
6313
        * libc/machine/iq2000/configure.in: Ditto.
6314
        * libc/machine/sparc/configure.in: Ditto.
6315
        * libc/machine/m88k/configure.in: Ditto.
6316
        * libc/sys/linux/configure.in: Ditto.
6317
        * libc/sys/linux/machine/configure.in: Ditto.
6318
        * libc/sys/linux/machine/i386/configure.in: Ditto.
6319
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
6320
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6321
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6322
        * libc/sys/arm/configure.in: Ditto.
6323
        * libc/sys/configure.in: Ditto.
6324
        * libc/sys/decstation/configure.in: Ditto.
6325
        * libc/sys/a29khif/configure.in: Ditto.
6326
        * libc/sys/sysnecv850/configure.in: Ditto.
6327
        * libc/sys/d10v/configure.in: Ditto.
6328
        * libc/sys/netware/configure.in: Ditto.
6329
        * libc/sys/mmixware/configure.in: Ditto.
6330
        * libc/sys/h8500hms/configure.in: Ditto.
6331
        * libc/sys/sh/configure.in: Ditto.
6332
        * libc/sys/tic80/configure.in: Ditto.
6333
        * libc/sys/rdos/configure.in: Ditto.
6334
        * libc/sys/sysmec/configure.in: Ditto.
6335
        * libc/sys/sysvi386/configure.in: Ditto.
6336
        * libc/sys/h8300hms/configure.in: Ditto.
6337
        * libc/sys/sparc64/configure.in: Ditto.
6338
        * libc/sys/arc/configure.in: Ditto.
6339
        * libc/sys/sysnec810/configure.in: Ditto.
6340
        * libc/sys/m88kbug/configure.in: Ditto.
6341
        * libc/sys/sysvnecv70/configure.in: Ditto.
6342
        * libc/sys/z8ksim/configure.in: Ditto.
6343
        * libc/sys/rtems/configure.in: Ditto.
6344
        * libc/sys/w65/configure.in: Ditto.
6345
        * libc/sys/sun4/configure.in: Ditto.
6346
        * doc/configure.in: Ditto.
6347
        * iconvdata/configure.in: Ditto.
6348
        * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
6349
 
6350
2006-04-11  Jeff Johnston  
6351
 
6352
        * acinclude.m4: Properly add square brackets for
6353
        AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
6354
        macros no longer available.  Add LIB_AM_PROG_AS to
6355
        remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
6356
        macro.  Substitute lpfx (library object prefix).
6357
        * configure.host: Set lpfx depending on whether
6358
        libtool is used or not.
6359
        * configure.in: Individually specify libc and libm
6360
        to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
6361
        necessary.
6362
        * Makefile.am: Use $(lpfx) to get object names for
6363
        math-library functions that should also be in libc.
6364
        * libc/machine/configure.in: Use case statement to determine
6365
        AC_CONFIG_SUBDIRS statement.
6366
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6367
        * libc/sys/linux/machine/configure.in: Ditto.
6368
        * libc/sys/configure.in: Ditto.
6369
        * libm/machine/configure.in: Ditto.
6370
        * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
6371
        * libm/configure.in: Add AM_CONDITIONAL statement
6372
        for HAVE_LIBM_MACHINE_DIR.
6373
        * libc/machine/a29k/Makefile.am: Modified to work with
6374
        latest automake.  Change includes setting AM_CCASFLAGS
6375
        so building .S files will properly pick up flags used
6376
        to build C files.
6377
        * libc/machine/arm/Makefile.am: Ditto.
6378
        * libc/machine/crx/Makefile.am: Ditto.
6379
        * libc/machine/d10v/Makefile.am: Ditto.
6380
        * libc/machine/d30v/Makefile.am: Ditto.
6381
        * libc/machine/fr30/Makefile.am: Ditto.
6382
        * libc/machine/frv/Makefile.am: Ditto.
6383
        * libc/machine/h8300/Makefile.am: Ditto.
6384
        * libc/machine/h8500/Makefile.am: Ditto.
6385
        * libc/machine/hppa/Makefile.am: Ditto.
6386
        * libc/machine/i386/Makefile.am: Ditto.
6387
        * libc/machine/iq2000/Makefile.am: Ditto.
6388
        * libc/machine/m32c/Makefile.am: Ditto.
6389
        * libc/machine/m32r/Makefile.am: Ditto.
6390
        * libc/machine/m68hc11/Makefile.am: Ditto.
6391
        * libc/machine/m68k/Makefile.am: Ditto.
6392
        * libc/machine/m88k/Makefile.am: Ditto.
6393
        * libc/machine/mips/Makefile.am: Ditto.
6394
        * libc/machine/mn10200/Makefile.am: Ditto.
6395
        * libc/machine/mn10300/Makefile.am: Ditto.
6396
        * libc/machine/mt/Makefile.am: Ditto.
6397
        * libc/machine/necv70/Makefile.am: Ditto.
6398
        * libc/machine/powerpc/Makefile.am: Ditto.
6399
        * libc/machine/sh/Makefile.am: Ditto.
6400
        * libc/machine/sparc/Makefile.am: Ditto.
6401
        * libc/machine/tic4x/Makefile.am: Ditto.
6402
        * libc/machine/tic80/Makefile.am: Ditto.
6403
        * libc/machine/v850/Makefile.am: Ditto.
6404
        * libc/machine/w65/Makefile.am: Ditto.
6405
        * libc/machine/xscale/Makefile.am: Ditto.
6406
        * libc/machine/xstormy16/Makefile.am: Ditto.
6407
        * libc/machine/z8k/Makefile.am: Ditto.
6408
        * libc/sys/a29khif/Makefile.am: Ditto.
6409
        * libc/sys/arc/Makefile.am: Ditto.
6410
        * libc/sys/arm/Makefile.am: Ditto.
6411
        * libc/sys/d10v/Makefile.am: Ditto.
6412
        * libc/sys/decstation/Makefile.am: Ditto.
6413
        * libc/sys/h8300hms/Makefile.am: Ditto.
6414
        * libc/sys/h8500hms/Makefile.am: Ditto.
6415
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6416
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6417
        * libc/sys/m88kbug/Makefile.am: Ditto.
6418
        * libc/sys/mmixware/Makefile.am: Ditto.
6419
        * libc/sys/netware/Makefile.am: Ditto.
6420
        * libc/sys/rdos/Makefile.am: Ditto.
6421
        * libc/sys/rtems/Makefile.am: Ditto.
6422
        * libc/sys/sh/Makefile.am: Ditto.
6423
        * libc/sys/sparc64/Makefile.am: Ditto.
6424
        * libc/sys/sysmec/Makefile.am: Ditto.
6425
        * libc/sys/sysnec810/Makefile.am: Ditto.
6426
        * libc/sys/sysnecv850/Makefile.am: Ditto.
6427
        * libc/sys/sysvi386/Makefile.am: Ditto.
6428
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
6429
        * libc/sys/tic80/Makefile.am: Ditto.
6430
        * libc/sys/w65/Makefile.am: Ditto.
6431
        * libc/sys/z8ksim/Makefile.am: Ditto.
6432
        * libm/machine/i386/Makefile.am: Ditto.
6433
        * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
6434
        trap.S so that automake will generate a .S.o suffix rule.
6435
        * libc/argz/Makefile.am: Modified to work with
6436
        latest automake.  Change includes adding lib_a_CFLAGS
6437
        so automake doesn't complain about libtool and non-libtool
6438
        libraries sharing objects.
6439
        * libc/ctype/Makefile.am: Ditto.
6440
        * libc/errno/Makefile.am: Ditto.
6441
        * libc/iconv/ccs/Makefile.am: Ditto.
6442
        * libc/iconv/ces/Makefile.am: Ditto.
6443
        * libc/iconv/lib/Makefile.am: Ditto.
6444
        * libc/locale/Makefile.am: Ditto.
6445
        * libc/misc/Makefile.am: Ditto.
6446
        * libc/posix/Makefile.am: Ditto.
6447
        * libc/reent/Makefile.am: Ditto.
6448
        * libc/search/Makefile.am: Ditto.
6449
        * libc/signal/Makefile.am: Ditto.
6450
        * libc/stdio/Makefile.am: Ditto.
6451
        * libc/stdio64/Makefile.am: Ditto.
6452
        * libc/stdlib/Makefile.am: Ditto.
6453
        * libc/string/Makefile.am: Ditto.
6454
        * libc/sys/linux/Makefile.am: Ditto.
6455
        * libc/sys/linux/argp/Makefile.am: Ditto.
6456
        * libc/sys/linux/cmath/Makefile.am: Ditto.
6457
        * libc/sys/linux/dl/Makefile.am: Ditto.
6458
        * libc/sys/linux/iconv/Makefile.am: Ditto.
6459
        * libc/sys/linux/intl/Makefile.am: Ditto.
6460
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6461
        * libc/sys/linux/net/Makefile.am: Ditto.
6462
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
6463
        * libc/syscalls/Makefile.am: Ditto.
6464
        * libc/time/Makefile.am: Ditto.
6465
        * libc/unix/Makefile.am: Ditto.
6466
        * libm/Makefile.am: Ditto.
6467
        * libm/common/Makefile.am: Ditto.
6468
        * libm/math/Makefile.am: Ditto.
6469
        * libm/mathfp/Makefile.am: Ditto.
6470
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
6471
 
6472
2006-04-07  Jeff Johnston  
6473
 
6474
        * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
6475
        anymore.  Assume there is a gettimeofday syscall.
6476
 
6477
2006-03-29  Shaun Jackman  
6478
 
6479
        * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
6480
        for the declaration of n_long.
6481
 
6482
2006-03-29  Shaun Jackman  
6483
 
6484
        * libc/sys/linux/include/net/if.h: Include sys/socket.h for
6485
        struct sockaddr.
6486
        (IFF_SMART): Replace this define with IFF_NOTRAILERS.
6487
        (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
6488
        (IFF_NOTRAILERS): New define.
6489
        (struct ifreq): Add ifru_netmask.
6490
        (ifr_netmask): New define.
6491
 
6492
2006-03-29  Shaun Jackman  
6493
 
6494
        * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
6495
        match sys/ioctl.h.
6496
 
6497
2006-03-29  Shaun Jackman  
6498
 
6499
        * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
6500
        linux-newlib libc implementations.
6501
 
6502
2006-03-29  Eric Blake  
6503
 
6504
        * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
6505
        * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
6506
 
6507
2006-03-29  Jeff Johnston  
6508
 
6509
        * libc/sys/linux/io.c (__mknod): Fix declaration of
6510
        syscall to pass a dev_t as third argument rather than
6511
        a pointer to dev_t.
6512
 
6513
2006-03-29  Jeff Johnston  
6514
 
6515
        * libc/sys/linux/net/name6.c: Fix struct references.
6516
 
6517
2006-03-22  Mark Mitchell  
6518
 
6519
        * configure.host: Allow hosts to set the default
6520
        newlib_atexit_dynamic_alloc value.
6521
        * configure.in: Likewise.
6522
        * configure: Regenerated.
6523
 
6524
2006-03-20  Mark Mitchell  
6525
 
6526
        * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
6527
        * configure.in (--disable-newlib-atexit-dynamic-alloc): New
6528
        option.
6529
        * configure: Regenerated.
6530
        * newlib.hin: Regenerated.
6531
        * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
6532
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
6533
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
6534
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
6535
 
6536
2006-03-17  Jeff Johnston  
6537
 
6538
        * libc/sys/linux/linuxthreads/config.h: Remove definition
6539
        of UINT32_C.
6540
 
6541
2006-03-15  Jeff Johnston  
6542
 
6543
        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
6544
        for a string I/O file that isn't using the asprintf family.
6545
 
6546
2006-03-07  Eric Blake  
6547
 
6548
        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
6549
        filename, allow read-only or write-only FILE atop O_RDWR file
6550
        descriptor.
6551
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
6552
 
6553
2006-03-07  Jeff Johnston  
6554
 
6555
        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
6556
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
6557
 
6558
2006-03-02  Jeff Johnston  
6559
 
6560
        * libm/math/math.tex: Fix reference to sisnan.def which
6561
        is now in common subdirectory.
6562
        * libm/mathfp/mathfp.tex: Ditto.
6563
 
6564
2006-02-27  Jeff Johnston  
6565
 
6566
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
6567
        s_isnand, and sf_isnanf object files.
6568
        * Makefile.in: Regenerated.
6569
        * libc/include/ieeefp.h: Undef isnan and isinf to avoid
6570
        conflict if  has previously been included.
6571
        * libc/include/math.h
6572
        * libc/include/math.h: Make isnan and isinf macros to
6573
        conform to C99.
6574
        (__isinfd, __isinff, __isnand, __isnanf): New functions.
6575
        * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
6576
        and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
6577
        sf_isinf files which have been moved from math/mathfp directories.
6578
        * libm/common/Makefile.in: Regenerated.
6579
        * libm/common/s_isinfd.c: New file.
6580
        * libm/common/s_isnand.c: Ditto.
6581
        * libm/common/sf_isinff.c: Ditto.
6582
        * libm/common/sf_isnanf.c: Ditto.
6583
        * libm/common/s_isinf.c: Moved from libm/math directory.
6584
        * libm/common/s_isnan.c: Ditto.
6585
        * libm/common/sf_isinf.c: Ditto.
6586
        * libm/common/sf_isnan.c: Ditto.
6587
        * libm/math/Makefile.am: Remove isinf and isnan family functions
6588
        which have been moved into common directory.
6589
        * libm/mathfp/Makefile.am: Ditto.
6590
        * libm/math/Makefile.in: Regenerated.
6591
        * libm/mathfp/Makefile.in: Ditto.
6592
        * libm/math/s_isinf.c: Removed.
6593
        * libm/math/s_isnan.c: Ditto.
6594
        * libm/math/sf_isinf.c: Ditto.
6595
        * libm/math/sf_isnan.c: Ditto.
6596
        * libm/mathfp/s_isinf.c: Ditto.
6597
        * libm/mathfp/s_isnan.c: Ditto.
6598
        * libm/mathfp/sf_isinf.c: Ditto.
6599
        * libm/mathfp/sf_isnan.c: Ditto.
6600
 
6601
2006-02-20  Jeff Johnston  
6602
 
6603
        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
6604
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
6605
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
6606
        seek, turn off the __SNPT no-optimization flag.
6607
 
6608
2006-02-16  Jeff Johnston  
6609
 
6610
        * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
6611
        will be defined.
6612
        * libc/sys/linux/sys/types.h: Move  ahead of
6613
         to preset special flags.
6614
 
6615
2006-02-15  Corinna Vinschen  
6616
 
6617
        * libc/include/sys/time.h (struct timeval): Change member types
6618
        according to SUSv3.
6619
        * libc/include/sys/types.h (useconds_t): Change to unsigned
6620
        according to SUSv3.
6621
        (suseconds_t): Define type.
6622
 
6623
2006-02-13  Jeff Johnston  
6624
            David Carne  
6625
 
6626
        * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
6627
        instead of strlen to determine number of bytes to copy.
6628
        * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
6629
        before looking at storage location.
6630
 
6631
2006-02-07  Paul Brook  
6632
 
6633
        * libc/machine/arm/setjmp.S: Add Thumb-2 support.
6634
        * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
6635
        * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
6636
        * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
6637
        * libc/sys/arm/trap.S: Disable for Thumb-2.
6638
 
6639
2006-01-31  Leif Ekblad  
6640
 
6641
        * configure.host: RDOS support added
6642
        * libc/include/sys/config.h: Ditto.
6643
        * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
6644
        * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
6645
        * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
6646
        * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
6647
        * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
6648
        * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
6649
        * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
6650
        * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
6651
        * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
6652
        * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
6653
        * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
6654
        * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
6655
        * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
6656
        * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
6657
        * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
6658
        * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
6659
        * libc/sys/rdos/write.c: Ditto.
6660
 
6661
2006-01-24  Jeff Johnston  
6662
 
6663
        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
6664
        so as not to define PACKAGE and VERSION in newlib.h.
6665
        * aclocal.m4: Regenerated.
6666
        * configure: Ditto.
6667
        * newlib.hin: Ditto.
6668
 
6669
2006-01-20  Jeff Johnston  
6670
 
6671
        * acconfig.h: New file to generate newlib.hin from.
6672
        * newlib.hin: Regenerated.
6673
        * stamp-h.in: Regenerated.
6674
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
6675
        called automatically.
6676
        * Makefile.in: Regenerated.
6677
        * acinclude.m4: Add proper comment for hack in previous change.
6678
        * aclocal.m4 */aclocal.m4: Regenerated.
6679
        * configure */configure: Regenerated.
6680
 
6681
2006-01-11  Jeff Johnston  
6682
 
6683
        * acinclude.m4: Add hack to prevent INSTALL in subdirs
6684
        from being set to "../".
6685
        * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
6686
        * aclocal.m4: Regenerated.
6687
        * configure: Ditto.
6688
        * Makefile.in: Ditto.
6689
        * doc/aclocal.m4: Ditto.
6690
        * doc/configure: Ditto.
6691
        * iconvdata/aclocal.m4: Ditto.
6692
        * iconvdata/configure: Ditto.
6693
        * libc/*/aclocal.m4: Ditto.
6694
        * libc/*/configure: Ditto.
6695
        * libc/libc.texinfo: Ditto.
6696
        * libm/*/aclocal.m4: Ditto.
6697
        * libm/*/configure: Ditto.
6698
 
6699
2006-01-10  Eric Blake  
6700
 
6701
        * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
6702
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
6703
 
6704
2006-01-10  Jeff Johnston  
6705
 
6706
        * libm/mathfp/s_frexp.c: Check for special values on
6707
        the original input, not the manipulated output value.
6708
        * libm/mathfp/sf_frexp.c: Ditto.
6709
        * libm/mathfp/s_atangent.c: Don't use local value branch
6710
        when checking for quadrant.
6711
        * libm/mathfp/sf_atangent.c: Ditto.
6712
 
6713
2006-01-09  Jeff Johnston  
6714
 
6715
        * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
6716
        * libc/stdio64/freopen64.c: Ditto.
6717
 
6718
2006-01-09  Eric Blake  
6719
 
6720
        * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
6721
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
6722
 
6723
2006-01-06  Jeff Johnston  
6724
 
6725
        * libc/sys/linux/include/getopt.h: Add macros needed by
6726
        new version of getopt.c in libc/stdlib.
6727
 
6728
2006-01-04  Gregory Pietsch  
6729
 
6730
        * libc/stdlib/getopt.c: Replaced with version
6731
        that adds getopt_long and getopt_long_only support.
6732
        * libc/include/getopt.h: New file.
6733
 
6734
2005-12-16  Jeff Johnston  
6735
 
6736
        * NEWS: Update with 1.14.0 info.
6737
        * README: Ditto.
6738
        * acinclude.m4: Change version number to 1.14.0.
6739
        * aclocal.m4: Regenerated.
6740
        * configure: Ditto.
6741
        * doc/aclocal.m4: Ditto.
6742
        * doc/configure: Ditto.
6743
        * libc/*/aclocal.m4: Ditto.
6744
        * libc/*/configure: Ditto.
6745
        * libc/libc.texinfo: Ditto.
6746
        * libm/*/aclocal.m4: Ditto.
6747
        * libm/*/configure: Ditto.
6748
        * libm/libm.texinfo: Ditto.
6749
        * libc/sys/linux/shared.ld: Add VERS_1.14.
6750
 
6751
2005-12-16  Jeff Johnston  
6752
 
6753
        * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
6754
        take a pointer to struct stat64 rather than struct stat.
6755
 
6756
2005-12-16  Ralf Corsepius 
6757
 
6758
        * libc/include/stdint.h: Prefer long over int for int32_t.
6759
        Use __have_long32 to set up int32_t.
6760
        * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
6761
        (Sync with stdint.h).
6762
 
6763
2005-12-14  Corinna Vinschen  
6764
 
6765
        * libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
6766
        typo in O_NDELAY comment.
6767
 
6768
2005-12-13  Nathan Sidwell  
6769
 
6770
        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
6771
        * libc/include/machine/setjmp.h (__mt__): Likewise.
6772
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
6773
        * libc/machine/configure.in: Ditto.
6774
 
6775
2005-12-12  Nathan Sidwell  
6776
 
6777
        * configure.host: Replace ms1 arch with mt arch.
6778
        * libc/machine/mt: Renamed from ms1 dir.
6779
 
6780
2005-12-08  Shaun Jackman  
6781
 
6782
        * libc/include/sys/types.h: Remove the ifdef armour around
6783
        standard POSIX types.
6784
 
6785
2005-12-06  Ralf Corsepius 
6786
 
6787
        * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
6788
        rtems_gxx_key_delete, rtems_gxx_getspecific,
6789
        rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
6790
        rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
6791
        rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
6792
 
6793
2005-12-05  Christopher Faylor  
6794
 
6795
        * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
6796
        file.  Declare unsetenv and _unsetenv_r when not cygwin.
6797
 
6798
2005-11-18  Jeff Johnston  
6799
 
6800
        * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
6801
        Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
6802
 
6803
2005-11-18  Christopher Faylor  
6804
 
6805
        * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
6806
 
6807
2005-11-18  Christopher Faylor  
6808
 
6809
        * include/time.h: Remove more cygwin-specific stuff.
6810
 
6811
2005-11-18  Christopher Faylor  
6812
 
6813
        * include/time.h: Move cygwin declarations to cygwin-specific header.
6814
        * include/sys/time.h: Rename cygwin include to "sys_time.h".
6815
 
6816
2005-11-17  Jeff Johnston  
6817
 
6818
        * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
6819
        in libc/sys/linux/include.
6820
        * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
6821
        * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
6822
        * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
6823
        in libc/sys/linux/dl.
6824
 
6825
2005-11-11  Christopher Faylor  
6826
 
6827
        * libc/include/sys/time.h: For cygwin, use general header rather than
6828
        specific "sys/select.h".
6829
 
6830
2005-11-08  Tom Walsh  
6831
 
6832
        * libc/time/tzvars.c: New file.
6833
        * libc/time/tzset_r.c: Moved globals into tzvars.c
6834
        so other time functions needn't link in __tzset_r and its
6835
        dependencies.
6836
        * libc/time/Makefile.am: Add the new file.
6837
        * libc/time/Makefile.in: Regenerated.
6838
 
6839
2005-11-08  Christopher Faylor  
6840
 
6841
        * libc/include/string.h: Add cygwin-specific function declaration.
6842
 
6843
2005-11-07  Corinna Vinschen  
6844
 
6845
        * libc/include/ieeefp.h: Add C++ guards.
6846
 
6847
2005-11-03  Jeff Johnston  
6848
 
6849
        * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
6850
        * libc/unix/getlogin.c: Ditto.
6851
        * libc/unix/getpass.c: Ditto.
6852
        * libc/unix/getut.c: Ditto.
6853
        * libc/unix/ttyname.c: Ditto.
6854
 
6855
2005-11-03  Shaun Jackman  
6856
 
6857
        * libc/include/sys/unistd.h (readlink, symlink): Provide these
6858
        prototypes by default.
6859
        * libc/sys/linux/include/unistd.h (readlink): Remove this
6860
        prototype.
6861
        * libc/sys/linux/sys/unistd.h (readlink, symlink): New
6862
        prototypes.
6863
 
6864
2005-11-01  Ralf Corsepius 
6865
 
6866
        * libc/include/stdint.h: Cleanup #if vs. #ifdef.
6867
 
6868
2005-10-31  Darin Johnson  
6869
 
6870
        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
6871
        correct for constants.
6872
 
6873
2005-10-28  Bob Wilson  
6874
 
6875
        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
6876
        * libc/stdio/siscanf.c: Likewise.
6877
        * libc/stdio/sprintf.c: Likewise.
6878
        * libc/stdio/sscanf.c: Likewise.
6879
        * libc/stdio/vfprintf.c: Likewise.
6880
        * libc/stdio/vfscanf.c: Likewise.
6881
        * libc/stdio/viprintf.c: Likewise.
6882
        * libc/stdio/viscanf.c: Likewise.
6883
 
6884
2005-10-28  Bob Wilson  
6885
 
6886
        * libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
6887
        example to use "_end" symbol instead of "end".  Change write  example
6888
        to use "outbyte" instead of "writechar".
6889
 
6890
2005-10-28  Bob Wilson  
6891
 
6892
        * libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
6893
        * libc/ctype/islower.c: Likewise.
6894
        * libc/ctype/isupper.c: Likewise.
6895
        * libc/ctype/iswalnum.c: Likewise.
6896
        * libc/ctype/iswalpha.c: Likewise.
6897
        * libc/ctype/iswblank.c: Likewise.
6898
        * libc/ctype/iswcntrl.c: Likewise.
6899
        * libc/ctype/iswdigit.c: Likewise.
6900
        * libc/ctype/iswgraph.c: Likewise.
6901
        * libc/ctype/iswlower.c: Likewise.
6902
        * libc/ctype/iswprint.c: Likewise.
6903
        * libc/ctype/iswpunct.c: Likewise.
6904
        * libc/ctype/iswspace.c: Likewise.
6905
        * libc/ctype/iswupper.c: Likewise.
6906
        * libc/ctype/iswxdigit.c: Likewise.
6907
        * libc/ctype/tolower.c: Likewise.
6908
        * libc/ctype/toupper.c: Likewise.
6909
        * libc/ctype/towctrans.c: Likewise.
6910
        * libc/ctype/towlower.c: Likewise.
6911
        * libc/ctype/towupper.c: Likewise.
6912
        * libc/string/strcasecmp.c: Likewise.
6913
        * libc/string/strcoll.c: Likewise.
6914
        * libc/string/strings.tex: Likewise.
6915
        * libc/string/strlwr.c: Likewise.
6916
        * libc/string/strncasecmp.c: Likewise.
6917
        * libc/string/strupr.c: Likewise.
6918
        * libc/string/wcscoll.c: Likewise.
6919
        * libc/string/wcslcat.c: Likewise.
6920
        * libc/string/wcslcpy.c: Likewise.
6921
        * libc/string/wcsnlen.c: Likewise.
6922
        * libc/string/wcsstr.c: Likewise.
6923
        * libc/string/wcstrings.tex: Likewise.
6924
        * libc/string/wmemchr.c: Likewise.
6925
        * libc/string/wmemcmp.c: Likewise.
6926
        * libc/string/wmemcpy.c: Likewise.
6927
        * libc/string/wmemmove.c: Likewise.
6928
        * libc/string/wmemset.c: Likewise.
6929
 
6930
2005-10-28  Bob Wilson  
6931
 
6932
        * libc/misc/unctrl.c: Replace FUNCTION description.
6933
        * libc/signal/signal.c: Remove documentation for raise and  _raise_r.
6934
        * libc/stdio/getdelim.c: Fix spelling errors.
6935
        * libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
6936
        * libc/stdio/putw.c: Likewise.
6937
        * libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
6938
        documentation.
6939
        * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
6940
        * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
6941
        * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
6942
        * libc/stdlib/mlock.c: Likewise.
6943
        * libc/stdlib/mstats.c: Likewise.
6944
        * libc/time/tzlock.c: Likewise.
6945
        * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
6946
        * libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
6947
        and hyphenate "pseudo-random".
6948
        * libc/string/bcmp.c: Remove extra blank lines in  documentation.
6949
        * libc/string/strncat.c: Likewise.
6950
        * libc/string/memchr.c: Remove extra ">" character in  documentation.
6951
        * libc/string/strcspn.c: Use "characters" instead of "chars".
6952
        * libc/string/strpbrk.c: Likewise.
6953
        * libc/string/strerror_r.c: Capitalize "GNU".
6954
        * libc/string/strnlen.c: Likewise.
6955
        * libc/string/strtok.c: Fix formatting, spelling and  punctuation in
6956
        documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
6957
        * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
6958
        * libc/string/wcschr.c: Likewise.
6959
        * libc/string/wcscmp.c: Likewise.
6960
        * libc/string/wcscpy.c: Likewise.
6961
        * libc/string/wcscspn.c: Likewise.
6962
        * libc/string/wcslen.c: Likewise.
6963
        * libc/string/wcsncat.c: Likewise.
6964
        * libc/string/wcsncmp.c: Likewise.
6965
        * libc/string/wcsncpy.c: Likewise.
6966
        * libc/string/wcsnlen.c: Likewise.
6967
        * libc/string/wcspbrk.c: Likewise.
6968
        * libc/string/wcsrchr.c: Likewise.
6969
        * libc/string/wcsspn.c: Likewise.
6970
        * libc/string/wmemchr.c: Likewise.
6971
        * libc/string/wmemcmp.c: Likewise.
6972
        * libc/string/wmemcpy.c: Likewise.
6973
        * libc/string/wmemset.c: Likewise.
6974
        * libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
6975
        * libc/string/wcswidth.c: Formatting and punctuation in  documentation.
6976
        * libc/string/wcwidth.c: Likewise.
6977
        * libm/common/s_modf.c: Remove extra period from documentation.
6978
        * libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
6979
        documentation.
6980
        * libm/mathfp/s_isnan.c: Likewise.
6981
        * libm/math/s_ldexp.c: Fix punctuation.
6982
        * libm/mathfp/s_ldexp.c: Likewise.
6983
        * libm/math/w_log.c: Likewise.
6984
        * libm/mathfp/s_logarithm.c: Likewise.
6985
        * libm/math/w_j0.c: Add spaces to FUNCTION description.
6986
        * libm/mathfp/w_jn.c: Likewise.
6987
 
6988
2005-10-26  Shaun Jackman  
6989
 
6990
        * libc/posix/scandir.c (scandir): Update the function
6991
        prototype to match the header.
6992
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
6993
        extraneous #endif.
6994
        * libc/sys/linux/sys/lock.h: Do not include
6995
        machine/weakalias.h, since it's not used by this file.
6996
 
6997
2005-10-26  Jeff Johnston  
6998
 
6999
        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
7000
        directories can override properly.
7001
 
7002
2005-10-20  Jeff Johnston  
7003
 
7004
        * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
7005
        gcc is 3.3 or greater, use special gcc builtins.
7006
 
7007
2005-10-20  Corinna Vinschen 
7008
 
7009
        * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
7010
 
7011
2005-10-18  Corinna Vinschen 
7012
 
7013
        * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
7014
 
7015
2005-10-14  Jeff Johnston  
7016
 
7017
        * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
7018
        * libm/common/Makefile.am: Add s_infconst.c support.
7019
        * libm/common/Makefile.in: Regenerated.
7020
        * libm/common/s_infconst.c: New file with float and
7021
        long double infinity support added.
7022
        * libm/math/Makefile.am: Remove s_infconst.c support.
7023
        * libm/math/Makefile.in: Regenerated.
7024
        * libm/math/s_infconst.c: Moved to common directory.
7025
        * libm/mathfp/Makefile.am: Remove s_infconst.c support.
7026
        * libm/mathfp/Makefile.in: Regenerated.
7027
        * libm/mathfp/s_infconst.c: Moved to common directory.
7028
 
7029
2005-10-14  Jeff Johnston  
7030
 
7031
        * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
7032
        dbgprintf to prevent conflict with new dprintf function.
7033
 
7034
2005-10-14  Jeff Johnston  
7035
 
7036
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
7037
        "nan" processing for systems that have long double support.
7038
 
7039
2005-10-14  Jeff Johnston  
7040
 
7041
        * libc/sys/linux/sys/types.h (int8_t): Add type.
7042
 
7043
2005-10-14  Bob Wilson  
7044
 
7045
        * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
7046
        * libm/common/Makefile.in: Regenerate.
7047
        * libm/common/common.tex: Delete file.
7048
        * libm/math/math.tex: Include .def files from common/.
7049
        * libm/mathfp/mathfp.tex: Likewise.
7050
 
7051
2005-10-14  Bob Wilson  
7052
 
7053
        * libc/libc.texinfo (Top): Surround this node with @ifnottex
7054
        instead of @ifinfo.  Update menu to add Introduction and match
7055
        SUBDIRS order.
7056
        (Introduction): New section.
7057
 
7058
2005-10-14  Bob Wilson  
7059
 
7060
        * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
7061
        with "Red Hat newlib C Library".
7062
        * libc/sys.tex (Stubs): Likewise.
7063
        * libm/math/math.tex (Math): Likewise.
7064
        * libm/mathfp/mathfp.tex (Math): Likewise.
7065
 
7066
2005-10-11  Shaun Jackman  
7067
 
7068
        * libc/include/stdio.h (dprintf): New declaration.
7069
        (vdprintf): Ditto.
7070
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
7071
        and vdprintf.c.
7072
        * libc/stdio/Makefile.in: Regenerate.
7073
        * libc/stdio/dprintf.c: New file.
7074
        * libc/stdio/vdprintf.c: New file.
7075
        * libc/stdio/stdio.tex (dprintf): New entry.
7076
 
7077
2005-10-11  David Weatherford  
7078
 
7079
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
7080
        Print "inf" and "nan" in lowercase for e/f/g formats and in
7081
        uppercase for E/F/G formats.
7082
 
7083
2005-10-07  Bob Wilson  
7084
 
7085
        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
7086
        to ENOMEM on failure.
7087
 
7088
2005-10-06  Ralf Corsepius 
7089
 
7090
        * libc/include/stdint.h: Add [u]int_fast_t types.
7091
 
7092
2005-10-04  Ralf Corsepius 
7093
 
7094
        * libc/include/stdint.h: Move magic to set __have_long* to the
7095
        beginning.  Use #if __have* instead of #if defined(__have*).
7096
        Minor typo fixes.
7097
 
7098
2005-10-04  James E Wilson  
7099
 
7100
        * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
7101
        #error.
7102
 
7103
2005-10-03  Jeff Johnston  
7104
 
7105
        * libc/sys/linux/include/stdint.h: Include  and
7106
        incorporate Ralf's change below.
7107
 
7108
2005-10-03  Ralf Corsepius 
7109
 
7110
        * libc/include/stdint.h:
7111
        Use __INTMAX_TYPE__ to derive intmax_t.
7112
        Use __UINTMAX_TYPE__ to derive uintmax_t.
7113
        Fix minor typo.
7114
 
7115
2005-09-27  Ralf Corsepius 
7116
 
7117
        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
7118
        handling GCC >= 4.
7119
 
7120
2005-09-20  Jeff Johnston  
7121
 
7122
        * libc/sys/linux/include/stdint.h: Update to match functionality
7123
        of generic newlib stdint.h.
7124
 
7125
2005-09-20  Jeff Johnston  
7126
 
7127
        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
7128
        and do not #undef the macro after it is used.  Fix typos.
7129
        Also change 64-bit constants to use the __have_long64 and
7130
        __have_longlong64 flags to determine if long or long long
7131
        constants should be used.
7132
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
7133
        type defined.
7134
 
7135
2005-09-20  Shaun Jackman  
7136
 
7137
        * libc/include/stdint.h: Fix typo in names of
7138
        LEAST macros.
7139
 
7140
2005-09-20  Jeff Johnston  
7141
 
7142
        * libc/sys/rtems/include/inttypes.h: Moved to...
7143
        * libc/include/inttypes.h: ...here.
7144
 
7145
2005-09-19  Jeff Johnston  
7146
 
7147
        * libc/sys/rtems/include/stdint.h: Moved to...
7148
        * libc/include/stdint.h: ...here.
7149
 
7150
2005-09-08  Jeff Johnston  
7151
 
7152
        * Makefile.am: Add include files under bits sub-directory.
7153
        * Makefile.in: Regenerated.
7154
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
7155
        actual value of 1 to be compatible with newer glibc headers.
7156
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
7157
        glibc headers.
7158
        * libc/sys/linux/sys/dirent.h: Ditto.
7159
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
7160
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
7161
        profile_fixup routines are marked used so they won't be
7162
        optimized away.
7163
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
7164
        to mark functions as weak.
7165
        * libc/sys/linux/dl/dl-open.c: Ditto.
7166
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
7167
        rules about lvalues.
7168
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
7169
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
7170
        weak_extern macro to mark functions as weak.  Instead always
7171
        use #pragma weak.
7172
        * iconvdata/jis0208.h: Fix to work with gcc4.
7173
        * libc/sys/linux/dl/dl-load.c: Ditto.
7174
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
7175
        * libc/sys/linux/dl/do-rel.h: Ditto.
7176
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
7177
        * libc/sys/linux/include/ltdl.h: Ditto.
7178
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
7179
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
7180
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
7181
        * libc/sys/linux/bits/initspin.h: New file.
7182
        * libc/sys/linux/bits/libc-lock.h: Ditto.
7183
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
7184
        * libc/sys/linux/bits/typesizes.h: Ditto.
7185
 
7186
2005-09-08  Eric Blake  
7187
 
7188
        * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
7189
        before is NULL.
7190
 
7191
2005-09-08  Brian Dessent  
7192
 
7193
        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
7194
        mantissa.
7195
        * s_lrint.c: Ditto.
7196
 
7197
2005-09-02  Jeff Johnston  
7198
 
7199
        * libc/include/stdio.h: Add prototype for viprintf.
7200
 
7201
2005-09-01  Jeff Johnston  
7202
 
7203
        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
7204
        any positive power results in 0.
7205
        * libm/mathfp/sf_pow.c (powf): Ditto.
7206
 
7207
2005-08-31  Paul Brook  
7208
 
7209
        * configure.host: Set have_crt0 to no for Arm targts when not
7210
        providing syscalls.  Set sys_dir=arm unconditionally.
7211
        Default have_crt0 based on sys_dir.
7212
        * configure.in: Use have_crt0.
7213
        * libc/configure.in: Ditto.
7214
        * libc/sys/configure.in: Ditto.
7215
        * configure: Regenerate.
7216
        * libc/configure: Regenerate.
7217
        * libc/sys/configure: Regenerate.
7218
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
7219
        Only build other files when providing syscalls.
7220
        * libc/sys/arm/Makefile.in: Regenerate.
7221
        * libc/sys/arm/aeabi_atexit.c: New file.
7222
 
7223
2005-08-26  Christopher Faylor  
7224
 
7225
        * libc/include/string.h: Revert previous change.
7226
 
7227
2005-08-25  Christopher Faylor  
7228
 
7229
        * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
7230
 
7231
2005-08-22  Shaun Jackman  
7232
 
7233
        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
7234
        define _opendir as opendir, _readdir as readdir, and
7235
        _closedir as closedir so that the implementations in
7236
        libc/posix will be used.
7237
 
7238
2005-08-10  DJ Delorie  
7239
 
7240
        * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
7241
 
7242
2005-08-10  Stephen Huw Clarke  
7243
 
7244
        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
7245
        * libm/common/s_max.c: Ditto.
7246
        * libm/common/sf_fmin.c: Ditto.
7247
        * libm/common/s_min.c: Ditto.
7248
 
7249
2005-08-10  DJ Delorie  
7250
 
7251
        * configure.host: Add m32c support.
7252
        * libc/include/machine/ieeefp.h: Likewise.
7253
        * libc/include/machine/setjmp.h: Likewise.
7254
        * libc/include/sys/config.h: Likewise.
7255
        * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
7256
        * libc/machine/m32c/aclocal.m4: New file.
7257
        * libc/machine/m32c/configure: Ditto.
7258
        * libc/machine/m32c/configure.in: Ditto.
7259
        * libc/machine/m32c/Makefile.am: Ditto.
7260
        * libc/machine/m32c/Makefile.in: Ditto.
7261
        * libc/machine/m32c/setjmp.S: Ditto.
7262
 
7263
2005-08-02  Bob Wilson  
7264
 
7265
        * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
7266
        to the value for 2^126.
7267
 
7268
2005-07-26  Hans-Peter Nilsson  
7269
 
7270
        * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
7271
        used.
7272
 
7273
2005-07-20  Bob Wilson  
7274
           Darin Petkov 
7275
 
7276
       * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
7277
 
7278
2005-07-19  Paul Brook  
7279
 
7280
        * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
7281
 
7282
2005-07-18  Joseph S. Myers  
7283
 
7284
        * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
7285
        names after PASS and FAIL which do not depend on source directory
7286
        name or on whether test passed or failed.
7287
        * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
7288
 
7289
2005-07-08  Ola Hugosson   
7290
 
7291
        * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
7292
 
7293
2005-07-07  Shaun Jackman  
7294
 
7295
        * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
7296
        twice for the same directory. _closedir calls free, and freeing
7297
        the same pointer twice may cause a crash.
7298
 
7299
2005-07-06  Aldy Hernandez  
7300
 
7301
        * configure.host: Added entry for ms1*.
7302
        * libc/include/machine/ieeefp.h: Handle ms1.
7303
        * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
7304
        * libc/machine/ms1/aclocal.m4: New.
7305
        * libc/machine/ms1/configure: New.
7306
        * libc/machine/ms1/configure.in: New.
7307
        * libc/machine/ms1/Makefile.am: New.
7308
        * libc/machine/ms1/Makefile.in: New.
7309
        * libc/machine/ms1/setjmp.S: New.
7310
 
7311
2005-07-04  Mark Mitchell  
7312
 
7313
        * Makefile.am (site.exp): Set tmpdir.
7314
        * Makefile.in: Regenerated.
7315
        * testsuite/lib/checkoutput.exp (newlib_check_output): Put
7316
        executables in $tmpdir.
7317
        * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
7318
        libgloss version if not running in the build directory.
7319
        * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
7320
        $tmpdir.
7321
        * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
7322
        in $tmpdir.
7323
 
7324
2005-06-28  Dave Korn  
7325
 
7326
        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
7327
        and miscalculation caused by fp representation of zero.
7328
        * libm/common/sf_lrint.c (lrintf):  Likewise.
7329
 
7330
2005-06-16  Christopher Faylor  
7331
 
7332
        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
7333
        determine characteristics of long double.  Use a union instead.
7334
        * ldtoa.c (_ldtoa_r): Ditto.
7335
        (_ldcheck): Ditto.
7336
        (_strtold): Ditto.
7337
        (union uconv): New union.
7338
 
7339
2005-06-03  Jeff Johnston  
7340
 
7341
        * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
7342
        instead of memcpy.
7343
 
7344
2005-05-12  Jeff Johnston  
7345
 
7346
        * configure.host (mn10300-*): Add long long I/O support by default.
7347
 
7348
2005-05-12  Jeff Johnston  
7349
 
7350
        * libc/sys/linux/getpwuid.c: Removed.
7351
        * libc/sys/linux/getpwnam.c: Removed.
7352
        * libc/sys/linux/getpwent.c: New file containing logic
7353
        from files removed above.  This allows overriding of file
7354
        in libc/unix.
7355
        * libc/sys/linux/Makefile.am: Support changes above.
7356
        * libc/sys/linux/Makefile.in: Regenerated.
7357
 
7358
2005-04-28  Jeff Johnston  
7359
 
7360
        * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
7361
        when checking for multiple flags.
7362
 
7363
2005-04-18  Hans-Peter Nilsson  
7364
 
7365
        * configure.host : Set
7366
        default_newlib_io_long_long="yes".
7367
 
7368
2005-04-08  Jeff Johnston  
7369
 
7370
        * libc/include/libgen.h: New file.
7371
 
7372
2005-04-08  Shaun Jackman  
7373
 
7374
        * libc/unix/Makefile.am: Add support for basename and dirname.
7375
        * libc/unix/Makefile.in: Regenerated.
7376
        * libc/unix/basename.c: New file.
7377
        * libc/unix/dirname.c: New file.
7378
 
7379
2005-04-07  Shaun Jackman  
7380
 
7381
        * libc/sys/linux/inode.c (lchown): New function.
7382
 
7383
2005-04-07  Shaun Jackman  
7384
 
7385
        * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
7386
        ELIX level is defined.
7387
        * libc/unix/Makefile.in: Regenerated.
7388
 
7389
2005-04-05  Dave Korn  
7390
 
7391
        * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
7392
        something that looks like a "NaN", put back the characters processed.
7393
 
7394
2005-04-01  Corinna Vinschen  
7395
 
7396
        * libc/stdlib/strtod.c (_strtod_r): Never change s00.
7397
 
7398
2005-03-23  Christopher Faylor  
7399
 
7400
        * configure.host: For cygwin, redefine CC with cygwin include directory
7401
        first to mimic the behavior of the top-level configury.  Move include
7402
        directory out of newlib_cflags.
7403
 
7404
2005-03-22  Jeff Johnston  
7405
 
7406
        * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
7407
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
7408
        than errno.
7409
 
7410
2005-03-22  Christopher Faylor  
7411
 
7412
        * libc/include/machine/_types.h: Make trivial change to comment to
7413
        avoid a spurious warning from gcc.
7414
 
7415
2005-03-21  Nicholas Wourms  
7416
 
7417
        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
7418
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
7419
        reent.h include.
7420
 
7421
2005-03-18  Hans-Peter Nilsson  
7422
            Corinna Vinschen  
7423
 
7424
        * libc/include/ctype.h: Remove invalid +1 offset from
7425
        ctype macro references to __ctype_ptr.
7426
        (_ctype_): Move declaration outside #ifndef __cplusplus.
7427
 
7428
2005-03-18  Corinna Vinschen  
7429
 
7430
        * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
7431
        evaluate first parameter only once.
7432
        (siglongjmp): Ditto.
7433
 
7434
2005-03-17  Jeff Johnston  
7435
 
7436
        * configure.in: Add new check to see if compiler supports
7437
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
7438
        * configure: Regenerated.
7439
        * Makefile.in: Ditto.
7440
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
7441
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
7442
        aliasing the _ctype_ array to _ctype_b.
7443
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
7444
        _ctype_ as deprecated.
7445
 
7446
2005-03-17  Hans-Peter Nilsson  
7447
 
7448
        * configure.host (newlib_cflags) : Add
7449
        -DCOMPACT_CTYPE.
7450
 
7451
2005-03-06  Ralf Corsepious  
7452
 
7453
        * libc/sys/rtems/include/inttypes.h: New file.
7454
        * libc/sys/rtems/include/stdint.h: Ditto.
7455
 
7456
2005-03-06  Ralf Corsepious  
7457
 
7458
        * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
7459
 
7460
2005-03-06  Ralf Corsepious  
7461
 
7462
        * libc/include/machine/_types.h: New file.
7463
        * libc/include/sys/types.h: Do not check for __rtems__
7464
        when including .  Remove some redundant
7465
        declarations now that  is included.
7466
        * libc/sys/rtems/machine/_types.h: Removed.  Replaced with
7467
        shared header file.
7468
 
7469
2005-02-25  Ralf Corsepious  
7470
 
7471
        * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
7472
        L qualifier for these long constants.
7473
 
7474
2005-02-25  Eric Blake  
7475
 
7476
        * libc/include/time.h (__tzrule_struct): Make offset long, since
7477
        a 16-bit int overflows on a 12-hour offset.
7478
        * libc/sys/linux/include/time.h: Ditto.
7479
        * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
7480
        * libc/time/mktm_r.c: Ditto.
7481
        * libc/time/gettzinfo.c: Ditto.
7482
        * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
7483
        years.  Fix '%z' to use long, not int.
7484
 
7485
2005-02-24  Ralf Corsepious  
7486
 
7487
        * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
7488
        manipulate float values in integer form.
7489
        * libm/common/sf_round.c: Ditto.
7490
 
7491
2005-02-24  Ralf Corsepious  
7492
 
7493
        * libc/include/sys/types.h [__rtems__]: Include new
7494
        header file machine/_types.h.
7495
        * libc/include/machine/types.h: Ditto.
7496
        * libc/sys/rtems/machine/_types.h: New file.
7497
 
7498
2005-02-23  Corinna Vinschen  
7499
 
7500
        * libc/include/time.h (_timezone): Change to long also for Cygwin.
7501
        (timezone): Drop cast from definition.
7502
 
7503
2005-02-23  Jeff Johnston  
7504
 
7505
        * libc/include/time.h [!CYGWIN](_timezone): Change to long.
7506
        (__tzrule_type, __tzinfo_type): New types.
7507
        (__gettzinfo): New function.
7508
        * libc/sys/linux/include/time.h: Ditto.
7509
        * libc/time/Makefile.am: Add gettzinfo.c.
7510
        * libc/time/Makefile.in: Regenerated.
7511
        * libc/time/local.h: Moved __tzrule_type to time.h.
7512
        * libc/time/mktime.c: Call __gettzinfo to reference
7513
        __tznorth, __tzyear, and __tzrule array.
7514
        * libc/time/mktm_r.c: Ditto.
7515
        * libc/time/strftime.c: Ditto.
7516
        * libc/time/tzset_r.c: Ditto.  Also remove definition
7517
        of __tzrule which is now in gettzinfo.c.  Change _timezone
7518
        references to not cast to time_t.
7519
        * libc/time/gettzinfo.c: New file.
7520
 
7521
2005-02-23  Corinna Vinschen  
7522
 
7523
        * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
7524
 
7525
2005-02-22  Corinna Vinschen  
7526
 
7527
        * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
7528
 
7529
2005-02-16  Eric Blake  
7530
 
7531
        * libc/time/time.tex: Improve the documentation.
7532
        * libc/time/strftime.c: Improve the documentation.
7533
        (iso_year_adjust): New helper function.
7534
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
7535
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
7536
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
7537
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
7538
        Avoid core dumps on valid inputs (maxsize == 0, or
7539
        tim_p->tm_isdst > 1).
7540
 
7541
2005-02-08  Corinna Vinschen  
7542
 
7543
        * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
7544
        members to uid_t and gid_t according to SUSv3.
7545
        * libc/include/sys/time.h (utimes):  Change second parameter
7546
        to const according to SUSv3.
7547
 
7548
2005-02-07  Antony King  
7549
 
7550
        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
7551
        called before _flockfile to prevent lock object use before
7552
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
7553
        take a struct _reent * instead of a FILE *.
7554
        * libc/stdio/fclose.c (_fclose_r): Ditto.
7555
        * libc/stdio/feof.c (feof): Ditto.
7556
        * libc/stdio/ferror.c (ferror): Ditto.
7557
        * libc/stdio/fflush.c (fflush): Ditto.
7558
        * libc/stdio/fgetc.c (fgetc): Ditto.
7559
        * libc/stdio/fgets.c (fgets): Ditto.
7560
        * libc/stdio/fileno.c (fileno): Ditto.
7561
        * libc/stdio/fputc.c (fputc): Ditto.
7562
        * libc/stdio/fputs.c (fputs): Ditto.
7563
        * libc/stdio/fread.c (fread): Ditto.
7564
        * libc/stdio/freopen.c (_freopen_r): Ditto.
7565
        * libc/stdio/fseek.c (_fseek_r): Ditto.
7566
        * libc/stdio/ftell.c (_ftell_r): Ditto.
7567
        * libc/stdio/fwrite.c (fwrite): Ditto.
7568
        * libc/stdio/getc.c (getc): Ditto.
7569
        * libc/stdio/getdelim.c (__getdelim): Ditto.
7570
        * libc/stdio/putc.c (putc): Ditto.
7571
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
7572
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
7573
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7574
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
7575
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
7576
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
7577
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
7578
        _reent * instead of a FILE * and so replace incorrect use of
7579
        _REENT with argument.
7580
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
7581
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
7582
        CHECK_INIT() take a struct _reent * instead of a FILE *.
7583
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
7584
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
7585
        * libc/stdio/perror.c (perror): Ditto.
7586
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
7587
        * libc/stdio/putchar.c (putchar): Ditto.
7588
        * libc/stdio/puts.c (puts): Ditto.
7589
        * libc/stdio/refill.c (__srefill): Ditto.
7590
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
7591
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
7592
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
7593
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
7594
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
7595
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
7596
        * libc/stdio/wbuf.c (__swbuf): Ditto.
7597
        * libc/stdio/wsetup.c (__swsetup): Ditto.
7598
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
7599
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
7600
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
7601
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
7602
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
7603
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
7604
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
7605
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
7606
        initialision of _data field in FILE structure.
7607
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
7608
 
7609
2005-02-07  Jeff Johnston  
7610
 
7611
        * libc/stdio/findfp.c (__sinit): Protect with new lock.
7612
        (__sinit_lock): New lock.
7613
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
7614
        * libc/stdio/local.h: Add reference to new __sinit locking
7615
        functions.
7616
 
7617
2005-02-07  Jeff Johnston  
7618
 
7619
        * libc/include/math.h (isfinite, isnormal, isunordered): Change
7620
        input variable names to avoid mixups with nesting macros.
7621
 
7622
2005-01-27  Hans-Peter Nilsson  
7623
 
7624
        * configure.host: Add support for cris-*-* and crisv32-*-*.
7625
        * libc/include/machine/ieeefp.h: Ditto.
7626
        * libc/include/machine/setjmp.h: Ditto.
7627
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
7628
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
7629
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
7630
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
7631
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
7632
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
7633
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
7634
        files.
7635
 
7636
2005-01-27  Hans-Peter Nilsson  
7637
 
7638
        * testsuite/newlib.string/memmove1.c: New test.
7639
 
7640
2005-01-27  Hans-Peter Nilsson  
7641
 
7642
        * testsuite/include/check.h: Include stdlib.h.
7643
 
7644
2005-01-27  Hans-Peter Nilsson  
7645
 
7646
        * Makefile.am (stmp-targ-include): Support include header files
7647
        from machine directories.
7648
        (install-data-local): Ditto.
7649
        * Makefile.in: Regenerate.
7650
 
7651
2005-01-24  Jeff Johnston  
7652
 
7653
        * libc/include/string.h: Remove Linux-specific declaration of
7654
        strsignal and add #include .
7655
        * libc/include/sys/string.h: New file.
7656
        * libc/include/sys/linux/sys/string.h: New file with strsignal
7657
        declaration deleted above.
7658
 
7659
2005-01-20  Jeff Johnston  
7660
 
7661
        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
7662
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
7663
        to be ignored as long as they precede valid specifiers according
7664
        to POSIX.
7665
 
7666
2005-01-19  Shaun Jackman  
7667
 
7668
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7669
        environment variable is set.
7670
 
7671
2005-01-19  Shaun Jackman  
7672
 
7673
        * tzset_r.c (_tzname): Add a comma.
7674
 
7675
2005-01-18  Aldy Hernandez  
7676
 
7677
        * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
7678
        _VFPRINTF_R.
7679
 
7680
2005-01-07  Paul Brook  
7681
 
7682
        * configure.in: Add test for .init_array.
7683
        * configure: Regenerate.
7684
        * newlib.hin: Add HAVE_INITFINI_ARRAY.
7685
        * libc/misc/Makefile.am: Add init.c
7686
        * libc/misc/Makefile.in: Regenerate.
7687
        * libc/misc/init.c: New file.
7688
        * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
7689
        _init/_fini if they exist.
7690
 
7691
2005-01-06  Jeff Johnston  
7692
 
7693
        * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
7694
        * (strtof): Ditto.
7695
        * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
7696
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
7697
        functions for use by strtod and strtof.
7698
        * Makefile.in: Regenerated.
7699
 
7700
2005-01-06  Hans-Peter Nilsson  
7701
 
7702
        * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
7703
        bit-test in combination with NULL test.
7704
 
7705
2005-01-06  Hans-Peter Nilsson  
7706
 
7707
        * README: Fix typo of LGPL.  Change "license" to "copyright".
7708
 
7709
2004-12-17  Jeff Johnston  
7710
 
7711
        * NEWS: Update with 1.13.0 info.
7712
        * README: Ditto.
7713
        * acinclude.m4: Change version number to 1.13.0.
7714
        * aclocal.m4: Regenerated.
7715
        * configure: Ditto.
7716
        * doc/aclocal.m4: Ditto.
7717
        * doc/configure: Ditto.
7718
        * libc/*/aclocal.m4: Ditto.
7719
        * libc/*/configure: Ditto.
7720
        * libc/libc.texinfo: Ditto.
7721
        * libm/*/aclocal.m4: Ditto.
7722
        * libm/*/configure: Ditto.
7723
        * libm/libm.texinfo: Ditto.
7724
        * libc/sys/linux/shared.ld: Add VERS_1.13.
7725
 
7726
2004-12-17  Christian Groessler  
7727
 
7728
        * libc/machine/z8k/memcmp.S: New file.
7729
        * libc/machine/z8k/memcpy.S: Ditto.
7730
        * libc/machine/z8k/memmove.S: Ditto.
7731
        * libc/machine/z8k/memset.S: Ditto.
7732
        * libc/machine/z8k/Makefile.am: Add new files.
7733
        * libc/machine/z8k/Makefile.in: Regenerated.
7734
        * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
7735
        part.  Implement Z8002 stdcall version.
7736
 
7737
2004-12-13  Jeff Johnston  
7738
 
7739
        * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
7740
        a low-level read if we don't get the full amount of bytes so
7741
        EOF or error flags will be set.
7742
 
7743
2004-12-09  Alex Mogilnikov  
7744
 
7745
        * libc/time/tzset_r (_tzset_r): Properly skip over
7746
        '/' when it is detected.
7747
 
7748
2004-12-08  Alex Mogilnikov  
7749
 
7750
        * libc/time/tzset_r (_tzset_r): Fix loop.
7751
 
7752
2004-12-08  Alex Mogilnikov  
7753
 
7754
        * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
7755
        m_day.
7756
        (__tzcalc_limits): Fix reference to month array to be zero-based.
7757
 
7758
2004-12-07  Jeff Johnston  
7759
 
7760
        * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
7761
        and usleep.
7762
 
7763
2004-12-03  Jeff Johnston  
7764
 
7765
        * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
7766
        libgcc dependencies.
7767
        (libm_la_LDFLAGS): Ditto.
7768
        * Makefile.in: Regenerated.
7769
 
7770
2004-12-03  Shaun Jackman  
7771
 
7772
        * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
7773
        our link to use readlink so as to preserve any relative link created
7774
        by install-toollibLIBRARIES.
7775
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
7776
 
7777
2004-12-02  Shaun Jackman  
7778
 
7779
        * libc/sys/linux/stdlib/glob.c: Include  which defines
7780
        time_t before including sys/stat.h, which uses it.
7781
        * libc/sys/linux/sys/stat.h: Include  and
7782
         just prior to definition of __KERNEL__ so as to
7783
        allow building on Debian Linux where otherwise, mktime would
7784
        be redefined.
7785
 
7786
2004-11-26  Paul Brook  
7787
 
7788
        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
7789
 
7790
2004-11-24  Jeff Johnston  
7791
 
7792
        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
7793
        const for value string parameter to match Single Unix and glibc.
7794
        * libc/stdlib/putenv.c: Ditto.
7795
        * libc/stdlib/putenv_r.c: Ditto.
7796
 
7797
2004-11-24  Jeff Johnston  
7798
 
7799
        * libc/stdio/Makefile.am: Fix missing vfscanf.
7800
        * libc/stdio/Makefile.in: Regenerated.
7801
 
7802
2004-11-23  Jeff Johnston  
7803
 
7804
        * libc/include/stdio.h: Add new iprintf and iscanf variants.  Also
7805
        do some reordering.
7806
        * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
7807
        * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
7808
        family functions.
7809
        * libc/stdio/Makefile.in: Regenerated.
7810
        * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
7811
        * libc/stdio/iprintf.c: Ditto.
7812
        * libc/stdio/local.h (__svfiscanf_r): New prototype.
7813
        * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
7814
        * libc/stdio/sniprintf.c: Move docs to siprintf.c.
7815
        * libc/stdio/stdio.tex: Add new functions.
7816
        * libc/stdio/vfscanf.c: Split out __sccl function to separate
7817
        file and add special name defines so this file can be used
7818
        to build vfiscanf.o.
7819
        * libc/stdio/asiprintf.c: New file.
7820
        * libc/stdio/fiscanf.c: Ditto.
7821
        * libc/stdio/iscanf.c: Ditto.
7822
        * libc/stdio/sccl.c: Ditto.
7823
        * libc/stdio/siscanf.c: Ditto.
7824
        * libc/stdio/vasiprintf.c: Ditto.
7825
        * libc/stdio/viprintf.c: Ditto.
7826
        * libc/stdio/viscanf.c: Ditto.
7827
        * libc/stdio/vsiprintf.c: Ditto.
7828
        * libc/stdio/vsiscanf.c: Ditto.
7829
        * libc/stdio/vsniprintf.c: Ditto.
7830
 
7831
2004-11-19  Shaun Jackman  
7832
 
7833
        * libc/include/stdio.h: Add sniprintf.
7834
        * libc/stdio/Makefile.am: Add sniprintf.c.
7835
        * libc/stdio/Makefile.in: Regenerated.
7836
        * libc/stdio/sniprintf.c: New file.
7837
        * libc/stdio/stdio.tex: Add sniprintf.
7838
 
7839
2004-11-17  Christopher Faylor  
7840
 
7841
        * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin.  Clear
7842
        EOF flag if successful.
7843
 
7844
2004-10-28  Christopher Faylor  
7845
 
7846
        * libc/include/sys/signal.h: Move  include to bottom of file
7847
        so that all relevant definitions have been performed for use in the
7848
        include.
7849
 
7850
2004-10-26  Jason Tishler  
7851
 
7852
        * libc/stdio/fread.c (fread): Fix return value for unbuffered
7853
        fread.
7854
 
7855
2004-10-25  Ralf Corsepius 
7856
 
7857
        * libc/include/machine/setjmp.h: Add AVR support.
7858
        * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
7859
 
7860
2004-10-08  Jeff Johnston  
7861
 
7862
        * libc/include/sys/signal.h: If  didn't include
7863
        this header file, include  to account for
7864
        applications that take advantage that the two header
7865
        files are the same in glibc.
7866
 
7867
2004-10-05  Tomer Levi  
7868
 
7869
        * configure.host: Add support for crx.
7870
        * libc/include/machine/ieeefp.h: Ditto.
7871
        * libc/include/machine/setjmp.h: Ditto.
7872
        * libc/machine/crx/Makefile.am: New file.
7873
        * libc/machine/crx/configure.in: Ditto.
7874
        * libc/machine/crx/setjmp.S: Ditto.
7875
        * libc/machine/crx/getenv.c: Ditto.
7876
        * libc/machine/crx/aclocal.m4: Generate.
7877
        * libc/machine/crx/configure: Ditto.
7878
        * libc/machine/crx/Makefile.in: Ditto.
7879
        * libc/machine/crx/sys/asm.h: New file.
7880
        * libc/machine/crx/sys/libh.h: Ditto.
7881
        * libc/machine/crx/sys/syscall.h: Ditto.
7882
 
7883
2004-10-05  Jeff Johnston  
7884
 
7885
        * Makefile.am (stmp-targ-include): Support sys header files
7886
        from machine directories.
7887
        * Makefile.in: Regenerated.
7888
 
7889
2004-10-04  Jeff Johnston  
7890
 
7891
        * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
7892
        count skipped zero characters as part of the nread count for %n.
7893
        * libc/machine/powerpc/vfscanf.c: Ditto.
7894
 
7895
2004-09-24  Jeff Johnston  
7896
 
7897
        * libc/stdio/local.h: Include .
7898
 
7899
2004-09-24  Corinna Vinschen  
7900
 
7901
        * libc/stdio/fread.c (fread): Include .
7902
 
7903
2004-09-22  Jeff Johnston  
7904
 
7905
        * libc/stdio/fread.c (fread):  For non-space-optimized case,
7906
        add special code for unbuffered files to use user buffer and
7907
        only require one low-level system read.
7908
 
7909
2004-09-21  Ian Lance Taylor  
7910
 
7911
        * libc/machine/xscale/setjmp.S: New file, copied from
7912
        libc/machine/arm/setjmp.S.
7913
        * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
7914
        * libc/machine/xscale/Makefile.in: Regenerate.
7915
 
7916
2004-09-16  Antony King  
7917
 
7918
        * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
7919
        with locking API.
7920
        * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
7921
        check for__SSTR in _flags and if set, skip lock request.
7922
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
7923
        * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
7924
        not NULL.
7925
        * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
7926
        initialisation of _file to -1 in local FILE.
7927
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
7928
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
7929
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7930
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
7931
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
7932
        _flags in local FILE to prevent locking.
7933
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
7934
 
7935
2004-09-16  Antony King  
7936
 
7937
        * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
7938
        and only walk the reentrancy parameter.
7939
        (_fwalk_reent): Ditto.
7940
        * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
7941
 
7942
2004-09-16  Antony King  
7943
 
7944
        * libc/stdio64/freopen64.c: Remove casting of fp lock to
7945
        _LOCK_RECURSIVE_T.
7946
 
7947
2004-09-16  Antony King  
7948
 
7949
        * libc/time/tzlock.c: Add default stubs that use generic
7950
        locking code.
7951
 
7952
2004-09-16  Antony King  
7953
 
7954
        * libc/ctype/ctype.tex: Added missing documentation.
7955
        * libc/stdio/stdio.tex Ditto.
7956
        * libc/stdlib/stdlib.tex Ditto.
7957
        * libc/string/strings.tex Ditto.
7958
        * libc/time/time.tex: Ditto.
7959
        * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
7960
 
7961
2004-09-15  Corinna Vinschen  
7962
 
7963
        * libc/reent/impure.c (reent_data): Define as alias to impure_data
7964
        when building for Cygwin.
7965
        * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
7966
        _global_impure_ptr.
7967
 
7968
2004-09-15  Jeff Johnston  
7969
 
7970
        * configure.host: Reverting 2004-09-14 change as fix has occurred on
7971
        Cygwin side.
7972
        * configure.in: Ditto.
7973
        * libc/configure.in: Ditto.
7974
        * libc/sys/configure.in: Ditto.
7975
        * configure: Ditto.
7976
        * libc/configure: Ditto.
7977
        * libc/sys/configure: Ditto.
7978
        * libc/include/sys/reent.h: Ditto.
7979
        * libc/stdlib/__atexit.c: Ditto.
7980
        * libc/stdlib/__call_atexit.c: Ditto.
7981
        * libc/stdlib/cxa_atexit.c: Ditto.
7982
        * libc/stdlib/cxa_finalize.c: Ditto.
7983
        * libc/sys/cygwin/Makefile.am: Removed again.
7984
        * libc/sys/cygwin/Makefile.in: Ditto.
7985
        * libc/sys/cygwin/aclocal.m4: Ditto.
7986
        * libc/sys/cygwin/configure: Ditto.
7987
        * libc/sys/cygwin/configure.in: Ditto.
7988
        * libc/sys/cygwin/dummy.c: Ditto.
7989
        * libc/sys/cygwin/sys/reent.h: Ditto.
7990
 
7991
2004-09-14  Jeff Johnston  
7992
 
7993
        * configure.host: Add Cygwin sys directory.
7994
        * configure.in: Do not set CRT0 for cygwin.
7995
        * libc/configure.in: Ditto.
7996
        * libc/sys/configure.in: Ditto.
7997
        * configure: Regenerated.
7998
        * libc/configure: Ditto.
7999
        * libc/sys/configure: Ditto.
8000
        * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
8001
        * libc/stdlib/__atexit.c: Keep cxa support protected by new
8002
        __REENT_HAS_CXA_SUPPORT flag.
8003
        * libc/stdlib/__call_atexit.c: Ditto.
8004
        * libc/stdlib/cxa_atexit.c: Ditto.
8005
        * libc/stdlib/cxa_finalize.c: Ditto.
8006
        * libc/sys/cygwin/Makefile.am: New file.
8007
        * libc/sys/cygwin/Makefile.in: Ditto.
8008
        * libc/sys/cygwin/aclocal.m4: Ditto.
8009
        * libc/sys/cygwin/configure: Ditto.
8010
        * libc/sys/cygwin/configure.in: Ditto.
8011
        * libc/sys/cygwin/dummy.c: Ditto.
8012
        * libc/sys/cygwin/sys/reent.h: Ditto.  This file is stabilized
8013
        version of reent.h.
8014
 
8015
2004-09-13 Artem B. Bityuckiy  
8016
 
8017
        * libc/iconv/iconv.tex: Updated with new content.
8018
        * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
8019
        instead of NLS_DEFAULT_NLSPATH.
8020
        * libc/iconv/lib/iconvnls.h: Fix typo.
8021
        * libc/include/sys/iconvnls.h: New file.
8022
 
8023
2004-09-09  Paul Brook  
8024
 
8025
        * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
8026
        and _is_cxa.
8027
        (struct _atexit): Add _next when _REENT_SMALL.
8028
        (struct _reent): Add _atexit0 when _REENT_SMALL.
8029
        (_REENT_INIT_PTR): Adjust.
8030
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
8031
        __call_exit.c.
8032
        (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
8033
        * libc/stdlib/Makefile.in: Regenerate.
8034
        * libc/stdlib/__atexit.c: New file.
8035
        * libc/stdlib/__call_atexit.c: New file.
8036
        * libc/stdlib/atexit.h: Remove old definitions.  Add new.
8037
        * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
8038
        * libc/stdlib/cxa_atexit.c: New file.
8039
        * libc/stdlib/cxa_finalize.c: New file.
8040
        * libc/stdlib/exit.c (exit): Use __call_exitprocs.
8041
        * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
8042
        2004-09-09  Jeff Johnston  
8043
        * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
8044
        _on_exit_args_ptr.
8045
 
8046
2004-08-23  Jeff Johnston  
8047
 
8048
        * libc/include/sys/unistd.h (getpass): Change prototype to use
8049
        const instead of __const.
8050
 
8051
2004-08-16  Nathan Sidwell  
8052
 
8053
        * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
8054
        #if.
8055
 
8056
2004-08-12  Jeff Johnston  
8057
 
8058
        * libc/sys/linux/sys/types.h (u64): New typedef to allow building
8059
        on linux systems with glibc 2.3.3 installed.
8060
        * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
8061
        profile_fixup so newlib can build on fc3 system.
8062
 
8063
2004-07-30  Alexandre Oliva  
8064
 
8065
        Introduce SH2a support.
8066
        2004-03-16  Corinna Vinschen  
8067
        * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
8068
        __SH2A_SINGLE_ONLY__, too.
8069
        * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
8070
        2004-02-24  Corinna Vinschen  
8071
        * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu.  Fix comments.
8072
        2004-02-10  DJ Delorie  
8073
        * libc/sys/sh/crt0.S (start_l): Support sh2a.
8074
 
8075
2004-07-29  Jeff Johnston  
8076
 
8077
        * libc/time/strptime.c: Correct full-name of "March" typo.
8078
 
8079
2004-07-16  Anil Paranjpe  
8080
 
8081
        * configure.host (h8300*-*-*): Default long long printing support.
8082
 
8083
2004-07-16  Jeff Johnston  
8084
 
8085
        * libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
8086
        calls, if realloc fails, free up buffer as it is no longer
8087
        used.
8088
 
8089
2004-07-07  Artem B. Bityuckiy  
8090
 
8091
        * libc/iconv/iconv.tex: Updated to represent recent changes.
8092
        * libc/iconv/lib/iconv.c: Documentation updated.
8093
 
8094
2004-07-07  Nick Clifton  
8095
 
8096
        * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
8097
        for xStormy16.
8098
 
8099
2004-07-06  Chris Demetriou  
8100
 
8101
        * configure.host (mips*-*-elf*): Default long long printing
8102
        support.
8103
 
8104
2004-07-05  Jeff Johnston  
8105
 
8106
        * libc/Makefile.am (libc.dvi): Add target and specify
8107
        same dependencies as libc.info.
8108
        * libc/Makefile.in: Regenerated.
8109
        * libm/Makefile.am (libm.dvi): Add target and specify
8110
        same dependencies as libm.info.
8111
        * libm/Makefile.in: Regenerated.
8112
 
8113
2004-06-29  Artem B. Bityuckiy  
8114
 
8115
        * acinclude.m4: Move --enable-newlib-iconv option back here.
8116
        * configure.in: Remove --enable-newlib-iconv option.  Don't
8117
        tie iconv support to --enable-newlib-mb.
8118
        * aclocal.m4: Regenerated.
8119
        * configure: Ditto.
8120
        * doc/aclocal.m4, doc/configure: Ditto.
8121
        * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
8122
        * libm/*/aclocal.m4: Ditto.
8123
        * libm/*/configure: Ditto.
8124
        * libc/*/aclocal.m4: Ditto.
8125
        * libc/*/configure: Ditto.
8126
 
8127
2004-06-25  Artem B. Bityuckiy  
8128
 
8129
        * acinclude.m4: Move iconv options into configure.in.
8130
        * aclocal.m4: Regenerated.
8131
        * configure: Ditto.
8132
        * configure.in: Add iconv options.
8133
        * newlib.hin: Add new iconv encodings and remove deleted ones.
8134
        * doc/aclocal.m4: Regenerated.
8135
        * doc/configure: Ditto.
8136
        * iconvdata/aclocal.m4: Ditto.
8137
        * iconvdata/configure: Ditto.
8138
        * libc/iconv: Design change.  New size-optimized ccs format.
8139
        * libc/iconv/AUTHORS: Removed.
8140
        * libc/iconv/COPYING: Ditto.
8141
        * libc/iconv/README.ORIGINAL: Ditto.
8142
        * libc/iconv/README.TODO: Ditto.
8143
        * libc/iconv/charset.aliases: Ditto.
8144
        * libc/iconv/encoding.aliases: New file.
8145
        * libc/iconv/Makefile.am: Updated.
8146
        * libc/iconv/Makefile.in: Regenerated.
8147
        * libc/iconv/iconv.tex: Updated.
8148
        * libc/iconv/ccs/Makefile.am: Ditto.
8149
        * libc/iconv/ccs/Makefile.in: Regenerated.
8150
        * libc/iconv/ccs/big5.c: Updated.
8151
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
8152
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
8153
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
8154
        * libc/iconv/ccs/cp775.c: Ditto.
8155
        * libc/iconv/ccs/cp850.c: Ditto.
8156
        * libc/iconv/ccs/cp852.c: Ditto.
8157
        * libc/iconv/ccs/cp855.c: Ditto.
8158
        * libc/iconv/ccs/cp866.c: Ditto.
8159
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
8160
        * libc/iconv/ccs/README.CCS.SOURCES: Removed.
8161
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
8162
        * libc/iconv/ccs/iconv_mktbl: Ditto.
8163
        * libc/iconv/ccs/jis_x0201.c: Ditto.
8164
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
8165
        * libc/iconv/ccs/shift_jis.c: Ditto.
8166
        * libc/iconv/ccs/us_ascii.c: Ditto.
8167
        * libc/iconv/ccs/ccs.h: New file.
8168
        * libc/iconv/ccs/ccsbi.c: Ditto.
8169
        * libc/iconv/ccs/ccsbi.h: Ditto.
8170
        * libc/iconv/ccs/ccsnames.h: Ditto.
8171
        * libc/iconv/ccs/iso_8859_10.c: Ditto.
8172
        * libc/iconv/ccs/iso_8859_11.c: Ditto.
8173
        * libc/iconv/ccs/iso_8859_13.c: Ditto.
8174
        * libc/iconv/ccs/iso_8859_14.c: Ditto.
8175
        * libc/iconv/ccs/iso_8859_3.c: Ditto.
8176
        * libc/iconv/ccs/iso_8859_6.c: Ditto.
8177
        * libc/iconv/ccs/iso_8859_7.c: Ditto.
8178
        * libc/iconv/ccs/iso_8859_8.c: Ditto.
8179
        * libc/iconv/ccs/iso_8859_9.c: Ditto.
8180
        * libc/iconv/ccs/iso_ir_111.c: Ditto.
8181
        * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
8182
        * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
8183
        * libc/iconv/ccs/koi8_ru.c: Ditto.
8184
        * libc/iconv/ccs/koi8_uni.c: Ditto.
8185
        * libc/iconv/ccs/mktbl.pl: Ditto.
8186
        * libc/iconv/ccs/win_1250.c: Ditto.
8187
        * libc/iconv/ccs/win_1251.c: Ditto.
8188
        * libc/iconv/ccs/win_1252.c: Ditto.
8189
        * libc/iconv/ccs/win_1253.c: Ditto.
8190
        * libc/iconv/ccs/win_1254.c: Ditto.
8191
        * libc/iconv/ccs/win_1255.c: Ditto.
8192
        * libc/iconv/ccs/win_1256.c: Ditto.
8193
        * libc/iconv/ccs/win_1257.c: Ditto.
8194
        * libc/iconv/ccs/win_1258.c: Ditto.
8195
        * libc/iconv/ccs/iso_8859_15.c: Updated.
8196
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
8197
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
8198
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
8199
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
8200
        * libc/iconv/ccs/koi8_r.c: Ditto.
8201
        * libc/iconv/ccs/koi8_u.c: Ditto.
8202
        * libc/iconv/ccs/ksx1001.c: Ditto.
8203
        * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
8204
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
8205
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
8206
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
8207
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
8208
        * libc/iconv/ccs/binary/Makefile.am: Updated.
8209
        * libc/iconv/ccs/binary/Makefile.in: Regenerated.
8210
        * libc/iconv/ccs/binary/big5.cct: Updated.
8211
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
8212
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
8213
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
8214
        * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
8215
        * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
8216
        * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
8217
        * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
8218
        * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
8219
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
8220
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
8221
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
8222
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
8223
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
8224
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
8225
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
8226
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
8227
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
8228
        * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
8229
        * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
8230
        * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
8231
        * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
8232
        * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
8233
        * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
8234
        * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
8235
        * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
8236
        * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
8237
        * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
8238
        * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
8239
        * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
8240
        * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
8241
        * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
8242
        * libc/iconv/ccs/binary/win_1250.cct: Ditto.
8243
        * libc/iconv/ccs/binary/win_1251.cct: Ditto.
8244
        * libc/iconv/ccs/binary/win_1252.cct: Ditto.
8245
        * libc/iconv/ccs/binary/win_1253.cct: Ditto.
8246
        * libc/iconv/ccs/binary/win_1254.cct: Ditto.
8247
        * libc/iconv/ccs/binary/win_1255.cct: Ditto.
8248
        * libc/iconv/ccs/binary/win_1256.cct: Ditto.
8249
        * libc/iconv/ccs/binary/win_1257.cct: Ditto.
8250
        * libc/iconv/ccs/binary/win_1258.cct: Ditto.
8251
        * libc/iconv/ces/Makefile.am: Updated.
8252
        * libc/iconv/ces/Makefile.in: Regenerated.
8253
        * libc/iconv/ces/ucs-2-internal.c: Updated.
8254
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
8255
        * libc/iconv/ces/utf-16.c: Ditto.
8256
        * libc/iconv/ces/utf-8.c: Ditto.
8257
        * libc/iconv/ces/cesbi.c: New file.
8258
        * libc/iconv/ces/cesbi.h: Ditto.
8259
        * libc/iconv/ces/cesdeps.h: Ditto.
8260
        * libc/iconv/ces/euc.c: Ditto.
8261
        * libc/iconv/ces/mkdeps.pl: Ditto.
8262
        * libc/iconv/ces/table-pcs.c: Ditto.
8263
        * libc/iconv/ces/table.c: Ditto.
8264
        * libc/iconv/ces/ucs-2.c: Ditto.
8265
        * libc/iconv/ces/ucs-4.c: Ditto.
8266
        * libc/iconv/ces/us-ascii.c: Ditto.
8267
        * libc/iconv/ces/euc-jp.c: Removed.
8268
        * libc/iconv/ces/euc-kr.c: Ditto.
8269
        * libc/iconv/ces/euc-tw.c: Ditto.
8270
        * libc/iconv/ces/gb2312.c: Ditto.
8271
        * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
8272
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
8273
        * libc/iconv/lib/Makefile.am: Updated.
8274
        * libc/iconv/lib/Makefile.in: Regenerated.
8275
        * libc/iconv/lib/endian.h: Updated.
8276
        * libc/iconv/lib/iconv.c: Ditto.
8277
        * libc/iconv/lib/local.h: Ditto.
8278
        * libc/iconv/lib/aliases.c: Removed.
8279
        * libc/iconv/lib/bialiasesi.c: Ditto.
8280
        * libc/iconv/lib/biccs.c: Ditto.
8281
        * libc/iconv/lib/bices.c: Ditto.
8282
        * libc/iconv/lib/ccs.c: Ditto.
8283
        * libc/iconv/lib/ces.c: Ditto.
8284
        * libc/iconv/lib/ces_euc.c: Ditto.
8285
        * libc/iconv/lib/ces_iso2022.c: Ditto.
8286
        * libc/iconv/lib/ces_table.c: Ditto.
8287
        * libc/iconv/lib/converter.c: Ditto.
8288
        * libc/iconv/lib/deps.h: Ditto.
8289
        * libc/iconv/lib/loaddata.c: Ditto.
8290
        * libc/iconv/lib/aliasesbi.c: New file.
8291
        * libc/iconv/lib/aliasesi.c: Ditto.
8292
        * libc/iconv/lib/conv.h: Ditto.
8293
        * libc/iconv/lib/encnames.h: Ditto.
8294
        * libc/iconv/lib/encoding.deps: Ditto.
8295
        * libc/iconv/lib/iconvnls.c: Ditto.
8296
        * libc/iconv/lib/iconvnls.h: Ditto.
8297
        * libc/iconv/lib/nullconv.c: Ditto.
8298
        * libc/iconv/lib/ucsconv.c: Ditto.
8299
        * libc/iconv/lib/ucsconv.h: Ditto.
8300
        * libc/include/iconv.h: Update copyright.
8301
        * libc/*/aclocal.m4: Regenerated.
8302
        * libc/*/configure: Ditto.
8303
        * libm/*/aclocal.m4: Ditto.
8304
        * libm/*/configure: Ditto.
8305
 
8306
2004-06-22  Alexandre Oliva  
8307
 
8308
        * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
8309
        instead of typedefing jmp_buf.
8310
 
8311
        2003-07-02  Richard Sandiford  
8312
        * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
8313
        * libc/machine/h8300/defines.h (LEN): New macro.
8314
        * libc/machine/h8300/memcpy.S: Add h8sx version.
8315
        * libc/machine/h8300/memset.S: Likewise.
8316
        * libc/machine/h8300/strcmp.S: Likewise.
8317
        * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
8318
        * libc/machine/h8300/h8sx_strcpy.S: New file.
8319
        2003-06-30  Richard Sandiford  
8320
        * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
8321
        __H8300SX__.
8322
        * libc/include/machine/setjmp.h: Likewise.
8323
        * libc/include/sys/config.h: Likewise.
8324
        * libc/machine/h8300/defines.h: Likewise.
8325
        * libc/machine/h8300/setjmp.S: Likewise.
8326
        * libc/machine/h8300/strcmp.S: Likewise.
8327
        * libc/sys/h8300hms/close.S: Likewise.
8328
        * libc/sys/h8300hms/fstat.S: Likewise.
8329
        * libc/sys/h8300hms/lseek.S: Likewise.
8330
        * libc/sys/h8300hms/read.S: Likewise.
8331
        * libc/sys/h8300hms/write.S: Likewise.
8332
        * libc/sys/h8300hms/crt0.S: Likewise.
8333
        * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
8334
        __H8300SX__ is defined.
8335
        * libc/sys/h8300hms/setarch.h: Likewise.
8336
 
8337
2004-06-17  Jeff Johnston  
8338
 
8339
        * libc/include/sys/reent.h (_GLOBAL_REENT): Back
8340
        out change which set _GLOBAL_REENT to _global_impure_ptr until
8341
        we understand why Cygwin breaks because of it.
8342
 
8343
2004-06-14  Jeff Johnston  
8344
 
8345
        * libc/sys/linux/machine/i386/syscall.h: For now, set up
8346
        __syscall_return macro for systems with vsyscall.
8347
 
8348
2004-06-11  Antony King  
8349
 
8350
        * libc/include/sys/_types.h: Include  and change
8351
        _flock_t to be of type _LOCK_RECURSIVE_T.
8352
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
8353
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
8354
        (_global_impure_ptr): New declaration.
8355
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
8356
        * libc/include/sys/stdio.h: Include  and
8357
        .
8358
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
8359
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
8360
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
8361
        * libc/stdio/fclose.c: Remove casting of fp lock to
8362
        _LOCK_RECURSIVE_T.
8363
        * libc/stdio/findfp.c: Ditto.
8364
        * libc/stdio/fopen.c: Ditto.
8365
        * libc/stdio/freopen.c: Ditto.
8366
        * libc/stdio/vfprintf.c: Ditto.
8367
        * libc/stdio64/fopen64.c: Ditto.
8368
        * libc/stdlib/envlock.c: Add default stubs that use generic
8369
        locking code.
8370
        * libc/stdlib/mlock.c: Ditto.
8371
 
8372
        Jeff Johnston  
8373
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
8374
        (_flock_t): Change to be a struct containing a single member
8375
        named mutex which is of type __flock_mutex_t.
8376
 
8377
2004-06-09  Jeff Johnston  
8378
 
8379
        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
8380
        from /usr/include/asm/signal.h instead of kernel sources.  Also
8381
        default max to 32 if not found in header file.
8382
        * libc/sys/linux/Makefile.in: Regenerated.
8383
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
8384
        systems where __syscall_return is not defined.
8385
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
8386
        systems to use syscall() function instead of assembler interrupt.
8387
 
8388
2004-06-09  Toralf Lund  
8389
 
8390
        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
8391
        files from libc/sys/arm to libc/machine/arm.
8392
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
8393
        library build support for files moved from libc/sys/arm.
8394
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
8395
        references to access and setjmp.
8396
        * configure.host: Add checks for newlib_may_supply_syscalls to
8397
        determine whether or not to use sys/arm directory and use
8398
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
8399
 
8400
2004-06-02  Jeff Johnston  
8401
 
8402
        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
8403
        reset digit flags appropriately after we have discovered "0x".
8404
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8405
 
8406
2004-05-27  Jeff Johnston  
8407
 
8408
        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
8409
        from here ...
8410
        (_VFPRINTF_R): ... to here so all I/O printf routines
8411
        are covered.
8412
 
8413
2004-05-26  Jeff Johnston  
8414
 
8415
        * libc/search/hash_buf.c: Protect MAX and MIN macros from
8416
        redefinition.
8417
        * libc/search/hash.c: Ditto.
8418
 
8419
2004-05-25  Artem B. Bityuckiy  
8420
 
8421
        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
8422
        (_WANT_IO_LONG_LONG): Ditto.
8423
        (_WANT_IO_LONG_DOUBLE): Ditto.
8424
        * configure.in: Add new configuration options
8425
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
8426
        which tie to new defines in newlib.hin.
8427
        * configure: Regenerated.
8428
        * configure.host: Add checks for new configuration options.  Also
8429
        fix up check for --enable-newlib-io-pos-args so configuration
8430
        option will override any default for a given platform.
8431
        Remove defining compiler flags for the _WANT_IO* options.
8432
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
8433
        instead of looking for old compiler flags.
8434
        * libc/stdio/vfscanf.c: Ditto.
8435
        * libc/stdio/vfieeefp.h: Ditto.
8436
        * libc/machine/powerpc/vfprintf.c: Ditto.
8437
        * libc/machine/powerpc/vfscanf.c: Ditto.
8438
 
8439
2004-05-25  Jeff Johnston  
8440
 
8441
        * testsuite/include/check.h: Add include of .
8442
 
8443
2004-05-17  Corinna Vinschen  
8444
 
8445
        * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
8446
 
8447
2004-05-11  Artem B. Bityuckiy  
8448
 
8449
        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
8450
        of free.
8451
 
8452
2004-05-07  Artem B. Bityuckiy  
8453
 
8454
        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
8455
        list for reentrant pointer.  Call _vfiprintf_r.
8456
        * libc/stdio/siprintf.c (_siprintf_r): New function.
8457
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
8458
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
8459
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
8460
        prototypes.
8461
 
8462
2004-05-07  Jeff Johnston  
8463
 
8464
        * libc/include/sys/param.h: Remove endian info and include
8465
         instead.
8466
        * libc/include/machine/endian.h: New file.
8467
        * libc/include/machine/param.h: Ditto.
8468
        * libc/machine/arm/machine/endian.h: Ditto.
8469
        * libc/machine/arm/machine/param.h: Ditto.
8470
        * libc/sys/arm/sys/param.h: Removed.
8471
        * libc/sys/sysvi386/sys/param.h: Ditto.
8472
        * libc/sys/rtems/sys/param.h: Modified to include .
8473
 
8474
2004-05-03  Artem B. Bityuckiy  
8475
 
8476
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
8477
        multibyte functions return failure for %C, %S, %lc, and %ls
8478
        format specifiers.
8479
 
8480
2004-05-03  Artem B. Bityuckiy  
8481
 
8482
        * testsuite/include/check.h (CHECK): Add flush of stdout.
8483
 
8484
2004-05-03  Artem B. Bityuckiy  
8485
 
8486
        * libc/include/stdio.h (_ungetc_r): New prototype.
8487
        * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
8488
        (__submore): Add reentrant struct pointer argument.
8489
        (ungetc): Change to call _ungetc_r.
8490
 
8491
2004-04-28  Artem B. Bityuckiy  
8492
 
8493
        * libc/stdio/local.h (_fwalk_reent): Specify prototype of
8494
        function pointer argument.
8495
        * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
8496
        to specify function pointer arguments.
8497
        (__fwalk, __fwalk_reent): Ditto.
8498
 
8499
2004-04-26  Aldy Hernandez  
8500
 
8501
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
8502
        CT_INT case.
8503
 
8504
2004-04-23  Artem B. Bityuckiy  
8505
 
8506
        * configure.in: Define _MB_CAPABLE if mb supported.
8507
        * configure: Regenerated.
8508
        * configure.host: Remove manual setting of MB_CAPABLE compiler
8509
        flag.
8510
        * newlib.hin: Add _MB_CAPABLE flag.
8511
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include 
8512
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
8513
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
8514
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
8515
        * libc/ctype/jp2uc.c: Ditto.
8516
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
8517
        * libc/locale/locale.c: Ditto
8518
        * libc/machine/powerpc/vfscanf.c: Ditto
8519
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
8520
        * libc/stdlib/mblen.c: Ditto
8521
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
8522
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
8523
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
8524
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
8525
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
8526
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
8527
        * libc/sys/linux/intl/explodename.c: Ditto
8528
        * libc/sys/linux/intl/finddomain.c: Ditto
8529
        * libc/sys/linux/intl/l10nflist.c: Ditto
8530
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
8531
        * libc/sys/linux/intl/localealias.c: Ditto
8532
 
8533
2004-04-23  Jeff Johnston  
8534
 
8535
        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
8536
        (__svfscanf_r): In integer conversions, leave out leading zeroes
8537
        which are not part of a base prefix.
8538
        Keep track of width truncation to fit into buf, not counting left-out
8539
        zeroes against width till the truncation has been compensated for.
8540
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
8541
 
8542
2004-04-23  Jeff Johnston  
8543
 
8544
        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
8545
 
8546
2004-04-23  Artem B. Bityuckiy  
8547
 
8548
        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
8549
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
8550
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
8551
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
8552
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
8553
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
8554
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
8555
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
8556
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
8557
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
8558
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
8559
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
8560
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
8561
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
8562
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
8563
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
8564
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
8565
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
8566
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
8567
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
8568
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
8569
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
8570
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
8571
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
8572
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
8573
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
8574
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
8575
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
8576
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
8577
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
8578
        copyright notices to top of file, ensure that <_ansi.h> is
8579
        included, be consistent with open parentheses, use _DEFUN macro,
8580
        include "local.h" where needed, and remove various compiler
8581
        warnings.
8582
 
8583
2004-04-21  J"orn Rennecke 
8584
 
8585
        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
8586
        (__svfscanf_r): In integer conversions, leave out leading zeroes
8587
        which are not part of a base prefix.
8588
        Keep track of width truncation to fit into buf, not counting left-out
8589
        zeroes against width till the truncation has been compensated for.
8590
 
8591
2004-04-20  Corinna Vinschen  
8592
 
8593
        * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
8594
 
8595
2004-04-20  Corinna Vinschen  
8596
 
8597
        * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
8598
 
8599
2004-04-10  Corinna Vinschen  
8600
 
8601
        * libc/include/sys/unistd.h (sync): Define void on Cygwin according
8602
        to SUSv3.
8603
 
8604
2004-04-08  Artem B. Bityuckiy  
8605
 
8606
        * libc/stdio/fclose.c (_fclose_r): New function.
8607
        * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
8608
        * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
8609
        * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
8610
        * libc/include/stdio.h (_fclose_r): New prototype.
8611
        * libc/stdio/fopen.c: Fix typo in comment.
8612
 
8613
2004-04-08  Jeff Johnston  
8614
 
8615
        * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
8616
        to handle _r reentrant functions.
8617
 
8618
2004-04-08  Eric Christopher  
8619
 
8620
        * libc/include/machine/setjmp.h: Fix endif locations.
8621
 
8622
2004-04-01  Artem B. Bityuckiy  
8623
 
8624
        * libc/time/strptime.c: Add standard includes to avoid
8625
        warning messages at compilation time.
8626
 
8627
2004-04-01  Jeff Johnston  
8628
 
8629
        * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
8630
        of file.
8631
 
8632
2004-03-30  Jeff Johnston  
8633
 
8634
        * libc/machine/h8300/Makefile.am: Reformat slightly.
8635
        * libc/machine/h8300/Makefile.in: Regenerate.
8636
 
8637
2004-03-30  Thomas Pfaff  
8638
 
8639
        * libc/stdio/findfp.c (__fp_lock_all): Add call to
8640
        __sfp_lock_acquire.
8641
        (__fp_unlock_all): Add call to __sfp_lock_release.
8642
 
8643
2004-03-25  Thomas Pfaff  
8644
 
8645
        * libc/stdio/fclose.c (fclose): Protect file pointer list when
8646
        releasing a file.
8647
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
8648
        fwalk.
8649
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
8650
        _flockfile/_funlockfile.
8651
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
8652
        to recursive.
8653
        Change __lock_acquire/__lock_release calls for __sfp_lock to
8654
        __sfp_lock_acquire/__sfp_lock_release throughout.
8655
        (std): Make sure that file lock is only initialized once.
8656
        (__sfp): Move _file initialization. Initialize file lock.
8657
        (__sfp_lock_acquire): New function.
8658
        (__sfp_lock_release): Ditto.
8659
        (__fp_lock_all): Remove __sfp_lock_acquire call.
8660
        (__fp_unlock_all): Remove __sfp_lock_release call.
8661
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
8662
        Add calls to _flockfile/_funlockfile. Remove
8663
        __lock_init_recursive call.
8664
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
8665
        * libc/stdio/fwalk.c (__fwalk): New static function.
8666
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
8667
        file pointers.
8668
        * libc/stdio/local.h: Add defines for
8669
        __sfp_lock_acquire/__sfp_lock_release when
8670
        single threaded. Add function prototypes otherwise.
8671
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
8672
        _flockfile/_funlockfile.
8673
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
8674
        Add calls to _flockfile/_funlockfile. Remove
8675
         __lock_init_recursive call.
8676
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
8677
        list.
8678
 
8679
2004-03-25  Jeff Johnston  
8680
 
8681
        * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
8682
        defined.  Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
8683
        * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
8684
        to be __LOCK_INIT_RECURSIVE.
8685
 
8686
2004-03-11  Kazu Hirata  
8687
 
8688
        * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
8689
        _exit.c with _exit.S.
8690
        * libc/sys/h8300hms/Makefile.in: Regenerate.
8691
        * libc/sys/h8300hms/_exit.c: Remove.
8692
        * libc/sys/h8300hms/_exit.S: New.
8693
 
8694
2004-03-09  Thomas Pfaff  
8695
 
8696
        * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
8697
        Change __sfp_lock to static global.
8698
        (__fp_lock): New static function.
8699
        (__fp_unlock): Ditto.
8700
        (__fp_lock_all): New function.
8701
        (__fp_unlock_all): Ditto.
8702
 
8703
2004-02-10  Christopher Faylor  
8704
 
8705
        * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
8706
        * libm/mathfp/er_lgamma.c (lgamma): Ditto.
8707
        * libm/mathfp/erf_gamma.c (gammaf): Ditto.
8708
        * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
8709
 
8710
2004-02-09  Christopher Faylor  
8711
 
8712
        * libc/include/time.h (TIMER_RELTIME): New define.
8713
 
8714
2004-02-09  Jeff Johnston  
8715
 
8716
        * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
8717
        * libc/stdlib/Makefile.in: Regenerated.
8718
 
8719
2004-02-08  Christopher Faylor  
8720
 
8721
        * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
8722
        * libc/include/sys/reent.h (__getreent): Protect against possibly being
8723
        defined.
8724
        * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
8725
 
8726
2004-02-05  Paul Brook  
8727
 
8728
        * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
8729
        IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
8730
 
8731
2004-02-02  Jeff Johnston  
8732
 
8733
        * NEWS: Update with 1.12.0 info.
8734
        * README: Ditto.
8735
        * acinclude.m4: Change version number to 1.12.0.
8736
        * aclocal.m4: Regenerated.
8737
        * configure: Ditto.
8738
        * doc/aclocal.m4: Ditto.
8739
        * doc/configure: Ditto.
8740
        * libc/*/aclocal.m4: Ditto.
8741
        * libc/*/configure: Ditto.
8742
        * libc/libc.texinfo: Ditto.
8743
        * libm/*/aclocal.m4: Ditto.
8744
        * libm/*/configure: Ditto.
8745
        * libm/libm.texinfo: Ditto.
8746
        * libc/sys/linux/shared.ld: Add VERS_1.12.
8747
 
8748
2004-02-02  Joel Sherrill  
8749
 
8750
        * configure.host: Add support for tic4x.
8751
        * libc/include/machine/ieeefp.h: Ditto.
8752
        * libc/include/machine/setjmp.h: Ditto.
8753
        * libc/machine/tic4x/Makefile.am: New file.
8754
        * libc/machine/tic4x/configure.in: Ditto.
8755
        * libc/machine/tic4x/setjmp.S: Ditto.
8756
        * libc/machine/tic4x/aclocal.m4: Generated.
8757
        * libc/machine/tic4x/configure: Ditto.
8758
        * libc/machine/tic4x/Makefile.in: Ditto.
8759
 
8760
2004-01-30  Jeff Johnston  
8761
 
8762
        * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
8763
        file chain on the passed in reentrancy struct if it
8764
        is _GLOBAL_REENT.
8765
 
8766
2004-01-30  Artem B. Bityuckiy  
8767
            Jeff Johnston  
8768
 
8769
        * libc/iconv/iconv.tex: Updated with more information.
8770
 
8771
2004-01-30  Thomas Pfaff  
8772
            Jeff Johnston  
8773
 
8774
        * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
8775
        struct for std streams and traverse the global reeentrancy
8776
        struct for all other streams.
8777
 
8778
2004-01-27  Jeff Johnston  
8779
 
8780
        * libc/stdlib/atexit.c: Protect global atexit list with a
8781
        lock when newlib is multithreaded.
8782
 
8783
2004-01-27  Artem B. Bityuckiy  
8784
 
8785
        * configure.in: Add support to generate iconv converter flags
8786
        for newlib.h
8787
        * newlib.hin: Add iconv converter flags.
8788
        * configure: Regenerated.
8789
        * libc/Makefile.in: Ditto.
8790
        * libc/configure.in: Moved iconv converter parsing logic to
8791
        top level newlib configure.in.
8792
        * libc/configure: Regenerated.
8793
        * libc/iconv/Makefile.in: Ditto.
8794
        * libc/iconv/README.TODO
8795
        * libc/iconv/charset.aliases: Remove wrong BE aliases for
8796
        UCS2/UCS4/UTF8.
8797
        * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
8798
        newlib.h can be used.
8799
        * libc/iconv/ces/Makefile.am: Ditto.
8800
        * libc/iconv/lib/Makefile.am: Ditto.
8801
        * libc/iconv/ccs/Makefile.in: Regenerated.
8802
        * libc/iconv/ces/Makefile.in: Ditto.
8803
        * libc/iconv/lib/Makefile.in: Ditto.
8804
        * libc/iconv/ccs/README.CCS.SOURCES: Updated.
8805
        * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
8806
        * libc/iconv/ccs/big5.c: Switch to use new underscored flags
8807
        defined in newlib.h.
8808
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
8809
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
8810
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
8811
        * libc/iconv/ccs/cp775.c: Ditto.
8812
        * libc/iconv/ccs/cp850.c: Ditto.
8813
        * libc/iconv/ccs/cp852.c: Ditto.
8814
        * libc/iconv/ccs/cp855.c: Ditto.
8815
        * libc/iconv/ccs/cp866.c: Ditto.
8816
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
8817
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
8818
        * libc/iconv/ccs/iso_8859_15.c: Ditto.
8819
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
8820
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
8821
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
8822
        * libc/iconv/ccs/jis_x0201.c: Ditto.
8823
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
8824
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
8825
        * libc/iconv/ccs/koi8_r.c: Ditto.
8826
        * libc/iconv/ccs/koi8_u.c: Ditto.
8827
        * libc/iconv/ccs/ksx1001.c: Ditto.
8828
        * libc/iconv/ccs/shift_jis.c: Ditto.
8829
        * libc/iconv/ccs/us_ascii.c: Ditto.
8830
        * libc/iconv/ccs/binary/big5.cct: Newly generated.
8831
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
8832
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
8833
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
8834
        * libc/iconv/ccs/binary/cp775.cct: Ditto.
8835
        * libc/iconv/ccs/binary/cp850.cct: Ditto.
8836
        * libc/iconv/ccs/binary/cp852.cct: Ditto.
8837
        * libc/iconv/ccs/binary/cp855.cct: Ditto.
8838
        * libc/iconv/ccs/binary/cp866.cct: Ditto.
8839
        * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
8840
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
8841
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
8842
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
8843
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
8844
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
8845
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
8846
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
8847
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
8848
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
8849
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
8850
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
8851
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
8852
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
8853
        * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
8854
        * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
8855
        * libc/iconv/ces/euc-kr.c: Ditto.
8856
        * libc/iconv/ces/euc-tw.c: Ditto.
8857
        * libc/iconv/ces/gb2312.c: Ditto.
8858
        * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
8859
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
8860
        * libc/iconv/ces/ucs-2-internal.c: Ditto.
8861
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
8862
        * libc/iconv/ces/utf-16.c: Ditto.
8863
        * libc/iconv/ces/utf-8.c: Ditto.
8864
        * libc/iconv/lib/aliases.c: Ditto.
8865
        * libc/iconv/lib/biccs.c: Ditto.
8866
        * libc/iconv/lib/bices.c: Ditto.
8867
        * libc/iconv/lib/ccs.c: Ditto.
8868
        * libc/iconv/lib/ces.c: Ditto.
8869
        * libc/iconv/lib/ces_euc.c: Ditto.
8870
        * libc/iconv/lib/ces_iso2022.c: Ditto.
8871
        * libc/iconv/lib/ces_table.c: Ditto.
8872
        * libc/iconv/lib/converter.c: Ditto.
8873
        * libc/iconv/lib/deps.h: Ditto.
8874
        * libc/iconv/lib/endian.h: Ditto.
8875
        * libc/iconv/lib/iconv.c: Ditto.
8876
        * libc/iconv/lib/loaddata.c: Ditto.
8877
        * libc/iconv/lib/local.h: Include newlib.h.
8878
        * libc/argz/Makefile.in: Regenerated.
8879
        * libc/ctype/Makefile.in: Ditto.
8880
        * libc/errno/Makefile.in: Ditto.
8881
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
8882
        * libc/locale/Makefile.in: Ditto.
8883
        * libc/misc/Makefile.in: Ditto.
8884
        * libc/posix/Makefile.in: Ditto.
8885
        * libc/reent/Makefile.in: Ditto.
8886
        * libc/search/Makefile.in: Ditto.
8887
        * libc/signal/Makefile.in: Ditto.
8888
        * libc/stdio/Makefile.in: Ditto.
8889
        * libc/stdio64/Makefile.in: Ditto.
8890
        * libc/stdlib/Makefile.in: Ditto.
8891
        * libc/string/Makefile.in: Ditto.
8892
        * libc/syscalls/Makefile.in: Ditto.
8893
        * libc/time/Makefile.in: Ditto.
8894
        * libc/unix/Makefile.in: Ditto.
8895
        * testsuite/newlib.iconv/iconv.exp: New file.
8896
        * testsuite/newlib.iconv/iconvjp.c: Ditto.
8897
        * testsuite/newlib.iconv/iconvnm.c: Ditto.
8898
        * testsuite/newlib.iconv/iconvru.c: Ditto.
8899
 
8900
2004-01-23  Artem B. Bityuckiy  
8901
 
8902
        * acinclude.m4 (--enable-newlib-iconv): New configuration option.
8903
        (--enable-newlib-builtin-converters): Ditto.
8904
        * configure.in: Add code to set _ICONV_ENABLED flag.
8905
        Set _MB_LEN_MAX to 1 if not mb enabled.
8906
        * configure: Regenerated.
8907
        * aclocal.m4: Ditto.
8908
        * Makefile.in: Ditto.
8909
        * newlib.hin: Add _ICONV_ENABLED flag.
8910
        * libc/Makefile.am: Add support for iconv.
8911
        * libc/configure.in: Ditto.
8912
        * libc/Makefile.in: Regenerated.
8913
        * libc/aclocal.m4: Ditto.
8914
        * libc/configure: Ditto.
8915
        * libc/libc.texinfo: Add iconv documentation.
8916
        * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
8917
        libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
8918
        libc/iconv/README.TODO, libc/iconv/charset.aliases,
8919
        libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
8920
        libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
8921
        libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
8922
        libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
8923
        libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
8924
        libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
8925
        libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
8926
        libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
8927
        libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
8928
        libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
8929
        libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
8930
        libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
8931
        libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
8932
        libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
8933
        libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
8934
        libc/iconv/ccs/binary/big5.cct,
8935
        libc/iconv/ccs/binary/cns11643_plane1.cct,
8936
        libc/iconv/ccs/binary/cns11643_plane14.cct,
8937
        libc/iconv/ccs/binary/cns11643_plane2.cct,
8938
        libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
8939
        libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
8940
        libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
8941
        libc/iconv/ccs/binary/iso_8859_1.cct,
8942
        libc/iconv/ccs/binary/iso_8859_15.cct,
8943
        libc/iconv/ccs/binary/iso_8859_2.cct,
8944
        libc/iconv/ccs/binary/iso_8859_4.cct,
8945
        libc/iconv/ccs/binary/iso_8859_5.cct,
8946
        libc/iconv/ccs/binary/jis_x0201.cct,
8947
        libc/iconv/ccs/binary/jis_x0208_1983.cct,
8948
        libc/iconv/ccs/binary/jis_x0212_1990.cct,
8949
        libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
8950
        libc/iconv/ccs/binary/ksx1001.cct,
8951
        libc/iconv/ccs/binary/shift_jis.cct,
8952
        libc/iconv/ccs/binary/us_ascii.cct,
8953
        libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
8954
        libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
8955
        libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
8956
        libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
8957
        libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
8958
        libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
8959
        libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
8960
        libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
8961
        libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
8962
        libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
8963
        libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
8964
        libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
8965
        libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
8966
        libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
8967
        libc/iconv/lib/local.h, libc/include/iconv.h: New files.
8968
        * libc/sys/linux/include/iconv.h: Ditto.
8969
        * libc/include/sys/_types.h (_iconv_t): Added.
8970
        * doc/aclocal.m4: Regenerated.
8971
        * doc/configure: Ditto.
8972
        * doc/Makefile.in: Ditto.
8973
        * iconvdata/Makefile.in: Ditto.
8974
        * iconvdata/aclocal.m4: Ditto.
8975
        * iconvdata/configure: Ditto.
8976
        * libc/*aclocal.m4: Ditto.
8977
        * libc/*Makefile.in: Ditto.
8978
        * libc/*configure: Ditto.
8979
        * libm/*aclocal.m4: Ditto.
8980
        * libm/*Makefile.in: Ditto.
8981
        * libm/*configure: Ditto.
8982
 
8983
2004-01-22  Thomas Pfaff  
8984
 
8985
        * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
8986
        by a lock when newlib is multithreaded.
8987
 
8988
2004-01-21  Jeff Johnston  
8989
 
8990
        * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
8991
        pointer to match C99 spec.
8992
        * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
8993
        dst is NULL.  Also fix to not alter src pointer when dst is NULL
8994
        and call _mbrtowc_r instead of _mbtowc_r.
8995
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
8996
        of _wctomb_r.
8997
 
8998
2004-01-19  Thomas Pfaff  
8999
 
9000
        * libc/stdio/fclose.c (fclose): Release FILE as the last step.
9001
        * libc/stdio/freopen.c (freopen): Ditto.
9002
 
9003
2004-01-16  Christopher Faylor  
9004
 
9005
        * libc/stdio/vfprintf.c: Add sys/lock.h include.
9006
 
9007
2004-01-16  Thomas Pfaff  
9008
 
9009
        * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
9010
        * libc/stdio/vfprintf.c (__sbprintf): Ditto.
9011
        Add calls to __lock_init_recursive and __lock_close_recursive
9012
        instead.
9013
 
9014
2004-01-15  Thomas Pfaff  
9015
 
9016
        * libc/stdio/fclose.c: Include sys/lock.h.
9017
        (fclose): Destroy lock when file is closed.
9018
        * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
9019
        member.
9020
        * libc/stdio/freopen.c: Include sys/lock.h.
9021
        (_freopen_r): Destroy lock when file is closed.
9022
        * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
9023
        _lock member.
9024
 
9025
2004-01-08  Joel Sherrill  
9026
 
9027
        * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
9028
        Remove warnings.
9029
 
9030
2004-01-08  Joel Sherrill  
9031
 
9032
        * libc/sys/rtems/sys/queue.h: New file.
9033
        * libc/include/sys/signal.h: Reflect renumbering of signals to
9034
        fit into 32-bit mask.
9035
        * libc/include/sys/unistd.h: Add fdatasync() prototype.
9036
        * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
9037
        required.  In particular, add the reentrant variants of libc calls.
9038
        * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9039
 
9040
2004-01-06  Mark Mitchell  
9041
 
9042
        * libc/sys/arm/syscalls.c (unistd.h): Include it.
9043
        (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
9044
        Similarly for stdout and stderr.
9045
 
9046
2004-01-06  Jeff Johnston  
9047
 
9048
        * libc/libc.texinfo: Correct escape character for @ sign
9049
        so file will be processed by make info.  Update copyright years.
9050
        * libm/libm.texinfo: Ditto.
9051
 
9052
2003-12-05  Jeff Johnston  
9053
 
9054
        * libc/include/sys/stat.h: No longer include stat-dj.h.
9055
        * libc/include/sys/stat-dj.h: Removed.
9056
 
9057
2003-12-05  Jeff Johnston  
9058
 
9059
        * libc/include/wchar.h: Include .
9060
 
9061
2003-12-05  Christopher Faylor  
9062
 
9063
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
9064
        when defining _mbrtowc.
9065
        * libc/stdlib/mbsinit.c: Ditto.
9066
        * libc/stdlib/mbsrtowcs.c: Ditto.
9067
        * libc/stdlib/wcrtomb.c: Ditto.
9068
        * libc/stdlib/wcsrtombs.c: Ditto.
9069
        * libc/stdlib/wctob.c: Ditto.
9070
 
9071
2003-12-05  Christopher Faylor  
9072
 
9073
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler
9074
        errors when defining _mbrtowc.
9075
        * libc/stdlib/mbsinit.c: Ditto.
9076
        * libc/stdlib/mbsrtowcs.c: Ditto.
9077
 
9078
2003-12-05  Christopher Faylor  
9079
 
9080
        * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
9081
        errors when defining _mbrtowc.
9082
 
9083
2003-12-04  Artem B. Bityuckiy  
9084
 
9085
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
9086
        of mb routines for %lc and %ls support.
9087
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
9088
        %ls, and %S support.  Remove CYGNUS_NEC markers and
9089
        code within.
9090
 
9091
2003-12-04  Jeff Johnston  
9092
 
9093
        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
9094
        _wcrtomb_r, and _wcsrtombs_r.
9095
 
9096
2003-12-01  Corinna Vinschen  
9097
 
9098
        * libc/include/sys/fcntl.h: Don't define struct flock when on
9099
        Cygwin.  This is done in winsup/cygwin/include/cygwin/types.h now.
9100
 
9101
2003-11-28  Christopher Faylor  
9102
 
9103
        * libc/include/sys/signal.h: Use system specific signal file when
9104
        building on cygwin.
9105
 
9106
2003-11-27  Jeff Johnston  
9107
 
9108
        * libc/include/stdlib.h (_atoi_r): New prototype.
9109
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
9110
 
9111
2003-11-27  Jeff Johnston  
9112
 
9113
        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
9114
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
9115
        * libc/stdlib/atoll.c (_atoll_r): Ditto.
9116
 
9117
2003-11-27  Artem B. Bityuckiy  
9118
            Jeff Johnston  
9119
 
9120
        * libc/include/stdlib.h (lldiv_t): New type.
9121
        (atoll, llabs, lldiv): New prototypes.
9122
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
9123
        * libc/stdlib/stdlib.tex: Ditto.
9124
        * libc/stdlib/Makefile.in: Regenerated.
9125
        * libc/stdlib/atoll.c: New file.
9126
        * libc/stdlib/llabs.c: Ditto.
9127
        * libc/stdlib/lldiv.c: Ditto.
9128
 
9129
2003-11-26  Corinna Vinschen  
9130
 
9131
        * libc/include/fcntl.h: Declare syscalls only when building newlib.
9132
        * libc/include/unistd.h: Ditto.
9133
        * libc/include/stat.h: Ditto.  Also declare struct stat64.
9134
 
9135
2003-11-24  Artem B. Bityuckiy  
9136
 
9137
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
9138
        specifier to use ch instead of *fmt.
9139
 
9140
2003-11-21  Artem B. Bityuckiy  
9141
 
9142
        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
9143
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
9144
        use simple byte logic.
9145
 
9146
2003-11-21  Jeff Johnston  
9147
 
9148
        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
9149
        _strtold routine for processing floats and doubles since it
9150
        is not as fast as _strtod_r.
9151
 
9152
2003-11-20 Dhananjay Deshpande 
9153
 
9154
        * libc/machine/h8300/defines.h : Correct pointer register defines
9155
        for normal mode.
9156
        * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
9157
        for normal mode.
9158
        * libc/machine/h8300/reg_memcpy.S : Likewise.
9159
        * libc/machine/h8300/reg_memset.S : Likewise.
9160
        * libc/machine/h8300/strcmp.S : Likewise.
9161
 
9162
2003-11-19  Nicholas Wourms  
9163
 
9164
        * configure.host: Enable positional arguments for printf
9165
        family for Cygwin.
9166
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
9167
        pointer reference for quad_ptr_t.
9168
 
9169
2003-11-19  Jeff Johnston  
9170
 
9171
        * libc/stdio/scanf.c: Don't include local.h more than once.
9172
 
9173
2003-11-18  Corinna Vinschen  
9174
 
9175
        * libc/include/sys/fcntl.h: Declare _open64.
9176
        * libc/include/sys/stat.h: Declare _fstat64.
9177
        * libc/include/sys/unistd.h: Declare _lseek64.
9178
 
9179
2003-11-17  Corinna Vinschen  
9180
 
9181
        * libc/include/stdlib.h (getprogname): Declare for Cygwin.
9182
        (setprogname): Ditto.
9183
 
9184
2003-11-10  Jeff Johnston  
9185
 
9186
        * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
9187
        to use (Ebits + 1) which accounts for the sign-bit.
9188
 
9189
2003-11-07  Jeff Johnston  
9190
 
9191
        * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
9192
        x86 build.
9193
        * iconvdata/Makefile.am: Make dependent on newlib's configure.host
9194
        and set up default flags to pass to aclocal.
9195
        * iconvdata/Makefile.in: Regenerated.
9196
        * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
9197
        and getpwuid routines.
9198
        * libc/sys/linux/Makefile.in: Regenerated.
9199
        * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
9200
        applications to link with newlib's shared libc library.
9201
        * libc/sys/linux/getpwnam.c: Ditto.
9202
        * libc/sys/linux/getpwuid.c: Ditto.
9203
        * libc/sys/linux/sys/types.h: Include  and supply types
9204
        that were formerly supplied by /usr/include/linux/types.h with
9205
        kernel types.
9206
        * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
9207
        test _ELIX_LEVEL macro.
9208
 
9209
2003-11-07  Jeff Johnston  
9210
 
9211
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
9212
        referring to _NO_LONGLONG macro.
9213
 
9214
2003-11-06  Jeff Johnston  
9215
 
9216
        * libc/sys/linux/linuxthreads/td_init.c: Replace function name
9217
        in LOG() macro so this will compile on gcc 3.4 and up.
9218
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
9219
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
9220
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
9221
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
9222
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
9223
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
9224
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
9225
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
9226
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
9227
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
9228
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
9229
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
9230
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
9231
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
9232
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
9233
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
9234
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
9235
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
9236
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
9237
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
9238
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
9239
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
9240
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
9241
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
9242
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
9243
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
9244
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
9245
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
9246
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
9247
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
9248
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
9249
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
9250
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
9251
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
9252
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
9253
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
9254
 
9255
2003-11-05  Jeff Johnston  
9256
            Artem B. Bityuckiy  
9257
 
9258
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
9259
        %ls, %S, %lc, and %C format specifiers.
9260
        (get_arg): Ditto.
9261
        * libc/stdio/sprintf.c: Add documentation regarding new
9262
        format specifiers added in vfprintf.c.
9263
 
9264
2003-11-05  Jeff Johnston  
9265
 
9266
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
9267
        to make code work as specified in standard.
9268
 
9269
2003-10-23  Jeff Johnston  
9270
 
9271
        * configure.in: Use absolute newlib basedir when forming
9272
        CC_FOR_NEWLIB include options.
9273
        * configure: Regenerated.
9274
 
9275
2003-10-23  Artem B. Bityuckiy  
9276
 
9277
        * libc/string/wcsnlen.c: New file.
9278
        * libc/include/wchar.h: Add wcsnlen prototype.
9279
        * libc/string/Makefile.am: Add wcsnlen support.
9280
        * libc/string/Makefile.in: Regenerated.
9281
        * libc/string/wcstrings.tex: Add wcsnlen documentation.
9282
 
9283
2003-10-22  Richard Sandiford  
9284
 
9285
        * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
9286
 
9287
2003-10-20  Bob Wilson  
9288
 
9289
        * libc/locale/locale.c: Use double quotes in code.
9290
        * libc/locale/locale.tex: Likewise.
9291
        * libc/libc.texinfo: Hyphenate "floating-point".
9292
        * libc/machine/necv70/necv70.tex: Likewise.
9293
        * libc/stdio/sprintf.c: Likewise.
9294
        * libc/stdio/sscanf.c: Likewise.
9295
        * libc/stdlib/atof.c: Likewise.
9296
        * libc/stdlib/ldtoa.c: Fix comment typo.
9297
        * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
9298
        * libc/stdlib/ldiv.c: Likewise.
9299
        * libm/common/s_expm1.c: Likewise.
9300
        * libm/common/s_ilogb.c: Hyphenate "floating-point".  Use "nonzero".
9301
        * libm/common/s_infinity: Hyphenate "double- and single-precision".
9302
        * libm/common/s_nan.c: Likewise.  Also correct the FUNCTION summary.
9303
        * libm/common/s_nextafter.c: Fix typo.  Hyphenate "double-precision"
9304
        and "floating-point".
9305
        * libm/common/s_scalbn.c: Correct the FUNCTION summary.
9306
        * libm/math/e_pow.c: Fix comment typo.
9307
        * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
9308
        * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
9309
        * libm/math/s_atan.c: Likewise.
9310
        * libm/math/s_frexp.c: Likewise.  Also use "nonzero".
9311
        * libm/math/s_isnan.c: Hyphenate "single-precision" and
9312
        "floating-point".  Use "nonzero".
9313
        * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
9314
        * libm/math/w_acos.c: Likewise.
9315
        * libm/math/w_acosh.c: Likewise.
9316
        * libm/math/w_asin.c: Likewise.
9317
        * libm/math/w_atan2.c: Likewise.
9318
        * libm/math/w_atanh.c: Likewise.
9319
        * libm/math/w_cosh.c: Likewise.
9320
        * libm/math/w_exp.c: Likewise.
9321
        * libm/math/w_exp2.c: Likewise.  Add missing @end and missing @tex
9322
        version of 2^x in the description.
9323
        * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
9324
        * libm/math/w_gamma.c: Likewise.
9325
        * libm/math/w_hypot.c: Likewise.
9326
        * libm/math/w_j0.c: Likewise.
9327
        * libm/math/w_sinh.c: Likewise.
9328
        * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
9329
        * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
9330
        "floating-point".
9331
        * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
9332
        * libm/mathfp/e_atanh.c: Likewise.
9333
        * libm/mathfp/e_hypot.c: Likewise.
9334
        * libm/mathfp/er_lgamma.c: Likewise.
9335
        * libm/mathfp/s_acos.c: Likewise.
9336
        * libm/mathfp/s_asine.c: Likewise.
9337
        * libm/mathfp/s_asinh.c: Likewise.
9338
        * libm/mathfp/s_atan.c: Likewise.
9339
        * libm/mathfp/s_atan2.c: Likewise.
9340
        * libm/mathfp/s_atangent.c: Likewise.
9341
        * libm/mathfp/s_cosh.c: Likewise.
9342
        * libm/mathfp/s_exp.c: Likewise.
9343
        * libm/mathfp/s_fmod.c: Likewise.
9344
        * libm/mathfp/s_frexp.c: Likewise.  Also use "nonzero".
9345
        * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
9346
        "floating-point".  Use "nonzero".
9347
        * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
9348
        * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
9349
        * libm/mathfp/s_sineh.c: Likewise.
9350
        * libm/mathfp/w_jn.c: Likewise.
9351
 
9352
2003-10-15  Alexandre Oliva  
9353
 
9354
        * Makefile.am: Add $(MAKE) comments to multido and multiclean
9355
        lines, to enable parallel make.
9356
        * Makefile.in: Rebuilt.
9357
 
9358
2003-10-14  Christopher Faylor  
9359
 
9360
        * libc/time/clock.c: Clarify documentation of return value when no
9361
        measurement is available.
9362
 
9363
2003-09-29  Ian Lance Taylor  
9364
 
9365
        * libm/configure.in: Check libm_machine_dir, not machine_dir.
9366
        * libm/configure: Regenerate.
9367
        * libm/Makefile.in: Ditto.
9368
 
9369
2003-09-29  J"orn Rennecke 
9370
 
9371
        * libc/machine/sh/strncpy.S: New file.
9372
        * libc/machine/sh/Makefile.am: Add entry & rule for new file.
9373
        * libc/machine/sh/Makefile.in: Regenerate.
9374
 
9375
2003-09-11  James E Wilson  
9376
 
9377
        * MAINTAINERS: Update my e-mail address.
9378
 
9379
2003-09-10  Corinna Vinschen  
9380
 
9381
        * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
9382
 
9383
2003-09-09  Jeff Johnston  
9384
 
9385
        * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
9386
        prototype.
9387
        * libc/machine/powerpc/simdldtoa.c: Remove prototype for
9388
        _simdldcheck().  Also add unsigned cast for index variable in
9389
        for loop using sizeof operators.
9390
        * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
9391
        * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
9392
        * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
9393
        plus fix shift calculation for determining if there is a
9394
        carry from word2.
9395
 
9396
2003-09-09  Corinna Vinschen  
9397
 
9398
        * libc/include/grp.h: Don't define setgrfile, group_from_gid and
9399
        setgroupent for Cygwin.
9400
 
9401
2003-09-05  Jeff Johnston  
9402
 
9403
        * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
9404
        is different for _REENT_SMALL than when using regular reent
9405
        struct.
9406
 
9407
2003-09-05  Ben Elliston  
9408
 
9409
        * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
9410
        modern versions of GCC issue a warning.
9411
 
9412
        * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
9413
        after continuation characters that induces a warning from modern
9414
        versions of GCC.
9415
 
9416
2003-09-04  Ben Elliston  
9417
 
9418
        * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
9419
        FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
9420
 
9421
2003-09-02  Thomas Pfaff  
9422
 
9423
        * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
9424
        * libc/stdlib/exit.c : Ditto.
9425
        * libc/stdlib/on_exit.c: Ditto.
9426
 
9427
2003-08-27  Corinna Vinschen  
9428
 
9429
        * libc/include/reent.h: Define stat64 as __stat64 when
9430
        compiling newlib for Cygwin.
9431
 
9432
2003-08-26  Jeff Johnston  
9433
 
9434
        * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
9435
        __stat64 when compiling newlib.
9436
 
9437
2003-08-26  Jeff Johnston  
9438
 
9439
        * libc/include/stdio.h: Allow the io64 function prototypes for
9440
        Cygwin when compiling newlib.
9441
        * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
9442
        to expose the Cygwin struct __stat64 type.
9443
        * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
9444
        pointer.
9445
        * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
9446
 
9447
2003-08-23  Christopher Faylor  
9448
 
9449
        * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
9450
        definition to fseeko64.
9451
 
9452
2003-08-22  Jeff Johnston  
9453
 
9454
        * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
9455
        * libc/stdio: Globally remove/replace all references to fp->_data.
9456
        Replace with _REENT or _GLOBAL_REENT where appropriate.
9457
        * libc/stdio/asprintf.c: Ditto.
9458
        * libc/stdio/fclose.c: Ditto.
9459
        * libc/stdio/fvwrite.c: Ditto.
9460
        * libc/stdio/makebuf.c: Ditto.
9461
        * libc/stdio/refill.c: Ditto.
9462
        * libc/stdio/local.h: Ditto.
9463
        * libc/stdio/setvbuf.c: Ditto.
9464
        * libc/stdio/sscanf.c: Ditto.
9465
        * libc/stdio/stdio.c: Ditto.
9466
        * libc/stdio/ungetc.c: Ditto.
9467
        * libc/stdio/vfscanf.c: Ditto.
9468
        * libc/stdio/vsscanf.c: Ditto.
9469
        * libc/stdio/fopen.c: Ditto.  Also use _fseek_r in _fopen_r.
9470
        * libc/stdio/vasprintf.c: Ditto.  Also call _vfprintf_r directly.
9471
        * libc/stdio/vsnprintf.c: Ditto.
9472
        * libc/stdio/vsprintf.c: Ditto.
9473
        * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
9474
        instead of _REENT to walk file list.
9475
        * libc/stdio/fflush.c: Ditto.
9476
        * libc/stdio/fgetpos.c: Add reentrant version and have regular
9477
        version call reentrant version with _REENT argument.
9478
        * libc/stdio/fsetpos.c: Ditto.
9479
        * libc/stdio/fseek.c: Ditto.
9480
        * libc/stdio/fseeko.c: Ditto.
9481
        * libc/stdio/ftell.c: Ditto.
9482
        * libc/stdio/ftello.c: Ditto.
9483
        * libc/stdio/freopen.c: Ditto.
9484
        * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
9485
        new files to chain.  Also use _GLOBAL_REENT pointer for
9486
        cleaning up.
9487
        * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
9488
        * libc/stdio/siprintf.c: Ditto.
9489
        * libc/stdio/iprintf.c: Ditto.
9490
        * libc/stdio/fprintf.c: Ditto.
9491
        * libc/stdio/printf.c: Ditto.
9492
        * libc/stdio/snprintf.c: Call _vfprintf_r directly.
9493
        * libc/stdio/sprintf.c: Ditto.
9494
        * libc/stdio/vprintf.c: Ditto.  Also add _REENT_ONLY check.
9495
        * libc/stdio/rewind.c: Call _fseek_r directly.
9496
        * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
9497
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
9498
        data pointer.
9499
        (get_arg): Add extra struct _reent pointer argument.
9500
        * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
9501
        to fp->_data.
9502
        * libc/stdio64/fopen64.c: Ditto.
9503
        * libc/stdio64/freopen64.c: Ditto.
9504
        * libc/stdio64/fsetpos64.c: Ditto.
9505
        * libc/stdio64/ftello64.c: Ditto.
9506
        * libc/stdio64/local64.h: Ditto.
9507
        * libc/stdio64/stdio64.c: Ditto.
9508
        * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
9509
        _fstat64_r for the meantime.
9510
 
9511
2003-08-19  Jeff Johnston  
9512
 
9513
        * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
9514
        overflow detection.
9515
 
9516
2003-08-13  Aldy Hernandez  
9517
 
9518
        * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
9519
        extern "C".
9520
 
9521
2003-08-13  Jeff Johnston  
9522
 
9523
        * libc/include/math.h: Add prototypes for __signbitf and
9524
        __signbitd.
9525
 
9526
2003-07-31  Jeff Johnston  
9527
 
9528
        * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
9529
        correct type of conversion when dealing with EUCJP or SJIS.
9530
        * libc/ctype/iswblank.c: Ditto.
9531
        * libc/ctype/iswcntrl.c: Ditto.
9532
        * libc/ctype/iswprint.c: Ditto.
9533
        * libc/ctype/iswpunct.c: Ditto.
9534
        * libc/ctype/iswspace.c: Ditto.
9535
        * libc/ctype/towlower.c: Ditto.
9536
        * libc/ctype/towupper.c: Ditto.
9537
 
9538
2003-07-31  Nick Clifton  
9539
 
9540
        * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
9541
        before calling main, in case it saves its argument registers.
9542
        Remove reference to deleted v850ea port.
9543
        * configure.host: Remove reference to deleted v850ea port.
9544
        Do not use -mv850 when building for v850e target.  This
9545
        prevents the ctbp system register from being initialised.
9546
 
9547
2003-07-29  Honda Hiroki  
9548
 
9549
        * libc/stdio/vfprintf.c: Set output size to 1 when
9550
        we have %f format with precision 0 and # flag not specified.
9551
 
9552
2003-07-29  Alexandre Oliva  
9553
 
9554
        * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
9555
        .am33_2.
9556
 
9557
2003-07-25  Christopher Faylor  
9558
 
9559
        * libc/stdio64/fdopen64.c: Include sys/lock.h.
9560
 
9561
2003-07-25  Christopher Faylor  
9562
 
9563
        * configure.host: Find cygwin include directory, when appropriate.
9564
 
9565
2003-07-24  Christopher Faylor  
9566
 
9567
        * libc/stdio64/fdopen64.c: New file.
9568
        * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
9569
        * libc/stdio64/Makefile.in: Regenerate.
9570
        * libc/include/stdio.h (fdopen64): Define.
9571
        * libc/include/stdio.h (_fdopen64_r): Ditto.
9572
 
9573
2003-07-10  Alexandre Oliva  
9574
 
9575
        2000-04-27  Alexandre Oliva  
9576
        * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
9577
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
9578
        restore callee-saved FP registers.
9579
 
9580
2003-07-10  J"orn Rennecke 
9581
 
9582
        * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
9583
        for __sh__.
9584
        * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
9585
        truncate.c.
9586
        * libc/sys/sh/Makefile.in: Regenerate.
9587
        * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
9588
        * libc/sys/sh/ftruncate.c: New file.
9589
        * libc/sys/sh/truncate.c: Likewise.
9590
 
9591
2003-07-09  Alexandre Oliva  
9592
 
9593
        * libc/include/math.h (nan, nanf): Update prototype to C99.
9594
        * libm/common/s_nan.c (nan): Likewise.
9595
        * libm/common/s_nanf.c (nanf, nan): Likewise.
9596
        * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
9597
 
9598
2003-07-07  Jeff Johnston  
9599
 
9600
        * libc/include/stdbool.h: Removed as this is defined by gcc.
9601
 
9602
2003-07-03  Shaun Jackman  
9603
 
9604
        * libc/include/stdbool.h: New header file defined by C99.
9605
 
9606
2003-07-02  Jeff Johnston  
9607
 
9608
        * libc/include/sys/types.h (int8_t): Make signed.
9609
 
9610
2003-07-02  Jeff Johnston  
9611
 
9612
        * libc/sys/linux/include/mqueue.h: Add include of .
9613
 
9614
2003-06-27  Jose Goncalves  
9615
 
9616
        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
9617
        on if we actually created the shared memory file exclusively.
9618
 
9619
2003-06-27  Joe Vornehm  
9620
 
9621
        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
9622
        comparisons to account for unsigned internal value w.
9623
 
9624
2003-06-26  Jeff Johnston  
9625
 
9626
        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
9627
        wrbuf for a non-creating open.
9628
 
9629
2003-06-24  Kazu Hirata  
9630
 
9631
        * libc/machine/h8300/setarch.h: New.
9632
        * libc/machine/h8300/memcpy.S: Use it.
9633
        * libc/machine/h8300/memset.S: Likewise.
9634
        * libc/machine/h8300/reg_memcpy.S: Likewise.
9635
        * libc/machine/h8300/reg_memset.S: Likewise.
9636
        * libc/machine/h8300/setjmp.S: Likewise.
9637
        * libc/machine/h8300/strcmp.S: Likewise.
9638
 
9639
2003-06-24  Richard Sandiford  
9640
 
9641
        * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
9642
        to atexit().
9643
 
9644
2003-06-20  Jeff Johnston  
9645
 
9646
        * configure.host (iq2000): Add tabs.
9647
 
9648
2003-06-20  Jeff Johnston  
9649
 
9650
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
9651
        to handle latest on_exit change.
9652
        * libc/sys/linux/Makefile.am: Remove special compilation
9653
        for malloc.c and mcheck.c.
9654
        * libc/sys/linux/Makefile.in: Regenerated.
9655
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
9656
        after including .
9657
        * libc/sys/linux/mcheck.c: Ditto.
9658
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
9659
        for .
9660
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
9661
        add -DNOT_IN_libc to C flags.
9662
        * libc/sys/linux/intl/Makefile.in: Regenerated.
9663
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
9664
        * libc/sys/linux/linuxthreads/semaphore.h: Include
9665
        .
9666
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
9667
        including .
9668
        * libc/sys/linux/sys/lock.h: Ditto.
9669
 
9670
2003-06-11  Nick Clifton  
9671
 
9672
        * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
9673
        _on_exit_args_ptr.
9674
 
9675
2003-06-10  Stan Cox  
9676
            Anthony Green  
9677
 
9678
        * configure.host: Add iq2000 support.
9679
        * newlib/libc/include/machine/ieeefp.h: Ditto.
9680
        * newlib/libc/include/machine/setjmp.h: Ditto.
9681
        * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
9682
        libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
9683
        libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
9684
        libc/machine/iq2000/Makefile.in: New files.
9685
 
9686
2003-06-10  Richard Sandiford  
9687
 
9688
        * libc/sys/h8300hms/setarch.h: New file.
9689
        * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
9690
        libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
9691
        libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
9692
        libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
9693
 
9694
2003-06-06  Jeff Johnston  
9695
 
9696
        * libc/argz/argz_add.c: Change to use _DEFUN macro for function
9697
        definition.
9698
        * libc/argz/argz_add_sep.c: Ditto.
9699
        * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
9700
        * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
9701
        * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
9702
        * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
9703
        * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
9704
        * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
9705
        * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
9706
        * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
9707
        * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
9708
        * libc/posix/closedir.c libc/posix/creat.c: Ditto.
9709
        * libc/posix/execl.c libc/posix/execle.c: Ditto.
9710
        * libc/posix/execlp.c libc/posix/execve.c: Ditto.
9711
        * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
9712
        * libc/posix/popen.c libc/posix/readdir.c: Ditto.
9713
        * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
9714
        * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
9715
        * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
9716
        * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
9717
        * libc/search/tfind.c libc/search/tsearch.c: Ditto.
9718
        * libc/search/twalk.c libc/signal/signal.c: Ditto.
9719
 
9720
2003-06-05  Nick Clifton  
9721
 
9722
        * libc/include/sys/reent.h (struct _on_exit_args): New
9723
        structure containing fields used by the on_exit() function.
9724
        (struct _atexit): Include struct _on_exit_args.  For
9725
        _REENT_SMALL do his via a pointer that is initialised when
9726
        needed.
9727
        * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
9728
        structure, if one has been allocated.
9729
        * libc/stdlib/atexit.c (atexit): Update indirection to
9730
        _fntypes field.
9731
        * libc/stdlib/on_exit.c (on_exit): Indirect via the
9732
        _on_exit_args structure.  For _REENT_SMALL, allocate a
9733
        structure if one does not exist.
9734
        * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
9735
        structure.
9736
 
9737
2003-06-04  Jeff Johnston  
9738
 
9739
        * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
9740
        * libc/sys/linux/net/Makefile.in: Regenerated.
9741
 
9742
2003-06-03  Jeff Johnston  
9743
 
9744
        * libc/reent/execr.c: Use _DEFUN macro for function declaration.
9745
        * libc/reent/fcntlr.c: Ditto.
9746
        * libc/reent/fstat64r.c: Ditto.
9747
        * libc/reent/linkr.c: Ditto.
9748
        * libc/reent/lseek64r.c: Ditto.
9749
        * libc/reent/lseekr.c: Ditto.
9750
        * libc/reent/openr.c: Ditto.
9751
        * libc/reent/readr.c: Ditto.
9752
        * libc/reent/reent.c: Ditto.
9753
        * libc/reent/sbrkr.c: Ditto.
9754
        * libc/reent/signalr.c: Ditto.
9755
        * libc/reent/signgam.c: Ditto.
9756
        * libc/reent/statr.c: Ditto.
9757
        * libc/reent/timer.c: Ditto.
9758
        * libc/reent/unlinkr.c: Ditto.
9759
        * libc/reent/writer.c: Ditto.
9760
        * libc/syscalls/sysclose.c: Ditto.
9761
        * libc/syscalls/sysexecve.c: Ditto.
9762
        * libc/syscalls/sysfcntl.c: Ditto.
9763
        * libc/syscalls/sysfork.c: Ditto.
9764
        * libc/syscalls/sysfstat.c: Ditto.
9765
        * libc/syscalls/sysgetpid.c: Ditto.
9766
        * libc/syscalls/sysgettod.c: Ditto.
9767
        * libc/syscalls/syskill.c: Ditto.
9768
        * libc/syscalls/syslink.c: Ditto.
9769
        * libc/syscalls/syslseek.c: Ditto.
9770
        * libc/syscalls/sysopen.c: Ditto.
9771
        * libc/syscalls/sysread.c: Ditto.
9772
        * libc/syscalls/syssbrk.c: Ditto.
9773
        * libc/syscalls/sysstat.c: Ditto.
9774
        * libc/syscalls/systimes.c: Ditto.
9775
        * libc/syscalls/sysunlink.c: Ditto.
9776
        * libc/syscalls/syswait.c: Ditto.
9777
        * libc/syscalls/syswrite.c: Ditto.
9778
 
9779
2003-06-03  Till Straumann  
9780
 
9781
        * libc/time/tzset_r.c: Change local variables that are
9782
        set via sscanf using the %h format specifier to be unsigned short
9783
        instead of int.
9784
 
9785
2003-05-30  Kelley Cook  
9786
 
9787
        * configure.host:  Allow i[34567]86 variant.
9788
        * configure.in: Likewise.
9789
        * README: Likewise to the docs.
9790
        * configure: Regenerated.
9791
        * Makefile.in: Ditto.
9792
 
9793
2003-05-28  Jeff Johnston  
9794
            Tom Fitzsimmons  
9795
 
9796
        * configure.in: Add iconvdata support for x86 linux.
9797
        * configure: Regenerated.
9798
        * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
9799
        library, iconv, and linuxthreads support.
9800
        * libc/sys/linux/configure.in: Ditto.
9801
        * libc/sys/linux/Makefile.in: Regenerated.
9802
        * libc/sys/linux/configure: Ditto.
9803
        * iconvdata/EUC-JP.irreversible: New file.
9804
        * iconvdata/Makefile.am: Ditto.
9805
        * iconvdata/Makefile.in: Ditto.
9806
        * iconvdata/SJIS.irreversible: Ditto.
9807
        * iconvdata/aclocal.m4: Ditto.
9808
        * iconvdata/configure: Ditto.
9809
        * iconvdata/configure.in: Ditto.
9810
        * iconvdata/dummy.c: Ditto.
9811
        * iconvdata/euc-jp.c: Ditto.
9812
        * iconvdata/gconv-modules: Ditto.
9813
        * iconvdata/jis0201.c: Ditto.
9814
        * iconvdata/jis0201.h: Ditto.
9815
        * iconvdata/jis0208.c: Ditto.
9816
        * iconvdata/jis0208.h: Ditto.
9817
        * iconvdata/jis0212.c: Ditto.
9818
        * iconvdata/jis0212.h: Ditto.
9819
        * iconvdata/sjis.c: Ditto.
9820
        * libc/include/errno.h: Protect definition of error_t.
9821
        * libc/sys/linux/gethostid.c: New file.
9822
        * libc/sys/linux/sethostid.c: Ditto.
9823
        * libc/sys/linux/dl/Makefile.am: Ditto.
9824
        * libc/sys/linux/dl/Makefile.in: Ditto.
9825
        * libc/sys/linux/dl/abi-tag.h: Ditto.
9826
        * libc/sys/linux/dl/atomicity.h: Ditto.
9827
        * libc/sys/linux/dl/dl-addr.c: Ditto.
9828
        * libc/sys/linux/dl/dl-cache.c: Ditto.
9829
        * libc/sys/linux/dl/dl-cache.h: Ditto.
9830
        * libc/sys/linux/dl/dl-close.c: Ditto.
9831
        * libc/sys/linux/dl/dl-debug.c: Ditto.
9832
        * libc/sys/linux/dl/dl-deps.c: Ditto.
9833
        * libc/sys/linux/dl/dl-dst.h: Ditto.
9834
        * libc/sys/linux/dl/dl-error.c: Ditto.
9835
        * libc/sys/linux/dl/dl-fini.c: Ditto.
9836
        * libc/sys/linux/dl/dl-init.c: Ditto.
9837
        * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
9838
        * libc/sys/linux/dl/dl-libc.c: Ditto.
9839
        * libc/sys/linux/dl/dl-librecon.h: Ditto.
9840
        * libc/sys/linux/dl/dl-load.c: Ditto.
9841
        * libc/sys/linux/dl/dl-lookup.c: Ditto.
9842
        * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
9843
        * libc/sys/linux/dl/dl-minimal.c: Ditto.
9844
        * libc/sys/linux/dl/dl-misc.c: Ditto.
9845
        * libc/sys/linux/dl/dl-object.c: Ditto.
9846
        * libc/sys/linux/dl/dl-open.c: Ditto.
9847
        * libc/sys/linux/dl/dl-osinfo.h: Ditto.
9848
        * libc/sys/linux/dl/dl-profile.c: Ditto.
9849
        * libc/sys/linux/dl/dl-profstub.c: Ditto.
9850
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
9851
        * libc/sys/linux/dl/dl-runtime.c: Ditto.
9852
        * libc/sys/linux/dl/dl-support.c: Ditto.
9853
        * libc/sys/linux/dl/dl-sym.c: Ditto.
9854
        * libc/sys/linux/dl/dl-version.c: Ditto.
9855
        * libc/sys/linux/dl/dlfcn.h: Ditto.
9856
        * libc/sys/linux/dl/do-lookup.h: Ditto.
9857
        * libc/sys/linux/dl/do-rel.h: Ditto.
9858
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
9859
        * libc/sys/linux/dl/kernel-features.h: Ditto.
9860
        * libc/sys/linux/dl/ldsodefs.h: Ditto.
9861
        * libc/sys/linux/dl/libintl.h: Ditto.
9862
        * libc/sys/linux/dl/trusted-dirs.h: Ditto.
9863
        * libc/sys/linux/dl/unsecvars.h: Ditto.
9864
        * libc/sys/linux/iconv/Makefile.am: Ditto.
9865
        * libc/sys/linux/iconv/Makefile.in: Ditto.
9866
        * libc/sys/linux/iconv/categories.def: Ditto.
9867
        * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
9868
        * libc/sys/linux/iconv/gconv.c: Ditto.
9869
        * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
9870
        * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
9871
        * libc/sys/linux/iconv/gconv_cache.c: Ditto.
9872
        * libc/sys/linux/iconv/gconv_charset.h: Ditto.
9873
        * libc/sys/linux/iconv/gconv_close.c: Ditto.
9874
        * libc/sys/linux/iconv/gconv_conf.c: Ditto.
9875
        * libc/sys/linux/iconv/gconv_db.c: Ditto.
9876
        * libc/sys/linux/iconv/gconv_dl.c: Ditto.
9877
        * libc/sys/linux/iconv/gconv_int.h: Ditto.
9878
        * libc/sys/linux/iconv/gconv_open.c: Ditto.
9879
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
9880
        * libc/sys/linux/iconv/gconv_trans.c: Ditto.
9881
        * libc/sys/linux/iconv/hash-string.h: Ditto.
9882
        * libc/sys/linux/iconv/iconv.c: Ditto.
9883
        * libc/sys/linux/iconv/iconv.h: Ditto.
9884
        * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
9885
        * libc/sys/linux/iconv/iconv_close.c: Ditto.
9886
        * libc/sys/linux/iconv/iconv_open.c: Ditto.
9887
        * libc/sys/linux/iconv/iconvconfig.c: Ditto.
9888
        * libc/sys/linux/iconv/iconvconfig.h: Ditto.
9889
        * libc/sys/linux/iconv/loadinfo.h: Ditto.
9890
        * libc/sys/linux/iconv/localeinfo.h: Ditto.
9891
        * libc/sys/linux/iconv/loop.c: Ditto.
9892
        * libc/sys/linux/iconv/skeleton.c: Ditto.
9893
        * libc/sys/linux/iconv/strtab.c: Ditto.
9894
        * libc/sys/linux/include/dl-hash.h: Ditto.
9895
        * libc/sys/linux/include/dlfcn.h: Ditto.
9896
        * libc/sys/linux/include/fnmatch.h: Ditto.
9897
        * libc/sys/linux/include/gconv.h: Ditto.
9898
        * libc/sys/linux/include/glob.h: Ditto.
9899
        * libc/sys/linux/include/hesiod.h: Ditto.
9900
        * libc/sys/linux/include/ifaddrs.h: Ditto.
9901
        * libc/sys/linux/include/libc_private.h: Ditto.
9902
        * libc/sys/linux/include/link.h: Ditto.
9903
        * libc/sys/linux/include/namespace.h: Ditto.
9904
        * libc/sys/linux/include/netconfig.h: Ditto.
9905
        * libc/sys/linux/include/netdb.h: Ditto.
9906
        * libc/sys/linux/include/nsswitch.h: Ditto.
9907
        * libc/sys/linux/include/regex.h: Ditto.
9908
        * libc/sys/linux/include/resolv.h: Ditto.
9909
        * libc/sys/linux/include/rune.h: Ditto.
9910
        * libc/sys/linux/include/runetype.h: Ditto.
9911
        * libc/sys/linux/include/semaphore.h: Ditto.
9912
        * libc/sys/linux/include/setlocale.h: Ditto.
9913
        * libc/sys/linux/include/un-namespace.h: Ditto.
9914
        * libc/sys/linux/include/wordexp.h: Ditto.
9915
        * libc/sys/linux/include/arpa/ftp.h: Ditto.
9916
        * libc/sys/linux/include/arpa/inet.h: Ditto.
9917
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
9918
        * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
9919
        * libc/sys/linux/include/arpa/telnet.h: Ditto.
9920
        * libc/sys/linux/include/arpa/tftp.h: Ditto.
9921
        * libc/sys/linux/include/net/bpf.h: Ditto.
9922
        * libc/sys/linux/include/net/bpf_compat.h: Ditto.
9923
        * libc/sys/linux/include/net/bpfdesc.h: Ditto.
9924
        * libc/sys/linux/include/net/bridge.h: Ditto.
9925
        * libc/sys/linux/include/net/ethernet.h: Ditto.
9926
        * libc/sys/linux/include/net/fddi.h: Ditto.
9927
        * libc/sys/linux/include/net/if.h: Ditto.
9928
        * libc/sys/linux/include/net/if_arc.h: Ditto.
9929
        * libc/sys/linux/include/net/if_arp.h: Ditto.
9930
        * libc/sys/linux/include/net/if_atm.h: Ditto.
9931
        * libc/sys/linux/include/net/if_dl.h: Ditto.
9932
        * libc/sys/linux/include/net/if_gif.h: Ditto.
9933
        * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
9934
        * libc/sys/linux/include/net/if_llc.h: Ditto.
9935
        * libc/sys/linux/include/net/if_media.h: Ditto.
9936
        * libc/sys/linux/include/net/if_mib.h: Ditto.
9937
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
9938
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
9939
        * libc/sys/linux/include/net/if_slvar.h: Ditto.
9940
        * libc/sys/linux/include/net/if_sppp.h: Ditto.
9941
        * libc/sys/linux/include/net/if_stf.h: Ditto.
9942
        * libc/sys/linux/include/net/if_tap.h: Ditto.
9943
        * libc/sys/linux/include/net/if_tapvar.h: Ditto.
9944
        * libc/sys/linux/include/net/if_tun.h: Ditto.
9945
        * libc/sys/linux/include/net/if_tunvar.h: Ditto.
9946
        * libc/sys/linux/include/net/if_types.h: Ditto.
9947
        * libc/sys/linux/include/net/if_var.h: Ditto.
9948
        * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
9949
        * libc/sys/linux/include/net/intrq.h: Ditto.
9950
        * libc/sys/linux/include/net/iso88025.h: Ditto.
9951
        * libc/sys/linux/include/net/net_osdep.h: Ditto.
9952
        * libc/sys/linux/include/net/netisr.h: Ditto.
9953
        * libc/sys/linux/include/net/pfil.h: Ditto.
9954
        * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
9955
        * libc/sys/linux/include/net/ppp_comp.h: Ditto.
9956
        * libc/sys/linux/include/net/ppp_defs.h: Ditto.
9957
        * libc/sys/linux/include/net/radix.h: Ditto.
9958
        * libc/sys/linux/include/net/raw_cb.h: Ditto.
9959
        * libc/sys/linux/include/net/route.h: Ditto.
9960
        * libc/sys/linux/include/net/slcompress.h: Ditto.
9961
        * libc/sys/linux/include/net/slip.h: Ditto.
9962
        * libc/sys/linux/include/net/zlib.h: Ditto.
9963
        * libc/sys/linux/include/netinet/icmp6.h: Ditto.
9964
        * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
9965
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
9966
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
9967
        * libc/sys/linux/include/netinet/igmp.h: Ditto.
9968
        * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
9969
        * libc/sys/linux/include/netinet/in.h: Ditto.
9970
        * libc/sys/linux/include/netinet/in_gif.h: Ditto.
9971
        * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
9972
        * libc/sys/linux/include/netinet/in_systm.h: Ditto.
9973
        * libc/sys/linux/include/netinet/in_var.h: Ditto.
9974
        * libc/sys/linux/include/netinet/ip.h: Ditto.
9975
        * libc/sys/linux/include/netinet/ip6.h: Ditto.
9976
        * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
9977
        * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
9978
        * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
9979
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
9980
        * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
9981
        * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
9982
        * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
9983
        * libc/sys/linux/include/netinet/ip_var.h: Ditto.
9984
        * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
9985
        * libc/sys/linux/include/netinet/tcp.h: Ditto.
9986
        * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
9987
        * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
9988
        * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
9989
        * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
9990
        * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
9991
        * libc/sys/linux/include/netinet/tcpip.h: Ditto.
9992
        * libc/sys/linux/include/netinet/udp.h: Ditto.
9993
        * libc/sys/linux/include/netinet/udp_var.h: Ditto.
9994
        * libc/sys/linux/include/netinet6/ah.h: Ditto.
9995
        * libc/sys/linux/include/netinet6/ah6.h: Ditto.
9996
        * libc/sys/linux/include/netinet6/esp.h: Ditto.
9997
        * libc/sys/linux/include/netinet6/esp6.h: Ditto.
9998
        * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
9999
        * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
10000
        * libc/sys/linux/include/netinet6/in6.h: Ditto.
10001
        * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
10002
        * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
10003
        * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
10004
        * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
10005
        * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
10006
        * libc/sys/linux/include/netinet6/ip6.h: Ditto.
10007
        * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
10008
        * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
10009
        * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
10010
        * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
10011
        * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
10012
        * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
10013
        * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
10014
        * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
10015
        * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
10016
        * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
10017
        * libc/sys/linux/include/netinet6/nd6.h: Ditto.
10018
        * libc/sys/linux/include/netinet6/pim6.h: Ditto.
10019
        * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
10020
        * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
10021
        * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
10022
        * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
10023
        * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
10024
        * libc/sys/linux/include/netns/idp.h: Ditto.
10025
        * libc/sys/linux/include/netns/idp_var.h: Ditto.
10026
        * libc/sys/linux/include/netns/ns.h: Ditto.
10027
        * libc/sys/linux/include/netns/ns_error.h: Ditto.
10028
        * libc/sys/linux/include/netns/ns_if.h: Ditto.
10029
        * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
10030
        * libc/sys/linux/include/netns/sp.h: Ditto.
10031
        * libc/sys/linux/include/netns/spidp.h: Ditto.
10032
        * libc/sys/linux/include/netns/spp_debug.h: Ditto.
10033
        * libc/sys/linux/include/netns/spp_timer.h: Ditto.
10034
        * libc/sys/linux/include/netns/spp_var.h: Ditto.
10035
        * libc/sys/linux/include/rpc/Makefile: Ditto.
10036
        * libc/sys/linux/include/rpc/auth.h: Ditto.
10037
        * libc/sys/linux/include/rpc/auth_des.h: Ditto.
10038
        * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
10039
        * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
10040
        * libc/sys/linux/include/rpc/clnt.h: Ditto.
10041
        * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
10042
        * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
10043
        * libc/sys/linux/include/rpc/des.h: Ditto.
10044
        * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
10045
        * libc/sys/linux/include/rpc/nettype.h: Ditto.
10046
        * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
10047
        * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
10048
        * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
10049
        * libc/sys/linux/include/rpc/raw.h: Ditto.
10050
        * libc/sys/linux/include/rpc/rpc.h: Ditto.
10051
        * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
10052
        * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
10053
        * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
10054
        * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
10055
        * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
10056
        * libc/sys/linux/include/rpc/rpcent.h: Ditto.
10057
        * libc/sys/linux/include/rpc/svc.h: Ditto.
10058
        * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
10059
        * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
10060
        * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
10061
        * libc/sys/linux/include/rpc/types.h: Ditto.
10062
        * libc/sys/linux/include/rpc/xdr.h: Ditto.
10063
        * libc/sys/linux/intl/Makefile.am: Ditto.
10064
        * libc/sys/linux/intl/Makefile.in: Ditto.
10065
        * libc/sys/linux/intl/bindtextdom.c: Ditto.
10066
        * libc/sys/linux/intl/catgets.c: Ditto.
10067
        * libc/sys/linux/intl/catgetsinfo.h: Ditto.
10068
        * libc/sys/linux/intl/config.h: Ditto.
10069
        * libc/sys/linux/intl/dcgettext.c: Ditto.
10070
        * libc/sys/linux/intl/dcigettext.c: Ditto.
10071
        * libc/sys/linux/intl/dcngettext.c: Ditto.
10072
        * libc/sys/linux/intl/dgettext.c: Ditto.
10073
        * libc/sys/linux/intl/dngettext.c: Ditto.
10074
        * libc/sys/linux/intl/explodename.c: Ditto.
10075
        * libc/sys/linux/intl/finddomain.c: Ditto.
10076
        * libc/sys/linux/intl/gettext.c: Ditto.
10077
        * libc/sys/linux/intl/gettext.h: Ditto.
10078
        * libc/sys/linux/intl/gettextP.h: Ditto.
10079
        * libc/sys/linux/intl/hash-string.h: Ditto.
10080
        * libc/sys/linux/intl/l10nflist.c: Ditto.
10081
        * libc/sys/linux/intl/loadinfo.h: Ditto.
10082
        * libc/sys/linux/intl/loadmsgcat.c: Ditto.
10083
        * libc/sys/linux/intl/locale.alias: Ditto.
10084
        * libc/sys/linux/intl/localealias.c: Ditto.
10085
        * libc/sys/linux/intl/ngettext.c: Ditto.
10086
        * libc/sys/linux/intl/open_catalog.c: Ditto.
10087
        * libc/sys/linux/intl/plural.c: Ditto.
10088
        * libc/sys/linux/intl/plural.y: Ditto.
10089
        * libc/sys/linux/intl/stpcpy.c: Ditto.
10090
        * libc/sys/linux/intl/textdomain.c: Ditto.
10091
        * libc/sys/linux/linuxthreads/LICENSE: Ditto.
10092
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
10093
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
10094
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
10095
        * libc/sys/linux/linuxthreads/attr.c: Ditto.
10096
        * libc/sys/linux/linuxthreads/barrier.c: Ditto.
10097
        * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
10098
        * libc/sys/linux/linuxthreads/cancel.c: Ditto.
10099
        * libc/sys/linux/linuxthreads/condvar.c: Ditto.
10100
        * libc/sys/linux/linuxthreads/config.h: Ditto.
10101
        * libc/sys/linux/linuxthreads/configure: Ditto.
10102
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
10103
        * libc/sys/linux/linuxthreads/defs.awk: Ditto.
10104
        * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
10105
        * libc/sys/linux/linuxthreads/events.c: Ditto.
10106
        * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
10107
        * libc/sys/linux/linuxthreads/getreent.c: Ditto.
10108
        * libc/sys/linux/linuxthreads/internals.h: Ditto.
10109
        * libc/sys/linux/linuxthreads/join.c: Ditto.
10110
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
10111
        * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
10112
        * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
10113
        * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
10114
        * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
10115
        * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
10116
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
10117
        * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
10118
        * libc/sys/linux/linuxthreads/mutex.c: Ditto.
10119
        * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
10120
        * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
10121
        * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
10122
        * libc/sys/linux/linuxthreads/prio.c: Ditto.
10123
        * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
10124
        * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
10125
        * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
10126
        * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
10127
        * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
10128
        * libc/sys/linux/linuxthreads/pthread.c: Ditto.
10129
        * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
10130
        * libc/sys/linux/linuxthreads/queue.h: Ditto.
10131
        * libc/sys/linux/linuxthreads/reent.c: Ditto.
10132
        * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
10133
        * libc/sys/linux/linuxthreads/restart.h: Ditto.
10134
        * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
10135
        * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
10136
        * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
10137
        * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
10138
        * libc/sys/linux/linuxthreads/signals.c: Ditto.
10139
        * libc/sys/linux/linuxthreads/specific.c: Ditto.
10140
        * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
10141
        * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
10142
        * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
10143
        * libc/sys/linux/linuxthreads/td_init.c: Ditto.
10144
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
10145
        * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
10146
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
10147
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
10148
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
10149
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
10150
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
10151
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
10152
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
10153
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
10154
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
10155
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
10156
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
10157
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
10158
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
10159
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
10160
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
10161
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
10162
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
10163
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
10164
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
10165
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
10166
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
10167
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
10168
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
10169
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
10170
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
10171
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
10172
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
10173
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
10174
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
10175
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
10176
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
10177
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
10178
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
10179
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
10180
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
10181
        * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
10182
        * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
10183
        * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
10184
        * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
10185
        * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
10186
        * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
10187
        * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
10188
        * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
10189
        * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
10190
        * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
10191
        * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
10192
        * libc/sys/linux/linuxthreads/tststack.c: Ditto.
10193
        * libc/sys/linux/linuxthreads/unload.c: Ditto.
10194
        * libc/sys/linux/linuxthreads/weaks.c: Ditto.
10195
        * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
10196
        * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
10197
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
10198
        * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
10199
        * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
10200
        * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
10201
        * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
10202
        * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
10203
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
10204
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
10205
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
10206
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
10207
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
10208
        * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
10209
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
10210
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
10211
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
10212
        * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
10213
        * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
10214
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
10215
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
10216
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
10217
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
10218
        * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
10219
        * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
10220
        * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
10221
        * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
10222
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
10223
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
10224
        * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
10225
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
10226
        * libc/sys/linux/net/Makefile.am: Ditto.
10227
        * libc/sys/linux/net/Makefile.in: Ditto.
10228
        * libc/sys/linux/net/addr2ascii.3: Ditto.
10229
        * libc/sys/linux/net/addr2ascii.c: Ditto.
10230
        * libc/sys/linux/net/ascii2addr.c: Ditto.
10231
        * libc/sys/linux/net/base64.c: Ditto.
10232
        * libc/sys/linux/net/bindresvport.c: Ditto.
10233
        * libc/sys/linux/net/byteorder.3: Ditto.
10234
        * libc/sys/linux/net/ether_addr.c: Ditto.
10235
        * libc/sys/linux/net/ethers.3: Ditto.
10236
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
10237
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
10238
        * libc/sys/linux/net/gethostbydns.c: Ditto.
10239
        * libc/sys/linux/net/gethostbyht.c: Ditto.
10240
        * libc/sys/linux/net/gethostbyname.3: Ditto.
10241
        * libc/sys/linux/net/gethostbynis.c: Ditto.
10242
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
10243
        * libc/sys/linux/net/getifaddrs.3: Ditto.
10244
        * libc/sys/linux/net/getifaddrs.c: Ditto.
10245
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
10246
        * libc/sys/linux/net/getnameinfo.3: Ditto.
10247
        * libc/sys/linux/net/getnameinfo.c: Ditto.
10248
        * libc/sys/linux/net/getnetbydns.c: Ditto.
10249
        * libc/sys/linux/net/getnetbyht.c: Ditto.
10250
        * libc/sys/linux/net/getnetbynis.c: Ditto.
10251
        * libc/sys/linux/net/getnetent.3: Ditto.
10252
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
10253
        * libc/sys/linux/net/getproto.c: Ditto.
10254
        * libc/sys/linux/net/getprotoent.3: Ditto.
10255
        * libc/sys/linux/net/getprotoent.c: Ditto.
10256
        * libc/sys/linux/net/getprotoname.c: Ditto.
10257
        * libc/sys/linux/net/getservbyname.c: Ditto.
10258
        * libc/sys/linux/net/getservbyport.c: Ditto.
10259
        * libc/sys/linux/net/getservent.3: Ditto.
10260
        * libc/sys/linux/net/getservent.c: Ditto.
10261
        * libc/sys/linux/net/herror.c: Ditto.
10262
        * libc/sys/linux/net/hesiod.3: Ditto.
10263
        * libc/sys/linux/net/hesiod.c: Ditto.
10264
        * libc/sys/linux/net/if_indextoname.3: Ditto.
10265
        * libc/sys/linux/net/ifname.c: Ditto.
10266
        * libc/sys/linux/net/inet.3: Ditto.
10267
        * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
10268
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
10269
        * libc/sys/linux/net/inet_addr.c: Ditto.
10270
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
10271
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
10272
        * libc/sys/linux/net/inet_net.3: Ditto.
10273
        * libc/sys/linux/net/inet_net_ntop.c: Ditto.
10274
        * libc/sys/linux/net/inet_net_pton.c: Ditto.
10275
        * libc/sys/linux/net/inet_neta.c: Ditto.
10276
        * libc/sys/linux/net/inet_netof.c: Ditto.
10277
        * libc/sys/linux/net/inet_network.c: Ditto.
10278
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
10279
        * libc/sys/linux/net/inet_ntop.c: Ditto.
10280
        * libc/sys/linux/net/inet_pton.c: Ditto.
10281
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
10282
        * libc/sys/linux/net/ip6opt.c: Ditto.
10283
        * libc/sys/linux/net/iso_addr.3: Ditto.
10284
        * libc/sys/linux/net/iso_addr.c: Ditto.
10285
        * libc/sys/linux/net/issetugid-stub.c: Ditto.
10286
        * libc/sys/linux/net/linkaddr.3: Ditto.
10287
        * libc/sys/linux/net/linkaddr.c: Ditto.
10288
        * libc/sys/linux/net/map_v4v6.c: Ditto.
10289
        * libc/sys/linux/net/name6.c: Ditto.
10290
        * libc/sys/linux/net/namespace.h: Ditto.
10291
        * libc/sys/linux/net/ns.3: Ditto.
10292
        * libc/sys/linux/net/ns_addr.c: Ditto.
10293
        * libc/sys/linux/net/ns_name.c: Ditto.
10294
        * libc/sys/linux/net/ns_netint.c: Ditto.
10295
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
10296
        * libc/sys/linux/net/ns_parse.c: Ditto.
10297
        * libc/sys/linux/net/ns_print.c: Ditto.
10298
        * libc/sys/linux/net/ns_ttl.c: Ditto.
10299
        * libc/sys/linux/net/nsap_addr.c: Ditto.
10300
        * libc/sys/linux/net/nsdispatch.3: Ditto.
10301
        * libc/sys/linux/net/nsdispatch.c: Ditto.
10302
        * libc/sys/linux/net/nslexer.c: Ditto.
10303
        * libc/sys/linux/net/nslexer.l: Ditto.
10304
        * libc/sys/linux/net/nsparser.c: Ditto.
10305
        * libc/sys/linux/net/nsparser.h: Ditto.
10306
        * libc/sys/linux/net/nsparser.y: Ditto.
10307
        * libc/sys/linux/net/rcmd.3: Ditto.
10308
        * libc/sys/linux/net/rcmd.c: Ditto.
10309
        * libc/sys/linux/net/rcmdsh.3: Ditto.
10310
        * libc/sys/linux/net/rcmdsh.c: Ditto.
10311
        * libc/sys/linux/net/recv.c: Ditto.
10312
        * libc/sys/linux/net/res_comp.c: Ditto.
10313
        * libc/sys/linux/net/res_config.h: Ditto.
10314
        * libc/sys/linux/net/res_data.c: Ditto.
10315
        * libc/sys/linux/net/res_debug.c: Ditto.
10316
        * libc/sys/linux/net/res_init.c: Ditto.
10317
        * libc/sys/linux/net/res_mkquery.c: Ditto.
10318
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
10319
        * libc/sys/linux/net/res_query.c: Ditto.
10320
        * libc/sys/linux/net/res_send.c: Ditto.
10321
        * libc/sys/linux/net/res_update.c: Ditto.
10322
        * libc/sys/linux/net/resolver.3: Ditto.
10323
        * libc/sys/linux/net/rthdr.c: Ditto.
10324
        * libc/sys/linux/net/send.c: Ditto.
10325
        * libc/sys/linux/net/un-namespace.h: Ditto.
10326
        * libc/sys/linux/net/vars.c: Ditto.
10327
        * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
10328
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
10329
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
10330
        * libc/sys/linux/stdlib/cclass.h: Ditto.
10331
        * libc/sys/linux/stdlib/cname.h: Ditto.
10332
        * libc/sys/linux/stdlib/collate.c: Ditto.
10333
        * libc/sys/linux/stdlib/collate.h: Ditto.
10334
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
10335
        * libc/sys/linux/stdlib/engine.c: Ditto.
10336
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
10337
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
10338
        * libc/sys/linux/stdlib/glob.3: Ditto.
10339
        * libc/sys/linux/stdlib/glob.c: Ditto.
10340
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
10341
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
10342
        * libc/sys/linux/stdlib/regerror.c: Ditto.
10343
        * libc/sys/linux/stdlib/regex.3: Ditto.
10344
        * libc/sys/linux/stdlib/regex2.h: Ditto.
10345
        * libc/sys/linux/stdlib/regexec.c: Ditto.
10346
        * libc/sys/linux/stdlib/regfree.c: Ditto.
10347
        * libc/sys/linux/stdlib/utils.h: Ditto.
10348
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
10349
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
10350
        * libc/sys/linux/sys/dlfcn.h: Ditto.
10351
        * libc/sys/linux/sys/elfclass.h: Ditto.
10352
        * libc/sys/linux/sys/event.h: Ditto.
10353
        * libc/sys/linux/sys/ioccom.h: Ditto.
10354
        * libc/sys/linux/sys/libc-tsd.h: Ditto.
10355
        * libc/sys/linux/sys/link.h: Ditto.
10356
        * libc/sys/linux/sys/lock.h: Ditto.
10357
        * libc/sys/linux/sys/param.h: Ditto.
10358
        * libc/sys/linux/sys/socket.h: Ditto.
10359
        * libc/sys/linux/sys/sockio.h: Ditto.
10360
 
10361
2003-05-28  Dhananjay Deshpande  
10362
 
10363
        * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
10364
        normal mode
10365
        * newlib/libc/machine/h8300/memset.S: Likewise
10366
        * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
10367
        * newlib/lib/machine/h8300/reg_memset.S: Likewise
10368
        * newlib/lib/machine/h8300/setjmp.S: Likewise
10369
        * newlib/lib/machine/h8300/strcmp.S: Likewise
10370
        * newlib/lib/sys/h8300hms/crt0.S: Likewise
10371
 
10372
2003-05-13  Corinna Vinschen  
10373
 
10374
        * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
10375
        * libc/include/stdio.h: Ditto.
10376
        * libc/include/sys/config.h: Ditto.
10377
        * libc/stdio/mktemp.c: Ditto.
10378
 
10379
2003-05-13  Corinna Vinschen  
10380
 
10381
        * libc/locale/ldpart.c (__part_load_locale): Substitute
10382
        __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
10383
        * libc/search/hash.c (__hash_open): Ditto.
10384
        (init_hash): Ditto.
10385
        * libc/stdio/fseek.c (fseek): Ditto.
10386
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
10387
        * libc/stdio/mktemp.c (_gettemp): Ditto.
10388
 
10389
2003-05-12  Corinna Vinschen  
10390
 
10391
        * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
10392
 
10393
2003-05-12  Corinna Vinschen  
10394
 
10395
        * configure.host: Accomodate removing the libc/sys/cygwin dir.
10396
        * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
10397
        if __CYGWIN_USE_BIG_TYPES__ is set.
10398
        * libc/search/hash.c (__hash_open): Ditto.
10399
        (init_hash): Ditto.
10400
        * libc/stdio/fseek.c (fseek): Ditto.
10401
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
10402
        * libc/stdio/mktemp.c (_gettemp): Ditto.
10403
        * libc/sys/cygwin/Makefile.am: Remove.
10404
        * libc/sys/cygwin/Makefile.in: Remove.
10405
        * libc/sys/cygwin/aclocal.m4: Remove.
10406
        * libc/sys/cygwin/configure: Remove.
10407
        * libc/sys/cygwin/configure.in: Remove.
10408
        * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
10409
        * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
10410
        directory.
10411
        * libc/sys/cygwin/sys/param.h: Ditto.
10412
        * libc/sys/cygwin/sys/utime.h: Ditto.
10413
        * libc/sys/cygwin/sys/utmp.h: Ditto.
10414
 
10415
2003-05-11  Corinna Vinschen  
10416
 
10417
        * libc/include/sys/types.h: Don't define key_t for Cygwin.
10418
 
10419
2003-05-10  Christopher Faylor  
10420
 
10421
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
10422
        64 bit inodes.
10423
 
10424
2003-05-09  Corinna Vinschen  
10425
 
10426
        * libc/include/sys/config.h: Remove all Cygwin specific configuration.
10427
        Include cygwin/config.h instead.
10428
 
10429
2003-04-16  Jeff Johnston  
10430
 
10431
        * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
10432
        all code with #ifdef __SPE__ test.
10433
        * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
10434
 
10435
2003-04-15  Chris January 
10436
 
10437
        * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
10438
        Cygwin.
10439
 
10440
2003-04-09  J"orn Rennecke 
10441
 
10442
        * libc/machine/sh/memset.S: Avoid clobbering volatile
10443
        objects following a tiny to-be-set array in the same quadword.
10444
 
10445
2001-04-09  Corinna Vinschen  
10446
 
10447
        * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
10448
        * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
10449
        * libc/string/Makefile.in: Regenerated.
10450
        * libc/string/wcswidth.c: New file.
10451
        * libc/string/wcwidth.c: New file.
10452
        * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
10453
 
10454
Thu Apr  3 14:01:16 2003  J"orn Rennecke 
10455
 
10456
        * libc/machine/sh/memset.S: Fix problem with alloco region
10457
        exceeding destination region for length >= 88 bytes, start
10458
        & 0x16 == 0, end & 0x1f == 18.
10459
 
10460
2001-04-03  Corinna Vinschen  
10461
 
10462
        * libc/string/wcscoll.c: Fix comment.
10463
 
10464
2001-04-02  Corinna Vinschen  
10465
 
10466
        * libc/include/wchar.h: Add definition for wcscoll.
10467
        * libc/string/Makefile.am: Add wcscoll.c.
10468
        * libc/string/Makefile.in: Regenerated.
10469
        * libc/string/wcscoll.c: New file.
10470
        * libc/string/wcstrings.tex: Add wcscoll.
10471
 
10472
2003-04-01  Corinna Vinschen  
10473
 
10474
        * libc/stdio/sscanf.c: Update flags description.
10475
        * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
10476
        type.
10477
        (__svfscanf_r): Add 'hh' and 'll' handling.
10478
 
10479
2003-04-01  Corinna Vinschen  
10480
 
10481
        * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
10482
        __d_position member to _off_t.
10483
 
10484
2003-03-20  Jeff Johnston  
10485
 
10486
        * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
10487
        count all characters used to create number against maximum width.
10488
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
10489
 
10490
2003-03-18  D.Venkatasubramanian  
10491
 
10492
        * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
10493
        support.
10494
        * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
10495
        flag to support simulator only extensions.
10496
 
10497
2003-03-17  Bob Cassels  
10498
 
10499
        * libc/string/wcschr.c: (wcschr): Look for character first,
10500
        then for end of string, so you can do wcschr(x, '\0').
10501
 
10502
2003-03-10  Corinna Vinschen  
10503
 
10504
        * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
10505
        with internal (_fpos_t and _off_t) datatypes when compiling newlib.
10506
        * libc/include/sys/unistd.h: Declare _lseek using _off_t.
10507
        * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
10508
        * libc/stdio/fseeko.c (fseeko): Ditto.
10509
        * libc/stdio/ftello.c (ftello): Ditto.
10510
        * libc/stdio/stdio.c (__swrite): Ditto.
10511
        (__sseek): Ditto.
10512
        * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
10513
        * libc/stdio/fseek.c (fseek): Ditto.
10514
        * libc/stdio/fsetpos.c (fsetpos): Ditto.
10515
        * libc/stdio/ftell.c (ftell): Ditto.
10516
        * libc/stdio/local.h: Declare __sseek using _off_t.
10517
 
10518
2003-03-09  Corinna Vinschen  
10519
 
10520
        * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
10521
 
10522
2003-03-09  Corinna Vinschen  
10523
 
10524
        * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
10525
        Cygwin.
10526
 
10527
2003-03-09  Corinna Vinschen  
10528
 
10529
        * libc/include/pwd.h: Add guards to avoid type clashes when compiling
10530
        Cygwin.
10531
        * libc/include/sys/stat.h: Ditto.
10532
        * libc/include/sys/unistd.h: Ditto.
10533
        * libc/sys/cygwin/sys/dirent.h: Ditto.
10534
 
10535
2003-03-07  Christopher Faylor  
10536
 
10537
        * libc/include/sys/unistd.h: Guard getopt.h call to force only
10538
        declaration of getopt and avoid getopt_long declaration.
10539
        * libc/sys/cygwin/include/unistd.h: Remove.
10540
 
10541
2003-03-07  Corinna Vinschen  
10542
 
10543
        * configure.host: Define stdio64_dir for Cygwin.
10544
        * libc/include/stdio.h: Change definition of fpos_t to fulfill
10545
        Cygwin 64bit file access requirements.
10546
        Drop definition of f*64() functions when compiled for Cygwin.
10547
        * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
10548
        * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
10549
        * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
10550
 
10551
2003-03-07   Jeff Johnston  
10552
 
10553
        * libc/include/sys/reent.h: Remove extraneous _sig_func
10554
        declaration.
10555
 
10556
2003-02-25   D.Venkatasubramanian 
10557
 
10558
        * libc/sys/h8300hms/Makefile.am: Add support for new files.
10559
        * libc/sys/h8300hms/Makefile.in: Regenerated.
10560
        * libc/sys/h8300hms/close.S: New file.
10561
        * libc/sys/h8300hms/fstat.S: Ditto.
10562
        * libc/sys/h8300hms/lseek.S: Ditto.
10563
        * libc/sys/h8300hms/open.S: Ditto.
10564
        * libc/sys/h8300hms/stat.S: Ditto.
10565
        * libc/sys/h8300hms/read.S: New file to replace read.c.
10566
        * libc/sys/h8300hms/read.c: Removed.
10567
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
10568
        _lseek, _close, _stat, _fstat.
10569
        * libc/sys/h8300hms/write.S: New file to replace write.c.
10570
        * libc/sys/h8300hms/write.c: Removed.
10571
 
10572
2003-02-20  Nick Clifton  
10573
 
10574
        * Add support for Cirrus Maverick ARM co-processor:
10575
 
10576
        2000-09-13  Aldy Hernandez  
10577
 
10578
                * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
10579
                IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
10580
 
10581
        2000-08-11  Aldy Hernandez  
10582
 
10583
                * configure.host: set sys_dir, syscall_dir, and
10584
                newlib_cflags for ep9312 host.
10585
 
10586
        * configure.host: Restore alpha sorting of entries in case
10587
        statements.
10588
 
10589
2003-02-19  Jeff Johnston  
10590
 
10591
        * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
10592
 
10593
2003-02-18  Christian Groessler  
10594
 
10595
        * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
10596
        support z8001 segmented mode.
10597
 
10598
2003-02-18  Earnie Boyd  
10599
 
10600
        * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
10601
        with a NULL value.
10602
 
10603
2003-02-10  Christopher Faylor  
10604
 
10605
        * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
10606
        Don't define some types under cygwin.
10607
 
10608
2003-02-07  Jeff Johnston  
10609
 
10610
        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
10611
        option to allow disabling of syscalls being supplied in newlib.
10612
        * aclocal.m4: Regenerated.
10613
        * configure: Ditto.
10614
        * configure.host: Add support of new configuration option and add
10615
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
10616
        * doc/aclocal.m4: Regenerated.
10617
        * doc/configure: Ditto.
10618
        * libc/*aclocal.m4: Ditto.
10619
        * libc/*configure: Ditto.
10620
        * libm/*aclocal.m4: Ditto.
10621
        * libm/*configure: Ditto.
10622
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
10623
        is disabled.
10624
        * libc/sys/arm/Makefile.in: Regenerated.
10625
 
10626
2003-02-05  Jonathan Larmour  
10627
 
10628
        * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
10629
        -1 to be sure it cannot later match a valid file fd causing
10630
        isatty() to return 1.
10631
        * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
10632
        * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
10633
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
10634
 
10635
2003-02-03  Jeff Johnston  
10636
 
10637
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
10638
        buffer based on the precision, after we have processed the input value
10639
        in a local buffer and know its relative magnitude.
10640
 
10641
2003-01-31  Michael Snyder  
10642
 
10643
        * libc/sys/h8300hms/_exit.c (_exit, __exit):  Slip a magic cookie
10644
        into registers r1 and r2, so that the simulator can distinguish
10645
        this trap from a breakpoint trap.  Copied from libgloss.
10646
 
10647
2003-01-31  Michael Snyder  
10648
 
10649
        * libc/sys/h8300hms/crt0.S (_start): Change local label
10650
        from .loop to .Loop, so that ld and gdb will ignore it.
10651
 
10652
2003-01-29  Jason Tishler  
10653
 
10654
        * libc/include/time.h: Declare nanosleep() under Cygwin.
10655
 
10656
2003-01-24  Nick Clifton  
10657
 
10658
        * Add sh2e support:
10659
 
10660
        2002-04-02  Alexandre Oliva  
10661
 
10662
                * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
10663
                * libc/machine/sh/setjmp.S: Likewise.
10664
                * libc/include/machine/ieeefp.h: Likewise.
10665
 
10666
2003-01-24  Corinna Vinschen  
10667
 
10668
        * libc/include/sys/unistd.h: Add setregid and setreuid declarations
10669
        for Cygwin.
10670
 
10671
2003-01-21 Anita Kulkarni  
10672
 
10673
        * libc/time/difftime.c : Typecast the result to double.
10674
 
10675
2003-01-20  Christopher Faylor  
10676
 
10677
        * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
10678
 
10679
2003-01-18  Nick Clifton  
10680
 
10681
        * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
10682
        __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
10683
 
10684
2003-01-16  Joel Sherrill 
10685
 
10686
        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
10687
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
10688
        constants are defined in each file in the shared versions in
10689
        libc/include.
10690
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
10691
        autoconf can link programs.
10692
        * libc/include/machine/types.h: Explicitly specify signed on
10693
        intXX_t types to ensure they are signed.
10694
 
10695
2003-01-14  Christopher Faylor  
10696
 
10697
        * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
10698
        extensions.
10699
 
10700
2003-01-08  Richard Sandiford  
10701
 
10702
        * configure.host (mips64vr-elf, mips64vrel-elf): New config.
10703
 
10704
2003-01-07  Charles Wilson  
10705
 
10706
        * libc/stdio/sprintf.c: fix typo
10707
        * libc/stdio/vfprintf.c: fix typo
10708
 
10709
2003-01-07  Jeff Johnston  
10710
 
10711
        * configure.host: Support long double I/O for x86-linux.
10712
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
10713
        large enough to hold formatted result.
10714
        * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
10715
 
10716
2003-01-06  Charles Wilson  
10717
 
10718
        * Makefile.am: Add vasprintf.
10719
        * Makefile.in: Regenerated.
10720
 
10721
2003-01-06  Charles Wilson  
10722
 
10723
        * asprintf.c (_asprintf_r): insure both declarations
10724
        are the same.
10725
 
10726
2002-12-28  Christopher Faylor  
10727
 
10728
        * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
10729
        than defining getopt directly.
10730
 
10731
2002-12-20  Jeff Johnston  
10732
 
10733
        * NEWS: Update with 1.11.0 info.
10734
        * README: Ditto.
10735
        * acinclude.m4: Change version number to 1.11.0.
10736
        * aclocal.m4: Regenerated.
10737
        * configure: Ditto.
10738
        * doc/aclocal.m4: Ditto.
10739
        * doc/configure: Ditto.
10740
        * libc/*/aclocal.m4: Ditto.
10741
        * libc/*/configure: Ditto.
10742
        * libc/libc.texinfo: Ditto.
10743
        * libm/*/aclocal.m4: Ditto.
10744
        * libm/*/configure: Ditto.
10745
        * libm/libm.texinfo: Ditto.
10746
        * libc/sys/linux/shared.ld: Add VERS_1.11.
10747
 
10748
2002-12-20  Jeff Johnston  
10749
 
10750
        * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
10751
        Solutions to Red Hat Inc.
10752
        * libc/machine/i386/f_atan2f.S: Ditto.
10753
        * libc/machine/i386/f_exp.c: Ditto.
10754
        * libc/machine/i386/f_expf.c: Ditto.
10755
        * libc/machine/i386/f_frexp.S: Ditto.
10756
        * libc/machine/i386/f_frexpf.S: Ditto.
10757
        * libc/machine/i386/f_ldexp.S: Ditto.
10758
        * libc/machine/i386/f_ldexpf.S: Ditto.
10759
        * libc/machine/i386/f_log.S: Ditto.
10760
        * libc/machine/i386/f_log10.S: Ditto.
10761
        * libc/machine/i386/f_log10f.S: Ditto.
10762
        * libc/machine/i386/f_logf.S: Ditto.
10763
        * libc/machine/i386/f_pow.c: Ditto.
10764
        * libc/machine/i386/f_powf.c: Ditto.
10765
        * libc/machine/i386/f_tan.S: Ditto.
10766
        * libc/machine/i386/f_tanf.S: Ditto.
10767
        * libc/machine/i386/memchr.S: Ditto.
10768
        * libc/machine/i386/memcmp.S: Ditto.
10769
        * libc/machine/i386/memcpy.S: Ditto.
10770
        * libc/machine/i386/memmove.S: Ditto.
10771
        * libc/machine/i386/memset.S: Ditto.
10772
        * libc/machine/i386/strchr.S: Ditto.
10773
        * libc/machine/i386/strlen.S: Ditto.
10774
        * libm/machine/i386/f_atan2.S: Ditto.
10775
        * libm/machine/i386/f_atan2f.S: Ditto.
10776
        * libm/machine/i386/f_exp.c: Ditto.
10777
        * libm/machine/i386/f_expf.c: Ditto.
10778
        * libm/machine/i386/f_frexp.S: Ditto.
10779
        * libm/machine/i386/f_frexpf.S: Ditto.
10780
        * libm/machine/i386/f_ldexp.S: Ditto.
10781
        * libm/machine/i386/f_ldexpf.S: Ditto.
10782
        * libm/machine/i386/f_log.S: Ditto.
10783
        * libm/machine/i386/f_log10.S: Ditto.
10784
        * libm/machine/i386/f_log10f.S: Ditto.
10785
        * libm/machine/i386/f_logf.S: Ditto.
10786
        * libm/machine/i386/f_pow.c: Ditto.
10787
        * libm/machine/i386/f_powf.c: Ditto.
10788
        * libm/machine/i386/f_tan.S: Ditto.
10789
        * libm/machine/i386/f_tanf.S: Ditto.
10790
 
10791
2002-12-20  Jeff Johnston  
10792
 
10793
        * libc/stdlib/environ.c: Update license to Red Hat.
10794
        * libc/machine/hppa/setjmp.S: Ditto.
10795
        * libm/test/Makefile.in: Ditto.
10796
 
10797
2002-12-19  Jeff Johnston  
10798
 
10799
        * configure.host: Remove references to go32.
10800
        * libc/sys/go32/*: Removed.
10801
 
10802
2002-12-16  Kazu Hirata  
10803
 
10804
        * libc/include/sys/config.h: Change setting of INT_MAX
10805
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
10806
        __H8300S__.  Also consolidate flag settings for these
10807
        platforms.
10808
 
10809
2002-12-10  Joel Sherrill  
10810
 
10811
        * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
10812
        for i386-rtems targets.
10813
 
10814
2002-12-06  Jeff Johnston  
10815
 
10816
        * libc/include/stdlib.h (strtof): New prototype (from C99).
10817
        (strtodf): Changed from prototype to macro which redefines
10818
        to strtof.
10819
        * libc/stdlib/atof.c: Change documentation to refer to strtof
10820
        instead of strtodf.
10821
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
10822
        strtodf.
10823
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
10824
        (strtof): New function.
10825
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
10826
        calls strtof.
10827
 
10828
2002-11-27  Christopher Faylor  
10829
 
10830
        * libc/string/memset.c (memset): Fix comment.
10831
 
10832
2002-11-26  Christopher Faylor  
10833
 
10834
        * libc/string/memset.c (memset): Move initialization of 'd' earlier in
10835
        function.
10836
 
10837
2002-11-25  Christopher Faylor  
10838
 
10839
        * libc/string/memset.c (memset): Minor optimization: Use new 'd'
10840
        variable, introduced below, everywhere.
10841
 
10842
2002-11-25  Kazu Hirata  
10843
 
10844
        * libc/string/memset.c (memset): Make it safe even if
10845
        sizeof (int) = 2.
10846
 
10847
2002-11-22  Joe Buehler  
10848
 
10849
        * configure.in: Change check for libc/include in ${CC} to
10850
        use an intermediate value so as to work with different shells.
10851
        * configure: Regenerated.
10852
        * Makefile.in: Ditto.
10853
 
10854
2002-11-22  Vijay L. Khuspe  
10855
 
10856
        * libc/sys/h8300hms/read.c: Add support for normal mode
10857
        architecture.
10858
 
10859
2002-11-20  Ryo Tsuruta  
10860
 
10861
        * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
10862
        code for __H8300H__ and __H8300S__.  Also return 32-bit return code
10863
        when -mint32 is used.
10864
 
10865
2002-11-18  Nick Clifton  
10866
 
10867
        * libc/sys/arm/crt0.S: Add NULL to end of argv array.
10868
 
10869
2002-11-14  Jeff Johnston  
10870
 
10871
        * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
10872
        only issue one pass/fail message for a compile/link/execute.
10873
        * testsuite/newlib.elix/elix.exp: New file.
10874
        * testsuite/newlib.elix/tmmap.c: Ditto.
10875
 
10876
2002-11-06  Christopher Faylor  
10877
 
10878
        * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
10879
        * libc/stdlib/mlock.c: Ditto.
10880
        * libc/stdlib/msize.c: Ditto.
10881
        * libc/stdlib/msize.c: Ditto.
10882
        * libc/stdlib/mtrim.c: Ditto.
10883
        * libc/stdlib/valloc.c: Ditto.
10884
 
10885
2002-11-12  Jeff Johnston  
10886
 
10887
        * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
10888
        for inf/nan, make sure that the check ignores the sign bit.
10889
 
10890
2002-11-07  Joel Sherrill 
10891
 
10892
        * libc/sys/rtems/machine: New directory.
10893
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
10894
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
10895
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
10896
        targets more BSD like when installed without requiring files to
10897
        be overwritten at install point when RTEMS itself is installed.
10898
        * Makefile.am: Pick up system dependent machine .h files such as
10899
        might be found on a BSD-ish system.
10900
        * Makefile.in: Regenerate.
10901
        * libc/include/machine/types.h: When on an RTEMS target, define a
10902
        few BSD flavor types.
10903
 
10904
2002-11-06  Sergey Okhapkin  
10905
 
10906
        * include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.
10907
 
10908
2002-11-06  Kazuhiro Fujieda  
10909
 
10910
        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
10911
        * libc/include/wctype.h: Ditto.
10912
 
10913
2002-11-04  Jeff Johnston  
10914
 
10915
        * libc/include/wchar.h: Add extern "C" specifier if C++.
10916
        * libc/include/wctype.h: Ditto.
10917
 
10918
2002-10-18  Jeff Johnston  
10919
 
10920
        * testsuite/newlib.wctype/tiswctype.c: New test case.
10921
        * testsuite/newlib.wctype/twctrans.c: Ditto.
10922
 
10923
2002-10-18  Jeff Johnston  
10924
 
10925
        * libc/sys/linux/machine/i386/include/endian.h: New file.
10926
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
10927
 
10928
2002-10-18  Jeff Johnston  
10929
 
10930
        * libm/machine/i386/aclocal.m4: Regenerated.
10931
        * libm/machine/i386/configure: Ditto.
10932
 
10933
2002-10-18  Jeff Johnston  
10934
 
10935
        * testsuite/include/check.h: New header file to use with
10936
        test cases.
10937
        * testsuite/lib/newlib.exp: Add testsuite/include directory
10938
        to list of header files to use.
10939
        * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
10940
        * testsuite/newlib.wctype/wctype.exp: New file.
10941
 
10942
2002-10-11  Graham Stott  
10943
            Richard Sandiford  
10944
 
10945
        * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
10946
        * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
10947
        doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
10948
 
10949
2002-10-07      Joel Sherrill 
10950
 
10951
        * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
10952
        dummy programs.
10953
 
10954
2002-10-07      Joel Sherrill 
10955
 
10956
        * libc/include/pthread.h: Define PTHREAD_CANCELED.
10957
 
10958
2002-10-07      Joel Sherrill 
10959
 
10960
        * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
10961
        libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
10962
        compile with current GNU tools.
10963
 
10964
2002-10-07  Jeff Johnston  
10965
 
10966
        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
10967
        the build library.
10968
        * configure.in: Ditto.
10969
        * Makefile.in: Regenerated.
10970
        * configure: Ditto.
10971
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
10972
        for specifying configured libraries/directories.
10973
        * libc/sys/linux/configure.in: Ditto.
10974
        * libc/sys/linux/Makefile.in: Regenerated.
10975
        * libc/sys/linux/configure: Ditto.
10976
 
10977
2002-10-03  Jeff Johnston  
10978
 
10979
        * libc/include/reent.h: Update documentation at start of file.
10980
 
10981
2002-09-27  Jim Wilson  
10982
 
10983
        * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
10984
        the ctbp register.
10985
 
10986
2002-09-27  Jeff Johnston  
10987
 
10988
        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
10989
        Also convert to EUCJP before using arrays.  For values not in
10990
        the conversion arrays, return WEOF.
10991
        * libc/ctype/jp2uc.h: Change from one array to a number of
10992
        arrays to account for the fact that the originating table
10993
        is not contiguous for the input values since some are invalid.
10994
 
10995
2002-09-24  Jeff Johnston  
10996
 
10997
        * libc/time/ctime.c: Fix prototype documentation.
10998
 
10999
2002-09-24  Corinna Vinschen  
11000
 
11001
        * libc/include/sys/errno.h: Add EOVERFLOW.
11002
 
11003
2002-09-20  Jeff Johnston  
11004
 
11005
        * libc/include/wctype.h: New file.
11006
 
11007
2002-09-20  Jeff Johnston  
11008
 
11009
        * libc/ctype/Makefile.am: Add new files.
11010
        * libc/ctype/Makefile.in: Regenerated.
11011
        * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
11012
        and wctrans functions to documentation index.
11013
        * libc/ctype/iswalnum.c: New file.
11014
        * libc/ctype/iswalpha.c: Ditto.
11015
        * libc/ctype/iswblank.c: Ditto.
11016
        * libc/ctype/iswcntrl.c: Ditto.
11017
        * libc/ctype/iswctype.c: Ditto.
11018
        * libc/ctype/iswdigit.c: Ditto.
11019
        * libc/ctype/iswgraph.c: Ditto.
11020
        * libc/ctype/iswlower.c: Ditto.
11021
        * libc/ctype/iswprint.c: Ditto.
11022
        * libc/ctype/iswpunct.c: Ditto.
11023
        * libc/ctype/iswspace.c: Ditto.
11024
        * libc/ctype/iswupper.c: Ditto.
11025
        * libc/ctype/iswxdigit.c: Ditto.
11026
        * libc/ctype/jp2uc.c: Ditto.
11027
        * libc/ctype/jp2uc.h: Ditto.
11028
        * libc/ctype/local.h: Ditto.
11029
        * libc/ctype/towctrans.c: Ditto.
11030
        * libc/ctype/towlower.c: Ditto.
11031
        * libc/ctype/towupper.c: Ditto.
11032
        * libc/ctype/utf8alpha.h: Ditto.
11033
        * libc/ctype/utf8print.h: Ditto.
11034
        * libc/ctype/utf8punct.h: Ditto.
11035
        * libc/ctype/wctrans.c: Ditto.
11036
        * libc/ctype/wctype.c: Ditto.
11037
        * libc/locale/locale.c (__lc_ctype): New external array to
11038
        replace static lc_ctype array.
11039
        * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
11040
        rather than reentrancy structure's _current_locale field.
11041
        * libc/stdlib/wctomb_r.c: Ditto.
11042
 
11043
2002-09-20  Jeff Johnston  
11044
 
11045
        * configure.host: Minor comment and formatting changes.
11046
        * libc/Makefile.am: Add libc_la_DEPENDENCIES.
11047
        * libc/Makefile.in: Regenerated.
11048
        * libc/include/sys/config.h: Minor format change.
11049
 
11050
2002-09-19  Jeff Johnston  
11051
 
11052
        * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
11053
        statement comment.
11054
 
11055
2002-09-19  Jeff Johnston  
11056
 
11057
        * libc/posix/opendir.c (opendir): Change code to check
11058
        for HAVE_FCNTL before calling fcntl.
11059
        * libc/search/hash.c (hash_open): Ditto.
11060
        * libc/search/hash_page.c (open_tmp): Ditto.
11061
        * libc/reent/Makefile.am: Add fcntlr.c.
11062
        * libc/reent/Makefile.in: Regenerated.
11063
        * libc/reent/fcntlr.c: New file.
11064
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
11065
        instead of _fcntl when HAVE_FCNTL flag is set.
11066
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
11067
        to see if _fcntl or _fcntl_r should be called.  If flag is not
11068
        set, default to ENOSYS stub.
11069
 
11070
2002-09-16  Jeff Johnston  
11071
 
11072
        * libc/include/wchar.h (mbstate_t): Change protective flag to
11073
        be _MBSTATE_T.
11074
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
11075
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
11076
        for Cygwin.
11077
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
11078
 
11079
2002-09-11  Jeff Johnston  
11080
 
11081
        * acinclude.m4 (enable-newlib-mb): Change check to
11082
        default newlib_mb variable to empty string rather than "no".
11083
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
11084
        x86-linux and Cygwin.  Add code to check for newlib_mb
11085
        being unset in which case set to "yes" for x86-linux and
11086
        Cygwin.  Change check for newlib_mb being "yes" to allow
11087
        for an empty string.
11088
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
11089
        * newlib.hin (_MB_LEN_MAX): New define to configure.
11090
        * aclocal.m4: Regenerated.
11091
        * configure: Ditto.
11092
        * libc/include/limits.h: New file.
11093
        * libc/sys/linux/include/limits.h: Ditto.
11094
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
11095
          libc/configure libc/machine/aclocal.m4
11096
          libc/machine/configure libc/machine/a29k/aclocal.m4
11097
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11098
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11099
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11100
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11101
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
11102
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
11103
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11104
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11105
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11106
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
11107
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11108
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
11109
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
11110
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11111
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11112
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11113
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11114
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11115
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11116
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11117
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11118
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11119
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11120
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
11121
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
11122
          libc/machine/xscale/configure
11123
          libc/machine/xstormy16/aclocal.m4
11124
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
11125
          libc/machine/z8k/configure libc/sys/aclocal.m4
11126
          libc/sys/configure libc/sys/a29khif/aclocal.m4
11127
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
11128
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
11129
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11130
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
11131
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
11132
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
11133
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
11134
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
11135
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
11136
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
11137
          libc/sys/linux/configure
11138
          libc/sys/linux/machine/aclocal.m4
11139
          libc/sys/linux/machine/configure
11140
          libc/sys/linux/machine/i386/aclocal.m4
11141
          libc/sys/linux/machine/i386/configure
11142
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11143
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
11144
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11145
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11146
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11147
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11148
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11149
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11150
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11151
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11152
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11153
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11154
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11155
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11156
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11157
          libm/aclocal.m4 libm/configure: Regenerated.
11158
 
11159
2002-09-09  Jeff Johnston  
11160
 
11161
        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
11162
        code that clears the .bss section.
11163
 
11164
2002-09-09  Jeff Johnston  
11165
 
11166
        * libc/include/sys/_types.h (_mbstate_t): Changed to use
11167
        unsigned char internally.
11168
        * libc/sys/linux/sys/_types.h: Ditto.
11169
        * libc/include/sys/reent.h
11170
        * libc/stdlib/mblen.c (mblen): Use function-specific state
11171
        value from default reentrancy structure.
11172
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
11173
        _mbtowc_r is less than 0, reset state __count value and
11174
        return -1.
11175
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
11176
        is NULL, use the function-specific pointer provided in the
11177
        default reentrancy structure.
11178
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
11179
        If input state pointer is NULL, use function-specific area
11180
        provided in reentrancy structure.
11181
        * libc/stdlib/mbsrtowcs.c: Ditto.
11182
        * libc/stdlib/wcrtomb.c: Ditto.
11183
        * libc/stdlib/wcsrtombs.c: Ditto.
11184
        * libc/stdlib/mbstowcs.c: Reformat.
11185
        * libc/stdlib/wcstombs.c: Ditto.
11186
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
11187
        reset the state's __count value and return -1.
11188
        * libc/stdlib/mbtowc.c: Ditto.
11189
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
11190
        If number of bytes is used up before completing a valid multibyte
11191
        character, return -2 and save the state.
11192
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
11193
        and change some __count references to __state for clarity.
11194
 
11195
2002-09-06  Jeff Johnston  
11196
 
11197
        * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
11198
        is defined by .
11199
 
11200
2002-09-05  Kazuhiro Fujieda  
11201
 
11202
        * libc/include/wchar.h (WCHAR_MAX): Only define if not already
11203
        defined.
11204
 
11205
2002-09-04  Kazuhiro Fujieda  
11206
 
11207
        * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
11208
        * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
11209
        __WCHAR_MAX__ or 0x7fffffffu.
11210
        * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
11211
        * libc/string/wcsncmp.c: Ditto.
11212
 
11213
2002-09-03  Jeff Johnston  
11214
 
11215
        * libc/string/wcschr.c: Add include of .
11216
        * libc/string/wcspbrk.c: Ditto.
11217
        * libc/string/wcsrchr.c: Ditto.
11218
        * libc/string/wcsstr.c: Ditto.
11219
 
11220
2002-09-03  Jeff Johnston  
11221
 
11222
        * libc/include/sys/_types.h (_flock_t): Added.
11223
        * libc/include/sys/lock.h (__lock_try_acquire): New interface.
11224
        (__lock_try_acquire_recursive): Ditto.
11225
        * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
11226
        _lock field.
11227
        * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
11228
        field.
11229
        * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
11230
        * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
11231
        * libc/sys/linux/include/time.h (struct timespec): Moved from
11232
         and added check for __need_timespec flag so type
11233
        can be defined by itself.
11234
        * libc/sys/linux/sys/_types.h (_flock_t): New type.
11235
        * libc/sys/linux/sys/types.h (struct timespec): Moved to
11236
        .
11237
 
11238
2002-08-29  Thomas Fitzsimmons  
11239
 
11240
        * libc/sys/linux/argp: New directory.
11241
        * libc/sys/linux/getopt.c: New file.
11242
        * libc/sys/linux/getopt1.c: New file.
11243
        * libc/sys/linux/getoptlong.c: Remove file.
11244
        * libc/sys/linux/include/argp.h: New file.
11245
        * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
11246
        based on ELIX level.
11247
        (SUBDIRS): Add argp_dir.
11248
        (SUBLIBS): Add ARGP_LIB.
11249
        (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
11250
        getopt_long.$(oext).
11251
        * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
11252
 
11253
2002-08-29  Jeff Johnston  
11254
 
11255
        * libc/libc.texinfo: Add node reference to wide-character strings.
11256
        * libc/string/wcstrings.tex: New file.
11257
        * libc/string/strtok_r.c: Remove outdated advertising clause.
11258
        * libc/string/Makefile.am (doc): Add wide-character string
11259
        chapter to documentation.
11260
        * libc/string/Makefile.in: Regenerated.
11261
 
11262
2002-08-29  Kazuhiro Fujieda  
11263
 
11264
        * libc/include/wchar.h: Define NULL. Define WEOF more general
11265
        way. Declare functions in newlib manner.
11266
        * libc/stdlib/Makefile.am: Delete wmem*.c
11267
        * libc/stdlib/Makefile.in: Regenerated.
11268
        * libc/stdlib/wmemchr.c: Delete.
11269
        * libc/stdlib/wmemcmp.c: Ditto.
11270
        * libc/stdlib/wmemcpy.c: Ditto.
11271
        * libc/stdlib/wmemmove.c: Ditto.
11272
        * libc/stdlib/wmemset.c: Ditto.
11273
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
11274
        * libc/string/Makefile.in: Regenerated.
11275
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
11276
        * libc/string/wcschr.c: Ditto.
11277
        * libc/string/wcscmp.c: Ditto.
11278
        * libc/string/wcscpy.c: Ditto.
11279
        * libc/string/wcscspn.c: Ditto.
11280
        * libc/string/wcslcat.c: Ditto.
11281
        * libc/string/wcslcpy.c: Ditto.
11282
        * libc/string/wcslen.c: Ditto.
11283
        * libc/string/wcsncat.c: Ditto.
11284
        * libc/string/wcsncmp.c: Ditto.
11285
        * libc/string/wcsncpy.c: Ditto.
11286
        * libc/string/wcspbrk.c: Ditto.
11287
        * libc/string/wcsrchr.c: Ditto.
11288
        * libc/string/wcsspn.c: Ditto.
11289
        * libc/string/wcsstr.c: Ditto.
11290
        * libc/string/wmemchr.c: Ditto.
11291
        * libc/string/wmemcmp.c: Ditto.
11292
        * libc/string/wmemcpy.c: Ditto.
11293
        * libc/string/wmemmove.c: Ditto.
11294
        * libc/string/wmemset.c: Ditto.
11295
 
11296
2002-08-29  Jeff Johnston  
11297
 
11298
        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
11299
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
11300
        and is treated as if "C" was specified.
11301
 
11302
2002-08-28  Jeff Johnston  
11303
 
11304
        * Makefile.am (install-data-local): Move install of build
11305
        newlib.h after installing headers in libc/include so as to
11306
        overwrite default newlib.h.
11307
        * Makefile.in: Regenerated.
11308
 
11309
2002-08-28  Jeff Johnston  
11310
 
11311
        * libc/include/newlib.h: New file for tools that use newlib
11312
        headers but don't build newlib first (e.g. gcc).
11313
 
11314
2002-08-28  Jeff Johnston  
11315
 
11316
        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
11317
        * libc/stdlib/wmemcmp.c: Ditto.
11318
        * libc/stdlib/wmemcpy.c: Ditto.
11319
        * libc/stdlib/wmemmove.c: Ditto.
11320
        * libc/stdlib/wmemset.c: Ditto.
11321
 
11322
2002-08-27  Egor Duda  
11323
 
11324
        * libc/stdlib/wmemchr.c: New file.
11325
        * libc/stdlib/wmemcmp.c: Ditto.
11326
        * libc/stdlib/wmemcpy.c: Ditto.
11327
        * libc/stdlib/wmemmove.c: Ditto.
11328
        * libc/stdlib/wmemset.c: Ditto.
11329
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
11330
        * configure.host: Default -DMB_CAPABLE for cygwin.
11331
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
11332
        wmemmove() and wmemset().  Add include of <_ansi.h>.
11333
        * libc/stdlib/Makefile.in: Regenerate.
11334
 
11335
2002-08-27  Jeff Johnston  
11336
 
11337
        * configure.host: Remove _ELIX_LEVEL flag setting.
11338
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
11339
        (install-data-local): Install newlib.h.
11340
        * Makefile.in: Regenerated.
11341
        * aclocal.m4: Ditto.
11342
        * configure: Ditto.
11343
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
11344
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
11345
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
11346
        In AC_OUTPUT statement, unset ac_file so multilib support does
11347
        not use last ac_file temporary used in newlib.h configuration.
11348
        * libc/include/_ansi.h: Include .
11349
        * newlib.hin: New template file for newlib.h.
11350
        * stamp-h.in: New file.
11351
 
11352
2002-08-26  Wu Yongwei 
11353
 
11354
        * time.h (timezonevar): Change "#if" to "#ifdef".
11355
 
11356
2002-08-26  Jeff Johnston  
11357
 
11358
        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
11359
        * Makefile.in: Regenerated.
11360
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
11361
        * aclocal.m4: Regenerated.
11362
        * configure: Ditto.
11363
        * configure.host: Add code to define _ELIX_LEVEL if
11364
        --enable-newlib-elix-level option is used.
11365
        * configure.in:
11366
        * libc/aclocal.m4: Regenerated.
11367
        * libc/configure: Ditto.
11368
        * libc/argz/Makefile.am: Add EL/IX level checking.
11369
        * libc/argz/Makefile.in: Regenerated.
11370
        * libc/argz/dummy.c: New file.
11371
        * libc/ctype/Makefile.am: Add EL/IX level checking.
11372
        * libc/ctype/Makefile.in: Regenerated.
11373
        * libc/locale/Makefile.am: Add EL/IX level checking.
11374
        * libc/locale/Makefile.in: Regenerated.
11375
        * libc/posix/Makefile.am: Add EL/IX level checking.
11376
        * libc/posix/Makefile.in: Regenerated.
11377
        * libc/posix/telldir.c: Add EL/IX level checking.
11378
        * libc/reent/Makefile.am: Ditto.
11379
        * libc/reent/fstat64r.c: Ditto.
11380
        * libc/reent/lseek64r.c: Ditto.
11381
        * libc/reent/open64r.c: Ditto.
11382
        * libc/reent/Makefile.in: Regenerated.
11383
        * libc/search/Makefile.am: Add EL/IX level checking.
11384
        * libc/search/Makefile.in: Regenerated.
11385
        * libc/stdio/Makefile.am: Add EL/IX level checking.
11386
        * libc/stdio/Makefile.in: Regenerated.
11387
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
11388
        * libc/stdio64/Makefile.in: Regenerated.
11389
        * libc/stdio64/dummy.c: New file.
11390
        * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
11391
        after first include.
11392
        * libc/stdio64/fopen64.c: Ditto.
11393
        * libc/stdio64/freopen64.c: Ditto.
11394
        * libc/stdio64/fseeko64.c: Ditto.
11395
        * libc/stdio64/fsetpos64.c: Ditto.
11396
        * libc/stdio64/ftello64.c: Ditto.
11397
        * libc/stdio64/tmpfile64.c: Ditto.
11398
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
11399
        * libc/stdlib/Makefile.in: Regenerated.
11400
        * libc/stdlib/mstats.c: Add EL/IX level checking.
11401
        * libc/string/Makefile.am: Ditto.
11402
        * libc/string/Makefile.in: Regenerated.
11403
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
11404
        * libc/sys/linux/Makefile.in: Regenerated.
11405
        * libc/sys/linux/aclocal.m4: Ditto.
11406
        * libc/sys/linux/configure: Ditto.
11407
        * libc/sys/linux/aio.c: Add EL/IX level checking.
11408
        * libc/sys/linux/ftok.c: Ditto.
11409
        * libc/sys/linux/getdate.c: Ditto.
11410
        * libc/sys/linux/ids.c: Ditto.
11411
        * libc/sys/linux/inode.c: Ditto.
11412
        * libc/sys/linux/io.c: Ditto.
11413
        * libc/sys/linux/process.c: Ditto.
11414
        * libc/sys/linux/resource.c: Ditto.
11415
        * libc/sys/linux/sched.c: Ditto.
11416
        * libc/sys/linux/sig.c: Ditto.
11417
        * libc/sys/linux/termios.c: Ditto.
11418
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
11419
        __libc___waitpid weak aliases.
11420
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
11421
        that generate the code for a syscall, but do not create a
11422
        weak alias.
11423
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
11424
        * libc/syscalls/Makefile.in: Regenerated.
11425
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
11426
        functionality.
11427
        * libc/unix/Makefile.am: Add EL/IX level checking.
11428
        * libc/unix/Makefile.in: Regenerated.
11429
 
11430
2002-08-26  Christopher Faylor  
11431
 
11432
        * libc/include/malloc.h: On cygwin, define malloc _r functions as
11433
        wrapper macros to standard malloc functions.
11434
        * libc/include/stdlib.h: Ditto.
11435
        * configure.host: Always define MALLOC_PROVIDED on cygwin.
11436
 
11437
2002-08-22  Thomas Fitzsimmons  
11438
 
11439
        * libc/include/langinfo.h: New file.
11440
        * libc/include/wchar.h: Likewise.
11441
        * libc/include/sys/syslimits.h: Likewise.
11442
        * libc/locale/fix_grouping.c: Likewise.
11443
        * libc/locale/ldpart.c: Likewise.
11444
        * libc/locale/ldpart.h: Likewise.
11445
        * libc/locale/lmessages.c: Likewise.
11446
        * libc/locale/lmessages.h: Likewise.
11447
        * libc/locale/lmonetary.c: Likewise.
11448
        * libc/locale/lmonetary.h: Likewise.
11449
        * libc/locale/lnumeric.c: Likewise.
11450
        * libc/locale/lnumeric.h: Likewise.
11451
        * libc/locale/nl_langinfo.3: Likewise.
11452
        * libc/locale/nl_langinfo.c: Likewise.
11453
        * libc/locale/timelocal.c: Likewise.
11454
        * libc/locale/timelocal.h: Likewise.
11455
        * libc/stdlib/btowc.c: Likewise.
11456
        * libc/stdlib/mbrlen.c: Likewise.
11457
        * libc/stdlib/mbrtowc.c: Likewise.
11458
        * libc/stdlib/mbsinit.c: Likewise.
11459
        * libc/stdlib/mbsrtowcs.c: Likewise.
11460
        * libc/stdlib/wcrtomb.c: Likewise.
11461
        * libc/stdlib/wcsrtombs.c: Likewise.
11462
        * libc/stdlib/wctob.c: Likewise.
11463
        * libc/sys/linux/prof-freq.c: Likewise.
11464
        * libc/sys/linux/profile.c: Likewise.
11465
        * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
11466
        * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
11467
        * libc/include/stdlib.h: Change re-entrant functions to take
11468
        mbstate_t pointers.
11469
        * libc/include/sys/_types.h: Define _mbstate_t.
11470
        * libc/include/sys/config.h (MB_LEN_MAX): New macro.
11471
        * libc/include/sys/errno.h (EILSEQ): New error code.
11472
        * libc/include/sys/reent.h: Include wchar.h.  Change reentrant
11473
        structure to use mbstate_t.
11474
        * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
11475
        * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
11476
        * libc/machine/powerpc/vfscanf.c: Likewise.
11477
        * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
11478
        * libc/stdio/vfprintf.c: Likewise.
11479
        * libc/stdio/vfscanf.c: Likewise.
11480
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
11481
        * libc/stdlib/mblen.c: Use mbstate_t.
11482
        * libc/stdlib/mblen_r.c: Likewise.
11483
        * libc/stdlib/mbstowcs.c: Likewise.
11484
        * libc/stdlib/mbstowcs_r.c: Likewise.
11485
        * libc/stdlib/mbtowc.c: Likewise.
11486
        * libc/stdlib/mbtowc_r.c: Likewise.
11487
        * libc/stdlib/wcstombs.c: Likewise.
11488
        * libc/stdlib/wcstombs_r.c: Likewise.
11489
        * libc/stdlib/wctomb_r.c: Likewise.
11490
        * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
11491
        profile.c.
11492
        * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
11493
        dl-procinfo.c.
11494
        * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
11495
        * libc/sys/linux/sys/types.h (off_t): Define type.
11496
        * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
11497
        to C-UTF-8.
11498
        * testsuite/newlib.locale/UTF-8.exp: Likewise.
11499
 
11500
2002-08-20  Casper S. Hornstrup  
11501
 
11502
        * libc/stdlib/mallocr.c: #include windows.h on Win32.
11503
          (AlignPage): Continue macro on next line.
11504
 
11505
2002-08-19  Jeff Johnston  
11506
 
11507
        * libc/sys/linux/include/pthread.h: New file.
11508
 
11509
2002-08-19  Jeff Johnston  
11510
 
11511
        * libc/include/sys/types.h: Support __need_inttypes macro
11512
        that only sets the __intxx and __uintxx types.
11513
        * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
11514
        to get mprec.h.
11515
        * libc/machine/powerpc/Makefile.in: Regenerated.
11516
        * libc/machine/powerpc/vfprintf.c: Fix state variable type.
11517
        * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
11518
        redundant fixed-point conversion prototypes.
11519
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include 
11520
        after setting __need_inttypes.
11521
 
11522
2002-08-18  Christopher Faylor  
11523
 
11524
        * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
11525
 
11526
2002-08-17  Jeff Johnston  
11527
 
11528
        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
11529
        _LONG_DOUBLE to double.
11530
 
11531
2002-08-17  Jeff Johnston  
11532
 
11533
        * configure.host: Add powerpc*-*-eabispe* configuration.
11534
        * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
11535
        * libc/machine/powerpc/atosfix32.c: Ditto.
11536
        * libc/machine/powerpc/atosfix64.c: Ditto.
11537
        * libc/machine/powerpc/atoufix16.c: Ditto.
11538
        * libc/machine/powerpc/atoufix32.c: Ditto.
11539
        * libc/machine/powerpc/atoufix64.c: Ditto.
11540
        * libc/machine/powerpc/fix64.h: Ditto.
11541
        * libc/machine/powerpc/simdldtoa.c: Ditto.
11542
        * libc/machine/powerpc/strtosfix16.c: Ditto.
11543
        * libc/machine/powerpc/strtosfix32.c: Ditto.
11544
        * libc/machine/powerpc/strtosfix64.c: Ditto.
11545
        * libc/machine/powerpc/strtoufix16.c: Ditto.
11546
        * libc/machine/powerpc/strtoufix32.c: Ditto.
11547
        * libc/machine/powerpc/strtoufix64.c: Ditto.
11548
        * libc/machine/powerpc/ufix64toa.c: Ditto.
11549
        * libc/machine/powerpc/configure.in: Add check for
11550
        powerpc*-eabispe and add fixed-point conversion functions.
11551
        * libc/machine/powerpc/configure: Regenerated.
11552
        * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
11553
        %r and %R format specifiers which handle fixed-point data.
11554
        * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
11555
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
11556
        function prototypes.
11557
 
11558
2002-08-17  Jeff Johnston  
11559
 
11560
        *  Makefile.am: Move cmath stuff into libc/sys/linux.
11561
        *  Makefile.in: Regenerated.
11562
        *  configure.host: Default -DMB_CAPABLE for x86-linux.
11563
        *  libc/include/reent.h: Define _sbrk to take signed int argument.
11564
        *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
11565
        *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
11566
        make locale name checking more efficient.  Also allow "C-ISO-8859-1"
11567
        locale for LC_CTYPE and LC_MESSAGES.
11568
        *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
11569
        *  libc/sys/linux/brk.c: Change sbrk prototype.
11570
        *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
11571
        include .
11572
        (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
11573
        (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
11574
        *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
11575
        with a few local additions.
11576
        *  libc/sys/linux/sys/features.h: New file.
11577
        *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
11578
        to take signed argument.
11579
        *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
11580
        prototypes to take signed size argument.
11581
 
11582
2002-08-16  Thomas Fitzsimmons  
11583
 
11584
        * libc/sys/linux/cmath: New directory.
11585
        * libc/sys/linux/include/cmathcalls.h: New file.
11586
        * libc/sys/linux/include/complex.h: New file.
11587
        * libc/sys/linux/machine/i386/huge_val.h: New file
11588
        * libm/math/w_sincos.c: New file
11589
        * libm/math/wf_sincos.c: New file
11590
        * libm/mathfp/s_sincos.c: New file
11591
        * libm/mathfp/sf_sincos.c: New file
11592
        * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
11593
        * libc/include/math.h: Add sincos and sincosf declarations.
11594
        * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
11595
        (SUBLIBS): Likewise.
11596
        * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
11597
        * libm/math/Makefile.am (src): Add w_sincos.c.
11598
        (fsrc): Add wf_sincos.c.
11599
        * libm/mathfp/Makefile.am (src): Add s_sincos.c
11600
        (fsrc): Add sf_sincos.c.
11601
 
11602
2002-08-12  Jeff Johnston  
11603
 
11604
        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
11605
        Declare as extern chars and use the address operator to
11606
        properly use values set in linker script.
11607
 
11608
2002-08-09  Jason Tishler  
11609
 
11610
        * libc/stdlib/mallocr.c: Include .
11611
        (request2size): Change macro to do
11612
        unsigned long comparisons and avoid signed overflow.
11613
        (mALLOc): Add overflow check for the number of bytes to allocate.
11614
        (rEALLOc): Ditto.
11615
 
11616
2002-08-09  Jeff Johnston  
11617
 
11618
        * configure.host: Add check for --enable-newlib-io-pos-args
11619
        and define WANT_IO_POS_ARGS flag if enabled.  Define
11620
        the flag by default for x86-linux configurations.
11621
        * configure.in: Add support for --enable-newlib-io-pos-args.
11622
        * libc/configure.in: Ditto.
11623
        * configure: Regenerated.
11624
        * libc/configure: Ditto.
11625
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
11626
        vfprintf.c and vfiprintf.c.
11627
        * libc/stdio/Makefile.in: Regenerated.
11628
        * libc/stdio/vfprintf.c: Add positional argument support that
11629
        is enabled by compiling with -DWANT_IO_POS_ARGS.
11630
 
11631
2002-08-07  Richard Sandiford  
11632
 
11633
        * libc/include/machine/setjmp.h: For mips, define _JBLEN based
11634
        based on __mips_soft_float rather than __mips64.
11635
        * libc/machine/mips/setjmp.S: Provide hard and soft float versions
11636
        of both 32-bit and 64-bit code.
11637
 
11638
2002-08-04  Christopher Faylor  
11639
 
11640
        * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
11641
        arguments for popen to match similar functionality in fopen.
11642
 
11643
2002-07-29  Pierre Humblet  
11644
 
11645
        * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
11646
 
11647
2002-07-29  Jeff Johnston  
11648
 
11649
        * libc/sys/linux/Makefile.am: Add aio64.c.
11650
        * libc/sys/linux/Makefile.in: Regenerated.
11651
        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
11652
        * libc/sys/linux/aio64.c: New file.
11653
 
11654
2002-07-26  Jeff Johnston  
11655
 
11656
        *  libc/include/sys/param.h (MAX, MIN): Added macros.
11657
        *  libc/sys/linux/Makefile.am: Add new files.
11658
        *  libc/sys/linux/Makefile.in: Regenerated.
11659
        *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
11660
        *  libc/sys/linux/inode.c (fchdir): Added syscall.
11661
        *  libc/sys/linux/ftw.c: New file.
11662
        *  libc/sys/linux/ftw64.c: Ditto.
11663
        *  libc/sys/linux/getwd.c: Ditto.
11664
        *  libc/sys/linux/scandir64.c: Ditto.
11665
        *  libc/sys/linux/strverscmp.c: Ditto.
11666
        *  libc/sys/linux/versionsort.c: Ditto.
11667
        *  libc/sys/linux/versionsort64.c: Ditto.
11668
 
11669
2002-07-26  Jeff Johnston  
11670
 
11671
        * libc/string/strings.tex: Fix typo for memccpy.
11672
 
11673
2002-07-25  Jeff Johnston  
11674
 
11675
        * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
11676
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
11677
 
11678
2002-07-25  Jeff Johnston  
11679
 
11680
        * libc/sys/linux/Makefile.am: Add fclean.c.
11681
        * libc/sys/linux/Makefile.in: Regenerated.
11682
        * libc/sys/linux/fclean.c: New file.
11683
 
11684
2002-07-25  Jeff Johnston  
11685
 
11686
        * libc/sys/linux/Makefile.am: Add confstr.c.
11687
        * libc/sys/linux/Makefile.in: Regenerated.
11688
        * libc/sys/linux/confstr.c: New file.
11689
        * libc/sys/linux/confstr.h: Ditto.
11690
        * libc/sys/linux/sys/unistd.h: Include  and
11691
        .
11692
 
11693
2002-07-25  Jeff Johnston  
11694
 
11695
        * libc/sys/linux/config.h (__set_errno): Macro definition removed.
11696
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
11697
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
11698
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
11699
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
11700
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
11701
 
11702
2002-07-24  Jeff Johnston  
11703
 
11704
        * libc/sys/linux/Makefile.am: Add new files.
11705
        * libc/sys/linux/Makefile.in: Regenerated.
11706
        * libc/sys/linux/fstab.c: New file.
11707
        * libc/sys/linux/fstatvfs.c: Ditto.
11708
        * libc/sys/linux/fstatvfs64.c: Ditto.
11709
        * libc/sys/linux/internal_statvfs.c: Ditto.
11710
        * libc/sys/linux/mntent.c: Ditto.
11711
        * libc/sys/linux/mntent_r.c: Ditto.
11712
        * libc/sys/linux/statvfs.c: Ditto.
11713
        * libc/sys/linux/statvfs64.c: Ditto.
11714
        * libc/sys/linux/include/paths.h: Ditto.
11715
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
11716
        with double-underscore weak-aliases.
11717
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
11718
 
11719
2002-07-24  Jeff Johnston  
11720
 
11721
        * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
11722
        to use _sig_func_ptr type casted constants.
11723
        (_sig_func_ptr): Typedef moved to sys/signal.h.
11724
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
11725
        For __rtems, use POSIX definition, otherwise default to ANSI.
11726
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
11727
 
11728
2002-07-24  Stephane Carrez  
11729
 
11730
        * configure.host: Recognize m6811-elf and m6812-elf targets.
11731
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
11732
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
11733
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
11734
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
11735
        according to __INT_MAX__.
11736
        (_POINTER_INT): Define to short.
11737
        * libc/machine/m68hc11/Makefile.am: New file.
11738
        * libc/machine/m68hc11/Makefile.in: New file.
11739
        * libc/machine/m68hc11/configure.in: New file.
11740
        * libc/machine/m68hc11/configure: New file.
11741
        * libc/machine/m68hc11/aclocal.m4: New file.
11742
        * libc/machine/m68hc11/setjmp.S: New file.
11743
 
11744
2002-07-23  Jeff Johnston  
11745
 
11746
        * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
11747
        prototypes.
11748
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
11749
        * libc/stdlib/Makefile.in: Regenerated.
11750
        * libc/stdlib/strdup.c: Removed.
11751
        * libc/stdlib/strdup_r.c: Removed.
11752
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
11753
        mempcpy.c, strndup.c, and strndup_r.c.
11754
        * libc/string/Makefile.in: Regenerated.
11755
        * libc/string/memccpy.c: New file.
11756
        * libc/string/mempcpy.c: Ditto.
11757
        * libc/string/strndup.c: Ditto.
11758
        * libc/string/strndup_r.c: Ditto.
11759
        * libc/string/strdup.c: New file moved from stdlib.
11760
        * libc/string/strdup_r.c: Ditto.
11761
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
11762
 
11763
2002-07-23  Jeff Johnston  
11764
 
11765
        * libc/include/stdio.h: Move fcloseall prototype within
11766
        #ifndef _REENT_ONLY section.
11767
        * libc/sys/linux/Makefile.am: Add new files.
11768
        * libc/sys/linux/Makefile.in: Regenerated.
11769
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
11770
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
11771
        * libc/sys/linux/sys/types.h: Add ino64_t type.
11772
        * libc/sys/linux/ctermid.c: New file.
11773
        * libc/sys/linux/ttyname_r.c: Ditto.
11774
        * libc/sys/linux/readdir64.c: Ditto.
11775
 
11776
2002-07-22  Jeff Johnston  
11777
 
11778
        * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
11779
        * libc/stdio/Makefile.am: Added fcloseall.c support.
11780
        * libc/stdio/Makefile.in: Regenerated.
11781
        * libc/stdio/fcloseall.c: New file.
11782
        * libc/stdio64/Makefile.am: Remove missing .def references.
11783
        * libc/stdio64/Makefile.in: Regenerated.
11784
 
11785
2002-07-22  Jeff Johnston  
11786
 
11787
        * libc/machine/powerpc/time.c: Removed..renamed to times.c.
11788
        * libc/machine/powerpc/times.c: New file.
11789
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
11790
        * libc/machine/powerpc/Makefile.in: Regenerated.
11791
 
11792
2002-07-22  Aldy Hernandez  
11793
 
11794
        * libc/machine/powerpc/time.c: New file.
11795
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
11796
        time.c.
11797
        * libc/machine/powerpc/Makefile.in: Regenerated.
11798
 
11799
2002-07-22  Thomas Fitzsimmons  
11800
 
11801
        * libc/libc.texinfo: Change copyright notices to Red Hat from
11802
        Cygnus.
11803
        * libm/libm.texinfo: Likewise.
11804
        * README: Change docs URL to
11805
        http://sources.redhat.com/newlib/docs.html.
11806
 
11807
2002-07-19  Jeff Johnston  
11808
 
11809
        * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
11810
        * libc/sys/linux/Makefile.in: Regenerated.
11811
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
11812
        * libc/sys/linux/io.c: Add ftruncate syscall.
11813
        * libc/sys/linux/fpathconf.c: New file.
11814
        * libc/sys/linux/pathconf.c: Ditto.
11815
        * libc/sys/linux/linux_fsinfo.h: Ditto.
11816
        * libc/sys/linux/sys/unistd.h: Ditto.
11817
 
11818
2002-07-19  Jeff Johnston  
11819
 
11820
        * libc/stdio64/Makefile.am: Remove missing files.
11821
        * libc/stdio64/Makefile.in: Regenerated.
11822
 
11823
2002-07-19  Jeff Johnston  
11824
 
11825
        * libc/include/sys/config.h[__i386__][__linux__]: Define
11826
        _LARGE64FILE_SOURCE to 1.
11827
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
11828
        * libc/sys/linux/Makefile.in: Regenerated.
11829
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
11830
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
11831
        * libc/sys/linux/sys/resource.h: Include  instead
11832
        of .
11833
        * libc/sys/linux/getrlimit64.c: New file.
11834
        * libc/sys/linux/setrlimit64.c: Ditto.
11835
 
11836
2002-07-19  Thomas Fitzsimmons  
11837
 
11838
        * libc/argz/argz_replace.c: Include buf_findstr.h.
11839
        * libc/argz/buf_findstr.c: Likewise.
11840
        * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
11841
        value to (char *).
11842
        * libc/argz/envz_get.c: Likewise.
11843
        * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
11844
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
11845
        * libc/stdlib/getsubopt.3: New file.
11846
        * libc/stdlib/getsubopt.c: New file.
11847
        * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
11848
        Change esp to ebp.
11849
 
11850
2002-07-17  Jeff Johnston  
11851
 
11852
        * configure.host(stdio64_dir): New setting that is used to
11853
        enable building of new stdio64 directory.
11854
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
11855
        large files.
11856
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
11857
        stdio64 info to info files.
11858
        * libc/Makefile.in: Regenerated.
11859
        * libc/configure: Ditto.
11860
        * libc/configure.in: Add configuration variables that are set
11861
        when stdio64 is selected as subdir in configure.host.
11862
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
11863
        on whether STDIO64 flag is set or not.
11864
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
11865
        STDIO64 flag is set or not.
11866
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
11867
        _r sycall routines.
11868
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
11869
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
11870
        (__SL64): New file flag indicating file is opened via fopen64.
11871
        * libc/include/sys/_types.h(_off64_t): Added.
11872
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
11873
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
11874
        for 64-bit offset large file support.
11875
        (__FILE): New intermediate type either set to struct __sFILE64 or
11876
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
11877
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
11878
        * libc/reent/Makefile.in: Regenerated.
11879
        * libc/reent/fstat64r.c: New file.
11880
        * libc/reent/lseek64r.c: Ditto.
11881
        * libc/reent/open64r.c: Ditto.
11882
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
11883
        based on whether STDIO64 flag is set.
11884
        * libc/stdio/stdio.tex: Add blank line.
11885
        * libc/stdio64/Makefile.am: New file.
11886
        * libc/stdio64/Makefile.in: Ditto.
11887
        * libc/stdio64/fgetpos64.c: Ditto.
11888
        * libc/stdio64/fopen64.: Ditto.
11889
        * libc/stdio64/freopen64.c: Ditto.
11890
        * libc/stdio64/fseeko64.c: Ditto.
11891
        * libc/stdio64/fsetpos64.c: Ditto.
11892
        * libc/stdio64/ftello64.c: Ditto.
11893
        * libc/stdio64/local64.h: Ditto.
11894
        * libc/stdio64/stdio64.c: Ditto.
11895
        * libc/stdio64/stdio64.tex: Ditto.
11896
        * libc/stdio64/tmpfile64.c: Ditto.
11897
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
11898
        open64.
11899
 
11900
2002-07-16  Jeff Johnston  
11901
 
11902
        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
11903
        if LIBC_EXTRA_LIB is present.
11904
        * libc/Makefile.in: Regenerated.
11905
        * libc/libc.texinfo: Add blank line.
11906
        * libc/argz/Makefile.am: Add doc support.
11907
        * libc/search/Makefile.am: Ditto.
11908
        * libc/argz/Makefile.in: Regenerated.
11909
        * libc/search/Makefile.in: Ditto.
11910
        * libc/misc/misc.tex: Add ffs function.
11911
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.
11912
 
11913
2002-07-15  Jeff Johnston  
11914
 
11915
        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
11916
        definition that was removed in error.
11917
 
11918
2002-07-15  Jeff Johnston  
11919
 
11920
        * libc/include/machine/ieeefp.h: Change to only define
11921
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
11922
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
11923
        * libc/include/sys/config.h: Include  and
11924
        remove redundant floating point definitions.
11925
 
11926
2002-07-15  Jeff Johnston  
11927
 
11928
        * libc/sys/linux/callocr.c: Fix so code references
11929
        calloc.
11930
 
11931
2002-07-15  Jeff Johnston  
11932
 
11933
        * libc/sys/linux/Makefile.am: Add new files.
11934
        * libc/sys/linux/Makefile.in: Regenerated.
11935
        * libc/sys/linux/bp-sym.h: Moved to include directory.
11936
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
11937
        * libc/sys/linux/inode.c: Set _LIBC to 1.
11938
        * libc/sys/linux/mq_close.c: Ditto.
11939
        * libc/sys/linux/mq_getattr.c: Ditto.
11940
        * libc/sys/linux/mq_open.c: Ditto.
11941
        * libc/sys/linux/mq_receive.c: Ditto.
11942
        * libc/sys/linux/mq_send.c: Ditto.
11943
        * libc/sys/linux/mq_setattr.c: Ditto.
11944
        * libc/sys/linux/mq_unlink.c: Ditto.
11945
        * libc/sys/linux/calloc.c: New file.
11946
        * libc/sys/linux/callocr.c: Ditto.
11947
        * libc/sys/linux/cfreer.c: Ditto.
11948
        * libc/sys/linux/config.h: Ditto.
11949
        * libc/sys/linux/free.c: Ditto.
11950
        * libc/sys/linux/freer.c: Ditto.
11951
        * libc/sys/linux/msize.c: Ditto.
11952
        * libc/sys/linux/msizer.c: Ditto.
11953
        * libc/sys/linux/mstats.c: Ditto.
11954
        * libc/sys/linux/mtrim.c: Ditto.
11955
        * libc/sys/linux/mtrimr.c: Ditto.
11956
        * libc/sys/linux/pvallocr.c: Ditto.
11957
        * libc/sys/linux/realloc.c: Ditto.
11958
        * libc/sys/linux/reallocr.c: Ditto.
11959
        * libc/sys/linux/thread-m.h: Ditto.
11960
        * libc/sys/linux/vallocr.c: Ditto.
11961
        * libc/sys/linux/bp-checks.h: Ditto.
11962
        * libc/sys/linux/libc-symbols.h: Ditto.
11963
        * libc/sys/linux/libc-tsd.h: Ditto.
11964
        * libc/sys/linux/libintl.h: Ditto.
11965
        * libc/sys/linux/malign.c: Ditto.
11966
        * libc/sys/linux/malignr.c: Ditto.
11967
        * libc/sys/linux/mallinfor.c: Ditto.
11968
        * libc/sys/linux/malloc.c: Ditto.
11969
        * libc/sys/linux/mallocr.c: Ditto.
11970
        * libc/sys/linux/malloptr.c: Ditto.
11971
        * libc/sys/linux/mallstatsr.c: Ditto.
11972
        * libc/sys/linux/mcheck.c: Ditto.
11973
        * libc/sys/linux/mhooks.h: Ditto.
11974
        * libc/sys/linux/include/bp-sym.h: Ditto.
11975
        * libc/sys/linux/include/malloc.h: Ditto.
11976
        * libc/sys/linux/include/mcheck.h: Ditto.
11977
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
11978
        getpagesize.c.
11979
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
11980
        * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
11981
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
11982
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
11983
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
11984
        * libc/sys/linux/machine/i386/sysdep.h: New file.
11985
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
11986
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
11987
        * libc/sys/linux/sys/lock.h: Include .
11988
 
11989
2002-07-12  Jeff Johnston  
11990
 
11991
        * libc/sys/linux/include/mqueue.h: Change to use 
11992
        instead of .
11993
        * libc/sys/linux/sys/signal.h: Change to include various linux
11994
         header files, rather than  so as
11995
        to work with multiple releases of glibc header files.
11996
 
11997
2002-07-11  Chris Demetriou  
11998
 
11999
        * testsuite/newlib.search/hsearchtest.c: New file to test
12000
        newlib/libc/search.
12001
        * testsuite/newlib.search/hsearchtest.exp: Likewise.
12002
 
12003
2002-07-10  Florian Schrack  
12004
 
12005
        * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
12006
        a terminal.
12007
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
12008
 
12009
2002-07-08  Jeff Johnston  
12010
 
12011
        * libc/include/math.h (MAXFLOAT): Added.
12012
 
12013
Mon Jul  8 13:55:23 2002  J"orn Rennecke 
12014
 
12015
        * libc/machine/sh/Makefile.am (lib_a_SOURCES):
12016
        Make strcmp.S unconditional.
12017
        * libc/machine/sh/Makefile.in: Regenerate.
12018
        * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
12019
        * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
12020
        for SHcompact.
12021
 
12022
2002-07-04  Jeff Johnston  
12023
 
12024
        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
12025
        define before including .
12026
 
12027
2002-07-04  Jeff Johnston  
12028
 
12029
        * libc/include/utime.h: Add include of <_ansi.h>.
12030
        * libc/sys/linux/Makefile.am: Add utimes.c.
12031
        * libc/sys/linux/Makefile.in: Regenerated.
12032
        * libc/sys/linux/inode.c(__umask): New static routine.
12033
        (umask): Written to use __umask and attempt to thread lock.
12034
        (getumask): New function written to use __umask and thread lock.
12035
        * libc/sys/linux/utimes.c: New file.
12036
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
12037
        * libc/sys/linux/sys/utime.h: New file.
12038
 
12039
2002-07-04  Thomas Fitzsimmons  
12040
 
12041
        * libtool.m4: New file.
12042
        * libc/sys/linux/process.c: Implement vfork in terms of fork,
12043
        rather than as a syscall.
12044
 
12045
2002-07-04  Jeff Johnston  
12046
 
12047
        * libc/include/stdio.h: Add new prototypes.
12048
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
12049
        * libc/stdio/Makefile.in: Regenerated.
12050
        * libc/stdio/fseek.c: Add fseeko documentation.
12051
        * libc/stdio/ftell.c: Add ftello documentation.
12052
        * libc/stdio/fseeko.c: New file.
12053
        * libc/stdio/ftello.c: New file.
12054
 
12055
2002-07-04  Jeff Johnston  
12056
 
12057
        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
12058
        * libc/stdio/Makefile.in: Regenerated.
12059
        * libc/stdio/asprintf.c: New file.
12060
        * libc/stdio/vasprintf.c: Ditto.
12061
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
12062
        the buffer for asprintf support.
12063
        * libc/stdio/sprintf.c: Add asprintf documentation.
12064
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
12065
        * libc/include/stdio.h: Add new prototypes.
12066
 
12067
2002-07-02  Thomas Fitzsimmons  
12068
 
12069
        * libc/search/hcreate.c: Remove advertising clause from license.
12070
        * libc/search/hcreate_r.c: Likewise.
12071
 
12072
2002-07-02  Chris Demetriou  
12073
 
12074
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
12075
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
12076
        Check that one of them is defined and error out if not.
12077
        Add any platforms defined in  that are missing.
12078
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
12079
        (DB_LITTLE_ENDIAN): New defines.
12080
        * libc/search/hash.c: Replace all incorrect checks for
12081
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
12082
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
12083
        * libc/search/hash_page.c: Likewise.
12084
 
12085
2002-06-28  Thomas Fitzsimmons  
12086
 
12087
        * libm/mathfp/sf_pow.c (powf): Change k from int to float.
12088
 
12089
2002-06-27  Benjamin Kosnik  
12090
 
12091
        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
12092
        * libc/include/time.h: Same.
12093
        * libc/include/string.h: Same.
12094
        * libc/include/stdlib.h: Same.
12095
        * libc/include/signal.h: Same.
12096
        * libc/include/setjmp.h: Same.
12097
        * libc/include/math.h: Same.
12098
        * libc/include/locale.h: Same.
12099
        * libc/include/ctype.h: Same.
12100
        * libc/include/machine/setjmp.h: Same.
12101
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
12102
        (_END_STD_C): Add.
12103
 
12104
2002-06-27  Jeff Johnston  
12105
 
12106
        * libc/include/sys/_types.h: Define _ssize_t as int if int is
12107
        32-bits, otherwise define it as long.
12108
        * libc/include/sys/types.h: Include <_ansi.h> and 
12109
        and define ssize_t as _ssize_t.
12110
        * libc/reent/readr.c: Change return type to _ssize_t.
12111
        * libc/reent/writer.c: Ditto.
12112
        * libc/sys/linux/Makefile.am: Add aio.c.
12113
        * libc/sys/linux/Makefile.in: Regenerated.
12114
        * libc/sys/linux/aio.c: New file.
12115
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
12116
        * libm/common/fdlibm.h: Undef __P before defining it.
12117
 
12118
2002-06-27  Thomas Fitzsimmons  
12119
 
12120
        * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
12121
        exponent_is_even_int variable.  Handle case where x is
12122
        negative, and y is an odd integer.
12123
        * libm/mathfp/sf_pow.c (powf): Likewise.
12124
 
12125
        * libm/mathfp/er_lgamma.c: Remove __kernel references.
12126
        * libm/mathfp/erf_lgamma.c: Likewise.
12127
        * libm/mathfp/s_tgamma.c: Likewise.
12128
        * libm/mathfp/sf_tgamma.c: Likewise.
12129
 
12130
2002-06-27  Jeff Johnston  
12131
 
12132
        * libc/sys/linux/Makefile.am: Add new clock routines.
12133
        * libc/sys/linux/Makefile.in: Regenerated.
12134
        * libc/sys/linux/clock_getres.c: New file.
12135
        * libc/sys/linux/clock_gettime.c: Ditto.
12136
        * libc/sys/linux/clock_settime.c: Ditto.
12137
        * libc/sys/linux/hp-timing.h: Ditto.
12138
        * libc/sys/linux/libc-internal.h: Ditto.
12139
        * libc/sys/linux/sysconf.c: Fix typo.
12140
        * libc/sys/linux/include/time.h: Add include of .
12141
        * libc/sys/linux/machine/hp-timing.h: New file.
12142
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
12143
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12144
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
12145
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
12146
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
12147
        * libc/sys/linux/sys/linux_time.h: New file.
12148
        * libc/sys/linux/sys/time.h: Remove include of  and
12149
        replace with .
12150
 
12151
Wed Jun 26 16:33:25 2002  J"orn Rennecke 
12152
 
12153
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
12154
 
12155
2002-06-25  Jeff Johnston  
12156
 
12157
        * libc/sys/linux/Makefile.am: Consolidate additional items under
12158
        ADD_OBJS.
12159
        * libc/sys/linux/Makefile.in: Regenerated.
12160
 
12161
2002-06-25  Jeff Johnston  
12162
 
12163
        * libc/sys/linux/sethostname.c: New file.
12164
        * libc/sys/linux/Makefile.am: Add sethostname.c support.
12165
        * libc/sys/linux/Makefile.in: Regenerated.
12166
 
12167
2002-06-24  Thomas Fitzsimmons  
12168
 
12169
        * libc/search/db_local.h: New file.
12170
        * libc/include/db.h: Remove.
12171
        * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
12172
        * libc/search/hash.c (MIN,MAX): Add macros.  Change  to
12173
        "db_local.h".
12174
        * libc/search/hash_bigkey.c: Likewise.
12175
        * libc/search/hash_buf.c: Likewise.
12176
        * libc/search/hash_func.c: Likewise.
12177
        * libc/search/hash_log2.c: Likewise.
12178
        * libc/search/hash_page.c: Likewise.
12179
 
12180
2002-06-24  J"orn Rennecke 
12181
 
12182
        * libc/machine/sh/strlen.S: New file.
12183
        * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
12184
        * libc/machine/sh/Makefile.am: Regenerate.
12185
 
12186
2002-06-24  Jeff Johnston  
12187
 
12188
        * libc/sys/linux/gethostname.c: Change name to __gethostname and
12189
        add gethostname alias.
12190
 
12191
2002-06-24  Jeff Johnston  
12192
 
12193
        * libc/include/math.h: Remove .
12194
        (__dmath): Use __ULong instead of __uint32_t.
12195
        * libc/include/sys/reent.h: If long or int is not 32-bits,
12196
        include  to get definitions for __int32_t and __uint32_t.
12197
        * libc/stdlib/mprec.h: Include  to get integer defs.
12198
        * libm/common/fdlibm.h: Ditto.
12199
 
12200
2002-06-24  Thomas Fitzsimmons  
12201
 
12202
        * libc/include/ndbm.h: Remove.
12203
        * libc/search/ndbm.c: Remove.
12204
 
12205
2002-06-24  WATANABE Hirofumi 
12206
 
12207
        * libc/stdio/fseek.c (fseek): Fix braces.
12208
 
12209
2002-06-21  Corinna Vinschen  
12210
 
12211
        * libc/time/strftime.c (strftime): Add %e format specifier.
12212
 
12213
2002-06-21  Thomas Fitzsimmons  
12214
 
12215
        * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
12216
        previously defined.
12217
 
12218
2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
12219
 
12220
        * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
12221
        (BYTE_ORDER): Define as appropriate for the target.
12222
 
12223
2002-06-21  Jeff Johnston  
12224
 
12225
        * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
12226
        to _ssize_t.
12227
        * libc/sys/linux/io.c (read, write): Change to return ssize_t.
12228
 
12229
2002-06-21  Jeff Johnston  
12230
 
12231
        * libc/include/stdio.h (__getline, __getdelim): New prototypes.
12232
        * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
12233
        [HAVE_GETDATE](getdate_err): New error code.
12234
        * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
12235
        * libc/stdio/Makefile.in: Regenerated.
12236
        * libc/stdio/getdelim.c: New file.
12237
        * libc/stdio/getline.c: Ditto.
12238
        * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
12239
        and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
12240
        * libc/sys/linux/Makefile.in: Regenerated.
12241
        * libc/sys/linux/getdate.c: New file.
12242
        * libc/sys/linux/getdate_err.c: Ditto.
12243
        * libc/sys/linux/ntp_gettime.c: Ditto.
12244
        * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
12245
        * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
12246
 
12247
2002-06-21  Jeff Johnston  
12248
 
12249
        * libc/include/math.h: Add  to get _uint32_t definition.
12250
        * libc/include/machine/types.h: Skip __off_t, __pid_t, and
12251
        __loff_t definitions if special _HAVE_SYSTYPES macro defined.
12252
        * libc/include/sys/config.h: Removed _uint*, _int* definitions.
12253
        * libc/include/sys/param.h: Remove i386 case which is handled
12254
        by default case.
12255
        (BIG_ENDIAN, LITTLE_ENDIAN): Protect
12256
        definitions in case they are already defined.
12257
        (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
12258
        _IEEE_LITTLE_ENDIAN flags.
12259
        * libc/include/sys/reent.h: Change __uint32_t references to
12260
        use _ULong instead.
12261
        (_REENT_GETDATE_REENT_P): New macro.
12262
        * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
12263
        (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
12264
        * libc/search/hash.h: Add default setting of BYTE_ORDER,
12265
        LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
12266
        * libc/sys/linux/sys/types.h: Include .  Define
12267
        ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
12268
        pid_t, off_t, loff_t, caddr_t, and daddr_t type
12269
        definitions which are done by subsequent glibc headers.
12270
        Add macro definitions to prevent subsequent header files from
12271
        defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
12272
        intptr_t to after glibc definitions of types they are based on.
12273
 
12274
2002-06-21  Jeff Johnston  
12275
 
12276
        * libc/include/errno.h: Protect from multiple inclusion.
12277
 
12278
2002-06-21  Nick Clifton  
12279
 
12280
        * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
12281
 
12282
2002-06-20  Thomas Fitzsimmons  
12283
 
12284
        * Makefile.am (LIB_OBJECTLISTS): Add
12285
        libc/search/objectlist.awk.in.
12286
        * libc/Makefile.am (SUBDIRS): Add search.
12287
        (SUBLIBS): Add search/libsearch.la.
12288
        * libc/configure.in (AC_OUTPUT): Add search/Makefile.
12289
        * libc/search: New directory.
12290
        * libc/search/Makefile.am: New file.
12291
        * libc/search/extern.h: New file.
12292
        * libc/search/hash.c: New file.
12293
        * libc/search/hash.h: New file.
12294
        * libc/search/hash_bigkey.c: New file.
12295
        * libc/search/hash_buf.c: New file.
12296
        * libc/search/hash_func.c: New file.
12297
        * libc/search/hash_log2.c: New file.
12298
        * libc/search/hash_page.c: New file.
12299
        * libc/search/hcreate.3: New file.
12300
        * libc/search/hcreate.c: New file.
12301
        * libc/search/hcreate_r.c: New file.
12302
        * libc/search/ndbm.c: New file.
12303
        * libc/search/page.h: New file.
12304
        * libc/search/tdelete.c: New file.
12305
        * libc/search/tdestroy.c: New file.
12306
        * libc/search/tfind.c: New file.
12307
        * libc/search/tsearch.3: New file.
12308
        * libc/search/tsearch.c: New file.
12309
        * libc/search/twalk.c: New file.
12310
        * libc/include/db.h: New file.
12311
        * libc/include/ndbm.h: New file.
12312
        * libc/include/search.h: New file.
12313
        * libc/include/sys/queue.h: New file.
12314
        * libc/include/sys/cdefs.h: New file.
12315
        * libc/include/sys/param.h
12316
        [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
12317
        LITTLE_ENDIAN or BIG_ENDIAN.
12318
        * libc/include/sys/errno.h (EFTYPE): New macro.
12319
        * libc/search/bsearch.c: Move from libc/stdlib.
12320
        * libc/search/qsort.c: Likewise.
12321
        * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
12322
        qsort.c.
12323
        (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
12324
        * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
12325
 
12326
2002-06-19  Jeff Johnston  
12327
 
12328
        * libc/sys/linux/Makefile.am: Add support for message queue routines,
12329
        ipc routines, and ftok.
12330
        * libc/sys/linux/Makefile.in: Regenerated.
12331
        * libc/sys/linux/ftok.c: New file.
12332
        * libc/sys/linux/ipc.c: Ditto.
12333
        * libc/sys/linux/mq_close.c: Ditto.
12334
        * libc/sys/linux/mq_getattr.c: Ditto.
12335
        * libc/sys/linux/mq_notify.c: Ditto.
12336
        * libc/sys/linux/mq_open.c: Ditto.
12337
        * libc/sys/linux/mq_receive.c: Ditto.
12338
        * libc/sys/linux/mq_send.c: Ditto.
12339
        * libc/sys/linux/mq_setattr.c: Ditto.
12340
        * libc/sys/linux/mq_unlink.c: Ditto.
12341
        * libc/sys/linux/mqlocal.h: Ditto.
12342
        * libc/sys/linux/include/mqueue.h: Ditto.
12343
        * libc/sys/linux/sys/types.h: Define __gid_t_defined and
12344
        __uid_t_defined.
12345
 
12346
2002-06-19  J"orn Rennecke 
12347
 
12348
        * libm/common/sf_lround.c (round): Change name to: (lround).
12349
        * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
12350
        remquof.
12351
 
12352
2002-06-18  Thomas Fitzsimmons  
12353
 
12354
        * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
12355
        procedure.
12356
        (newlib_pass_fail): Change to compile and run only one file.
12357
        * testsuite/newlib.locale/locale.exp: Use new
12358
        newlib_pass_fail_all procedure.
12359
        * testsuite/newlib.string/string.exp: Likewise.
12360
 
12361
2002-06-18  Dave Brolley  
12362
 
12363
        From Catherine Moore, Michael Meissner, Richard Sandiford:
12364
        * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
12365
        (_JBTYPE): Ditto.
12366
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
12367
        (__ATTRIBUTE_IMPURE_PTR__): Ditto.
12368
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
12369
        * configure.host: Support frv-*-*.
12370
        * libc/machine/frv/Makefile.am: New file.
12371
        * libc/machine/frv/configure.in: New file.
12372
        * libc/machine/frv/setjmp.S: New file.
12373
 
12374
2002-06-18  Thomas Fitzsimmons  
12375
 
12376
        * libc/include/ctype.h: Remove isblank macro.
12377
 
12378
        * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
12379
        * libc/ctype/isblank.c: New file.
12380
        * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
12381
        declaration.  Add isblank macro.
12382
 
12383
2002-06-18  Jeff Johnston  
12384
 
12385
        * testsuite/newlib.stdlib/atexit.c: New file.
12386
        * testsuite/newlib.stdlib/atexit.exp: Ditto.
12387
        * testsuite/newlib.string/tstring.c: Change default start size
12388
        to something more reasonable for embedded platforms.
12389
 
12390
2002-06-14  Thomas Fitzsimmons  
12391
 
12392
        * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
12393
 
12394
        * libc/argz: New directory.
12395
        * libc/argz/*: New files.
12396
        * libc/argz/argz_add.c: New file.
12397
        * libc/argz/argz_add_sep.c: New file.
12398
        * libc/argz/argz_append.c: New file.
12399
        * libc/argz/argz_count.c: New file.
12400
        * libc/argz/argz_create.c: New file.
12401
        * libc/argz/argz_create_sep.c: New file.
12402
        * libc/argz/argz_delete.c: New file.
12403
        * libc/argz/argz_extract.c: New file.
12404
        * libc/argz/argz_insert.c: New file.
12405
        * libc/argz/argz_next.c: New file.
12406
        * libc/argz/argz_replace.c: New file.
12407
        * libc/argz/argz_stringify.c: New file.
12408
        * libc/argz/buf_findstr.c: New file.
12409
        * libc/argz/envz_add.c: New file.
12410
        * libc/argz/envz_entry.c: New file.
12411
        * libc/argz/envz_get.c: New file.
12412
        * libc/argz/envz_merge.c: New file.
12413
        * libc/argz/envz_remove.c: New file.
12414
        * libc/argz/envz_strip.c: New file.
12415
        * libc/include/argz.h: New file.
12416
        * libc/include/envz.h: New file.
12417
        * Makefile.am (LIBC_OBJECTLISTS): Add
12418
        libc/argz/objectlist.awk.in.
12419
        * libc/Makefile.am (SUBDIRS): Add argz.
12420
        (SUBLIBS): Add argz/libargz.la.
12421
        * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
12422
        * libc/include/errno.h: Add error_t typedef.
12423
 
12424
2002-06-13  Jeff Johnston  
12425
 
12426
        * libc/include/stdlib.h: Add _Exit prototype.
12427
        * libc/stdlib/Makefile.am: Add _Exit.c support.
12428
        * libc/stdlib/Makefile.in: Ditto.
12429
        * libc/stdlib/_Exit.c: New file.
12430
 
12431
2002-06-13  Stephen L. Moshier  
12432
 
12433
        * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
12434
        x is close to -1.0 and y is very large to use ax (absolute value)
12435
        instead of x.
12436
        * libm/math/ef_pow.c (__ieee754_powf): Ditto.
12437
 
12438
Thu Jun 13 19:23:40 2002  J"orn Rennecke 
12439
 
12440
        * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
12441
        Fix clobbering bytes before destination if src and dst have same
12442
        non-zero misalignment.
12443
 
12444
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
12445
        Fixed bug in writing end of set region.
12446
 
12447
2002-06-10  Christopher Faylor  
12448
 
12449
        * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
12450
        spawnve declaration.
12451
 
12452
2002-06-06  Thomas Fitzsimmons  
12453
 
12454
        * libm/common/s_fdim.c: New file.
12455
        * libm/common/s_fma.c: Likewise.
12456
        * libm/common/s_fmax.c: Likewise.
12457
        * libm/common/s_fmin.c: Likewise.
12458
        * libm/common/s_fpclassify.c: Likewise.
12459
        * libm/common/s_lrint.c: Likewise.
12460
        * libm/common/s_lround.c: Likewise.
12461
        * libm/common/s_nearbyint.c: Likewise.
12462
        * libm/common/s_remquo.c: Likewise.
12463
        * libm/common/s_round.c: Likewise.
12464
        * libm/common/s_scalbln.c: Likewise.
12465
        * libm/common/s_signbit.c: Likewise.
12466
        * libm/common/s_trunc.c: Likewise.
12467
        * libm/common/sf_fdim.c: Likewise.
12468
        * libm/common/sf_fma.c: Likewise.
12469
        * libm/common/sf_fmax.c: Likewise.
12470
        * libm/common/sf_fmin.c: Likewise.
12471
        * libm/common/sf_lrint.c: Likewise.
12472
        * libm/common/sf_lround.c: Likewise.
12473
        * libm/common/sf_nearbyint.c: Likewise.
12474
        * libm/common/sf_remquo.c: Likewise.
12475
        * libm/common/sf_round.c: Likewise.
12476
        * libm/common/sf_scalbln.c: Likewise.
12477
        * libm/common/sf_trunc.c: Likewise.
12478
        * libm/math/w_exp2.c: Likewise.
12479
        * libm/math/w_tgamma.c: Likewise.
12480
        * libm/math/wf_exp2.c: Likewise.
12481
        * libm/math/wf_tgamma.c: Likewise.
12482
        * libm/mathfp/s_exp2.c: Likewise.
12483
        * libm/mathfp/s_tgamma.c: Likewise.
12484
        * libm/mathfp/sf_exp2.c: Likewise.
12485
        * libm/mathfp/sf_tgamma.c: Likewise.
12486
        * libm/math/er_gamma.c: Fix return value.
12487
        * libm/math/erf_gamma.c: Likewise.
12488
        * libm/mathfp/er_gamma.c: Likewise.
12489
        * libm/mathfp/erf_gamma.c: Likewise.
12490
        * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
12491
        declarations and macros.
12492
        Regenerated all Makefile.in, aclocal.m4 and configure files to
12493
        use new libtool macros in top-level libtool.m4
12494
 
12495
2002-06-05  Jeff Johnston  
12496
 
12497
        * libc/include/string.h[__linux__]: Add strsignal prototype.
12498
        * libc/include/sys/lock.h: New file with default locking support.
12499
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
12500
        and psignal.
12501
        * libc/posix/Makefile.am: Add support for readdir_r.c.
12502
        * libc/posix/Makefile.in: Regenerated.
12503
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
12504
        * libc/posix/opendir.c: Add lock support.
12505
        * libc/posix/readdir.c: Ditto.
12506
        * libc/posix/rewinddir.c: Ditto.
12507
        * libc/posix/scandir.c: Ditto.
12508
        * libc/posix/seekdir.c: Ditto.
12509
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
12510
        clean up leftover hash table entries.
12511
        * libc/posix/readdir_r.c: New file.
12512
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
12513
        * libc/sys/linux/Makefile.in: Regenerated.
12514
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
12515
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
12516
        * libc/sys/linux/psignal.c: New file.
12517
        * libc/sys/linux/strsignal.c: Ditto.
12518
 
12519
2002-06-03  Corinna Vinschen  
12520
 
12521
        * libc/include/sys/types.h: Don't define dev_t when compiling for
12522
        Cygwin.
12523
 
12524
2002-05-31  Jeff Johnston  
12525
 
12526
        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
12527
        make siglist.inc dependent on sig.c instead of signal.c.
12528
        * libc/sys/linux/Makefile.in: Regenerated.
12529
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
12530
        use NSIG instead of _NSIG.
12531
        * libc/sys/linux/sigaction.c: New file.
12532
        * libc/sys/linux/signal.c: Changed to be linux signal() function
12533
        so as to override regular newlib default signal.c.
12534
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
12535
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12536
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
12537
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
12538
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
12539
        default linux sigset_t typedef by defining it equal to __sigset_t.
12540
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
12541
        with a sigset_t that isn't implemented with a single int.
12542
 
12543
2002-05-30  Jeff Johnston  
12544
 
12545
        * libc/sys/linux/Makefile.am: Add support for new files.
12546
        * libc/sys/linux/Makefile.in: Regenerated.
12547
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
12548
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
12549
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
12550
        it is in a separate file now.
12551
        * libc/sys/linux/machine/i386/Makefile.am
12552
        * libc/sys/linux/machine/i386/Makefile.in
12553
        * libc/sys/linux/sys/signal.h: Add include of .
12554
        * libc/sys/linux/sigaction.c: New file.
12555
        * libc/sys/linux/sigqueue.c: Ditto.
12556
        * libc/sys/linux/sigwait.c: Ditto.
12557
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
12558
        * libc/sys/linux/kernel_sigaction.h: Ditto.
12559
 
12560
2002-05-28  Jeff Johnston  
12561
 
12562
        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
12563
        tcsendbrk.c.
12564
        * libc/sys/linux/Makefile.in: Regenerated.
12565
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
12566
        tcgetpgrp(), and tcsetpgrp() functions.
12567
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
12568
        to get __MAX_BAUD rate.
12569
        * libc/sys/linux/machine/i386/include/termios.h: New file.
12570
        * libc/include/machine/termios.h: Ditto.
12571
        * libc/sys/linux/cfspeed.c: Ditto.
12572
        * libc/sys/linux/tcsendbrk.c: Ditto.
12573
 
12574
2002-05-24  Jeff Johnston  
12575
 
12576
        * libc/include/string.h: Add strnlen and strerror_r prototypes.
12577
        * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
12578
        * libc/string/Makefile.in: Regenerated.
12579
        * libc/string/strerror_r.c: New file.
12580
        * libc/string/strnlen.c: New file.
12581
        * libc/sys/linux/Makefile.am: Add rename.c.
12582
        * libc/sys/linux/Makefile.in: Regenerated.
12583
        * libc/sys/linux/rename.c: New file to override default rename.
12584
 
12585
2002-05-24  Thomas Fitzsimmons  
12586
 
12587
        * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
12588
        * libc/sys/linux/sys/time.h: Add conversion macros.
12589
        * libc/sys/linux/sys/types.h: Add FD_ macros.  Include .
12590
        * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
12591
        * libc/sys/linux/gethostname.c: New file.
12592
        * libc/sys/linux/seteuid.c: New file.
12593
        * libc/sys/linux/sysctl.c: New file.
12594
 
12595
2002-05-23  Jeff Johnston  
12596
 
12597
        * libc/string/Makefile.am: Add support for strsep.c.
12598
        * libc/string/Makefile.in: Regenerated.
12599
        * libc/string/strsep.c: New file.
12600
        * libc/string/strtok.c: Change to call __strtok_r service routine.
12601
        * libc/string/strtok_r.c: Add __strtok_r routine which takes
12602
        additional flag parameter regarding whether to skip leading delimeters.
12603
        Change strtok_r to call __strtok_r.
12604
 
12605
2002-05-23  Gareth Pearce  
12606
 
12607
        * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
12608
        * libc/stdio/Makefile.in: Regenerated.
12609
        * libc/stdio/setbuffer.c: New file.
12610
        * libc/stdio/setlinebuf.c: New file.
12611
 
12612
2002-05-23  Jeff Johnston  
12613
 
12614
        * libc/sys/linux/Makefile.am: Add resource.c.
12615
        * libc/sys/linux/Makefile.in: Regenerated.
12616
        * libc/sys/linux/resource.c: New file.
12617
        * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
12618
        * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
12619
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12620
        * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
12621
        are now found in libc/sys/linux/resource.c.
12622
 
12623
2002-05-23  Jeff Johnston  
12624
 
12625
        * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
12626
        to use void * pointers and comply with Single Unix spec.
12627
        * libc/string/bcmp.c: Change to use void * instead of char *.
12628
        * libc/string/bcopy.c: Ditto.
12629
        * libc/string/bzero.c: Ditto.
12630
 
12631
2002-05-22  Jeff Johnston  
12632
 
12633
        * libc/sys/linux/shm_open.c: New file.
12634
        * libc/sys/linux/shm_unlink.c: Ditto.
12635
        * libc/sys/linux/Makefile.am: Add support for shm_open.c and
12636
        shm_unlink.c.
12637
        * libc/sys/linux/Makefile.in: Regenerated.
12638
        * libc/sys/linux/sys/types.h: Add some additional checks to see
12639
        if clock_t or time_t is already defined.
12640
 
12641
2002-05-22  Jeff Johnston  
12642
 
12643
        * Makefile.am: Don't pass $toollibdir down directly in
12644
        AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
12645
        Pass it under the name: top_toollibdir.
12646
        * Makefile.in: Regenerated.
12647
 
12648
2002-05-22  Corinna Vinschen  
12649
 
12650
        * libc/include/sys/types.h: Revert previous patch.
12651
 
12652
2002-05-22  Corinna Vinschen  
12653
 
12654
        * libc/include/sys/types.h: Include cygwin/types.h always under
12655
        Cygwin, not only if _POSIX_THREADS is defined.
12656
 
12657
2002-05-21 Dhananjay Deshpande 
12658
 
12659
        * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
12660
 
12661
2002-05-17  Jeff Johnston  
12662
 
12663
        * Makefile.am: Copy and install headers from sys/machine/include
12664
        directory.  Also pass $toollibdir to lower-level directories.
12665
        * Makefile.in: Regenerated.
12666
        * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
12667
        stderr to use _REENT macro instead of _impure_ptr directly.
12668
        * libc/include/sys/config.h[__i386__][__linux__]: Define
12669
        __DYNAMIC_REENT__.
12670
        * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
12671
        call to __getreent() function if !__SINGLE_THREAD__ and
12672
        __DYNAMIC_REENT__ is set.
12673
        * libc/reent/Makefile.am: Add support for getreent.c.
12674
        * libc/reent/Makefile.in: Regenerated.
12675
        * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
12676
        * libc/sys/linux/Makefile.am: Add support for new files.
12677
        * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
12678
        * libc/sys/linux/Makefile.in: Regenerated.
12679
        * libc/sys/linux/configure: Ditto.
12680
        * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
12681
        __close, __read, __write, __poll, __open, __lseek, __fcntl from
12682
        their __libc_ counterparts.
12683
        * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
12684
        and weak-alias to regular names.
12685
        * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
12686
        to pread64 and __pread64.
12687
        * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
12688
        * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
12689
        weak-alias to pwrite64.
12690
        * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
12691
        __libc_sched_getscheduler, __libc_sched_get_priority_max,
12692
        __libc_sched_get_priority_min, and __libc_sched_setschedule to
12693
        name with __ instead of __libc_.
12694
        * libc/sys/linux/siglongjmp.c: Include .
12695
        Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
12696
        Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
12697
        * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
12698
        to raise.
12699
        * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
12700
        __libc_send to __send.
12701
        * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
12702
        __gettimeofday.
12703
        * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
12704
        it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
12705
        * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
12706
        type and typedef __jmp_buf to jmp_buf.
12707
        * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
12708
        setjmp.S.
12709
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12710
        * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
12711
        section.
12712
        * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
12713
        prefix for function macros and then use weak_alias() to regular names.
12714
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
12715
        * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
12716
        * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
12717
        to be flockfile() and funlockfile() respectively.
12718
        * libc/sys/linux/sys/types.h
12719
        * libc/reent/getreent.c: New file.
12720
        * libc/sys/linux/flockfile.c: Ditto.
12721
        * libc/sys/linux/funlockfile.c: Ditto.
12722
        * libc/sys/linux/getreent.c: Ditto.
12723
        * libc/sys/linux/pread.c: Ditto.
12724
        * libc/sys/linux/pwrite.c: Ditto.
12725
        * libc/sys/linux/raise.c: Ditto.
12726
        * libc/sys/linux/system.c: Ditto.
12727
        * libc/sys/linux/tcdrain.c: Ditto.
12728
        * libc/sys/linux/machine/i386/i386mach.h: Ditto.
12729
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
12730
        * libc/sys/linux/machine/i386/syscalls.c: Ditto.
12731
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
12732
        * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
12733
 
12734
2002-05-14 Dhananjay Deshpande 
12735
 
12736
        * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
12737
        * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
12738
        * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
12739
        * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
12740
 
12741
Thu May 16 17:24:57 2002  J"orn Rennecke 
12742
 
12743
        * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
12744
        __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
12745
        exit point.
12746
 
12747
2002-05-15  Thomas Fitzsimmons  
12748
 
12749
        * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
12750
        options when testing natively on i[3456]86-*-linux.
12751
 
12752
        * testsuite/lib/checkoutput.exp (newlib_check_output): Output
12753
        only one pass or fail per test file.  Trim \r's from output
12754
        values received from test programs.  Remove support for named
12755
        tests.
12756
        * testsuite/newlib.locale/UTF-8.exp: Update to support new
12757
        newlib_check_output behaviour.
12758
        * testsuite/newlib.locale/UTF-8.c: Likewise.
12759
 
12760
2002-05-15  Jeff Johnston  
12761
 
12762
        * libc/include/stdlib.h: Add on_exit prototype.
12763
        * libc/include/sys/reent.h (struct _atexit): Add argument array
12764
        and bits to track type of exit routine to support both on_exit
12765
        and atexit.
12766
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
12767
        by default and change the setting of the atexit structure.
12768
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
12769
        * libc/stdlib/on_exit.c: New file.
12770
        * libc/stdlib/Makefile.am: Add support for on_exit.
12771
        * libc/stdlib/Makefile.in: Regenerated.
12772
        * libc/stdlib/atexit.c: Change to initialize types field.
12773
        * libc/stdlib/exit.c: Change to look at types field for each
12774
        exit routine and either call an atexit-style or an on_exit-style
12775
        routine accordingly.
12776
 
12777
2002-05-13  Jeff Johnston  
12778
 
12779
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
12780
        allow v specifier with n or L specifiers.  For vector c format,
12781
        move tmp declaration to the top.
12782
 
12783
2002-05-13  Jeff Johnston  
12784
 
12785
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
12786
        the original format specifier when looping for vectors to compensate
12787
        for any changes made in vector %g format processing.
12788
        Also add syntax checking for various invalid scenarios
12789
        involving vector format extensions.
12790
        * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
12791
        return code setting for vector formats.  Also treat vector
12792
        separator mismatch as a match error instead of an input error.
12793
        Perform some syntax checking for vector formats.
12794
 
12795
2002-05-10  Mark Bradshaw  
12796
 
12797
        * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
12798
        * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
12799
        * libc/string/strlcat.c: New file.
12800
        * libc/string/strlcpy.c: New file.
12801
 
12802
2002-05-10  Jeff Johnston  
12803
 
12804
        * libc/string/strchr.c: Fix comment typo.
12805
 
12806
2002-05-08  Thomas Fitzsimmons  
12807
 
12808
        * acinclude.m4: Add support for --enable-newlib-multithread.
12809
        * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
12810
        --enable-newlib-multithread=no.
12811
 
12812
        * libc/stdio/getc_u.c: New file.
12813
        * libc/stdio/getchar_u.c: New file.
12814
        * libc/stdio/putc_u.c: New file.
12815
        * libc/stdio/putchar_u.c: New file.
12816
        * libc/include/stdio.h: Add declarations for getc_unlocked,
12817
        getchar_unlocked, putc_unlocked and putchar_unlocked.
12818
        * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
12819
        (CHEWOUT_FILES): Add new files' .def's.
12820
        * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
12821
 
12822
Wed May  8 17:47:35 2002  J"orn Rennecke 
12823
 
12824
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
12825
        Also handle as single quad word when destination ends at last
12826
        byte of first quad word.  Fix byte selection in single quad code.
12827
 
12828
2002-05-07  Thomas Fitzsimmons  
12829
 
12830
        * libc/include/sys/stdio.h: New file.
12831
        * libc/sys/linux/sys/stdio.h: New file.
12832
        * libc/include/stdio.h: Add declarations for flockfile,
12833
        ftrylockfile, and funlockfile.  Include .
12834
        * libc/stdio/clearerr.c: Add file locking.
12835
        * libc/stdio/fclose.c: Likewise.
12836
        * libc/stdio/feof.c: Likewise.
12837
        * libc/stdio/ferror.c: Likewise.
12838
        * libc/stdio/fflush.c: Likewise.
12839
        * libc/stdio/fgetc.c: Likewise.
12840
        * libc/stdio/fgetpos.c: Likewise.
12841
        * libc/stdio/fgets.c: Likewise.
12842
        * libc/stdio/fileno.c: Likewise.
12843
        * libc/stdio/fputc.c: Likewise.
12844
        * libc/stdio/fputs.c: Likewise.
12845
        * libc/stdio/fread.c: Likewise.
12846
        * libc/stdio/freopen.c: Likewise.
12847
        * libc/stdio/fseek.c: Likewise.
12848
        * libc/stdio/ftell.c: Likewise.
12849
        * libc/stdio/fwrite.c: Likewise.
12850
        * libc/stdio/getc.c: Likewise.
12851
        * libc/stdio/putc.c: Likewise.
12852
        * libc/stdio/setvbuf.c: Likewise.
12853
        * libc/stdio/ungetc.c: Likewise.
12854
        * libc/stdio/vfprintf.c: Likewise.
12855
 
12856
2002-05-06  Jeff Johnston  
12857
 
12858
        * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
12859
        support for 'p' format.  Fix code to print bytes for vector
12860
        integer formats that do not specify 'h' or 'l'.
12861
        * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
12862
        for 'p' specifier.  Fix code to scan 16 bytes for vector integer
12863
        formats that do not specify 'h' or 'l'.
12864
 
12865
        * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
12866
 
12867
2002-05-06  Nick Clifton  
12868
 
12869
        * libc/sys/arm/syscalls.c (_rename): Add parameter names.
12870
        (_sbrk): Add cast of return value.
12871
 
12872
2002-05-06  Jeff Johnston  
12873
 
12874
        *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
12875
        (_REENT_L64A_BUF): New macro for accessing area.
12876
        *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
12877
        *  libc/stdlib/Makefile.in: Regenerated.
12878
        *  libc/stdlib/a64l.c: New file.
12879
        *  libc/stdlib/l64a.c: New file.
12880
 
12881
2002-05-06  Jeff Johnston  
12882
 
12883
        * libc/unix/pread.c: Fix typo for _pread_r.
12884
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
12885
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
12886
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
12887
 
12888
2002-05-03  Christopher Faylor  
12889
 
12890
        * libc/include/sys/unistd.h: Define getdomainname under cygwin.
12891
 
12892
2002-05-03  Thomas Fitzsimmons  
12893
 
12894
        * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
12895
 
12896
2002-05-01  Christopher Faylor  
12897
 
12898
        * utmp.h: Define more UNIX constants.
12899
 
12900
2002-05-01  Thomas Fitzsimmons  
12901
 
12902
        * Makefile.am: Add support for checking multilibs.
12903
 
12904
        * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
12905
        (SUBDEFS): Add LIBC_EXTRA_DEF.
12906
        * libc/configure.in (LIBC_EXTRA_LIB): New variable.
12907
        (LIBC_EXTRA_DEF): Likewise.
12908
        (extra_dir): Likewise.
12909
        * libc/machine/xscale/machine: New directory.
12910
        * libc/machine/xscale/machine/profile.h: New file.
12911
 
12912
        * Makefile.am (site.exp): Remove newlib_cflags.  Add
12913
        multibuildtop.
12914
        * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
12915
        * testsuite/lib/flags.exp: New file.
12916
        * testsuite/lib/newlib.exp: Load flags.exp.
12917
        (newlib_target_compile): Remove libgloss directory references.
12918
        (newlib_init): Remove newlib_cflags references.
12919
 
12920
2002-04-30  Thomas Fitzsimmons  
12921
 
12922
        * testsuite/lib/newlib.exp (newlib_target_compile): Change
12923
        method of finding libgloss_target_dir.
12924
 
12925
        * Makefile.am (site.exp): Change host_alias, host_triplet,
12926
        target_alias, target_triplet to refer to gcc's host and target
12927
        variables (newlib's build and host variables).
12928
        * testsuite/lib/newlib.exp (newlib_init): Change build
12929
        references to host references, host references to target
12930
        references to reflect Makefile.am changes.
12931
        (newlib_target_compile): Likewise.
12932
        (newlib_finish): Likewise.
12933
 
12934
2002-04-29  Jeff Johnston  
12935
 
12936
        * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
12937
 
12938
2002-04-29  Jonathan Larmour  
12939
 
12940
        * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
12941
        (_system): New function. Ditto.
12942
        * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
12943
        * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
12944
        targets.
12945
 
12946
2002-04-29  Jeff Johnston  
12947
 
12948
        *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
12949
        *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
12950
        *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
12951
        *  libc/sys/linux/Makefile.in: Regenerated.
12952
        *  libc/unix/Makefile.in: Ditto.
12953
        *  libc/sys/linux/pread64.c: New file.
12954
        *  libc/sys/linux/pwrite64.c: Ditto.
12955
        *  libc/unix/pread.c: Ditto.
12956
        *  libc/unix/pwrite.c: Ditto.
12957
 
12958
2002-04-26  Jeff Johnston  
12959
 
12960
        *  libc/sys/linux/Makefile.am: Add io64.c.
12961
        *  libc/sys/linux/Makefile.in: Regenerated.
12962
        *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
12963
        *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
12964
        *  libc/sys/linux/io64.c: New file.
12965
 
12966
2002-04-26  Jeff Johnston  
12967
 
12968
        * configure.in (CC_FOR_NEWLIB): New variable that
12969
        bases on $(CC) and adds targ-include and libc/include as
12970
        -isystem directives if they are not already part of $(CC).
12971
        * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
12972
        $(CC_FOR_NEWLIB).
12973
        * configure: Regenerated.
12974
        * Makefile.in: Ditto.
12975
 
12976
2002-04-25  Jeff Johnston  
12977
 
12978
        *  libc/sys/linux/Makefile.am: Add support for sched.c.
12979
        *  libc/sys/linux/Makefile.in: Regenerated.
12980
        *  libc/sys/linux/sched.c: New file.
12981
        *  libc/sys/linux/sys/types.h: Add struct timespec.
12982
 
12983
2002-04-25  Thomas Fitzsimmons  
12984
 
12985
        * configure.in (CC_FOR_BUILD): Set to gcc whether
12986
        cross-compiling or not.
12987
        (CC): Add -isystem's for targ-include and libc/include when they
12988
        do not already appear in CC.
12989
 
12990
2002-04-24  Thomas Fitzsimmons  
12991
 
12992
        * Makefile.am (check-DEJAGNU): New target.
12993
        (site.exp): Likewise.
12994
        * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
12995
        with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
12996
        * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
12997
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
12998
        * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
12999
        * testsuite: New directory.
13000
        * testsuite/config: Likewise.
13001
        * testsuite/lib: Likewise.
13002
        * testsuite/newlib.locale: Likewise.
13003
        * testsuite/newlib.string: Likewise.
13004
        * testsuite/config/default.exp: New file.
13005
        * testsuite/lib/checkoutput.exp: New file.
13006
        * testsuite/lib/newlib.exp: New file.
13007
        * testsuite/lib/passfail.exp: New file.
13008
        * testsuite/newlib.locale/UTF-8.c: New file.
13009
        * testsuite/newlib.locale/UTF-8.exp: New file.
13010
        * testsuite/newlib.locale/locale.exp: New file.
13011
        * testsuite/newlib.string/string.exp: New file.
13012
        * testsuite/newlib.string/tstring.c: New file.
13013
 
13014
2002-04-23  Jeff Johnston  
13015
 
13016
        *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
13017
        *  libc/sys/linux/Makefile.am: Add support for mmap.c.
13018
        *  libc/sys/linux/Makefile.in: Regenerated.
13019
        *  libc/sys/linux/mmap.c: New file.
13020
        *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
13021
        *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
13022
 
13023
2002-04-22  Thomas Fitzsimmons  
13024
 
13025
        * acinclude.m4 (newlib_cflags): Remove include directories that
13026
        are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
13027
 
13028
2002-04-19  Bill Siegmund  
13029
 
13030
        * libc/machine/xscale/memchr.c: Don't use multi-line strings.
13031
        * libc/machine/xscale/memcmp.c: Ditto.
13032
        * libc/machine/xscale/memcpy.c: Ditto.
13033
        * libc/machine/xscale/memmove.c: Ditto.
13034
        * libc/machine/xscale/memset.c: Ditto.
13035
        * libc/machine/xscale/strchr.c: Ditto.
13036
        * libc/machine/xscale/strcmp.c: Ditto.
13037
        * libc/machine/xscale/strcpy.c: Ditto.
13038
        * libc/machine/xscale/strlen.c: Ditto.
13039
 
13040
2002-04-19  Alexandre Oliva  
13041
 
13042
        * libc/include/sys/config.h: Remove include of .
13043
        (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
13044
        define INT_MAX and LONG_MAX.  Use them in tests.
13045
 
13046
2002-04-19  Jeff Johnston  
13047
 
13048
        *  configure.host: Add support for powerpc-eabialtivec*.
13049
        *  libc/include/malloc.h: Add include of .
13050
        *  libc/include/stdlib.h: Add include of .
13051
        *  libc/include/machine/malloc.h: New file.
13052
        *  libc/include/machine/stdlib.h: Ditto.
13053
        *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
13054
        *  libc/machine/powerpc/Makefile.am: Add conditional objects and
13055
        sources based on configuration.
13056
        *  libc/machine/powerpc/Makefile.in: Regenerated.
13057
        *  libc/machine/powerpc/configure: Ditto.
13058
        *  libc/machine/powerpc/configure.in: Add check for
13059
        powerpc-eabialtivec* in which case add in additional source files.
13060
        *  libc/machine/powerpc/setjmp.S: Add altivec support.
13061
        *  libc/machine/powerpc/vec_calloc.c: New file.
13062
        *  libc/machine/powerpc/vec_free.c: Ditto.
13063
        *  libc/machine/powerpc/vec_malloc.c: Ditto.
13064
        *  libc/machine/powerpc/vec_mallocr.c: Ditto.
13065
        *  libc/machine/powerpc/vec_realloc.c: Ditto.
13066
        *  libc/machine/powerpc/machine/malloc.h: Ditto.
13067
        *  libc/machine/powerpc/machine/stdlib.h: Ditto.
13068
        *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
13069
        with added altivec format specifiers.
13070
        *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
13071
        added altivec format specifiers.
13072
 
13073
2002-04-19      Joel Sherrill 
13074
 
13075
        * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
13076
        while autoconf is trying to link main(){}.
13077
 
13078
2002-04-17  Jeff Johnston  
13079
 
13080
        * libc/sys/linux/signal.c: Remove include of .
13081
        * libc/sys/linux/sys/signal.h: Add include of .
13082
 
13083
2002-04-17  Jeff Johnston  
13084
 
13085
        * libc/time/time.tex: Add tzset info.
13086
 
13087
2002-04-17  Jeff Johnston  
13088
 
13089
        * libc/include/time.h (tzset, _tzset_r): Added prototypes.
13090
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
13091
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
13092
        (tzname): Defined for all platforms.
13093
        (daylight, timezone): Defined only for CYGWIN.
13094
        * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
13095
        environment set up.
13096
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
13097
        environment variable is set.
13098
        * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
13099
        tzset_r.c.
13100
        * libc/time/Makefile.in: Regenerated.
13101
        * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
13102
        * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
13103
        * libc/time/lcltime_r.c (lcltime_r): Ditto.
13104
        * libc/time/local.h: New local header file.
13105
        * libc/time/mktime.c (mktime): Add timezone support.
13106
        * libc/time/mktm_r.c: New file which is the common engine
13107
        for gmtime_r and lcltime_r.  This code has timezone support.
13108
        * libc/time/strftime.c (strftime): Add %Z timezone support.
13109
        * libc/time/tzlock.c: New file containing timezone lock stubs.
13110
        * libc/time/tzset.c: New file containing tzset() routine.
13111
        * libc/time/tzset_r.c: New file containing _tzset_r and
13112
        internal routine for calculating timezone changes for specified year.
13113
 
13114
2002-04-17  Thomas Fitzsimmons  
13115
 
13116
        * configure.in (CRT0_DIR): Set to libc/.
13117
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
13118
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
13119
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
13120
        $(CRT1_DIR)/$(CRT1).
13121
        * libc/machine/xstormy16/Makefile.in: Regenerated.
13122
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
13123
        * libc/machine/xstormy16/configure: Regenerated.
13124
 
13125
2002-04-13  Alexandre Oliva  
13126
 
13127
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
13128
        fails, don't bail out, and try to correct next time.
13129
 
13130
        * libc/include/sys/config.h: Include limits.h.
13131
 
13132
2002-04-12  Eric Norum  
13133
 
13134
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
13135
        routine to allow autoconf to determine that building executables
13136
        for rtems works.
13137
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
13138
        (rtems_gxx_mutex_once): Ditto.
13139
 
13140
2002-04-09  Tom Rix  
13141
 
13142
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
13143
 
13144
2002-04-09  Mark Bradshaw  
13145
 
13146
        * libc/include/time.h: Fix strptime declaration.
13147
        * libc/time/Makefile.am: Add strptime.c.
13148
        * libc/time/Makefile.in: Regenerated.
13149
        * libc/time/strptime.c: New file.
13150
 
13151
2002-04-08  Jeff Johnston  
13152
 
13153
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
13154
        siglongjmp prototype, and sigsetjmp macro definition.
13155
        * libc/sys/linux/siglongjmp.c: New file.
13156
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
13157
        * libc/sys/linux/Makefile.in: Regenerated.
13158
 
13159
2002-04-04  Jeff Johnston  
13160
 
13161
        * Makefile.am: Add support for installing crt1.o if one exists.
13162
        * configure.host: Specify crt1.o for linux.
13163
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
13164
        * Makefile.in: Regenerated.
13165
        * configure: Ditto.
13166
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
13167
        Added for non-Cygwin, non-RTEMS configurations.
13168
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
13169
        * libc/sys/linux/Makefile.in: Regenerated.
13170
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
13171
        by gcc.  This fixes problem with reconfiguring linux newlib build.
13172
        * libc/sys/linux/sysconf.c: New file.
13173
 
13174
2002-04-03  Jeff Johnston  
13175
 
13176
        * configure.host: Add support for machine subdirectory of
13177
        sys subdirectory.
13178
        * configure.in: Add check for sys machine subdirectory.
13179
        * Makefile.am: Ditto.
13180
        * configure: Regenerated.
13181
        * Makefile.in: Ditto.
13182
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
13183
        * libc/sys/linux/sys/syscall.h: Ditto.
13184
        * libc/sys/linux/sleep.c: New file.
13185
        * libc/sys/linux/socket.c: Ditto.
13186
        * libc/sys/linux/sockops.h: Ditto.
13187
        * libc/sys/linux/stack.c: Ditto.
13188
        * libc/sys/linux/usleep.c: Ditto.
13189
        * libc/sys/linux/machine/Makefile.am: Ditto.
13190
        * libc/sys/linux/machine/Makefile.in: Ditto.
13191
        * libc/sys/linux/machine/aclocal.m4: Ditto.
13192
        * libc/sys/linux/machine/configure: Ditto.
13193
        * libc/sys/linux/machine/configure.in: Ditto.
13194
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
13195
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
13196
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
13197
        * libc/sys/linux/machine/i386/configure: Ditto.
13198
        * libc/sys/linux/machine/i386/configure.in: Ditto.
13199
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
13200
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
13201
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
13202
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
13203
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
13204
        * libc/sys/linux/sys/select.h: Ditto.
13205
        * libc/sys/linux/configure.in: Add support for machine directory.
13206
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
13207
        * libc/sys/linux/Makefile.in: Regenerated.
13208
        * libc/sys/linux/configure: Ditto.
13209
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
13210
        * libc/sys/linux/inode.c: Ditto.
13211
        * libc/sys/linux/linux.c: Ditto.
13212
        * libc/sys/linux/process.c: Ditto.
13213
        * libc/sys/linux/systat.c: Ditto.
13214
        * libc/sys/linux/time.c: Ditto.
13215
        * libc/sys/linux/wait.c: Ditto.
13216
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
13217
        * libc/sys/linux/io.c: Change header plus add readv/writev.
13218
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
13219
        use __sigsuspend syscall.
13220
        * libc/sys/linux/select.c: Change header plus change select to
13221
        use _newselect syscall.
13222
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
13223
        used by glibc header files.
13224
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
13225
        types.
13226
 
13227
2002-04-01  Jeff Johnston  
13228
 
13229
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
13230
        initializing a struct _reent that has been dynamically allocated.
13231
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
13232
        _REENT_SMALL and does nothing otherwise.
13233
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
13234
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
13235
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
13236
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
13237
        [_REENT_SMALL](struct _misc_reent): New structure containing
13238
        miscellaneous reentrant areas needed by newlib.
13239
        [_REENT_SMALL](struct _reent): Add _misc pointer.
13240
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
13241
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
13242
        and _REENT_STRTOK_LAST macros.
13243
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
13244
        and _REENT_MBLEN_STATE macros.
13245
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
13246
        and _REENT_MBTOWC_STATE macros.
13247
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
13248
        and _REENT_WCTOMB_STATE macros.
13249
 
13250
2002-04-01  Till Straumann 
13251
 
13252
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
13253
 
13254
Wed Mar 27 07:34:44 2002  Jason Tishler 
13255
 
13256
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
13257
 
13258
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
13259
 
13260
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
13261
        Store high part of leading bytes too.
13262
 
13263
2002-03-22  Richard Sandiford  
13264
 
13265
        * libm/math/ef_hypot.c: Increase scale factor to 68.
13266
 
13267
2002-03-13  Alexandre Oliva  
13268
 
13269
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
13270
        error.
13271
 
13272
2002-03-12  Jeff Johnston  
13273
 
13274
        * libc/sys/go32/access.c: Change license to relaxed license
13275
        used in identical file throughout newlib/libgloss.
13276
 
13277
2002-03-12  Richard Earnshaw  
13278
 
13279
        * libc/sys/arm/access.c: New file.
13280
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
13281
        * libc/sys/arm/Makefile.in: Regenerate.
13282
        * libc/sys/arm/syscalls.c (_stat): New function.
13283
 
13284
2002-03-11  Michael Meissner  
13285
 
13286
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
13287
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
13288
        * libc/machine/mips/Makefile.in: Regenerate.
13289
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
13290
        * libc/machine/mips/memset.c: Dito.
13291
        * libc/machine/mips/strcmp.c: Dito.
13292
        * libc/machine/mips/strlen.c: Dito.
13293
        * libc/machine/mips/strncmp.c: Dito.
13294
 
13295
2002-03-06  Jeff Johnston  
13296
 
13297
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
13298
        object so it works for shared library or statici library.
13299
2002-04-17  Jeff Johnston  
13300
 
13301
        *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
13302
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
13303
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
13304
        (tzname): Defined for all platforms.
13305
        (daylight, timezone): Defined only for CYGWIN.
13306
        *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
13307
        environment set up.
13308
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
13309
        environment variable is set.
13310
        *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
13311
        tzset_r.c.
13312
        *  libc/time/Makefile.in: Regenerated.
13313
        *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
13314
        *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
13315
        *  libc/time/lcltime_r.c (lcltime_r): Ditto.
13316
        *  libc/time/local.h: New local header file.
13317
        *  libc/time/mktime.c (mktime): Add timezone support.
13318
        *  libc/time/mktm_r.c: New file which is the common engine
13319
        for gmtime_r and lcltime_r.  This code has timezone support.
13320
        *  libc/time/strftime.c (strftime): Add %Z timezone support.
13321
        *  libc/time/tzlock.c: New file containing timezone lock stubs.
13322
        *  libc/time/tzset.c: New file containing tzset() routine.
13323
        *  libc/time/tzset_r.c: New file containing _tzset_r and
13324
        internal routine for calculating timezone changes for specified year.
13325
 
13326
2002-04-17  Thomas Fitzsimmons  
13327
 
13328
        * configure.in (CRT0_DIR): Set to libc/.
13329
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
13330
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
13331
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
13332
        $(CRT1_DIR)/$(CRT1).
13333
        * libc/machine/xstormy16/Makefile.in: Regenerated.
13334
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
13335
        * libc/machine/xstormy16/configure: Regenerated.
13336
 
13337
2002-04-13  Alexandre Oliva  
13338
 
13339
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
13340
        fails, don't bail out, and try to correct next time.
13341
 
13342
        * libc/include/sys/config.h: Include limits.h.
13343
 
13344
2002-04-12  Eric Norum  
13345
 
13346
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
13347
        routine to allow autoconf to determine that building executables
13348
        for rtems works.
13349
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
13350
        (rtems_gxx_mutex_once): Ditto.
13351
 
13352
2002-04-09  Tom Rix  
13353
 
13354
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
13355
 
13356
2002-04-09  Mark Bradshaw  
13357
 
13358
        * libc/include/time.h: Fix strptime declaration.
13359
        * libc/time/Makefile.am: Add strptime.c.
13360
        * libc/time/Makefile.in: Regenerated.
13361
        * libc/time/strptime.c: New file.
13362
 
13363
2002-04-08  Jeff Johnston  
13364
 
13365
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
13366
        siglongjmp prototype, and sigsetjmp macro definition.
13367
        * libc/sys/linux/siglongjmp.c: New file.
13368
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
13369
        * libc/sys/linux/Makefile.in: Regenerated.
13370
 
13371
2002-04-04  Jeff Johnston  
13372
 
13373
        * Makefile.am: Add support for installing crt1.o if one exists.
13374
        * configure.host: Specify crt1.o for linux.
13375
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
13376
        * Makefile.in: Regenerated.
13377
        * configure: Ditto.
13378
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
13379
        Added for non-Cygwin, non-RTEMS configurations.
13380
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
13381
        * libc/sys/linux/Makefile.in: Regenerated.
13382
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
13383
        by gcc.  This fixes problem with reconfiguring linux newlib build.
13384
        * libc/sys/linux/sysconf.c: New file.
13385
 
13386
2002-04-03  Jeff Johnston  
13387
 
13388
        * configure.host: Add support for machine subdirectory of
13389
        sys subdirectory.
13390
        * configure.in: Add check for sys machine subdirectory.
13391
        * Makefile.am: Ditto.
13392
        * configure: Regenerated.
13393
        * Makefile.in: Ditto.
13394
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
13395
        * libc/sys/linux/sys/syscall.h: Ditto.
13396
        * libc/sys/linux/sleep.c: New file.
13397
        * libc/sys/linux/socket.c: Ditto.
13398
        * libc/sys/linux/sockops.h: Ditto.
13399
        * libc/sys/linux/stack.c: Ditto.
13400
        * libc/sys/linux/usleep.c: Ditto.
13401
        * libc/sys/linux/machine/Makefile.am: Ditto.
13402
        * libc/sys/linux/machine/Makefile.in: Ditto.
13403
        * libc/sys/linux/machine/aclocal.m4: Ditto.
13404
        * libc/sys/linux/machine/configure: Ditto.
13405
        * libc/sys/linux/machine/configure.in: Ditto.
13406
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
13407
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
13408
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
13409
        * libc/sys/linux/machine/i386/configure: Ditto.
13410
        * libc/sys/linux/machine/i386/configure.in: Ditto.
13411
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
13412
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
13413
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
13414
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
13415
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
13416
        * libc/sys/linux/sys/select.h: Ditto.
13417
        * libc/sys/linux/configure.in: Add support for machine directory.
13418
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
13419
        * libc/sys/linux/Makefile.in: Regenerated.
13420
        * libc/sys/linux/configure: Ditto.
13421
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
13422
        * libc/sys/linux/inode.c: Ditto.
13423
        * libc/sys/linux/linux.c: Ditto.
13424
        * libc/sys/linux/process.c: Ditto.
13425
        * libc/sys/linux/systat.c: Ditto.
13426
        * libc/sys/linux/time.c: Ditto.
13427
        * libc/sys/linux/wait.c: Ditto.
13428
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
13429
        * libc/sys/linux/io.c: Change header plus add readv/writev.
13430
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
13431
        use __sigsuspend syscall.
13432
        * libc/sys/linux/select.c: Change header plus change select to
13433
        use _newselect syscall.
13434
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
13435
        used by glibc header files.
13436
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
13437
        types.
13438
 
13439
2002-04-01  Jeff Johnston  
13440
 
13441
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
13442
        initializing a struct _reent that has been dynamically allocated.
13443
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
13444
        _REENT_SMALL and does nothing otherwise.
13445
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
13446
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
13447
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
13448
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
13449
        [_REENT_SMALL](struct _misc_reent): New structure containing
13450
        miscellaneous reentrant areas needed by newlib.
13451
        [_REENT_SMALL](struct _reent): Add _misc pointer.
13452
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
13453
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
13454
        and _REENT_STRTOK_LAST macros.
13455
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
13456
        and _REENT_MBLEN_STATE macros.
13457
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
13458
        and _REENT_MBTOWC_STATE macros.
13459
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
13460
        and _REENT_WCTOMB_STATE macros.
13461
 
13462
2002-04-01  Till Straumann 
13463
 
13464
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
13465
 
13466
Wed Mar 27 07:34:44 2002  Jason Tishler 
13467
 
13468
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
13469
 
13470
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
13471
 
13472
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
13473
        Store high part of leading bytes too.
13474
 
13475
2002-03-22  Richard Sandiford  
13476
 
13477
        * libm/math/ef_hypot.c: Increase scale factor to 68.
13478
 
13479
2002-03-13  Alexandre Oliva  
13480
 
13481
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
13482
        error.
13483
 
13484
2002-03-12  Jeff Johnston  
13485
 
13486
        * libc/sys/go32/access.c: Change license to relaxed license
13487
        used in identical file throughout newlib/libgloss.
13488
 
13489
2002-03-12  Richard Earnshaw  
13490
 
13491
        * libc/sys/arm/access.c: New file.
13492
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
13493
        * libc/sys/arm/Makefile.in: Regenerate.
13494
        * libc/sys/arm/syscalls.c (_stat): New function.
13495
 
13496
2002-03-11  Michael Meissner  
13497
 
13498
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
13499
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
13500
        * libc/machine/mips/Makefile.in: Regenerate.
13501
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
13502
        * libc/machine/mips/memset.c: Dito.
13503
        * libc/machine/mips/strcmp.c: Dito.
13504
        * libc/machine/mips/strlen.c: Dito.
13505
        * libc/machine/mips/strncmp.c: Dito.
13506
 
13507
2002-03-06  Jeff Johnston  
13508
 
13509
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
13510
        object so it works for shared library or statici library.
13511
        * libc/machine/i386/Makefile.in: Regenerated.
13512
 
13513
Wed Mar  6 10:24:26 2002  J"orn Rennecke 
13514
 
13515
        * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
13516
        Add memcpy.S, memset.S and strcpy.S.
13517
        * libc/machine/sh/Makefile.in: Regenerate.
13518
        * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
13519
        (SHHI, SHLO): Define.
13520
        * libc/machine/sh/memset.S: Add code for SH5.
13521
        * libc/machine/sh/memset.S: Likewise.
13522
        * libc/machine/sh/strcpy.S: Likewise.
13523
 
13524
2002-02-27  Jeff Johnston  
13525
 
13526
        * configure.host: Add check for --disable-newlib-io-float
13527
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
13528
        if appropriate.
13529
        * acinclude.m4: Added --disable-newlib-io-float option.
13530
        * aclocal.m4: Regenerated.
13531
        * configure: Ditto.
13532
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
13533
        * libc/*/aclocal.m4 libc/*/configure
13534
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
13535
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
13536
        if NO_FLOATING_POINT flag is not defined.
13537
 
13538
2002-02-25  Jeff Johnston  
13539
 
13540
        * libc/include/sys/config.h: Add __extension__ in front of
13541
        long long references.
13542
 
13543
2002-02-23  Corinna Vinschen  
13544
 
13545
        * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
13546
        (_stat): Ditto.
13547
 
13548
2002-02-23  Corinna Vinschen  
13549
 
13550
        * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
13551
        of off_t.
13552
 
13553
2002-02-20  Nick Clifton  
13554
 
13555
        * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
13556
        clobbered registers.
13557
 
13558
2002-02-19  Thomas Fitzsimmons  
13559
 
13560
        * configure.host (newlib_cflags): When host is in m68* add
13561
        -DCOMPACT_CTYPE.
13562
 
13563
2002-02-15  Jeff Johnston  
13564
 
13565
        * libc/include/sys/config.h: Add definitions for
13566
        __int16_t, __uint16_t, __int64_t, and __uint64_t.
13567
 
13568
2002-02-12  Hans-Peter Nilsson  
13569
 
13570
        * libc/sys/mmixware/link.c: New.
13571
        * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
13572
        volatile.
13573
        * libc/sys/mmixware/times.c (_times): Renamed from times.
13574
        * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
13575
        properly by reading previous contents, not through BinaryReadWrite.
13576
        * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
13577
        * libc/sys/mmixware/Makefile.in: Regenerate.
13578
 
13579
2002-02-10  Corinna Vinschen  
13580
 
13581
        * libc/include/grp.h: Don't declare group functions when compiling
13582
        Cygwin.
13583
 
13584
2002-02-09  Corinna Vinschen  
13585
 
13586
        * libc/include/grp.h: Include Cygwin specific header.
13587
        * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
13588
        when compiling for Cygwin.
13589
        * libc/include/sys/types.h: Don't define off_t, uid_t
13590
        and gid_t when compiling for Cygwin.
13591
 
13592
2002-02-08  matthew green  
13593
 
13594
        * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
13595
        _REENT_EMERGENCY_SIZE, not sizeof(char *).
13596
 
13597
2002-02-08  Alexandre Oliva  
13598
 
13599
        Contribute sh64-elf.
13600
        2001-03-13  Alexandre Oliva  
13601
        * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
13602
        support in printf.
13603
        2001-01-29  Alexandre Oliva  
13604
        * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
13605
        any labels.
13606
        2001-01-24  Alexandre Oliva  
13607
        * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
13608
        2000-12-16  Alexandre Oliva  
13609
        * libc/machine/sh/configure.in: Rework conditionals.
13610
        * libc/machine/sh/Makefile.am: Likewise.
13611
        * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
13612
        2000-12-01  Alexandre Oliva  
13613
        * configure.host: Match `sh*'.
13614
        * libc/include/machine/setjmp.h: Define for SH5.
13615
        * libc/machine/sh/configure.in: Detect SH5.
13616
        * libc/machine/sh/configure: Rebuilt.
13617
        * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
13618
        * libc/machine/sh/Makefile.in: Rebuilt.
13619
        * libc/machine/sh/asm.h: Adjust for SH5.
13620
        * libc/machine/sh/setjmp.S: Implement in SHmedia.
13621
        * libc/sys/sh/crt0.S: Likewise.
13622
        * libc/sys/sh/trap.S: Likewise.
13623
 
13624
2002-02-07  Jeff Johnston  
13625
 
13626
        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
13627
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
13628
        (LIB_SOURCES): Remove $(mach_add_src).
13629
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
13630
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
13631
        * libc/machine/i386/Makefile.in: Regenerate.
13632
 
13633
2002-02-05  Manik Raina 
13634
 
13635
        * libc/misc/dprintf.c (parse_number): #if 0 unused function.
13636
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
13637
        s, p, k, and outstr.
13638
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
13639
 
13640
2002-02-04  Jeff Johnston  
13641
 
13642
        * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
13643
        _REENT_CHECK_EMERGENCY macro.
13644
 
13645
2002-02-03  matthew green  
13646
 
13647
        * libc/reent/signgam.c (__signgam): Fix error in previous.
13648
 
13649
2002-02-02  matthew green  
13650
 
13651
        * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
13652
 
13653
        * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
13654
        * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
13655
        * libc/include/sys/reent.h (struct _reent): Completely new version
13656
        for _REENT_SMALL.
13657
        (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
13658
        (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
13659
        (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
13660
        (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
13661
        (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
13662
        (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
13663
        (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
13664
        (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
13665
        (_REENT_EMERGENCY): Likewise.
13666
 
13667
        * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
13668
        the start of the real __sFILE, used for stdin, stdout and stderr until
13669
        they are setup properly.
13670
        (struct __sFILE): Move location of _data in _REENT_SMALL case.
13671
        * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
13672
        allocated stdin, stdout and stderr.
13673
        * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
13674
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
13675
        * libc/stdio/perror.c (_perror_r): Likewise.
13676
        * libc/stdio/printf.c (printf, _printf_r): Likewise.
13677
        * libc/stdio/putchar.c (_putchar_r): Likewise.
13678
        * libc/stdio/puts.c (_puts_r): Likewise.
13679
        * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
13680
        * libc/stdio/vprintf.c (vprintf): Likewise.
13681
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
13682
 
13683
        * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
13684
 
13685
        * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
13686
        * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
13687
        for _REENT_SMALL.
13688
        * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
13689
        * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
13690
 
13691
        * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
13692
        _REENT_SMALL.
13693
        * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
13694
        * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
13695
        * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
13696
        * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
13697
        * libc/stdlib/rand48.c (__dorand48): Likewise.
13698
        * libc/stdlib/seed48.c (_seed48_r): Likewise.
13699
        * libc/stdlib/srand48.c (_srand48_r): Likewise.
13700
        * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
13701
        as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
13702
        * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
13703
        _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
13704
        * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
13705
        * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
13706
        * libc/stdlib/rand.c (rand): Likewise.
13707
 
13708
        * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
13709
        * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
13710
 
13711
        * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
13712
        _REENT_MP_FREELIST() and _REENT_MP_P5S.
13713
        * libc/include/sys/reent.h (struct _mprec): New structure.
13714
 
13715
        * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
13716
        _unused_strtok_last.
13717
        * libc/string/strtok.c (strtok): Use a local static variable.
13718
 
13719
        * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
13720
        (_REENT_EMERGENCY_SIZE): Likewise.
13721
        * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
13722
        _REENT_ASCTIME_BUF().
13723
        * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
13724
        _REENT_TM().
13725
 
13726
        * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
13727
        * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
13728
        * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
13729
        * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
13730
        * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
13731
        * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
13732
 
13733
2002-02-01  Geoffrey Keating  
13734
 
13735
        * configure.host (xstormy16): Don't use the generic malloc.
13736
        * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
13737
        * libc/machine/xstormy16/Makefile.in: Regenerate.
13738
        * libc/machine/xstormy16/mallocr.c: New file.
13739
        * libc/machine/xstormy16/tiny-malloc.c: New file.
13740
 
13741
2002-01-28  Thomas Fitzsimmons  
13742
 
13743
        * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
13744
        when _CYGWIN_TYPES_H is not defined.
13745
 
13746
2002-01-24  Thomas Fitzsimmons  
13747
 
13748
        * libc/include/sys/signal.h: Revert 2002-01-23 change.
13749
 
13750
2002-01-23  Thomas Fitzsimmons  
13751
 
13752
        * libc/include/sys/signal.h: Remove pthread_kill declaration
13753
        when __CYGWIN__ is defined.
13754
 
13755
2002-01-18  Mark Bradshaw  
13756
 
13757
        * libc/include/time.h: Add prototype for strptime for Cygwin.
13758
 
13759
2002-01-17  Nick Clifton  
13760
 
13761
        * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
13762
        dst was not word aligned.
13763
 
13764
        * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
13765
        if too much memory is requested.
13766
 
13767
2002-01-11 Jeff Johnston  
13768
 
13769
        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
13770
        reads blanks from the input file to break if EOF reached
13771
        rather than end processing.
13772
 
13773
2002-01-07 Jeff Johnston  
13774
 
13775
        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
13776
 
13777
2002-01-07 Alan Matsuoka 
13778
 
13779
        * libc/include/machine/ieeefp.h: Configure d10v doubles to
13780
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
13781
        libc/include/sys/config.h: Ditto.
13782
 
13783
2001-12-28  Corinna Vinschen  
13784
 
13785
        * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
13786
 
13787
2001-12-22  Geoffrey Keating  
13788
            Catherine Moore  
13789
            Richard Henderson  
13790
            Corinna Vinschen  
13791
 
13792
        * configure.host: Add support for xstormy16.
13793
        * libc/include/machine/ieeefp.h: Add support for xstormy16.
13794
        * libc/include/machine/setjmp.h: Add support for xstormy16.
13795
        * libc/include/sys/config.h: Add support for xstormy16.
13796
        * libc/machine/xstormy16/Makefile.am: New file.
13797
        * libc/machine/xstormy16/Makefile.in: New file.
13798
        * libc/machine/xstormy16/aclocal.m4: New file.
13799
        * libc/machine/xstormy16/configure: New file.
13800
        * libc/machine/xstormy16/configure.in: New file.
13801
        * libc/machine/xstormy16/setjmp.S: New file.
13802
 
13803
2001-12-19  Thomas Fitzsimmons  
13804
 
13805
        * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
13806
        * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
13807
 
13808
2001-12-19  Corinna Vinschen  
13809
 
13810
        * libm/machine/Makefile.am: Change rules to create correct lib.a.
13811
        * libm/machine/Makefile.in: Regenerated through automake.
13812
 
13813
2001-12-18  Thomas Fitzsimmons  
13814
 
13815
        * Makefile.am (DOCDIR): Force to empty string when doc
13816
        directory is not present.
13817
 
13818
2001-12-18  Thomas Fitzsimmons  
13819
 
13820
        * libc/machine/i386/f_*: Move to libm/machine/i386.
13821
 
13822
2001-12-18      Joel Sherrill 
13823
 
13824
        * libm/machine/Makefile.am: Add dummy doc stub so
13825
        "make info" works.
13826
 
13827
2001-12-17      Joel Sherrill 
13828
 
13829
        * libc/include/sys/types.h (ino_t): RTEMS uses long also.
13830
 
13831
2001-12-17  Thomas Fitzsimmons  
13832
 
13833
        * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
13834
        $(COMPILE) rather than $(CC).
13835
        * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
13836
        (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
13837
        $(LIB_COMPILE) change.
13838
        (vfiprintf.$(oext)): Likewise.
13839
 
13840
2001-12-17  Corinna Vinschen  
13841
 
13842
        * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
13843
        conditionalized including of getopt stuff.
13844
 
13845
2001-12-14  Thomas Fitzsimmons  
13846
 
13847
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
13848
        compile line.
13849
        (vfiprintf.$(oext)): Likewise.
13850
 
13851
2001-12-13  Thomas Fitzsimmons  
13852
 
13853
        * Makefile.shared: New file.
13854
        * libc/sys/linux/shared.ld: New file.
13855
        * libm/machine/*: New files.
13856
        * libm/machine/i386/*: New files.
13857
        * Makefile.am: Add libtool support.  Change math and mathfp
13858
        references to variables.
13859
        * configure.host: Add variables for libtool support.  Add
13860
        libm_machine_dir variable.
13861
        * configure.in: Add objectlist variables, for libtool
13862
        support.  Add CC_FOR_BUILD tests.
13863
        * libc/Makefile.am: Add libtool support.  Change crt0.o
13864
        reference to be a variable reference.
13865
        * libc/configure.in: Add libtool support.  Change sublib
13866
        names to be lib${subdir}.la when using libtool.
13867
        * libc/ctype/Makefile.am: Add libtool support.
13868
        * libc/errno/Makefile.am: Likewise.
13869
        * libc/locale/Makefile.am: Likewise.
13870
        * libc/machine/Makefile.am: Likewise.
13871
        * libc/machine/configure.in: Likewise.
13872
        * libc/machine/i386/Makefile.am: Likewise.
13873
        * libc/machine/i386/configure.in: Likewise.
13874
        * libc/misc/Makefile.am: Likewise.
13875
        * libc/posix/Makefile.am: Likewise.
13876
        * libc/reent/Makefile.am: Likewise.
13877
        * libc/signal/Makefile.am: Likewise.
13878
        * libc/stdio/Makefile.am: Likewise.
13879
        * libc/stdlib/Makefile.am: Likewise.
13880
        * libc/string/Makefile.am: Likewise.
13881
        * libc/sys/Makefile.am: Likewise.
13882
        * libc/sys/configure.in: Likewise.
13883
        * libc/sys/linux/Makefile.am: Add libtool support.  Change
13884
        awk reference to a variable reference.  Change signal.h
13885
        reference to a variable reference.
13886
        * libc/sys/linux/configure.in: Add libtool support.
13887
        * libc/syscalls/Makefile.am: Likewise.
13888
        * libc/time/Makefile.am: Likewise.
13889
        * libc/unix/Makefile.am: Likewise.
13890
        * libm/Makefile.am: Add libtool support.  Change math and
13891
        mathfp references to variables.
13892
        * libm/configure.in: Add libtool support.  Add
13893
        LIBM_MACHINE_LIB variable.
13894
        * libm/common/Makefile.am: Add libtool support.
13895
        * libm/math/Makefile.am: Likewise.
13896
        * libm/mathfp/Makefile.am: Likewise.
13897
        Regenerate all Makefile.in, aclocal.m4, and configure.
13898
 
13899
2001-12-13 Anita Kulkarni 
13900
 
13901
        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
13902
 
13903
2001-12-06  John Peacock 
13904
 
13905
        * libc/include/sys/unistd.h: Correct ualarm declaration.
13906
 
13907
2001-12-05  Nick Clifton  
13908
 
13909
        * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
13910
        vector before calling the initialisation functions.
13911
 
13912
2001-11-29  Christopher Faylor  
13913
 
13914
        * libc/include/dirent.h: Protect against multiple inclusion.
13915
 
13916
2001-11-27  Christopher Faylor  
13917
 
13918
        * libc/include/sys/types.h: Define useconds_t.
13919
        * libc/include/sys/ulimit.h: Declare ualarm.
13920
 
13921
2001-11-21  Christopher Faylor  
13922
 
13923
        * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
13924
 
13925
2001-11-19  Hans-Peter Nilsson  
13926
 
13927
        * libc/sys/mmixware/*: Tweak license header in all source files.
13928
 
13929
2001-11-12  Corinna Vinschen  
13930
 
13931
        * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
13932
        to here.  Rearrange for general inclusion by stdlib.h.
13933
        * libc/include/stdlib.h: Include  if __STRICT_ANSI__
13934
        isn't defined.
13935
        * libc/sys/linux/include/alloca.h: Move to libc/include.
13936
 
13937
2001-11-12  Anthony Green  
13938
 
13939
        * libc/sys/arm/crt0.S (__stack_base__): New symbol.
13940
 
13941
2001-11-13  Hans-Peter Nilsson  
13942
 
13943
        * libc/sys/mmixware/*: Correct spacing in all source files.
13944
        * libc/sys/mmixware/syscall.h: Move misplaced file...
13945
        * libc/sys/mmixware/sys/syscall.h: ...here.
13946
 
13947
2001-11-12  Hans-Peter Nilsson  
13948
 
13949
        * libc/include/machine/ieeefp.h: Add support for mmix target.
13950
        * libc/include/machine/setjmp.h: Ditto.
13951
        * configure.host: Ditto.
13952
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
13953
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
13954
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
13955
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
13956
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
13957
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
13958
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
13959
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
13960
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
13961
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
13962
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
13963
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
13964
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
13965
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
13966
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
13967
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
13968
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
13969
        libc/sys/mmixware/aclocal.m4: Generate.
13970
 
13971
2001-11-05  Corinna Vinschen  
13972
 
13973
        * libc/include/sys/unistd.h: Add prototypes for endusershell(),
13974
        getusershell(), iruserok(), revoke(), ruserok() and setusershell()
13975
        when __CYGWIN__ is defined.
13976
        * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
13977
        logwtmp().
13978
 
13979
2001-11-01  Arati Dikey  
13980
 
13981
        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
13982
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
13983
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
13984
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
13985
 
13986
2001-10-24  Christopher Faylor  
13987
 
13988
        * libc/stdio/fseek.c: Reset pointer to buffer base
13989
        when forced to seek outside of current buffer contents.
13990
        This prevents the code from erroneously thinking there is
13991
        anything in the current buffer.
13992
 
13993
2001-10-22  Geoffrey Keating  
13994
 
13995
        * libc/include/math.h: The C++ standard adds the single-precision
13996
        versions of the elementary functions.
13997
 
13998
2001-10-22  Christopher Faylor  
13999
 
14000
        * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
14001
        throughout.
14002
        * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
14003
        * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
14004
        * system.c (_system_r): Ditto.
14005
 
14006
2001-10-17  Corinna Vinschen  
14007
 
14008
        * libc/include/sys/unistd.h: Add prototype for fchdir() when
14009
        __CYGWIN__ or __rtems__ is defined.
14010
 
14011
2001-10-01  Charles Wilson  
14012
 
14013
        * libc/include/stdlib.h: add declarations for
14014
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
14015
        * libc/stdio/local.h: remove declarations of
14016
        __strtoull_r and __strtoll_r.
14017
        * libc/stdio/vfscanf.c(__svfscanf_r): call
14018
        _strtoull_r instead of __strtoull_r. Ditto
14019
        _strtoll_r vs. __strtoll_r.
14020
        * libc/stdlib/Makefile.am: add new files to
14021
        .c list and .def list
14022
        * libc/stdlib/Makefile.in: regenerate
14023
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
14024
        as _strtoll_r
14025
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
14026
        as _strtoull_r
14027
        * libc/stdlib/strtoull.c: new file
14028
        * libc/stdlib/strtoll.c: new file
14029
 
14030
Mon Sep 17 17:29:47 2001  Christopher Faylor 
14031
 
14032
        * libc/include/process.h: Add getpid() declaration.
14033
 
14034
2001-09-14  Nick Clifton  
14035
 
14036
        * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
14037
        for new style arm/elf ctor/dtor handling.
14038
        Minor formatting tidy up.
14039
 
14040
2001-09-13  Jeff Johnston  
14041
 
14042
        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
14043
        and strtoull_r.c.
14044
        * libc/stdlib/Makefile.in: Regenerated.
14045
        * libc/stdlib/strtoll_r.c: New file.
14046
        * libc/stdlib/strtoull_r.c: New file.
14047
        * libc/stdio/local.h: Add prototypes for long long string
14048
        conversion routines.
14049
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
14050
        tied to %L integer conversion specifier.
14051
 
14052
Thu Sep 13 08:49:49 2001  Jason Tishler 
14053
 
14054
        * strftime.c (strftime): Fix "%W" implementation to properly handle
14055
        Mondays too.
14056
 
14057
2001-09-07  Jeff Law  
14058
 
14059
        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
14060
        __fini with "mov.l" instead of "mov.w".
14061
 
14062
2001-09-05  Corinna Vinschen  
14063
 
14064
        * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
14065
        and getopt.h.
14066
 
14067
2001-09-04  Jason Merrill  
14068
 
14069
        * libc/sys/h8300hms/crt0.S: Support ELF initialization.
14070
 
14071
2001-09-03  Corinna Vinschen  
14072
 
14073
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
14074
        field.
14075
        (__DIRENT_VERSION): New define.
14076
 
14077
2001-09-03  Corinna Vinschen  
14078
 
14079
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
14080
        Shrink __d_reserved accordingly to keep structure size.
14081
        (dirfd): Declare external.
14082
 
14083
2001-08-29  Joel Sherrill 
14084
 
14085
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
14086
 
14087
2001-08-29  Ralf Corsepius 
14088
 
14089
        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
14090
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
14091
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
14092
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
14093
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
14094
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
14095
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
14096
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
14097
        Add conditional compilation to avoid HW FPU instructions
14098
        when compiled for soft-float.
14099
 
14100
2001-08-29  Jeff Johnston  
14101
 
14102
        * Makefile.am: Add check for ln failing when creating libg.a
14103
        so that cp gets used as a backup.
14104
        * Makefile.in: Regenerated.
14105
 
14106
2001-08-29  Jeff Johnston  
14107
 
14108
        * libc/include/sys/reent.h: Add include of .
14109
        No longer include time.h.  Add struct __tm to use for
14110
        _localtime_buf in the reentrant structure.  Add a
14111
        _NULL definition to use in initializing the reentrant struct.
14112
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
14113
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
14114
        .
14115
        * libc/include/sys/unistd.h: Include .
14116
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
14117
        _localtime_buf to be struct tm *.
14118
 
14119
Wed Aug 29 14:17:38 2001  J"orn Rennecke 
14120
 
14121
        * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
14122
        * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
14123
        __ctors_end.
14124
        * libc/sys/h8300hms/syscalls.c: Include errno.h.
14125
        (_unlink): New stub function.
14126
 
14127
Sat Aug 25 22:22:25 2001  Christopher Faylor 
14128
 
14129
        * libc/include/sys/errno.h: Add a cautionary comment.
14130
 
14131
2001-08-21  Jeff Johnston  
14132
 
14133
        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
14134
        for SIZE_SZ so that alignment ends up a minimum of 8.
14135
 
14136
Mon Aug 13 22:26:01 2001  Christopher Faylor 
14137
 
14138
        * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
14139
        arguments.
14140
 
14141
        * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
14142
        Cygwin.
14143
 
14144
2001-08-13  Jeff Johnston  
14145
 
14146
        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
14147
        macro constants for mallopt options.
14148
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
14149
 
14150
2001-08-02  Jeff Johnston  
14151
 
14152
        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
14153
        otherwise default.
14154
 
14155
2001-07-12  Aldy Hernandez  
14156
 
14157
        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
14158
 
14159
2001-06-27  Nick Clifton  
14160
 
14161
        * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
14162
        Define for little endian ARMs.
14163
 
14164
        * libc/stdlib/mprec.h (Storeinc): Use little endian version if
14165
        __IEEE_BYTES_LITTLE_ENDIAN is defined.
14166
 
14167
2001-06-11  Danny Smith  
14168
 
14169
        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
14170
 
14171
2001-06-11  Egor Duda  
14172
 
14173
        * libc/ctype/ctype_.c: When compiled with gcc on platforms
14174
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
14175
        initialized memory region. Platform can define COMPACT_CTYPE
14176
        to avoid allocation of the additional 128 bytes of data.
14177
        Add pointer to _ctype_ array. Always initialize all _ctype_
14178
        array elements.
14179
 
14180
2001-06-08  Jonathan Larmour  
14181
 
14182
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
14183
        NULL pointer.
14184
 
14185
2001-05-28  Nick Clifton  
14186
 
14187
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
14188
 
14189
2001-05-25  Nick Clifton  
14190
 
14191
        * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
14192
        matching, non-word alignment, and the length is <= 4 but more than
14193
        enough to move them over a word boundary.
14194
        Add comments explaining what each instruction does.
14195
 
14196
Mon May  7 20:39:25 2001  Christopher Faylor 
14197
 
14198
        * libc/include/sys/stat.h: Revert March 3, Cygwin change.
14199
        * libc/include/sys/unistd.h: Ditto.
14200
 
14201
2001-05-04  Earnie Boyd  
14202
 
14203
        * libc/string/strrchr.c: Use strchr for the speed improvements.
14204
 
14205
2001-05-01  Jeff Johnston  
14206
 
14207
        * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
14208
        real file systems, let __smakebuf() determine if line buffering
14209
        should be used for stdout.
14210
 
14211
2001-04-27  Jeff Johnston  
14212
 
14213
        * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
14214
 
14215
2001-04-27  Jeff Johnston  
14216
 
14217
        * libc/include/stdlib.h: Add prototype for _strtod_r.
14218
 
14219
2001-04-24  Charles Wilson  
14220
 
14221
        * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
14222
        * libc/stdio/vprintf.c (_vprintf_r): new function
14223
        * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
14224
        * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
14225
        _DEFUN, and call _vfprintf_r, not vfprintf.
14226
        * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
14227
        * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
14228
        _DEFUN, and call _vfprintf_r, not vfprintf.
14229
 
14230
2001-04-22  Earnie Boyd  
14231
 
14232
        * libc/include/sys/unistd.h [X_OK]: Use better protection against
14233
        Cygwin X_OK definitions in sys/file.h.
14234
 
14235
Fri Apr 20 23:17:51 2001  Christopher Faylor 
14236
 
14237
        * libc/include/sys/time.h: Define timercmp and other macros for
14238
        __CYGWIN__, too.
14239
 
14240
2001-04-20  Jeff Johnston  
14241
 
14242
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
14243
        * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
14244
        --enable-malloc-debugging selected.
14245
        * aclocal.m4 configure: Regenerated.
14246
          libm/aclocal.m4 libm/configure: Ditto.
14247
        * libc/aclocal.m4 libc/configure: Ditto.
14248
        * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
14249
        * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
14250
        * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
14251
        * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
14252
        * doc/aclocal.m4 doc/configure: Ditto.
14253
 
14254
2001-04-20  Jeff Johnston  
14255
 
14256
        * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
14257
        into one list.
14258
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
14259
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
14260
        function prototypes.
14261
        (_fscanf_r, _sscanf_r): Ditto.
14262
        * libc/include/stdlib.h: Added _strtod_r prototype.
14263
        * libc/stdio/Makefile.am: Add new v*scanf functions.
14264
        * libc/stdio/Makefile.in: Regenerate.
14265
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
14266
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
14267
        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
14268
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
14269
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
14270
        (_sscanf_r): New routine.
14271
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
14272
        with __svfscanf_r prototype.
14273
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
14274
        routines.
14275
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
14276
        structure as argument as calls reentrant versions of helper functions
14277
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
14278
        to _strtol_r and _strtod_r respectively.
14279
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
14280
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
14281
        _REENT argument.
14282
        * libc/stdio/vscanf.c: New file.
14283
        * libc/stdio/vsscanf.c: Ditto.
14284
 
14285
2001-04-19  Robert Collins  
14286
 
14287
        * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
14288
        Define daylight to _daylight if it is not defined
14289
        Prepare a variable export of timezone based on timezonevariable.
14290
        (Cannot be used with the timezone() function.)
14291
 
14292
2001-04-17  Stephen L. Moshier  
14293
 
14294
        * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
14295
         Correct the numerical values.
14296
 
14297
2001-04-13  Robert Collins 
14298
 
14299
        * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
14300
 
14301
Thu Apr 12 23:11:00 2001  Corinna Vinschen 
14302
 
14303
        * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
14304
        on case insensitve file systems.
14305
 
14306
2001-04-12  Robert Collins 
14307
 
14308
        * libc/include/sys/features.h: Add appropriate defines for Cygwin
14309
        pthread support.
14310
        * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
14311
        * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
14312
        types.  Include  for the cygwin specific typedefs.
14313
 
14314
2001-04-04  Richard Sandiford  
14315
 
14316
        * libc/include/machine/ieeefp.h: Comment about new configuration
14317
        macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
14318
        * libm/common/fdlib.h: Define new macros for testing floats.
14319
        * libm/common/sf_*: Use them.
14320
        * libm/math/ef_*: Likewise.
14321
        * libm/math/sf_*: Likewise.
14322
 
14323
2001-03-29  Jeff Johnston  
14324
 
14325
        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
14326
        prolog to by-pass possible assembler error.
14327
 
14328
2001-03-21  Egor Duda  
14329
 
14330
        Allow building internal stubs for non-reentrant syscalls
14331
        if target provides its own malloc
14332
        * libc/reent/reent.c (errno): Move definition here.
14333
        * libc/reent/sbrkr.c: From here.
14334
 
14335
2001-03-20  Danny Smith 
14336
 
14337
        * libc/include/sys/types.h (BSD int typedefs): Guard with
14338
        _BSDTYPES_DEFINED rather than _WINSOCK_H.
14339
        (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
14340
        _SYS_TYPES_FD_SET.
14341
        * libc/include/sys/unistd.h (gethostname): Don't declare if defined
14342
        (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
14343
 
14344
Sat Mar 17 18:30:00 2001  Corinna Vinschen 
14345
 
14346
        * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
14347
        _PC_POSIX_SECURITY constants for Cygwin.
14348
 
14349
Wed Mar 14  9:34:00 2001  Corinna Vinschen 
14350
 
14351
        * libc/sys/cygwin/crt0.c: Add copyright hint.
14352
        * libc/sys/cygwin/sys/dirent.h: Ditto.
14353
        * libc/sys/cygwin/sys/param.h: Ditto.
14354
        * libc/sys/cygwin/sys/utime.h: Ditto.
14355
        * libc/sys/cygwin/sys/utmp.h: Ditto.
14356
 
14357
2001-03-13  Alexandre Oliva  
14358
 
14359
        * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
14360
        equivalent to LONGINT.
14361
 
14362
2001-03-08  Richard Sandiford  
14363
 
14364
        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
14365
        jmpbuf on MIPS64 targets.
14366
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.
14367
 
14368
Wed Mar  7 16:02:07 2001  Christopher Faylor 
14369
 
14370
        * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
14371
          declarations.
14372
 
14373
Mon Mar  5 21:48:54 2001  J"orn Rennecke 
14374
 
14375
        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
14376
        For RTEMS, define to be ssize_t.  Default to int if not defined.
14377
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
14378
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
14379
        * libc/stdio/local.h (__sread, __swrite): Likewise.
14380
        * libc/include/sys/reent.h (_read, _write): Likewise.
14381
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
14382
        * libc/syscalls/sysread.c (read): Likewise.
14383
        * libc/syscalls/syswrite.c (write): Likewise.
14384
 
14385
2001-03-05  Jeff Johnston  
14386
 
14387
        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
14388
 
14389
Sat Mar  3 00:34:14 2001  Christopher Faylor 
14390
 
14391
        * libc/include/sys/stat.h: Use special defines for executable stat bits
14392
        when compiling for Cygwin.
14393
        * libc/include/sys/unistd.h: Use special define for X_OK when compiling
14394
        for Cygwin.
14395
 
14396
2001-03-02  Jeff Johnston  
14397
 
14398
        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
14399
        of strtok_r is always defined.
14400
 
14401
2001-03-02  Jeff Johnston  
14402
 
14403
        * libc/include/machine/ansi.h: New dummy header file.
14404
 
14405
2001-02-22  Jeff Johnston  
14406
 
14407
        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
14408
        changed the copyright information to allow free modification of the
14409
        file with no reference to "copying.dj".
14410
        * libc/include/sys/stat-dj.h: Ditto.
14411
        * libc/machine/i386/setjmp.S: Ditto.
14412
        * libc/sys/h8300hms/sys/file.h: Ditto.
14413
        * libc/sys/sysmec/access.c: Ditto.
14414
        * libc/sys/sysnecv850/access.c: Ditto.
14415
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
14416
        * libc/stdlib/getenv_r.c: Ditto.
14417
        * libc/stdlib/putenv_r.c: Ditto.
14418
        * libc/stdlib/setenv_r.c: Ditto.
14419
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
14420
        modifications will now be in the _r version of this file.
14421
        * libc/stdlib/putenv.c: Ditto.
14422
        * libc/stdlib/setenv.c: Ditto.
14423
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
14424
        valid.  Added a reference to DJ's web page that contains his address.
14425
        * libc/sys/go32/*.s: Removed references to DJ's old address.
14426
        * libc/sys/go32/*.c: Ditto.
14427
        * libc/sys/go32/*.h: Ditto.
14428
        * libc/sys/go32/*.S: Ditto.
14429
        * libc/sys/go32/sys/*.h: Ditto.
14430
 
14431
2001-02-21  Jeff Johnston  
14432
 
14433
        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
14434
        HAVE_FCNTL flag check.
14435
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
14436
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
14437
 
14438
Thu Feb 15 01:39:51 2001  Christopher Faylor 
14439
 
14440
        * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
14441
 
14442
2001-02-14  Kazuhiro Fujieda  
14443
 
14444
        * libc/include/stdlib.h: Add declarations of rand48 functions and
14445
        their reentrant versions.
14446
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
14447
        struct _rand48 for shared parameters of rand48 functions.
14448
        (struct _reent): Add a variable _r48 of struct _rand48.
14449
        (_REENT_INIT): Add _r48 initialization.
14450
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
14451
        (CHEWOUT_FILES): Add rand48.def.
14452
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
14453
        * libc/stdlib/Makefile.in: Regenerated.
14454
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
14455
        NetBSD C library.
14456
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
14457
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
14458
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
14459
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
14460
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
14461
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
14462
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
14463
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
14464
        * libc/stdlib/rand48.c (__dorand48): Ditto.
14465
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
14466
        parameters into macros referring them in the reentrant structure.
14467
 
14468
2001-02-12  Jeff Johnston  
14469
 
14470
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
14471
        Cygwin definition has correct prototype.
14472
 
14473
2001-02-08  Jeff Johnston  
14474
 
14475
        * libc/include/sys/stat.h: Must revert change for mknod
14476
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
14477
        prototype.
14478
 
14479
2001-02-08  Jeff Johnston  
14480
 
14481
        * libc/include/stdio.h: Revert putw prototype.
14482
 
14483
2001-02-08  Edward M. Lee  
14484
 
14485
        * libc/include/grp.h: add prototype for initgroups.
14486
        * libc/include/stdio.h: fix prototype for putw.
14487
        * libc/include/sys/signal.h: add prototype for killpg.
14488
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
14489
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
14490
        vhangup and remove duplicate sysconf prototype.
14491
 
14492
2001-02-07  Jeff Johnston  
14493
 
14494
        * libc/sys/rtems/sys/types.h: Removed.
14495
 
14496
2001-02-05  Charles Wilson  
14497
 
14498
        * libc/include/locale.h: add LC_MESSAGES definition
14499
 
14500
2001-02-01  Alexandre Oliva  
14501
 
14502
        * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
14503
        SYS_get_argN):
14504
        * libc/sys/sh/syscalls.c (__setup_argv_for_main,
14505
        __setup_argv_and_call_main): New.
14506
 
14507
2001-01-31  Jeff Johnston  
14508
 
14509
        * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
14510
        if defined.
14511
        (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
14512
        (L_tmpnam): Changed to use __L_tmpnam__ if defined.
14513
        * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
14514
        appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
14515
 
14516
Mon Jan 29 23:03:06 2001  Christopher Faylor 
14517
 
14518
        * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
14519
        compiling under Cygwin.
14520
 
14521
2001-01-29  Jeff Johnston  
14522
 
14523
        * libc/include/math.h (signgam): Change to errno-like solution
14524
        using a function to return the address of the real signgam.
14525
        * libc/reent/signgam.c: New file containing __signgam().
14526
        * libc/reent/Makefile.am: Added signgam.c to list of files.
14527
        * libc/reent/Makefile.in: Regenerated.
14528
 
14529
2001-01-25  Alexandre Oliva  
14530
 
14531
        * libc/sys/sh/syscalls.c (_times): New.
14532
 
14533
        * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
14534
        * libc/sys/sh/syscalls.c (_gettimeofday): New.
14535
 
14536
2001-01-23  Jeff Johnston  
14537
 
14538
        * libc/include/math.h (signgam): Regress previous fix as
14539
        it does not handle programs with extern int signgam in them.
14540
 
14541
2001-01-23  Jeff Johnston  
14542
 
14543
        * libc/include/math.h (signgam): Changed to a macro refering to
14544
        its location in the reentrant structure.
14545
 
14546
2001-01-23  Jeff Johnston  
14547
 
14548
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
14549
        that suppressed . for %.0f, 0.1.  Check now looks if there
14550
        are padding zeroes (expt) in addition to any digits (ndig) to
14551
        print.
14552
 
14553
2001-01-18  Jeff Johnston  
14554
 
14555
        * libc/sys/arc/Makefile.am: New file.
14556
        * libc/sys/arc/Makefile.in: Ditto.
14557
        * libc/sys/arc/aclocal.m4: Ditto.
14558
        * libc/sys/arc/configure: Ditto.
14559
        * libc/sys/arc/configure.in: Ditto.
14560
        * libc/sys/arc/crt0.S: Ditto.
14561
        * libc/sys/arc/isatty.c: Ditto.
14562
        * libc/sys/arc/mem-layout.c: Ditto.
14563
        * libc/sys/arc/sbrk.c: Ditto.
14564
        * libc/sys/arc/syscalls.c: Ditto.
14565
        * libc/sys/arc/sys/syscall.h: Ditto.
14566
 
14567
Wed Jan 17 23:20:56 2001  Christopher Faylor 
14568
 
14569
        * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
14570
 
14571
Fri Jan 12 00:34:31 2001  Christopher Faylor 
14572
 
14573
        * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
14574
 
14575
Thu Jan 11 20:42:06  2001  Earnie Boyd  
14576
 
14577
        * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
14578
 
14579
2001-01-09  Nick Clifton  
14580
 
14581
        * configure.host (v859): Remove unsupported compiler options.
14582
 
14583
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  
14584
 
14585
        * src/newlib/configure.host (*-*-rtems*): add printf long long
14586
        support for RTEMS.
14587
 
14588
2000-12-19  Graham Stott 
14589
 
14590
        * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
14591
 
14592
Wed Dec 14  Jeff Johnston  
14593
 
14594
        * configure.host: Turn on long double I/O for Cygwin.
14595
 
14596
Wed Dec 14  Jeff Johnston  
14597
 
14598
        * MAINTAINERS: Removed Ranjith.
14599
        * NEWS: Updated for 1.9.0.
14600
        * README: Updated.
14601
        * acinclude.m4: Updated to release 1.9.0.
14602
        * aclocal.m4 configure
14603
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
14604
          libc/machine/aclocal.m4 libc/machine/configure
14605
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
14606
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
14607
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
14608
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
14609
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
14610
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
14611
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
14612
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
14613
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
14614
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
14615
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
14616
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
14617
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
14618
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
14619
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
14620
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
14621
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
14622
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
14623
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
14624
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
14625
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
14626
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
14627
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
14628
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
14629
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
14630
          libc/sys/aclocal.m4 libc/sys/configure
14631
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
14632
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
14633
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
14634
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
14635
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
14636
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
14637
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
14638
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
14639
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
14640
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
14641
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
14642
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
14643
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
14644
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
14645
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
14646
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
14647
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
14648
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
14649
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
14650
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
14651
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
14652
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
14653
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
14654
          libm/aclocal.m4 libm/configure: Regenerated.
14655
 
14656
Wed Dec 13 11:52:00 2000  Corinna Vinschen 
14657
 
14658
        * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
14659
        when __CYGWIN__ is defined.
14660
 
14661
2000-12-13  Jeff Johnston  
14662
 
14663
        * libc/stdlib/ldtoa.c (_ldcheck): New routine
14664
        that categorizes a long double as NaN, Infinity, or other.
14665
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
14666
        isinfl and isnanl static routines which were i386-specific.  Changed
14667
        calls to the two removed routines to a single _ldcheck call.
14668
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
14669
 
14670
2000-12-13  Jeff Johnston  
14671
 
14672
        * Makefile.am: Fixed install-data-local target to use
14673
        $(mkinstalldirs) for the installed header files to ensure
14674
        the directories exist before copying.
14675
        * Makefile.in: Regenerated.
14676
 
14677
2000-12-12  Jeff Johnston  
14678
 
14679
        * libc/include/sys/unistd.h: Restored Cygwin _SC
14680
        constants and moved new constants appropriately
14681
        so Cygwin will build.
14682
 
14683
2000-12-11  Joel Sherrill 
14684
 
14685
        * Merge RTEMS specific .h files into main libc/include.
14686
        * libc/sys/rtems/include/signal.h: Removed.
14687
        * libc/sys/rtems/include/time.h: Removed.
14688
        * libc/sys/rtems/sys/features.h: Removed.
14689
        * libc/sys/rtems/sys/sched.h: Removed.
14690
        * libc/sys/rtems/sys/siginfo.h: Removed.
14691
        * libc/sys/rtems/sys/signal.h: Removed.
14692
        * libc/sys/rtems/sys/time.h: Removed.
14693
        * libc/sys/rtems/sys/times.h: Removed.
14694
        definitions for time_t and clock_t since these are
14695
        no longer in time.h.
14696
        * libc/include/pthread.h: New file.
14697
        * libc/include/sys/sched.h: New file.
14698
        * libc/include/sys/features.h: New file.
14699
        * libc/include/time.h: Removed duplicate definition of clock_t
14700
        and time_t, get them from  instead.  Add prototypes
14701
        for POSIX clock and timer functionality.
14702
        * libc/sys/linux/sys/types.h: Changed to include
14703
        * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
14704
        * libc/include/sys/signal.h: Add more complete set of POSIX
14705
        signal functionality including real-time and threaded signals.
14706
        * libc/include/sys/types.h: Add clock_t, time_t, struct
14707
        timespec, and struct itimerspec.  Centralizing these makes
14708
        things cleaner.  RTEMS uses 64-bit dev_t.
14709
        Added numerous primitive definitions
14710
        for pthreads including macros, pthread_attr_t,
14711
        pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
14712
        pthread_once_t, and pthread_t.
14713
        * libc/include/sys/unistd.h: Added getlogin_r() prototype.
14714
        If RTEMS follow POSIX on read(), write() and sbrk() prototype.
14715
        Feature flags removed and moved to new file .
14716
        Full set of POSIX sysconf() constants
14717
 
14718
2000-12-08  Werner Almesberger  
14719
 
14720
        * configure.host: Added x86 linux target.
14721
        * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
14722
        definitions provided if not already defined.
14723
        * libc/sys/linux/crt0.c: New file.
14724
        * libc/sys/linux/Makefile.am: Ditto.
14725
        * libc/sys/linux/Makefile.in: Ditto.
14726
        * libc/sys/linux/aclocal.m4: Ditto.
14727
        * libc/sys/linux/brk.c: Ditto.
14728
        * libc/sys/linux/configure: Ditto.
14729
        * libc/sys/linux/configure.in: Ditto.
14730
        * libc/sys/linux/getoptlong.c: Ditto.
14731
        * libc/sys/linux/ids.c: Ditto.
14732
        * libc/sys/linux/inode.c: Ditto.
14733
        * libc/sys/linux/io.c: Ditto.
14734
        * libc/sys/linux/linux.c: Ditto.
14735
        * libc/sys/linux/process.c: Ditto.
14736
        * libc/sys/linux/realpath.c: Ditto.
14737
        * libc/sys/linux/select.c: Ditto.
14738
        * libc/sys/linux/signal.c: Ditto.
14739
        * libc/sys/linux/systat.c: Ditto.
14740
        * libc/sys/linux/termios.c: Ditto.
14741
        * libc/sys/linux/time.c: Ditto.
14742
        * libc/sys/linux/wait.c: Ditto.
14743
        * libc/sys/linux/include/alloca.h: Ditto.
14744
        * libc/sys/linux/include/getopt.h: Ditto.
14745
        * libc/sys/linux/include/stdint.h: Ditto.
14746
        * libc/sys/linux/include/unistd.h: Ditto.
14747
        * libc/sys/linux/sys/cdefs.h: Ditto.
14748
        * libc/sys/linux/sys/dirent.h: Ditto.
14749
        * libc/sys/linux/sys/errno.h: Ditto.
14750
        * libc/sys/linux/sys/fcntl.h: Ditto.
14751
        * libc/sys/linux/sys/file.h: Ditto.
14752
        * libc/sys/linux/sys/ioctl.h: Ditto.
14753
        * libc/sys/linux/sys/resource.h: Ditto.
14754
        * libc/sys/linux/sys/signal.h: Ditto.
14755
        * libc/sys/linux/sys/stat.h: Ditto.
14756
        * libc/sys/linux/sys/syscall.h: Ditto.
14757
        * libc/sys/linux/sys/termios.h: Ditto.
14758
        * libc/sys/linux/sys/time.h: Ditto.
14759
        * libc/sys/linux/sys/types.h: Ditto.
14760
        * libc/sys/linux/sys/utmp.h: Ditto.
14761
        * libc/sys/linux/sys/utsname.h: Ditto.
14762
        * libc/sys/linux/sys/wait.h: Ditto.
14763
 
14764
2000-12-08  Ralf Corsepius 
14765
 
14766
        * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
14767
        can be a relative path to $(top_srcdir)/install.sh so ensure the
14768
        autoconf detected settings are properly passed recursively.
14769
        Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
14770
        properly to subdirectories.
14771
        * Makefile.in: Regenerated.
14772
 
14773
2000-12-07  Jay Kulpinski 
14774
 
14775
        * libc/stdio/vfprintf.c: Minor modification to avoid requiring
14776
        a floating point register unless really printing a floating
14777
        point number.
14778
 
14779
2000-12-07  Jeff Johnston  
14780
 
14781
        * libc/stdlib/ldtoa.c: Removed include of alloca.h.
14782
        Also removed \r's.
14783
        (asctoeg): Replaced alloca call with stack array and malloc
14784
        when storage exceeds reasonable limit.
14785
        (e53toe): Fixed einfin calls missing ldp parameter.
14786
        (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
14787
 
14788
2000-12-06  Jeff Johnston  
14789
 
14790
 
14791
        * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
14792
 
14793
2000-12-06  Jeff Johnston  
14794
 
14795
        * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
14796
        * libc/stdlib/Makefile.in: Regenerated.
14797
        * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
14798
        * libc/stdio/vfieeefp.h: Added long double bit structures.
14799
        * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
14800
        [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
14801
        (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
14802
        * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
14803
        * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
14804
        _strtold routines used for conversions between character
14805
        and long double.
14806
 
14807
Wed Dec  6 12:01:00 2000  Corinna Vinschen 
14808
 
14809
        * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
14810
 
14811
2000-12-04  Joel Sherrill 
14812
 
14813
        * libc/include/machine/time.h: RTEMS systems can configure clock
14814
        tick rate so use sysconf() to ask.
14815
 
14816
2000-12-04  Joel Sherrill 
14817
 
14818
        * libc/include/sys/times.h: Add reference to POSIX standard.
14819
 
14820
2000-12-04  Joel Sherrill 
14821
 
14822
        * libc/include/sys/time.h: Added BSD timer manipulation macros
14823
        used by RTEMS code.
14824
 
14825
2000-12-04  Joel Sherrill 
14826
 
14827
        * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
14828
        referenced by code generated by gcc 2.8.1.
14829
        (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
14830
        satisfy gcc.
14831
 
14832
2000-12-04  Joel Sherrill 
14833
 
14834
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
14835
 
14836
2000-12-04  Joel Sherrill 
14837
 
14838
        * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
14839
 
14840
2000-12-04  Joel Sherrill 
14841
 
14842
        * configure.host (or16, or32): New entries for OpenCores
14843
        OpenRisc CPUs.
14844
        (*-*-rtems*): Add -DNO_EXEC.
14845
 
14846
2000-12-04  Keith Outwater 
14847
 
14848
        * libc/include/sys/errno.h: Added comments on many error numbers.
14849
        * libc/string/strerror.c: Added some more strings.
14850
 
14851
2000-11-30  Jeff Johnston 
14852
 
14853
        * libc/sys/sh/syscalls.c (_link): New stub.
14854
 
14855
2000-11-29  Nick Clifton  
14856
 
14857
        * configure.host: Add xscale target.
14858
        * libc/machine/xscale: New directory.
14859
        * libc/machine/xscale/Makefile.am: New file.
14860
        * libc/machine/xscale/Makefile.in: New file.
14861
        * libc/machine/xscale/aclocal.m4: New file.
14862
        * libc/machine/xscale/configure: New file.
14863
        * libc/machine/xscale/configure.in: New file.
14864
        * libc/machine/xscale/memchr.S: New file.
14865
        * libc/machine/xscale/memcmp.S: New file.
14866
        * libc/machine/xscale/memcpy.S: New file.
14867
        * libc/machine/xscale/memmove.S: New file.
14868
        * libc/machine/xscale/memset.S: New file.
14869
        * libc/machine/xscale/strchr.S: New file.
14870
        * libc/machine/xscale/strcmp.S: New file.
14871
        * libc/machine/xscale/strcpy.S: New file.
14872
        * libc/machine/xscale/strlen.S: New file.
14873
 
14874
Sat Nov 25 11:24:00 2000  Corinna Vinschen 
14875
 
14876
        * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
14877
        avoid compiler warnings.
14878
 
14879
2000-11-22  Michael Meissner  
14880
 
14881
        * libc/posix/execl.c (execl): Don't reference environ directly,
14882
        reference it only via a static pointer to avoid problems with some
14883
        shared library systems and with different uses of small data where
14884
        the user specifies his own version of environ.
14885
        * libc/posix/execv.c (execv): Ditto.
14886
        * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
14887
        * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
14888
        * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
14889
 
14890
        * libc/stdlib/getenv.c (environ): Delete unused reference to
14891
        environ.
14892
 
14893
        * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
14894
        colorization.
14895
        * libc/stdlib/system.c: Ditto.
14896
 
14897
Tue Nov 21 20:32:21 2000  Christopher Faylor 
14898
 
14899
        * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
14900
        including windows headers.
14901
 
14902
2000-11-20  Jeff Johnston  
14903
 
14904
        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
14905
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
14906
        not defined by sys/dirent.h.
14907
        * libc/posix/execvp.c: Added include of dirent.h to get
14908
        MAXNAMLEN value which used to be in unistd.h.
14909
 
14910
Mon Nov  6 12:56:00 2000  Corinna Vinschen 
14911
 
14912
        * libc/include/sys/types.h: Change type of i to `size_t' in
14913
        FD_ZERO macro to avoid compiler warnings.
14914
 
14915
Sun Oct 29 20:06:41 2000  Christopher Faylor 
14916
 
14917
        * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
14918
        * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
14919
 
14920
Tue Oct 24 20:16:00 2000  Corinna Vinschen 
14921
 
14922
        * libc/include/sys/unistd.h: Add defines for sysconf values
14923
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
14924
        _SC_AVPHYS_PAGES.
14925
 
14926
Mon Oct  9 20:26:33 2000  Christopher Faylor 
14927
 
14928
        * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
14929
        declarations for __CYGWIN__.
14930
 
14931
2000-09-19  Geoffrey Keating  
14932
 
14933
        * libc/signal/signal.c (__sigtramp_r): ISO C requires
14934
        case labels to be integral constant expressions, so
14935
        use an if/else tree instead.
14936
        (_raise_r): Likewise.
14937
 
14938
2000-09-13  Jeff Johnston  
14939
 
14940
        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
14941
        clipping patch from e-mail reader.
14942
 
14943
2000-09-13  Will Cohen  
14944
 
14945
        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
14946
        Added return value 0.
14947
        (_longjmp): Allow longjmp to return value of second argument
14948
        passed to it.
14949
 
14950
2000-09-06  Jeff Johnston 
14951
 
14952
        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
14953
        inline code to prevent having to include another header file.
14954
 
14955
Wed Sep  6 15:06:40 2000  Christopher Faylor 
14956
 
14957
        * Makefile.am: Fix space vs. tab problem in install-data-local.
14958
        * Makefile.in: Regenerate.
14959
 
14960
Wed Sep  6 13:49:51 2000  Christopher Faylor 
14961
 
14962
        * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
14963
        (_EXPARM): New macro for defining a function parameter.
14964
        * libc/include/stdlib.h: Use _EXPARM.
14965
        * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
14966
 
14967
2000-09-05  Manfred Hollstein  
14968
 
14969
        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
14970
        required, as documented in the gnu coding standards.
14971
        * Makefile.in: Regenerate.
14972
 
14973
2000-09-05  Jeff Johnston 
14974
 
14975
        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
14976
        make O_NDELAY and O_NONBLOCK have the same value.
14977
 
14978
2000-08-30  Kazu Hirata  
14979
 
14980
        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
14981
 
14982
2000-08-30  Werner Almesberger  
14983
 
14984
        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
14985
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
14986
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
14987
        everywhere else.
14988
 
14989
2000-08-30  Geoffrey Keating  
14990
 
14991
        * libc/string/swab.c: Specify that it's defined in .
14992
        * libc/include/string.h: Don't include ,
14993
        as it causes really bad namespace pollution.  Don't declare
14994
        swab(), it is properly declared in unistd.h.
14995
 
14996
2000-08-29  Werner Almesberger  
14997
 
14998
        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
14999
        (broken) support for non-existent /etc/passwd field "comment".
15000
 
15001
2000-08-27  Werner Almesberger  
15002
 
15003
        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
15004
        only if _DIRENT_HAVE_D_NAMLEN is defined.
15005
        (alphasort): aligned prototype with
15006
        libc/sys/cygwin/sys/dirent.h and simplified function body.
15007
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
15008
        long telldir (DIR *) as mentioned in annex B of POSIX.1
15009
 
15010
2000-08-27  Werner Almesberger  
15011
 
15012
        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
15013
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
15014
        Added __CLI and __STI macros (controlled via
15015
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
15016
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
15017
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
15018
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
15019
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
15020
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
15021
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
15022
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
15023
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
15024
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
15025
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
15026
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
15027
        for all global entry points.
15028
        * libc/machine/i386/setjmp.S: removed code replicated in
15029
        libc/machine/i386/i386mach.h and included i386mach.h instead;
15030
        Use __CLI and __STI instead of cli and sti.
15031
 
15032
2000-08-25  DJ Delorie  
15033
 
15034
        * libc/include/sys/unistd.h (environ): this one isn't from the
15035
        DLL, no __IMPORT
15036
 
15037
Fri Aug 25 13:37:11 2000  Christopher Faylor 
15038
 
15039
        * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
15040
        environ when compiling under cygwin since it is already declared in
15041
        unistd.h.
15042
 
15043
2000-08-23  Werner Almesberger  
15044
 
15045
        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
15046
        like  x << y-z  to the equivalent  x << (y-z).
15047
        (d2b): changed if statements with assignment to perform the
15048
        assignment prior to the if check.
15049
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
15050
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
15051
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
15052
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
15053
        precedence.
15054
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
15055
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
15056
        execve.c).
15057
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
15058
        precedence.
15059
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
15060
        clarify && and || precendence (and to remove pascalism).
15061
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
15062
        * libm/math/s_infconst.c: added another pair of braces to all
15063
        initializers for __infinity (need three: for __infinity[1] array,
15064
        for union __dmath, and for i[2]).
15065
 
15066
2000-08-23  Werner Almesberger  
15067
 
15068
        * libc/stdlib/abort.c: changed description: uses "raise" instead of
15069
        "getpid" and "kill"; added: uses "write" and "_exit".
15070
        Also included unistd.h for "_exit" prototype.
15071
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
15072
        reent.h for "_fork_r" and "_wait_r" prototypes.
15073
        (do_system): changed  extern char *environ[] to POSIX-friendly
15074
        extern char **environ.
15075
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
15076
        prototypes.
15077
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
15078
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
15079
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
15080
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
15081
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
15082
        unistd.h for "getpid" prototype.
15083
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
15084
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
15085
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
15086
        prototype.  Also included stdlib.h for "abort", string.h for
15087
        "strdup" and "strncmp" prototypes.
15088
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
15089
        "strncpy", unistd.h for "read" and "close" prototypes.
15090
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
15091
        "strcat" prototypes.
15092
 
15093
2000-08-23  Werner Almesberger  
15094
 
15095
        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
15096
        used later (ifdef __SCLE)
15097
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
15098
        used later (ifdef MB_CAPABLE)
15099
        * libc/string/memset.c (memset): removed unused variables "count"
15100
        and "unaligned_addr"
15101
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
15102
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
15103
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
15104
        and "gid"
15105
 
15106
2000-08-23  Werner Almesberger  
15107
 
15108
        * libc/stdlib/envlock.c: changed documented "__env_lock" and
15109
        "__env_unlock" prototype from "void *" or "char *" to
15110
        "struct _reent *" to match real function.  Also added include
15111
        of envlock.h.
15112
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
15113
        "__malloc_unlock" prototype from "void *" or "char *" to
15114
        "struct _reent *" to match real function.
15115
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
15116
        prototypes (for getenv_r.c and setenv_r.c).
15117
 
15118
2000-08-22  Werner Almesberger  
15119
 
15120
        * libc/unix/getut.c (utmpname): added _CONST to reflect common use
15121
        and prototype in cygwin's utmp.h
15122
 
15123
2000-08-16  Eric Fifer  
15124
 
15125
        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
15126
 
15127
2000-08-09  Nick Clifton  
15128
 
15129
        * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
15130
        epilogue and to allow the functions to be used in a Thumb based
15131
        toolchain.
15132
 
15133
2000-08-08  Jeff Johnston 
15134
 
15135
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
15136
        so size of 0 results in nothing being written to string.
15137
        Also fixed code so that when size is non-zero, there is only
15138
        a maximum of size - 1 characters written to the array and
15139
        a nul terminator is appended at the end.
15140
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
15141
 
15142
2000-08-01  DJ Delorie  
15143
 
15144
        * libc/include/sys/config.h: define __IMPORT appropriately
15145
        * libc/include/ctype.h (_ctype_): use __IMPORT
15146
        * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
15147
        * libc/include/math.h (__mb_cur_max): ditto
15148
        * libc/include/time.h (_timezone, _daylight, _tzname): ditto
15149
        * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
15150
        * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
15151
        * libc/include/unistd.h (environ): ditto
15152
 
15153
2000-07-28  Michael Meissner  
15154
 
15155
        * libc/include/math.h (__infinity): Declare as an array without
15156
        bounds to get around small data support.  Rewrite Cygwin support
15157
        to be more general.
15158
        * libm/math/s_infconst.c (__infinity): Ditto.
15159
        * libm/mathfp/s_infconst.c (__infinity): Ditto.
15160
 
15161
Thu Jul 27 10:46:01 2000  Christopher Faylor 
15162
 
15163
        * libc/include/math.h: Use appropriate dll import linkage for
15164
        __infinity under Cygwin.
15165
 
15166
2000-07-13  DJ Delorie  
15167
 
15168
        * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
15169
 
15170
Wed Jun 28 14:08:00 2000  Keith Walker  
15171
 
15172
        * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
15173
        to argument list for AngelSWI_Reason_GetCmdLine.
15174
 
15175
Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  
15176
 
15177
        * configure.host: Add support for AVR target.
15178
        * libc/include/machine/ieeefp.h: Likewise.
15179
        * libc/include/sys/config.h: Likewise.
15180
 
15181
Thu Jun 22 18:35:00 2000  Ranjith Kumaran  
15182
 
15183
        * README: Newlib 1.8.2 must be built in a separate directory
15184
        than the sources.
15185
 
15186
Tue Jun 20 14:30:00 2000  Jeff Johnston  
15187
 
15188
        * libc/include/sys/reent.h (_rand_next): Added __extension__
15189
        qualifier as long long type is not strict ANSI.
15190
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
15191
        to long long constant.
15192
 
15193
Fri Jun 16 23:02:00 2000  Corinna Vinschen 
15194
 
15195
        * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
15196
        `setegid' provided by Cygwin.
15197
 
15198
Thu Jun 15  0:21:00 2000  Corinna Vinschen 
15199
 
15200
        * libc/stdio/fdopen.c: Take explicit given bin/textmode into
15201
        account for Cygwin.
15202
 
15203
Fri Jun  9 14:28:00 2000  Jeff Johnston  
15204
 
15205
        * libc/include/sys/reent.h (_rand_next): Changed to
15206
        unsigned long long and moved to end of _reent struct in _new union.
15207
        (_REENT_INIT): Changed to move _rand_next initialization.
15208
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
15209
        linear congruential algorithm that is used by DJGPP.
15210
 
15211
Thu Jun  8 21:18:00 2000  Ranjith Kumaran  
15212
 
15213
        * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
15214
        * libc/include/sys/config.h: Define __RAND_MAX.
15215
 
15216
Thu Jun  8 17:54:00 2000  Jeff Johnston  
15217
 
15218
        * libc/stdlib/rand_r.c: New algorithm that meets minimal
15219
        standard.
15220
 
15221
Fri Jun  2 23:02:11 2000  Christopher Faylor 
15222
 
15223
        * libc/include/string.h: Work around problem with strsignal and gdb.
15224
 
15225
Tue May 30 13:13:01 2000  Christopher Faylor 
15226
 
15227
        * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
15228
        * libc/include/malloc.h: Ditto.
15229
        * libc/include/process.h: Ditto.
15230
        * libc/include/stdio.h: Ditto.
15231
        * libc/include/stdlib.h: Ditto.
15232
        * libc/include/time.h: Ditto.
15233
        * libc/include/machine/setjmp.h: Ditto.
15234
        * libc/include/sys/errno.h: Ditto.
15235
        * libc/include/sys/signal.h: Ditto.
15236
        * libc/include/sys/stat.h: Ditto.
15237
        * libc/include/sys/time.h: Ditto.
15238
        * libc/include/sys/unistd.h: Ditto.
15239
        * libc/include/string.h: Ditto.  strsignal should return a const char *.
15240
 
15241
2000-05-26  Marek Michalkiewicz  
15242
 
15243
        * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
15244
        * libm/common/s_log1p.c (log1p): Likewise.
15245
        * libm/common/s_scalbn.c (scalbn): Likewise.
15246
        * libm/math/e_log.c: Likewise.
15247
        * libm/math/e_asin.c: Likewise.
15248
        * libm/math/ef_asin.c: Likewise.
15249
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
15250
        * libm/math/e_j1.c (pone, qone): Likewise.
15251
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
15252
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
15253
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
15254
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
15255
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
15256
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
15257
 
15258
2000-05-19  DJ Delorie  
15259
 
15260
        * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
15261
        (__sread): always read in binary mode
15262
        (__swrite): always write in binary mode
15263
        * libc/include/stdio.h: no getc/putc macros for cygwin; causes
15264
        compatibility issues with different dll versions
15265
        * libc/stdio/fopen.c: use __stextmode
15266
        * libc/stdio/fdopen.c: ditto
15267
        * libc/stdio/freopen.c: ditto
15268
        * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
15269
        * libc/stdio/local.h: declare __stextmode
15270
 
15271
2000-05-18  DJ Delorie  
15272
 
15273
        * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
15274
 
15275
Mon May 15 18:54:00 2000  Jeff Johnston  
15276
 
15277
        * libc/include/ctype.h: Changed tolower and toupper macros
15278
        to use __extension__ to prevent pedantic warnings.
15279
 
15280
Mon May 15 14:26:00 2000  Joel Sherrill  
15281
 
15282
        * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
15283
        structures.
15284
 
15285
Wed May 10 19:24:53 2000  Jim Wilson  
15286
 
15287
        * libc/include/machine/ieeefp.h: Add ia64 support.
15288
        * configure.host: Likewise.
15289
 
15290
Wed May 10 13:52:24 2000  Egor Duda 
15291
 
15292
        * libc/time/asctime_r.c (asctime_r): Change output format. Day of
15293
        month is now padded with space, not zero.  This now conforms to
15294
        ANSI standard.
15295
 
15296
Wed May 03 17:57:00 2000  Corinna Vinschen 
15297
 
15298
        * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
15299
        host or network path") used by cygwin. Add some comments.
15300
 
15301
Tue May 02 23:45:48 2000  DJ Delorie  
15302
 
15303
        * libc/include/stdio.h (FILE): define __SCLE for "convert line
15304
        endings" for Cygwin.
15305
        (__sgetc): convert line endings if needed
15306
        (__sputc): ditto
15307
        * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
15308
        * libc/stdio/fopen.c (_fopen_r): ditto
15309
        * libc/stdio/freopen.c (freopen): ditto
15310
        * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
15311
        * libc/stdio/fvwrite.c (__sfvwrite): ditto
15312
 
15313
Thu Apr 27 07:45:48 2000  Alexandre Oliva  
15314
 
15315
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
15316
        post-increment when it is worth it, spacewise.
15317
 
15318
Mon Apr 17 12:46:00 2000  Marek Michalkiewicz 
15319
 
15320
        * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
15321
        * libc/stdio/findfp.c (std): Added declaration of flags and file.
15322
        * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
15323
        return type.
15324
        * libc/stdio/putchar.c (putchar): Added return statement.
15325
        * libc/stdio/refill.c (lflush): Added correct parentheses.
15326
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
15327
        * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
15328
        prints long value to use l qualifier.
15329
        * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
15330
        messages and initialized local values: ilim, ilim1, and spec_case.
15331
        * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
15332
        * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
15333
        * libc/stdlib/mprec.c: Ditto.
15334
        * libc/stdlib/setenv_r.c: Ditto.
15335
        * libc/stdlib/strtod.c: Ditto.
15336
        * libc/stdlib/strtol.c: Ditto.
15337
        * libc/stdlib/strtoul.c: Ditto.
15338
        * libm/common/sf_expm1.c: Added curly braces to if else clauses.
15339
        * libm/common/sf_log1p.c: Ditto.
15340
        * libm/common/sf_scalbn.c: Ditto.
15341
        * libm/math/ef_log.c: Ditto.
15342
 
15343
Sun Apr 16 12:45:00 2000  Corinna Vinschen 
15344
 
15345
        * libc/posix/execvp.c (execvp): Check path for
15346
        trailing slash.
15347
 
15348
Fri Mar 31 20:39:00 2000  Corinna Vinschen 
15349
 
15350
        * libc/include/sys/unistd.h: Add prototypes for
15351
        fchmod, fchown, lchown.
15352
 
15353
Fri Mar 24 15:34:00 2000  Jeff Johnston  
15354
 
15355
        * acinclude.m4: Changed release to 1.8.2.
15356
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
15357
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
15358
          libc/machine/configure libc/machine/a29k/aclocal.m4
15359
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
15360
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
15361
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
15362
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
15363
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
15364
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
15365
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
15366
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
15367
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
15368
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
15369
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
15370
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
15371
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
15372
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
15373
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
15374
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
15375
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
15376
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
15377
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
15378
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
15379
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
15380
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
15381
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
15382
          libc/machine/z8k/configure libc/sys/aclocal.m4
15383
          libc/sys/aclocal.m4 libc/sys/configure
15384
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
15385
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
15386
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
15387
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
15388
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
15389
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
15390
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
15391
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
15392
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
15393
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
15394
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
15395
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
15396
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
15397
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
15398
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
15399
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
15400
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
15401
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
15402
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
15403
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
15404
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
15405
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
15406
          libm/aclocal.m4 libm/configure: Regenerated.
15407
 
15408
2000-03-24  Nick Clifton  
15409
 
15410
        * libc/sys/arm/syscalls.c: Fix compile time warnings.
15411
        (do_AngelSWI): Add "cc" to list o registers clobbered.
15412
 
15413
Thu Mar 22 14:57:00 2000  Fernando Nasser 
15414
 
15415
        * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
15416
        information to be clobbered by an Angel C library support syscall.
15417
 
15418
Tue Mar 21 19:08:00 2000  Jeff Johnston 
15419
 
15420
        * libc/stdlib/envlock.c: Fixed comment typo.
15421
 
15422
Fri Mar 17 15:37:00 2000  Jeff Johnston 
15423
 
15424
        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
15425
        code to update nread as each character is processed instead
15426
        of using buffer contents which throw away leading zeroes.
15427
 
15428
Mon Mar 13 15:22:00 2000  Sergei Organov 
15429
 
15430
        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
15431
 
15432
Fri Mar 10 16:09:20 2000  Jeff Johnston 
15433
 
15434
        * libc/include/string.h: Include .
15435
 
15436
Fri Mar 10 14:53:50 2000  Alexandre Oliva  
15437
 
15438
        * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
15439
        with XSH5, not SVID.
15440
 
15441
Thu Mar  9 17:20:41 2000  Jeff Johnston 
15442
 
15443
        * libc/include/string.h: Changed last argument back to ssize_t
15444
        to make it compatible with XPG4 definition which is
15445
        defined in .  There is a conflict in the SVID 3
15446
        and XPG4 definitions and newlib will settle with XPG4.
15447
        * libc/string/swab.c: Ditto.
15448
 
15449
Wed Mar  8 17:11:41 2000  Jeff Johnston 
15450
 
15451
        * libc/include/string.h: Changed last argument to size_t.
15452
        * libc/string/swab.c: Changed last argument to size_t.
15453
 
15454
Wed Mar  8 00:46:41 2000  Alexandre Oliva  
15455
 
15456
        * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
15457
        (CHEWOUT_FILES): Added unlinkr.def.
15458
        * libc/reent/Makefile.in: Rebuilt.
15459
        * libc/sys.tex: Include unlinkr.def.
15460
        * libc/reent/linkr.c (_unlink_r): Moved to...
15461
        * libc/reent/unlinkr.c: ... new file.
15462
 
15463
Wed Mar  8 00:43:07 2000  Alexandre Oliva  
15464
 
15465
        * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
15466
        (CHEWOUT_FILES): Added swab.def.
15467
        * libc/string/Makefile.in: Rebuilt.
15468
        * libc/string/string.tex: Include swab.def.
15469
        * libc/include/string.h (swab): Declare.
15470
        * libc/string/swab.c: New file.
15471
 
15472
Wed Mar  8 00:38:35 2000  Alexandre Oliva  
15473
 
15474
        * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
15475
        (CHEWOUT_FILES): Added getw.def and putw.def.
15476
        * libc/stdio/Makefile.in: Rebuilt.
15477
        * libc/stdio/stdio.tex: Include getw.def and putw.def.
15478
        * libc/stdio/getw.c: New file.
15479
        * libc/stdio/putw.c: New file.
15480
 
15481
Fri Feb 25 14:50:50 2000  Jeff Johnston 
15482
 
15483
        * libc/stdio/flags.c (__sflags): Added check that mode[1]
15484
        is non-null before looking at mode[2].
15485
 
15486
Thu Feb 24 11:43:00 2000  Ran Cabell 
15487
 
15488
        * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
15489
        * libm/mathfp/sf_atan.c: Ditto.
15490
 
15491
Thu Feb 24 11:39:00 2000  Joel Sherrill 
15492
 
15493
        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
15494
 
15495
Tue Feb 22 14:37:00 2000  Ran Cabell 
15496
 
15497
        * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
15498
        _DOUBLE_IS_32BITS.
15499
 
15500
Mon Feb 21 11:43:50 2000  Jeff Johnston 
15501
 
15502
        * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
15503
        call prior to calling _VFPRINTF_R so reentrant data area is set.
15504
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
15505
 
15506
Thu Feb 17 01:42:50 2000  J"orn Rennecke 
15507
 
15508
        * libc/stdio/vfscanf.c (limits.h): #include.
15509
        (MAX_LONG_LEN): #define.
15510
        (__svfscanf): Handle floating point numbers with arbitrary amounts
15511
        of leading zeroes.
15512
 
15513
2000-02-15  Nick Clifton  
15514
 
15515
        * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
15516
        zero.  Set the blocksize to 1024/
15517
 
15518
Thu Jan 20 18:57:00 2000  Fernando Nasser 
15519
 
15520
        * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
15521
        with line buffering.
15522
 
15523
Mon Jan 10 18:43:00 2000  Jeff Johnston 
15524
 
15525
        * acinclude.m4: Changed include directory for winsup headers.
15526
        * aclocal.m4 configure libc/aclocal.m4
15527
          libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
15528
          libc/locale/Makefile.in libc/machine/aclocal.m4
15529
          libc/machine/configure libc/machine/a29k/aclocal.m4
15530
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
15531
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
15532
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
15533
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
15534
          libc/machine/fr30/configure
15535
          libc/machine/h8300/aclocal.m4
15536
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
15537
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
15538
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
15539
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
15540
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
15541
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
15542
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
15543
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
15544
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
15545
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
15546
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
15547
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
15548
          libc/machine/powerpc/configure
15549
          libc/machine/sh/aclocal.m4
15550
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
15551
          libc/machine/sparc/configure
15552
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
15553
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
15554
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
15555
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
15556
          libc/misc/Makefile.in libc/posix/Makefile.in
15557
          libc/reent/Makefile.in
15558
          libc/signal/Makefile.in
15559
          libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
15560
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
15561
          libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
15562
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
15563
          libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
15564
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
15565
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
15566
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
15567
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
15568
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
15569
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
15570
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
15571
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
15572
          libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
15573
          libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
15574
          libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
15575
          libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
15576
          libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
15577
          libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
15578
          libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
15579
          libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
15580
          libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
15581
          libc/sys/tic80/configure libc/sys/w65/aclocal.m4
15582
          libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
15583
          libc/sys/z8ksim/configure libc/syscalls/Makefile.in
15584
          libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
15585
          libm/configure: Regenerated.
15586
 
15587
Mon Jan 10 18:43:46 2000  Jeff Johnston 
15588
 
15589
        * libc/stdlib/putenv_r.c (_putenv_r): New file.
15590
        * libc/stdlib/strdup_r.c (_strdup_r): New file.
15591
        * libc/include/string.h: Added _strdup_r.
15592
        * libc/stdlib/putenv.c: Added call to reentrant version.
15593
        * libc/stdlib/strdup.c: Ditto.
15594
        * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
15595
        * libc/include/stdlib.h: Ditto.
15596
        * libc/stdlib/Makefile.in: Regenerated.
15597
        * libc/string/Makefile.in: Regenerated.
15598
        * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
15599
        * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
15600
        management calls to reentrant versions.
15601
        * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
15602
        * libc/stdlib/wctomb.c: Ditto.
15603
        * libc/stdlib/mblen.c: Ditto.
15604
        * libc/stdlib/mbstowcs.c: Ditto.
15605
        * libc/stdlib/mbtowc.c: Ditto.
15606
        * libc/stdlib/getenv.c: Ditto.
15607
        * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
15608
        and _strdup_r.
15609
 
15610
Thu Jan  6 15:33:46 2000  Christopher Faylor 
15611
 
15612
        patch from Corinna Vinschen 
15613
        * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
15614
 
15615
Mon Jan 03 14:36:00 2000  Sergei Organov 
15616
 
15617
        * libm/mathfp/s_atangent.c: Fix exponent calculation.
15618
        * libm/mathfp/s_ldexp.c: Ditto.
15619
        * libm/mathfp/sf_atangent.c: Ditto.
15620
        * libm/mathfp/sf_ldexp.c: Ditto.
15621
 
15622
Tue Dec 14 5:42:00 1999  Ranjith Kumaran 
15623
 
15624
        * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
15625
        * libc/include/locale.h: define NULL to be 0.
15626
 
15627
Tue Dec  7 15:41:45 1999  Jim Wilson  
15628
 
15629
        * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
15630
        function.
15631
 
15632
Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
15633
 
15634
        * libc/machine/mn10300/setjmp.S: Handle am33.
15635
 
15636
1999-11-26  Nick Clifton  
15637
 
15638
        * libc/sys/arm/syscalls.c: Add function prototypes.
15639
        (stack_ptr): Move declaration before function definitions.
15640
 
15641
Sat Nov 20 17:13:00 1999  Ranjith Kumaran 
15642
 
15643
        * NEWS: Updated version information.
15644
        * README: Ditto.
15645
 
15646
Tue Nov 09 12:19:21 1999  Jeff Johnston 
15647
 
15648
        * libc/machine/i386/strchr.S: Fixed alignment test.
15649
 
15650
Thu Oct 28 05:30:46 1999  Andrew Cagney  
15651
 
15652
        * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
15653
 
15654
Thu Oct 28 15:29:11 1999  Andrew Cagney  
15655
 
15656
        * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
15657
        ensuring that there is space between the two.
15658
 
15659
Thu Oct 14 13:39:21 1999  Christopher Faylor 
15660
 
15661
        * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
15662
        only.
15663
 
15664
1999-10-08  Vadim Egorov  
15665
 
15666
        * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
15667
        section
15668
 
15669
Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius 
15670
 
15671
        * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
15672
        * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
15673
 
15674
Fri Oct  1 13:17:59 CDT 1999  
15675
        * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
15676
          per POSIX 1003.1b.
15677
        * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
15678
          per POSIX 1003.1b.
15679
 
15680
1999-09-13  DJ Delorie  
15681
 
15682
        * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
15683
        also.
15684
 
15685
Thu Sep  9 15:31:00 1999  Jeff Johnston 
15686
 
15687
        * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
15688
        also note BUFSIZ as its size.
15689
 
15690
Tue Sep  7 17:15:00 1999  Joel Sherrill 
15691
 
15692
        * configure.host: Corrected feature defines for RTEMS.
15693
        * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
15694
        * libc/include/sys/stat.h: mkfifo() should take const path arg.
15695
        * libc/include/sys/unistd.h: pathconf() should take const path arg.
15696
          Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
15697
          Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
15698
          _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
15699
          _PC_PRIO_IO, and _PC_SYNC_IO.
15700
        * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
15701
        * libc/machine/m68k/Makefile.in: Regenerated.
15702
        * libc/machine/m68k/strcpy.c: New file.
15703
        * libc/machine/m68k/strlen.c: New file.
15704
        * libc/stdio/tmpnam.c: Always make the returned name usable.
15705
        * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
15706
        * libc/sys/rtems/sys/dirent.h: New file.
15707
        * libc/sys/rtems/sys/types.h: Added dev_t.
15708
 
15709
Tue Sep  7 17:15:00 1999   Jay Kulpinski 
15710
 
15711
        * libc/stdlib/mprec.c: Fixed unitialized variable problem.
15712
 
15713
Fri Sep  3 12:35:20 1999  Jeff Johnston 
15714
 
15715
        * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
15716
        my patch.
15717
 
15718
Thu Sep  2 22:05:20 1999  Christopher Faylor 
15719
 
15720
        patch from Jeff Johnston 
15721
        * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
15722
        buffer is not in a useful state.
15723
 
15724
1999-09-01  Nick Clifton  
15725
 
15726
        * libc/sys/arm/syscalls.c (_link): Add stub.
15727
 
15728
Fri Aug 27 23:09:09 1999  J"orn Rennecke 
15729
 
15730
        * ftell.c (ftell): Use actual position within buffer for text mode.
15731
        * findfp.c (std): Initialize ptr->_bf._size.
15732
 
15733
Wed Aug 18 18:48:02 1999  Christopher Faylor 
15734
 
15735
        * libc/include/sys/unistd.h: Add nice() declaration.
15736
 
15737
1999-08-09  Nick Clifton  
15738
 
15739
        * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
15740
        declare as a thumb function so that the disassembler will see the
15741
        mode change.
15742
 
15743
Thu Aug  5 17:37:00 1999  Ranjith Kumaran 
15744
 
15745
        * libc/reent/reent.tex: Updated list of reentrant functions.
15746
 
15747
1999-07-09  Michael Meissner  
15748
 
15749
        * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
15750
 
15751
Tue Jul  6 10:46:24 1999  Jeff Johnston 
15752
 
15753
        * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
15754
        separate file.
15755
        * libc/stdio/snprintf.c: New file.
15756
        * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
15757
        separate file.
15758
        * libc/stdio/vsnprintf.c: New file.
15759
        * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
15760
        * libc/stdio/Makefile.in: Regenerated.
15761
 
15762
Mon Jul  5 14:43:24 1999  Christopher Faylor 
15763
 
15764
        Patch submitted by Egor Duda :
15765
        * libc/include/stdio.h: Add declarations for *nprintf.
15766
        * libc/stdio/sprintf.c (snprintf): New function.
15767
        (_snprintf_r): New function.
15768
        * libc/stdio/vsprintf.c (vsnprintf): New function.
15769
        (_vnsprintf_r): New function.
15770
 
15771
Wed Jun 30 16:36:27 1999  Jeff Johnston  
15772
 
15773
        * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
15774
        * libm/Makefile.am (stmp-targetdep): Ditto.
15775
        * libc/Makefile.in: Regenerated.
15776
        * libm/Makefile.in: Ditto.
15777
 
15778
Fri Jun 25 10:49:27 1999  Jeff Johnston  
15779
 
15780
        * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
15781
        * libm/Makefile.am (stmp-targetdep): Ditto.
15782
        * libc/Makefile.in: Regenerated.
15783
        * libm/Makefile.in: Ditto.
15784
 
15785
Thu June 03 16:25:00 1999  Jeff Johnston 
15786
 
15787
        * Makefile.am: Removed dependencies on all-recursive and added "."
15788
        to the SUBDIRS list to prevent infinite recursion from occurring.
15789
        Also removed any references to EXTRA_DATA.
15790
        * libc/Makefile.am: Ditto.
15791
        * libc/machine/Makefile.am: Ditto.
15792
        * libc/machine/i386/Makefile.am: Ditto.
15793
        * libm/Makefile.am: Ditto.
15794
        * libc/sys/Makefile.am: Ditto.
15795
        * Makefile.in: Regenerated.
15796
        * aclocal.m4: Ditto.
15797
        * configure: Ditto.
15798
        * doc/Makefile.in: Ditto.
15799
        * doc/aclocal.m4: Ditto.
15800
        * doc/configure: Ditto.
15801
        * libc/Makefile.in: Ditto.
15802
        * libc/aclocal.m4: Ditto.
15803
        * libc/configure: Ditto.
15804
        * libc/machine/Makefile.in: Ditto.
15805
        * libc/machine/aclocal.m4: Ditto.
15806
        * libc/machine/configure: Ditto.
15807
        * libc/machine/mn10300/Makefile.in: Ditto.
15808
        * libc/machine/mn10300/aclocal.m4: Ditto.
15809
        * libc/machine/mn10300/configure: Ditto.
15810
        * libc/sys/Makefile.in: Ditto.
15811
        * libc/sys/aclocal.m4: Ditto.
15812
        * libc/sys/configure: Ditto.
15813
        * libm/Makefile.in: Ditto.
15814
        * libm/aclocal.m4: Ditto.
15815
        * libm/configure: Ditto.
15816
 
15817
Thu June 03 16:20:00 1999  Ranjith Kumaran 
15818
 
15819
        * libc/include/stdlib/stdlib.tex: Add link to env_lock.
15820
 
15821
Fri May 28 17:09:00 1999  Ranjith Kumaran 
15822
 
15823
        * libc/include/stdlib.h: Add reentrant routines.
15824
        * libc/stdlib/Makefile.am: Add reentrant routines.
15825
        * libc/stdlib/Makefile.in: Ditto.
15826
        * libc/stdlib/envlock.c: New file.
15827
        * libc/stdlib/envlock.h: New file.
15828
        * libc/stdlib/getenv.c: Modify to call reentrant routine.
15829
        * libc/stdlib/getenv_r.c: New file.
15830
        * libc/stdlib/mblen.c: Modify to call reentrant routine.
15831
        * libc/stdlib/mblen_r.c: New file.
15832
        * libc/stdlib/setenv.c: Modify to call reentrant routine.
15833
        * libc/stdlib/setenv_r.c: New file.
15834
        * libc/stdlib/stdlib.tex: Add reentrant routines.
15835
 
15836
Mon May 17 22:01:38 1999  Christopher Faylor 
15837
 
15838
        * libc/include/sys/types.h: Define __MS_types__ whenever
15839
        cygwin or win32.
15840
 
15841
Sun May 16 16:02:41 1999  Christopher Faylor 
15842
 
15843
        * libc/include/machine/ieeefp.h: Always default to little
15844
        endian if Windows, regardless of architecture.
15845
        * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
15846
        regardless of architecture.
15847
 
15848
Mon May  3 11:49:18 1999  Geoffrey Noer  
15849
 
15850
        * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
15851
        _WIN32 isn't defined.
15852
 
15853
Mon May  3 11:41:51 1999  Jeff Johnston  
15854
 
15855
        * libm/common/s_rint.c (rint): Add volatile qualifier for
15856
        intermediate value w.
15857
        * libm/common/sf_rint.c (rintf): Ditto.
15858
 
15859
Thu Apr 29 20:34:27 1999  Jeff Johnston  
15860
 
15861
        * libc/sys/arm/syscalls.c (remap_handle): Added check to
15862
        ensure that std streams are initialized before being referenced.
15863
 
15864
1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
15865
 
15866
        * README: Update reference to newlib@cygnus.com new
15867
        newlib@sourceware.cygnus.com address.
15868
 
15869
Mon Apr 26 18:17:33 1999  Geoffrey Noer  
15870
 
15871
        * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
15872
        * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
15873
        defined, even if _WIN32 isn't defined.
15874
 
15875
Sat Apr 24 19:59:55 1999  Christopher Faylor 
15876
 
15877
        * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
15878
 
15879
Wed Apr 21 18:01:00 1999  Ranjith Kumaran  
15880
 
15881
        * libc/include/sys/reent.h: Change Long and ULong to __Long and
15882
        __ULong.
15883
        * libc/stdlib/dtoa.c: Ditto.
15884
        * libc/stdlib/mprec.c: Ditto.
15885
        * libc/stdlib/mprec.h: Ditto.
15886
        * libc/stdlib/strtod.c: Ditto.
15887
 
15888
1999-04-21  Nick Clifton  
15889
 
15890
        * configure.host (mcore): Remove mcore machine directory.
15891
 
15892
1999-04-18  Nick Clifton  
15893
 
15894
        * libc/include/machine/ieeefp.h: Add support for mcore target.
15895
        * libc/include/machine/setjmp.h: Add support for mcore target.
15896
        * configure.host: Add support for mcore target.
15897
 
15898
1999-04-13  Mark Salter  
15899
 
15900
        * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
15901
        * libc/sys/arm/syscalls.c: Added isatty.
15902
 
15903
Wed Apr 07 16:06:04 1999  Jeff Johnston  
15904
 
15905
        * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
15906
        insert zeroes after significant digits.
15907
 
15908
Wed Mar 17 22:06:04 1999  Jeff Johnston  
15909
 
15910
        * libc/stdio/vfprintf.c (cvt): Changed floating point
15911
        cvt routine to use union used by dtoa to properly determine
15912
        if the sign bit is on or not.
15913
        * libc/stdio/vfieeefp.h: New file
15914
 
15915
Wed Mar 17 17:35:04 1999  Jeff Johnston  
15916
 
15917
        * aclocal.m4: Regenerated.
15918
        * configure: Regenerated.
15919
 
15920
Wed Mar 17 16:35:04 1999  Jeff Johnston  
15921
 
15922
        * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
15923
        f_tanf reference.
15924
        * libc/machine/i386/Makefile.in: Regenerated.
15925
 
15926
Tue Mar 16 14:56:36 1999  Jeff Johnston  
15927
 
15928
        * acinclude.m4: Changed to work with new automake.
15929
        * configure: Regenerated.
15930
        * libc/machine/i386/aclocal.m4: Regenerated.
15931
        * libc/machine/i386/configure: Regenerated.
15932
 
15933
Tue Mar 16 13:55:36 1999  Corinna Vinschen  
15934
 
15935
        * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
15936
        for telldir() and seekdir().  Rename unused structure element
15937
        for use with these two routines.
15938
 
15939
Fri Mar 12 19:11:58 1999  Jeff Johnston  
15940
 
15941
        * libc/time/mktime.c (validate_structure): Multiple fixes to
15942
        code to handle cases where input fields are outside valid ranges.
15943
        * libc/stdlib/div.c (div): Modified invalid rounding check.
15944
        * libc/stdlib/ldiv.c (ldiv): Ditto.
15945
 
15946
Thu Mar 11 21:32:13 1999  Jeff Johnston  
15947
 
15948
        * libc/machine/i386/memcpy.S: Performance rewrite.
15949
        * libc/machine/i386/memmove.S: Ditto.
15950
        * libc/machine/i386/i386mach.h: Added more register definitions.
15951
        * libc/include/math.h: Include  if -ffast-math
15952
        option used.
15953
        * libc/include/machine/fastmath.h: Add definitions for x86
15954
        fast-math routines.
15955
 
15956
Wed Mar 10 17:56:00 1999 Ranjith Kumaran  
15957
 
15958
        * libc/stdlib/strtod.c: Change from unsigned long to ULong.
15959
 
15960
Tue Mar  9 14:31:58 1999  Geoffrey Noer  
15961
 
15962
        Adjust newlib headers for new Cygwin Win32 API header files:
15963
        * libc/include/sys/time.h: Check _WINSOCK_H rather than
15964
        _GNU_H_WINDOWS32_SOCKETS.
15965
        * libc/include/sys/types.h: Ditto.
15966
 
15967
Tue Mar 09 15:55:00 1999 Ranjith Kumaran  
15968
 
15969
        *include/sys/reent.h: Add checks for size of Bigint element Long.
15970
        *libc/dtoa.c: Change routines to use generic Long type.
15971
        *libc/mprec.c: Change routines to use generic Long type.
15972
        *libc/mprec.h: Change routines to use generic Long type.
15973
 
15974
Tue Mar 02 18:07:49 1999 Ranjith Kumaran  
15975
 
15976
        * libc/Makefile.am: Add .def files.
15977
        * libc/Makefile.in: Regenerate.
15978
        * libc/e_acosh.c: Documentation update.
15979
        * libc/e_atanh.c: Documentation update.
15980
        * libc/e_hypot.c: Documentation update.
15981
        * libc/e_remainder.c: Documentation update.
15982
        * libc/er_lgamma.c: Documentation update.
15983
        * libc/mathfp.tex: Documentation update.
15984
        * libc/s_acos.c: Documentation update.
15985
        * libc/s_atan.c: Documentation update.
15986
        * libc/s_atan2.c: Documentation update.
15987
        * libc/s_cosh.c: Documentation update.
15988
        * libc/s_fmod.c: Documentation update.
15989
        * libc/s_isnan.c: Documentation update.
15990
        * libc/s_log10.c: Documentation update.
15991
        * libc/s_pow.c: Documentation update.
15992
        * libc/w_jn.c: Documentation update.
15993
 
15994
Sun Feb 28 23:18:49 1999  Geoffrey Noer  
15995
 
15996
        * aclocal.m4: Regenerate.
15997
        * configure: Regenerate.
15998
 
15999
Tue Feb 23 13:57:26 1999  Jeff Johnston  
16000
 
16001
        * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
16002
        to return 1 if user specified return code is 0.
16003
        * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
16004
 
16005
Thu Feb 18 11:13:28 1999  Jeff Johnston  
16006
 
16007
        * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
16008
        to save the return address.  Fixed longjmp to return to the original
16009
        calling address of setjmp and to return the user specified return code
16010
        rather than default to 1.
16011
        * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
16012
 
16013
Mon Feb 15 17:48:17 1999  Jeff Johnston  
16014
 
16015
        * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
16016
 
16017
1999-02-10  Nick Clifton  
16018
 
16019
        * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
16020
        volatile so that its assignments will not be discarded.
16021
 
16022
Wed Feb 10 17:19:40 1999  Jeff Johnston  
16023
 
16024
        * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
16025
        be __STRICT_ANSI__ which is generated by compiler.
16026
        * libc/include/ctype.h: Ditto.
16027
        * libc/include/math.h: Ditto.
16028
        * libc/include/stdio.h: Ditto.
16029
        * libc/include/stdlib.h: Ditto.
16030
        * libc/include/string.h: Ditto.
16031
        * libc/include/sys/signal.h: Ditto.
16032
 
16033
1999-02-08  Nick Clifton  
16034
 
16035
        * configure.host: Add support for StrongARM target.
16036
 
16037
Fri Feb  5 11:13:14 1999  Jeff Johnston  
16038
 
16039
        * libc/string/strncpy.c (strncpy): Removed redundant code
16040
        that was copying bytes if data unaligned.
16041
 
16042
1999-02-02  Brendan Kehoe  
16043
 
16044
        * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
16045
        mbstowcs.def, and wcstombs.def.
16046
 
16047
Sat Jan 30 02:36:33 1999  Christopher Faylor 
16048
 
16049
        * libc/include/sys/errno.h: Add Cygwin errno.
16050
        * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
16051
        is specified.
16052
 
16053
1999-01-29  Nick Clifton  
16054
 
16055
        * libc/sys/arm/syscalls.c: Move C library functions into seperate
16056
        file.
16057
 
16058
        * libc/sys/arm/libcfunc.c: New file containing C library functions
16059
        from syscalls.c
16060
 
16061
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
16062
        * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
16063
 
16064
 
16065
1999-01-27  Michael Meissner  
16066
 
16067
        * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
16068
        type, and cut size in half so that the jmp_buf array is guaranteed
16069
        to be aligned on a 64-bit boundary.
16070
 
16071
Mon Jan 25 12:05:38 1999  Jeff Johnston  
16072
 
16073
        * libc/string/strings.tex: Added information about
16074
        strcasecmp and strncasecmp.
16075
        * libc/stdlib/stdlib.tex: Added missing information
16076
        about mblen, mbstowcs, and wcstombs.
16077
        * libc/string/strchr.c: Changed how mask is built to use
16078
        shift operators so register will be used instead of storage.
16079
 
16080
1999-01-22  DJ Delorie  
16081
 
16082
        * libc/include/stdlib.h: don't use dllimport if we're building
16083
        newlib, since it's inside cygwin.dll
16084
 
16085
Fri Jan 22 14:57:18 1999  Christopher Faylor 
16086
 
16087
        * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
16088
        _ctype_ under cygwin.
16089
 
16090
Fri Jan 22 09:50:19 1999  Christopher Faylor 
16091
 
16092
        * include/stdlib.h: Fix typo from previous checkin.
16093
 
16094
Thu Jan 21 22:42:21 1999  Christopher Faylor 
16095
 
16096
        * include/ctype.h: Use __declspec(dllimport) method for exporting
16097
        variable from cygwin DLL.
16098
        * include/time.h: Ditto.
16099
        * sys/errno.h: Ditto.
16100
        * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
16101
        * libc/locale/locale.c: Use __declspec(dllexport) method for
16102
        exporting variable from cygwin DLL.
16103
 
16104
Sat Jan 16 13:29:54 1999  Christopher Faylor 
16105
 
16106
        * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
16107
        access of bogus pointer will result in SIGSEGV.
16108
 
16109
1999-01-07  Nick Clifton  
16110
 
16111
        * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
16112
        of an underscore prefix to function names.
16113
 
16114
Fri Jan  8 19:00:07 1999  Jeff Johnston  
16115
 
16116
        * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
16117
        define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
16118
 
16119
1998-12-31  Michael Meissner  
16120
 
16121
        * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
16122
        to `%' if not already defined.
16123
 
16124
1998-12-30  Michael Meissner  
16125
 
16126
        * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
16127
        arguments const char *, not char *.
16128
        * libc/include/stdio.h (_tempnam_r): Ditto.
16129
 
16130
        * libc/include/sys/reent.h (struct _reent): The _sig_func type
16131
        points to a function taking an integer, not void.
16132
 
16133
Tue Dec 29 14:35:53 1998  Christopher Faylor 
16134
 
16135
        * configure.host: Add a define for Cygwin builds.
16136
        * libc/include/ctype.h: Don't use dll imported variables in newlib.
16137
 
16138
Mon Dec 28 09:19:56 1998  Christopher Faylor 
16139
 
16140
        * libc/include/ctype.h: Define _ctype_ as dll imported variable
16141
        for use with Cygwin.
16142
        * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
16143
        dll imported variables for use with Cygwin.
16144
        * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
16145
        as a dll imported variable for Cygwin.
16146
 
16147
Sat Dec 26 00:13:53 1998  Christopher Faylor 
16148
 
16149
        * libc/include/sys/unistd.h: Add proto for getpass.
16150
 
16151
Fri Dec 18 19:28:19 1998  Geoffrey Noer  
16152
 
16153
        * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
16154
        alphasort.
16155
 
16156
Fri Dec 18 16:33:25 1998  Geoffrey Noer  
16157
 
16158
        * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
16159
        not posix_path_list_p.
16160
 
16161
1998-12-15  Nick Clifton  
16162
 
16163
        * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
16164
        a signed int.
16165
 
16166
1998-12-13  Nick Clifton  
16167
 
16168
        * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
16169
 
16170
1998-12-12  Nick Clifton  
16171
 
16172
        * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
16173
        
16174
        * libc/machine/fr30/Makefile.am: Add build of setjmp.S
16175
        * libc/machine/fr30/Makefile.in: Regenerated.
16176
 
16177
1998-12-11  Nick Clifton  
16178
 
16179
        * configure.host: Remove use of libc/sys for FR30 port.
16180
        * libc/sys/fr30: Remove directory (replaced by libgloss).
16181
 
16182
1998-12-10  Ken Raeburn  
16183
 
16184
        * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
16185
        * libc/string/strncat.c (ALIGNED): Ditto.
16186
 
16187
Wed Dec  9 14:37:57 1998  Geoffrey Noer  
16188
 
16189
        * libc/include/sys/time.h: include sys/types.h
16190
 
16191
Tue Dec  8 15:53:18 1998  Jeff Johnston  
16192
 
16193
        * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
16194
        comparison found when checking word at a time.
16195
 
16196
1998-12-04  Nick Clifton  
16197
 
16198
        * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
16199
 
16200
1998-12-03  Nick Clifton  
16201
 
16202
        * libc/sys/fr30/syscalls.c (_times): New function stub.
16203
 
16204
Thu Dec  3 15:59:19 1998  Jeff Johnston  
16205
 
16206
        * configure.host (mach_add_setjmp): Replaced mach_add_objs
16207
        with mach_add_setjmp flag which indicates if setjmp should
16208
        be added to the machine directory objects.
16209
        * acinclude.m4: Removed reference to mach_add_objs.
16210
        * aclocal.m4: Regenerated.
16211
        * Makefile.in: Regenerated.
16212
        * configure: Regenerated.
16213
        * libc/aclocal.m4: Regenerated.
16214
        * libc/Makefile.in: Regenerated.
16215
        * libc/configure: Regenerated.
16216
        * libc/machine/aclocal.m4: Regenerated.
16217
        * libc/machine/Makefile.in: Regenerated.
16218
        * libc/machine/configure: Regenerated.
16219
        * libc/machine/i386/aclocal.m4: Regenerated.
16220
        * libc/machine/i386/Makefile.am: Altered to selectively add
16221
        setjmp.S to the src files list.
16222
        * libc/machine/i386/Makefile.in: Regenerated.
16223
        * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
16224
        * libc/machine/i386/configure: Regenerated.
16225
 
16226
1998-12-02  Nick Clifton  
16227
 
16228
        * libc/sys/fr30/crt0.s (_start): Fix function names.
16229
 
16230
        * libc/machine/fr30: New directory
16231
        * libc/machine/fr30/Makefile.am: New file.
16232
        * libc/machine/fr30/Makefile.in: New generated file.
16233
        * libc/machine/fr30/configure.in: New file.
16234
        * libc/machine/fr30/configure: New generated file.
16235
        * libc/machine/fr30/aclocal.m4: New generated file.
16236
        * libc/sys/fr30/Makefile.am: New file.
16237
        * libc/sys/fr30/Makefile.in: New generated file.
16238
        * libc/sys/fr30/configure.in: New file.
16239
        * libc/sys/fr30/configure: New generated file.
16240
        * libc/sys/fr30/syscalls.c: New file.
16241
 
16242
Tue Dec  1 16:28:56 1998  Geoffrey Noer  
16243
 
16244
        * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
16245
 
16246
1998-12-01  Ken Raeburn  
16247
 
16248
        * libc/time/strftime.c (strftime): Also handle %y for years before
16249
        1900.
16250
 
16251
Tue Dec  1 13:26:07 1998  Christopher Faylor 
16252
 
16253
        * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
16254
        UNIX convention.  Perform tolower on characters before comparing
16255
        them rather than use toupper.
16256
        * libc/string/strncasecmp.c (strncasecmp): Ditto.
16257
 
16258
Mon Nov 30 16:24:19 1998  Jeff Johnston  
16259
 
16260
        * configure.host: Added using i386 machine directory
16261
        for all x86 cross-compiler and configuring
16262
        which added object files to use via new "mach_add_objs" variable.
16263
        * configure: Regenerated.
16264
        * libc/configure: Regenerated.
16265
        * libc/Makefile.in: Regenerated.
16266
        * libc/aclocal.m4: Regenerated.
16267
        * libc/ctype/Makefile.in: Regenerated.
16268
        * libc/errno/Makefile.in: Regenerated.
16269
        * libc/locale/Makefile.in: Regenerated.
16270
        * libc/machine/Makefile.in: Regenerated.
16271
        * libc/machine/aclocal.m4: Regenerated.
16272
        * libc/machine/configure: Regenerated.
16273
        * libc/posix/Makefile.in: Regenerated.
16274
        * libc/reent/Makefile.in: Regenerated.
16275
        * libc/signal/Makefile.in: Regenerated.
16276
        * libc/stdio/Makefile.in: Regenerated.
16277
        * libc/stdlib/Makefile.in: Regenerated.
16278
        * libc/string/Makefile.in: Regenerated.
16279
        * libc/string/memmove.c: Optimized code to use memcpy
16280
        logic when performing a non-destructive copy.
16281
        * libc/string/strncmp.c: Altered code to allow building
16282
        optimized for size or speed.
16283
        * libc/syscalls/Makefile.in: Regenerated.
16284
        * libc/time/Makefile.in: Regenerated.
16285
        * libc/unix/Makefile.in: Regenerated.
16286
        * libc/machine/i386/Makefile.am: Added new files and reference
16287
        to "mach_add_objs" to indicate optional object files.
16288
        * libc/machine/i386/Makefile.in: Regenerated.
16289
        * libc/machine/i386/aclocal.m4: Regenerated.
16290
        * libc/machine/i386/configure: Regenerated.
16291
        * libc/machine/i386/memchr.S: New file that implements
16292
        function in Intel assembler.
16293
        * libc/machine/i386/memcmp.S: ditto.
16294
        * libc/machine/i386/memcpy.S: ditto.
16295
        * libc/machine/i386/memmove.S: ditto.
16296
        * libc/machine/i386/memset.S: ditto.
16297
        * libc/machine/i386/strchr.S: ditto.
16298
        * libc/machine/i386/strlen.S: ditto.
16299
        * libc/machine/i386/f_atan2.S: New file that implements
16300
        fast version of math function to be used by compiler when
16301
        --ffast_math compile option is used.
16302
        * libc/machine/i386/f_atan2f.S: ditto.
16303
        * libc/machine/i386/f_exp.c: ditto.
16304
        * libc/machine/i386/f_expf.c: ditto.
16305
        * libc/machine/i386/f_frexp.S: ditto.
16306
        * libc/machine/i386/f_frexpf.S: ditto.
16307
        * libc/machine/i386/f_ldexp.S: ditto.
16308
        * libc/machine/i386/f_ldexpf.S: ditto.
16309
        * libc/machine/i386/f_log.S: ditto.
16310
        * libc/machine/i386/f_logf.S: ditto.
16311
        * libc/machine/i386/f_log10.S: ditto.
16312
        * libc/machine/i386/f_log10f.S: ditto.
16313
        * libc/machine/i386/f_math.h: New file.
16314
        * libc/machine/i386/f_pow.c: ditto.
16315
        * libc/machine/i386/f_powf.S: ditto.
16316
        * libc/machine/i386/f_tan.S: ditto.
16317
        * libc/machine/i386/f_tan.S: ditto.
16318
        * libc/machine/i386/i386mach.h: New file.
16319
 
16320
Mon Nov 30 13:02:17 1998  Christopher Faylor 
16321
 
16322
        patch from Mumit Khan 
16323
        * libc/include/stdio.h (tempnam): Add prototype.
16324
        * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
16325
        (tempnam): Adhere to prototype.
16326
 
16327
Thu Nov 26 00:21:32 1998  Christopher Faylor 
16328
 
16329
        * Makefile.am: Add default for AR_FLAGS.
16330
        * Makefile.in: Regenerate.
16331
 
16332
Tue Nov 24 18:48:56 1998  Geoffrey Noer  
16333
 
16334
        * libc/include/time.h: move __cplusplus wrapper after includes
16335
        * libc/include/sys/time.h: ditto.  If Cygwin, include
16336
        sys/select.h.
16337
        * libc/include/sys/types.h: lose "32" in comment about Cygwin.
16338
 
16339
1998-11-23  Ken Raeburn  
16340
 
16341
        * libc/time/strftime.c (strftime): Handle %y after year 2000.
16342
 
16343
Wed Nov 18 12:22:41 1998  Nick Clifton  
16344
 
16345
        * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
16346
        abnormnal end-of-crt0 marker.
16347
 
16348
Tue Nov 17 16:27:58 1998  Nick Clifton  
16349
 
16350
        * libc/sys/fr30/crt0.s: New file/directory.
16351
        * libc/include/machine/setjmp.h: Add FR30 target.
16352
        * libc/include/machine/ieeefp.h: Add FR30 target.
16353
        * configure.host: Add FR30 target.
16354
 
16355
Mon Nov  16 23:15:00 1998  Ranjith Kumaran 
16356
 
16357
        * libm/math: Files that are duplicated in common directory removed.
16358
        * libm/math/fdlibm.h: Removed.
16359
        * libm/math/s_cbrt.c: Removed.
16360
        * libm/math/s_copysign.c: Removed.
16361
        * libm/math/s_expm1.c: Removed.
16362
        * libm/math/s_finite.c: Removed.
16363
        * libm/math/s_ilogb.c: Removed.
16364
        * libm/math/s_infinity.c: Removed.
16365
        * libm/math/s_lib_ver.c: Removed.
16366
        * libm/math/s_log1p.c: Removed.
16367
        * libm/math/s_logb.c: Removed.
16368
        * libm/math/s_matherr.c: Removed.
16369
        * libm/math/s_modf.c: Removed.
16370
        * libm/math/s_nan.c: Removed.
16371
        * libm/math/s_nextafter.c: Removed.
16372
        * libm/math/s_rint.c: Removed.
16373
        * libm/math/s_scalbn.c: Removed.
16374
        * libm/math/sf_cbrt.c: Removed.
16375
        * libm/math/sf_copysign.c: Removed.
16376
        * libm/math/sf_expm1.c: Removed.
16377
        * libm/math/sf_finite.c: Removed.
16378
        * libm/math/sf_ilogb.c: Removed.
16379
        * libm/math/sf_infinity.c: Removed.
16380
        * libm/math/sf_log1p.c: Removed.
16381
        * libm/math/sf_logb.c: Removed.
16382
        * libm/math/sf_modf.c: Removed.
16383
        * libm/math/sf_nan.c: Removed.
16384
        * libm/math/sf_nextafter.c: Removed.
16385
        * libm/math/sf_rint.c: Removed.
16386
        * libm/math/sf_scalbn.c: Removed.
16387
        * libm/math/Makefile.am: Removed references to deleted files (above).
16388
        * libm/math/Makefile.in: Regenerated.
16389
        * libm/Makefile.am: Added common directory to math.
16390
        * libm/Makefile.in: Regenerated.
16391
 
16392
Mon Nov  2 23:12:00 1998  Ranjith Kumaran 
16393
 
16394
        * libm/mathfp: Add non-ANSI functions.
16395
        * libm/mathfp/e_acosh.c acosh(): New file.
16396
        * libm/mathfp/e_atanh.c atanh(): New file.
16397
        * libm/mathfp/e_hypot.c hypot(): New file.
16398
        * libm/mathfp/e_j0.c j0(): New file.
16399
        * libm/mathfp/e_j1.c j1(): New file.
16400
        * libm/mathfp/e_remainder.c remainder(): New file.
16401
        * libm/mathfp/e_scalb.c scalb(): New file.
16402
        * libm/mathfp/ef_acosh.c acoshf(): New file.
16403
        * libm/mathfp/ef_atanh.c atanhf(): New file.
16404
        * libm/mathfp/ef_hypot.c hypotf(): New file.
16405
        * libm/mathfp/ef_j0.c j0f(): New file.
16406
        * libm/mathfp/ef_j1.c j1f(): New file.
16407
        * libm/mathfp/ef_remainder.c remainderf(): New file.
16408
        * libm/mathfp/ef_scalb.c scalbf(): New file.
16409
        * libm/mathfp/er_gamma.c gamma_r: New file.
16410
        * libm/mathfp/er_lgamma.c lgamma_r(): New file.
16411
        * libm/mathfp/erf_gamma.c gamma_rf(): New file.
16412
        * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
16413
        * libm/mathfp/w_cabs.c cabs(): New file.
16414
        * libm/mathfp/w_drem.c drem(): New file.
16415
        * libm/mathfp/w_jn.c jn(): New file.
16416
        * libm/mathfp/wf_cabs.c cabsf(): New file.
16417
        * libm/mathfp/wf_drem.c dremf(): New file.
16418
        * libm/mathfp/wf_jn.c jnf(): New file.
16419
 
16420
Mon Nov  2 16:43:18 1998  Geoffrey Noer  
16421
 
16422
        * libc/sys/cygwin32: remove directory and contents
16423
        * libc/sys/cygwin: and add back, losing the "32".
16424
        * configure.host: check for cygwin* instead of cygwin32.
16425
        * acinclude.m4: ditto.
16426
        * aclocal.m4: regenerate with aclocal
16427
        * configure: regenerate with autoconf
16428
 
16429
Tue Oct 20 17:28:28 1998  Geoffrey Noer  
16430
 
16431
        * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
16432
        for length
16433
 
16434
Tue Oct 20 18:49:05 1998  Jeff Johnston  
16435
 
16436
        * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
16437
        _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
16438
        to make rand/srand, strtok, asctime, localtime, w_gamma,
16439
        w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
16440
        time.h to bring in struct tm definition.
16441
        * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
16442
        '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
16443
        * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
16444
        instead of static variable.
16445
        * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
16446
        struct reent instead of static variable.
16447
        * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
16448
        struct reent instead of static variable.
16449
        * libm/math/Makefile.am: Removed s_signgam.o.
16450
        * libm/math/Makefile.in: Regenerated.
16451
        * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
16452
        struct reent instead of global variable 'signgam'.
16453
        * libm/math/w_lgamma.c (lgamma): Likewise.
16454
        * libm/math/wf_gamma.c (gammaf): Likewise.
16455
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
16456
        * libm/math/s_signgam.c: Removed.
16457
        * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
16458
        to be const.
16459
        * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
16460
        to be const.
16461
        * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
16462
        libc/include/reent.h.
16463
        * libc/reent/Makefile.in: Regenerated.
16464
        * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
16465
        to be const.
16466
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
16467
        'JIS_action_table' to be const.
16468
        * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
16469
 
16470
Mon Oct 12 00:26:33 1998  Christopher Faylor 
16471
 
16472
        * acinclude.m4:  $with_target_subdir should default to '.'
16473
        or confusion results when configuring in same directory as sources.
16474
        * Regenerate all aclocal.m4 and configure files.
16475
 
16476
Fri Oct  9 16:27:36 1998  Jeff Johnston  
16477
 
16478
        * libc/stdlib/mallocr.c: Added 16 byte alignment support which
16479
        can be set by defining MALLOC_ALIGNMENT=16.  Also added support
16480
        for platforms where sizeof(size_t) < sizeof(long) via
16481
        SIZE_T_SMALLER_THAN_LONG macro.
16482
 
16483
Wed Oct  7 14:02:40 1998  Jeff Johnston  
16484
 
16485
        * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
16486
        to refer to _CLOCKS_PER_SEC_ and added including 
16487
        which sets _CLOCKS_PER_SEC_ for selected machines.
16488
        * libc/include/machine/time.h: New file.
16489
 
16490
Tue Oct  6 16:08:05 1998  Jeff Johnston  
16491
 
16492
        * libc/syscalls/sysexecve.c: New file.
16493
        * libc/syscalls/sysgettod.c: New file.
16494
        * libc/syscalls/systimes.c: New file.
16495
        * libc/syscalls/Makefile.am: Added new objects.
16496
        * libc/syscalls/Makefile.in: Regenerated.
16497
        * libc/include/_syslist.h (_execve): Moved define in file.
16498
        * libc/include/reent.h:  Added _execve_r declaration.
16499
        * libc/Makefile.in: Regenerated.
16500
        * libc/ctype/Makefile.in: Regenerated.
16501
        * libc/errno/Makefile.in: Regenerated.
16502
        * libc/locale/Makefile.in: Regenerated.
16503
        * libc/machine/Makefile.in: Regenerated.
16504
        * libc/misc/Makefile.in: Regenerated.
16505
        * libc/posix/Makefile.in: Regenerated.
16506
        * libc/reent/Makefile.in: Regenerated.
16507
        * libc/reent/execr.c (_execve_r): Added _execve_r function.
16508
        * libc/signal/Makefile.in: Regenerated.
16509
        * libc/stdio/Makefile.in: Regenerated.
16510
        * libc/time/Makefile.in: Regenerated.
16511
        * libc/unix/Makefile.in: Regenerated.
16512
        * libm/mathfp/Makefile.in: Regenerated.
16513
 
16514
Tue Oct  6 14:14:05 1998  Jeff Johnston  
16515
 
16516
        * libc/string/Makefile.in: Regenerated.
16517
        * libc/string/memchr.c (memchr): Moved code to reduce object size.
16518
        * libc/string/memcpy.c (memcpy): Ditto.
16519
        * libc/string/memcmp.c (memcmp): Ditto.
16520
        * libc/string/memset.c (memset): Ditto.
16521
        * libc/string/strchr.c (strchr): Ditto.
16522
        * libc/string/strcmp.c (strcmp): Ditto.
16523
        * libc/string/strcpy.c (strcpy): Ditto.
16524
        * libc/string/strlen.c (strlen): Ditto.
16525
 
16526
Tue Oct  6 13:58:05 1998  Jeff Johnston  
16527
 
16528
        * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
16529
        to generate aclocal.m4.
16530
        * libm/Makefile.in: Regenerated.
16531
        * libm/aclocal.m4: Regenerated.
16532
        * libm/configure: Regenerated.
16533
        * libm/math/Makefile.in: Regenerated.
16534
        * libm/mathfp/Makefile.in: Regenerated.
16535
 
16536
1998-09-25  Mark Salter  
16537
 
16538
        * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
16539
        by adding leading and trailing underscores to symbol names.
16540
 
16541
Tue Sep 22 15:33:41 1998  Christopher Faylor 
16542
 
16543
        * Makefile.in: Add default for AR_FLAGS.
16544
 
16545
Tue Sep 22 15:02:49 1998  Christopher Faylor 
16546
 
16547
        patch from ian@airs.com (Ian Taylor):
16548
        * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
16549
        NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
16550
        is needed for detecting the build machine.  Required for
16551
        cygwin native builds.
16552
 
16553
        * Regenerate all aclocal.m4 and configure files.
16554
 
16555
Mon Sep 21 14:44:16 1998  Nick Clifton  
16556
 
16557
        * libc/sys/arm/crt0.S: Prepend a period to all local labels that
16558
        used to start with LC.
16559
 
16560
Thu Sep 17 18:18:11 1998  J"orn Rennecke 
16561
 
16562
        * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
16563
        (longjmp): Likewise.
16564
 
16565
Thu Sep 17 16:25:33 1998  J"orn Rennecke 
16566
 
16567
        * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
16568
        the test for small number of bytes.
16569
 
16570
Thu Sep 10 11:40:00 1998  Ranjith Kumaran 
16571
 
16572
        * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
16573
        math library that uses floating point algorithms instead of the old
16574
        libm.
16575
        * Makefile.in: Regenerate with automake version 1.3b.
16576
        * configure: Rebuild.
16577
        * libm/Makefile.in: Regenerate with automake version 1.3b.
16578
        * libm/aclocal.m4: Regenerate.
16579
        * libm/configure: Rebuild.
16580
        * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
16581
        * libm/acinclude.m4: Define macros for configure.in.
16582
        * libm/config.h.in: Generate.
16583
        * libm/mathfp/Makefile.am: New file.
16584
        * libm/mathfp/Makefile.in: Generate.
16585
        * libm/mathfp/s_acos.c (acos): New file.
16586
        * libm/mathfp/s_asin.c (asin): New file.
16587
        * libm/mathfp/s_asine.c (asine): New file.
16588
        * libm/mathfp/s_atan.c (atan): New file.
16589
        * libm/mathfp/s_atan2.c (atan2): New file.
16590
        * libm/mathfp/s_atangent.c (atangent): New file.
16591
        * libm/mathfp/s_ceil.c (ceil): New file.
16592
        * libm/mathfp/s_copysign.c (copysign): New file.
16593
        * libm/mathfp/s_cos.c (cos): New file.
16594
        * libm/mathfp/s_cosh.c (cosh): New file.
16595
        * libm/mathfp/s_exp.c (exp): New file.
16596
        * libm/mathfp/s_fabs.c (fabs): New file.
16597
        * libm/mathfp/s_finite.c (finite): New file.
16598
        * libm/mathfp/s_floor.c (floor): New file.
16599
        * libm/mathfp/s_fmod.c (fmod): New file.
16600
        * libm/mathfp/s_frexp.c (frexp): New file.
16601
        * libm/mathfp/s_infconst.c: New file.
16602
        * libm/mathfp/s_isinf (isinf).c: New file.
16603
        * libm/mathfp/s_isnan.c (isnan): New file.
16604
        * libm/mathfp/s_ispos.c (ispos): New file.
16605
        * libm/mathfp/s_ldexp.c (ldexp): New file.
16606
        * libm/mathfp/s_log.c (log): New file.
16607
        * libm/mathfp/s_log10.c (log10): New file.
16608
        * libm/mathfp/s_logarithm.c (logarithm): New file.
16609
        * libm/mathfp/s_mathcnst.c: New file.
16610
        * libm/mathfp/s_modf (modf).c: New file.
16611
        * libm/mathfp/s_numtest.c (numtest): New file.
16612
        * libm/mathfp/s_pow.c (pow): New file.
16613
        * libm/mathfp/s_scalbn.c (scalbn): New file.
16614
        * libm/mathfp/s_sin (sin).c: New file.
16615
        * libm/mathfp/s_sine.c (sine): New file.
16616
        * libm/mathfp/s_sineh.c (sineh): New file.
16617
        * libm/mathfp/s_sinf.c (sinf): New file.
16618
        * libm/mathfp/s_sinh.c (sinh): New file.
16619
        * libm/mathfp/s_sqrt.c (sqrt): New file.
16620
        * libm/mathfp/s_tan.c (tan): New file.
16621
        * libm/mathfp/s_tanh.c (tanh): New file.
16622
        * libm/mathfp/sf_acos.c (acosf): New file.
16623
        * libm/mathfp/sf_asin.c (asinf): New file.
16624
        * libm/mathfp/sf_asine.c (asinef): New file.
16625
        * libm/mathfp/sf_atan.c (atanf): New file.
16626
        * libm/mathfp/sf_atan2.c (atan2f): New file.
16627
        * libm/mathfp/sf_atangent.c (atangent): New file.
16628
        * libm/mathfp/sf_ceil.c (ceilf): New file.
16629
        * libm/mathfp/sf_copysign.c (copysignf): New file.
16630
        * libm/mathfp/sf_cos.c (cosf): New file.
16631
        * libm/mathfp/sf_cosh.c (coshf): New file.
16632
        * libm/mathfp/sf_exp.c (expf): New file.
16633
        * libm/mathfp/sf_fabs.c (fabsf): New file.
16634
        * libm/mathfp/sf_finite.c (finitef): New file.
16635
        * libm/mathfp/sf_floor.c (floorf): New file.
16636
        * libm/mathfp/sf_fmod.c (fmodf): New file.
16637
        * libm/mathfp/sf_frexp.c (frexpf): New file.
16638
        * libm/mathfp/sf_isinf.c (isinff): New file.
16639
        * libm/mathfp/sf_isnan.c (isnanf): New file.
16640
        * libm/mathfp/sf_ispos.c (isposf): New file.
16641
        * libm/mathfp/sf_ldexp.c (ldexpf): New file.
16642
        * libm/mathfp/sf_log.c (logf): New file.
16643
        * libm/mathfp/sf_log10.c (log10f): New file.
16644
        * libm/mathfp/sf_logarithm.c (logarithmf): New file.
16645
        * libm/mathfp/sf_modf.c (modff): New file.
16646
        * libm/mathfp/sf_numtest.c (numtestf): New file.
16647
        * libm/mathfp/sf_pow.c (powf): New file.
16648
        * libm/mathfp/sf_scalbn.c (scalbnf): New file.
16649
        * libm/mathfp/sf_sin.c (sinf): New file.
16650
        * libm/mathfp/sf_sine.c (sinef): New file.
16651
        * libm/mathfp/sf_sineh.c (sinehf): New file.
16652
        * libm/mathfp/sf_sinh.c (sinhf): New file.
16653
        * libm/mathfp/sf_sqrt.c (sqrtf): New file.
16654
        * libm/mathfp/sf_tan.c (tanf): New file.
16655
        * libm/mathfp/sf_tanh.c (tanhf): New file.
16656
        * libm/mathfp/zmath.h: New file.
16657
 
16658
Wed Sep  2 02:49:03 1998  J"orn Rennecke 
16659
 
16660
        * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
16661
        exit if it has been overwritten by pre-fetching in delay slot.
16662
 
16663
1998-09-01  Michael Meissner  
16664
 
16665
        * Makefile.am (tooldir): Add in host_alias, so that multilib
16666
        libraries are installed in the directory the compiler looks in.
16667
        * Makefile.in: Regenerate.
16668
 
16669
        * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
16670
 
16671
Mon Aug 31 11:39:31 1998  Jeff Johnston  
16672
 
16673
        * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
16674
        ahead of test for number of bytes being moved.
16675
 
16676
Thu Aug 27 14:07:53 1998  Christopher Faylor 
16677
 
16678
        * libc/include/sys/unistd.h: Nothing special needed for
16679
        _exit under cygwin.
16680
 
16681
Wed Aug 26 15:05:21 1998  Nick Clifton  
16682
 
16683
        * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
16684
        conform to user label naming conventions.
16685
 
16686
Mon Aug 24 14:46:19 1998  Geoffrey Noer 
16687
 
16688
        * libc/sys/cygwin32/sys/utime.h: variable names in
16689
        protos should start with two leading underscores
16690
        * libc/include/string.h: ditto
16691
        * libc/include/sys/signal.h: ditto
16692
        * libc/include/sys/stat.h: ditto
16693
        * libc/include/sys/time.h: ditto
16694
        * libc/include/sys/unistd.h: ditto
16695
        * libc/include/ctype.h: ditto
16696
        * libc/include/stdlib.h: ditto
16697
        * libc/include/sys/reent.h: struct _atexit function ptr takes a
16698
        void, same with _sig_func.
16699
 
16700
Fri Aug 21 14:44:14 1998  Jeff Johnston  
16701
 
16702
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
16703
        for MB_CAPABLE to reduce code size when newlib is not configured
16704
        with --enable-newlib-mb.
16705
        * libc/stdlib/Makefile.am: Specified -fshort-enums when building
16706
        mbtowc_r.o to minimize size.
16707
        * libc/stdlib/Makefile.in: Rebuild.
16708
 
16709
Wed Aug 19 16:20:13 1998  Jim Wilson  
16710
 
16711
        * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
16712
        to -DREENT.
16713
        * libc/sys/sparc64/Makefile.in: Rebuild.
16714
 
16715
Tue Aug 18 22:38:29 1998  Ian Lance Taylor  
16716
 
16717
        * Makefile.am (MAKEOVERRIDES): Define.
16718
        * Makefile.in: Rebuild.
16719
 
16720
Tue Aug 18 12:38:47 1998  Jim Wilson  
16721
 
16722
        * libc/sys/sparc64/sys/stat.h (stat): Add const.
16723
 
16724
Mon Aug 17 22:27:06 1998  Ian Lance Taylor  
16725
 
16726
        * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
16727
        newlib_cflags when looking for targ-include.
16728
        * */aclocal.m4, */configure: Rebuild.
16729
 
16730
Fri Jul 31 10:57:42 1998  Catherine Moore  
16731
 
16732
        * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
16733
        to "_end".
16734
 
16735
Wed Jul 29 00:02:01 1998  Mark Alexander  
16736
 
16737
        * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
16738
        on SPARCs with little-endian data.
16739
        * libc/include/machine/ieeefp.h: Ditto.
16740
 
16741
Wed Jul 22 18:00:10 1998  Ian Lance Taylor  
16742
 
16743
        * acinclude.m4: Handle a relative srcdir correctly when setting
16744
        newlib_cflags.
16745
        * */aclocal.m4, */configure: Rebuild.
16746
 
16747
Wed Jul 22 17:11:33 1998  Jeff Johnston  
16748
 
16749
        * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
16750
        also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
16751
        * libm/math/wrf_gamma.c (gammaf_r): ditto
16752
        * libm/math/wr_lgamma.c (lgamma_r): ditto
16753
        * libm/math/wr_gamma.c (gamma_r): ditto
16754
        * libm/math/wf_sqrt.c (sqrtf): ditto
16755
        * libm/math/wf_sinh.c (sinhf): ditto
16756
        * libm/math/wf_scalb.c (scalbf): ditto
16757
        * libm/math/wf_remainder.c (remainderf): ditto
16758
        * libm/math/wf_pow.c (powf): ditto
16759
        * libm/math/wf_log10.c (log10f): ditto
16760
        * libm/math/wf_log.c (logf): ditto
16761
        * libm/math/wf_lgamma.c (lgammaf): ditto
16762
        * libm/math/wf_jn.c (jnf, ynf): ditto
16763
        * libm/math/wf_j1.c (j1f, y1f): ditto
16764
        * libm/math/wf_j0.c (j0f, y0f): ditto
16765
        * libm/math/wf_hypot.c (hypotf): ditto
16766
        * libm/math/wf_gamma.c (gammaf): ditto
16767
        * libm/math/wf_fmod.c (fmodf): ditto
16768
        * libm/math/wf_exp.c (expf): ditto
16769
        * libm/math/wf_cosh.c (coshf): ditto
16770
        * libm/math/wf_atanh.c (atanhf): ditto
16771
        * libm/math/wf_atan2f.c (atan2f): ditto
16772
        * libm/math/wf_asin.c (asinf): ditto
16773
        * libm/math/wf_acosh.c (acoshf): ditto
16774
        * libm/math/wf_acos.c (acosf): ditto
16775
        * libm/math/w_sqrt.c (sqrt): ditto
16776
        * libm/math/w_sinh.c (sinh): ditto
16777
        * libm/math/w_scalb.c (scalb): ditto
16778
        * libm/math/w_remainder.c (remainder): ditto
16779
        * libm/math/w_pow.c (pow): ditto
16780
        * libm/math/w_log10.c (log10): ditto
16781
        * libm/math/w_log.c (log): ditto
16782
        * libm/math/w_lgamma.c (lgamma): ditto
16783
        * libm/math/w_jn.c (jn, yn): ditto
16784
        * libm/math/w_j1.c (j1, y1): ditto
16785
        * libm/math/w_j0.c (j0, y0): ditto
16786
        * libm/math/w_hypot.c (hypot): ditto
16787
        * libm/math/w_gamma.c (gamma): ditto
16788
        * libm/math/w_fmod.c (fmod): ditto
16789
        * libm/math/w_exp.c (exp): ditto
16790
        * libm/math/w_cosh.c (cosh): ditto
16791
        * libm/math/w_atanh.c (atanh): ditto
16792
        * libm/math/w_atan2f.c (atan2): ditto
16793
        * libm/math/w_asin.c (asin): ditto
16794
        * libm/math/w_acosh.c (acosh): ditto
16795
        * libm/math/w_acos.c (acos): ditto
16796
 
16797
Tue Jul 21 12:34:54 1998  Ian Lance Taylor  
16798
 
16799
        * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
16800
        (fsrc): Add wf_cabs.c and wf_drem.c.
16801
        * libm/math/Makefile.in: Rebuild.
16802
 
16803
        * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
16804
        unused directory variables.  Remove duplicate CFLAGS.
16805
        * Makefile.in: Rebuild.
16806
 
16807
        * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
16808
        with $(CC_FOR_BUILD).
16809
        (makedoc.o): Likewise.
16810
        * doc/Makefile.in: Rebuild.
16811
 
16812
        * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
16813
        force a definition of COMPILE.
16814
        (libfoo_a_SOURCES): Define.
16815
        * libc/sys/cygwin32/Makefile.in: Rebuild.
16816
        * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
16817
        force a definition of COMPILE.
16818
        (libfoo_a_SOURCES): Define.
16819
        * libc/sys/tic80/Makefile.in: Rebuild.
16820
 
16821
Mon Jul 20 20:49:24 1998  Christopher Faylor 
16822
 
16823
        * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
16824
        flag.
16825
 
16826
Fri Jul 17 16:13:16 1998  Ian Lance Taylor  
16827
 
16828
        * Build using autoconf and automake.  Added many Makefile.am and
16829
        configure.in files, plus generated files.  Old configure.in files
16830
        and all old Makefile.in files completely replaced.  Removed
16831
        host/any.  Added acinclude.m4 and configure.host.
16832
 
16833
Sat Jul 11 18:14:49 1998  Felix Lee  
16834
 
16835
        * libc/stdio/vfprintf.c: enable long long support, sometimes.
16836
        * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
16837
 
16838
Tue Jul  7 01:51:55 1998  J"orn Rennecke 
16839
 
16840
        * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
16841
        * libc/machine/sh/Makefile.in: Add rules for new files.
16842
 
16843
Tue Jul  7 01:40:55 1998  J"orn Rennecke 
16844
 
16845
        * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
16846
        * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
16847
        * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
16848
 
16849
Thu Jul  2 10:33:16 1998  Nick Clifton  
16850
 
16851
        * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
16852
        code is ignored.
16853
 
16854
Wed Jun 24 13:56:54 1998  Jeff Johnston  
16855
 
16856
        * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
16857
        internal static buffer when s is NULL, as prescribed by ANSI.
16858
 
16859
1998-06-22  Vladimir N. Makarov  
16860
 
16861
        * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
16862
        removed.
16863
        * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
16864
        libc/stdlib will be used for h8300hms.
16865
 
16866
Thu Jun 18 16:56:05 1998  Jeff Johnston  
16867
 
16868
        * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
16869
        version that can be built either for speed or size.
16870
        * libc/machine/mn10300/memset.S (_memset): ditto
16871
        * libc/machine/mn10300/memchr.S (_memchr): ditto
16872
        * libc/machine/mn10300/memcpy.S (_memcpy): ditto
16873
        * libc/machine/mn10300/memcmp.S (_memcmp): ditto
16874
        * libc/machine/mn10300/strchr.S (_strchr): ditto
16875
        * libc/machine/mn10300/strcmp.S (_strcmp): ditto
16876
        * libc/machine/mn10300/strcpy.S (_strcpy): ditto
16877
        * libc/machine/mn10300/Makefile.in: Added entries for
16878
        memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
16879
        strcmp.o, strcpy.o, and strlen.o.
16880
 
16881
Wed Jun 17 12:50:26 1998  Mark Alexander  
16882
 
16883
        * configure.in: Don't use libc/sys/sysmec for MN10200; it's
16884
        been replaced with libgloss/mn10200.
16885
 
16886
Fri Jun 12 14:34:39 1998  Michael Meissner  
16887
 
16888
        * libc/string/strchr.c (strchr): Make s a constant pointer to
16889
        avoid warning.
16890
 
16891
Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
16892
 
16893
        * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
16894
        instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
16895
        board SWIs instead of Demon board SWIs).
16896
 
16897
Thu Jun  4 12:16:46 1998  Michael Meissner  
16898
 
16899
        * libc/string/strncat.c (strncat):  Make -Os act the same as
16900
        PREFER_SIZE_OVER_SPEED being defined.
16901
 
16902
Wed Jun  3 17:52:33 1998  Michael Meissner  
16903
 
16904
        * libc/string/memchr.c (memchr): Make -Os act the same as
16905
        PREFER_SIZE_OVER_SPEED being defined.
16906
        * libc/string/memcmp.c (memcmp): Ditto.
16907
        * libc/string/memcpy.c (memcpy): Ditto.
16908
        * libc/string/memset.c (memset): Ditto.
16909
        * libc/string/strcat.c (strcat): Ditto.
16910
        * libc/string/strchr.c (strchr): Ditto.
16911
        * libc/string/strcmp.c (strcmp): Ditto.
16912
        * libc/string/strcpy.c (strcpy): Ditto.
16913
        * libc/string/strlen.c (strlen): Ditto.
16914
        * libc/string/strncat.c (strncat): Ditto.
16915
        * libc/string/strncmp.c (strncmp): Ditto.
16916
        * libc/string/strncpy.c (strncpy): Ditto.
16917
 
16918
Mon Jun  1 15:25:07 1998  Geoffrey Noer  
16919
 
16920
        * libc/include/sys/itimer.h: remove
16921
        * libc/include/sys/time.h: itimer stuff should be here
16922
 
16923
Mon Jun  1 16:31:29 1998  Jeff Johnston  
16924
 
16925
        * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
16926
        bit instead of comparing to 0 so -0.0 can be printed correctly.
16927
 
16928
Sat May 30 09:33:51 1998  J"orn Rennecke 
16929
 
16930
        * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
16931
 
16932
Fri May 29 22:25:10 1998  Geoffrey Noer  
16933
 
16934
        * libc/include/sys/unistd.h: fix sync() proto
16935
        * libc/include/sys/fcntl.h: remove _close which is already
16936
        defined in unistd.h.
16937
        * libc/include/sys/time.h: add getitimer proto
16938
 
16939
Fri May 29 16:10:28 1998  Geoffrey Noer  
16940
 
16941
        * libc/string/strchr.c: convert arg to unsigned char
16942
        * libc/include/stdlib.h: add protos for random, srandom
16943
        * libc/include/sys/stat.h: add lstat proto
16944
        * libc/include/sys/time.h: add setitimer proto
16945
        * libc/include/sys/unistd.h: add readlink, symlink protos
16946
        * libc/include/process.h: instead of including windows.h and using
16947
        HANDLEs in sexec protos, just use void *s.  Need to include
16948
        sys/types.h.
16949
 
16950
Fri May 29 03:04:29 1998  Geoffrey Noer  
16951
 
16952
        * libc/include/sys/fcntl.h: add _close proto for Cygwin32
16953
 
16954
Thu May 28 16:34:21 1998  Geoffrey Noer  
16955
 
16956
        * libc/include/process.h: add secure exec protos
16957
 
16958
Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
16959
 
16960
        * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
16961
        which are accessed as both doubles and integers.
16962
        * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
16963
        * libc/stdlib/strtod.c (_strtod_r): Likewise.
16964
        * libc/stdlib/mprec.h: Add "union double_union" and change
16965
        word0/word1 macros to use it.
16966
 
16967
Tue May 26 18:04:21 1998  Geoffrey Noer  
16968
 
16969
        * libc/include/sys/signal.h: add __cplusplus wrapper
16970
 
16971
Tue May 26 15:10:22 1998  Geoffrey Noer  
16972
 
16973
        * libc/include/sys/utime.h: new generic file that gets replaced by
16974
        libc/sys/SYSDIR/sys/utime.h on systems that support the utime
16975
        function.
16976
        * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
16977
        * libc/include/time.h: remove duplicate utime proto
16978
        * libc/include/utime.h: add comment
16979
 
16980
Sun May 24 23:56:20 1998  Christopher Faylor 
16981
 
16982
        * libc/include/sys/time.h: Add missing include to
16983
        allow use of _EXFUN.  Remove times function that is
16984
        already defined in times.h.
16985
 
16986
Sun May 24 01:32:14 1998  Christopher Faylor 
16987
 
16988
        * libc/include/time.h: Fix typo in tzset.
16989
 
16990
Fri May 22 17:00:48 1998  Geoffrey Noer  
16991
 
16992
        * libc/include/sys/time.h: add missing Cygwin32 function protos
16993
        * libc/include/sys/unistd.h: ditto
16994
        * libc/include/time.h: ditto
16995
 
16996
Wed May 20 20:35:11 1998  Geoffrey Noer  
16997
 
16998
        * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
16999
        FIXME.
17000
        * libc/include/sys/types.h: add a new __MS_types__ section
17001
        to define vm_offset_t, vm_size_t, int32_t et al, register_t,
17002
        __BIT_TYPES_DEFINED__.
17003
 
17004
Wed May 20 18:49:21 1998  Geoffrey Noer  
17005
 
17006
        * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
17007
        since it overrides the one in libc/include/sys.  Also, start
17008
        including types.h.
17009
 
17010
Wed May 20 14:45:40 1998  Geoffrey Noer  
17011
 
17012
        * libm/math/Makefile.in: add s_signgam.o to obj list
17013
 
17014
Tue May 19 11:57:11 1998  Jeff Johnston  
17015
 
17016
        * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
17017
 
17018
Mon May 18 22:36:12 1998  Christopher Faylor 
17019
 
17020
        * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
17021
        so don't use defines.
17022
 
17023
Mon May 18 19:01:02 1998  Michael Meissner  
17024
 
17025
        * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
17026
 
17027
Sun May 17 18:40:32 1998  Frank Ch. Eigler  
17028
 
17029
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17030
        _current_locale as default locale.
17031
 
17032
Sat May 16 21:59:59 1998  Bob Manson  
17033
 
17034
        * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17035
        insufficient space in a chunk.
17036
 
17037
Tue May 12 14:41:01 1998  Jeff Johnston  
17038
 
17039
        * configure.in (links): Added check for --enable-newlib-mb configure
17040
        option which defines the MB_CAPABLE macro.
17041
        * libc/locale/locale.c (_setlocale_r): Added support for setting
17042
        LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
17043
        defined.
17044
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
17045
        implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
17046
        * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
17047
        implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
17048
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17049
        implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
17050
        * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
17051
        wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
17052
        * libc/stdlib/Makefile.in: Added new multibyte
17053
        routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
17054
        * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
17055
        _mbstowcs_r(), and _wcstombs_r().
17056
        * libc/stdlib/mbctype.h: New internal header file that contains macros to test
17057
        for JIS, SJIS, and EUC-JP characters.
17058
        * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17059
        MB_CAPABLE defined.
17060
        * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
17061
        MB_CAPABLE defined.
17062
        * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
17063
        MB_CAPABLE defined.
17064
        * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
17065
        if MB_CAPABLE defined.
17066
        * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
17067
        if MB_CAPABLE defined.
17068
        * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
17069
        to the format string processing when MB_CAPABLE.
17070
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
17071
        call _mbtowc_r().
17072
 
17073
Tue May  5 16:07:23 1998  Nick Clifton  
17074
 
17075
        The following modifications are courtesy of Anthony Thompson,
17076
        athompson@cambridge.arm.com:
17077
        * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
17078
        boith RDI and RDP monitors.
17079
        * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
17080
        RDI and RDP monitors.
17081
 
17082
Wed Apr 29 15:22:15 1998  Jeff Johnston  
17083
 
17084
        * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
17085
        * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
17086
        (_swiopen): Fixed open flags to treat write with append as just append.
17087
        (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
17088
        * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
17089
 
17090
Fri Apr 24 18:00:09 1998  J"orn Rennecke 
17091
 
17092
        * libc/machine/sh/memcpy.S (L_odddst, big endian version):
17093
        When needing to transfer an initial 2-byte-word, store as
17094
        two single bytes.
17095
 
17096
Wed Apr 22 17:56:03 1998  J"orn Rennecke 
17097
 
17098
        * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
17099
        __SH3E__ .
17100
        * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
17101
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
17102
 
17103
Wed Apr 22 12:28:03 1998  Michael Meissner  
17104
 
17105
        * configure.in (target_cflags): If --enable-target-optspace, use
17106
        -Os to compile newlib rather than -O2.  Default to using -Os for
17107
        d10v, d30v and m32r if --{enable,disable}-target-optspace is not
17108
        used.
17109
 
17110
Tue Apr 21 23:13:34 1998  Geoffrey Noer  
17111
 
17112
        * libc/include/machine/setjmp.h: change sigsetjmp and
17113
        siglongjmp definitions to use an array instead of a struct
17114
        for __CYGWIN32__
17115
 
17116
Tue Apr 14 11:47:47 1998  Doug Evans  
17117
 
17118
        * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
17119
 
17120
Mon Apr  6 15:05:08 1998  Jonathan Larmour  
17121
 
17122
        * libc/string/strxfrm.c: fix to get correct return value
17123
 
17124
Wed Apr  1 16:09:05 1998  Nick Clifton  
17125
 
17126
        * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
17127
        builds.  Make mode change labels global so that they will be seen
17128
        by the debugger.
17129
 
17130
Wed Mar 18 09:45:10 1998  Nick Clifton  
17131
 
17132
        * configure.in (links): Do not use ARM debiugging protocols for PE
17133
        builds.
17134
 
17135
        * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17136
        message.
17137
 
17138
Fri Mar 13 11:24:34 1998  Jeff Johnston  
17139
 
17140
        * libc/stdio/findfp.c (__sinit): Made stdout default to
17141
        line buffered mode as defined by ANSI.
17142
 
17143
Tue Mar 10 11:41:26 1997  Bob Manson  
17144
 
17145
        * libc/include/sys/itimer.h: New file.
17146
 
17147
        * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
17148
 
17149
Mon Mar  9 14:19:26 1998  J"orn Rennecke 
17150
 
17151
        * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
17152
        failure.
17153
 
17154
Fri Feb 27 13:56:10 1998  Michael Meissner  
17155
 
17156
        * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
17157
        insns.
17158
 
17159
Wed Feb 25 09:29:54 1998  Nick Clifton  
17160
 
17161
        * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
17162
 
17163
Tue Feb 24 18:00:13 1998  Michael Meissner  
17164
 
17165
        * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
17166
        support.
17167
 
17168
        * libc/include/machine/setjmp.h: Add D30V support.
17169
 
17170
        * configure.in (d30v-*): Add d30v machine directory.
17171
 
17172
Mon Feb 23 09:32:58 1998  Mark Alexander  
17173
 
17174
        * configure.in: Don't use libc/sys/sysmec for MN10300; it's
17175
        been replaced with libgloss/mn10300.
17176
 
17177
Sat Feb 21 17:44:43 1998  Geoffrey Noer  
17178
 
17179
        * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
17180
        it is no longer needed.
17181
 
17182
Thu Feb 19 16:15:10 1998  Geoffrey Noer  
17183
 
17184
        * libc/include/sys/signal.h: add sigpause proto for Cygwin32
17185
 
17186
Wed Feb 18 23:51:08 1998  Geoffrey Noer  
17187
 
17188
        * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
17189
        the file when O_APPEND is set, wherever the EOF happens to be at
17190
        that time.
17191
 
17192
Wed Feb 18 23:25:02 1998  Geoffrey Noer  
17193
 
17194
        patch from cgf@bbc.com (Christopher Faylor):
17195
        * libc/stdio/freopen.c (freopen): Conform to standard UNIX
17196
        convention of closing fp prior to attempting to open the file
17197
        argument.  This allows correct operation when reopening
17198
        stdin/stdout/stderr.  Replaces last freopen.c patch.
17199
 
17200
Wed Feb 18 16:27:40 1998  Geoffrey Noer  
17201
 
17202
        patch from cgf@bbc.com (Christopher Faylor):
17203
        * libc/stdio/freopen.c: freopen was not preserving the fd
17204
        of the stream being operated on.  This confuses programs that
17205
        expect that the handles for stdout and stderr will be 1 and 2.
17206
 
17207
Mon Feb 16 23:34:07 1998  Andrew Cagney  
17208
 
17209
        * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
17210
 
17211
Thu Feb 12 15:09:20 1998  Ranjith Kumaran 
17212
 
17213
        * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
17214
 
17215
Wed Feb 11 17:50:45 1998  Jeff Johnston  
17216
 
17217
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
17218
        altered to not use a branch.  Also added hint that last
17219
        bclr in longjmp will likely result in branch.
17220
 
17221
 
17222
Mon Feb  9 03:44:02 1998  Geoffrey Noer  
17223
 
17224
        * libc/sys/cygwin32/crt0.c: add missing args to main() extern
17225
 
17226
Fri Feb  6 16:32:32 1998  Nick Clifton  
17227
 
17228
        * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
17229
        v850 builds.
17230
 
17231
        * configure.in: Add -msmall-sld to target_cflags for v850 builds.
17232
 
17233
Wed Feb  4 16:56:20 1998  Jeff Johnston  
17234
 
17235
        * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
17236
        that loads FR14 to specify offset of 8 rather than 4
17237
        so it loads from offset 96 (where setjmp stored it).
17238
 
17239
Tue Feb  3 18:08:34 1998  Jeff Johnston  
17240
 
17241
        * libc/machine/sh/memcpy.S: (_memcpy): Update to
17242
        latest version supplied by customer.
17243
        * libc/machine/sh/memset.S (_memset): Ditto.
17244
 
17245
Mon Feb  2 16:20:39 1998  Nick Clifton  
17246
 
17247
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17248
        PR14730).
17249
 
17250
Mon Feb  2 15:13:26 1998  Geoffrey Noer  
17251
 
17252
        * libc/include/string.h: remove redefinition of ffs
17253
 
17254
Wed Jan 28 13:30:14 1998  Geoffrey Noer  
17255
 
17256
        * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
17257
        defined
17258
 
17259
Wed Jan 28 10:38:34 1998  Jeff Johnston  
17260
 
17261
        * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17262
        TI Libraries to link to libc.a
17263
 
17264
Sat Jan 24 10:15:56 1998  Michael Meissner  
17265
 
17266
        * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
17267
        * libc/include/sys/stat.h (_{,f}stat): Ditto.
17268
        * libc/include/sys/wait.h (_wait): Ditto.
17269
        * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
17270
        (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
17271
 
17272
Fri Jan 23 11:32:10 1998  Michael Meissner  
17273
 
17274
        * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
17275
        minded stabs so function name shows up when running the simulator
17276
        with -t.
17277
        * libc/sys/d10v/{crt0,trap}.S: Ditto.
17278
 
17279
Thu Jan 22 15:57:14 1998  Fred Fish  
17280
 
17281
        * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
17282
        * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
17283
        Use R5 where we used to use R3.
17284
 
17285
Wed Jan 21 14:22:23 1998  Bill Moyer 
17286
 
17287
        * libc/stdlib/getopt.c (getopt): replaced __progname
17288
        with nargv[0] to improve portability to imbedded systems.
17289
 
17290
Thu Jan 15 12:32:38 1998  Nick Clifton  
17291
 
17292
        * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
17293
        patch supplied by Tont.Thompson@arm.com to fix the creation of the
17294
        stdout file.
17295
 
17296
Wed Jan 14 13:00:19 1998  Ian Lance Taylor  
17297
 
17298
        * libc/stdio/tmpnam.c (worker): Generate a different file name
17299
        each time.
17300
 
17301
        * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
17302
        fails, try an execlp for sh.
17303
 
17304
        * host/any (INCLUDES): If target_os is cygwin32, then add a -I
17305
        option for the winsup include directory.
17306
 
17307
Wed Jan  7 17:02:58 1998  Nick Clifton  
17308
 
17309
        * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
17310
        debugging interface from Tony.Thompson@arm.com.
17311
 
17312
        * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
17313
        * libc/sys/arm/swi.h: ditto.
17314
 
17315
Tue Jan  6 14:15:10 1998  Geoffrey Noer  
17316
 
17317
        * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
17318
        DIR struct used for readdir hashes.
17319
 
17320
Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
17321
 
17322
        * libc/string/strchr.c: Use "unsigned chars" as necessary.
17323
 
17324
Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
17325
 
17326
        * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
17327
        integer targets.
17328
 
17329
Sat Dec 13 15:11:06 1997  Ian Lance Taylor  
17330
 
17331
        * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
17332
        INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
17333
        * libc/include/malloc.h: Add extern "C" if __cplusplus.
17334
        (__malloc_copy): Declare.
17335
 
17336
Wed Dec 10 12:15:54 1997  Ian Lance Taylor  
17337
 
17338
        * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
17339
        .
17340
        (POINTER_UINT): Define.
17341
        (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
17342
        (MALLOC_ALIGNMENT): Don't define if already defined.
17343
        (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
17344
        long.
17345
 
17346
Tue Dec  9 19:23:42 1997  Michael Meissner  
17347
 
17348
        * libc/string/memset.c (memset): Fiddle with code so that the long
17349
        value being stored is not a stack value.  Unroll storing longs 4
17350
        times.
17351
 
17352
Tue Dec  9 14:13:18 1997  Jeff Johnston  
17353
 
17354
        * Reduce code size for libm modules.
17355
        * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
17356
        and simply move code into sqrt.
17357
        * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
17358
        * libm/math/wr_lgamma.c (lgamma_r): Likewise.
17359
        * libm/math/wrf_gamma.c (gammaf_r): Likewise.
17360
        * libm/math/wr_gamma.c (gamma_r): Likewise.
17361
        * libm/math/wf_sinh.c (sinfh): Likewise.
17362
        * libm/math/w_sinh.c (sinh): Likewise.
17363
        * libm/math/wf_scalb.c (scalbf): Likewise.
17364
        * libm/math/w_scalb.c (scalb): Likewise.
17365
        * libm/math/wf_remainder.c (remainderf): Likewise.
17366
        * libm/math/w_remainder.c (remainder): Likewise.
17367
        * libm/math/wf_pow.c (powf): Likewise.
17368
        * libm/math/w_pow.c (pow): Likewise.
17369
        * libm/math/wf_log10.c (log10f): Likewise.
17370
        * libm/math/w_log10.c (log10): Likewise.
17371
        * libm/math/wf_log.c (logf): Likewise.
17372
        * libm/math/w_log.c (log): Likewise.
17373
        * libm/math/w_lgamma.c (lgamma): Likewise.
17374
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
17375
        * libm/math/wf_jn.c (jnf): Likewise.
17376
        * libm/math/w_jn.c (jn): Likewise.
17377
        * libm/math/wf_j1.c (j1f): Likewise.
17378
        * libm/math/w_j1.c (j1): Likewise.
17379
        * libm/math/wf_j0.c (j0f): Likewise.
17380
        * libm/math/w_j0.c (j0): Likewise.
17381
        * libm/math/wf_hypot.c (hypotf): Likewise.
17382
        * libm/math/w_hypot.c (hypot): Likewise.
17383
        * libm/math/wf_gamma.c (gammaf): Likewise.
17384
        * libm/math/w_gamma.c (gamma): Likewise.
17385
        * libm/math/wf_fmod.c (fmodf): Likewise.
17386
        * libm/math/w_fmod.c (fmod): Likewise.
17387
        * libm/math/wf_exp.c (expf): Likewise.
17388
        * libm/math/w_exp.c (exp): Likewise.
17389
        * libm/math/wf_cosh.c (coshf): Likewise.
17390
        * libm/math/w_cosh.c (cosh): Likewise.
17391
        * libm/math/wf_atanh.c (atanhf): Likewise.
17392
        * libm/math/w_atanh.c (atanh): Likewise.
17393
        * libm/math/wf_atan2.c (atan2f): Likewise.
17394
        * libm/math/w_atan2.c (atan2): Likewise.
17395
        * libm/math/wf_asin.c (asinf): Likewise.
17396
        * libm/math/w_asin.c (asin): Likewise.
17397
        * libm/math/wf_acosh.c (acoshf): Likewise.
17398
        * libm/math/w_acosh.c (acosh): Likewise.
17399
        * libm/math/wf_acos.c (asocf): Likewise.
17400
        * libm/math/w_acos.c (acos): Likewise.
17401
        * libm/math/wf_sqrt.c (sqrtf): Likewise.
17402
        * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
17403
        for embedded systems.
17404
 
17405
Mon Dec  8 12:12:58 1997  Ian Lance Taylor  
17406
 
17407
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
17408
        Lea in case of a foreign sbrk.
17409
 
17410
Fri Dec  5 23:27:28 1997  Ian Lance Taylor  
17411
 
17412
        Incorporate Doug Lea's malloc:
17413
        * libc/stdlib/mallocr.c: Completely replaced.
17414
        * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
17415
        (realloc): Remove.
17416
        * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
17417
        * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
17418
        mallopt.
17419
        (mallinfo, malloc_stats, mallopt): New functions.
17420
        (_mstats_r): Just call _malloc_stats_r.
17421
        * libc/stdlib/malign.c: New file.
17422
        * libc/stdlib/mlock.c: New file.
17423
        * libc/stdlib/msize.c: New file.
17424
        * libc/stdlib/mtrim.c: New file.
17425
        * libc/stdlib/realloc.c: New file.
17426
        * libc/stdlib/valloc.c: New file.
17427
        * libc/stdlib/malloc.h: Remove.
17428
        * libc/stdlib/callocr.c: Remove.
17429
        * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
17430
        malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
17431
        mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
17432
        reallocr.o, valloc.o, vallocr.o.
17433
        (CHEWOUT_FILES): Add mlock.def, mstats.def.
17434
        (MALLOC_CFLAGS): New variable.
17435
        (mallocr.o): New target, build from mallocr.c.
17436
        (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
17437
        (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
17438
        (msizer.o, malloptr.o): Likewise.
17439
        (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
17440
        (valloc.o): New target.
17441
        * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
17442
        * libc/include/malloc.h: Declare struct mallinfo, and new
17443
        routines.
17444
        * libc/include/stdlib.h (cfree): Correct declaration.
17445
 
17446
Tue Dec  2 10:12:16 1997  Nick Clifton  
17447
 
17448
        * libc/include/machine/setjmp.h: Add support for Thumb target.
17449
 
17450
        * libc/include/machine/ieeefp.h: Add support for Thumb target.
17451
 
17452
        * configure.in (links): Add support for Thumb target.
17453
 
17454
Wed Nov 26 09:56:17 1997  Nick Clifton  
17455
 
17456
        * libc/sys/arm/setjmp.S: Updated with version from branch.
17457
 
17458
Thu Nov 20 01:21:43 1997  Geoffrey Noer  
17459
 
17460
        * libc/include/stdio.h: add POSIX-required define L_ctermid
17461
        for ctermid
17462
 
17463
Wed Nov 19 16:11:40 1997  Michael Meissner  
17464
 
17465
        * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
17466
        addition to MISSING_SYSCALL_NAMES.
17467
 
17468
Mon Nov 17 20:05:05 1997  J"orn Rennecke 
17469
 
17470
        * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
17471
 
17472
Mon Nov 10 22:26:55 1997  Geoffrey Noer  
17473
 
17474
        * libc/include/string.h: change strsignal proto to return
17475
        a char *.  This eliminates compile problems in gdb resulting
17476
        from gdb's definition of strsignal in defs.h.
17477
 
17478
Mon Nov 10 17:11:08 1997  Geoffrey Noer  
17479
 
17480
        * libc/sys/cygwin32/sys/utime.h: new (moved here from
17481
        winsup/include) so as not to conflict with the one in
17482
        libc/include.
17483
        * libc/include/string.h: add protos for strsignal, strtosigno
17484
 
17485
Mon Nov 10 13:49:54 1997  Michael Meissner  
17486
 
17487
        * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
17488
 
17489
        * configure.in (d30v-*-*): Add configuration.
17490
 
17491
Thu Oct 30 14:01:23 1997  Nick Clifton  
17492
 
17493
        * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
17494
        to select which kind of debug monitor is in use for an ARM target.
17495
 
17496
        * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
17497
        Angel and Demon debug monitors.  Part of this code was supplied by
17498
        Tony Thompson at ARM: athompso@arm.com.
17499
 
17500
Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
17501
 
17502
        * strncat.c (strncat): Don't call strncpy; strncay has the wrong
17503
        semantics when the count is greater than the length of the second
17504
        source string.
17505
 
17506
Thu Oct 23 01:37:41 1997  Geoffrey Noer  
17507
 
17508
        * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
17509
        * libc/include/sys/unistd.h: add protos for usleep, truncate,
17510
        truncate and ftruncate take off_t, not size_t
17511
 
17512
Tue Oct 21 18:42:00 1997  Jim Wilson  
17513
 
17514
        * libc/string/strcat.c (strcat): Add missing comment end.
17515
        * libc/string/strncat.c (strncat): Likewise.
17516
 
17517
Tue Oct 21 17:23:34 1997  Nick Clifton  
17518
 
17519
        * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17520
        targets.
17521
        * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
17522
        optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17523
        defined.
17524
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
17525
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
17526
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
17527
 
17528
Mon Oct 13 15:12:35 1997  Ian Lance Taylor  
17529
 
17530
        * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
17531
        (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
17532
 
17533
Thu Oct  9 13:54:44 1997  Doug Evans  
17534
 
17535
        * libc/machine/i386/setjmp.S: New file.
17536
        * libc/machine/i386/Makefile.in: Delete COPYOFILES.
17537
        (OFILES): Add setjmp.o.
17538
        (setjmp.o): Add rule for.
17539
        * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
17540
 
17541
Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
17542
                         Jeffrey A Law  (law@cygnus.com)
17543
 
17544
        * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
17545
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
17546
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
17547
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
17548
 
17549
Mon Oct  6 14:07:59 1997  Nick Clifton  
17550
 
17551
        * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17552
        rules.
17553
 
17554
        * libc/include/sys/config.h: Use __v850 to select v850
17555
        endianness.
17556
 
17557
        * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
17558
        buffer size.
17559
 
17560
        * libc/include/machine/ieeefp.h: Use __v850 to select v850
17561
        endianness.
17562
 
17563
Thu Sep 25 14:11:37 1997  Geoffrey Noer  
17564
 
17565
        * libc/stdlib/setenv.c: change unsetenv definition to match
17566
        style of setenv (with _DEFUN).  The string should be a const.
17567
        * libc/include/stdlib.h: unsetenv proto should return void.
17568
 
17569
Tue Sep 23 18:17:20 1997  Geoffrey Noer  
17570
 
17571
        * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
17572
 
17573
Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
17574
 
17575
        * libc/stdio/glue.h: remove.
17576
        * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
17577
        * libc/stdio/Makefile.in: remove glue.h dependencies
17578
 
17579
Wed Sep 17 17:42:27 1997  Nick Clifton  
17580
 
17581
        * libc/sys/sysnecv850/crt0.S: Created V850e version.
17582
 
17583
Tue Sep  9 10:40:57 1997  Doug Evans  
17584
 
17585
        * configure.in (target_cpu): Add `arc'.
17586
 
17587
Tue Sep  9 10:40:42 1997  Joel Sherrill  
17588
 
17589
        * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
17590
          -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
17591
        * newlib/libc/include/sys/errno.h: Add ENOTSUP.
17592
        * newlib/libc/reent/reent.c: Add _wrapup_reent.
17593
        * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
17594
 
17595
Sun Sep  7 16:41:41 1997  Gavin Koch  
17596
 
17597
        * libc/machine/mips/setjmp.S: Handle mips16 builds.
17598
 
17599
Thu Aug 21 20:05:38 1997  Ian Lance Taylor  
17600
 
17601
        * libc/include/stdio.h (siprintf): Declare.
17602
 
17603
Mon Aug 18 11:19:13 1997  Nick Clifton  
17604
 
17605
        * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
17606
        TARGET_CFLAGS and NEWLIB_FLAGS.
17607
 
17608
Mon Aug 18 11:15:43 1997  Nick Clifton  
17609
 
17610
        * configure.in (links): Add support for v850ea target.
17611
 
17612
Mon Aug 18 11:15:43 1997  Nick Clifton  
17613
 
17614
        * configure.in (links): Add support for v850e target.
17615
 
17616
Wed Aug 13 19:16:54 1997  Nick Clifton  
17617
 
17618
        * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
17619
 
17620
Mon Aug 11 15:49:54 1997  Doug Evans  
17621
 
17622
        * configure.in (arc-*-*): Add support for.
17623
        * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
17624
 
17625
Fri Jul 25 17:37:41 1997  J"orn Rennecke 
17626
 
17627
        * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
17628
 
17629
Thu Jul 24 18:32:17 1997  Geoffrey Noer  
17630
 
17631
        * libc/stdlib/bsearch.c (bsearch): remove last unneeded
17632
        comparison which accesses invalid memory when the key is
17633
        larger than the last member of the array.
17634
        * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
17635
        for CYGWIN32
17636
        * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
17637
 
17638
Tue Jul 22 16:03:06 1997  Ian Lance Taylor  
17639
 
17640
        * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
17641
        not _STRICT_ANSI.
17642
 
17643
Thu Jul 10 15:11:52 1997  Doug Evans  
17644
 
17645
        * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
17646
        ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
17647
 
17648
Thu Jul 10 16:00:09 1997  Mike Meissner  
17649
 
17650
        * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
17651
        to load/store memory.
17652
 
17653
Mon Jul  7 17:38:17 1997  Ian Lance Taylor  
17654
 
17655
        * libc/include/sys/fcntl.h: Define _O_* symbols with leading
17656
        underscores if _WIN32.
17657
 
17658
Wed Jul  2 10:07:20 1997  Doug Evans  
17659
 
17660
        * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
17661
        support ifdef _USE_WRITE missed in last change.
17662
        From Anders Blomdell .
17663
 
17664
Wed Jun 25 10:18:49 1997  Doug Evans  
17665
 
17666
        * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
17667
        (_tmpnam_r, _tempnam_r): Update.
17668
 
17669
Wed Jun 25 00:16:55 1997  Mark Alexander  
17670
 
17671
        * libc/machine/sparc/setjmp.S: New file.
17672
        * libc/machine/sparc/Makefile.in: Add setjmp.
17673
        * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
17674
 
17675
Tue Jun 24 23:27:38 1997  Mark Alexander  
17676
 
17677
        * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
17678
 
17679
Tue Jun 24 14:53:40 1997  Doug Evans  
17680
 
17681
        From Joel Sherrill .
17682
        * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
17683
 
17684
        Add rtems support.  From Joel Sherrill .
17685
        * configure.in: Recognize *-*-rtems*.
17686
        * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
17687
        * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
17688
        time.h,times.h,types.h}: New files.
17689
        * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
17690
 
17691
Fri Jun 20 11:13:16 1997  Geoffrey Noer  
17692
 
17693
        patch from sos@prospect.com.ru (Sergey Okhapkin):
17694
        * include/sys/wait.h: correct operator precidence bug
17695
        in WIFSIGNALED
17696
 
17697
Wed Jun 18 22:08:27 1997  Geoffrey Noer  
17698
 
17699
        * libc/include/stdlib.h: remove unsetenv proto since it conflicts
17700
        with newlib's unsetenv function
17701
        * libc/sys/cygwin32/sys: new directory for includes
17702
        * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
17703
        here from winsup/include/sys
17704
 
17705
Mon Jun 16 21:02:22 1997  Geoffrey Noer  
17706
 
17707
        * libc/include/sys/unistd.h: _exit should only be
17708
        labelled noreturn when not __CYGWIN32__
17709
        * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
17710
        * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
17711
        increment NSIG
17712
 
17713
Thu Jun 12 18:52:41 1997  Ian Lance Taylor  
17714
 
17715
        * libc/include/sys/time.h: Only define timeval and timezone if
17716
        _GNU_H_WINDOWS32_SOCKETS is not defined.
17717
        * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
17718
 
17719
Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
17720
 
17721
        * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
17722
        * libc/machine/mn10300/setjmp.S: Likewise.
17723
 
17724
        * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
17725
        the mn10300 (more relaxing opportunities).
17726
 
17727
Tue Jun 10 17:24:45 1997  Mike Meissner  
17728
 
17729
        * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
17730
        Build libraries with -mstrict-align.
17731
 
17732
Fri Jun  6 14:07:59 1997  Ian Lance Taylor  
17733
 
17734
        * libc/string/strlwr.c: New file.
17735
        * libc/string/strupr.c: New file.
17736
        * libc/include/string.h: Declare strlwr and strupr.
17737
        * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
17738
        (CHEWOUT_FILES): Add strlwr.def and strupr.def.
17739
        (strlwr.o, strupr.o): New targets.
17740
        * libc/string/strings.tex: Include strlwr and strupr docs.
17741
 
17742
        * libc/include/sys/types.h: Don't define u_char, et. al., if
17743
        _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
17744
        et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
17745
        _types_fd_set rather than fd_set, and define fd_set as a macro.
17746
 
17747
        * libc/include/malloc.h: New file.
17748
 
17749
        * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
17750
        strnicmp if they are not already defined.
17751
 
17752
        * libc/include/time.h: If __CYGWIN32__, declare tzset and define
17753
        _timezone, _daylight, and _tzname.
17754
 
17755
Wed Jun  4 12:51:16 1997  Doug Evans  
17756
 
17757
        * configure.in: Sort all configuration tables.
17758
 
17759
        From Joel Sherrill 
17760
        * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
17761
 
17762
Tue Jun  3 14:47:46 1997  Ian Lance Taylor  
17763
 
17764
        * libc/include/sys/signal.h: Don't include .  Just
17765
        use int when declaring kill.
17766
 
17767
        * libc/include/sys/timeb.h: New file.
17768
 
17769
Mon Jun  2 12:06:58 1997  Geoffrey Noer  
17770
 
17771
        * libc/include/sys/time.h: add itimer support for Cygwin32
17772
 
17773
Mon May 19 11:56:46 1997  Mike Meissner  
17774
 
17775
        * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
17776
        out a message that abort was called to stderr.
17777
 
17778
Fri May 16 15:02:59 1997  Bob Manson  
17779
 
17780
        * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
17781
        so that libio doesn't freak.
17782
 
17783
        * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
17784
        int.
17785
 
17786
        * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
17787
        memory sizes, not int.
17788
 
17789
Wed May 14 21:16:58 1997  Bob Manson  
17790
 
17791
        * libm/math/ef_hypot.c: Use long constants where
17792
        appropriate.
17793
        * libm/math/ef_sqrt.c: Ditto.
17794
 
17795
        * libc/sys/sysmec/times.c(_times): Change to times.
17796
 
17797
        * libc/sys/sysmec/read.c(_read): The third argument is
17798
        size_t.
17799
        * libc/sys/sysmec/write.c (_write): Ditto.
17800
 
17801
        * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
17802
        (_lseek): It's off_t for the second argument.
17803
 
17804
Wed May 14 15:23:36 1997  Mike Meissner  
17805
 
17806
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
17807
        as well as machine/ieeefp.h.
17808
 
17809
Thu May  8 15:47:25 1997  Geoffrey Noer  
17810
 
17811
        * libc/include/sys/signal.h: add signal protos for winsup
17812
        functions (when __CYGWIN32__), include types.h
17813
        * libc/include/sys/types.h: Change __go32_types__ internal
17814
        define to __MS_types__ since it's used for more than just
17815
        GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
17816
        defined.
17817
        * libc/include/sys/unistd.h: add ftruncate proto for
17818
        winsup functions (when __CYGWIN32__)
17819
 
17820
Fri Apr 25 10:10:16 1997  Doug Evans  
17821
 
17822
        * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
17823
 
17824
Thu Apr 24 15:46:51 1997  Mike Stump  
17825
 
17826
        * libc/include/machine/setjmp.h: Add tic80 support.
17827
        * libc/machine/tic80/setjmp.S: Likewise.
17828
 
17829
Tue Apr 22 16:54:40 1997  Geoffrey Noer  
17830
 
17831
        * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
17832
        link programs from libraries only (such as in the X11
17833
        distribution)
17834
 
17835
Mon Apr 21 15:02:12 1997  Fred Fish  
17836
 
17837
        * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
17838
        supplied elsewhere in newlib.
17839
 
17840
Mon Apr 14 16:25:55 1997  Ian Lance Taylor  
17841
 
17842
        * Makefile.in (INSTALL): Change install.sh to install-sh.
17843
 
17844
Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
17845
 
17846
        * README: update WWW address for on-line documentation.
17847
 
17848
Wed Apr  9 00:38:13 1997  Geoffrey Noer  
17849
 
17850
        * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
17851
        increment NSIG
17852
 
17853
Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
17854
 
17855
        * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
17856
        mn10300.
17857
        * libc/sys/sysmec/trap.S: Don't compare a register to itself.
17858
 
17859
Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
17860
 
17861
        * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
17862
        * libc/sys/d10v/syscalls.c: Likewise.
17863
        * libc/sys/h8300hms/sbrk.c: Likewise.
17864
        * libc/sys/h8500hms/syscalls.c: Likewise.
17865
        * libc/sys/m88kbug/syscalls.c: Likewise.
17866
        * libc/sys/sh/syscalls.c: Likewise.
17867
        * libc/sys/sysmec/sbrk.c: Likewise.
17868
        * libc/sys/sysnecv850/sbrk.c: Likewise.
17869
        * libc/sys/w65/syscalls.c: Likewise.
17870
        * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
17871
 
17872
Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
17873
 
17874
        * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
17875
        emulated syscall instead of "trap".
17876
 
17877
Fri Mar 14 11:26:13 1997  Michael Meissner  
17878
 
17879
        * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
17880
        not trap 0.
17881
 
17882
Sun Mar  9 23:27:04 1997  Doug Evans  
17883
 
17884
        * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
17885
 
17886
Sat Mar  8 09:05:01 1997  Fred Fish  
17887
 
17888
        * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
17889
        not "sh".
17890
        * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
17891
        not "d10v".
17892
        * libc/sys/tic80/crt0.c: New file for TIc80.
17893
        * libc/sys/tic80/Makefile.in: New file for TIc80.
17894
        * libc/machine/tic80/Makefile.in: New file for TIc80.
17895
 
17896
Wed Mar  5 11:32:12 1997  J.T. Conklin  
17897
 
17898
        * libc/machine/sh/memcpy.S: New file.
17899
        * libc/machine/sh/memset.S: New file.
17900
        * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
17901
 
17902
Thu Feb 27 16:27:55 1997  Fred Fish  
17903
 
17904
        * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
17905
        for TIc80.
17906
 
17907
Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
17908
 
17909
        * libc/sys/sysmec/crt0.S: Handle new calling conventions for
17910
        the mn10200.
17911
 
17912
Wed Feb 26 07:11:03 1997  Michael Meissner  
17913
 
17914
        * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
17915
        (patch from andrew@pogo.WV.TEK.COM).
17916
 
17917
Fri Feb 14 11:49:28 1997  Doug Evans  
17918
 
17919
        * libc/machine/m32r/setjmp.S (setjmp): Save r12.
17920
        (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
17921
 
17922
Mon Feb 10 10:02:34 1997  Fred Fish  
17923
 
17924
        * configure.in:  Add cases for "tic80" to set machine_dir,
17925
        sys_dir, and syscall_dir.
17926
 
17927
Sun Feb  2 17:57:15 1997  Geoffrey Noer  
17928
 
17929
        * libc/sys/cygwin32/crt0.c: initialize floating pt registers
17930
 
17931
Wed Jan 29 15:57:38 1997  Geoffrey Noer  
17932
 
17933
        * libc/include/math.h: avoid conflicts with ANSI C++ 
17934
 
17935
Mon Jan 27 12:50:01 1997  Doug Evans  
17936
 
17937
        * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
17938
        Use proper constant prefix.
17939
 
17940
Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
17941
 
17942
        * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
17943
        that loses on the mn10200 where ints and pointers are different
17944
        sizes.
17945
 
17946
Tue Jan 14 13:29:55 PST 1997  Jeremy Allison 
17947
 
17948
        * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
17949
        target as signal is provided in winsup.
17950
 
17951
Tue Jan 14 11:10:13 1997  Jeremy Allison 
17952
 
17953
        * libc/include/sys/process.h: Corrected const definitions
17954
        in spawn functions. Added cwait.
17955
 
17956
Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
17957
 
17958
        * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
17959
        doubles.
17960
        * libc/include/sys/config.h: Similarly.
17961
 
17962
Tue Dec 31 18:36:14 1996  Michael Meissner  
17963
 
17964
        * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
17965
        target_cflags.
17966
        (i[3456]86-*-sco*): Ditto.
17967
 
17968
        * libc/signal/Makefile.in (OFILES): Add signal.o.
17969
        (CFILES): Add signal.c.
17970
 
17971
        * libc/signal/raise.c (_raise_r): Only compile code if
17972
        SIGNAL_PROVIDED is defined.
17973
 
17974
        * libc/signal/signal.c: Redo whole file so that it works with
17975
        current newlib.  Use _kill_r if no signal handler provided.
17976
 
17977
        * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
17978
        signal stubs.
17979
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
17980
        * libc/sys/sysnecv850/Makefile.in: Ditto.
17981
 
17982
        * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
17983
        * libc/sys/sysmec/{raise,signal}.c: Ditto.
17984
        * libc/sys/sysvnecv70/signal.s: Ditto.
17985
        * libc/sys/sysnecv850/raise.c: Ditto.
17986
 
17987
        * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
17988
        simulator and debugger can tell the difference between a signal
17989
        being raised and an exit system call.
17990
 
17991
        * NEWS: Document software signals being provided.
17992
 
17993
Mon Dec 23 11:54:19 1996  Michael Meissner  
17994
 
17995
        * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
17996
        __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
17997
        include/sys/config.h.
17998
        (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
17999
        Change from 'inpure_data'.
18000
        (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
18001
        &impure_data, not &inpure_data.
18002
 
18003
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
18004
        and and System V ABI, define so that _impure_ptr lives in the
18005
        .sdata section.
18006
 
18007
Sun Dec 22 23:33:05 1996  Michael Meissner  
18008
 
18009
        * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
18010
        nothing if not defined.
18011
        (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
18012
        its attributes.
18013
 
18014
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
18015
 
18016
Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
18017
 
18018
        * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
18019
        * libc/sys/sysmec/trap.s: Handle mn10200 too.
18020
        * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
18021
 
18022
Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
18023
 
18024
        * libc/sys/sysmec/crt0.S: Handle mn10200 too.
18025
 
18026
Fri Dec 13 11:05:20 1996  Jeremy Allison 
18027
 
18028
        * libc/include/sys/errno.h: Added net errno's.
18029
 
18030
Wed Dec 11 16:24:25 1996  Michael Meissner  
18031
 
18032
        * libc/misc/ffs.c: New file to support ffs function for GCC test
18033
        gcc.c-torture/execute/960909-1.c.
18034
 
18035
        * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
18036
 
18037
Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
18038
 
18039
        * libc/sys/sysmec/crt0.S: Handle underscore prefix.
18040
        * libc/sys/sysmec/trap.S: Likewise.
18041
 
18042
Fri Dec  6 15:08:49 1996  Jim Wilson  
18043
 
18044
        * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
18045
        * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
18046
 
18047
Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
18048
 
18049
        * libc/sys/sysmec/signal.c: Dummy file.
18050
        * libc/sys/sysmec/Makefile.in: Build it.
18051
 
18052
Wed Nov 27 13:10:18 1996  Ian Lance Taylor  
18053
 
18054
        * libc/machine/mips/machine/regdef.h: Define pc as $pc for
18055
        mips16.
18056
 
18057
Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
18058
 
18059
        * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
18060
        c-startup and simulator traps.
18061
 
18062
 
18063
        * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
18064
        * libc/sys/sysmec/trap0.S: Likewise.
18065
 
18066
Sat Nov 23 09:01:03 1996  Michael Meissner  
18067
 
18068
        * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
18069
        round to double word alignment.
18070
        (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
18071
        byte alignment.
18072
 
18073
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
18074
 
18075
        * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
18076
        out of memory.
18077
 
18078
Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
18079
 
18080
        * configure.in: Handle mn10200 and mn10300.
18081
        * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
18082
        * libc/include/sys/config.h: Likewise.
18083
        * libc/sys/sysmec: New directory for mec stuff.
18084
        * libc/machine/mn10300: New directory for mn10300 stuff.
18085
        * libc/machine/mn10200: Similarly for mn10200 stuff.
18086
 
18087
Fri Nov 15 16:41:41 1996  Doug Evans  
18088
 
18089
        * libc/sys/arm/crt0.S: Use .text, not .section .text.
18090
        * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
18091
 
18092
        * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
18093
        (nlink_t): Change type from unsigned int to unsigned short.
18094
        (mode_t): Ensure size is 32 bits even if int is 16.
18095
        * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
18096
        (st_spare[123]): Change type from int to long.
18097
 
18098
Fri Nov 15 11:41:50 1996  Michael Meissner  
18099
 
18100
        * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
18101
        byte boundary.
18102
 
18103
        * configure.in (d10v*): Define SMALL_MEMORY.
18104
 
18105
Mon Nov 11 10:30:44 1996  Michael Meissner  
18106
 
18107
        * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
18108
        -mrelocatable-lib and -mno-eabi flags.
18109
 
18110
Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
18111
 
18112
        * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
18113
        Fix handling of mis-aligned source operand when both the
18114
        destination & length are properly aligned.
18115
 
18116
Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
18117
 
18118
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add
18119
        times.o, time.o and gettime.o
18120
        * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
18121
        * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
18122
        SYS_gettimeofday.
18123
 
18124
Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
18125
 
18126
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
18127
        * libc/sys/sysnecv850/access.c: New file.
18128
 
18129
Mon Oct 21 19:47:02 1996  Ian Lance Taylor  
18130
 
18131
        * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
18132
 
18133
        * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
18134
        long.
18135
 
18136
Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
18137
 
18138
        * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
18139
 
18140
Thu Oct 17 11:47:16 1996  Doug Evans  
18141
 
18142
        * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
18143
        * libc/include/sys/config.h: Add m32r support.
18144
 
18145
Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
18146
 
18147
        * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
18148
        here.
18149
 
18150
Wed Oct 16 21:18:07 1996  Mark Alexander  
18151
 
18152
        * libc/include/machine/setjmp.h: Add D10v support.
18153
 
18154
Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
18155
 
18156
        * configure.in: Configure the "libc/syscalls" directory for
18157
        the v850.
18158
 
18159
        * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
18160
        * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
18161
        * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
18162
        * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
18163
        * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
18164
 
18165
Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
18166
 
18167
        * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
18168
        stack for args for main and other routines.  Zero out args for
18169
        main.
18170
 
18171
        * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
18172
        correctly.
18173
 
18174
Tue Oct 15 11:51:42 1996  Michael Meissner  
18175
 
18176
        * libc/stdio/findfp.c (std): Remove extraneous ';' after
18177
        function.
18178
 
18179
        * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
18180
 
18181
        * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
18182
        real system calls now.
18183
 
18184
        * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
18185
        before casting them to int.
18186
        * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
18187
 
18188
        * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
18189
        aligning pointer.
18190
        * libc/string/memset.c (memset): Ditto.
18191
 
18192
        * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
18193
        first convert ints to _POINTER_INT to eliminate GCC warning.
18194
 
18195
        * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
18196
        processing %p.
18197
 
18198
        * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
18199
        from 65000 if ints are only 16 bits.
18200
 
18201
        * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
18202
        from 50000 if ints are only 16 bits.
18203
 
18204
        * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
18205
        int type that is the same size as a pointer.
18206
 
18207
        * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
18208
        processing %p.
18209
        (get_number): Explicitly cast number to long before shifting by 16
18210
        or 24, in case ints are short.
18211
 
18212
        * libc/include/sys/config.h (_POINTER_INT): Define as short.
18213
 
18214
Wed Oct  9 16:54:32 1996  Jeremy Allison 
18215
 
18216
        * libc/string.h: Added ffs, removed swab.
18217
        * libc/sys/errno.h: Added EOPNOTSUPP.
18218
        * libc/sys/unistd.h: Added swab.
18219
 
18220
Thu Oct  3 17:08:50 1996  Jeremy Allison 
18221
 
18222
        * libc/include/sys/stat.h: Added fchmod.
18223
        * libc/include/sys/unistd.h: Added fsync.
18224
 
18225
Tue Oct  1 17:34:08 1996  Jeremy Allison 
18226
 
18227
        * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
18228
        and ECONNRESET (104) for cygwin32.
18229
 
18230
Tue Oct  1 16:24:05 1996  Gavin Koch  
18231
 
18232
        * libc/sys/sysnecv850/_exit.c: added _do_dtors to
18233
        do the static destructors.
18234
 
18235
Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
18236
 
18237
        * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
18238
 
18239
Mon Sep 30 12:02:50 1996  Doug Evans  
18240
 
18241
        * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
18242
        * configure.in: Recognize m32r-*-*.
18243
 
18244
Mon Sep 30 00:34:41 1996  James G. Smith  
18245
 
18246
        * libc/sys/arm/trap.S (__rt_stkovf_split_big,
18247
        __rt_stkovf_split_small): Added default software stack overflow
18248
        handlers, which just call SWI_Exit.
18249
        * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
18250
        limit initialisation.
18251
 
18252
Fri Sep 27 13:08:03 1996  Mark Alexander  
18253
 
18254
        * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
18255
 
18256
Fri Sep 27 12:32:00 1996  Jeremy Allison 
18257
 
18258
        * libc/include/sys/types.h: Added ssize_t definition.
18259
 
18260
Wed Sep 25 14:52:18 1996  Michael Meissner  
18261
 
18262
        * libc/machine/d10v/setjmp.S: Use ';' for comments.
18263
        * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
18264
 
18265
        * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
18266
        branch around a single ldi instruction.
18267
 
18268
        * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
18269
        Call exit, instead of just issuing a stop instruction.
18270
 
18271
Sun Sep 22 17:26:55 1996  Michael Meissner  
18272
 
18273
        * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
18274
 
18275
Fri Sep 20 13:23:12 1996  Michael Meissner  
18276
 
18277
        * libc/stdlib/mprec.h: Explicitly declare all large constants as
18278
        longs, and then cast them to __uint32_t.
18279
 
18280
        * libc/include/sys/config.h: Protect against multiple inclusions.
18281
 
18282
Tue Sep 17 13:10:33 1996  Mark Alexander  
18283
 
18284
        * configure.in (d10v*): Set syscall_dir.
18285
 
18286
Sun Sep 15 10:41:59 1996  Mark Alexander  
18287
 
18288
        * libc/sys/d10v/crt0.S: Set stack pointer.
18289
 
18290
Thu Sep 12 13:02:38 1996  Mark Alexander  
18291
 
18292
        * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
18293
        in assembly for efficiency.  Change calling convention to allow
18294
        long ints to be returned.
18295
 
18296
Wed Sep 11 10:28:18 1996  Michael Meissner  
18297
 
18298
        * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
18299
 
18300
Thu Sep  5 19:23:06 1996  Doug Evans  
18301
 
18302
        * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
18303
        Handle empty entries in $PATH.
18304
 
18305
Tue Sep 03 18:15:02 1996  Mark Alexander  
18306
 
18307
        * libc/machine/d10v/setjmp.S: Make it really work.
18308
 
18309
Tue Sep  3 12:16:26 1996  Ian Lance Taylor  
18310
 
18311
        * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
18312
        the .stack section.
18313
 
18314
Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
18315
 
18316
        * sys/sysnecv850/sys/file.h: Remove.
18317
        * sys/sysnecv850/sys/syscall.h: New file.
18318
        * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
18319
        * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
18320
        * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
18321
        * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
18322
        * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
18323
        * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
18324
        * sys/sysnec850/trap.S: New file.
18325
        * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
18326
        syscalls.
18327
        * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
18328
        * sys/sysnec850/sbrk.c: New version.
18329
 
18330
Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
18331
 
18332
        * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
18333
        as long as r6 is less than r7.
18334
 
18335
Sun Sep  1 13:54:19 1996  Ian Lance Taylor  
18336
 
18337
        * Makefile.in (mostlyclean): Separate from clean target.  Don't
18338
        remove *.a or targ-include.
18339
        * libc/machine/sparc/Makefile.in (mostlyclean): New target.
18340
 
18341
Sun Sep  1 11:35:26 1996  Michael Meissner  
18342
 
18343
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
18344
        d10v.
18345
        (__SMALL_BITFIELDS): Ditto.
18346
 
18347
        * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
18348
 
18349
Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
18350
 
18351
        * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
18352
        prefix.
18353
 
18354
        * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
18355
        * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
18356
        * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
18357
        * libc/sys/sysnecv850/write.c (write): Likewise.
18358
 
18359
        * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
18360
        .bss.
18361
 
18362
Fri Aug 30 11:18:45 1996  Michael Meissner  
18363
 
18364
        * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
18365
        appropriately for D10V, depending on -mint16/-mint32.
18366
 
18367
Thu Aug 29 16:09:37 1996  Mark Alexander  
18368
 
18369
        * configure.in: Add cases for D10V.
18370
 
18371
Thu Aug 29 17:03:23 1996  Michael Meissner  
18372
 
18373
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
18374
 
18375
Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
18376
 
18377
        * libc/include/machine/ieeefp.h: Fix typo.
18378
 
18379
Wed Aug 28 19:47:55 1996  Mark Alexander  
18380
 
18381
        * libc/sys/d10v: New directory for D10V stuff.
18382
        * libc/include/machine/ieeefp.h: Add D10V defines.
18383
 
18384
Mon Aug 26 13:34:58 1996  Doug Evans  
18385
 
18386
        * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
18387
        ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
18388
        ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
18389
        * libc/string/strerror.c (strerror): Add them.
18390
 
18391
Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
18392
 
18393
        * libc/sys/sysnecv850: New directory for v850 stuff.
18394
 
18395
        * libc/machine/v850: New directory for v850 stuff.
18396
        * libc/machine/v850/setjmp.S: setjmp/longjmp support.
18397
 
18398
        * configure.in: Add support for the v850.
18399
 
18400
        * libc/include/machine/ieeefp.h: Add v850 defines.
18401
        * libc/include/machine/setjmp.h: Likewise.
18402
        * libc/include/sys/config.h: Add v850 defines.
18403
 
18404
Sat Aug 17 04:06:36 1996  Geoffrey Noer  
18405
 
18406
        * libc/include/machine/ieeefp.h
18407
        * libc/include/machine/setjmp.h
18408
        * libc/include/sys/fcntl.h
18409
        * libc/include/sys/signal.h
18410
        * libc/include/sys/types.h
18411
        * libc/stdlib/system.c:
18412
        Fix preprocessor defines to match new scheme (_WIN32 for WIN32
18413
        API availability, __CYGWIN32__ for cygwin32 environment specific).
18414
 
18415
Thu Aug 15 17:09:21 1996  Geoffrey Noer  
18416
 
18417
        * libc/include/stdlib.h: add multibyte character functions.  Add
18418
        __eprintf for assert.
18419
 
18420
Thu Aug 15 11:15:40 1996  Michael Meissner  
18421
 
18422
        * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
18423
        arithmetic or __alignof__ to properly get the alignment, instead
18424
        of hardwiring it to 4.
18425
 
18426
Wed Aug 14 23:43:28 1996  Geoffrey Noer  
18427
 
18428
        * libc/stdio/fseek.c: add fflush call to adjust seek offset
18429
        on append stream (fix from NetBSD sources), adjust curoff offset
18430
        for ungetc's benefit.
18431
        * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
18432
        * libc/stdio/rewind.c: replace code with up to date NetBSD
18433
        code to undo hacks made to work around above problem of not
18434
        having fflush call mentioned above
18435
 
18436
Fri Aug  2 18:28:07 1996  J.T. Conklin  
18437
 
18438
        * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
18439
        openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
18440
        Partially revert last changes.  The thread specific errno is set
18441
        iff if the underlying syscall fails and the global errno is not
18442
        zero.
18443
 
18444
Fri Jul 19 11:41:52 1996  J.T. Conklin  
18445
 
18446
        * libc/reent/filer.c: Removed files, all functions have split out
18447
        into their own files.
18448
        * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
18449
        New files containing functions formally in filer.c
18450
        * libc/reent/Makefile.in: Updated for above change.
18451
 
18452
        * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
18453
        syscall fails, not if errno is changed.
18454
        * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
18455
        _write_r): Likewise.
18456
        * libc/reent/fstatr.c (_fstat_r): Likewise.
18457
        * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
18458
        * libc/reent/sbrkr.c (_sbrk_r): Likewise.
18459
        * libc/reent/signalr.c (_kill_r): Likewise.
18460
        * libc/reent/statr.c (_stat_r): Likewise.
18461
        * libc/reent/timer.c (_gettimeofday_r): Likewise.
18462
 
18463
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
18464
        signalr.c, statr.c, timer.c} (errno): declare extern rather
18465
        than as a common.
18466
 
18467
        * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
18468
        instead of calling vfprintf so that i*printf will not require
18469
        floating point support code.
18470
 
18471
Mon Jul 15 16:50:59 1996  Doug Evans  
18472
 
18473
        * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
18474
        path delimiter.
18475
        * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
18476
        (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
18477
 
18478
Thu Jul 11 14:34:14 1996  Geoffrey Noer  
18479
 
18480
        * libc/include/signal.h: _sig_func_ptr function takes an int
18481
        * libc/include/sys/signal.h: sa_handler function takes an int
18482
 
18483
Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
18484
 
18485
        * libc/include/machine/ieeefp.h: Simplify H8/S support.
18486
        * libc/include/sys/config.h: Add missing H8/S conditional.
18487
 
18488
Sun Jun 30 12:05:46 1996  Doug Evans  
18489
 
18490
        * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
18491
 
18492
Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
18493
 
18494
        * libc/include/machine/setjmp.h: Handle H8/S.
18495
        * libc/include/machine/ieeefp.h: Likewise.
18496
        * libc/include/sys/config.h: Likewise.
18497
        * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
18498
        * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
18499
        * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
18500
        * libc/sys/h8300hms/crt0.S: Likewise.
18501
 
18502
Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
18503
 
18504
        * Makefile.in (datadir): Set to $(prefix)/share.
18505
        (oldincludedir, docdir): Removed.
18506
        * doc/Makefile.in (datadir): Set to $(prefix)/share.
18507
        (oldincludedir, docdir): Removed.
18508
        * libc/Makefile.in (datadir): Set to $(prefix)/share.
18509
        (oldincludedir, docdir): Removed.
18510
        * libm/Makefile.in (datadir): Set to $(prefix)/share.
18511
        (oldincludedir, docdir): Removed.
18512
 
18513
Fri Jun 21 19:24:41 1996  Ian Lance Taylor  
18514
 
18515
        * libc/include/sys/reent.h (_REENT_INIT): Update for change to
18516
        _reent struct.
18517
 
18518
Wed Jun 19 14:00:09 1996  Doug Evans  
18519
 
18520
        * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
18521
        fetch current path rules with sysconf and handler posix/win32
18522
        appropriately.
18523
 
18524
        * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
18525
 
18526
        * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
18527
        (WAIT_CHILD): Always define.
18528
 
18529
Sat Jun 15 17:50:42 1996  Ian Lance Taylor  
18530
 
18531
        * libc/stdlib/eprintf.c: New file.
18532
        * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
18533
        (eprintf.o): New target.
18534
 
18535
Thu Jun 13 16:44:32 1996  Doug Evans  
18536
 
18537
        * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
18538
        (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
18539
 
18540
Thu Jun 13 17:45:17 1996  Mike Meissner  
18541
 
18542
        * libc/include/machine/ieeefp.h: Add support for AIX and Windows
18543
        NT in PowerPC endianess cases.
18544
 
18545
Tue Jun 11 12:26:28 1996  Michael Meissner  
18546
 
18547
        * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
18548
 
18549
Thu Jun  6 11:34:20 1996  Michael Meissner  
18550
 
18551
        * libc/string/strtok.c: Fix doc typo.
18552
 
18553
Mon Jun  3 11:30:00 1996  J.T. Conklin  
18554
 
18555
        * libc/include/sys/reent.h (struct _reent): Removed _asctime,
18556
        _next, _scanpoint, _signgam fields.
18557
 
18558
        * libc/include/stdlib.h (rand_r): Added new declaration.
18559
        (_rand_r, _srand_r): Removed declarations.
18560
        * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
18561
        have been made obsolete by rand_r.
18562
        * libc/stdlib/rand_r.c: New file, rand_r function as specified
18563
        by POSIX.1c.
18564
 
18565
        * libc/string/strtok.c: Update documentation to describe
18566
        strtok_r().
18567
 
18568
Sat Jun  1 23:50:39 1996  Michael Meissner  
18569
 
18570
        * libc/include/sys/stat.h (stat structure): Use the expanded stat
18571
        structure on Solaris, and PowerPC systems even though __svr4__ is
18572
        defined.
18573
 
18574
Tue May 28 13:02:42 1996  Doug Evans  
18575
 
18576
        * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
18577
 
18578
Fri May 17 10:34:44 1996  Ian Lance Taylor  
18579
 
18580
        * host/any: Use ../.. rather than .. to get to the main build
18581
        directory.  This matches the current layout of the build
18582
        directory.
18583
 
18584
Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
18585
 
18586
        * libc/machine/h8300/__main.S: Delete.  No longer needed.
18587
        * libc/machine/h8300/Makefile.in: Corresponding changes.
18588
        * libc/sys/h8300hms/crt1.c: New file.
18589
        * libc/sys/h8300hms/Makefile.in: Corresponding changes.
18590
        * libc/sys/h8300hms/crt0.s: Call __main.
18591
 
18592
        * libc/sys/h8300hms/crt0.S: Use temporary label names
18593
        for branch targets.
18594
 
18595
Mon May 13 14:26:30 1996  Doug Evans  
18596
 
18597
        * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
18598
 
18599
Fri May  3 16:38:23 1996  Michael Meissner  
18600
 
18601
        * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
18602
        .sdata on the PowerPC so that we can link newlib with code
18603
        compiled with -msdata.
18604
 
18605
Mon Apr 29 21:38:02 1996  Doug Evans  
18606
 
18607
        * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
18608
 
18609
Thu Apr 25 06:38:59 1996  Michael Meissner  
18610
 
18611
        * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
18612
        exception handler to __cygwin_exception_handler.
18613
 
18614
Tue Apr 23 15:14:20 1996  Ian Lance Taylor  
18615
 
18616
        * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
18617
 
18618
Sun Apr 21 12:11:51 1996  Doug Evans  
18619
 
18620
        * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
18621
        SunOS VPATH.
18622
        * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
18623
        wcstombs.o): Likewise.
18624
 
18625
Thu Apr 18 12:37:01 1996  Doug Evans  
18626
 
18627
        * libc/stdlib/environ.c (initial_env): New static local.
18628
        (environ): Point to `initial_env'.
18629
 
18630
        * libc/include/machine/setjmp.h: Clean up.
18631
        (__H8300H__,__PPC__): Define _JBTYPE.
18632
        (__arm__): Provide entry for.
18633
        (sigjmp_buf): Delete.
18634
        (jmp_buf): Use _JBTYPE if defined, otherwise int.
18635
 
18636
Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
18637
 
18638
        * libc/machine/h8300/strcmp.S: Sign extend the result to
18639
        32bits so we don't lose with -mint32.
18640
 
18641
Sun Apr 14 19:59:52 1996  Doug Evans  
18642
 
18643
        * libc/sys/go32/sys/errno.h: New file.
18644
        * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
18645
        * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
18646
        errno's address (make compatible with rest of newlib).
18647
        * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
18648
        * libc/string/strerror.c (strerror): Surround each case with #ifdef.
18649
 
18650
Thu Mar 28 13:44:42 1996  Doug Evans  
18651
 
18652
        * libc/machine/sparc/{scan.c,shuffle.c}: New files.
18653
        * libc/machine/sparc/Makefile.in: Build them.
18654
        * libc/machine/sparc/machine/sparclet.h: New file.
18655
 
18656
Mon Mar 25 15:29:14 1996  J.T. Conklin  
18657
 
18658
        * libc/machine/sh/asm.h: New file.
18659
        * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
18660
        support for SH3e's FP registers.  Use asm.h.
18661
 
18662
Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
18663
 
18664
        * libc/stdio/vfprintf.c (cvt): Accept a reent structure
18665
        as first argument.  Call _dtoa_r and pass the reent structure
18666
        instead of calling __dtoa.
18667
 
18668
Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
18669
 
18670
        * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
18671
        the h8300, h8500, and others.  Add comments for some rather
18672
        dubious code.
18673
 
18674
Thu Mar 14 18:04:43 1996  Ian Lance Taylor  
18675
 
18676
        * Makefile.in (check): Check that testsuite exists before cd.
18677
 
18678
Tue Mar 12 11:46:47 1996  Michael Meissner  
18679
 
18680
        * libc/include/string.h (strsep): Correct prototype.
18681
 
18682
Mon Mar 11 09:55:19 1996  Doug Evans  
18683
 
18684
        * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
18685
        * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
18686
        * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
18687
 
18688
Wed Mar  6 11:51:55 1996  Doug Evans  
18689
 
18690
        * libc/posix/{creat.c,isatty.c}: New files.
18691
        * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
18692
 
18693
        * libc/sys/sparc64/crt0.S (environ): Delete.
18694
        (.LHaveBias): Renamed from HaveBias.
18695
 
18696
Thu Feb 15 10:48:37 1996  Doug Evans  
18697
 
18698
        * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
18699
        (_morecore_r): Delete SBRK_IS_ALLOC support.
18700
 
18701
Tue Feb 13 09:44:09 1996  Michael Meissner  
18702
 
18703
        * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
18704
        module rather than touch, so we don't get warning messages when
18705
        all of the libraries are combined into libc.a.
18706
 
18707
Tue Feb 13 06:32:07 1996  Doug Evans  
18708
 
18709
        * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
18710
        crt0.s replaced by version in libgloss.
18711
 
18712
Mon Feb  5 15:17:51 1996  J.T. Conklin  
18713
 
18714
        * libc/reent/Makefile.in (OFILES): Add impure.o.
18715
        * libc/reent/impure.o: New file, define initial reentrancy struct.
18716
        * libc/reent/reent.c: Remove above definition.
18717
 
18718
        * libm/math/sf_asinh.c: Fix typo.
18719
 
18720
        * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
18721
        srf_ldexp.o.
18722
 
18723
        * libm/libm.texinfo: Change documentation to reflect changes
18724
        in reentrancy model.
18725
        * libm/math/w_gamma.c: Likewise.
18726
 
18727
Wed Jan 31 18:49:45 1996  Steve Chamberlain  
18728
 
18729
        * configure.in (*-*-cygwin32): New.
18730
        (*-*-win32): Deleted.
18731
        * libc/sys/win32 renamed libc/sys/cygwin32.
18732
 
18733
Tue Jan 30 22:09:03 1996  Michael Meissner  
18734
 
18735
        * libc/include/sys/file.h: New include file.
18736
 
18737
Fri Jan 26 15:52:54 1996  Steve Chamberlain  
18738
 
18739
        * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
18740
 
18741
Tue Jan 23 17:49:16 1996  Steve Chamberlain  
18742
 
18743
        * libc/include/sys/wait.h (WIFSIGNALED): Fix.
18744
 
18745
Tue Jan 16 09:28:10 1996  Michael Meissner  
18746
 
18747
        * doc/makedoc.c (realloc): Declare at file scope.
18748
        (catchar): Not here.
18749
 
18750
Wed Dec 27 15:45:23 1995  Doug Evans  
18751
 
18752
        * Makefile.in (VERSION): Update to 1.7.0.
18753
        * {libc,libm}/Makefile.in (VERSION): Likewise.
18754
        * configure.in: Minor clean up of multilib stuff.
18755
 
18756
        From David Johnson 
18757
        * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
18758
 
18759
        * libc/stdlib/environ.c: New file.
18760
        * libc/stdlib/Makefile.in (OFILES): Build it.
18761
        * libc/sys/h8500hms/crt0.c (environ): Deleted.
18762
        * libc/sys/m88kbug/crt0.c (environ): Deleted.
18763
        * libc/sys/z8ksim/crt0.c (environ): Deleted.
18764
        * libc/sys/netware/environ.c: Deleted.
18765
 
18766
Tue Dec 19 15:24:46 1995  Kim Knuttila  
18767
 
18768
        * configure.in (links): set sys_dir, posix_dir, syscall_dir
18769
 
18770
Wed Dec 13 04:16:25 1995  Michael Meissner  
18771
 
18772
        * doc/makedoc.c (init_string_with_size,nextword): Move malloc
18773
        declaration out to external scope and declare it PTR, not char *.
18774
 
18775
Mon Dec 11 17:35:12 1995  steve chamberlain  
18776
 
18777
        * libc/include/sys/unistd.h (getpagesize): New declaration.
18778
        (_SC_PAGESIZE): New definition.
18779
        * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
18780
        * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
18781
 
18782
Fri Dec  1 16:48:46 1995  James G. Smith  
18783
 
18784
        * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
18785
        addressing. System call returns size, not (last address + 1).
18786
 
18787
Thu Nov 30 15:05:26 1995  J.T. Conklin  
18788
 
18789
        * libm/math/*.c: Removed _foo_r() reentrancy API.
18790
        * libc/include/math.h: Removed _foo_r prototypes and macros.
18791
 
18792
        * libm/math/*.c: On systems with IEEE single precision "doubles"
18793
        move foo() -> foof() wrapper code from the files that implement
18794
        the standard IEEE double precision functions to the files that
18795
        implement IEEE single precision functions. (ie. On those systems
18796
        sin is moved from s_sin.c to sf_sin.c).  There should eventually
18797
        be use of a C extension (like gcc's alias attribute) so that the
18798
        wrappers are not needed at all.
18799
 
18800
        * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
18801
        strict NEC V810 compiler.
18802
        * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
18803
        for same reason.
18804
 
18805
Wed Nov 29 14:25:05 1995  J.T. Conklin  
18806
 
18807
        * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
18808
        from NetBSD C library.
18809
        * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
18810
 
18811
        * libc/stdlib/assert.c (__assert): Renamed from __assertfail
18812
        and adapted from implementation I wrote for NetBSD C library.
18813
        The difference is __assert doesn't take a format argument,
18814
        so that there won't be multiple copies of the same string
18815
        constant in the executable if assertions are enabled in
18816
        more than one source module.
18817
        * libc/include/assert.h (assert): Changed to call __assert.
18818
 
18819
Tue Nov 28 16:54:26 1995  J.T. Conklin  
18820
 
18821
        * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
18822
        word1 on systems with 32 bit doubles.
18823
        * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
18824
        so that we can do arithmetic on them.
18825
        * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
18826
        compilers.
18827
 
18828
Tue Nov 28 16:03:32 1995  Doug Evans  
18829
 
18830
        * libc/sys/arm/crt0.S: Zero bss.
18831
 
18832
Fri Nov 24 16:09:23 1995  Doug Evans  
18833
 
18834
        * libc/include/unctrl.h: New file.
18835
        * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
18836
        * configure.in (subdirs): Add libc/misc.
18837
        * libc/Makefile.in (SUBDIRS): Add misc.
18838
        (SUBLIBS): Add misc/lib.a.
18839
 
18840
        * libc/include/sys/reent.h (struct _reent): Make __sf last member.
18841
 
18842
Wed Nov 22 19:49:47 1995  Doug Evans  
18843
 
18844
        * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
18845
        (_vfprintf_r): Call CHECK_INIT.
18846
 
18847
Tue Nov 14 02:52:12 1995  Doug Evans  
18848
 
18849
        * Makefile.in (MULTITOP): Delete.
18850
        (MULTISRCTOP, MULTIBUILDTOP): Add.
18851
        * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
18852
        instead of cfg-ml-pos.in.
18853
 
18854
Wed Nov  8 01:24:08 1995  James G. Smith  
18855
 
18856
        * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
18857
        * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
18858
        presence.
18859
 
18860
Thu Nov  2 22:25:06 1995  Michael Meissner  
18861
 
18862
        * libc/string/strtok.c: Include string.h to pick up strtok_r
18863
        prototype.
18864
 
18865
Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
18866
 
18867
        * libc/string/strtok.c: include <_ansi.h>.
18868
        * libc/time/asctime_r.c: `reresult' -> `result'.
18869
 
18870
Wed Nov  1 14:35:52 1995  J.T. Conklin  
18871
 
18872
        * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
18873
        in #ifndef _REENT_ONLY ... #endif conditional.
18874
 
18875
        * libc/include/string.h (_strtok_r): Remove declaration.
18876
        * libc/include/time.h (_asctime_r): Remove declaration.
18877
        * libc/string/strtok.c (_strtok_r): Removed.
18878
        * libc/time/asctime.c (_asctime_r): Removed.
18879
 
18880
        * libc/string/Makefile.in (OFILES): Add new object.
18881
        * libc/string/strtok_r.c: New file.  strtok_r function as
18882
        specified by POSIX.1c, adapted from strtok implementation
18883
        from NetBSD C library.
18884
        * libc/string/strtok.c (strtok): Reimplemented in terms of
18885
        strtok_r.
18886
 
18887
        * libc/time/Makefile.in (OFILES): Add new objects.
18888
        * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
18889
        New files, reentrant time functions specified by POSIX.1c.
18890
        * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
18891
        reentrant time functions re-written in terms of reentrant
18892
        functions.
18893
        * libc/time/lcltime.c: Renamed from localtime.c
18894
 
18895
        * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
18896
        gmtime_r, and localtime_r.
18897
 
18898
Sat Oct 28 14:34:31 1995  steve chamberlain  
18899
 
18900
        * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
18901
        * libc/include/sys/unistd.h (getlogin): Revert change of
18902
        Oct 19.
18903
        * libc/include/sys/signal.h (sigprocmask): Change prototype
18904
        so it compiles with c++.
18905
 
18906
Wed Oct 25 15:43:18 1995  Michael Meissner  
18907
 
18908
        * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
18909
        PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
18910
        to give some room in case we need to align the jmp_buf.
18911
 
18912
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
18913
        the new ppc-asm.h include file the compiler provides to specify
18914
        function prologue/epilogue.  Eliminate saves of the xer and ctr
18915
        registers, which are volatile.  Before starting to save registers,
18916
        align to 8 byte boundary.
18917
 
18918
Mon Oct 23 11:20:51 1995  James G. Smith  
18919
 
18920
        * libc/sys/vr4300/syscalls.c: Added empty kill() function,
18921
        referenced by standard libraries.
18922
 
18923
Thu Oct 19 21:39:47 1995  Fred Fish  
18924
 
18925
        * libc/unix/Makefile.in, libc/string/Makefile.in,
18926
        libc/stdio/Makefile.in, libc/reent/Makefile.in,
18927
        libc/posix/Makefile.in:
18928
        Remove tabs from otherwise empty line.  Confuses some
18929
        older non-GNU versions of "make".
18930
 
18931
Thu Oct 19 16:32:17 1995  steve chamberlain  
18932
 
18933
        * libc/sys/unistd.h (getlogin): Returns const char *.
18934
 
18935
Wed Oct 18 12:57:50 1995  steve chamberlain  
18936
 
18937
        * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
18938
        * libc/include/errno.h: Moved into and include...
18939
        * libc/include/sys/errno.h: New file.
18940
        * libc/include/sys/wait.h: New file.
18941
        * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
18942
        * libc/sys/win32/*: Moved out.
18943
        * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
18944
        * configure.in (i[345]86-*-win32): HAVE_RENAME
18945
 
18946
Wed Oct 18 09:58:27 1995  Brendan Kehoe  
18947
 
18948
        * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
18949
        avoid macro expansion for these two names.
18950
 
18951
Tue Oct 17 08:45:33 1995  Doug Evans  
18952
 
18953
        * libc/machine/h8500/psi.S: r6 renamed to fp.
18954
 
18955
Sun Oct 15 12:58:10 1995  Michael Meissner  
18956
 
18957
        * configure.in (powerpc*): No longer need to define
18958
        NO_LONGLONG_POINTERS to supress warnings.
18959
 
18960
Sat Oct 14 12:55:08 1995  Jim Wilson  
18961
 
18962
        * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
18963
        through PTR instead of directly.
18964
 
18965
        * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
18966
        non-standard constructor support.
18967
 
18968
Thu Oct 12 11:39:42 1995  J.T. Conklin  
18969
 
18970
        * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
18971
        address of the Bigint instead of the address of its _x field,
18972
        as the size the result buffer was calculated accordingly.
18973
        Fix from Jim Wilson .
18974
 
18975
        * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
18976
        from NetBSD C library.  No longer special cases division by
18977
        zero (which needs to be done by the application anyway), but
18978
        it doesn't need to call abs() (or labs()) four times either.
18979
 
18980
        * libc/stdlib/qsort.c: Replaced with implementation from
18981
        NetBSD C library.
18982
 
18983
Tue Oct 10 14:01:10 1995  J.T. Conklin  
18984
 
18985
        * libc/stdio/vfprintf.c: Replaced with implementation from
18986
        NetBSD C library (which is derived from the 4.4BSD C library).
18987
        * libc/stdio/cvt.c: Removed.
18988
        * libc/stdio/Makefile: Updated.
18989
 
18990
Tue Oct 10 12:15:23 1995  steve chamberlain  
18991
 
18992
        * libc/sys/win32/syscalls.c (rename): New.
18993
        * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
18994
 
18995
Fri Oct  6 12:18:43 1995  Jim Wilson  
18996
 
18997
        * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
18998
        * libc/machine/sh/setjmp.S: Rename from setjmp.s.
18999
 
19000
        * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
19001
        (setjmp.o): Delete rule to build setjmp.o.
19002
        * libc/sys/sh/setjmp.S: Delete file.
19003
 
19004
Fri Oct  6 11:19:05 1995  J.T. Conklin  
19005
 
19006
        * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
19007
        * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
19008
        format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
19009
        pow5mult and s2b to identifiers with leading underscores.
19010
        * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
19011
        ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
19012
 
19013
Thu Oct  5 17:27:30 1995  steve chamberlain  
19014
 
19015
        * libc/sys/posix/popen.c (sys/types.h): Include.
19016
 
19017
Thu Oct  5 16:33:01 1995  Doug Evans  
19018
 
19019
        * libc/sys/win32/syscalls.h (fhandler): New struct.
19020
        (__lookup_fhandler, __lookup_fhandler_hook): Declare.
19021
        (__fhandler_normal): Declare.
19022
        (hinfo): New member op_handlers.
19023
        * libc/sys/win32/syscalls.c (__read): Don't validate fd.
19024
        (__write): Likewise.
19025
        (_read, _write, _open, _close, _lseek): Validate fd here.
19026
        Move file type specific stuff to foo_normal.
19027
        (read_normal, write_normal, open_normal, close_normal, lseek_normal):
19028
        New functions.
19029
        (__lookup_fhandler): New function.
19030
        (__lookup_fhandler_hook, __fhandler_normal): New variables.
19031
 
19032
        From anders.blomdell@control.lth.se (Anders Blomdell)
19033
        * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
19034
        Don't touch standard handles.
19035
        * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
19036
        (_execve): Only create __FD_TABLE__ if necessary.
19037
        * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
19038
 
19039
Thu Oct  5 14:25:14 1995  steve chamberlain  
19040
 
19041
        * libc/sys/win32/sys/termios.h (FLUSHO): New.
19042
        * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
19043
        * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
19044
        * libc/sys/win32/exception.c (ehandler3): set strace when a signal
19045
        without a handler is received.
19046
        * libc/sys/win32/Makefile.in: Remove --nodelete.
19047
        * libc/sys/win32/resouce.c (gettimeofday): New.
19048
        * libc/sys/win32/syscalls.c (path_to_real_path): New.
19049
        * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
19050
 
19051
Wed Oct  4 13:10:35 1995  Doug Evans  
19052
 
19053
        * libc/sys/win32/dirsearch.c (opendir): stat real path name.
19054
        Don't append "/*" to search pattern if trailing '/' already there,
19055
        append "*".
19056
        * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
19057
        like /'s, convert them to \'s.  Handle /// path names.
19058
        Add space for quoted \'s in arg string.  Print translated prog name
19059
        and original prog name.
19060
        (_execve): Handle parent doing exec a teensy bit better.
19061
        * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
19062
        * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
19063
        path needs conversion, handle both cases.  Delete `const' from result.
19064
        (hash_path_name): New function.
19065
        (_open): Call it.
19066
        (_stat): Likewise.  Fill in more fields for directories.
19067
        * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
19068
        (wait_for_any): Fix trace message.
19069
        (waitpid): Explicitly test for intpid == 0.
19070
 
19071
        From anders.blomdell@control.lth.se (Anders Blomdell)
19072
        * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
19073
        so `next' is valid.
19074
 
19075
Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
19076
 
19077
        * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
19078
        complicated.
19079
 
19080
Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
19081
 
19082
        * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
19083
        at all, not just == 1.
19084
        * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
19085
 
19086
Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
19087
 
19088
        * libc/sys/win32/include/winbase.h: include  and 
19089
        * libc/sys/win32/include/wintypes.h: include 
19090
        * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
19091
        file.
19092
 
19093
Fri Sep 29 01:49:17 1995  steve chamberlain  
19094
 
19095
        * libc/sys/syscalls.c (getcwd): Fix off by one error.
19096
 
19097
        * libc/sys/signal.c (sleep): Fill it in.
19098
        * libc/sys/termios.c (tcflush): Use PurgeComm
19099
        (tcsetattr): Set some more of the bits.
19100
        * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
19101
 
19102
Fri Sep 29 04:33:53 1995  Doug Evans  
19103
 
19104
        * libc/sys/arm/crt0.S (fp): Initialize to 0.
19105
        Conditionally include .idata$3 stuff ifdef __pe__.
19106
 
19107
Fri Sep 29 01:49:17 1995  steve chamberlain  
19108
 
19109
        * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
19110
        * libc/sys/win32/pipe.c (pipe): Ditto.
19111
        * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
19112
        * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
19113
        * libc/sys/win32/termios.c (tcsetattr): Init new fields.
19114
        (tcgetattr): Contents are new.
19115
        * libc/sys/win32/include/winkernel.h (DCB): New.
19116
        (GetCommState, SetCommState): New.
19117
 
19118
Thu Sep 28 16:29:09 1995  Doug Evans  
19119
 
19120
        * libc/sys/arm/crt0.S (_start): Define.
19121
 
19122
Thu Sep 28 12:26:45 1995  steve chamberlain  
19123
 
19124
        * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
19125
        * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
19126
 
19127
        * libc/sys/win32/sysconf.c: New
19128
        * libc/sys/win32/sys/winadvapi.h: New
19129
        * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
19130
        * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
19131
        * libc/sys/win32/pipe.c (pipe): Ditto.
19132
        * libc/sys/win32/signal.c (_raise): New.
19133
        (_kill): Moved from spawn.c
19134
        * libc/sys/win32/spawn.c (kill): Moved to signal.c
19135
        * libc/sys/win32/syscalls.c (__read): Use new fields.
19136
        (_open): Ditto.
19137
        * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
19138
        * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
19139
        * libc/include/sys/unistd.h (rmdir): Takes const path.
19140
        * libc/include/sys/stat.h (mkdir): Takes const path.
19141
        * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
19142
 
19143
Thu Sep 28 10:11:27 1995  Doug Evans  
19144
 
19145
        * libc/sys/win32/spawn.c (_spawn): Fix quoting.
19146
 
19147
        Add support for specifying paths as ///foo/bar.
19148
        * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
19149
        (__path_to_real_path): Declare.
19150
        (PATH_TO_REAL_PATH): New macro.
19151
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
19152
        (__path_needs_conversion_p, __path_to_real_path): New functions.
19153
        (_open): Fix test for error return from CreateFileA.
19154
        Handle new path syntax.
19155
        (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
19156
        * libc/sys/win32/dirsearch.c (opendir): Likewise.
19157
 
19158
Wed Sep 27 16:36:46 1995  steve chamberlain  
19159
 
19160
        * libc/sys/win32/include/*.h: Reorganized
19161
        * libc/sys/win32/include/WINREADME: New.
19162
        * libc/sys/win32/Makefile.in (DLLS): Build version.a.
19163
        * libc/sys/win32/*.c: Fix for new include scheme.
19164
        * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
19165
        * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
19166
        * libc/sys/win32/passwd.c (*): Fix.
19167
        * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
19168
        (_stat): Get directory owner and permissions right.
19169
        * libc/sys/win32/syscalls.h (uinfo): New.
19170
        * libc/sys/win32/version.def: Remove leading underscores.
19171
 
19172
Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19173
 
19174
        * libc/sys/win32/key.c: include "include/wincon.h".
19175
 
19176
Tue Sep 26 07:21:48 1995  steve chamberlain  
19177
 
19178
        * libc/sys/win32/{key, stubs}.c: New.
19179
        * libc/sys/win32/Makefile: Adjust to cope.
19180
        * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
19181
        (environ_init): Change env names to upper case.
19182
        * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
19183
        * libc/sys/win32/passwd.c (*): Fill in the functions.
19184
        * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
19185
        * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
19186
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
19187
        (_open): Initialze hmap->execable_p too.
19188
        * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
19189
        (_fstat): Fill in permissions.
19190
        * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
19191
 
19192
Fri Sep 22 13:47:27 1995  Doug Evans  
19193
 
19194
        * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
19195
        if defined.
19196
        (cfg-ml-pos.in invocation): Likewise.
19197
 
19198
Fri Sep 22 11:43:44 1995  J.T. Conklin  
19199
 
19200
        * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
19201
        s_isnan.o and sf_isnan.o.
19202
 
19203
Wed Sep 20 14:50:19 1995  Ian Lance Taylor  
19204
 
19205
        * All Makefile.in files: added maintainer-clean target as a
19206
        synonym for realclean.
19207
 
19208
Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
19209
 
19210
        * libc/include/machine/setjmp.h: Add hppa support.
19211
        * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
19212
        support.
19213
        * libc/machine/hppa/Makefile.in: Related changes.
19214
 
19215
Tue Sep 19 12:09:01 1995  J.T. Conklin  
19216
 
19217
        * configure.in (machine_dir): Don't set for v810-*-*.
19218
 
19219
Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19220
 
19221
        * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
19222
        conventions correctly.
19223
 
19224
Thu Sep 14 13:37:22 1995  J.T. Conklin  
19225
 
19226
        * libc/stdio/puts.c: Update documentation of return value to match
19227
        ANSI standard.
19228
 
19229
Thu Sep 14 01:52:37 1995  Doug Evans  
19230
 
19231
        Fix file descriptor inheritance.
19232
        * libc/sys/win32/syscalls.h (CHILD_P): Define again.
19233
        (NOT_OPEN_FD): Fix.
19234
        * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
19235
        close-on-exec flag not set.  Initialize child's entire fd table.
19236
        * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
19237
        CHILD_P.
19238
        * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
19239
        if CHILD_P.  Initialize entire hmap entry.
19240
        (dup): Only create new handle as inheritable if CHILD_P.
19241
        (dup2): Likewise.  Properly initialize hmap entry.
19242
 
19243
        * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
19244
        _spawn.
19245
        (_exit): Use CHILD_P.
19246
        * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
19247
        (_stat): Likewise.
19248
 
19249
Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19250
 
19251
        * libc/sys/win32/crt0.c (passover): fix up the state table.
19252
        * libc/posix/popen.c: Added.
19253
        * libc/posix/Makefile.in: compile popen.c.
19254
 
19255
Mon Sep 11 11:43:38 1995  J.T. Conklin  
19256
 
19257
        * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
19258
        h8/500 define _DOUBLE_IS_32BITS.
19259
 
19260
Sat Sep  9 17:55:54 1995  Doug Evans  
19261
 
19262
        Get vfork/exec/spawn/cwait/wait working again.
19263
        * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
19264
        (procinfo): New member vfork_level.
19265
        * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
19266
        (vfork_init_first): Use GetCurrentProcessId to get pid.
19267
        Initialize vfork_level.
19268
        (vfork_init): Delete __PID__.
19269
        (environ_init): New function.  Undo patch of Aug 19, Posix says
19270
        environment variables are case sensitive.
19271
        (mainCRTStartup): Call it.
19272
        * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
19273
        (my_longjump: Make static.
19274
        (_spawn): New argument `h'.  Delete setting of __PID__.
19275
        Delete local `idx'.  Look for chars that need quotes, rather than
19276
        ones that don't.  Set handle of created process in `h'.
19277
        Result is process id if created task.
19278
        (allocate_spawn_entry): New function.
19279
        (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
19280
        (_execve): Set __FD_TABLE__ before spawning child.
19281
        Scan our fd table when passing fds, not our parent's.
19282
        Store handle and pid in procinfo entry.
19283
        (vfork0): Ensure strace message always printed.
19284
        Set child pid to VFORK_NEWBORN_PSEUDO_PID.
19285
        (vfork): Don't clobber result of vfork0.
19286
        * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
19287
        (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
19288
 
19289
        * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
19290
        and `exit_code'.
19291
        * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
19292
        (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
19293
        adding vfork level to pseudo-pid.
19294
        (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
19295
        (spawnvp, spawnv, _execve): Set handle_valid_p if success.
19296
        (_exit): If child, set exit code.
19297
        (__vfork_record_death): Only close process handle if valid.
19298
        * libc/sys/win32/wait.c (wait_for_single): Watch for children that
19299
        didn't exec.
19300
        (wait_for_any): Likewise.  Start scan after root entry.
19301
 
19302
Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
19303
 
19304
        * libc/include/sys/types.h (off_t): off_t back to 32 bits.
19305
        * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
19306
        * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
19307
        of actual file length.
19308
 
19309
        * libc/sys/win32/sys/wait.h: include .
19310
        * libc/include/paths.h: _PATH_BSHELL added.
19311
        * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
19312
        and STDERR_FILENO.
19313
 
19314
Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
19315
 
19316
        * libc/include/ar.h: Added.
19317
        * libc/include/sys/types.h: ino_t goes back to 32-bits.
19318
        * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
19319
        * libc/sys/win32/syscalls.c (_open): compute .namehash based
19320
        on filename.
19321
        (_fstat): use .namehash for inode number of the fd.
19322
 
19323
Thu Sep  7 12:57:19 1995  steve chamberlain  
19324
 
19325
        * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
19326
         Change hinfo to __this_procinfo.
19327
        * libc/sys/win32/crt0.c: Remove procinfo_list.
19328
 
19329
Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19330
 
19331
        * libc/include/sys/types.h (ino_t): Define ino_t correctly for
19332
        win32 environment.
19333
 
19334
Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
19335
 
19336
        * libc/sys/win32/include/grp.h: Removed.
19337
        * libc/sys/include/grp.h: Added.
19338
        * libc/sys/win32/grp.c: Include .
19339
 
19340
Wed Sep  6 16:52:48 1995  steve chamberlain  
19341
 
19342
        * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
19343
        (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
19344
        Defined for all but strict ANSI.
19345
        * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
19346
        * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
19347
        * libc/signal/signal.c (_signal_r): Changed from using
19348
        _MAX_SIGNALS to NSIG.
19349
        * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
19350
         __hmap): Deleted.
19351
        (__strace, __vfork_next_pid): New.
19352
        (__exe_suffix): Default to 1.
19353
        (passover, table): Understand quoted arguments.
19354
        (vfork_init_first): New.
19355
        (vfork_init): Initialize new process structure.
19356
        (mainCRTStartup): Pass environ to main.
19357
        * exceptions.c (__sig_mask): New
19358
        (ehandler3): Ignore signals in mask.
19359
        (really_exit): Remove CHILD_P test.
19360
        * pipe.c (pipe, dup, dup2): Use new process and file structure.
19361
        * resource.c (getrusage): Ditto.
19362
        * signal.c (sigprocmask): New.
19363
        * spawn.c (*): Rewritten.
19364
        * syscalls.c (*): Use new process and file structure.
19365
        (find_unused_handle): New.
19366
        * syscalls.h (MAX_HANDLES): Deleted.
19367
        (hinfo): Removed child_created_p.
19368
        (MAX_CHILDREN): Deleted.
19369
        (vfork_jmp_info, procinfo): New.
19370
        * wait.c (*): Mostly new.
19371
        * sys/strace.h (_STRACE_PARANOID): New.
19372
        * sys/param.h: New file.
19373
 
19374
Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19375
 
19376
        * libc/include/sys/stat.h: add S_BLKSIZE.
19377
        * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
19378
        * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
19379
        types under win32.
19380
        (mode_t): add a #else to avoid multiple definitons.
19381
 
19382
        * libc/sys/win32/Makefile.in: add grp.c.
19383
        * libc/sys/win32/grp.c: include grp.h correctly.
19384
        * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
19385
        of the st structure with real information.
19386
        * libc/sys/win32 (dirent): d_ino is of type ino_t.
19387
 
19388
Wed Sep  6 10:41:34 1995  Doug Evans  
19389
 
19390
        * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
19391
        and (maybe) sparc64.
19392
        (nlink_t): Provide typedef.
19393
 
19394
Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
19395
 
19396
        * libc/sys/win32/grp.c: New file.
19397
        * libc/sys/win32/include/grp.h: New file.
19398
 
19399
Tue Sep  5 13:47:27 1995  J.T. Conklin  
19400
 
19401
        * libc/include/machine/ieeefp.h: Added whitespace to make this
19402
        file easier to maintain.
19403
        On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
19404
        depending on the value of __LITTLE_ENDIAN__.
19405
        On the sh3e, define _DOUBLE_IS_32BITS.
19406
 
19407
Fri Sep  1 15:35:18 1995  James G. Smith  
19408
 
19409
        * libc/sys/vr4300/syscalls.c: Added missing support
19410
        routines. _raise() and getpid().
19411
 
19412
Fri Sep  1 14:12:48 1995  James G. Smith  
19413
 
19414
        * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
19415
 
19416
Fri Sep  1 08:42:11 1995  James G. Smith  
19417
 
19418
        * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
19419
        and VR4300 processor.
19420
        * libc/sys/vr4300: Add directory.
19421
        * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
19422
        monitor run-time support.
19423
 
19424
Thu Aug 31 09:16:52 1995  J.T. Conklin  
19425
 
19426
        * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
19427
        * libc/stdlib/stdlib.tex: Don't include atol.def.
19428
 
19429
Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19430
 
19431
        * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
19432
 
19433
Wed Aug 30 10:48:08 1995  steve chamberlain  
19434
 
19435
        * libc/ctype/Makefile.in: Fill in _to* dependencies.
19436
 
19437
Tue Aug 29 17:14:29 1995  steve chamberlain  
19438
 
19439
        * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
19440
        * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
19441
        * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
19442
        * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
19443
        * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
19444
 
19445
Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19446
 
19447
        * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
19448
 
19449
Tue Aug 29 16:08:09 1995  J.T. Conklin  
19450
 
19451
        * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
19452
        * libc/stdlib/atoff.c: New file.
19453
        * libc/stdlib/atof.c (atoff): Moved to atoff.c.
19454
        * libc/stdlib/atoi.c (atol): Removed.
19455
        * libc/stdlib/atol.c: Removed duplicate documentation.
19456
 
19457
        * libc/include/ctype.h (_tolower, _toupper): Moved inside
19458
        #ifndef _STRICT_ANSI conditional.
19459
        * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
19460
        * libc/ctype/_tolower.c: New file.
19461
        * libc/ctype/_toupper.c: New file.
19462
        * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
19463
        * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
19464
        * libc/ctype/toascii.c (_toascii): Removed.
19465
 
19466
Tue Aug 29 12:17:32 1995  Doug Evans  
19467
 
19468
        * libc/sys/sparc64/sys/types.h: Deleted.
19469
 
19470
Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19471
 
19472
        * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
19473
        and recognize Windows_95 systems.
19474
 
19475
Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19476
 
19477
        * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
19478
        and passed fds should be opened in text mode.
19479
 
19480
Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
19481
 
19482
        * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
19483
        in __hmap, set to binary mode by default.
19484
 
19485
Tue Aug 22 14:12:37 1995  J.T. Conklin  
19486
 
19487
        * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
19488
        * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
19489
        vector 34.
19490
 
19491
Sat Aug 19 18:25:37 1995  steve chamberlain  
19492
 
19493
        * Makefile.in (install): Install all libraries found in the
19494
        top level.  If there's a sys//include directory,
19495
        install those headers into include.
19496
 
19497
        * libc/sys/win32/kernel.def351: Delete
19498
        * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
19499
        glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
19500
        lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
19501
        nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
19502
        ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
19503
        rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
19504
        uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
19505
        winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
19506
 
19507
        * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
19508
        * libc/sys/win32/crt0.c: Force all env names to upper case.
19509
        * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
19510
        * libc/sys/win32/*.c: Headers have moved.
19511
        * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
19512
        __vfork_child_idx is now __vfork_child_ptr.
19513
 
19514
        * posix/execvp (execvp): Don't crash if no PATH envname.
19515
 
19516
Fri Aug 18 12:22:59 1995  J.T. Conklin  
19517
 
19518
        * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
19519
        * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
19520
        through the _freelist instead of through the _reclaim list.
19521
        * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
19522
        * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
19523
        sources.
19524
 
19525
Thu Aug 17 11:03:27 1995  J.T. Conklin  
19526
 
19527
        * libc/machine/h8500/setjmp.S: New file.
19528
        * libc/include/machine/setjmp.h: Updated for H8/500.
19529
 
19530
Wed Aug 16 16:19:11 1995  steve chamberlain  
19531
 
19532
        * libc/sys/win32/syscalls.c (_open): More stracing.
19533
        (_stat): Open the file in O_BINARY.
19534
 
19535
Wed Aug 16 15:49:01 1995  J.T. Conklin  
19536
 
19537
        * libc/machine/h8300/setjmp.S: New file.
19538
        * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
19539
 
19540
Tue Aug 15 10:31:09 1995  Doug Evans  
19541
 
19542
        * libc/sys/win32/crt0.c (__exe_suffix): New global.
19543
        (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
19544
        * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
19545
        __exe_suffix.  Free fd_tab after setting env variable.
19546
        (spawnv,_execve): Update.
19547
        * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
19548
        * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
19549
        (__small_vfprintf): New function.
19550
        * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
19551
        * libc/sys/win32/wait.c (cwait): Validate argument.
19552
 
19553
        * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
19554
        (process_deletion_queue): Likewise.
19555
 
19556
        * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
19557
 
19558
Mon Aug 14 10:14:10 1995  steve chamberlain  
19559
 
19560
        * libc/sys/win32: Copyrights and gratuitous indenting.
19561
 
19562
Mon Aug 14 01:32:58 1995  Doug Evans  
19563
 
19564
        * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
19565
        (process_deletion_queue): Likewise.
19566
        (__close_all_files): New function.
19567
        (_close): Only queue file deletion if really a file.
19568
        * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
19569
        _P_APPEND_EXE.
19570
        (_exit): Call __close_all_files.
19571
 
19572
        * libc/stdlib/system.c: #include .
19573
        (_system_r): Fix results in -DNO_EXEC case.
19574
 
19575
        * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
19576
        Reorganize structure.
19577
        * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
19578
        if argument is valid.  Save directory name in DIR.  malloc space
19579
        for dirent struct separately.
19580
        * libc/sys/win32/syscalls.c (stat): Fix test for directory.
19581
 
19582
        * libc/include/errno.h (ENAMETOOLONG): Define.
19583
        * libc/string/strerror.c (strerror): Reword ENFILE.
19584
        Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
19585
 
19586
Sun Aug 13 22:42:25 1995  Doug Evans  
19587
 
19588
        * libc/sys/win32/crt0.c (__progname): New global.
19589
        (mainCRTStartup): Support strace=bitmask,filename.
19590
        * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
19591
        * libc/sys/win32/syscalls.c (_write): Print parent trace message
19592
        if error.
19593
        (getcwd): Handle len too small.  Convert '\\' to '/'.
19594
        * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
19595
        Add prototypes for open, creat, fcntl.
19596
        (O_APPEND): Change value to conform to Microsoft's value.
19597
        * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
19598
 
19599
        * libc/stdlib/getopt.c: New file.
19600
        * libc/stdlib/Makefile.in: Build it.
19601
 
19602
Sat Aug 12 12:17:14 1995  Doug Evans  
19603
 
19604
        * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
19605
        Fix scanning of $PATH.
19606
        * libc/posix/exec*.c: Call _execve, not execve.
19607
        * libc/posix/execve.c: New file.
19608
        * libc/posix/Makefile.in (OFILES): Add execve.o.
19609
 
19610
        * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
19611
        _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
19612
        (_STRACE): If level==0, always print.  Handle new bit mask scheme.
19613
        * libc/sys/win32/crt0.c: Update _STRACE calls.
19614
        * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
19615
 
19616
        * libc/sys/win32/smallprint.c (rn): Fix digit list.
19617
 
19618
        * libc/sys/win32/syscalls.c (__really_exit): Move from here,
19619
        * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
19620
        * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
19621
        Print __seterrno trace message first.
19622
        (_execve): Renamed from execve.
19623
        (vfork): Update __strace usage.
19624
        (__vfork_child_pid): Deleted.
19625
        (__vfork_children, __vfork_child_idx): New globals.
19626
        (_spawnvp): New function.
19627
        (spawnvp, spawnv, _execve): Call _spawnvp.
19628
        (init_child): Record child in __vfork_children.
19629
        (__vfork_get_entry, __vfork_record_death): New functions.
19630
        * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
19631
        * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
19632
        * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
19633
        (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
19634
        (children): New typedef.
19635
        (__vfork_children,__vfork_child_idx): Declare.
19636
        (__vfork_get_entry,__vfork_record_death): Declare.
19637
        * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
19638
        (waitpid): Handle pid == -1.
19639
        * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
19640
        * configure.in (i386-win32): Add -DNO_FORK.
19641
        * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
19642
        * libc/reent/execr.c (_fork_r): Likewise.
19643
        * libc/stdlib/system.c (do_system): New function.
19644
        If WIN32, try to get shell path from $SH_PATH, use vfork.
19645
        (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
19646
        otherwise return 0.
19647
 
19648
Sat Aug 12 11:08:00 1995  steve chamberlain  
19649
 
19650
        * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
19651
        * libc/sys/win32/fcntl.h: Don't include self.
19652
        * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
19653
        * libc/sys/win32/sys/winbase.h: (GetUserName) New.
19654
        * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
19655
        * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
19656
        SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
19657
        Correct prototypes.
19658
        * libc/sys/win32/strace.c: New file.
19659
        * libc/sys/win32/smallprint.c: New file.
19660
        * libc/sys/win32/crt0.c (func): Delete.
19661
        (mainCRTStartup): Fix alloca usage.  Set handles explictly.
19662
        * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
19663
        * libc/sys/win32/exceptions.c: Lint.
19664
        * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
19665
        Clean up handle usage.
19666
        * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
19667
        (open.c): Default file type is text.
19668
        * libc/sys/win32/uname.c (uname): Use __small_sprintf.
19669
        * libc/sys/win32/advapi32.def: New
19670
 
19671
Fri Aug 11 17:11:52 1995  Doug Evans  
19672
 
19673
        * configure.in (posix_dir, libc_posix_lib): New variables.
19674
        Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
19675
        (i[345]86-*-win32): Define posix_dir.
19676
        Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
19677
        (if unix_dir): Fix typo.
19678
        * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
19679
        scandir,seekdir,telldir}: New files.
19680
        * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
19681
        from libc/unix.
19682
        * libc/Makefile.in (LIBC_POSIX_LIB): Define.
19683
        (SUBDIRS): Add posix.
19684
        (SUBLIBS): Add $(LIBC_POSIX_LIB).
19685
 
19686
        * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
19687
        (NSIG): Increase to 21.
19688
        * libc/include/sys/unistd.h (pid_t): Move from here,
19689
        * libc/include/sys/types.h (pid_t): to here.
19690
 
19691
        * libc/sys/win32/syscalls.h: #include "sys/strace.h".
19692
        (__ptrace): Delete.
19693
        (hinfo): New members close_exec_p, child_created_p.
19694
        (struct exception_list): Define.
19695
        (__hmap): Redefine as pointer to table.
19696
        (__parent_hmap, __child_hmap): New globals.
19697
        (__set_errno, __really_exit): Declare.
19698
        (__vfork_child_pid): Declare.
19699
        * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
19700
        (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
19701
        (__parent_hmap, __child_hmap): New globals.
19702
        (__hmap): Redefine as pointer to active map.
19703
        (__get_console): New function.
19704
        (mainCRTStartup): Change leading '=' in environ vars to '!'.
19705
        (env __FD_TABLE__): Watch for this and initialize our fd/handle
19706
        mapping table from it if defined.
19707
        (argv, envp): Dump if __strace >= 4.
19708
        (main): Call here.
19709
        * libc/sys/win32/exceptions.c (myp): Redefine.
19710
        (__syscalls_b): Delete.
19711
        (__stack_trace): New function.
19712
        (ehandler3): Update to use _STRACE.  Print stack trace.
19713
        Call __really_exit instead of exit.
19714
        (init_exceptions): Delete args argc,argv.  New arg mine.
19715
        * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
19716
        FindFirstFileA, FindNextFileA, GetComputerNameA,
19717
        GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
19718
        * libc/sys/win32/signal.c (signal): Validate arg.
19719
        (alarm, sleep): Define as stubs for now.
19720
        * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
19721
        (__syscalls_b, errno): Delete.
19722
        (__vfork_child_pid, __vfork_jmp_buf): New globals.
19723
        (__seterrno): Handle more errors.
19724
        (__sys_printf): Renamed from _ptrace.
19725
        (__really_exit): New function.
19726
        (queue_file_deletion, process_deletion_queue): New functions.
19727
        (__resume_parent): New function.
19728
        (_unlink): Handle trying to delete open file.
19729
        (__totime_t): Renamed from totime_t.
19730
        (setsid, __read, __write): New functions.
19731
        (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
19732
        * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
19733
        times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
19734
        * libc/sys/win32/console.c: Update to new definition of __hmap.
19735
        * libc/sys/win32/Makefile.in: Build new files.
19736
        * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
19737
        * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
19738
        * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
19739
        * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
19740
 
19741
Thu Aug 10 16:32:52 1995  Doug Evans  
19742
 
19743
        * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
19744
 
19745
Thu Aug 10 12:07:38 1995  J.T. Conklin  
19746
 
19747
        * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
19748
        have been made to the master dtoa.c sources (from netlib.att.com)
19749
        since they were integrated into newlib in early 1992.  Fixes
19750
        problems with storage leaks and handling of numbers with very
19751
        negative exponents.
19752
 
19753
Wed Aug  9 14:18:39 1995  J.T. Conklin  
19754
 
19755
        * Makefile.in (all): set rootpre and srcrootpre before calling
19756
        sub-makes.
19757
 
19758
Tue Aug  8 17:20:45 1995  steve chamberlain  
19759
 
19760
        * libc/sys/win32/crt0.c: Change __hmap usage.
19761
        * libc/sys/win32/exceptions.c: Use _ptrace call.
19762
        * libc/sys/win32/syscalls.c: Use _ptrace call.
19763
        (read, write): Cope with DOS style CRLF when in TEXT mode.
19764
        * libc/sys/win32/syscalls.h: Declare hinfo struct.
19765
        * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
19766
        * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
19767
        * libc/sys/win32/sys/windows.h: Fill in rest of messages.
19768
        * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
19769
 
19770
Mon Aug  7 13:04:54 1995  J.T. Conklin  
19771
 
19772
        * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
19773
 
19774
        * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
19775
        wrappers for hypot() and remainder() for BSD libm compatibility.
19776
        These are public domain implementations written by me for the
19777
        NetBSD libm some time ago.  Note cabs() is required by ucbtest.
19778
        * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
19779
        (fobj): Added wf_cabs.o and wf_drem.o.
19780
 
19781
Thu Aug  3 08:13:05 1995  J.T. Conklin  
19782
 
19783
        * libc/sys/h8500hms/misc.c: New file.
19784
        * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
19785
 
19786
Wed Aug  2 16:46:27 1995  J.T. Conklin  
19787
 
19788
        * libc/time/localtime.c (localtime): Fix problem with leap year
19789
        handling.  Stole algorithm from Arthur David Olson's tz code.
19790
 
19791
Mon Jul 31 10:21:54 1995  steve chamberlain  
19792
 
19793
        * configure.in: (z8k-*sim): Renamed z8k-*-coff.
19794
 
19795
        * libc/sys/z8ksim/glue.c (_getpid, _kill): New
19796
        (_exit): Use argument.
19797
 
19798
Fri Jul 28 15:17:04 1995  Doug Evans  
19799
 
19800
        * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
19801
 
19802
Wed Jul 26 16:24:19 1995  steve chamberlain  
19803
 
19804
        * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
19805
 
19806
Mon Jul 24 13:42:52 1995  J.T. Conklin  
19807
 
19808
        * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
19809
        target_cflags.
19810
 
19811
Mon Jul 24 11:42:07 1995  steve chamberlain  
19812
 
19813
        * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
19814
        ptrace with case insensitivity
19815
        * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
19816
        sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
19817
        New files.
19818
 
19819
Fri Jul 21 11:22:26 1995  Doug Evans  
19820
 
19821
        * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
19822
        (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
19823
        (all, install, *clean): Use new multilib support.
19824
        * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
19825
 
19826
Fri Jul 21 07:11:42 1995  steve chamberlain  
19827
 
19828
        * libc/include/sys/signal.h (__WIN32__): New.
19829
 
19830
        * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
19831
 
19832
        * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
19833
        (ulp, b2d): Handle 32 bit doubles.
19834
        * libc/stdlib/mprec.h:  Handle 32 bit doubles.
19835
        * libc/stdlib/strtod.c (_strtod_r): Ditto.
19836
 
19837
Fri Jul 14 08:24:58 1995  steve chamberlain  
19838
 
19839
        from medp@primag.co.uk:
19840
        * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
19841
        dynamically allocated buffers.
19842
 
19843
Thu Jul 20 10:11:03 1995  Fred Fish  
19844
 
19845
        * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
19846
        * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
19847
 
19848
Thu Jul 20 10:16:25 1995  Michael Meissner  
19849
 
19850
        * configure.in (powerpc): Fix previous fix.
19851
 
19852
Wed Jul 19 14:08:55 1995  Michael Meissner  
19853
 
19854
        * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
19855
        directories for this target.
19856
 
19857
Wed Jul 19 00:34:30 1995  Jeffrey A. Law  
19858
 
19859
        * configure.in (hppa): Add machine_dir definition.
19860
        * libc/machine/hppa: New directory with PA specific implementations
19861
        of the basic memory/string functions.
19862
 
19863
Tue Jul 18 21:16:00 1995  Michael Meissner  
19864
 
19865
        * configure.in: Update current PowerPC multilib directories.
19866
        Split big and little endian configurations.
19867
 
19868
Tue Jul 18 11:55:33 1995  Ian Lance Taylor  
19869
 
19870
        * configure.in: Add --enable-single-float option to configure to
19871
        control use of MIPS single-float directories.  Default to yes.
19872
 
19873
        * Makefile.in (all): Don't recurse into multilib directory if it
19874
        does not exist.
19875
 
19876
Mon Jul 17 15:51:30 1995  J.T. Conklin  
19877
 
19878
        * libc/sys/sh/syscalls.c: Fix typo.
19879
 
19880
Mon Jul  3 14:38:52 1995  Steve Chamberlain  
19881
 
19882
        * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
19883
        Pass down DLLTOOL.
19884
        * libc/include/process.h: Define WAIT_CHILD.
19885
        * libc/include/types.h: Get sizes right for win32.
19886
        * configure.in (i386-*-pe): Becomes i386-win32.
19887
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
19888
        wintypes.h,sys/file.h,sys/resource.h}: Second pass.
19889
        * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
19890
        is defined.
19891
 
19892
Wed Jun 28 18:34:54 1995  Steve Chamberlain  
19893
 
19894
        * configure.in (i[345]86-*-pe):  New target (NT).
19895
        * host/any: DLLTOOL new.
19896
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
19897
        wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
19898
        WIN32 (just enough to cross host the comp-tools).
19899
 
19900
Thu Jun 22 11:45:18 1995  Doug Evans  
19901
 
19902
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
19903
        Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
19904
 
19905
Mon Jun 19 11:40:40 1995  Doug Evans  
19906
 
19907
        * libc/include/machine/ieeefp.h (arm): Change to always be
19908
        __IEEE_BIG_ENDIAN (even on little endian ARM's).
19909
 
19910
Thu Jun  8 14:22:28 1995  Steve Chamberlain  
19911
 
19912
        * libc/sys/crt0.S: Initialze sp, and call exit after main.
19913
        * libc/sys/syscalls.c (abort): New.
19914
        * configure.in (arm): Define ABORT_PROVIDED.
19915
 
19916
Wed Jun  7 14:04:35 1995  J.T. Conklin  
19917
 
19918
        * configure.in (powerpc): Define multidirs.
19919
 
19920
Mon Jun  5 16:10:13 1995  Doug Evans  
19921
 
19922
        * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
19923
 
19924
Thu Jun  1 10:51:47 1995  Sean Eric Fagan 
19925
 
19926
        * configure.in (sparclite): Delete target_cflags.  Define multidirs.
19927
 
19928
Wed May 24 14:23:25 1995  Steve Chamberlain  
19929
 
19930
        * configure.in, libc/include/machine/ieeefp.h: Modified
19931
        for arm:
19932
        libc/machine/arm/*, libc/sys/arm/*: New
19933
 
19934
Tue May 23 13:53:07 1995  J.T. Conklin  
19935
 
19936
        * libc/include/machine/ieeefp.h: Use __PPC__ instead of
19937
          __powerpc__ when determining endianness.
19938
 
19939
Wed May 10 07:55:56 1995  J.T. Conklin  
19940
 
19941
        * configure.in (m68*): Add multidir for the m68332.
19942
 
19943
        * host/any (CC): Fix typo in last change.
19944
 
19945
Fri Apr 14 22:20:31 1995  Ken Raeburn  
19946
 
19947
        * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
19948
        when determining endianness.
19949
        * libc/include/machine/ieeefp.h: Ditto.
19950
        * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
19951
        operands.
19952
 
19953
Fri Apr 14 14:14:29 1995  Doug Evans  
19954
 
19955
        * libc/include/errno.h (ENOTEMPTY): Define.
19956
 
19957
Thu Apr  6 12:21:20 1995  J.T. Conklin  
19958
 
19959
        * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
19960
          target_cflags.
19961
 
19962
        * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
19963
          and umultiply.o.
19964
 
19965
        * libc/stdio/tmpnam.c (worker): Unconditionally increment count
19966
          instead of only when open succeeds.  ANSI requires that multiple
19967
          calls to tmpnam() result in different files.
19968
 
19969
        * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
19970
          objects pulled in from /lib/libc.a that must be renamed before
19971
          being pulled into newlib.  /lib/libc.a's div.o conflicted with
19972
          newlib's file with the same name.
19973
 
19974
        * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
19975
 
19976
        * host/any (CC, AS, AR, RANLIB): Changed so that executables in
19977
          the build tree will only be used if the executables are present
19978
          (instead of just the Makefiles).
19979
 
19980
        * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
19981
          wcstombs): Define.
19982
        * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
19983
          versions of these functions that I orignally wrote for the
19984
          NetBSD C library.
19985
        * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
19986
          versions I wrote for NetBSD.
19987
 
19988
Wed Mar 29 12:42:42 1995  Kung Hsu  
19989
 
19990
        * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
19991
        * libc/sys/sparclite/crt0.s: ditto.
19992
 
19993
Tue Mar 28 20:28:03 1995  Rob Savoye  
19994
 
19995
        * configure.in: Add soft-float for proelf.
19996
 
19997
Mon Mar 27 12:07:56 1995  Steve Chamberlain  
19998
 
19999
        * libc/stdlib/mprec.h (Bcopy): Copy the right number
20000
        of bytes.
20001
 
20002
Mon Mar 27 11:24:22 1995  Doug Evans  
20003
 
20004
        * Makefile.in (all): Depend on `force'.
20005
        * configure.in (syscall_dir): Renamed from fake_sys_dir.
20006
        (libc_syscall_lib): Renamed from libc_fake_sys_lib.
20007
        (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
20008
        * libc/Makefile.in: Likewise.
20009
        * libc/include/reent.h: Update syscall references.
20010
        (_fcntl_r): Add prototype.
20011
        * libc/syscalls/*.c #include .
20012
        (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
20013
 
20014
Mon Mar 20 16:57:39 1995  Doug Evans  
20015
 
20016
        * libc/include/sys/stat-dj.h (S_ISBLK): Define.
20017
        (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
20018
        * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
20019
        (time.h, sys/types.h): Always include (even if MSDOS).
20020
        (stat): Fix prototype.
20021
 
20022
Fri Mar 10 11:30:38 1995  Ian Lance Taylor  
20023
 
20024
        * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
20025
 
20026
Mon Feb 27 18:00:39 1995  Jim Wilson  
20027
 
20028
        * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
20029
 
20030
Mon Feb 13 16:10:03 1995  Ian Lance Taylor  
20031
 
20032
        * libc/include/regdef.h: New file.
20033
        * libc/machine/mips/machine/regdef.h: New file.
20034
 
20035
Mon Feb  6 15:24:29 1995  Doug Evans  
20036
 
20037
        * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
20038
 
20039
Fri Jan 27 13:52:10 1995  Steve Chamberlain  
20040
 
20041
        * libc/sys/sh/crt0.S: Pass main's return to exit.
20042
        * libc/sys/sh/trap.S: Put errno in the right place.
20043
 
20044
Tue Jan 24 18:57:56 1995  Ian Lance Taylor  
20045
 
20046
        * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
20047
        from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
20048
        * libm/math/ef_rem_pio2.c: Likewise.
20049
        * libm/math/e_log10.c: Remove unused static one.
20050
        * libm/math/ef_log10.c: Likewise.
20051
        * libm/math/s_frexp.c: Likewise.
20052
        * libm/math/sf_frexp.c: Likewise.
20053
 
20054
Sun Jan 22 21:26:14 1995  Steve Chamberlain  
20055
 
20056
        * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
20057
        longjmp.S: Upgraded.
20058
        * libc/sys/go32/sys/setjmp.h: Upgraded.
20059
        * libc/sys/go32/sys/go32.h, dpmi.h: New files.
20060
 
20061
Fri Jan 20 18:33:18 1995  Ian Lance Taylor  
20062
 
20063
        * configure.in: Add many entries to multidirs for mips targets.
20064
 
20065
Wed Jan 18 10:19:25 1995  J.T. Conklin  
20066
 
20067
        * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
20068
          5.2 which fixes bug where jn(-1,x) is three times larger than
20069
          the actual answer.
20070
        * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
20071
 
20072
Sun Jan 15 21:48:58 1995  Steve Chamberlain  
20073
 
20074
        * libc/sys/w65/sys/syscalls.h: New file
20075
        * libc/include/machine/ieeefp.h: W65 support.
20076
        * libc/include/sys/config.h: Ditto.
20077
        * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
20078
        sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
20079
        * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
20080
 
20081
Wed Jan 11 15:59:01 1995  Ian Lance Taylor  
20082
 
20083
        * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
20084
 
20085
Tue Jan  3 15:57:03 1995  Rob Savoye  
20086
 
20087
        * Makefile.in, configure.in: Remove any references to the old
20088
        "stub" dir.
20089
 
20090
Thu Dec 22 10:42:08 1994  Ian Lance Taylor  
20091
 
20092
        * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
20093
        uses ... in prototype.
20094
 
20095
 
20096
Wed Nov 30 08:39:42 1994  Ian Lance Taylor  
20097
 
20098
        * libc/sys/a29khif/sys/libconfig.h: Remove.
20099
        * libc/sys/go32/sys/libconfig.h: Remove.
20100
        * libc/sys/sun4/sys/libconfig.h: Remove.
20101
        * libc/sys/sysvi386/sys/libconfig.h: Remove.
20102
        * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
20103
        * libc/sys/sparc64/sys/libconfig.h: Remove.
20104
 
20105
        * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
20106
        * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
20107
        * libc/include/math.h: Change all uses of _FLOAT_RET and
20108
        _FLOAT_ARG to float.
20109
        * libm/test/math.c: Likewise.
20110
        * testsuite/libm.sac/math.c: Likewise.
20111
        * testsuite/libm.sac/working/math.c: Likewise.
20112
 
20113
Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
20114
 
20115
        * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
20116
        gcc calls gas with endian option.
20117
        * configure.in (sh): Build little endian version too.
20118
 
20119
Wed Nov 16 18:21:45 1994  Ian Lance Taylor  
20120
 
20121
        * configure.in: Configure big and little endian versions for MIPS
20122
        targets.
20123
 
20124
Sat Nov 12 21:12:51 1994  Doug Evans  
20125
 
20126
        * libc/include/limits.h: Deleted.
20127
        * libc/include/machine/limits.h: Deleted.
20128
 
20129
Thu Nov 10 15:32:44 1994  Rob Savoye  
20130
 
20131
        * ChangeLog: Remove stub directory. This has all been rewritten
20132
        and moved to devo/libgloss.
20133
 
20134
Thu Sep 29 18:31:04 1994  Ian Lance Taylor  
20135
 
20136
        * Makefile.in (dvi): Add to info target, use $@ in sub make.
20137
        (docs): Merge into info target.
20138
        * libm/Makefile.in (dvi): Add $(srcdir).
20139
        * libm/math/Makefile.in (chobjs): Remove underscores from file
20140
        names.  Texinfo doesn't like them.
20141
        (wacos.def, ...): Add explicit targets for all .def files.
20142
        * libm/math/math.tex: Remove underscores from @include file names.
20143
        * doc/Makefile.in (dvi): Add dummy target.
20144
        * testsuite/Makefile.in (dvi): Add dummy target.
20145
 
20146
Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
20147
 
20148
        * Makefile.in (VERSION): Define.  For net newlib releases.
20149
 
20150
Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
20151
 
20152
        * README: New file.
20153
 
20154
Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
20155
 
20156
        * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
20157
 
20158
Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20159
 
20160
        * libc/stdlib/setenv.c (_findenv): Declare.
20161
 
20162
        * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
20163
        fcntl to not use _EXFUN, and change string parameters to open and
20164
        creat to be ``const char *''.
20165
        * libc/sys/sparc64/sys/fcntl.h: Likewise.
20166
        * libc/sys/sparc64/creat.c (creat): Make PATH const.
20167
        * libc/syscalls/sysopen.c: Include .
20168
        (open) Make _FILE const.
20169
        * libc/sys/z8ksim/glue.c (_open): Make BUF const.
20170
        (_creat): Make PATH const.
20171
        * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
20172
        * libc/sys/h8500hms/syscalls.c (_open): Likewise.
20173
        * libc/sys/m88kbug/syscalls.c (open): Likewise.
20174
        * libc/sys/sh/syscalls.c (_open): Likewise.
20175
        * stub/shared/glue.c (open): Make BUF const.
20176
        * stub/ex93x/syscalls.c (open): Make FILENAME const.
20177
 
20178
Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
20179
 
20180
        * libc/include/errno.h: Add ENMFILE
20181
        * libc/include/sys/config.h: Support Z8000.
20182
        * libc/include/sys/signal.h: New signals for go32.
20183
        * libc/machine/h8500/psi.S (__addpsir0r0): New function
20184
        * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
20185
        * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
20186
        * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
20187
        size is variable, depending upon CHUNK_POWER.
20188
        * libc/sys/go32/*.c: Upgrade to new go32 stuff.
20189
 
20190
Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
20191
 
20192
        * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
20193
 
20194
Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20195
 
20196
        * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
20197
 
20198
Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20199
 
20200
        * configure.in: Change i[34]86 to i[345]86.
20201
 
20202
        * libc/include/math.h: Don't define HUGE_VAL if it is already
20203
        defined.
20204
 
20205
Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20206
 
20207
        * testsuite/libm.sac/test_erfc.c: Correct some result values.
20208
        * testsuite/libm.sac/test_gammaf.c: Likewise.
20209
        * testsuite/libm.sac/test_sin.c: Likewise.
20210
        * testsuite/libm.sac/test_tanh.c: Likewise.
20211
 
20212
Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20213
 
20214
        * libc/include/machine/ieeefp.h: Don't try set endianness if it is
20215
        already set.  Define typedefs __int32_t and __uint32_t.
20216
        * libc/include/math.h: Include .
20217
        (union __dmath): Use __uint32_t.
20218
        * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
20219
        instead of int and unsigned int.
20220
 
20221
Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20222
 
20223
        Replace the math library with the SunPRO fdlibm package.
20224
        * libm/math: Completely changed all files.
20225
        * libm/ieeefp: Remove contents and directory.
20226
        * libm/Makefile.in (LIBM_FP_LIB): Remove.
20227
        (SUBDIRS): Just set to math/lib.a.
20228
        * libm/libm.texinfo: Updated for new library.
20229
        * libc/include/math.h: Extensive changes for new math library.
20230
        * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
20231
        from _FLOAT_ARG to float.
20232
        (maxpowtwo, maxpowtwof): Don't declare.
20233
        * configure.in (fp_dir): Removed; was always ieeefp anyhow.
20234
        (libm_fp_lib): Removed.
20235
        * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
20236
        * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
20237
        argument to ${RUNTEST}.
20238
        * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
20239
        (.c.o): New rule.
20240
        (RUNTESTFLAGS): Set CC and CFLAGS.
20241
        (TESTS): Remove test_log2 and test_log2f.
20242
        (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
20243
        * testsuite/libm.sac/math.c (run_vector_1): Use float, not
20244
        _FLOAT_ARG, for single precision argument type.
20245
        * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
20246
        expected failure.  Close the input pipe.
20247
        * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
20248
        Correct misspelling of inaccurate.
20249
        (test_mok): Use ``inaccurate'', not ``wrong''.
20250
        * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
20251
        test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
20252
        test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
20253
        test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
20254
        test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
20255
        test_yn.c): Correct many result values.  Many are still wrong.
20256
 
20257
        * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
20258
        just copy the string.
20259
        (_gcvt): Always return the buffer.
20260
 
20261
Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
20262
 
20263
        * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
20264
 
20265
Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
20266
 
20267
        * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
20268
        structure.
20269
        (struct _reent): add _p5s, _cvtlen, _cvtbuf.
20270
        (_reclaim_reent): declare new entry point.
20271
        * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
20272
        functions.
20273
 
20274
        * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
20275
        ever allocated, so that we can later reclaim them all.
20276
        (pow5mult): make reentrant.
20277
 
20278
        * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
20279
        so that when given NULL as a buffer, return a pointer to static
20280
        space in the rent structure.  This is not documented behaviour;
20281
        it's only to support ecvt and fcvt, which aren't ANSI anyway.
20282
        * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
20283
        therefore become reentrant).
20284
 
20285
        * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
20286
 
20287
Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20288
 
20289
        * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
20290
 
20291
Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
20292
 
20293
        * Makefile.in: Make link to libg.a after libc.a; this is needed
20294
          for the testsuites to build executables when everything comes
20295
          from the tree.
20296
 
20297
Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
20298
 
20299
        * libc/Makefile.in: Add a VERSION variable so we can keep track.
20300
        * libm/Makefile.in: Add a VERSION variable so we can keep track.
20301
 
20302
Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
20303
 
20304
        * libc/include/stdio.h: Use __VALIST, not va_list.
20305
 
20306
Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
20307
 
20308
        * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
20309
        testsuite/libm.sac/execute.exp:
20310
          Replace error proc calls with perror calls.
20311
 
20312
Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
20313
 
20314
        * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
20315
        * libc/include/time.h: #define NULL as 0L.
20316
 
20317
Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
20318
 
20319
        * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
20320
        care of it.
20321
 
20322
Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20323
 
20324
        * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
20325
        not __unix__.
20326
 
20327
Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
20328
 
20329
        * configure.in (TARGET_CFLAGS): Set -O2 as default.
20330
        (z8k-*-*): Use syscalls fake sys dir.
20331
        * libc/sys/z8k/glue.c: Rename syscalls.
20332
        * libc/sys/go32/Makefile.in: Use new routines.
20333
        * libc/machine/Makefile.in: Fix typo in ln stuff.
20334
 
20335
Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20336
 
20337
        * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
20338
        * libc/Makefile.in (crt0.o): Likewise.
20339
        * libc/machine/Makefile.in (lib.a): Likewise.
20340
        * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
20341
 
20342
        All Makefile.in files: Added mostlyclean, realclean and distclean
20343
        targets.
20344
 
20345
        * Makefile.in: Don't bother to unexport XTRAFLAGS or
20346
        XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
20347
        the top level Makefile.
20348
 
20349
Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
20350
 
20351
        * libc/sys/sparc64/sys/stat.h: New file.
20352
        * libc/sys/sparc64/sys/time.h: New file.
20353
        * libc/sys/sparc64/sys/types.h: New file.
20354
 
20355
Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
20356
 
20357
        * stub/ex93x/crt0.s (start): Add code to clear bss.
20358
 
20359
Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
20360
 
20361
        * libc/include/sys/types.h (time_t): Properly protect inside
20362
        #ifndef __time_t_defined.
20363
 
20364
        * libc/stdio/fileno.c: New file.
20365
        * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
20366
        (fileno.o): Add dependency.
20367
        * libc/include/stdio.h (__sgetc): Rename never to _never.
20368
        (fileno macro): Disable, needs to do CHECK_INIT first.
20369
 
20370
Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
20371
 
20372
        * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
20373
        goal.
20374
 
20375
        * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
20376
        * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
20377
        runtest.
20378
        * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
20379
        runtest.
20380
 
20381
Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
20382
 
20383
        * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
20384
        of the various constants.
20385
 
20386
Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
20387
 
20388
        * libc/include/math.h: #ifndef __math_68881 around things which
20389
        conflict with the (gcc-provided) inline functions in
20390
        gcc/ginclude/math-68881.h.
20391
 
20392
Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
20393
 
20394
        * libc/include/_syslist.h (_gettimeofday): Define.
20395
        (_times): Ditto.
20396
        * libc/include/reent.h: #include  to get _CLOCK_T_.
20397
        (struct tms, timeval, timezone): Declare.
20398
        (_gettimeofday_r, _times_r): Declare.
20399
        * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
20400
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
20401
        (time_t): Add multiple definition protection, __time_t_defined.
20402
        * libc/include/sys/time.h: Don't #include .
20403
        Always define struct timezone (remove #ifndef _TIME_H_).
20404
        * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
20405
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
20406
        * libc/reent/Makefile.in (OFILES): Add timer.o.
20407
        (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
20408
        * libc/reent/timer.c: New file.
20409
        * libc/time/clock.c: #include .
20410
        (clock): Call _times_r instead of times.
20411
        * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
20412
        HAVE_GET_TIME_OF_DAY.
20413
        Add comment regarding supporting OS routine(s) required (for docs).
20414
        #include .
20415
        (time): Call _gettimeofday_r instead of gettimeofday.
20416
        * libc/time/asctime.c: Fix comment regarding supporting OS routines.
20417
        * libc/time/ctime.c: Ditto.
20418
        * libc/time/strftime.c: Ditto.
20419
        * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
20420
        (TEMPLATE_SFILES_R): Define here.  Also define times.
20421
        Add times_r.o/times.S dependence.
20422
        (time2.c, junk.c): Deleted.
20423
        * libc/sys/sparc64/time2.c: Deleted.
20424
        * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
20425
 
20426
        * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
20427
        * libc/stdio/tmpnam.c (_getpid_r): Ditto.
20428
        * libc/sys/sparc64/junk.c: Deleted.
20429
 
20430
Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
20431
 
20432
        * libc/sys/sparc64/Makefile.in: Add times syscall.
20433
        * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
20434
        be used with and without it.  Add comment clarifying Medium/Anywhere
20435
        model requirements.
20436
        * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
20437
        * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
20438
        even if obsolete.
20439
 
20440
Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
20441
 
20442
        * configure.in (target_cflags): Move init.
20443
        (sparc64-*-*): Define HAVE_BLKSIZE.
20444
 
20445
Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
20446
 
20447
        * libc/include/sys/_types.h: New file.
20448
        * libc/include/reent.h: #include it.
20449
        Add comment describing REENTRANT_SYSCALLS_PROVIDED and
20450
        MISSING_SYSCALL_NAMES.
20451
        Sort syscalls.
20452
        * libc/include/_syslist.h: Remove _raise.
20453
        * libc/reent/signalr.c: New file.
20454
        * libc/reent/Makefile.in: Compile it.
20455
        * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
20456
        Add doc for raise and _raise_r.
20457
        * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
20458
        (raise): Call _raise_r.
20459
        (_raise_r): Call _getpid_r and _kill_r.
20460
        * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
20461
        (abort): Loop forever calling raise and _exit.
20462
 
20463
Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20464
 
20465
        * configure.in: Remove extraneous echo.
20466
 
20467
Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
20468
 
20469
        * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
20470
        collision with unistd.h, and fix for svr4.
20471
 
20472
Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
20473
 
20474
        * libc/stdio/local.h (_llicvt): Declare.
20475
        (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
20476
        * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
20477
        (_llicvt): Define.
20478
        (_sicvt): Fix function header (`value' is short).
20479
        * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
20480
        Add printing of long long's support.
20481
        Add printing of 8 byte pointer support.
20482
 
20483
Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
20484
 
20485
        * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
20486
        stat, chmod): New hooks.
20487
        (sbrk): Abort if stack and heap collide.
20488
        * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
20489
        shortcut when given small args.
20490
        * libc/machine/sh/setjmp.s: Rewritten.
20491
        * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
20492
        of cmp/str instruction.
20493
 
20494
Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20495
 
20496
        * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
20497
        and machine_dir powerpc.
20498
        * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
20499
        Add cases for __powerpc__.
20500
        * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
20501
        New files.
20502
 
20503
        * libc/include/stdio.h (_iprintf_r): Declare correctly.
20504
 
20505
Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
20506
 
20507
        * libc/stdlib/callocr.c: New file with _calloc_r in it.
20508
        * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
20509
 
20510
Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
20511
 
20512
        * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
20513
        (print_e): More comments to describe args, etc.
20514
        "type" arg may now be 'g' or 'G' for %g/G format --> remove
20515
        trailing blanks.
20516
        (_gcvt): Remove locals decpt, sign, end, p, done.
20517
        More comments for print_e invocation.
20518
        Pass "type" to print_e as is (g/G).
20519
 
20520
Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
20521
 
20522
        * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
20523
        stock m68000.
20524
 
20525
Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
20526
 
20527
        * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
20528
        works with any sized pointer, including ones bigger than ints and
20529
        longs.
20530
 
20531
Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
20532
 
20533
        * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
20534
 
20535
Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
20536
 
20537
        * libc/include/stdlib.h (_calloc_r): Add prototype.
20538
        * libc/machine/h8500/negsi2.c: New file.
20539
        * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
20540
        large unsigned numbers.
20541
        * libc/machine/h8500/cmpsi.c: Add cmppsi.
20542
        * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
20543
        works when sizeof(size_t) != sizeof(char *).
20544
        * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
20545
        get play area
20546
        * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
20547
 
20548
Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
20549
 
20550
        * libc/include/assert.h (assert): Handle -traditional.
20551
 
20552
Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
20553
 
20554
        * Makefile.in: added ; after every "fi" and "done" that wasn't at
20555
        the end of a line (ie. anything before a backslash continuation)
20556
        so that bash handles them.
20557
 
20558
Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
20559
 
20560
        * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
20561
        stat to lstat
20562
 
20563
Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
20564
 
20565
        * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
20566
        libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
20567
        libc/machine/sh/udivsi3.s: Use new calling convention.
20568
 
20569
Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
20570
 
20571
        * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
20572
        chmod, access, chdir, chown by making _path const. Also fix _amode
20573
        param of access.
20574
 
20575
Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
20576
 
20577
        * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
20578
        _khif_tmpnam, because it doesn't comply with ANSI but may be
20579
        useful anyway. Real tmpnam was already in libc/stdio, and was
20580
        colliding with this one (pr 2176.)
20581
        * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
20582
        the wrong idea anyhow.
20583
 
20584
Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
20585
 
20586
        * configure.in: Remove h8300h, we have multilib now.
20587
 
20588
Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
20589
 
20590
        * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
20591
        functions, to get preference over the ones in libiberty (since we
20592
        provide correct declarations in .
20593
        * libc/string/Makefile.in: add support for strncasecmp,
20594
        strcasecmp.
20595
 
20596
Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
20597
 
20598
        * Change netware config not to look for cpu explicitly.
20599
 
20600
Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
20601
 
20602
        * libc/sys/sparc64/{creat.c,junk.c}: New files.
20603
        * libc/sys/sparc64/Makefile.in: Add dependencies.
20604
 
20605
Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
20606
 
20607
        * configure.in: Clean up v9 a bit, new "os" aoutv8.
20608
 
20609
Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
20610
 
20611
        * libc/include/sys/reent.h: make structure smaller by allocating
20612
        some stuff when needed.
20613
        * libc/signal/signal.c: allocate as needed
20614
        * libc/stdio/findfp.c,stdio/local.h: ditto
20615
        * libc/stdlib/mprec.c: ditto
20616
 
20617
        * libc/time/localtime.c: don't return a dangling stack ptr.
20618
 
20619
Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20620
 
20621
        * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
20622
 
20623
Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20624
 
20625
        * libc/include/stdio.h (__sputc): comment out static inline which
20626
          confuses coff toolchains.
20627
 
20628
Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
20629
 
20630
        * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
20631
        _write.s, getpid.c, kill.c, read.s}:
20632
        * libc/sys/a29khif/stubs.s: eliminated stubs that already go
20633
        through the syscalls directory.
20634
 
20635
Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
20636
 
20637
        * configure.in: fixed double quote gotcha.
20638
 
20639
Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
20640
 
20641
        * stub/ex931: stub library for sparclite board.
20642
        * stub/idp: Renamed from mc68ec. Added contructor table
20643
        stuff to linker script.
20644
        * stub/mvme135: Renamed from m68kmvme. Added contructor table
20645
        stuff to linker script.
20646
 
20647
Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20648
 
20649
        * configure.in: Configure testsuites only if they exist.
20650
 
20651
Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20652
 
20653
        * configure.in: Don't set machine_dir for i386 until there is
20654
        something in libc/machine/i386 to compile.  For i[34]86-*-netware*
20655
        use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
20656
        CLOCK_PROVIDED and MALLOC_PROVIDED.
20657
 
20658
        * libc/sys/netware: New directory.  Contains simplistic and
20659
        probably incorrect stubs for NetWare.  Should be enough to load
20660
        the library.
20661
        * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
20662
        libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
20663
        stub files.
20664
 
20665
        * libc/reent/execr.c: Don't use if NO_EXEC is defined.
20666
        * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
20667
        * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
20668
        * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
20669
 
20670
Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
20671
 
20672
        * testsuite/Makefile.in: add "docs" dummy target for consistency
20673
        with rest of newlib; turn "info" and "install-info" into dummy
20674
        targets, since they wouldn't have worked.  (Depended on
20675
        nonexistent "doc" subdir.)
20676
 
20677
Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
20678
 
20679
        * configure.in: handle mips* instead of mips
20680
 
20681
Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
20682
 
20683
        * libc/include/sys/dirent.h: New file.  If it is not overridden by
20684
        a version of libc/sys/*/sys/dirent.h, it includes the next
20685
         file in case there is one lurking somewhere.
20686
 
20687
Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20688
 
20689
        * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
20690
        compliance, namely: Accept a minus sign.  Consider a single 0 with
20691
        a radix of 0 as being a conversion.  Determine overflow correctly.
20692
        If an overflow occurs, set *ptr to the end of the number, not the
20693
        middle.
20694
        * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
20695
 
20696
Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
20697
 
20698
        * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
20699
 
20700
Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
20701
 
20702
        * Makefile.in (INSTALL): Use $srcrootpre.
20703
        (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
20704
        can't handle it.
20705
        * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
20706
        it.
20707
        * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
20708
        * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
20709
        * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
20710
        * libm/math/Makefile.in (matherr.o): Ditto.
20711
 
20712
Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
20713
 
20714
        * configure.in: Build multidirs for z8k.
20715
        * libc/include/stdlib.h (_strtoul_r): add prototype.
20716
        * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
20717
        * libc/include/machine/setjmp.h: Add for z8k.
20718
        * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
20719
        * libc/sys/z8ksim/glue.c: tidy up.
20720
 
20721
Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
20722
 
20723
        * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
20724
        New files.  Requires execve system call.
20725
        * libc/unix/Makefile.in: Use them.
20726
        * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
20727
        Deleted, moved to libc/unix.
20728
        * libc/sys/sparc64/Makefile.in: Remove them.
20729
 
20730
Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
20731
 
20732
        * libc/sys/sparc64/{template.S template_r.S}: New files.
20733
        * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
20734
        from templates.
20735
        * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
20736
        fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
20737
        umask.S unlink.S wait4.S write.S}: Removed, now built from
20738
        templates.
20739
 
20740
Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
20741
 
20742
        * libc/time/time.c: #include <_ansi.h>.
20743
 
20744
Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
20745
 
20746
        * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
20747
 
20748
Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20749
 
20750
        * configure.in: match m8* rather than m88k so that m88110 is
20751
          recognized as well.
20752
 
20753
Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
20754
 
20755
        * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
20756
        Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
20757
        misc.c: New file.
20758
 
20759
        * configure.in: Add multilib support to h8300.
20760
 
20761
Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
20762
 
20763
        * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
20764
        * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
20765
        * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
20766
 
20767
Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20768
 
20769
        * configure.in: Corrected multidirs for sparc target.
20770
 
20771
Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
20772
 
20773
        Support for building newlib multiple times with different
20774
        compilation flags.
20775
        * configure.in: Only configure doc at top level.  Set multidirs
20776
        when appropriate for target, unless not at top level.  If
20777
        multidirs is set, independently configure each subdirectory.
20778
        Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
20779
        * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
20780
        automagically set by configure.in.
20781
        (all): If MULTIDIRS is set, build multiple copies of libraries.
20782
        (install): If MULTIDIRS is set, install multiple copies of
20783
        libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
20784
        MULTISUBDIR is set, don't bother to install header files.
20785
        * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
20786
        ${srcrootpre}.
20787
        * stub/configure.in: Set MULTISUBDIR appropriately.
20788
        * stub/Makefile.in (install): Install in
20789
        $(tooldir)/lib/$(MULTISUBDIR).
20790
        * All Makefile.in files: Define SRCTOP as well as TOP.
20791
 
20792
Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
20793
 
20794
        * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
20795
        * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
20796
 
20797
Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
20798
 
20799
        * libc/sys/h8300hms/exit.c (_exit): New function.
20800
 
20801
Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20802
 
20803
        * configure.in: recognize m88110.
20804
 
20805
Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20806
 
20807
        * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
20808
          prototype main and call with args.
20809
 
20810
Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
20811
 
20812
        First real try at system traps for m88k-bug.
20813
        * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
20814
          to real trap calls.
20815
        * libc/sys/m88kbug/sys/systraps.h: new file.
20816
 
20817
Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20818
 
20819
        Patches to fix info building when target does not use sys
20820
        directory.
20821
        * libc/Makefile.in (targetdep.tex): add sys.tex separately.
20822
        * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
20823
          libc/sys.tex.
20824
        * libc/sys/Makefile.in (doc): do nothing.
20825
 
20826
Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20827
 
20828
        * libc/Makefile.in (CRT0): new macro.
20829
          (all): depend on $(CRT0) rather than crt0.o.
20830
 
20831
        * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
20832
          do not default crt0, instead, set crt0 and crt0_dir based on
20833
          sys_dir and stub_dir.
20834
 
20835
        * Makefile.in (CRT0_DIR): new macro.
20836
          (all): depend on $(CRT0) rather than crt0.o which may not exist.
20837
          (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
20838
          $(CRT0).
20839
          ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
20840
 
20841
Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
20842
 
20843
        * testsuite/lib/libm.exp:
20844
                added code to support compiling and linking of tests for
20845
                libm.sac (paranoia to be added next) and processing the
20846
                pass or failure of the tests.
20847
 
20848
        * testsuite/config/unix-libm.exp:
20849
                platform specific proc's for dealing with compiler, linker
20850
                and the way we execute and process the test results.
20851
 
20852
        * testsuite/libm.sac/execute.exp:
20853
                generic framework for the sac tests. the config and lib
20854
                expect code for specific platforms tie it all together.
20855
 
20856
        * testsuite/libm.sac/test_is.c:
20857
                changed the output of the test to be consistant with the
20858
                other tests. parsing of pass nad fail messages is now fixed.
20859
 
20860
Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
20861
 
20862
        * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
20863
        locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
20864
        stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
20865
        #ifdef __cplusplus, surround by extern ""C { ... }.
20866
        * libc/include/assert.h:  Do *not* protect assert.h against
20867
        multiple inclusion!  Also, #undef it before #define, to allow
20868
        redefinition.
20869
        * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
20870
        should be only in unistd.h.
20871
 
20872
        * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
20873
        unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
20874
        ... }.
20875
 
20876
Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
20877
 
20878
        * libc/machine/sparc/Makefile.in: Must create a library, even
20879
        if empty.
20880
 
20881
Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20882
 
20883
        * configure.in: set machine_dir for m88k.  edit crt0 definition
20884
          into makefiles.
20885
 
20886
        * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
20887
 
20888
        * libc/Makefile.in (all): also build crt0.o.
20889
 
20890
        * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
20891
          libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
20892
          to remove CRT0.
20893
 
20894
        * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
20895
          (all): reworked to build in place.
20896
          (clean): remove lib.a
20897
          (Makefile): remove redundant ./, call $(SHELL) rather than sh.
20898
 
20899
        * libc/sys/m88kbug/crt0.c (start): renamed to _start.
20900
          (_start): key off edata rather than _start_bss.
20901
 
20902
Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
20903
 
20904
        * libc/include/sys/unistd.h, libc/include/reent.h,
20905
        libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
20906
 
20907
Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20908
 
20909
        * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
20910
 
20911
        * Makefile.in (libc.a): break into two rules, one for libc.a and
20912
          one for libc/libc.a.  Force subdirs current before rebuilding
20913
          library.
20914
          (libm.a): break into two rules, one for libm.a and one for
20915
          libm/libm.a.  Force subdirs current before rebuilding library.
20916
 
20917
        * libc/Makefile.in (SUBLIBS): fix typo.
20918
 
20919
        * libc/sys/Makefile.in (all): force descent into subdirs, then
20920
          rebuild library iff out of of date.
20921
 
20922
Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
20923
 
20924
        Rework so that library is built and then finished rather than
20925
        being built on each invocation of make.
20926
 
20927
        * host/any (machine_dir, sys_dir, signal_dir): these are not
20928
          shared and have been moved to their associated Makefile.in's.
20929
          (AR_FLAGS): switch to qc which is faster.
20930
        * configure.in: no longer assign machine_dir for m88k.  set
20931
          stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
20932
          stub_dir set, then add to configdirs.  add comment about silly
20933
          configuration.
20934
          (configdirs): drop stub.  It will be added only
20935
          when needed.
20936
          (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
20937
          libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
20938
          stub_lib, crt0): new variables for tailoring lower level
20939
          makefiles.  Assign accordingly and edit into makefiles.
20940
        * libm/Makefile.in: updated copyright.
20941
          (TARGETLIB): removed.
20942
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
20943
          (SUBDIRS): removed TARGETDEP_DIRS.
20944
          (LIBM_FP_LIB, SUBLIBS): new macros.
20945
          (all): reworked.
20946
          (force): new target to force rebuilds.
20947
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
20948
        * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
20949
          libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
20950
          libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
20951
          libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
20952
          libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
20953
          libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
20954
          stub/m68kmvme/Makefile.in: updated copyright.
20955
          (TARGETLIB, TARGETCRT0, CRT0): macros removed.
20956
          (all): reworked.  made this the default rule.
20957
          (clean): also remove lib.a.
20958
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
20959
        * stub/Makefile.in: updated copyright.
20960
          (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
20961
          (stub_lib): new macro.
20962
          (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
20963
          RANLIB.
20964
          (all): reworked.
20965
          (clean, install): assume stub_dir exists.
20966
          (Makefile): depend on configure.in.  call $(SHELL) rather than
20967
          sh.  drop redundant ./
20968
        * stub/configure.in (stublib): new macro, assign it, edit it into
20969
          makefiles.
20970
        * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
20971
          updated copyright.
20972
          (all): reworked.
20973
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
20974
        * libc/Makefile.in (TARGETCRT0): removed.
20975
          (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
20976
          TARGETCRT0.
20977
          (SUBDIRS): drop TARGETDEP_DIRS.
20978
          (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
20979
          LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
20980
          (force): new target to force rebuilds.
20981
        * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
20982
          (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
20983
          removed.
20984
          (clean): assume sys_dir always exists.
20985
        * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
20986
          drop redundant ./
20987
        * libc/ctype/Makefile.in, libc/errno/Makefile.in,
20988
          libc/locale/Makefile.in, libc/machine/Makefile.in,
20989
          libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
20990
          libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
20991
          libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
20992
          libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
20993
          libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
20994
          libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
20995
          libc/signal/Makefile.in, libc/stdio/Makefile.in,
20996
          libc/stdlib/Makefile.in, libc/string/Makefile.in,
20997
          libc/sys/Makefile.in, libc/syscalls/Makefile.in,
20998
          libc/time/Makefile.in, libc/unix/Makefile.in,
20999
          libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
21000
          (TARGETLIB): removed.
21001
          (all): reworked.
21002
          (clean): also remove lib.a.
21003
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
21004
        * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
21005
          new macros.
21006
          (SUBDIRS): moved to follow frag inclusion, change stub to
21007
          stub_dir.
21008
          (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
21009
          are now set in the libc Makefile.
21010
        * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
21011
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
21012
          TARGETCRT0.
21013
          (force): new target to force rebuilds.
21014
        * stub/configure.in: determine and set stub_lib for for Makefile.
21015
 
21016
Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
21017
 
21018
        * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
21019
        crt0.s renamed to crt0.S.
21020
        * libc/sys/h8300hms/crt0.S: Add h8/300h support.
21021
 
21022
        * libc/machine/h8300/Makefile.in: Make `all' the default target.
21023
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
21024
        h8300h.
21025
        * libc/machine/h8300/defines.h: Add macros to handle pointers for
21026
        h8300 (16 bits) and h8300h (32 bits).
21027
        * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
21028
        reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
21029
 
21030
Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
21031
 
21032
        * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
21033
        implementation of setjmp and longjmp for the m88k.
21034
        * libc/include/machine/setjmp.h: Added __m88000__ case.
21035
 
21036
Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
21037
 
21038
        * configure.in: Recognize h8300h as variant of h8300.
21039
 
21040
Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
21041
 
21042
        * libc/include/sys/unistd.h (read, write): get prototypes right.
21043
        (sbrk): New prototype.
21044
        * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
21045
        * libc/stdio/local.h: Include unistd.h.
21046
        * libc/machine/h8300/syscalls.c: Names have changed.
21047
 
21048
Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
21049
 
21050
        * configure.in: add sys_dir assignment for m88k-bug.
21051
 
21052
Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
21053
 
21054
        * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
21055
        a.out or elf.
21056
        * libc/sys/sparc64: all *.S files: Use new macros.
21057
        * libc/sys/sparc64/isatty.c: New file.
21058
        * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
21059
        functions beyond what newlib provides.
21060
 
21061
Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
21062
 
21063
        * libc/include/sys/stat.h: Move st_atime so not doubly defined for
21064
        svr4.
21065
 
21066
Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
21067
 
21068
        * libc/include/machine/ieeefp.h: Add support for h8/300h.
21069
 
21070
Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
21071
 
21072
        * configure.in: add m88k.
21073
        * libc/include/machine/ieeefp.h: add case for m88k.  Also add
21074
        sanity check so no one else need ever chase what I did to find
21075
        this.
21076
 
21077
        * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
21078
 
21079
Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
21080
 
21081
        * doc/makedoc.c: Include .
21082
 
21083
Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
21084
 
21085
        * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
21086
        * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
21087
        * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
21088
 
21089
        * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
21090
 
21091
Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
21092
 
21093
        * libc/include/errno.h (ENOSYS): Added.
21094
 
21095
        * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
21096
 
21097
Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
21098
 
21099
        * libc/stdio/fflush.c (fflush): Check for reent struct
21100
        initialization.
21101
        * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
21102
 
21103
Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
21104
 
21105
        * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
21106
        out of dtoa.c so it doesn't pollute the namespace.
21107
        * libc/include/_syslist.h: new file -- mappings from _function to
21108
        function, for systems where we can't win (by default, all of them,
21109
        until we start updating system calls.)
21110
        * libc/syscalls: new directory -- stubs for exporting _function
21111
        names as unmodified function names.
21112
        * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
21113
        _syslist.h on all platforms by default, but put hooks in for
21114
        fake_sys_dir so we can include it when we've renamed the system
21115
        calls.
21116
        * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
21117
        libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
21118
        libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
21119
        libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
21120
        libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
21121
        libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
21122
        non ANSI functions to call _function.
21123
 
21124
Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
21125
 
21126
        * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
21127
        when base 16 is specified.  Don't accept non-digits if radix > 10.
21128
 
21129
Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
21130
 
21131
        * libc/include/math.h: Rename xxx_r fns to _xxx_r.
21132
 
21133
Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
21134
 
21135
        * libc/include/sys/stat.h: Surround text after #endif with
21136
        comments.
21137
 
21138
Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
21139
 
21140
        * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
21141
        _malloc_r, _realloc_r, and free_r call the corresponding
21142
        non-reentrant functions.
21143
 
21144
        * libm/math/modf.c (modf): We now take the address of ipart, so
21145
        don't make it a register variable.
21146
 
21147
Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
21148
 
21149
        * libm/math/*: Rename all xxx_r fns to _xxx_r.
21150
 
21151
Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
21152
 
21153
        * libc/libc.texinfo and embedded docn throughout: formatting
21154
        improvements, minor rephrasing for clarity, and improved
21155
        reentrancy docn.
21156
 
21157
Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
21158
 
21159
        * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
21160
 
21161
        * libc/stdio/cvt.c (_licvt): Print the right value on machines
21162
        where sizeof(int) != sizeof(long).
21163
 
21164
Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
21165
 
21166
        * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
21167
        libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
21168
        libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
21169
        libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
21170
        libm/math/matherr.c: changes for better docn formatting (info).
21171
 
21172
        * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
21173
        libc/reent/reent.tex, libc/signal/signal.tex,
21174
        libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
21175
        libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
21176
        libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
21177
        makeinfo node defaulting to get better Info file node structure.
21178
        (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
21179
        Also include a few formerly missing sections (subroutines).
21180
 
21181
        * doc/doc.str: delete fossil expansion for "func"
21182
 
21183
        * default.menu, no-signal.menu: delete.
21184
 
21185
        * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
21186
        method used to adjust doc for missing "signals" chapter when
21187
        signal_dir is empty.
21188
 
21189
Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
21190
 
21191
        * configure.in: added testsuite/libm.sac
21192
 
21193
Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
21194
 
21195
        * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
21196
        code model).
21197
 
21198
Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
21199
 
21200
        * libm/Makefile.in: Use $(MAKE) rather than make, and define
21201
        MAKEOVERRIDES to be empty.
21202
 
21203
Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
21204
 
21205
        * configure.in: Don't build mips-*-* with -msoft-float, since that
21206
        makes it incompatible with hard floating point.
21207
 
21208
Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
21209
 
21210
        * Makefile.in: added recursive 'make check'
21211
 
21212
Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
21213
 
21214
        * configure.in: added ./testsuite ./testsuite/libm.paranoia
21215
        * ./testsuite/Makefile.in: created
21216
        * ./testsuite/libm.paranoia: paranoia tests added
21217
 
21218
Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
21219
 
21220
        * configure.in: For mips-*-* set machine_dir to mips.
21221
 
21222
        * libc/machine/mips: New directory.
21223
        * libc/machine/mips/Makefile.in: New file.
21224
        * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
21225
        setjmp and longjmp.
21226
        * libc/include/machine/setjmp.h: Added __mips__ case.
21227
 
21228
        * libc/machine/lmips: Removed unused and useless directory.
21229
 
21230
Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
21231
 
21232
        * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
21233
 
21234
Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
21235
 
21236
        * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
21237
        start up).
21238
 
21239
Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
21240
 
21241
        * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
21242
        SETJMP_H.
21243
 
21244
Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
21245
 
21246
        * libm/test/convert.c: structure member errno -> errno_val.
21247
        Must include  to use errno, it's a macro now.
21248
        * libm/test/math.c: Ditto.
21249
        * libm/test/math2.c: Include errno.h.
21250
        * libm/test/string.c: Ditto.
21251
        * libm/test/test.h: structure member errno -> errno_val.
21252
        Remove extern int errno decl.
21253
 
21254
Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
21255
 
21256
        * libc/stdio/Makefile.in: Added dependencies on local header
21257
        files.
21258
        * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
21259
        files.
21260
 
21261
Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
21262
 
21263
        * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
21264
 
21265
Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
21266
 
21267
        * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
21268
        Initialize _data.
21269
 
21270
        * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
21271
        * libc/stdio/local.h: Add prototype for _licvt.
21272
 
21273
        * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
21274
        instead of malloc,reealloc.
21275
 
21276
        * libc/stdlib/local.h: New file.
21277
        * libc/stdlib/efgcvt.c: #include local.h.
21278
        (gcvt): Fix call to _gcvt.
21279
        * libc/stdlib/ecvtbuf.c: #include local.h.
21280
 
21281
        * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
21282
        * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
21283
        * libc/stdlib/malloc.c: main routines moved to mallocr.c.
21284
 
21285
        * libc/stdlib/atexit.c: moved global data to struct _reent.
21286
        * libc/stdlib/exit.c: use struct _atexit in struct _reent.
21287
 
21288
        * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
21289
 
21290
Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
21291
 
21292
        * libc/include/sys/reent.h: Stuff required by ANSI headers moved
21293
        here from ../reent.h.
21294
 
21295
Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
21296
 
21297
        * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
21298
        should be provided in both libc.a and libm.a.
21299
        (libc.a): Depend on targ-include and libm.a.  Copy
21300
        $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
21301
        (libm.a): Depend on targ-include.
21302
        * configure.in (subdirs): Removed libc/math.
21303
 
21304
Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
21305
 
21306
        * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
21307
 
21308
Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
21309
 
21310
        * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
21311
        sys/reent.h instead of reent.h.
21312
        * libc/include/reent.h: Split into two parts: stuff needed by ANSI
21313
        headers moved to sys/reent.h.
21314
        * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
21315
        * libc/include/sys/signal.h: Define _MAX_SIGNALS if
21316
        __need__MAX_SIGNALS defined.
21317
        * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
21318
        std{in,out,err} refer to new _std{in,out,err} members.
21319
 
21320
Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
21321
 
21322
        * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
21323
        case.
21324
 
21325
Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
21326
 
21327
        * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
21328
        rather than whatever macro seterrno() has.
21329
 
21330
Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
21331
 
21332
        * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
21333
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
21334
 
21335
        * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
21336
        __STDC__.
21337
 
21338
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
21339
        reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
21340
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
21341
 
21342
        * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
21343
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
21344
 
21345
        * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
21346
        fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
21347
        fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
21348
        mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
21349
        remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
21350
        sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
21351
        vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
21352
        renamed to _xxx_r.  struct reent_struct renamed to struct _reent
21353
        for ANSI.  structure members given leading "_" for ANSI.  Use
21354
        _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
21355
 
21356
        * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
21357
        mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
21358
        system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
21359
        reent_struct renamed to struct _reent for ANSI.
21360
        Structure members given leading "_" for ANSI.
21361
        _CONST --> const in prototypes.
21362
        Use _HAVE_STDC instead of __STDC__.
21363
 
21364
        * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
21365
        _xxx_r.
21366
        struct reent_struct renamed to struct _reent for ANSI.
21367
        Structure members given leading "_" for ANSI.
21368
 
21369
        * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
21370
        _xxx_r.
21371
        struct reent_struct renamed to struct _reent for ANSI.
21372
 
21373
        * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
21374
        cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
21375
        gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
21376
        mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
21377
        tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
21378
 
21379
        * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
21380
        signal.h, stdio.h, stdlib.h, string.h, time.h}:
21381
        Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
21382
        #ifndef _STRICT_ANSI non-ANSI routines.
21383
        Reentrant routines renamed from _r_xxx to _xxx_r.
21384
        No need to use _STRICT_ANSI on _xxx_r reentrant routines.
21385
        Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
21386
        Clean up namespace (structure members have leading "_").
21387
        struct reent_struct renamed to struct _reent for ANSI compliance.
21388
        _CONST --> const in function prototypes.
21389
 
21390
        * libc/include/string.h: Add NULL and size_t.
21391
 
21392
        * libc/sys/sparc64/Makefile.in: New syscall routines for link,
21393
        unlink, wait, wait4. Reentrant syscall routines close, fork,
21394
        fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
21395
        write.
21396
        * libc/sys/sparc64/cerror.S (cerror_r): New routine.
21397
        * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
21398
        open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
21399
        write.S}: Define reentrant versions.
21400
        * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
21401
        reentrant syscalls.
21402
 
21403
        * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
21404
 
21405
        * libc/include/stdlib.h (RAND_MAX): Fix value.
21406
 
21407
Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
21408
 
21409
        * libc/sys/a29khif/_main.c: Removed unnecessary file.
21410
        * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
21411
        VPATH support targets after all: target.
21412
 
21413
        * stub/mvme135/mvme.S: Renamed exceptionhandler to
21414
        exceptionHandler, which is what mvme135-stub.c expects.
21415
 
21416
Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
21417
 
21418
        * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
21419
 
21420
        * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
21421
        def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
21422
        compliant).
21423
 
21424
Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
21425
 
21426
        * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
21427
        first.
21428
        libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
21429
        _r_write): Ditto.
21430
        libc/reent/fstatr.c (_r_fstat): Ditto.
21431
        libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
21432
        libc/reent/sbrkr.c (_r_sbrk): Ditto.
21433
        libc/reent/statr.c (_r_stat): Ditto.
21434
 
21435
        * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
21436
        * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
21437
        * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
21438
        * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
21439
        * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
21440
        * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
21441
        * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
21442
        * libc/stdio/stdio.c (__sread): Ditto for _r_read.
21443
        (__swrite): Ditto for _r_lseek, _r_write.
21444
        (__sseek): Ditto for _r_lseek.
21445
        (__close): Ditto for _r_close.
21446
        * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
21447
 
21448
        * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
21449
        * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
21450
 
21451
        * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
21452
        to make reent_struct the first argument (and thus consistent with
21453
        the rest of newlib).
21454
 
21455
        * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
21456
        reference to __STDC__.
21457
 
21458
Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
21459
 
21460
        * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
21461
        global __cleanup.
21462
 
21463
Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
21464
 
21465
        * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
21466
        first.
21467
        libc/stdio/fclose.c (fclose): Ditto.
21468
 
21469
Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
21470
 
21471
        * Run through indent and rename reentrant routines for ANSI.
21472
        libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
21473
        fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
21474
        fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
21475
        fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
21476
        getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
21477
        putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
21478
        scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
21479
        tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
21480
        vsprintf.c wbuf.c wsetup.c local.h}
21481
 
21482
        * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
21483
 
21484
        * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
21485
        libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
21486
        assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
21487
        dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
21488
        mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
21489
        strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
21490
 
21491
        * Run through indent.
21492
        libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
21493
        memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
21494
        strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
21495
        strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
21496
        strxfrm.c}
21497
 
21498
        * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
21499
        localtime.c mktime.c strftime.c time.c}:
21500
        Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
21501
 
21502
        * Reformatting + renaming (for ANSI, GNU style, consistency).
21503
        libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
21504
        ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
21505
        signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
21506
 
21507
Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
21508
 
21509
        * libc/include/stdio.h (stdin_r): Fix.
21510
 
21511
Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
21512
 
21513
        * Makefile.in: Unexport some variables to keep GNU make from
21514
        putting them in the environment and using up needed ARG_MAX space
21515
        (a hack is used to let this work with older makes as well).
21516
 
21517
Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
21518
 
21519
        * Makefile.in: Use $(MAKE) rather than make.
21520
        (MAKEOVERRIDES): Define to be empty.
21521
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
21522
        (libc.a, libm.a): Depend on targ-include.
21523
        * host/any (LD): Don't define.
21524
        (INCLUDES): Use targ-include.
21525
        * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
21526
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
21527
        * libc/Makefile.in: Use $(MAKE) rather than make.
21528
        (MAKEOVERRIDES): Define to be empty.
21529
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
21530
        (all): Rewrote to be slightly smaller.
21531
        * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
21532
        Define to be empty.
21533
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
21534
        * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
21535
 
21536
Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
21537
 
21538
        * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
21539
        with errno/errno.c.
21540
 
21541
Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
21542
 
21543
        * Changes for reentrancy.
21544
        libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
21545
        Use ptr->_errno, not errno.
21546
        libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
21547
        libc/stdio/remove.c (remove_r): New function.
21548
        libc/stdio/rename.c (rename_r): New function.
21549
        libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
21550
        libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
21551
        libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
21552
        reentrant versions of system calls.
21553
        libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
21554
        libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
21555
        libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
21556
        libc/stdio/findfp.c: Include .
21557
        libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
21558
        "local.h".
21559
        libc/stdio/wbuf.c: Include "fvwrite.h"
21560
 
21561
        * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
21562
        .
21563
        libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
21564
        (NULL): Don't define if already defined.
21565
        libc/stdlib/system.c: Call reentrant versions of system calls.
21566
        (system_r): New function.
21567
 
21568
        * Changes for reentrancy.
21569
        libc/include/_ansi.h (_PARAMS): New macro.
21570
        libc/include/errno.h: Define errno as a macro that calls __errno.
21571
        (__errno_r): New macro for reentrant code.
21572
        libc/include/math.h: Include reent.h.  Declare many reentrant
21573
        functions.
21574
        (signgam): Now a macro, not a variable.
21575
        (struct exception): Added err field.
21576
        libc/include/reent.h: Don't declare __sglue.  Added function
21577
        declarations.
21578
        (struct reent_struct): Moved errno to beginning.  Added _signgam.
21579
        libc/include/stdio.h, libc/include/stdlib.h: Added function
21580
        declarations.
21581
 
21582
        * More reentrancy hacking.
21583
        libc/errno/errno.c (__errno): New function.
21584
        libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
21585
        libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
21586
        files.
21587
 
21588
        * Added many new reentrant functions to libm/math/*.
21589
        libm/math/error.c (__matherror): Added reent_struct pointer
21590
        argument. Changed all callers.
21591
        libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
21592
        libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
21593
        libm/math/tan.h: Removed obsolete unused header files.
21594
 
21595
        * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
21596
 
21597
        * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
21598
 
21599
Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
21600
 
21601
        * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
21602
        delay slots.
21603
 
21604
Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
21605
 
21606
        * libc/libc.texinfo:  comment out reentrancy chapter (duh)
21607
 
21608
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
21609
 
21610
        * libc/reent/reent.tex:  New file.  (text from
21611
        newlib/libc/libc.texinfo)
21612
        * libc/stdio/tmpnam.c:  fixed doc typo
21613
        * libc/stdlib/rand.c:   fixed doc typo
21614
 
21615
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
21616
 
21617
        * libc/reent/reent.tex:  New file.  (text from
21618
        newlib/libc/libc.texinfo)
21619
 
21620
Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
21621
 
21622
        support for reentrancy
21623
        * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
21624
        new files
21625
        * libc/errno/errno.c, libc/include/ieeefp.h,
21626
        libc/include/locale.h, libc/include/reent.h,
21627
        libc/include/signal.h, libc/include/stdio.h,
21628
        libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
21629
        libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
21630
        libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
21631
        libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
21632
        libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
21633
        libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
21634
        libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
21635
        libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
21636
        libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
21637
        libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
21638
        libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
21639
        libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
21640
        libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
21641
        libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
21642
        libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
21643
        libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
21644
        libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
21645
        libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
21646
        libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
21647
        libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
21648
        libc/time/strftime.c: modify to provide reentracy.
21649
 
21650
        new routines:
21651
        strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
21652
        perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
21653
        tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
21654
        srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
21655
        mstats_r, realloc_r, localeconv_r, setlocale_r
21656
 
21657
Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
21658
 
21659
        * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
21660
        libc/include/sys/config.h, libc/include/sys/signal.h,
21661
        libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
21662
        provided macros (such as m68000), use the ansi version
21663
        (__m68000__) so that the library can be used with code compiled
21664
        -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
21665
        and sparc.
21666
 
21667
Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
21668
 
21669
        * configure.in (sparc*): Don't set -fsoft-float for sparc
21670
        configurations.  Do set -fsoft-float for sparclite configurations.
21671
 
21672
Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
21673
 
21674
        * default.menu, no-signal.menu: alternate forms of libc main menu
21675
          (in newlib rather than newlib/libc due to configuration restrictions)
21676
 
21677
        * configure.in: select one of the two menus above, link to
21678
        libc.menu
21679
 
21680
        * libc/libc.texinfo: include menu from separate file
21681
 
21682
Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
21683
 
21684
        * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
21685
        (info): Split long shell command in half.
21686
        * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
21687
        sub-makes, just CHEW and TARGETDOC.
21688
        (targetdep.tex): Removed now special handling of sys and machine
21689
        subdirectories, made obsolete some time ago.
21690
        * libc/machine/Makefile.in (doc): Don't pass everything to
21691
        sub-make, just CHEW and TARGETDOC.
21692
        (Makefile): New target.
21693
        * libc/sys/Makefile.in (Makefile): New target.
21694
 
21695
Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
21696
 
21697
        * Makefile.in (here and most subdirectories): Only pass down CHEW
21698
        and TARGETDOC when making info, not for other targets.
21699
 
21700
        * Makefile.in (here and most subdirectories), host/any: Use $(AR)
21701
        $(AR_FLAGS) rather than $(ARUPDATE).
21702
 
21703
Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
21704
 
21705
        * Try to reduce command line length:
21706
        * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
21707
        CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
21708
        (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
21709
        (info): Pass CHEW to other subdirs.
21710
 
21711
Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
21712
 
21713
        * configure.in: add signal_dir, like unix_dir, but by default it
21714
        is set to "signal" so that a29khif can turn it off (since a29khif
21715
        has raise() as part of machine-specific signal.s.)
21716
 
21717
Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
21718
 
21719
        * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
21720
        * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
21721
        correctly.
21722
        * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
21723
        libc/stdio/vfprintf: type lint.
21724
        * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
21725
        initialzation code.
21726
        * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
21727
 
21728
Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
21729
 
21730
        * stub/mvme135/mvme135-asm.S: new file.
21731
        stub/mvme135mvme135-stub.c: moved all assembler routines into
21732
        mvme135-asm.S.
21733
        stub/mvme135/Makefile.in: build mvme135-stub.o.
21734
 
21735
Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
21736
 
21737
        * Makefile.in: don't pass down $(CPP); use $(CC) -E in
21738
        sub-Makefiles instead, to try to avoid line length limitations.
21739
 
21740
Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
21741
 
21742
        * libc/include/unistd.h (read, write):  Use void* instead of
21743
        char*.
21744
 
21745
Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
21746
 
21747
        * stub/go32/resetpc: sample script to send a reset packet to the
21748
        stub
21749
 
21750
        * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
21751
        DOS environment, which compiles with Turbo C.
21752
 
21753
        * stub/go32/DSER32.LNK: new file, linker commands for serial
21754
        remote stub.
21755
 
21756
        * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
21757
        start up message to identify version; call set_debug_traps.
21758
 
21759
        * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
21760
        keyboard interaction); call handle_exception() in go_til_stop,
21761
        rather than return, so that the remote stub gets control.
21762
 
21763
        * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
21764
        rename, rather than mv), set flags that work with current Turbo C,
21765
        including using the /3 flag; also, add commands to build dser32.
21766
 
21767
        * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
21768
        default Turbo C installation (\tc rather than \usr)
21769
 
21770
        * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
21771
        "&..."
21772
 
21773
Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
21774
 
21775
        * libc/include/math.h: added _DOUBLE_IS_32BITS checks
21776
 
21777
Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
21778
 
21779
        * libc/stdio/cvt.c (licvt): new function to convert ints when
21780
        sizeof(int) != sizeof(long).
21781
 
21782
        * libc/include/stdio.h: added prototype for iprintf.
21783
        * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
21784
 
21785
Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
21786
 
21787
        * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
21788
        __REGISTER_PREFIX__.
21789
 
21790
Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
21791
 
21792
        * libc/sys/m68kbare: moved into stub directory.
21793
 
21794
Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
21795
 
21796
        * configure.in, Makefile.in: created new directory stub, to hold
21797
        sample code for specific targets.
21798
 
21799
Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
21800
 
21801
        * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
21802
        in the unified libc/include/sys/fcntl.h.
21803
 
21804
Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
21805
 
21806
        * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
21807
        printed .01, not 0.01.
21808
 
21809
Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
21810
 
21811
        * configure.in: compile with -m68000 for m68* targets.
21812
 
21813
Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
21814
 
21815
        * libm/math/remainder.c (remainder): document the svr4 and sunos
21816
        references used to construct the function.
21817
 
21818
Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
21819
 
21820
        * libm/math/remainder.c (rint, remainder): fix old typos.
21821
        * libm/math/Makefile.in: actually build remainder.c (functions
21822
        rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
21823
        page.)
21824
 
21825
Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
21826
 
21827
        * libc/string/bcopy.c: BSD version works on overlapping strings,
21828
        so ours should too.
21829
 
21830
        * libc/stdlib/system.c: always invoke /bin/sh, not getenv
21831
        ("SHELL").
21832
 
21833
Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
21834
 
21835
        * Makefile.in (docs): new target.
21836
 
21837
Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
21838
 
21839
        * libc/include/sys/times.h: define clock_t as required by POSIX.
21840
        libc/include/time.h: protect clock_t from multiple definitions.
21841
 
21842
Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
21843
 
21844
        * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
21845
        does not need more than the original three iterations to get
21846
        within 1 ulp. (Paranoia tests for rounding to better than that,
21847
        but further iterations *don't* help, only more subtle changes
21848
        can.)
21849
 
21850
Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
21851
 
21852
        * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
21853
        were doing nothing useful.
21854
 
21855
Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
21856
 
21857
        * configure.in: define MALLOC_PROVIDED for vxworks targets;
21858
        removed sys_dir settings of vxworks68 and vxworks960.
21859
        host/any: don't pass -nostdinc to gcc, since newlib no longer
21860
        provides all required header files.
21861
 
21862
        * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
21863
        is not defined; this provides a hook for VxWorks.
21864
 
21865
Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
21866
 
21867
        * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
21868
        buffer if buf is NULL, don't do it here -- it is already being
21869
        done by makebuf elsewhere in stdio.
21870
 
21871
Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
21872
 
21873
        * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
21874
        that C programs can call functions without using initial
21875
        underscores.
21876
 
21877
Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
21878
 
21879
        * libc/stdlib/abort.c (abort): call exit, in case kill returns.
21880
 
21881
Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
21882
 
21883
        * configure.in: set TARGET_CFLAGS for certain CPU types to
21884
        -msoft-float.
21885
 
21886
Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
21887
 
21888
        * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of 
21889
 
21890
Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
21891
 
21892
        * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
21893
        m68k*-unknown-coff.
21894
 
21895
Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
21896
 
21897
        * libc/include/stdio.h: define __need___va_list before including
21898
        , to avoid defining va_arg, et. al.
21899
 
21900
Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
21901
 
21902
        * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
21903
        (don't cd to the user's home directory).
21904
 
21905
        * libc/Makefile.in: replaced all instances of $(MAKE) with make.
21906
        In general this is the wrong thing to do, but I can't get around
21907
        GNU make's insistence on passing command line arguments any other
21908
        way.
21909
 
21910
Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
21911
 
21912
        * configure.in: always configure the libc/sys directory, since it
21913
        now provides a required documentation file.
21914
 
21915
        * Makefile.in: replaced all instances of $(MAKE) with make.  In
21916
        general this is the wrong thing to do, but I can't get around GNU
21917
        make's insistence on passing command line arguments any other way.
21918
 
21919
Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
21920
 
21921
        * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
21922
        terminated.
21923
 
21924
        * libc/stdio/local.h: include  to define va_list.
21925
        libc/stdio/vsprintf.c: include  rather than .
21926
 
21927
        * libc/include/float.h, libc/include/stdarg.h,
21928
        libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
21929
        versions instead.
21930
        libc/include/stdio.h: get size_t from , and va_list from
21931
        , not from .  Protect definition of
21932
        NULL.
21933
        libc/include/time.h: get size_t from stddef.h.  Protect definition
21934
        of NULL.
21935
        libc/include/machine/limits.h: override gcc  by defining
21936
        _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc  to
21937
        get correct INT_MIN and LONG_LONG values.
21938
        libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
21939
        size_t or va_list at all; they're now gotten from stddef.h
21940
        instead.
21941
        libc/include/machine/varargs.h: removed; use gcc version instead.
21942
        libc/include/sys/types.h: explicitly include .
21943
 
21944
        * libm/math/sqrt.h: using the fp-bit routines appears to require
21945
        more iterations.
21946
 
21947
        * Makefile.in, host/any: let system include files override machine
21948
        include files.
21949
 
21950
Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
21951
 
21952
        * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
21953
        override _*_T_ definitions defaulted here.
21954
 
21955
Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
21956
 
21957
        * Makefile.in (install): install the include files in
21958
        $(tooldir)/include, not $(exec_prefix)/include.
21959
 
21960
Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
21961
 
21962
        * Makefile.in (install): fixed typo, and changed install to not
21963
        force rebuild of libc.a and libm.a.
21964
 
21965
Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
21966
 
21967
        * libc/sys/a29khif/*: Changed all .include's to include
21968
        sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
21969
        that they will be installed for the user.
21970
 
21971
        * Makefile.in (all): create targ-include, a directory holding the
21972
        machine and system specific header files during the build.
21973
        (install): fixed installation of machine and system specific
21974
        header files.
21975
 
21976
        * Makefile.in: fixed comment.
21977
        host/any: change .s.o rule to use $(AS) rather than $(CC), so that
21978
        we can pass $(INCLUDES) to it.
21979
 
21980
Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
21981
 
21982
        * libc/include/sys/param.h: new generic file, which may be
21983
        overridden for specific systems.
21984
 
21985
        * libc/include/sys/signal.h: define all ANSI signal names, and
21986
        NSIG (which is not ANSI) for a29k.
21987
 
21988
Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
21989
 
21990
        * Makefile.in: don't pass down arguments the lower level makes
21991
        will not need.
21992
        * libc/Makefile.in: recurse directly, rather than using subdir_do,
21993
        in hopes of avoiding argument length limits.
21994
        * libm/Makefile.in: recurse directly, rather using subdir_do, in
21995
        hopes of avoiding argument length limits.
21996
 
21997
Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
21998
 
21999
        * libc/include/sys/fcntl.h: include  to ensure that
22000
        mode_t is defined.
22001
 
22002
Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
22003
 
22004
        * Fixed make info and make install-info for newlib, changing most
22005
        Makefile.in and several *.tex files.  Moved doc directory from
22006
        libc to top level.
22007
 
22008
        * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
22009
        Should be rewritten.
22010
 
22011
        * libc/string/strings.tex: renamed node index to node index
22012
        function, so that it does not conflict with the top level index
22013
        node.
22014
 
22015
        * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
22016
 
22017
Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
22018
 
22019
        * Overhauled general configuration for newlib.  Eliminated all
22020
        target dependent Makefile fragments.  Create libraries in newlib
22021
        rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
22022
        than CROSS_CC, et. al.  Broke make docs; will fix later.
22023
 
22024
        * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
22025
        Should be rewritten.
22026
 
22027
Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
22028
 
22029
        * libc/configure.in: cleaned up somewhat; switch on ${target}
22030
        rather than ${target_alias}.
22031
        * libm/configure.in: cleaned up somewhat; switch on ${target}
22032
        rather than ${target_alias}.
22033
 
22034
        * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
22035
        * libc/include/ctype.h: marked _ctype_ as _CONST.
22036
 
22037
        * libc/locale/locale.c (lconv, localeconv): marked static lconv as
22038
        _CONST.
22039
 
22040
        * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
22041
        libc/stdio/vfscanf.c (__svfscanf): made static variables const.
22042
        libc/stdio/gets.c (gets): removed non-ANSI warning message.
22043
        libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
22044
 
22045
        * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
22046
        bigtens, tinytens): marked arrays _CONST.
22047
        libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
22048
        rather than a static variable.
22049
 
22050
        * libc/time/asctime.c (asctime), libc/time/localtime.c
22051
        (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
22052
        _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
22053
        mname_len, mname): Marked static arrays _CONST.
22054
 
22055
        * libm/math/gamma.h: made local variables non-static.
22056
 
22057
        * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
22058
        libm/math/exp.c, libm/math/gamma.h: marked static arrays as
22059
        _CONST.
22060
 
22061
        * libm/math/constants.c: removed file, because the constants it
22062
        defined were never referenced.
22063
        libm/math/Makefile.in: removed references to constants.c.
22064
        libm/math/mathimpl.h: removed declarations of constants.
22065
 
22066
Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
22067
 
22068
        * libc/include/machine/varargs.h: only call __builtin_saveregs if
22069
        it is sensibly defined in libgcc2.  Checks preprocessor defines,
22070
        which is not a good solution.
22071
 
22072
        * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
22073
 
22074
        * libm/frexp.c: handle denormalized numbers as arguments.
22075
 
22076
        * libm/math/Makefile.in: added some dependencies for .c files
22077
        which include local .h files.
22078
 
22079
Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
22080
 
22081
        * libc/configure.in: set target_alias for OSE*.  Replace
22082
        target_makefile_frag if it is blank.
22083
 
22084
        * libc/Makefile.in: make sure everything is passed to subsidiary
22085
        makes; create all directories when installing.
22086
 
22087
        * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
22088
        CROSS_ARUPDATE instead of AR.
22089
 
22090
        * libm/configure.in: set target_alias for OSE*.  Replace
22091
        target_makefile_frag if it is blank.
22092
 
22093
        * libm/Makefile.in: make sure everything is passed to subsidiary
22094
        makes; create all directories when installing.
22095
 
22096
Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
22097
 
22098
        * add following change from libc copy.
22099
 
22100
Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
22101
 
22102
        * libc/libc.texinfo: make copyright disclaimers appear on back of
22103
        title page; make format of same slightly less ugly; avoid using
22104
        underbars in section headings (avoids nasty texinfo bug in table
22105
        of contents).
22106
 
22107
        * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
22108
          comments only) avoid using underbars in section headings
22109
 
22110
        * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
22111
          isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
22112
          changes in comments only): shorten headings ieeefp/infinity.c,
22113
          ieeefp/isnan.c: (doc, comments only) more informative headings
22114
 
22115
        * libc/math/bessel.c: (doc, comments only) shorten heading
22116
 
22117
        * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
22118
        (doc, comments only) shorten headings
22119
 
22120
        * libc/time/localtime.c (doc, comments only): shorten headings
22121
 
22122
        * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
22123
          isnan
22124
          libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
22125
          libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
22126
          headings
22127
          libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
22128
          only) more informative headings
22129
        * libm/math/bessel.c: (doc, comments only) shorten heading
22130
 
22131
Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
22132
 
22133
        * .../Makefile.in: use CROSS_ARUPDATE consistently.
22134
        * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
22135
        * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
22136
        * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
22137
        defined, the one from the .mt file will be correct.
22138
        * libc/include/machine, libc/include/sys: created, and populated
22139
        with common files from machine/*/machine. ifdefs were used for
22140
        most, typically by handling exceptions first and then filling in
22141
        defaults. Files with D.J. Delorie copyright #included rather than
22142
        copied. Most files in include/sys really were the same in the
22143
        original.
22144
        * libc/include/...: cleaned up use of _EXFUN.
22145
        * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
22146
        it with double quotes, not angles.
22147
 
22148
Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
22149
 
22150
        * libc/Makefile.in: always create installation directories.
22151
 
22152
Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
22153
 
22154
        * libc/configure.in: handle host properly (using canonical
22155
        triples), better error message for the case of target not found
22156
 
22157
Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
22158
 
22159
        * libc/Makefile.in (insincdir): Ensure this directory exists
22160
        before attempting installation.
22161
 
22162
Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
22163
 
22164
        * libc/stdlib/assert.c: now calls abort like it should
22165
        * libc/sys/a29khif: many many patches for 29khif work
22166
        * libc/machine/i386: gnulib2 expanded there.
22167
 
22168
Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
22169
 
22170
        Added accurate fp conversion routines to stdlib, moved dcvt from
22171
        stdio to stdlib and called it ecvtbuf:
22172
        * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
22173
        * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
22174
        routines
22175
        * libc/libc.texinfo: Modifed to include the copyright info from
22176
        the mprec files
22177
        * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
22178
        * libc/test/ : many vector which tested for the implementation
22179
        defined returns of strange conversion requests have been updated
22180
        to relflect the new implementation
22181
 
22182
Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
22183
 
22184
        * libc/libc.texinfo: new chapter on variable arg lists
22185
        (stdarg.h/varargs.h)
22186
        * libc/libc.texinfo: new title
22187
        * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
22188
        (doc only) shorter headings for better formatting.
22189
 
22190
Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
22191
 
22192
        * libc/libc.texinfo: three more info menu entries
22193
        * libc/locale/locale.tex: new chapter
22194
        * libc/locale/locale.c: new doc for setlocale, localeconv
22195
        * libc/locale/Makefile.in: use new locale doc
22196
        * libc/signal/signal.tex: new chapter
22197
        * libc/signal/raise.c, libc/signal/signal.c: new doc
22198
        * libc/signal/Makefile.in: use new doc
22199
        * libc/time/time.tex: new chapter
22200
        * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
22201
        libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
22202
        libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
22203
        * libc/time/Makefile.in: use new doc
22204
 
22205
Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
22206
 
22207
        * libm/math/log1p.c: split to use the new function way of float
22208
        function definition. math/log1p.h deleted
22209
        * libm/math/scalb.c: obsolete and deleted
22210
        * libm/math/scalbn.c: created from part log1p.c
22211
        * libm/math/Makefile.in: know about log1p and scalbn
22212
 
22213
Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
22214
 
22215
        * libc/ctype/isupper.c: revise doc;
22216
          libc/ctype/ctype.tex: use doc from isupper.c
22217
 
22218
        * libc/string/bzero.c: new doc
22219
 
22220
Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
22221
 
22222
        * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
22223
        new doc
22224
        * libc/stdlib/Makefile.in: extract new doc
22225
        * libc/stdlib/stdlib.tex: use new doc
22226
 
22227
        * libc/string/strerror.c: expanded doc.
22228
 
22229
        * libc/stdio/Makefile.in: extract doc from more files
22230
        * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
22231
        libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
22232
        libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
22233
        libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
22234
        libc/stdio/vsprintf.c: new doc
22235
        * libc/stdio/stdio.tex: use new doc
22236
 
22237
Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
22238
 
22239
        * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
22240
        * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
22241
        finitef functions.
22242
        * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
22243
        time ago.
22244
 
22245
        * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
22246
        * libc/stdio/setbuf.c: added ansi style definition.
22247
        * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
22248
        buffer if none provided.
22249
        * libc/stdio/tmpfile.c: lint
22250
        * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
22251
        rather than using static, also make sure file isn't already
22252
        present.  Uses P_tmpdir. (tempnam): rewritten to use new
22253
        subroutine, and uses P_tmpdir.
22254
        * libc/stdio/siprintf.c: created
22255
 
22256
Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
22257
 
22258
        Release 1.03 for NEC, major mods. Main differences from release
22259
        1.02::
22260
 
22261
        More tests in test/:
22262
        * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
22263
        log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
22264
        * test_ieee.c: tests for ieee flags & masks - get/set rounding,
22265
        get/set mask, get/set sticky and get/set roundtoi.  Tests
22266
        that setting the bits changes the way arithmetic is done.
22267
        * string.c: added test to make sure memcmp does it with unsigned
22268
        chars.
22269
        * test.c: cleaned up and removed lint.
22270
        * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
22271
        dvec.c: tests for string to value conversions,  sprintf, scanf,
22272
        atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
22273
        ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
22274
        rounding in sprintf too.
22275
        * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
22276
        isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
22277
        isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
22278
        and function form.
22279
        * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
22280
        powf
22281
 
22282
        In the library:
22283
        * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
22284
        libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
22285
        libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
22286
        libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
22287
        * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
22288
        than sprintf.
22289
        * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
22290
        * Method of producting float versions of double functions has
22291
        changed, functions will be modified gradually. So far:
22292
        libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
22293
        libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
22294
        altered
22295
        * libc/string/memcmp.c: now uses unsigned chars
22296
        * libc/string/bcmp.c, libc/string/strcpy.c,
22297
        libc/stsring/strxfrm.c: fixed doc
22298
        * libc/sys/sysvnecv70.tex: fix example of sbrk code
22299
 
22300
Local Variables:
22301
version-control: never
22302
End:

powered by: WebSVN 2.1.0

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