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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [ChangeLog] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1005 ivang
2001-12-19  Thomas Fitzsimmons  
2
 
3
        * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
4
        * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5
 
6
2001-12-19  Corinna Vinschen  
7
 
8
        * libm/machine/Makefile.am: Change rules to create correct lib.a.
9
        * libm/machine/Makefile.in: Regenerated through automake.
10
 
11
2001-12-18  Thomas Fitzsimmons  
12
 
13
        * Makefile.am (DOCDIR): Force to empty string when doc
14
        directory is not present.
15
 
16
2001-12-18  Thomas Fitzsimmons  
17
 
18
        * libc/machine/i386/f_*: Move to libm/machine/i386.
19
 
20
2001-12-18      Joel Sherrill 
21
 
22
        * libm/machine/Makefile.am: Add dummy doc stub so
23
        "make info" works.
24
 
25
2001-12-17      Joel Sherrill 
26
 
27
        * libc/include/sys/types.h (ino_t): RTEMS uses long also.
28
 
29
2001-12-17  Thomas Fitzsimmons  
30
 
31
        * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
32
        $(COMPILE) rather than $(CC).
33
        * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
34
        (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
35
        $(LIB_COMPILE) change.
36
        (vfiprintf.$(oext)): Likewise.
37
 
38
2001-12-17  Corinna Vinschen  
39
 
40
        * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
41
        conditionalized including of getopt stuff.
42
 
43
2001-12-14  Thomas Fitzsimmons  
44
 
45
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
46
        compile line.
47
        (vfiprintf.$(oext)): Likewise.
48
 
49
2001-12-13  Thomas Fitzsimmons  
50
 
51
        * Makefile.shared: New file.
52
        * libc/sys/linux/shared.ld: New file.
53
        * libm/machine/*: New files.
54
        * libm/machine/i386/*: New files.
55
        * Makefile.am: Add libtool support.  Change math and mathfp
56
        references to variables.
57
        * configure.host: Add variables for libtool support.  Add
58
        libm_machine_dir variable.
59
        * configure.in: Add objectlist variables, for libtool
60
        support.  Add CC_FOR_BUILD tests.
61
        * libc/Makefile.am: Add libtool support.  Change crt0.o
62
        reference to be a variable reference.
63
        * libc/configure.in: Add libtool support.  Change sublib
64
        names to be lib${subdir}.la when using libtool.
65
        * libc/ctype/Makefile.am: Add libtool support.
66
        * libc/errno/Makefile.am: Likewise.
67
        * libc/locale/Makefile.am: Likewise.
68
        * libc/machine/Makefile.am: Likewise.
69
        * libc/machine/configure.in: Likewise.
70
        * libc/machine/i386/Makefile.am: Likewise.
71
        * libc/machine/i386/configure.in: Likewise.
72
        * libc/misc/Makefile.am: Likewise.
73
        * libc/posix/Makefile.am: Likewise.
74
        * libc/reent/Makefile.am: Likewise.
75
        * libc/signal/Makefile.am: Likewise.
76
        * libc/stdio/Makefile.am: Likewise.
77
        * libc/stdlib/Makefile.am: Likewise.
78
        * libc/string/Makefile.am: Likewise.
79
        * libc/sys/Makefile.am: Likewise.
80
        * libc/sys/configure.in: Likewise.
81
        * libc/sys/linux/Makefile.am: Add libtool support.  Change
82
        awk reference to a variable reference.  Change signal.h
83
        reference to a variable reference.
84
        * libc/sys/linux/configure.in: Add libtool support.
85
        * libc/syscalls/Makefile.am: Likewise.
86
        * libc/time/Makefile.am: Likewise.
87
        * libc/unix/Makefile.am: Likewise.
88
        * libm/Makefile.am: Add libtool support.  Change math and
89
        mathfp references to variables.
90
        * libm/configure.in: Add libtool support.  Add
91
        LIBM_MACHINE_LIB variable.
92
        * libm/common/Makefile.am: Add libtool support.
93
        * libm/math/Makefile.am: Likewise.
94
        * libm/mathfp/Makefile.am: Likewise.
95
        Regenerate all Makefile.in, aclocal.m4, and configure.
96
 
97
2001-12-13 Anita Kulkarni 
98
 
99
        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
100
 
101
2001-12-06  John Peacock 
102
 
103
        * libc/include/sys/unistd.h: Correct ualarm declaration.
104
 
105
2001-12-05  Nick Clifton  
106
 
107
        * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
108
        vector before calling the initialisation functions.
109
 
110
2001-11-29  Christopher Faylor  
111
 
112
        * libc/include/dirent.h: Protect against multiple inclusion.
113
 
114
2001-11-27  Christopher Faylor  
115
 
116
        * libc/include/sys/types.h: Define useconds_t.
117
        * libc/include/sys/ulimit.h: Declare ualarm.
118
 
119
2001-11-21  Christopher Faylor  
120
 
121
        * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
122
 
123
2001-11-19  Hans-Peter Nilsson  
124
 
125
        * libc/sys/mmixware/*: Tweak license header in all source files.
126
 
127
2001-11-12  Corinna Vinschen  
128
 
129
        * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
130
        to here.  Rearrange for general inclusion by stdlib.h.
131
        * libc/include/stdlib.h: Include  if __STRICT_ANSI__
132
        isn't defined.
133
        * libc/sys/linux/include/alloca.h: Move to libc/include.
134
 
135
2001-11-12  Anthony Green  
136
 
137
        * libc/sys/arm/crt0.S (__stack_base__): New symbol.
138
 
139
2001-11-13  Hans-Peter Nilsson  
140
 
141
        * libc/sys/mmixware/*: Correct spacing in all source files.
142
        * libc/sys/mmixware/syscall.h: Move misplaced file...
143
        * libc/sys/mmixware/sys/syscall.h: ...here.
144
 
145
2001-11-12  Hans-Peter Nilsson  
146
 
147
        * libc/include/machine/ieeefp.h: Add support for mmix target.
148
        * libc/include/machine/setjmp.h: Ditto.
149
        * configure.host: Ditto.
150
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
151
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
152
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
153
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
154
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
155
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
156
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
157
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
158
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
159
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
160
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
161
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
162
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
163
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
164
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
165
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
166
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
167
        libc/sys/mmixware/aclocal.m4: Generate.
168
 
169
2001-11-05  Corinna Vinschen  
170
 
171
        * libc/include/sys/unistd.h: Add prototypes for endusershell(),
172
        getusershell(), iruserok(), revoke(), ruserok() and setusershell()
173
        when __CYGWIN__ is defined.
174
        * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
175
        logwtmp().
176
 
177
2001-11-01  Arati Dikey  
178
 
179
        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
180
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
181
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
182
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
183
 
184
2001-10-24  Christopher Faylor  
185
 
186
        * libc/stdio/fseek.c: Reset pointer to buffer base
187
        when forced to seek outside of current buffer contents.
188
        This prevents the code from erroneously thinking there is
189
        anything in the current buffer.
190
 
191
2001-10-22  Geoffrey Keating  
192
 
193
        * libc/include/math.h: The C++ standard adds the single-precision
194
        versions of the elementary functions.
195
 
196
2001-10-22  Christopher Faylor  
197
 
198
        * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
199
        throughout.
200
        * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
201
        * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
202
        * system.c (_system_r): Ditto.
203
 
204
2001-10-17  Corinna Vinschen  
205
 
206
        * libc/include/sys/unistd.h: Add prototype for fchdir() when
207
        __CYGWIN__ or __rtems__ is defined.
208
 
209
2001-10-01  Charles Wilson  
210
 
211
        * libc/include/stdlib.h: add declarations for
212
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
213
        * libc/stdio/local.h: remove declarations of
214
        __strtoull_r and __strtoll_r.
215
        * libc/stdio/vfscanf.c(__svfscanf_r): call
216
        _strtoull_r instead of __strtoull_r. Ditto
217
        _strtoll_r vs. __strtoll_r.
218
        * libc/stdlib/Makefile.am: add new files to
219
        .c list and .def list
220
        * libc/stdlib/Makefile.in: regenerate
221
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
222
        as _strtoll_r
223
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
224
        as _strtoull_r
225
        * libc/stdlib/strtoull.c: new file
226
        * libc/stdlib/strtoll.c: new file
227
 
228
Mon Sep 17 17:29:47 2001  Christopher Faylor 
229
 
230
        * libc/include/process.h: Add getpid() declaration.
231
 
232
2001-09-14  Nick Clifton  
233
 
234
        * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
235
        for new style arm/elf ctor/dtor handling.
236
        Minor formatting tidy up.
237
 
238
2001-09-13  Jeff Johnston  
239
 
240
        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
241
        and strtoull_r.c.
242
        * libc/stdlib/Makefile.in: Regenerated.
243
        * libc/stdlib/strtoll_r.c: New file.
244
        * libc/stdlib/strtoull_r.c: New file.
245
        * libc/stdio/local.h: Add prototypes for long long string
246
        conversion routines.
247
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
248
        tied to %L integer conversion specifier.
249
 
250
Thu Sep 13 08:49:49 2001  Jason Tishler 
251
 
252
        * strftime.c (strftime): Fix "%W" implementation to properly handle
253
        Mondays too.
254
 
255
2001-09-07  Jeff Law  
256
 
257
        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
258
        __fini with "mov.l" instead of "mov.w".
259
 
260
2001-09-05  Corinna Vinschen  
261
 
262
        * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
263
        and getopt.h.
264
 
265
2001-09-04  Jason Merrill  
266
 
267
        * libc/sys/h8300hms/crt0.S: Support ELF initialization.
268
 
269
2001-09-03  Corinna Vinschen  
270
 
271
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
272
        field.
273
        (__DIRENT_VERSION): New define.
274
 
275
2001-09-03  Corinna Vinschen  
276
 
277
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
278
        Shrink __d_reserved accordingly to keep structure size.
279
        (dirfd): Declare external.
280
 
281
2001-08-29  Joel Sherrill 
282
 
283
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
284
 
285
2001-08-29  Ralf Corsepius 
286
 
287
        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
288
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
289
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
290
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
291
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
292
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
293
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
294
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
295
        Add conditional compilation to avoid HW FPU instructions
296
        when compiled for soft-float.
297
 
298
2001-08-29  Jeff Johnston  
299
 
300
        * Makefile.am: Add check for ln failing when creating libg.a
301
        so that cp gets used as a backup.
302
        * Makefile.in: Regenerated.
303
 
304
2001-08-29  Jeff Johnston  
305
 
306
        * libc/include/sys/reent.h: Add include of .
307
        No longer include time.h.  Add struct __tm to use for
308
        _localtime_buf in the reentrant structure.  Add a
309
        _NULL definition to use in initializing the reentrant struct.
310
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
311
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
312
        .
313
        * libc/include/sys/unistd.h: Include .
314
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
315
        _localtime_buf to be struct tm *.
316
 
317
Wed Aug 29 14:17:38 2001  J"orn Rennecke 
318
 
319
        * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
320
        * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
321
        __ctors_end.
322
        * libc/sys/h8300hms/syscalls.c: Include errno.h.
323
        (_unlink): New stub function.
324
 
325
Sat Aug 25 22:22:25 2001  Christopher Faylor 
326
 
327
        * libc/include/sys/errno.h: Add a cautionary comment.
328
 
329
2001-08-21  Jeff Johnston  
330
 
331
        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
332
        for SIZE_SZ so that alignment ends up a minimum of 8.
333
 
334
Mon Aug 13 22:26:01 2001  Christopher Faylor 
335
 
336
        * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
337
        arguments.
338
 
339
        * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
340
        Cygwin.
341
 
342
2001-08-13  Jeff Johnston  
343
 
344
        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
345
        macro constants for mallopt options.
346
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
347
 
348
2001-08-02  Jeff Johnston  
349
 
350
        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
351
        otherwise default.
352
 
353
2001-07-12  Aldy Hernandez  
354
 
355
        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
356
 
357
2001-06-27  Nick Clifton  
358
 
359
        * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
360
        Define for little endian ARMs.
361
 
362
        * libc/stdlib/mprec.h (Storeinc): Use little endian version if
363
        __IEEE_BYTES_LITTLE_ENDIAN is defined.
364
 
365
2001-06-11  Danny Smith  
366
 
367
        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
368
 
369
2001-06-11  Egor Duda  
370
 
371
        * libc/ctype/ctype_.c: When compiled with gcc on platforms
372
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
373
        initialized memory region. Platform can define COMPACT_CTYPE
374
        to avoid allocation of the additional 128 bytes of data.
375
        Add pointer to _ctype_ array. Always initialize all _ctype_
376
        array elements.
377
 
378
2001-06-08  Jonathan Larmour  
379
 
380
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
381
        NULL pointer.
382
 
383
2001-05-28  Nick Clifton  
384
 
385
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
386
 
387
2001-05-25  Nick Clifton  
388
 
389
        * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
390
        matching, non-word alignment, and the length is <= 4 but more than
391
        enough to move them over a word boundary.
392
        Add comments explaining what each instruction does.
393
 
394
Mon May  7 20:39:25 2001  Christopher Faylor 
395
 
396
        * libc/include/sys/stat.h: Revert March 3, Cygwin change.
397
        * libc/include/sys/unistd.h: Ditto.
398
 
399
2001-05-04  Earnie Boyd  
400
 
401
        * libc/string/strrchr.c: Use strchr for the speed improvements.
402
 
403
2001-05-01  Jeff Johnston  
404
 
405
        * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
406
        real file systems, let __smakebuf() determine if line buffering
407
        should be used for stdout.
408
 
409
2001-04-27  Jeff Johnston  
410
 
411
        * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
412
 
413
2001-04-27  Jeff Johnston  
414
 
415
        * libc/include/stdlib.h: Add prototype for _strtod_r.
416
 
417
2001-04-24  Charles Wilson  
418
 
419
        * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
420
        * libc/stdio/vprintf.c (_vprintf_r): new function
421
        * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
422
        * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
423
        _DEFUN, and call _vfprintf_r, not vfprintf.
424
        * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
425
        * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
426
        _DEFUN, and call _vfprintf_r, not vfprintf.
427
 
428
2001-04-22  Earnie Boyd  
429
 
430
        * libc/include/sys/unistd.h [X_OK]: Use better protection against
431
        Cygwin X_OK definitions in sys/file.h.
432
 
433
Fri Apr 20 23:17:51 2001  Christopher Faylor 
434
 
435
        * libc/include/sys/time.h: Define timercmp and other macros for
436
        __CYGWIN__, too.
437
 
438
2001-04-20  Jeff Johnston  
439
 
440
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
441
        * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
442
        --enable-malloc-debugging selected.
443
        * aclocal.m4 configure: Regenerated.
444
          libm/aclocal.m4 libm/configure: Ditto.
445
        * libc/aclocal.m4 libc/configure: Ditto.
446
        * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
447
        * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
448
        * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
449
        * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
450
        * doc/aclocal.m4 doc/configure: Ditto.
451
 
452
2001-04-20  Jeff Johnston  
453
 
454
        * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
455
        into one list.
456
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
457
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
458
        function prototypes.
459
        (_fscanf_r, _sscanf_r): Ditto.
460
        * libc/include/stdlib.h: Added _strtod_r prototype.
461
        * libc/stdio/Makefile.am: Add new v*scanf functions.
462
        * libc/stdio/Makefile.in: Regenerate.
463
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
464
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
465
        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
466
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
467
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
468
        (_sscanf_r): New routine.
469
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
470
        with __svfscanf_r prototype.
471
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
472
        routines.
473
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
474
        structure as argument as calls reentrant versions of helper functions
475
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
476
        to _strtol_r and _strtod_r respectively.
477
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
478
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
479
        _REENT argument.
480
        * libc/stdio/vscanf.c: New file.
481
        * libc/stdio/vsscanf.c: Ditto.
482
 
483
2001-04-19  Robert Collins  
484
 
485
        * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
486
        Define daylight to _daylight if it is not defined
487
        Prepare a variable export of timezone based on timezonevariable.
488
        (Cannot be used with the timezone() function.)
489
 
490
2001-04-17  Stephen L. Moshier  
491
 
492
        * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
493
         Correct the numerical values.
494
 
495
2001-04-13  Robert Collins 
496
 
497
        * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
498
 
499
Thu Apr 12 23:11:00 2001  Corinna Vinschen 
500
 
501
        * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
502
        on case insensitve file systems.
503
 
504
2001-04-12  Robert Collins 
505
 
506
        * libc/include/sys/features.h: Add appropriate defines for Cygwin
507
        pthread support.
508
        * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
509
        * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
510
        types.  Include  for the cygwin specific typedefs.
511
 
512
2001-04-04  Richard Sandiford  
513
 
514
        * libc/include/machine/ieeefp.h: Comment about new configuration
515
        macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
516
        * libm/common/fdlib.h: Define new macros for testing floats.
517
        * libm/common/sf_*: Use them.
518
        * libm/math/ef_*: Likewise.
519
        * libm/math/sf_*: Likewise.
520
 
521
2001-03-29  Jeff Johnston  
522
 
523
        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
524
        prolog to by-pass possible assembler error.
525
 
526
2001-03-21  Egor Duda  
527
 
528
        Allow building internal stubs for non-reentrant syscalls
529
        if target provides its own malloc
530
        * libc/reent/reent.c (errno): Move definition here.
531
        * libc/reent/sbrkr.c: From here.
532
 
533
2001-03-20  Danny Smith 
534
 
535
        * libc/include/sys/types.h (BSD int typedefs): Guard with
536
        _BSDTYPES_DEFINED rather than _WINSOCK_H.
537
        (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
538
        _SYS_TYPES_FD_SET.
539
        * libc/include/sys/unistd.h (gethostname): Don't declare if defined
540
        (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
541
 
542
Sat Mar 17 18:30:00 2001  Corinna Vinschen 
543
 
544
        * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
545
        _PC_POSIX_SECURITY constants for Cygwin.
546
 
547
Wed Mar 14  9:34:00 2001  Corinna Vinschen 
548
 
549
        * libc/sys/cygwin/crt0.c: Add copyright hint.
550
        * libc/sys/cygwin/sys/dirent.h: Ditto.
551
        * libc/sys/cygwin/sys/param.h: Ditto.
552
        * libc/sys/cygwin/sys/utime.h: Ditto.
553
        * libc/sys/cygwin/sys/utmp.h: Ditto.
554
 
555
2001-03-13  Alexandre Oliva  
556
 
557
        * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
558
        equivalent to LONGINT.
559
 
560
2001-03-08  Richard Sandiford  
561
 
562
        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
563
        jmpbuf on MIPS64 targets.
564
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.
565
 
566
Wed Mar  7 16:02:07 2001  Christopher Faylor 
567
 
568
        * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
569
          declarations.
570
 
571
Mon Mar  5 21:48:54 2001  J"orn Rennecke 
572
 
573
        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
574
        For RTEMS, define to be ssize_t.  Default to int if not defined.
575
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
576
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
577
        * libc/stdio/local.h (__sread, __swrite): Likewise.
578
        * libc/include/sys/reent.h (_read, _write): Likewise.
579
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
580
        * libc/syscalls/sysread.c (read): Likewise.
581
        * libc/syscalls/syswrite.c (write): Likewise.
582
 
583
2001-03-05  Jeff Johnston  
584
 
585
        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
586
 
587
Sat Mar  3 00:34:14 2001  Christopher Faylor 
588
 
589
        * libc/include/sys/stat.h: Use special defines for executable stat bits
590
        when compiling for Cygwin.
591
        * libc/include/sys/unistd.h: Use special define for X_OK when compiling
592
        for Cygwin.
593
 
594
2001-03-02  Jeff Johnston  
595
 
596
        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
597
        of strtok_r is always defined.
598
 
599
2001-03-02  Jeff Johnston  
600
 
601
        * libc/include/machine/ansi.h: New dummy header file.
602
 
603
2001-02-22  Jeff Johnston  
604
 
605
        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
606
        changed the copyright information to allow free modification of the
607
        file with no reference to "copying.dj".
608
        * libc/include/sys/stat-dj.h: Ditto.
609
        * libc/machine/i386/setjmp.S: Ditto.
610
        * libc/sys/h8300hms/sys/file.h: Ditto.
611
        * libc/sys/sysmec/access.c: Ditto.
612
        * libc/sys/sysnecv850/access.c: Ditto.
613
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
614
        * libc/stdlib/getenv_r.c: Ditto.
615
        * libc/stdlib/putenv_r.c: Ditto.
616
        * libc/stdlib/setenv_r.c: Ditto.
617
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
618
        modifications will now be in the _r version of this file.
619
        * libc/stdlib/putenv.c: Ditto.
620
        * libc/stdlib/setenv.c: Ditto.
621
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
622
        valid.  Added a reference to DJ's web page that contains his address.
623
        * libc/sys/go32/*.s: Removed references to DJ's old address.
624
        * libc/sys/go32/*.c: Ditto.
625
        * libc/sys/go32/*.h: Ditto.
626
        * libc/sys/go32/*.S: Ditto.
627
        * libc/sys/go32/sys/*.h: Ditto.
628
 
629
2001-02-21  Jeff Johnston  
630
 
631
        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
632
        HAVE_FCNTL flag check.
633
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
634
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
635
 
636
Thu Feb 15 01:39:51 2001  Christopher Faylor 
637
 
638
        * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
639
 
640
2001-02-14  Kazuhiro Fujieda  
641
 
642
        * libc/include/stdlib.h: Add declarations of rand48 functions and
643
        their reentrant versions.
644
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
645
        struct _rand48 for shared parameters of rand48 functions.
646
        (struct _reent): Add a variable _r48 of struct _rand48.
647
        (_REENT_INIT): Add _r48 initialization.
648
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
649
        (CHEWOUT_FILES): Add rand48.def.
650
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
651
        * libc/stdlib/Makefile.in: Regenerated.
652
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
653
        NetBSD C library.
654
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
655
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
656
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
657
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
658
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
659
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
660
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
661
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
662
        * libc/stdlib/rand48.c (__dorand48): Ditto.
663
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
664
        parameters into macros referring them in the reentrant structure.
665
 
666
2001-02-12  Jeff Johnston  
667
 
668
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
669
        Cygwin definition has correct prototype.
670
 
671
2001-02-08  Jeff Johnston  
672
 
673
        * libc/include/sys/stat.h: Must revert change for mknod
674
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
675
        prototype.
676
 
677
2001-02-08  Jeff Johnston  
678
 
679
        * libc/include/stdio.h: Revert putw prototype.
680
 
681
2001-02-08  Edward M. Lee  
682
 
683
        * libc/include/grp.h: add prototype for initgroups.
684
        * libc/include/stdio.h: fix prototype for putw.
685
        * libc/include/sys/signal.h: add prototype for killpg.
686
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
687
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
688
        vhangup and remove duplicate sysconf prototype.
689
 
690
2001-02-07  Jeff Johnston  
691
 
692
        * libc/sys/rtems/sys/types.h: Removed.
693
 
694
2001-02-05  Charles Wilson  
695
 
696
        * libc/include/locale.h: add LC_MESSAGES definition
697
 
698
2001-02-01  Alexandre Oliva  
699
 
700
        * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
701
        SYS_get_argN):
702
        * libc/sys/sh/syscalls.c (__setup_argv_for_main,
703
        __setup_argv_and_call_main): New.
704
 
705
2001-01-31  Jeff Johnston  
706
 
707
        * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
708
        if defined.
709
        (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
710
        (L_tmpnam): Changed to use __L_tmpnam__ if defined.
711
        * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
712
        appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
713
 
714
Mon Jan 29 23:03:06 2001  Christopher Faylor 
715
 
716
        * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
717
        compiling under Cygwin.
718
 
719
2001-01-29  Jeff Johnston  
720
 
721
        * libc/include/math.h (signgam): Change to errno-like solution
722
        using a function to return the address of the real signgam.
723
        * libc/reent/signgam.c: New file containing __signgam().
724
        * libc/reent/Makefile.am: Added signgam.c to list of files.
725
        * libc/reent/Makefile.in: Regenerated.
726
 
727
2001-01-25  Alexandre Oliva  
728
 
729
        * libc/sys/sh/syscalls.c (_times): New.
730
 
731
        * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
732
        * libc/sys/sh/syscalls.c (_gettimeofday): New.
733
 
734
2001-01-23  Jeff Johnston  
735
 
736
        * libc/include/math.h (signgam): Regress previous fix as
737
        it does not handle programs with extern int signgam in them.
738
 
739
2001-01-23  Jeff Johnston  
740
 
741
        * libc/include/math.h (signgam): Changed to a macro refering to
742
        its location in the reentrant structure.
743
 
744
2001-01-23  Jeff Johnston  
745
 
746
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
747
        that suppressed . for %.0f, 0.1.  Check now looks if there
748
        are padding zeroes (expt) in addition to any digits (ndig) to
749
        print.
750
 
751
2001-01-18  Jeff Johnston  
752
 
753
        * libc/sys/arc/Makefile.am: New file.
754
        * libc/sys/arc/Makefile.in: Ditto.
755
        * libc/sys/arc/aclocal.m4: Ditto.
756
        * libc/sys/arc/configure: Ditto.
757
        * libc/sys/arc/configure.in: Ditto.
758
        * libc/sys/arc/crt0.S: Ditto.
759
        * libc/sys/arc/isatty.c: Ditto.
760
        * libc/sys/arc/mem-layout.c: Ditto.
761
        * libc/sys/arc/sbrk.c: Ditto.
762
        * libc/sys/arc/syscalls.c: Ditto.
763
        * libc/sys/arc/sys/syscall.h: Ditto.
764
 
765
Wed Jan 17 23:20:56 2001  Christopher Faylor 
766
 
767
        * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
768
 
769
Fri Jan 12 00:34:31 2001  Christopher Faylor 
770
 
771
        * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
772
 
773
Thu Jan 11 20:42:06  2001  Earnie Boyd  
774
 
775
        * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
776
 
777
2001-01-09  Nick Clifton  
778
 
779
        * configure.host (v859): Remove unsupported compiler options.
780
 
781
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  
782
 
783
        * src/newlib/configure.host (*-*-rtems*): add printf long long
784
        support for RTEMS.
785
 
786
2000-12-19  Graham Stott 
787
 
788
        * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
789
 
790
Wed Dec 14  Jeff Johnston  
791
 
792
        * configure.host: Turn on long double I/O for Cygwin.
793
 
794
Wed Dec 14  Jeff Johnston  
795
 
796
        * MAINTAINERS: Removed Ranjith.
797
        * NEWS: Updated for 1.9.0.
798
        * README: Updated.
799
        * acinclude.m4: Updated to release 1.9.0.
800
        * aclocal.m4 configure
801
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
802
          libc/machine/aclocal.m4 libc/machine/configure
803
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
804
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
805
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
806
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
807
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
808
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
809
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
810
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
811
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
812
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
813
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
814
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
815
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
816
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
817
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
818
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
819
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
820
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
821
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
822
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
823
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
824
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
825
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
826
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
827
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
828
          libc/sys/aclocal.m4 libc/sys/configure
829
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
830
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
831
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
832
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
833
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
834
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
835
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
836
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
837
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
838
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
839
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
840
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
841
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
842
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
843
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
844
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
845
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
846
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
847
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
848
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
849
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
850
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
851
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
852
          libm/aclocal.m4 libm/configure: Regenerated.
853
 
854
Wed Dec 13 11:52:00 2000  Corinna Vinschen 
855
 
856
        * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
857
        when __CYGWIN__ is defined.
858
 
859
2000-12-13  Jeff Johnston  
860
 
861
        * libc/stdlib/ldtoa.c (_ldcheck): New routine
862
        that categorizes a long double as NaN, Infinity, or other.
863
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
864
        isinfl and isnanl static routines which were i386-specific.  Changed
865
        calls to the two removed routines to a single _ldcheck call.
866
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
867
 
868
2000-12-13  Jeff Johnston  
869
 
870
        * Makefile.am: Fixed install-data-local target to use
871
        $(mkinstalldirs) for the installed header files to ensure
872
        the directories exist before copying.
873
        * Makefile.in: Regenerated.
874
 
875
2000-12-12  Jeff Johnston  
876
 
877
        * libc/include/sys/unistd.h: Restored Cygwin _SC
878
        constants and moved new constants appropriately
879
        so Cygwin will build.
880
 
881
2000-12-11  Joel Sherrill 
882
 
883
        * Merge RTEMS specific .h files into main libc/include.
884
        * libc/sys/rtems/include/signal.h: Removed.
885
        * libc/sys/rtems/include/time.h: Removed.
886
        * libc/sys/rtems/sys/features.h: Removed.
887
        * libc/sys/rtems/sys/sched.h: Removed.
888
        * libc/sys/rtems/sys/siginfo.h: Removed.
889
        * libc/sys/rtems/sys/signal.h: Removed.
890
        * libc/sys/rtems/sys/time.h: Removed.
891
        * libc/sys/rtems/sys/times.h: Removed.
892
        definitions for time_t and clock_t since these are
893
        no longer in time.h.
894
        * libc/include/pthread.h: New file.
895
        * libc/include/sys/sched.h: New file.
896
        * libc/include/sys/features.h: New file.
897
        * libc/include/time.h: Removed duplicate definition of clock_t
898
        and time_t, get them from  instead.  Add prototypes
899
        for POSIX clock and timer functionality.
900
        * libc/sys/linux/sys/types.h: Changed to include
901
        * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
902
        * libc/include/sys/signal.h: Add more complete set of POSIX
903
        signal functionality including real-time and threaded signals.
904
        * libc/include/sys/types.h: Add clock_t, time_t, struct
905
        timespec, and struct itimerspec.  Centralizing these makes
906
        things cleaner.  RTEMS uses 64-bit dev_t.
907
        Added numerous primitive definitions
908
        for pthreads including macros, pthread_attr_t,
909
        pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
910
        pthread_once_t, and pthread_t.
911
        * libc/include/sys/unistd.h: Added getlogin_r() prototype.
912
        If RTEMS follow POSIX on read(), write() and sbrk() prototype.
913
        Feature flags removed and moved to new file .
914
        Full set of POSIX sysconf() constants
915
 
916
2000-12-08  Werner Almesberger  
917
 
918
        * configure.host: Added x86 linux target.
919
        * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
920
        definitions provided if not already defined.
921
        * libc/sys/linux/crt0.c: New file.
922
        * libc/sys/linux/Makefile.am: Ditto.
923
        * libc/sys/linux/Makefile.in: Ditto.
924
        * libc/sys/linux/aclocal.m4: Ditto.
925
        * libc/sys/linux/brk.c: Ditto.
926
        * libc/sys/linux/configure: Ditto.
927
        * libc/sys/linux/configure.in: Ditto.
928
        * libc/sys/linux/getoptlong.c: Ditto.
929
        * libc/sys/linux/ids.c: Ditto.
930
        * libc/sys/linux/inode.c: Ditto.
931
        * libc/sys/linux/io.c: Ditto.
932
        * libc/sys/linux/linux.c: Ditto.
933
        * libc/sys/linux/process.c: Ditto.
934
        * libc/sys/linux/realpath.c: Ditto.
935
        * libc/sys/linux/select.c: Ditto.
936
        * libc/sys/linux/signal.c: Ditto.
937
        * libc/sys/linux/systat.c: Ditto.
938
        * libc/sys/linux/termios.c: Ditto.
939
        * libc/sys/linux/time.c: Ditto.
940
        * libc/sys/linux/wait.c: Ditto.
941
        * libc/sys/linux/include/alloca.h: Ditto.
942
        * libc/sys/linux/include/getopt.h: Ditto.
943
        * libc/sys/linux/include/stdint.h: Ditto.
944
        * libc/sys/linux/include/unistd.h: Ditto.
945
        * libc/sys/linux/sys/cdefs.h: Ditto.
946
        * libc/sys/linux/sys/dirent.h: Ditto.
947
        * libc/sys/linux/sys/errno.h: Ditto.
948
        * libc/sys/linux/sys/fcntl.h: Ditto.
949
        * libc/sys/linux/sys/file.h: Ditto.
950
        * libc/sys/linux/sys/ioctl.h: Ditto.
951
        * libc/sys/linux/sys/resource.h: Ditto.
952
        * libc/sys/linux/sys/signal.h: Ditto.
953
        * libc/sys/linux/sys/stat.h: Ditto.
954
        * libc/sys/linux/sys/syscall.h: Ditto.
955
        * libc/sys/linux/sys/termios.h: Ditto.
956
        * libc/sys/linux/sys/time.h: Ditto.
957
        * libc/sys/linux/sys/types.h: Ditto.
958
        * libc/sys/linux/sys/utmp.h: Ditto.
959
        * libc/sys/linux/sys/utsname.h: Ditto.
960
        * libc/sys/linux/sys/wait.h: Ditto.
961
 
962
2000-12-08  Ralf Corsepius 
963
 
964
        * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
965
        can be a relative path to $(top_srcdir)/install.sh so ensure the
966
        autoconf detected settings are properly passed recursively.
967
        Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
968
        properly to subdirectories.
969
        * Makefile.in: Regenerated.
970
 
971
2000-12-07  Jay Kulpinski 
972
 
973
        * libc/stdio/vfprintf.c: Minor modification to avoid requiring
974
        a floating point register unless really printing a floating
975
        point number.
976
 
977
2000-12-07  Jeff Johnston  
978
 
979
        * libc/stdlib/ldtoa.c: Removed include of alloca.h.
980
        Also removed \r's.
981
        (asctoeg): Replaced alloca call with stack array and malloc
982
        when storage exceeds reasonable limit.
983
        (e53toe): Fixed einfin calls missing ldp parameter.
984
        (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
985
 
986
2000-12-06  Jeff Johnston  
987
 
988
 
989
        * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
990
 
991
2000-12-06  Jeff Johnston  
992
 
993
        * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
994
        * libc/stdlib/Makefile.in: Regenerated.
995
        * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
996
        * libc/stdio/vfieeefp.h: Added long double bit structures.
997
        * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
998
        [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
999
        (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
1000
        * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
1001
        * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
1002
        _strtold routines used for conversions between character
1003
        and long double.
1004
 
1005
Wed Dec  6 12:01:00 2000  Corinna Vinschen 
1006
 
1007
        * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
1008
 
1009
2000-12-04  Joel Sherrill 
1010
 
1011
        * libc/include/machine/time.h: RTEMS systems can configure clock
1012
        tick rate so use sysconf() to ask.
1013
 
1014
2000-12-04  Joel Sherrill 
1015
 
1016
        * libc/include/sys/times.h: Add reference to POSIX standard.
1017
 
1018
2000-12-04  Joel Sherrill 
1019
 
1020
        * libc/include/sys/time.h: Added BSD timer manipulation macros
1021
        used by RTEMS code.
1022
 
1023
2000-12-04  Joel Sherrill 
1024
 
1025
        * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
1026
        referenced by code generated by gcc 2.8.1.
1027
        (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1028
        satisfy gcc.
1029
 
1030
2000-12-04  Joel Sherrill 
1031
 
1032
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
1033
 
1034
2000-12-04  Joel Sherrill 
1035
 
1036
        * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
1037
 
1038
2000-12-04  Joel Sherrill 
1039
 
1040
        * configure.host (or16, or32): New entries for OpenCores
1041
        OpenRisc CPUs.
1042
        (*-*-rtems*): Add -DNO_EXEC.
1043
 
1044
2000-12-04  Keith Outwater 
1045
 
1046
        * libc/include/sys/errno.h: Added comments on many error numbers.
1047
        * libc/string/strerror.c: Added some more strings.
1048
 
1049
2000-11-30  Jeff Johnston 
1050
 
1051
        * libc/sys/sh/syscalls.c (_link): New stub.
1052
 
1053
2000-11-29  Nick Clifton  
1054
 
1055
        * configure.host: Add xscale target.
1056
        * libc/machine/xscale: New directory.
1057
        * libc/machine/xscale/Makefile.am: New file.
1058
        * libc/machine/xscale/Makefile.in: New file.
1059
        * libc/machine/xscale/aclocal.m4: New file.
1060
        * libc/machine/xscale/configure: New file.
1061
        * libc/machine/xscale/configure.in: New file.
1062
        * libc/machine/xscale/memchr.S: New file.
1063
        * libc/machine/xscale/memcmp.S: New file.
1064
        * libc/machine/xscale/memcpy.S: New file.
1065
        * libc/machine/xscale/memmove.S: New file.
1066
        * libc/machine/xscale/memset.S: New file.
1067
        * libc/machine/xscale/strchr.S: New file.
1068
        * libc/machine/xscale/strcmp.S: New file.
1069
        * libc/machine/xscale/strcpy.S: New file.
1070
        * libc/machine/xscale/strlen.S: New file.
1071
 
1072
Sat Nov 25 11:24:00 2000  Corinna Vinschen 
1073
 
1074
        * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
1075
        avoid compiler warnings.
1076
 
1077
2000-11-22  Michael Meissner  
1078
 
1079
        * libc/posix/execl.c (execl): Don't reference environ directly,
1080
        reference it only via a static pointer to avoid problems with some
1081
        shared library systems and with different uses of small data where
1082
        the user specifies his own version of environ.
1083
        * libc/posix/execv.c (execv): Ditto.
1084
        * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
1085
        * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
1086
        * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
1087
 
1088
        * libc/stdlib/getenv.c (environ): Delete unused reference to
1089
        environ.
1090
 
1091
        * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
1092
        colorization.
1093
        * libc/stdlib/system.c: Ditto.
1094
 
1095
Tue Nov 21 20:32:21 2000  Christopher Faylor 
1096
 
1097
        * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
1098
        including windows headers.
1099
 
1100
2000-11-20  Jeff Johnston  
1101
 
1102
        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
1103
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
1104
        not defined by sys/dirent.h.
1105
        * libc/posix/execvp.c: Added include of dirent.h to get
1106
        MAXNAMLEN value which used to be in unistd.h.
1107
 
1108
Mon Nov  6 12:56:00 2000  Corinna Vinschen 
1109
 
1110
        * libc/include/sys/types.h: Change type of i to `size_t' in
1111
        FD_ZERO macro to avoid compiler warnings.
1112
 
1113
Sun Oct 29 20:06:41 2000  Christopher Faylor 
1114
 
1115
        * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
1116
        * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
1117
 
1118
Tue Oct 24 20:16:00 2000  Corinna Vinschen 
1119
 
1120
        * libc/include/sys/unistd.h: Add defines for sysconf values
1121
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
1122
        _SC_AVPHYS_PAGES.
1123
 
1124
Mon Oct  9 20:26:33 2000  Christopher Faylor 
1125
 
1126
        * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
1127
        declarations for __CYGWIN__.
1128
 
1129
2000-09-19  Geoffrey Keating  
1130
 
1131
        * libc/signal/signal.c (__sigtramp_r): ISO C requires
1132
        case labels to be integral constant expressions, so
1133
        use an if/else tree instead.
1134
        (_raise_r): Likewise.
1135
 
1136
2000-09-13  Jeff Johnston  
1137
 
1138
        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
1139
        clipping patch from e-mail reader.
1140
 
1141
2000-09-13  Will Cohen  
1142
 
1143
        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
1144
        Added return value 0.
1145
        (_longjmp): Allow longjmp to return value of second argument
1146
        passed to it.
1147
 
1148
2000-09-06  Jeff Johnston 
1149
 
1150
        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
1151
        inline code to prevent having to include another header file.
1152
 
1153
Wed Sep  6 15:06:40 2000  Christopher Faylor 
1154
 
1155
        * Makefile.am: Fix space vs. tab problem in install-data-local.
1156
        * Makefile.in: Regenerate.
1157
 
1158
Wed Sep  6 13:49:51 2000  Christopher Faylor 
1159
 
1160
        * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
1161
        (_EXPARM): New macro for defining a function parameter.
1162
        * libc/include/stdlib.h: Use _EXPARM.
1163
        * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
1164
 
1165
2000-09-05  Manfred Hollstein  
1166
 
1167
        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
1168
        required, as documented in the gnu coding standards.
1169
        * Makefile.in: Regenerate.
1170
 
1171
2000-09-05  Jeff Johnston 
1172
 
1173
        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
1174
        make O_NDELAY and O_NONBLOCK have the same value.
1175
 
1176
2000-08-30  Kazu Hirata  
1177
 
1178
        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
1179
 
1180
2000-08-30  Werner Almesberger  
1181
 
1182
        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
1183
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
1184
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
1185
        everywhere else.
1186
 
1187
2000-08-30  Geoffrey Keating  
1188
 
1189
        * libc/string/swab.c: Specify that it's defined in .
1190
        * libc/include/string.h: Don't include ,
1191
        as it causes really bad namespace pollution.  Don't declare
1192
        swab(), it is properly declared in unistd.h.
1193
 
1194
2000-08-29  Werner Almesberger  
1195
 
1196
        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
1197
        (broken) support for non-existent /etc/passwd field "comment".
1198
 
1199
2000-08-27  Werner Almesberger  
1200
 
1201
        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
1202
        only if _DIRENT_HAVE_D_NAMLEN is defined.
1203
        (alphasort): aligned prototype with
1204
        libc/sys/cygwin/sys/dirent.h and simplified function body.
1205
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
1206
        long telldir (DIR *) as mentioned in annex B of POSIX.1
1207
 
1208
2000-08-27  Werner Almesberger  
1209
 
1210
        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
1211
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
1212
        Added __CLI and __STI macros (controlled via
1213
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
1214
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
1215
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
1216
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
1217
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
1218
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
1219
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
1220
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
1221
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
1222
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
1223
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
1224
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
1225
        for all global entry points.
1226
        * libc/machine/i386/setjmp.S: removed code replicated in
1227
        libc/machine/i386/i386mach.h and included i386mach.h instead;
1228
        Use __CLI and __STI instead of cli and sti.
1229
 
1230
2000-08-25  DJ Delorie  
1231
 
1232
        * libc/include/sys/unistd.h (environ): this one isn't from the
1233
        DLL, no __IMPORT
1234
 
1235
Fri Aug 25 13:37:11 2000  Christopher Faylor 
1236
 
1237
        * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
1238
        environ when compiling under cygwin since it is already declared in
1239
        unistd.h.
1240
 
1241
2000-08-23  Werner Almesberger  
1242
 
1243
        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
1244
        like  x << y-z  to the equivalent  x << (y-z).
1245
        (d2b): changed if statements with assignment to perform the
1246
        assignment prior to the if check.
1247
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
1248
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
1249
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
1250
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
1251
        precedence.
1252
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
1253
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
1254
        execve.c).
1255
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
1256
        precedence.
1257
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
1258
        clarify && and || precendence (and to remove pascalism).
1259
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
1260
        * libm/math/s_infconst.c: added another pair of braces to all
1261
        initializers for __infinity (need three: for __infinity[1] array,
1262
        for union __dmath, and for i[2]).
1263
 
1264
2000-08-23  Werner Almesberger  
1265
 
1266
        * libc/stdlib/abort.c: changed description: uses "raise" instead of
1267
        "getpid" and "kill"; added: uses "write" and "_exit".
1268
        Also included unistd.h for "_exit" prototype.
1269
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
1270
        reent.h for "_fork_r" and "_wait_r" prototypes.
1271
        (do_system): changed  extern char *environ[] to POSIX-friendly
1272
        extern char **environ.
1273
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
1274
        prototypes.
1275
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
1276
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
1277
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
1278
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
1279
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
1280
        unistd.h for "getpid" prototype.
1281
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
1282
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
1283
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
1284
        prototype.  Also included stdlib.h for "abort", string.h for
1285
        "strdup" and "strncmp" prototypes.
1286
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
1287
        "strncpy", unistd.h for "read" and "close" prototypes.
1288
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
1289
        "strcat" prototypes.
1290
 
1291
2000-08-23  Werner Almesberger  
1292
 
1293
        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
1294
        used later (ifdef __SCLE)
1295
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
1296
        used later (ifdef MB_CAPABLE)
1297
        * libc/string/memset.c (memset): removed unused variables "count"
1298
        and "unaligned_addr"
1299
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
1300
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
1301
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
1302
        and "gid"
1303
 
1304
2000-08-23  Werner Almesberger  
1305
 
1306
        * libc/stdlib/envlock.c: changed documented "__env_lock" and
1307
        "__env_unlock" prototype from "void *" or "char *" to
1308
        "struct _reent *" to match real function.  Also added include
1309
        of envlock.h.
1310
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
1311
        "__malloc_unlock" prototype from "void *" or "char *" to
1312
        "struct _reent *" to match real function.
1313
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
1314
        prototypes (for getenv_r.c and setenv_r.c).
1315
 
1316
2000-08-22  Werner Almesberger  
1317
 
1318
        * libc/unix/getut.c (utmpname): added _CONST to reflect common use
1319
        and prototype in cygwin's utmp.h
1320
 
1321
2000-08-16  Eric Fifer  
1322
 
1323
        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
1324
 
1325
2000-08-09  Nick Clifton  
1326
 
1327
        * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
1328
        epilogue and to allow the functions to be used in a Thumb based
1329
        toolchain.
1330
 
1331
2000-08-08  Jeff Johnston 
1332
 
1333
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
1334
        so size of 0 results in nothing being written to string.
1335
        Also fixed code so that when size is non-zero, there is only
1336
        a maximum of size - 1 characters written to the array and
1337
        a nul terminator is appended at the end.
1338
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1339
 
1340
2000-08-01  DJ Delorie  
1341
 
1342
        * libc/include/sys/config.h: define __IMPORT appropriately
1343
        * libc/include/ctype.h (_ctype_): use __IMPORT
1344
        * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
1345
        * libc/include/math.h (__mb_cur_max): ditto
1346
        * libc/include/time.h (_timezone, _daylight, _tzname): ditto
1347
        * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
1348
        * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
1349
        * libc/include/unistd.h (environ): ditto
1350
 
1351
2000-07-28  Michael Meissner  
1352
 
1353
        * libc/include/math.h (__infinity): Declare as an array without
1354
        bounds to get around small data support.  Rewrite Cygwin support
1355
        to be more general.
1356
        * libm/math/s_infconst.c (__infinity): Ditto.
1357
        * libm/mathfp/s_infconst.c (__infinity): Ditto.
1358
 
1359
Thu Jul 27 10:46:01 2000  Christopher Faylor 
1360
 
1361
        * libc/include/math.h: Use appropriate dll import linkage for
1362
        __infinity under Cygwin.
1363
 
1364
2000-07-13  DJ Delorie  
1365
 
1366
        * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
1367
 
1368
Wed Jun 28 14:08:00 2000  Keith Walker  
1369
 
1370
        * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
1371
        to argument list for AngelSWI_Reason_GetCmdLine.
1372
 
1373
Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  
1374
 
1375
        * configure.host: Add support for AVR target.
1376
        * libc/include/machine/ieeefp.h: Likewise.
1377
        * libc/include/sys/config.h: Likewise.
1378
 
1379
Thu Jun 22 18:35:00 2000  Ranjith Kumaran  
1380
 
1381
        * README: Newlib 1.8.2 must be built in a separate directory
1382
        than the sources.
1383
 
1384
Tue Jun 20 14:30:00 2000  Jeff Johnston  
1385
 
1386
        * libc/include/sys/reent.h (_rand_next): Added __extension__
1387
        qualifier as long long type is not strict ANSI.
1388
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
1389
        to long long constant.
1390
 
1391
Fri Jun 16 23:02:00 2000  Corinna Vinschen 
1392
 
1393
        * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
1394
        `setegid' provided by Cygwin.
1395
 
1396
Thu Jun 15  0:21:00 2000  Corinna Vinschen 
1397
 
1398
        * libc/stdio/fdopen.c: Take explicit given bin/textmode into
1399
        account for Cygwin.
1400
 
1401
Fri Jun  9 14:28:00 2000  Jeff Johnston  
1402
 
1403
        * libc/include/sys/reent.h (_rand_next): Changed to
1404
        unsigned long long and moved to end of _reent struct in _new union.
1405
        (_REENT_INIT): Changed to move _rand_next initialization.
1406
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
1407
        linear congruential algorithm that is used by DJGPP.
1408
 
1409
Thu Jun  8 21:18:00 2000  Ranjith Kumaran  
1410
 
1411
        * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
1412
        * libc/include/sys/config.h: Define __RAND_MAX.
1413
 
1414
Thu Jun  8 17:54:00 2000  Jeff Johnston  
1415
 
1416
        * libc/stdlib/rand_r.c: New algorithm that meets minimal
1417
        standard.
1418
 
1419
Fri Jun  2 23:02:11 2000  Christopher Faylor 
1420
 
1421
        * libc/include/string.h: Work around problem with strsignal and gdb.
1422
 
1423
Tue May 30 13:13:01 2000  Christopher Faylor 
1424
 
1425
        * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
1426
        * libc/include/malloc.h: Ditto.
1427
        * libc/include/process.h: Ditto.
1428
        * libc/include/stdio.h: Ditto.
1429
        * libc/include/stdlib.h: Ditto.
1430
        * libc/include/time.h: Ditto.
1431
        * libc/include/machine/setjmp.h: Ditto.
1432
        * libc/include/sys/errno.h: Ditto.
1433
        * libc/include/sys/signal.h: Ditto.
1434
        * libc/include/sys/stat.h: Ditto.
1435
        * libc/include/sys/time.h: Ditto.
1436
        * libc/include/sys/unistd.h: Ditto.
1437
        * libc/include/string.h: Ditto.  strsignal should return a const char *.
1438
 
1439
2000-05-26  Marek Michalkiewicz  
1440
 
1441
        * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
1442
        * libm/common/s_log1p.c (log1p): Likewise.
1443
        * libm/common/s_scalbn.c (scalbn): Likewise.
1444
        * libm/math/e_log.c: Likewise.
1445
        * libm/math/e_asin.c: Likewise.
1446
        * libm/math/ef_asin.c: Likewise.
1447
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
1448
        * libm/math/e_j1.c (pone, qone): Likewise.
1449
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
1450
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
1451
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
1452
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
1453
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
1454
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
1455
 
1456
2000-05-19  DJ Delorie  
1457
 
1458
        * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
1459
        (__sread): always read in binary mode
1460
        (__swrite): always write in binary mode
1461
        * libc/include/stdio.h: no getc/putc macros for cygwin; causes
1462
        compatibility issues with different dll versions
1463
        * libc/stdio/fopen.c: use __stextmode
1464
        * libc/stdio/fdopen.c: ditto
1465
        * libc/stdio/freopen.c: ditto
1466
        * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
1467
        * libc/stdio/local.h: declare __stextmode
1468
 
1469
2000-05-18  DJ Delorie  
1470
 
1471
        * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
1472
 
1473
Mon May 15 18:54:00 2000  Jeff Johnston  
1474
 
1475
        * libc/include/ctype.h: Changed tolower and toupper macros
1476
        to use __extension__ to prevent pedantic warnings.
1477
 
1478
Mon May 15 14:26:00 2000  Joel Sherrill  
1479
 
1480
        * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
1481
        structures.
1482
 
1483
Wed May 10 19:24:53 2000  Jim Wilson  
1484
 
1485
        * libc/include/machine/ieeefp.h: Add ia64 support.
1486
        * configure.host: Likewise.
1487
 
1488
Wed May 10 13:52:24 2000  Egor Duda 
1489
 
1490
        * libc/time/asctime_r.c (asctime_r): Change output format. Day of
1491
        month is now padded with space, not zero.  This now conforms to
1492
        ANSI standard.
1493
 
1494
Wed May 03 17:57:00 2000  Corinna Vinschen 
1495
 
1496
        * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
1497
        host or network path") used by cygwin. Add some comments.
1498
 
1499
Tue May 02 23:45:48 2000  DJ Delorie  
1500
 
1501
        * libc/include/stdio.h (FILE): define __SCLE for "convert line
1502
        endings" for Cygwin.
1503
        (__sgetc): convert line endings if needed
1504
        (__sputc): ditto
1505
        * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
1506
        * libc/stdio/fopen.c (_fopen_r): ditto
1507
        * libc/stdio/freopen.c (freopen): ditto
1508
        * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
1509
        * libc/stdio/fvwrite.c (__sfvwrite): ditto
1510
 
1511
Thu Apr 27 07:45:48 2000  Alexandre Oliva  
1512
 
1513
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
1514
        post-increment when it is worth it, spacewise.
1515
 
1516
Mon Apr 17 12:46:00 2000  Marek Michalkiewicz 
1517
 
1518
        * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
1519
        * libc/stdio/findfp.c (std): Added declaration of flags and file.
1520
        * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
1521
        return type.
1522
        * libc/stdio/putchar.c (putchar): Added return statement.
1523
        * libc/stdio/refill.c (lflush): Added correct parentheses.
1524
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1525
        * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
1526
        prints long value to use l qualifier.
1527
        * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
1528
        messages and initialized local values: ilim, ilim1, and spec_case.
1529
        * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
1530
        * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
1531
        * libc/stdlib/mprec.c: Ditto.
1532
        * libc/stdlib/setenv_r.c: Ditto.
1533
        * libc/stdlib/strtod.c: Ditto.
1534
        * libc/stdlib/strtol.c: Ditto.
1535
        * libc/stdlib/strtoul.c: Ditto.
1536
        * libm/common/sf_expm1.c: Added curly braces to if else clauses.
1537
        * libm/common/sf_log1p.c: Ditto.
1538
        * libm/common/sf_scalbn.c: Ditto.
1539
        * libm/math/ef_log.c: Ditto.
1540
 
1541
Sun Apr 16 12:45:00 2000  Corinna Vinschen 
1542
 
1543
        * libc/posix/execvp.c (execvp): Check path for
1544
        trailing slash.
1545
 
1546
Fri Mar 31 20:39:00 2000  Corinna Vinschen 
1547
 
1548
        * libc/include/sys/unistd.h: Add prototypes for
1549
        fchmod, fchown, lchown.
1550
 
1551
Fri Mar 24 15:34:00 2000  Jeff Johnston  
1552
 
1553
        * acinclude.m4: Changed release to 1.8.2.
1554
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
1555
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
1556
          libc/machine/configure libc/machine/a29k/aclocal.m4
1557
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1558
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1559
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1560
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1561
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
1562
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1563
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1564
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1565
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
1566
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1567
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
1568
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1569
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1570
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1571
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1572
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1573
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1574
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
1575
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1576
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
1577
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
1578
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
1579
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
1580
          libc/machine/z8k/configure libc/sys/aclocal.m4
1581
          libc/sys/aclocal.m4 libc/sys/configure
1582
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1583
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1584
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1585
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1586
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1587
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1588
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1589
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1590
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1591
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1592
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1593
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1594
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1595
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1596
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1597
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1598
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1599
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1600
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1601
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1602
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1603
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1604
          libm/aclocal.m4 libm/configure: Regenerated.
1605
 
1606
2000-03-24  Nick Clifton  
1607
 
1608
        * libc/sys/arm/syscalls.c: Fix compile time warnings.
1609
        (do_AngelSWI): Add "cc" to list o registers clobbered.
1610
 
1611
Thu Mar 22 14:57:00 2000  Fernando Nasser 
1612
 
1613
        * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
1614
        information to be clobbered by an Angel C library support syscall.
1615
 
1616
Tue Mar 21 19:08:00 2000  Jeff Johnston 
1617
 
1618
        * libc/stdlib/envlock.c: Fixed comment typo.
1619
 
1620
Fri Mar 17 15:37:00 2000  Jeff Johnston 
1621
 
1622
        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
1623
        code to update nread as each character is processed instead
1624
        of using buffer contents which throw away leading zeroes.
1625
 
1626
Mon Mar 13 15:22:00 2000  Sergei Organov 
1627
 
1628
        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
1629
 
1630
Fri Mar 10 16:09:20 2000  Jeff Johnston 
1631
 
1632
        * libc/include/string.h: Include .
1633
 
1634
Fri Mar 10 14:53:50 2000  Alexandre Oliva  
1635
 
1636
        * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
1637
        with XSH5, not SVID.
1638
 
1639
Thu Mar  9 17:20:41 2000  Jeff Johnston 
1640
 
1641
        * libc/include/string.h: Changed last argument back to ssize_t
1642
        to make it compatible with XPG4 definition which is
1643
        defined in .  There is a conflict in the SVID 3
1644
        and XPG4 definitions and newlib will settle with XPG4.
1645
        * libc/string/swab.c: Ditto.
1646
 
1647
Wed Mar  8 17:11:41 2000  Jeff Johnston 
1648
 
1649
        * libc/include/string.h: Changed last argument to size_t.
1650
        * libc/string/swab.c: Changed last argument to size_t.
1651
 
1652
Wed Mar  8 00:46:41 2000  Alexandre Oliva  
1653
 
1654
        * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
1655
        (CHEWOUT_FILES): Added unlinkr.def.
1656
        * libc/reent/Makefile.in: Rebuilt.
1657
        * libc/sys.tex: Include unlinkr.def.
1658
        * libc/reent/linkr.c (_unlink_r): Moved to...
1659
        * libc/reent/unlinkr.c: ... new file.
1660
 
1661
Wed Mar  8 00:43:07 2000  Alexandre Oliva  
1662
 
1663
        * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
1664
        (CHEWOUT_FILES): Added swab.def.
1665
        * libc/string/Makefile.in: Rebuilt.
1666
        * libc/string/string.tex: Include swab.def.
1667
        * libc/include/string.h (swab): Declare.
1668
        * libc/string/swab.c: New file.
1669
 
1670
Wed Mar  8 00:38:35 2000  Alexandre Oliva  
1671
 
1672
        * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
1673
        (CHEWOUT_FILES): Added getw.def and putw.def.
1674
        * libc/stdio/Makefile.in: Rebuilt.
1675
        * libc/stdio/stdio.tex: Include getw.def and putw.def.
1676
        * libc/stdio/getw.c: New file.
1677
        * libc/stdio/putw.c: New file.
1678
 
1679
Fri Feb 25 14:50:50 2000  Jeff Johnston 
1680
 
1681
        * libc/stdio/flags.c (__sflags): Added check that mode[1]
1682
        is non-null before looking at mode[2].
1683
 
1684
Thu Feb 24 11:43:00 2000  Ran Cabell 
1685
 
1686
        * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
1687
        * libm/mathfp/sf_atan.c: Ditto.
1688
 
1689
Thu Feb 24 11:39:00 2000  Joel Sherrill 
1690
 
1691
        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
1692
 
1693
Tue Feb 22 14:37:00 2000  Ran Cabell 
1694
 
1695
        * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
1696
        _DOUBLE_IS_32BITS.
1697
 
1698
Mon Feb 21 11:43:50 2000  Jeff Johnston 
1699
 
1700
        * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
1701
        call prior to calling _VFPRINTF_R so reentrant data area is set.
1702
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
1703
 
1704
Thu Feb 17 01:42:50 2000  J"orn Rennecke 
1705
 
1706
        * libc/stdio/vfscanf.c (limits.h): #include.
1707
        (MAX_LONG_LEN): #define.
1708
        (__svfscanf): Handle floating point numbers with arbitrary amounts
1709
        of leading zeroes.
1710
 
1711
2000-02-15  Nick Clifton  
1712
 
1713
        * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
1714
        zero.  Set the blocksize to 1024/
1715
 
1716
Thu Jan 20 18:57:00 2000  Fernando Nasser 
1717
 
1718
        * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
1719
        with line buffering.
1720
 
1721
Mon Jan 10 18:43:00 2000  Jeff Johnston 
1722
 
1723
        * acinclude.m4: Changed include directory for winsup headers.
1724
        * aclocal.m4 configure libc/aclocal.m4
1725
          libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
1726
          libc/locale/Makefile.in libc/machine/aclocal.m4
1727
          libc/machine/configure libc/machine/a29k/aclocal.m4
1728
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1729
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1730
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1731
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1732
          libc/machine/fr30/configure
1733
          libc/machine/h8300/aclocal.m4
1734
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1735
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1736
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1737
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
1738
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1739
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
1740
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1741
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1742
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1743
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1744
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1745
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1746
          libc/machine/powerpc/configure
1747
          libc/machine/sh/aclocal.m4
1748
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1749
          libc/machine/sparc/configure
1750
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1751
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1752
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1753
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1754
          libc/misc/Makefile.in libc/posix/Makefile.in
1755
          libc/reent/Makefile.in
1756
          libc/signal/Makefile.in
1757
          libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
1758
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1759
          libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
1760
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
1761
          libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
1762
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1763
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1764
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1765
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1766
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1767
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1768
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1769
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1770
          libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
1771
          libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
1772
          libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
1773
          libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
1774
          libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
1775
          libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
1776
          libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
1777
          libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
1778
          libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
1779
          libc/sys/tic80/configure libc/sys/w65/aclocal.m4
1780
          libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
1781
          libc/sys/z8ksim/configure libc/syscalls/Makefile.in
1782
          libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
1783
          libm/configure: Regenerated.
1784
 
1785
Mon Jan 10 18:43:46 2000  Jeff Johnston 
1786
 
1787
        * libc/stdlib/putenv_r.c (_putenv_r): New file.
1788
        * libc/stdlib/strdup_r.c (_strdup_r): New file.
1789
        * libc/include/string.h: Added _strdup_r.
1790
        * libc/stdlib/putenv.c: Added call to reentrant version.
1791
        * libc/stdlib/strdup.c: Ditto.
1792
        * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
1793
        * libc/include/stdlib.h: Ditto.
1794
        * libc/stdlib/Makefile.in: Regenerated.
1795
        * libc/string/Makefile.in: Regenerated.
1796
        * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
1797
        * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
1798
        management calls to reentrant versions.
1799
        * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
1800
        * libc/stdlib/wctomb.c: Ditto.
1801
        * libc/stdlib/mblen.c: Ditto.
1802
        * libc/stdlib/mbstowcs.c: Ditto.
1803
        * libc/stdlib/mbtowc.c: Ditto.
1804
        * libc/stdlib/getenv.c: Ditto.
1805
        * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
1806
        and _strdup_r.
1807
 
1808
Thu Jan  6 15:33:46 2000  Christopher Faylor 
1809
 
1810
        patch from Corinna Vinschen 
1811
        * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
1812
 
1813
Mon Jan 03 14:36:00 2000  Sergei Organov 
1814
 
1815
        * libm/mathfp/s_atangent.c: Fix exponent calculation.
1816
        * libm/mathfp/s_ldexp.c: Ditto.
1817
        * libm/mathfp/sf_atangent.c: Ditto.
1818
        * libm/mathfp/sf_ldexp.c: Ditto.
1819
 
1820
Tue Dec 14 5:42:00 1999  Ranjith Kumaran 
1821
 
1822
        * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
1823
        * libc/include/locale.h: define NULL to be 0.
1824
 
1825
Tue Dec  7 15:41:45 1999  Jim Wilson  
1826
 
1827
        * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
1828
        function.
1829
 
1830
Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
1831
 
1832
        * libc/machine/mn10300/setjmp.S: Handle am33.
1833
 
1834
1999-11-26  Nick Clifton  
1835
 
1836
        * libc/sys/arm/syscalls.c: Add function prototypes.
1837
        (stack_ptr): Move declaration before function definitions.
1838
 
1839
Sat Nov 20 17:13:00 1999  Ranjith Kumaran 
1840
 
1841
        * NEWS: Updated version information.
1842
        * README: Ditto.
1843
 
1844
Tue Nov 09 12:19:21 1999  Jeff Johnston 
1845
 
1846
        * libc/machine/i386/strchr.S: Fixed alignment test.
1847
 
1848
Thu Oct 28 05:30:46 1999  Andrew Cagney  
1849
 
1850
        * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
1851
 
1852
Thu Oct 28 15:29:11 1999  Andrew Cagney  
1853
 
1854
        * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
1855
        ensuring that there is space between the two.
1856
 
1857
Thu Oct 14 13:39:21 1999  Christopher Faylor 
1858
 
1859
        * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
1860
        only.
1861
 
1862
1999-10-08  Vadim Egorov  
1863
 
1864
        * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
1865
        section
1866
 
1867
Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius 
1868
 
1869
        * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
1870
        * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
1871
 
1872
Fri Oct  1 13:17:59 CDT 1999  
1873
        * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
1874
          per POSIX 1003.1b.
1875
        * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
1876
          per POSIX 1003.1b.
1877
 
1878
1999-09-13  DJ Delorie  
1879
 
1880
        * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
1881
        also.
1882
 
1883
Thu Sep  9 15:31:00 1999  Jeff Johnston 
1884
 
1885
        * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
1886
        also note BUFSIZ as its size.
1887
 
1888
Tue Sep  7 17:15:00 1999  Joel Sherrill 
1889
 
1890
        * configure.host: Corrected feature defines for RTEMS.
1891
        * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
1892
        * libc/include/sys/stat.h: mkfifo() should take const path arg.
1893
        * libc/include/sys/unistd.h: pathconf() should take const path arg.
1894
          Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
1895
          Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
1896
          _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
1897
          _PC_PRIO_IO, and _PC_SYNC_IO.
1898
        * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
1899
        * libc/machine/m68k/Makefile.in: Regenerated.
1900
        * libc/machine/m68k/strcpy.c: New file.
1901
        * libc/machine/m68k/strlen.c: New file.
1902
        * libc/stdio/tmpnam.c: Always make the returned name usable.
1903
        * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
1904
        * libc/sys/rtems/sys/dirent.h: New file.
1905
        * libc/sys/rtems/sys/types.h: Added dev_t.
1906
 
1907
Tue Sep  7 17:15:00 1999   Jay Kulpinski 
1908
 
1909
        * libc/stdlib/mprec.c: Fixed unitialized variable problem.
1910
 
1911
Fri Sep  3 12:35:20 1999  Jeff Johnston 
1912
 
1913
        * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
1914
        my patch.
1915
 
1916
Thu Sep  2 22:05:20 1999  Christopher Faylor 
1917
 
1918
        patch from Jeff Johnston 
1919
        * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
1920
        buffer is not in a useful state.
1921
 
1922
1999-09-01  Nick Clifton  
1923
 
1924
        * libc/sys/arm/syscalls.c (_link): Add stub.
1925
 
1926
Fri Aug 27 23:09:09 1999  J"orn Rennecke 
1927
 
1928
        * ftell.c (ftell): Use actual position within buffer for text mode.
1929
        * findfp.c (std): Initialize ptr->_bf._size.
1930
 
1931
Wed Aug 18 18:48:02 1999  Christopher Faylor 
1932
 
1933
        * libc/include/sys/unistd.h: Add nice() declaration.
1934
 
1935
1999-08-09  Nick Clifton  
1936
 
1937
        * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
1938
        declare as a thumb function so that the disassembler will see the
1939
        mode change.
1940
 
1941
Thu Aug  5 17:37:00 1999  Ranjith Kumaran 
1942
 
1943
        * libc/reent/reent.tex: Updated list of reentrant functions.
1944
 
1945
1999-07-09  Michael Meissner  
1946
 
1947
        * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
1948
 
1949
Tue Jul  6 10:46:24 1999  Jeff Johnston 
1950
 
1951
        * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
1952
        separate file.
1953
        * libc/stdio/snprintf.c: New file.
1954
        * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
1955
        separate file.
1956
        * libc/stdio/vsnprintf.c: New file.
1957
        * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
1958
        * libc/stdio/Makefile.in: Regenerated.
1959
 
1960
Mon Jul  5 14:43:24 1999  Christopher Faylor 
1961
 
1962
        Patch submitted by Egor Duda :
1963
        * libc/include/stdio.h: Add declarations for *nprintf.
1964
        * libc/stdio/sprintf.c (snprintf): New function.
1965
        (_snprintf_r): New function.
1966
        * libc/stdio/vsprintf.c (vsnprintf): New function.
1967
        (_vnsprintf_r): New function.
1968
 
1969
Wed Jun 30 16:36:27 1999  Jeff Johnston  
1970
 
1971
        * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
1972
        * libm/Makefile.am (stmp-targetdep): Ditto.
1973
        * libc/Makefile.in: Regenerated.
1974
        * libm/Makefile.in: Ditto.
1975
 
1976
Fri Jun 25 10:49:27 1999  Jeff Johnston  
1977
 
1978
        * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
1979
        * libm/Makefile.am (stmp-targetdep): Ditto.
1980
        * libc/Makefile.in: Regenerated.
1981
        * libm/Makefile.in: Ditto.
1982
 
1983
Thu June 03 16:25:00 1999  Jeff Johnston 
1984
 
1985
        * Makefile.am: Removed dependencies on all-recursive and added "."
1986
        to the SUBDIRS list to prevent infinite recursion from occurring.
1987
        Also removed any references to EXTRA_DATA.
1988
        * libc/Makefile.am: Ditto.
1989
        * libc/machine/Makefile.am: Ditto.
1990
        * libc/machine/i386/Makefile.am: Ditto.
1991
        * libm/Makefile.am: Ditto.
1992
        * libc/sys/Makefile.am: Ditto.
1993
        * Makefile.in: Regenerated.
1994
        * aclocal.m4: Ditto.
1995
        * configure: Ditto.
1996
        * doc/Makefile.in: Ditto.
1997
        * doc/aclocal.m4: Ditto.
1998
        * doc/configure: Ditto.
1999
        * libc/Makefile.in: Ditto.
2000
        * libc/aclocal.m4: Ditto.
2001
        * libc/configure: Ditto.
2002
        * libc/machine/Makefile.in: Ditto.
2003
        * libc/machine/aclocal.m4: Ditto.
2004
        * libc/machine/configure: Ditto.
2005
        * libc/machine/mn10300/Makefile.in: Ditto.
2006
        * libc/machine/mn10300/aclocal.m4: Ditto.
2007
        * libc/machine/mn10300/configure: Ditto.
2008
        * libc/sys/Makefile.in: Ditto.
2009
        * libc/sys/aclocal.m4: Ditto.
2010
        * libc/sys/configure: Ditto.
2011
        * libm/Makefile.in: Ditto.
2012
        * libm/aclocal.m4: Ditto.
2013
        * libm/configure: Ditto.
2014
 
2015
Thu June 03 16:20:00 1999  Ranjith Kumaran 
2016
 
2017
        * libc/include/stdlib/stdlib.tex: Add link to env_lock.
2018
 
2019
Fri May 28 17:09:00 1999  Ranjith Kumaran 
2020
 
2021
        * libc/include/stdlib.h: Add reentrant routines.
2022
        * libc/stdlib/Makefile.am: Add reentrant routines.
2023
        * libc/stdlib/Makefile.in: Ditto.
2024
        * libc/stdlib/envlock.c: New file.
2025
        * libc/stdlib/envlock.h: New file.
2026
        * libc/stdlib/getenv.c: Modify to call reentrant routine.
2027
        * libc/stdlib/getenv_r.c: New file.
2028
        * libc/stdlib/mblen.c: Modify to call reentrant routine.
2029
        * libc/stdlib/mblen_r.c: New file.
2030
        * libc/stdlib/setenv.c: Modify to call reentrant routine.
2031
        * libc/stdlib/setenv_r.c: New file.
2032
        * libc/stdlib/stdlib.tex: Add reentrant routines.
2033
 
2034
Mon May 17 22:01:38 1999  Christopher Faylor 
2035
 
2036
        * libc/include/sys/types.h: Define __MS_types__ whenever
2037
        cygwin or win32.
2038
 
2039
Sun May 16 16:02:41 1999  Christopher Faylor 
2040
 
2041
        * libc/include/machine/ieeefp.h: Always default to little
2042
        endian if Windows, regardless of architecture.
2043
        * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
2044
        regardless of architecture.
2045
 
2046
Mon May  3 11:49:18 1999  Geoffrey Noer  
2047
 
2048
        * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
2049
        _WIN32 isn't defined.
2050
 
2051
Mon May  3 11:41:51 1999  Jeff Johnston  
2052
 
2053
        * libm/common/s_rint.c (rint): Add volatile qualifier for
2054
        intermediate value w.
2055
        * libm/common/sf_rint.c (rintf): Ditto.
2056
 
2057
Thu Apr 29 20:34:27 1999  Jeff Johnston  
2058
 
2059
        * libc/sys/arm/syscalls.c (remap_handle): Added check to
2060
        ensure that std streams are initialized before being referenced.
2061
 
2062
1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
2063
 
2064
        * README: Update reference to newlib@cygnus.com new
2065
        newlib@sourceware.cygnus.com address.
2066
 
2067
Mon Apr 26 18:17:33 1999  Geoffrey Noer  
2068
 
2069
        * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
2070
        * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
2071
        defined, even if _WIN32 isn't defined.
2072
 
2073
Sat Apr 24 19:59:55 1999  Christopher Faylor 
2074
 
2075
        * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
2076
 
2077
Wed Apr 21 18:01:00 1999  Ranjith Kumaran  
2078
 
2079
        * libc/include/sys/reent.h: Change Long and ULong to __Long and
2080
        __ULong.
2081
        * libc/stdlib/dtoa.c: Ditto.
2082
        * libc/stdlib/mprec.c: Ditto.
2083
        * libc/stdlib/mprec.h: Ditto.
2084
        * libc/stdlib/strtod.c: Ditto.
2085
 
2086
1999-04-21  Nick Clifton  
2087
 
2088
        * configure.host (mcore): Remove mcore machine directory.
2089
 
2090
1999-04-18  Nick Clifton  
2091
 
2092
        * libc/include/machine/ieeefp.h: Add support for mcore target.
2093
        * libc/include/machine/setjmp.h: Add support for mcore target.
2094
        * configure.host: Add support for mcore target.
2095
 
2096
1999-04-13  Mark Salter  
2097
 
2098
        * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
2099
        * libc/sys/arm/syscalls.c: Added isatty.
2100
 
2101
Wed Apr 07 16:06:04 1999  Jeff Johnston  
2102
 
2103
        * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
2104
        insert zeroes after significant digits.
2105
 
2106
Wed Mar 17 22:06:04 1999  Jeff Johnston  
2107
 
2108
        * libc/stdio/vfprintf.c (cvt): Changed floating point
2109
        cvt routine to use union used by dtoa to properly determine
2110
        if the sign bit is on or not.
2111
        * libc/stdio/vfieeefp.h: New file
2112
 
2113
Wed Mar 17 17:35:04 1999  Jeff Johnston  
2114
 
2115
        * aclocal.m4: Regenerated.
2116
        * configure: Regenerated.
2117
 
2118
Wed Mar 17 16:35:04 1999  Jeff Johnston  
2119
 
2120
        * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
2121
        f_tanf reference.
2122
        * libc/machine/i386/Makefile.in: Regenerated.
2123
 
2124
Tue Mar 16 14:56:36 1999  Jeff Johnston  
2125
 
2126
        * acinclude.m4: Changed to work with new automake.
2127
        * configure: Regenerated.
2128
        * libc/machine/i386/aclocal.m4: Regenerated.
2129
        * libc/machine/i386/configure: Regenerated.
2130
 
2131
Tue Mar 16 13:55:36 1999  Corinna Vinschen  
2132
 
2133
        * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
2134
        for telldir() and seekdir().  Rename unused structure element
2135
        for use with these two routines.
2136
 
2137
Fri Mar 12 19:11:58 1999  Jeff Johnston  
2138
 
2139
        * libc/time/mktime.c (validate_structure): Multiple fixes to
2140
        code to handle cases where input fields are outside valid ranges.
2141
        * libc/stdlib/div.c (div): Modified invalid rounding check.
2142
        * libc/stdlib/ldiv.c (ldiv): Ditto.
2143
 
2144
Thu Mar 11 21:32:13 1999  Jeff Johnston  
2145
 
2146
        * libc/machine/i386/memcpy.S: Performance rewrite.
2147
        * libc/machine/i386/memmove.S: Ditto.
2148
        * libc/machine/i386/i386mach.h: Added more register definitions.
2149
        * libc/include/math.h: Include  if -ffast-math
2150
        option used.
2151
        * libc/include/machine/fastmath.h: Add definitions for x86
2152
        fast-math routines.
2153
 
2154
Wed Mar 10 17:56:00 1999 Ranjith Kumaran  
2155
 
2156
        * libc/stdlib/strtod.c: Change from unsigned long to ULong.
2157
 
2158
Tue Mar  9 14:31:58 1999  Geoffrey Noer  
2159
 
2160
        Adjust newlib headers for new Cygwin Win32 API header files:
2161
        * libc/include/sys/time.h: Check _WINSOCK_H rather than
2162
        _GNU_H_WINDOWS32_SOCKETS.
2163
        * libc/include/sys/types.h: Ditto.
2164
 
2165
Tue Mar 09 15:55:00 1999 Ranjith Kumaran  
2166
 
2167
        *include/sys/reent.h: Add checks for size of Bigint element Long.
2168
        *libc/dtoa.c: Change routines to use generic Long type.
2169
        *libc/mprec.c: Change routines to use generic Long type.
2170
        *libc/mprec.h: Change routines to use generic Long type.
2171
 
2172
Tue Mar 02 18:07:49 1999 Ranjith Kumaran  
2173
 
2174
        * libc/Makefile.am: Add .def files.
2175
        * libc/Makefile.in: Regenerate.
2176
        * libc/e_acosh.c: Documentation update.
2177
        * libc/e_atanh.c: Documentation update.
2178
        * libc/e_hypot.c: Documentation update.
2179
        * libc/e_remainder.c: Documentation update.
2180
        * libc/er_lgamma.c: Documentation update.
2181
        * libc/mathfp.tex: Documentation update.
2182
        * libc/s_acos.c: Documentation update.
2183
        * libc/s_atan.c: Documentation update.
2184
        * libc/s_atan2.c: Documentation update.
2185
        * libc/s_cosh.c: Documentation update.
2186
        * libc/s_fmod.c: Documentation update.
2187
        * libc/s_isnan.c: Documentation update.
2188
        * libc/s_log10.c: Documentation update.
2189
        * libc/s_pow.c: Documentation update.
2190
        * libc/w_jn.c: Documentation update.
2191
 
2192
Sun Feb 28 23:18:49 1999  Geoffrey Noer  
2193
 
2194
        * aclocal.m4: Regenerate.
2195
        * configure: Regenerate.
2196
 
2197
Tue Feb 23 13:57:26 1999  Jeff Johnston  
2198
 
2199
        * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
2200
        to return 1 if user specified return code is 0.
2201
        * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
2202
 
2203
Thu Feb 18 11:13:28 1999  Jeff Johnston  
2204
 
2205
        * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
2206
        to save the return address.  Fixed longjmp to return to the original
2207
        calling address of setjmp and to return the user specified return code
2208
        rather than default to 1.
2209
        * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
2210
 
2211
Mon Feb 15 17:48:17 1999  Jeff Johnston  
2212
 
2213
        * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
2214
 
2215
1999-02-10  Nick Clifton  
2216
 
2217
        * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
2218
        volatile so that its assignments will not be discarded.
2219
 
2220
Wed Feb 10 17:19:40 1999  Jeff Johnston  
2221
 
2222
        * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
2223
        be __STRICT_ANSI__ which is generated by compiler.
2224
        * libc/include/ctype.h: Ditto.
2225
        * libc/include/math.h: Ditto.
2226
        * libc/include/stdio.h: Ditto.
2227
        * libc/include/stdlib.h: Ditto.
2228
        * libc/include/string.h: Ditto.
2229
        * libc/include/sys/signal.h: Ditto.
2230
 
2231
1999-02-08  Nick Clifton  
2232
 
2233
        * configure.host: Add support for StrongARM target.
2234
 
2235
Fri Feb  5 11:13:14 1999  Jeff Johnston  
2236
 
2237
        * libc/string/strncpy.c (strncpy): Removed redundant code
2238
        that was copying bytes if data unaligned.
2239
 
2240
1999-02-02  Brendan Kehoe  
2241
 
2242
        * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
2243
        mbstowcs.def, and wcstombs.def.
2244
 
2245
Sat Jan 30 02:36:33 1999  Christopher Faylor 
2246
 
2247
        * libc/include/sys/errno.h: Add Cygwin errno.
2248
        * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
2249
        is specified.
2250
 
2251
1999-01-29  Nick Clifton  
2252
 
2253
        * libc/sys/arm/syscalls.c: Move C library functions into seperate
2254
        file.
2255
 
2256
        * libc/sys/arm/libcfunc.c: New file containing C library functions
2257
        from syscalls.c
2258
 
2259
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
2260
        * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
2261
 
2262
 
2263
1999-01-27  Michael Meissner  
2264
 
2265
        * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
2266
        type, and cut size in half so that the jmp_buf array is guaranteed
2267
        to be aligned on a 64-bit boundary.
2268
 
2269
Mon Jan 25 12:05:38 1999  Jeff Johnston  
2270
 
2271
        * libc/string/strings.tex: Added information about
2272
        strcasecmp and strncasecmp.
2273
        * libc/stdlib/stdlib.tex: Added missing information
2274
        about mblen, mbstowcs, and wcstombs.
2275
        * libc/string/strchr.c: Changed how mask is built to use
2276
        shift operators so register will be used instead of storage.
2277
 
2278
1999-01-22  DJ Delorie  
2279
 
2280
        * libc/include/stdlib.h: don't use dllimport if we're building
2281
        newlib, since it's inside cygwin.dll
2282
 
2283
Fri Jan 22 14:57:18 1999  Christopher Faylor 
2284
 
2285
        * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
2286
        _ctype_ under cygwin.
2287
 
2288
Fri Jan 22 09:50:19 1999  Christopher Faylor 
2289
 
2290
        * include/stdlib.h: Fix typo from previous checkin.
2291
 
2292
Thu Jan 21 22:42:21 1999  Christopher Faylor 
2293
 
2294
        * include/ctype.h: Use __declspec(dllimport) method for exporting
2295
        variable from cygwin DLL.
2296
        * include/time.h: Ditto.
2297
        * sys/errno.h: Ditto.
2298
        * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
2299
        * libc/locale/locale.c: Use __declspec(dllexport) method for
2300
        exporting variable from cygwin DLL.
2301
 
2302
Sat Jan 16 13:29:54 1999  Christopher Faylor 
2303
 
2304
        * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
2305
        access of bogus pointer will result in SIGSEGV.
2306
 
2307
1999-01-07  Nick Clifton  
2308
 
2309
        * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
2310
        of an underscore prefix to function names.
2311
 
2312
Fri Jan  8 19:00:07 1999  Jeff Johnston  
2313
 
2314
        * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
2315
        define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
2316
 
2317
1998-12-31  Michael Meissner  
2318
 
2319
        * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
2320
        to `%' if not already defined.
2321
 
2322
1998-12-30  Michael Meissner  
2323
 
2324
        * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
2325
        arguments const char *, not char *.
2326
        * libc/include/stdio.h (_tempnam_r): Ditto.
2327
 
2328
        * libc/include/sys/reent.h (struct _reent): The _sig_func type
2329
        points to a function taking an integer, not void.
2330
 
2331
Tue Dec 29 14:35:53 1998  Christopher Faylor 
2332
 
2333
        * configure.host: Add a define for Cygwin builds.
2334
        * libc/include/ctype.h: Don't use dll imported variables in newlib.
2335
 
2336
Mon Dec 28 09:19:56 1998  Christopher Faylor 
2337
 
2338
        * libc/include/ctype.h: Define _ctype_ as dll imported variable
2339
        for use with Cygwin.
2340
        * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
2341
        dll imported variables for use with Cygwin.
2342
        * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
2343
        as a dll imported variable for Cygwin.
2344
 
2345
Sat Dec 26 00:13:53 1998  Christopher Faylor 
2346
 
2347
        * libc/include/sys/unistd.h: Add proto for getpass.
2348
 
2349
Fri Dec 18 19:28:19 1998  Geoffrey Noer  
2350
 
2351
        * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
2352
        alphasort.
2353
 
2354
Fri Dec 18 16:33:25 1998  Geoffrey Noer  
2355
 
2356
        * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
2357
        not posix_path_list_p.
2358
 
2359
1998-12-15  Nick Clifton  
2360
 
2361
        * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
2362
        a signed int.
2363
 
2364
1998-12-13  Nick Clifton  
2365
 
2366
        * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
2367
 
2368
1998-12-12  Nick Clifton  
2369
 
2370
        * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
2371
        
2372
        * libc/machine/fr30/Makefile.am: Add build of setjmp.S
2373
        * libc/machine/fr30/Makefile.in: Regenerated.
2374
 
2375
1998-12-11  Nick Clifton  
2376
 
2377
        * configure.host: Remove use of libc/sys for FR30 port.
2378
        * libc/sys/fr30: Remove directory (replaced by libgloss).
2379
 
2380
1998-12-10  Ken Raeburn  
2381
 
2382
        * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
2383
        * libc/string/strncat.c (ALIGNED): Ditto.
2384
 
2385
Wed Dec  9 14:37:57 1998  Geoffrey Noer  
2386
 
2387
        * libc/include/sys/time.h: include sys/types.h
2388
 
2389
Tue Dec  8 15:53:18 1998  Jeff Johnston  
2390
 
2391
        * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
2392
        comparison found when checking word at a time.
2393
 
2394
1998-12-04  Nick Clifton  
2395
 
2396
        * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
2397
 
2398
1998-12-03  Nick Clifton  
2399
 
2400
        * libc/sys/fr30/syscalls.c (_times): New function stub.
2401
 
2402
Thu Dec  3 15:59:19 1998  Jeff Johnston  
2403
 
2404
        * configure.host (mach_add_setjmp): Replaced mach_add_objs
2405
        with mach_add_setjmp flag which indicates if setjmp should
2406
        be added to the machine directory objects.
2407
        * acinclude.m4: Removed reference to mach_add_objs.
2408
        * aclocal.m4: Regenerated.
2409
        * Makefile.in: Regenerated.
2410
        * configure: Regenerated.
2411
        * libc/aclocal.m4: Regenerated.
2412
        * libc/Makefile.in: Regenerated.
2413
        * libc/configure: Regenerated.
2414
        * libc/machine/aclocal.m4: Regenerated.
2415
        * libc/machine/Makefile.in: Regenerated.
2416
        * libc/machine/configure: Regenerated.
2417
        * libc/machine/i386/aclocal.m4: Regenerated.
2418
        * libc/machine/i386/Makefile.am: Altered to selectively add
2419
        setjmp.S to the src files list.
2420
        * libc/machine/i386/Makefile.in: Regenerated.
2421
        * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
2422
        * libc/machine/i386/configure: Regenerated.
2423
 
2424
1998-12-02  Nick Clifton  
2425
 
2426
        * libc/sys/fr30/crt0.s (_start): Fix function names.
2427
 
2428
        * libc/machine/fr30: New directory
2429
        * libc/machine/fr30/Makefile.am: New file.
2430
        * libc/machine/fr30/Makefile.in: New generated file.
2431
        * libc/machine/fr30/configure.in: New file.
2432
        * libc/machine/fr30/configure: New generated file.
2433
        * libc/machine/fr30/aclocal.m4: New generated file.
2434
        * libc/sys/fr30/Makefile.am: New file.
2435
        * libc/sys/fr30/Makefile.in: New generated file.
2436
        * libc/sys/fr30/configure.in: New file.
2437
        * libc/sys/fr30/configure: New generated file.
2438
        * libc/sys/fr30/syscalls.c: New file.
2439
 
2440
Tue Dec  1 16:28:56 1998  Geoffrey Noer  
2441
 
2442
        * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
2443
 
2444
1998-12-01  Ken Raeburn  
2445
 
2446
        * libc/time/strftime.c (strftime): Also handle %y for years before
2447
        1900.
2448
 
2449
Tue Dec  1 13:26:07 1998  Christopher Faylor 
2450
 
2451
        * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
2452
        UNIX convention.  Perform tolower on characters before comparing
2453
        them rather than use toupper.
2454
        * libc/string/strncasecmp.c (strncasecmp): Ditto.
2455
 
2456
Mon Nov 30 16:24:19 1998  Jeff Johnston  
2457
 
2458
        * configure.host: Added using i386 machine directory
2459
        for all x86 cross-compiler and configuring
2460
        which added object files to use via new "mach_add_objs" variable.
2461
        * configure: Regenerated.
2462
        * libc/configure: Regenerated.
2463
        * libc/Makefile.in: Regenerated.
2464
        * libc/aclocal.m4: Regenerated.
2465
        * libc/ctype/Makefile.in: Regenerated.
2466
        * libc/errno/Makefile.in: Regenerated.
2467
        * libc/locale/Makefile.in: Regenerated.
2468
        * libc/machine/Makefile.in: Regenerated.
2469
        * libc/machine/aclocal.m4: Regenerated.
2470
        * libc/machine/configure: Regenerated.
2471
        * libc/posix/Makefile.in: Regenerated.
2472
        * libc/reent/Makefile.in: Regenerated.
2473
        * libc/signal/Makefile.in: Regenerated.
2474
        * libc/stdio/Makefile.in: Regenerated.
2475
        * libc/stdlib/Makefile.in: Regenerated.
2476
        * libc/string/Makefile.in: Regenerated.
2477
        * libc/string/memmove.c: Optimized code to use memcpy
2478
        logic when performing a non-destructive copy.
2479
        * libc/string/strncmp.c: Altered code to allow building
2480
        optimized for size or speed.
2481
        * libc/syscalls/Makefile.in: Regenerated.
2482
        * libc/time/Makefile.in: Regenerated.
2483
        * libc/unix/Makefile.in: Regenerated.
2484
        * libc/machine/i386/Makefile.am: Added new files and reference
2485
        to "mach_add_objs" to indicate optional object files.
2486
        * libc/machine/i386/Makefile.in: Regenerated.
2487
        * libc/machine/i386/aclocal.m4: Regenerated.
2488
        * libc/machine/i386/configure: Regenerated.
2489
        * libc/machine/i386/memchr.S: New file that implements
2490
        function in Intel assembler.
2491
        * libc/machine/i386/memcmp.S: ditto.
2492
        * libc/machine/i386/memcpy.S: ditto.
2493
        * libc/machine/i386/memmove.S: ditto.
2494
        * libc/machine/i386/memset.S: ditto.
2495
        * libc/machine/i386/strchr.S: ditto.
2496
        * libc/machine/i386/strlen.S: ditto.
2497
        * libc/machine/i386/f_atan2.S: New file that implements
2498
        fast version of math function to be used by compiler when
2499
        --ffast_math compile option is used.
2500
        * libc/machine/i386/f_atan2f.S: ditto.
2501
        * libc/machine/i386/f_exp.c: ditto.
2502
        * libc/machine/i386/f_expf.c: ditto.
2503
        * libc/machine/i386/f_frexp.S: ditto.
2504
        * libc/machine/i386/f_frexpf.S: ditto.
2505
        * libc/machine/i386/f_ldexp.S: ditto.
2506
        * libc/machine/i386/f_ldexpf.S: ditto.
2507
        * libc/machine/i386/f_log.S: ditto.
2508
        * libc/machine/i386/f_logf.S: ditto.
2509
        * libc/machine/i386/f_log10.S: ditto.
2510
        * libc/machine/i386/f_log10f.S: ditto.
2511
        * libc/machine/i386/f_math.h: New file.
2512
        * libc/machine/i386/f_pow.c: ditto.
2513
        * libc/machine/i386/f_powf.S: ditto.
2514
        * libc/machine/i386/f_tan.S: ditto.
2515
        * libc/machine/i386/f_tan.S: ditto.
2516
        * libc/machine/i386/i386mach.h: New file.
2517
 
2518
Mon Nov 30 13:02:17 1998  Christopher Faylor 
2519
 
2520
        patch from Mumit Khan 
2521
        * libc/include/stdio.h (tempnam): Add prototype.
2522
        * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
2523
        (tempnam): Adhere to prototype.
2524
 
2525
Thu Nov 26 00:21:32 1998  Christopher Faylor 
2526
 
2527
        * Makefile.am: Add default for AR_FLAGS.
2528
        * Makefile.in: Regenerate.
2529
 
2530
Tue Nov 24 18:48:56 1998  Geoffrey Noer  
2531
 
2532
        * libc/include/time.h: move __cplusplus wrapper after includes
2533
        * libc/include/sys/time.h: ditto.  If Cygwin, include
2534
        sys/select.h.
2535
        * libc/include/sys/types.h: lose "32" in comment about Cygwin.
2536
 
2537
1998-11-23  Ken Raeburn  
2538
 
2539
        * libc/time/strftime.c (strftime): Handle %y after year 2000.
2540
 
2541
Wed Nov 18 12:22:41 1998  Nick Clifton  
2542
 
2543
        * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
2544
        abnormnal end-of-crt0 marker.
2545
 
2546
Tue Nov 17 16:27:58 1998  Nick Clifton  
2547
 
2548
        * libc/sys/fr30/crt0.s: New file/directory.
2549
        * libc/include/machine/setjmp.h: Add FR30 target.
2550
        * libc/include/machine/ieeefp.h: Add FR30 target.
2551
        * configure.host: Add FR30 target.
2552
 
2553
Mon Nov  16 23:15:00 1998  Ranjith Kumaran 
2554
 
2555
        * libm/math: Files that are duplicated in common directory removed.
2556
        * libm/math/fdlibm.h: Removed.
2557
        * libm/math/s_cbrt.c: Removed.
2558
        * libm/math/s_copysign.c: Removed.
2559
        * libm/math/s_expm1.c: Removed.
2560
        * libm/math/s_finite.c: Removed.
2561
        * libm/math/s_ilogb.c: Removed.
2562
        * libm/math/s_infinity.c: Removed.
2563
        * libm/math/s_lib_ver.c: Removed.
2564
        * libm/math/s_log1p.c: Removed.
2565
        * libm/math/s_logb.c: Removed.
2566
        * libm/math/s_matherr.c: Removed.
2567
        * libm/math/s_modf.c: Removed.
2568
        * libm/math/s_nan.c: Removed.
2569
        * libm/math/s_nextafter.c: Removed.
2570
        * libm/math/s_rint.c: Removed.
2571
        * libm/math/s_scalbn.c: Removed.
2572
        * libm/math/sf_cbrt.c: Removed.
2573
        * libm/math/sf_copysign.c: Removed.
2574
        * libm/math/sf_expm1.c: Removed.
2575
        * libm/math/sf_finite.c: Removed.
2576
        * libm/math/sf_ilogb.c: Removed.
2577
        * libm/math/sf_infinity.c: Removed.
2578
        * libm/math/sf_log1p.c: Removed.
2579
        * libm/math/sf_logb.c: Removed.
2580
        * libm/math/sf_modf.c: Removed.
2581
        * libm/math/sf_nan.c: Removed.
2582
        * libm/math/sf_nextafter.c: Removed.
2583
        * libm/math/sf_rint.c: Removed.
2584
        * libm/math/sf_scalbn.c: Removed.
2585
        * libm/math/Makefile.am: Removed references to deleted files (above).
2586
        * libm/math/Makefile.in: Regenerated.
2587
        * libm/Makefile.am: Added common directory to math.
2588
        * libm/Makefile.in: Regenerated.
2589
 
2590
Mon Nov  2 23:12:00 1998  Ranjith Kumaran 
2591
 
2592
        * libm/mathfp: Add non-ANSI functions.
2593
        * libm/mathfp/e_acosh.c acosh(): New file.
2594
        * libm/mathfp/e_atanh.c atanh(): New file.
2595
        * libm/mathfp/e_hypot.c hypot(): New file.
2596
        * libm/mathfp/e_j0.c j0(): New file.
2597
        * libm/mathfp/e_j1.c j1(): New file.
2598
        * libm/mathfp/e_remainder.c remainder(): New file.
2599
        * libm/mathfp/e_scalb.c scalb(): New file.
2600
        * libm/mathfp/ef_acosh.c acoshf(): New file.
2601
        * libm/mathfp/ef_atanh.c atanhf(): New file.
2602
        * libm/mathfp/ef_hypot.c hypotf(): New file.
2603
        * libm/mathfp/ef_j0.c j0f(): New file.
2604
        * libm/mathfp/ef_j1.c j1f(): New file.
2605
        * libm/mathfp/ef_remainder.c remainderf(): New file.
2606
        * libm/mathfp/ef_scalb.c scalbf(): New file.
2607
        * libm/mathfp/er_gamma.c gamma_r: New file.
2608
        * libm/mathfp/er_lgamma.c lgamma_r(): New file.
2609
        * libm/mathfp/erf_gamma.c gamma_rf(): New file.
2610
        * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
2611
        * libm/mathfp/w_cabs.c cabs(): New file.
2612
        * libm/mathfp/w_drem.c drem(): New file.
2613
        * libm/mathfp/w_jn.c jn(): New file.
2614
        * libm/mathfp/wf_cabs.c cabsf(): New file.
2615
        * libm/mathfp/wf_drem.c dremf(): New file.
2616
        * libm/mathfp/wf_jn.c jnf(): New file.
2617
 
2618
Mon Nov  2 16:43:18 1998  Geoffrey Noer  
2619
 
2620
        * libc/sys/cygwin32: remove directory and contents
2621
        * libc/sys/cygwin: and add back, losing the "32".
2622
        * configure.host: check for cygwin* instead of cygwin32.
2623
        * acinclude.m4: ditto.
2624
        * aclocal.m4: regenerate with aclocal
2625
        * configure: regenerate with autoconf
2626
 
2627
Tue Oct 20 17:28:28 1998  Geoffrey Noer  
2628
 
2629
        * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
2630
        for length
2631
 
2632
Tue Oct 20 18:49:05 1998  Jeff Johnston  
2633
 
2634
        * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
2635
        _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
2636
        to make rand/srand, strtok, asctime, localtime, w_gamma,
2637
        w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
2638
        time.h to bring in struct tm definition.
2639
        * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
2640
        '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
2641
        * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
2642
        instead of static variable.
2643
        * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
2644
        struct reent instead of static variable.
2645
        * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
2646
        struct reent instead of static variable.
2647
        * libm/math/Makefile.am: Removed s_signgam.o.
2648
        * libm/math/Makefile.in: Regenerated.
2649
        * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
2650
        struct reent instead of global variable 'signgam'.
2651
        * libm/math/w_lgamma.c (lgamma): Likewise.
2652
        * libm/math/wf_gamma.c (gammaf): Likewise.
2653
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
2654
        * libm/math/s_signgam.c: Removed.
2655
        * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
2656
        to be const.
2657
        * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
2658
        to be const.
2659
        * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
2660
        libc/include/reent.h.
2661
        * libc/reent/Makefile.in: Regenerated.
2662
        * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
2663
        to be const.
2664
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
2665
        'JIS_action_table' to be const.
2666
        * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
2667
 
2668
Mon Oct 12 00:26:33 1998  Christopher Faylor 
2669
 
2670
        * acinclude.m4:  $with_target_subdir should default to '.'
2671
        or confusion results when configuring in same directory as sources.
2672
        * Regenerate all aclocal.m4 and configure files.
2673
 
2674
Fri Oct  9 16:27:36 1998  Jeff Johnston  
2675
 
2676
        * libc/stdlib/mallocr.c: Added 16 byte alignment support which
2677
        can be set by defining MALLOC_ALIGNMENT=16.  Also added support
2678
        for platforms where sizeof(size_t) < sizeof(long) via
2679
        SIZE_T_SMALLER_THAN_LONG macro.
2680
 
2681
Wed Oct  7 14:02:40 1998  Jeff Johnston  
2682
 
2683
        * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
2684
        to refer to _CLOCKS_PER_SEC_ and added including 
2685
        which sets _CLOCKS_PER_SEC_ for selected machines.
2686
        * libc/include/machine/time.h: New file.
2687
 
2688
Tue Oct  6 16:08:05 1998  Jeff Johnston  
2689
 
2690
        * libc/syscalls/sysexecve.c: New file.
2691
        * libc/syscalls/sysgettod.c: New file.
2692
        * libc/syscalls/systimes.c: New file.
2693
        * libc/syscalls/Makefile.am: Added new objects.
2694
        * libc/syscalls/Makefile.in: Regenerated.
2695
        * libc/include/_syslist.h (_execve): Moved define in file.
2696
        * libc/include/reent.h:  Added _execve_r declaration.
2697
        * libc/Makefile.in: Regenerated.
2698
        * libc/ctype/Makefile.in: Regenerated.
2699
        * libc/errno/Makefile.in: Regenerated.
2700
        * libc/locale/Makefile.in: Regenerated.
2701
        * libc/machine/Makefile.in: Regenerated.
2702
        * libc/misc/Makefile.in: Regenerated.
2703
        * libc/posix/Makefile.in: Regenerated.
2704
        * libc/reent/Makefile.in: Regenerated.
2705
        * libc/reent/execr.c (_execve_r): Added _execve_r function.
2706
        * libc/signal/Makefile.in: Regenerated.
2707
        * libc/stdio/Makefile.in: Regenerated.
2708
        * libc/time/Makefile.in: Regenerated.
2709
        * libc/unix/Makefile.in: Regenerated.
2710
        * libm/mathfp/Makefile.in: Regenerated.
2711
 
2712
Tue Oct  6 14:14:05 1998  Jeff Johnston  
2713
 
2714
        * libc/string/Makefile.in: Regenerated.
2715
        * libc/string/memchr.c (memchr): Moved code to reduce object size.
2716
        * libc/string/memcpy.c (memcpy): Ditto.
2717
        * libc/string/memcmp.c (memcmp): Ditto.
2718
        * libc/string/memset.c (memset): Ditto.
2719
        * libc/string/strchr.c (strchr): Ditto.
2720
        * libc/string/strcmp.c (strcmp): Ditto.
2721
        * libc/string/strcpy.c (strcpy): Ditto.
2722
        * libc/string/strlen.c (strlen): Ditto.
2723
 
2724
Tue Oct  6 13:58:05 1998  Jeff Johnston  
2725
 
2726
        * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
2727
        to generate aclocal.m4.
2728
        * libm/Makefile.in: Regenerated.
2729
        * libm/aclocal.m4: Regenerated.
2730
        * libm/configure: Regenerated.
2731
        * libm/math/Makefile.in: Regenerated.
2732
        * libm/mathfp/Makefile.in: Regenerated.
2733
 
2734
1998-09-25  Mark Salter  
2735
 
2736
        * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
2737
        by adding leading and trailing underscores to symbol names.
2738
 
2739
Tue Sep 22 15:33:41 1998  Christopher Faylor 
2740
 
2741
        * Makefile.in: Add default for AR_FLAGS.
2742
 
2743
Tue Sep 22 15:02:49 1998  Christopher Faylor 
2744
 
2745
        patch from ian@airs.com (Ian Taylor):
2746
        * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
2747
        NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
2748
        is needed for detecting the build machine.  Required for
2749
        cygwin native builds.
2750
 
2751
        * Regenerate all aclocal.m4 and configure files.
2752
 
2753
Mon Sep 21 14:44:16 1998  Nick Clifton  
2754
 
2755
        * libc/sys/arm/crt0.S: Prepend a period to all local labels that
2756
        used to start with LC.
2757
 
2758
Thu Sep 17 18:18:11 1998  J"orn Rennecke 
2759
 
2760
        * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
2761
        (longjmp): Likewise.
2762
 
2763
Thu Sep 17 16:25:33 1998  J"orn Rennecke 
2764
 
2765
        * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
2766
        the test for small number of bytes.
2767
 
2768
Thu Sep 10 11:40:00 1998  Ranjith Kumaran 
2769
 
2770
        * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
2771
        math library that uses floating point algorithms instead of the old
2772
        libm.
2773
        * Makefile.in: Regenerate with automake version 1.3b.
2774
        * configure: Rebuild.
2775
        * libm/Makefile.in: Regenerate with automake version 1.3b.
2776
        * libm/aclocal.m4: Regenerate.
2777
        * libm/configure: Rebuild.
2778
        * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
2779
        * libm/acinclude.m4: Define macros for configure.in.
2780
        * libm/config.h.in: Generate.
2781
        * libm/mathfp/Makefile.am: New file.
2782
        * libm/mathfp/Makefile.in: Generate.
2783
        * libm/mathfp/s_acos.c (acos): New file.
2784
        * libm/mathfp/s_asin.c (asin): New file.
2785
        * libm/mathfp/s_asine.c (asine): New file.
2786
        * libm/mathfp/s_atan.c (atan): New file.
2787
        * libm/mathfp/s_atan2.c (atan2): New file.
2788
        * libm/mathfp/s_atangent.c (atangent): New file.
2789
        * libm/mathfp/s_ceil.c (ceil): New file.
2790
        * libm/mathfp/s_copysign.c (copysign): New file.
2791
        * libm/mathfp/s_cos.c (cos): New file.
2792
        * libm/mathfp/s_cosh.c (cosh): New file.
2793
        * libm/mathfp/s_exp.c (exp): New file.
2794
        * libm/mathfp/s_fabs.c (fabs): New file.
2795
        * libm/mathfp/s_finite.c (finite): New file.
2796
        * libm/mathfp/s_floor.c (floor): New file.
2797
        * libm/mathfp/s_fmod.c (fmod): New file.
2798
        * libm/mathfp/s_frexp.c (frexp): New file.
2799
        * libm/mathfp/s_infconst.c: New file.
2800
        * libm/mathfp/s_isinf (isinf).c: New file.
2801
        * libm/mathfp/s_isnan.c (isnan): New file.
2802
        * libm/mathfp/s_ispos.c (ispos): New file.
2803
        * libm/mathfp/s_ldexp.c (ldexp): New file.
2804
        * libm/mathfp/s_log.c (log): New file.
2805
        * libm/mathfp/s_log10.c (log10): New file.
2806
        * libm/mathfp/s_logarithm.c (logarithm): New file.
2807
        * libm/mathfp/s_mathcnst.c: New file.
2808
        * libm/mathfp/s_modf (modf).c: New file.
2809
        * libm/mathfp/s_numtest.c (numtest): New file.
2810
        * libm/mathfp/s_pow.c (pow): New file.
2811
        * libm/mathfp/s_scalbn.c (scalbn): New file.
2812
        * libm/mathfp/s_sin (sin).c: New file.
2813
        * libm/mathfp/s_sine.c (sine): New file.
2814
        * libm/mathfp/s_sineh.c (sineh): New file.
2815
        * libm/mathfp/s_sinf.c (sinf): New file.
2816
        * libm/mathfp/s_sinh.c (sinh): New file.
2817
        * libm/mathfp/s_sqrt.c (sqrt): New file.
2818
        * libm/mathfp/s_tan.c (tan): New file.
2819
        * libm/mathfp/s_tanh.c (tanh): New file.
2820
        * libm/mathfp/sf_acos.c (acosf): New file.
2821
        * libm/mathfp/sf_asin.c (asinf): New file.
2822
        * libm/mathfp/sf_asine.c (asinef): New file.
2823
        * libm/mathfp/sf_atan.c (atanf): New file.
2824
        * libm/mathfp/sf_atan2.c (atan2f): New file.
2825
        * libm/mathfp/sf_atangent.c (atangent): New file.
2826
        * libm/mathfp/sf_ceil.c (ceilf): New file.
2827
        * libm/mathfp/sf_copysign.c (copysignf): New file.
2828
        * libm/mathfp/sf_cos.c (cosf): New file.
2829
        * libm/mathfp/sf_cosh.c (coshf): New file.
2830
        * libm/mathfp/sf_exp.c (expf): New file.
2831
        * libm/mathfp/sf_fabs.c (fabsf): New file.
2832
        * libm/mathfp/sf_finite.c (finitef): New file.
2833
        * libm/mathfp/sf_floor.c (floorf): New file.
2834
        * libm/mathfp/sf_fmod.c (fmodf): New file.
2835
        * libm/mathfp/sf_frexp.c (frexpf): New file.
2836
        * libm/mathfp/sf_isinf.c (isinff): New file.
2837
        * libm/mathfp/sf_isnan.c (isnanf): New file.
2838
        * libm/mathfp/sf_ispos.c (isposf): New file.
2839
        * libm/mathfp/sf_ldexp.c (ldexpf): New file.
2840
        * libm/mathfp/sf_log.c (logf): New file.
2841
        * libm/mathfp/sf_log10.c (log10f): New file.
2842
        * libm/mathfp/sf_logarithm.c (logarithmf): New file.
2843
        * libm/mathfp/sf_modf.c (modff): New file.
2844
        * libm/mathfp/sf_numtest.c (numtestf): New file.
2845
        * libm/mathfp/sf_pow.c (powf): New file.
2846
        * libm/mathfp/sf_scalbn.c (scalbnf): New file.
2847
        * libm/mathfp/sf_sin.c (sinf): New file.
2848
        * libm/mathfp/sf_sine.c (sinef): New file.
2849
        * libm/mathfp/sf_sineh.c (sinehf): New file.
2850
        * libm/mathfp/sf_sinh.c (sinhf): New file.
2851
        * libm/mathfp/sf_sqrt.c (sqrtf): New file.
2852
        * libm/mathfp/sf_tan.c (tanf): New file.
2853
        * libm/mathfp/sf_tanh.c (tanhf): New file.
2854
        * libm/mathfp/zmath.h: New file.
2855
 
2856
Wed Sep  2 02:49:03 1998  J"orn Rennecke 
2857
 
2858
        * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
2859
        exit if it has been overwritten by pre-fetching in delay slot.
2860
 
2861
1998-09-01  Michael Meissner  
2862
 
2863
        * Makefile.am (tooldir): Add in host_alias, so that multilib
2864
        libraries are installed in the directory the compiler looks in.
2865
        * Makefile.in: Regenerate.
2866
 
2867
        * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
2868
 
2869
Mon Aug 31 11:39:31 1998  Jeff Johnston  
2870
 
2871
        * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
2872
        ahead of test for number of bytes being moved.
2873
 
2874
Thu Aug 27 14:07:53 1998  Christopher Faylor 
2875
 
2876
        * libc/include/sys/unistd.h: Nothing special needed for
2877
        _exit under cygwin.
2878
 
2879
Wed Aug 26 15:05:21 1998  Nick Clifton  
2880
 
2881
        * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
2882
        conform to user label naming conventions.
2883
 
2884
Mon Aug 24 14:46:19 1998  Geoffrey Noer 
2885
 
2886
        * libc/sys/cygwin32/sys/utime.h: variable names in
2887
        protos should start with two leading underscores
2888
        * libc/include/string.h: ditto
2889
        * libc/include/sys/signal.h: ditto
2890
        * libc/include/sys/stat.h: ditto
2891
        * libc/include/sys/time.h: ditto
2892
        * libc/include/sys/unistd.h: ditto
2893
        * libc/include/ctype.h: ditto
2894
        * libc/include/stdlib.h: ditto
2895
        * libc/include/sys/reent.h: struct _atexit function ptr takes a
2896
        void, same with _sig_func.
2897
 
2898
Fri Aug 21 14:44:14 1998  Jeff Johnston  
2899
 
2900
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
2901
        for MB_CAPABLE to reduce code size when newlib is not configured
2902
        with --enable-newlib-mb.
2903
        * libc/stdlib/Makefile.am: Specified -fshort-enums when building
2904
        mbtowc_r.o to minimize size.
2905
        * libc/stdlib/Makefile.in: Rebuild.
2906
 
2907
Wed Aug 19 16:20:13 1998  Jim Wilson  
2908
 
2909
        * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
2910
        to -DREENT.
2911
        * libc/sys/sparc64/Makefile.in: Rebuild.
2912
 
2913
Tue Aug 18 22:38:29 1998  Ian Lance Taylor  
2914
 
2915
        * Makefile.am (MAKEOVERRIDES): Define.
2916
        * Makefile.in: Rebuild.
2917
 
2918
Tue Aug 18 12:38:47 1998  Jim Wilson  
2919
 
2920
        * libc/sys/sparc64/sys/stat.h (stat): Add const.
2921
 
2922
Mon Aug 17 22:27:06 1998  Ian Lance Taylor  
2923
 
2924
        * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
2925
        newlib_cflags when looking for targ-include.
2926
        * */aclocal.m4, */configure: Rebuild.
2927
 
2928
Fri Jul 31 10:57:42 1998  Catherine Moore  
2929
 
2930
        * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
2931
        to "_end".
2932
 
2933
Wed Jul 29 00:02:01 1998  Mark Alexander  
2934
 
2935
        * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
2936
        on SPARCs with little-endian data.
2937
        * libc/include/machine/ieeefp.h: Ditto.
2938
 
2939
Wed Jul 22 18:00:10 1998  Ian Lance Taylor  
2940
 
2941
        * acinclude.m4: Handle a relative srcdir correctly when setting
2942
        newlib_cflags.
2943
        * */aclocal.m4, */configure: Rebuild.
2944
 
2945
Wed Jul 22 17:11:33 1998  Jeff Johnston  
2946
 
2947
        * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
2948
        also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
2949
        * libm/math/wrf_gamma.c (gammaf_r): ditto
2950
        * libm/math/wr_lgamma.c (lgamma_r): ditto
2951
        * libm/math/wr_gamma.c (gamma_r): ditto
2952
        * libm/math/wf_sqrt.c (sqrtf): ditto
2953
        * libm/math/wf_sinh.c (sinhf): ditto
2954
        * libm/math/wf_scalb.c (scalbf): ditto
2955
        * libm/math/wf_remainder.c (remainderf): ditto
2956
        * libm/math/wf_pow.c (powf): ditto
2957
        * libm/math/wf_log10.c (log10f): ditto
2958
        * libm/math/wf_log.c (logf): ditto
2959
        * libm/math/wf_lgamma.c (lgammaf): ditto
2960
        * libm/math/wf_jn.c (jnf, ynf): ditto
2961
        * libm/math/wf_j1.c (j1f, y1f): ditto
2962
        * libm/math/wf_j0.c (j0f, y0f): ditto
2963
        * libm/math/wf_hypot.c (hypotf): ditto
2964
        * libm/math/wf_gamma.c (gammaf): ditto
2965
        * libm/math/wf_fmod.c (fmodf): ditto
2966
        * libm/math/wf_exp.c (expf): ditto
2967
        * libm/math/wf_cosh.c (coshf): ditto
2968
        * libm/math/wf_atanh.c (atanhf): ditto
2969
        * libm/math/wf_atan2f.c (atan2f): ditto
2970
        * libm/math/wf_asin.c (asinf): ditto
2971
        * libm/math/wf_acosh.c (acoshf): ditto
2972
        * libm/math/wf_acos.c (acosf): ditto
2973
        * libm/math/w_sqrt.c (sqrt): ditto
2974
        * libm/math/w_sinh.c (sinh): ditto
2975
        * libm/math/w_scalb.c (scalb): ditto
2976
        * libm/math/w_remainder.c (remainder): ditto
2977
        * libm/math/w_pow.c (pow): ditto
2978
        * libm/math/w_log10.c (log10): ditto
2979
        * libm/math/w_log.c (log): ditto
2980
        * libm/math/w_lgamma.c (lgamma): ditto
2981
        * libm/math/w_jn.c (jn, yn): ditto
2982
        * libm/math/w_j1.c (j1, y1): ditto
2983
        * libm/math/w_j0.c (j0, y0): ditto
2984
        * libm/math/w_hypot.c (hypot): ditto
2985
        * libm/math/w_gamma.c (gamma): ditto
2986
        * libm/math/w_fmod.c (fmod): ditto
2987
        * libm/math/w_exp.c (exp): ditto
2988
        * libm/math/w_cosh.c (cosh): ditto
2989
        * libm/math/w_atanh.c (atanh): ditto
2990
        * libm/math/w_atan2f.c (atan2): ditto
2991
        * libm/math/w_asin.c (asin): ditto
2992
        * libm/math/w_acosh.c (acosh): ditto
2993
        * libm/math/w_acos.c (acos): ditto
2994
 
2995
Tue Jul 21 12:34:54 1998  Ian Lance Taylor  
2996
 
2997
        * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
2998
        (fsrc): Add wf_cabs.c and wf_drem.c.
2999
        * libm/math/Makefile.in: Rebuild.
3000
 
3001
        * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
3002
        unused directory variables.  Remove duplicate CFLAGS.
3003
        * Makefile.in: Rebuild.
3004
 
3005
        * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
3006
        with $(CC_FOR_BUILD).
3007
        (makedoc.o): Likewise.
3008
        * doc/Makefile.in: Rebuild.
3009
 
3010
        * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
3011
        force a definition of COMPILE.
3012
        (libfoo_a_SOURCES): Define.
3013
        * libc/sys/cygwin32/Makefile.in: Rebuild.
3014
        * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
3015
        force a definition of COMPILE.
3016
        (libfoo_a_SOURCES): Define.
3017
        * libc/sys/tic80/Makefile.in: Rebuild.
3018
 
3019
Mon Jul 20 20:49:24 1998  Christopher Faylor 
3020
 
3021
        * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
3022
        flag.
3023
 
3024
Fri Jul 17 16:13:16 1998  Ian Lance Taylor  
3025
 
3026
        * Build using autoconf and automake.  Added many Makefile.am and
3027
        configure.in files, plus generated files.  Old configure.in files
3028
        and all old Makefile.in files completely replaced.  Removed
3029
        host/any.  Added acinclude.m4 and configure.host.
3030
 
3031
Sat Jul 11 18:14:49 1998  Felix Lee  
3032
 
3033
        * libc/stdio/vfprintf.c: enable long long support, sometimes.
3034
        * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
3035
 
3036
Tue Jul  7 01:51:55 1998  J"orn Rennecke 
3037
 
3038
        * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
3039
        * libc/machine/sh/Makefile.in: Add rules for new files.
3040
 
3041
Tue Jul  7 01:40:55 1998  J"orn Rennecke 
3042
 
3043
        * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
3044
        * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
3045
        * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
3046
 
3047
Thu Jul  2 10:33:16 1998  Nick Clifton  
3048
 
3049
        * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
3050
        code is ignored.
3051
 
3052
Wed Jun 24 13:56:54 1998  Jeff Johnston  
3053
 
3054
        * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
3055
        internal static buffer when s is NULL, as prescribed by ANSI.
3056
 
3057
1998-06-22  Vladimir N. Makarov  
3058
 
3059
        * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
3060
        removed.
3061
        * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
3062
        libc/stdlib will be used for h8300hms.
3063
 
3064
Thu Jun 18 16:56:05 1998  Jeff Johnston  
3065
 
3066
        * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
3067
        version that can be built either for speed or size.
3068
        * libc/machine/mn10300/memset.S (_memset): ditto
3069
        * libc/machine/mn10300/memchr.S (_memchr): ditto
3070
        * libc/machine/mn10300/memcpy.S (_memcpy): ditto
3071
        * libc/machine/mn10300/memcmp.S (_memcmp): ditto
3072
        * libc/machine/mn10300/strchr.S (_strchr): ditto
3073
        * libc/machine/mn10300/strcmp.S (_strcmp): ditto
3074
        * libc/machine/mn10300/strcpy.S (_strcpy): ditto
3075
        * libc/machine/mn10300/Makefile.in: Added entries for
3076
        memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
3077
        strcmp.o, strcpy.o, and strlen.o.
3078
 
3079
Wed Jun 17 12:50:26 1998  Mark Alexander  
3080
 
3081
        * configure.in: Don't use libc/sys/sysmec for MN10200; it's
3082
        been replaced with libgloss/mn10200.
3083
 
3084
Fri Jun 12 14:34:39 1998  Michael Meissner  
3085
 
3086
        * libc/string/strchr.c (strchr): Make s a constant pointer to
3087
        avoid warning.
3088
 
3089
Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
3090
 
3091
        * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
3092
        instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
3093
        board SWIs instead of Demon board SWIs).
3094
 
3095
Thu Jun  4 12:16:46 1998  Michael Meissner  
3096
 
3097
        * libc/string/strncat.c (strncat):  Make -Os act the same as
3098
        PREFER_SIZE_OVER_SPEED being defined.
3099
 
3100
Wed Jun  3 17:52:33 1998  Michael Meissner  
3101
 
3102
        * libc/string/memchr.c (memchr): Make -Os act the same as
3103
        PREFER_SIZE_OVER_SPEED being defined.
3104
        * libc/string/memcmp.c (memcmp): Ditto.
3105
        * libc/string/memcpy.c (memcpy): Ditto.
3106
        * libc/string/memset.c (memset): Ditto.
3107
        * libc/string/strcat.c (strcat): Ditto.
3108
        * libc/string/strchr.c (strchr): Ditto.
3109
        * libc/string/strcmp.c (strcmp): Ditto.
3110
        * libc/string/strcpy.c (strcpy): Ditto.
3111
        * libc/string/strlen.c (strlen): Ditto.
3112
        * libc/string/strncat.c (strncat): Ditto.
3113
        * libc/string/strncmp.c (strncmp): Ditto.
3114
        * libc/string/strncpy.c (strncpy): Ditto.
3115
 
3116
Mon Jun  1 15:25:07 1998  Geoffrey Noer  
3117
 
3118
        * libc/include/sys/itimer.h: remove
3119
        * libc/include/sys/time.h: itimer stuff should be here
3120
 
3121
Mon Jun  1 16:31:29 1998  Jeff Johnston  
3122
 
3123
        * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
3124
        bit instead of comparing to 0 so -0.0 can be printed correctly.
3125
 
3126
Sat May 30 09:33:51 1998  J"orn Rennecke 
3127
 
3128
        * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
3129
 
3130
Fri May 29 22:25:10 1998  Geoffrey Noer  
3131
 
3132
        * libc/include/sys/unistd.h: fix sync() proto
3133
        * libc/include/sys/fcntl.h: remove _close which is already
3134
        defined in unistd.h.
3135
        * libc/include/sys/time.h: add getitimer proto
3136
 
3137
Fri May 29 16:10:28 1998  Geoffrey Noer  
3138
 
3139
        * libc/string/strchr.c: convert arg to unsigned char
3140
        * libc/include/stdlib.h: add protos for random, srandom
3141
        * libc/include/sys/stat.h: add lstat proto
3142
        * libc/include/sys/time.h: add setitimer proto
3143
        * libc/include/sys/unistd.h: add readlink, symlink protos
3144
        * libc/include/process.h: instead of including windows.h and using
3145
        HANDLEs in sexec protos, just use void *s.  Need to include
3146
        sys/types.h.
3147
 
3148
Fri May 29 03:04:29 1998  Geoffrey Noer  
3149
 
3150
        * libc/include/sys/fcntl.h: add _close proto for Cygwin32
3151
 
3152
Thu May 28 16:34:21 1998  Geoffrey Noer  
3153
 
3154
        * libc/include/process.h: add secure exec protos
3155
 
3156
Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
3157
 
3158
        * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
3159
        which are accessed as both doubles and integers.
3160
        * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
3161
        * libc/stdlib/strtod.c (_strtod_r): Likewise.
3162
        * libc/stdlib/mprec.h: Add "union double_union" and change
3163
        word0/word1 macros to use it.
3164
 
3165
Tue May 26 18:04:21 1998  Geoffrey Noer  
3166
 
3167
        * libc/include/sys/signal.h: add __cplusplus wrapper
3168
 
3169
Tue May 26 15:10:22 1998  Geoffrey Noer  
3170
 
3171
        * libc/include/sys/utime.h: new generic file that gets replaced by
3172
        libc/sys/SYSDIR/sys/utime.h on systems that support the utime
3173
        function.
3174
        * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
3175
        * libc/include/time.h: remove duplicate utime proto
3176
        * libc/include/utime.h: add comment
3177
 
3178
Sun May 24 23:56:20 1998  Christopher Faylor 
3179
 
3180
        * libc/include/sys/time.h: Add missing include to
3181
        allow use of _EXFUN.  Remove times function that is
3182
        already defined in times.h.
3183
 
3184
Sun May 24 01:32:14 1998  Christopher Faylor 
3185
 
3186
        * libc/include/time.h: Fix typo in tzset.
3187
 
3188
Fri May 22 17:00:48 1998  Geoffrey Noer  
3189
 
3190
        * libc/include/sys/time.h: add missing Cygwin32 function protos
3191
        * libc/include/sys/unistd.h: ditto
3192
        * libc/include/time.h: ditto
3193
 
3194
Wed May 20 20:35:11 1998  Geoffrey Noer  
3195
 
3196
        * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
3197
        FIXME.
3198
        * libc/include/sys/types.h: add a new __MS_types__ section
3199
        to define vm_offset_t, vm_size_t, int32_t et al, register_t,
3200
        __BIT_TYPES_DEFINED__.
3201
 
3202
Wed May 20 18:49:21 1998  Geoffrey Noer  
3203
 
3204
        * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
3205
        since it overrides the one in libc/include/sys.  Also, start
3206
        including types.h.
3207
 
3208
Wed May 20 14:45:40 1998  Geoffrey Noer  
3209
 
3210
        * libm/math/Makefile.in: add s_signgam.o to obj list
3211
 
3212
Tue May 19 11:57:11 1998  Jeff Johnston  
3213
 
3214
        * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
3215
 
3216
Mon May 18 22:36:12 1998  Christopher Faylor 
3217
 
3218
        * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
3219
        so don't use defines.
3220
 
3221
Mon May 18 19:01:02 1998  Michael Meissner  
3222
 
3223
        * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
3224
 
3225
Sun May 17 18:40:32 1998  Frank Ch. Eigler  
3226
 
3227
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
3228
        _current_locale as default locale.
3229
 
3230
Sat May 16 21:59:59 1998  Bob Manson  
3231
 
3232
        * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
3233
        insufficient space in a chunk.
3234
 
3235
Tue May 12 14:41:01 1998  Jeff Johnston  
3236
 
3237
        * configure.in (links): Added check for --enable-newlib-mb configure
3238
        option which defines the MB_CAPABLE macro.
3239
        * libc/locale/locale.c (_setlocale_r): Added support for setting
3240
        LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
3241
        defined.
3242
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
3243
        implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
3244
        * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
3245
        implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
3246
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
3247
        implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
3248
        * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
3249
        wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
3250
        * libc/stdlib/Makefile.in: Added new multibyte
3251
        routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
3252
        * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
3253
        _mbstowcs_r(), and _wcstombs_r().
3254
        * libc/stdlib/mbctype.h: New internal header file that contains macros to test
3255
        for JIS, SJIS, and EUC-JP characters.
3256
        * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
3257
        MB_CAPABLE defined.
3258
        * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
3259
        MB_CAPABLE defined.
3260
        * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
3261
        MB_CAPABLE defined.
3262
        * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
3263
        if MB_CAPABLE defined.
3264
        * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
3265
        if MB_CAPABLE defined.
3266
        * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
3267
        to the format string processing when MB_CAPABLE.
3268
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
3269
        call _mbtowc_r().
3270
 
3271
Tue May  5 16:07:23 1998  Nick Clifton  
3272
 
3273
        The following modifications are courtesy of Anthony Thompson,
3274
        athompson@cambridge.arm.com:
3275
        * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
3276
        boith RDI and RDP monitors.
3277
        * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
3278
        RDI and RDP monitors.
3279
 
3280
Wed Apr 29 15:22:15 1998  Jeff Johnston  
3281
 
3282
        * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
3283
        * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
3284
        (_swiopen): Fixed open flags to treat write with append as just append.
3285
        (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
3286
        * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
3287
 
3288
Fri Apr 24 18:00:09 1998  J"orn Rennecke 
3289
 
3290
        * libc/machine/sh/memcpy.S (L_odddst, big endian version):
3291
        When needing to transfer an initial 2-byte-word, store as
3292
        two single bytes.
3293
 
3294
Wed Apr 22 17:56:03 1998  J"orn Rennecke 
3295
 
3296
        * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
3297
        __SH3E__ .
3298
        * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
3299
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
3300
 
3301
Wed Apr 22 12:28:03 1998  Michael Meissner  
3302
 
3303
        * configure.in (target_cflags): If --enable-target-optspace, use
3304
        -Os to compile newlib rather than -O2.  Default to using -Os for
3305
        d10v, d30v and m32r if --{enable,disable}-target-optspace is not
3306
        used.
3307
 
3308
Tue Apr 21 23:13:34 1998  Geoffrey Noer  
3309
 
3310
        * libc/include/machine/setjmp.h: change sigsetjmp and
3311
        siglongjmp definitions to use an array instead of a struct
3312
        for __CYGWIN32__
3313
 
3314
Tue Apr 14 11:47:47 1998  Doug Evans  
3315
 
3316
        * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
3317
 
3318
Mon Apr  6 15:05:08 1998  Jonathan Larmour  
3319
 
3320
        * libc/string/strxfrm.c: fix to get correct return value
3321
 
3322
Wed Apr  1 16:09:05 1998  Nick Clifton  
3323
 
3324
        * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
3325
        builds.  Make mode change labels global so that they will be seen
3326
        by the debugger.
3327
 
3328
Wed Mar 18 09:45:10 1998  Nick Clifton  
3329
 
3330
        * configure.in (links): Do not use ARM debiugging protocols for PE
3331
        builds.
3332
 
3333
        * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
3334
        message.
3335
 
3336
Fri Mar 13 11:24:34 1998  Jeff Johnston  
3337
 
3338
        * libc/stdio/findfp.c (__sinit): Made stdout default to
3339
        line buffered mode as defined by ANSI.
3340
 
3341
Tue Mar 10 11:41:26 1997  Bob Manson  
3342
 
3343
        * libc/include/sys/itimer.h: New file.
3344
 
3345
        * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
3346
 
3347
Mon Mar  9 14:19:26 1998  J"orn Rennecke 
3348
 
3349
        * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
3350
        failure.
3351
 
3352
Fri Feb 27 13:56:10 1998  Michael Meissner  
3353
 
3354
        * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
3355
        insns.
3356
 
3357
Wed Feb 25 09:29:54 1998  Nick Clifton  
3358
 
3359
        * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
3360
 
3361
Tue Feb 24 18:00:13 1998  Michael Meissner  
3362
 
3363
        * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
3364
        support.
3365
 
3366
        * libc/include/machine/setjmp.h: Add D30V support.
3367
 
3368
        * configure.in (d30v-*): Add d30v machine directory.
3369
 
3370
Mon Feb 23 09:32:58 1998  Mark Alexander  
3371
 
3372
        * configure.in: Don't use libc/sys/sysmec for MN10300; it's
3373
        been replaced with libgloss/mn10300.
3374
 
3375
Sat Feb 21 17:44:43 1998  Geoffrey Noer  
3376
 
3377
        * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
3378
        it is no longer needed.
3379
 
3380
Thu Feb 19 16:15:10 1998  Geoffrey Noer  
3381
 
3382
        * libc/include/sys/signal.h: add sigpause proto for Cygwin32
3383
 
3384
Wed Feb 18 23:51:08 1998  Geoffrey Noer  
3385
 
3386
        * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
3387
        the file when O_APPEND is set, wherever the EOF happens to be at
3388
        that time.
3389
 
3390
Wed Feb 18 23:25:02 1998  Geoffrey Noer  
3391
 
3392
        patch from cgf@bbc.com (Christopher Faylor):
3393
        * libc/stdio/freopen.c (freopen): Conform to standard UNIX
3394
        convention of closing fp prior to attempting to open the file
3395
        argument.  This allows correct operation when reopening
3396
        stdin/stdout/stderr.  Replaces last freopen.c patch.
3397
 
3398
Wed Feb 18 16:27:40 1998  Geoffrey Noer  
3399
 
3400
        patch from cgf@bbc.com (Christopher Faylor):
3401
        * libc/stdio/freopen.c: freopen was not preserving the fd
3402
        of the stream being operated on.  This confuses programs that
3403
        expect that the handles for stdout and stderr will be 1 and 2.
3404
 
3405
Mon Feb 16 23:34:07 1998  Andrew Cagney  
3406
 
3407
        * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
3408
 
3409
Thu Feb 12 15:09:20 1998  Ranjith Kumaran 
3410
 
3411
        * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
3412
 
3413
Wed Feb 11 17:50:45 1998  Jeff Johnston  
3414
 
3415
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
3416
        altered to not use a branch.  Also added hint that last
3417
        bclr in longjmp will likely result in branch.
3418
 
3419
 
3420
Mon Feb  9 03:44:02 1998  Geoffrey Noer  
3421
 
3422
        * libc/sys/cygwin32/crt0.c: add missing args to main() extern
3423
 
3424
Fri Feb  6 16:32:32 1998  Nick Clifton  
3425
 
3426
        * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
3427
        v850 builds.
3428
 
3429
        * configure.in: Add -msmall-sld to target_cflags for v850 builds.
3430
 
3431
Wed Feb  4 16:56:20 1998  Jeff Johnston  
3432
 
3433
        * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
3434
        that loads FR14 to specify offset of 8 rather than 4
3435
        so it loads from offset 96 (where setjmp stored it).
3436
 
3437
Tue Feb  3 18:08:34 1998  Jeff Johnston  
3438
 
3439
        * libc/machine/sh/memcpy.S: (_memcpy): Update to
3440
        latest version supplied by customer.
3441
        * libc/machine/sh/memset.S (_memset): Ditto.
3442
 
3443
Mon Feb  2 16:20:39 1998  Nick Clifton  
3444
 
3445
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
3446
        PR14730).
3447
 
3448
Mon Feb  2 15:13:26 1998  Geoffrey Noer  
3449
 
3450
        * libc/include/string.h: remove redefinition of ffs
3451
 
3452
Wed Jan 28 13:30:14 1998  Geoffrey Noer  
3453
 
3454
        * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
3455
        defined
3456
 
3457
Wed Jan 28 10:38:34 1998  Jeff Johnston  
3458
 
3459
        * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
3460
        TI Libraries to link to libc.a
3461
 
3462
Sat Jan 24 10:15:56 1998  Michael Meissner  
3463
 
3464
        * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
3465
        * libc/include/sys/stat.h (_{,f}stat): Ditto.
3466
        * libc/include/sys/wait.h (_wait): Ditto.
3467
        * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
3468
        (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
3469
 
3470
Fri Jan 23 11:32:10 1998  Michael Meissner  
3471
 
3472
        * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
3473
        minded stabs so function name shows up when running the simulator
3474
        with -t.
3475
        * libc/sys/d10v/{crt0,trap}.S: Ditto.
3476
 
3477
Thu Jan 22 15:57:14 1998  Fred Fish  
3478
 
3479
        * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
3480
        * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
3481
        Use R5 where we used to use R3.
3482
 
3483
Wed Jan 21 14:22:23 1998  Bill Moyer 
3484
 
3485
        * libc/stdlib/getopt.c (getopt): replaced __progname
3486
        with nargv[0] to improve portability to imbedded systems.
3487
 
3488
Thu Jan 15 12:32:38 1998  Nick Clifton  
3489
 
3490
        * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
3491
        patch supplied by Tont.Thompson@arm.com to fix the creation of the
3492
        stdout file.
3493
 
3494
Wed Jan 14 13:00:19 1998  Ian Lance Taylor  
3495
 
3496
        * libc/stdio/tmpnam.c (worker): Generate a different file name
3497
        each time.
3498
 
3499
        * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
3500
        fails, try an execlp for sh.
3501
 
3502
        * host/any (INCLUDES): If target_os is cygwin32, then add a -I
3503
        option for the winsup include directory.
3504
 
3505
Wed Jan  7 17:02:58 1998  Nick Clifton  
3506
 
3507
        * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
3508
        debugging interface from Tony.Thompson@arm.com.
3509
 
3510
        * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
3511
        * libc/sys/arm/swi.h: ditto.
3512
 
3513
Tue Jan  6 14:15:10 1998  Geoffrey Noer  
3514
 
3515
        * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
3516
        DIR struct used for readdir hashes.
3517
 
3518
Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
3519
 
3520
        * libc/string/strchr.c: Use "unsigned chars" as necessary.
3521
 
3522
Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
3523
 
3524
        * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
3525
        integer targets.
3526
 
3527
Sat Dec 13 15:11:06 1997  Ian Lance Taylor  
3528
 
3529
        * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
3530
        INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
3531
        * libc/include/malloc.h: Add extern "C" if __cplusplus.
3532
        (__malloc_copy): Declare.
3533
 
3534
Wed Dec 10 12:15:54 1997  Ian Lance Taylor  
3535
 
3536
        * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
3537
        .
3538
        (POINTER_UINT): Define.
3539
        (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
3540
        (MALLOC_ALIGNMENT): Don't define if already defined.
3541
        (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
3542
        long.
3543
 
3544
Tue Dec  9 19:23:42 1997  Michael Meissner  
3545
 
3546
        * libc/string/memset.c (memset): Fiddle with code so that the long
3547
        value being stored is not a stack value.  Unroll storing longs 4
3548
        times.
3549
 
3550
Tue Dec  9 14:13:18 1997  Jeff Johnston  
3551
 
3552
        * Reduce code size for libm modules.
3553
        * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
3554
        and simply move code into sqrt.
3555
        * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
3556
        * libm/math/wr_lgamma.c (lgamma_r): Likewise.
3557
        * libm/math/wrf_gamma.c (gammaf_r): Likewise.
3558
        * libm/math/wr_gamma.c (gamma_r): Likewise.
3559
        * libm/math/wf_sinh.c (sinfh): Likewise.
3560
        * libm/math/w_sinh.c (sinh): Likewise.
3561
        * libm/math/wf_scalb.c (scalbf): Likewise.
3562
        * libm/math/w_scalb.c (scalb): Likewise.
3563
        * libm/math/wf_remainder.c (remainderf): Likewise.
3564
        * libm/math/w_remainder.c (remainder): Likewise.
3565
        * libm/math/wf_pow.c (powf): Likewise.
3566
        * libm/math/w_pow.c (pow): Likewise.
3567
        * libm/math/wf_log10.c (log10f): Likewise.
3568
        * libm/math/w_log10.c (log10): Likewise.
3569
        * libm/math/wf_log.c (logf): Likewise.
3570
        * libm/math/w_log.c (log): Likewise.
3571
        * libm/math/w_lgamma.c (lgamma): Likewise.
3572
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
3573
        * libm/math/wf_jn.c (jnf): Likewise.
3574
        * libm/math/w_jn.c (jn): Likewise.
3575
        * libm/math/wf_j1.c (j1f): Likewise.
3576
        * libm/math/w_j1.c (j1): Likewise.
3577
        * libm/math/wf_j0.c (j0f): Likewise.
3578
        * libm/math/w_j0.c (j0): Likewise.
3579
        * libm/math/wf_hypot.c (hypotf): Likewise.
3580
        * libm/math/w_hypot.c (hypot): Likewise.
3581
        * libm/math/wf_gamma.c (gammaf): Likewise.
3582
        * libm/math/w_gamma.c (gamma): Likewise.
3583
        * libm/math/wf_fmod.c (fmodf): Likewise.
3584
        * libm/math/w_fmod.c (fmod): Likewise.
3585
        * libm/math/wf_exp.c (expf): Likewise.
3586
        * libm/math/w_exp.c (exp): Likewise.
3587
        * libm/math/wf_cosh.c (coshf): Likewise.
3588
        * libm/math/w_cosh.c (cosh): Likewise.
3589
        * libm/math/wf_atanh.c (atanhf): Likewise.
3590
        * libm/math/w_atanh.c (atanh): Likewise.
3591
        * libm/math/wf_atan2.c (atan2f): Likewise.
3592
        * libm/math/w_atan2.c (atan2): Likewise.
3593
        * libm/math/wf_asin.c (asinf): Likewise.
3594
        * libm/math/w_asin.c (asin): Likewise.
3595
        * libm/math/wf_acosh.c (acoshf): Likewise.
3596
        * libm/math/w_acosh.c (acosh): Likewise.
3597
        * libm/math/wf_acos.c (asocf): Likewise.
3598
        * libm/math/w_acos.c (acos): Likewise.
3599
        * libm/math/wf_sqrt.c (sqrtf): Likewise.
3600
        * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
3601
        for embedded systems.
3602
 
3603
Mon Dec  8 12:12:58 1997  Ian Lance Taylor  
3604
 
3605
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
3606
        Lea in case of a foreign sbrk.
3607
 
3608
Fri Dec  5 23:27:28 1997  Ian Lance Taylor  
3609
 
3610
        Incorporate Doug Lea's malloc:
3611
        * libc/stdlib/mallocr.c: Completely replaced.
3612
        * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
3613
        (realloc): Remove.
3614
        * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
3615
        * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
3616
        mallopt.
3617
        (mallinfo, malloc_stats, mallopt): New functions.
3618
        (_mstats_r): Just call _malloc_stats_r.
3619
        * libc/stdlib/malign.c: New file.
3620
        * libc/stdlib/mlock.c: New file.
3621
        * libc/stdlib/msize.c: New file.
3622
        * libc/stdlib/mtrim.c: New file.
3623
        * libc/stdlib/realloc.c: New file.
3624
        * libc/stdlib/valloc.c: New file.
3625
        * libc/stdlib/malloc.h: Remove.
3626
        * libc/stdlib/callocr.c: Remove.
3627
        * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
3628
        malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
3629
        mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
3630
        reallocr.o, valloc.o, vallocr.o.
3631
        (CHEWOUT_FILES): Add mlock.def, mstats.def.
3632
        (MALLOC_CFLAGS): New variable.
3633
        (mallocr.o): New target, build from mallocr.c.
3634
        (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
3635
        (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
3636
        (msizer.o, malloptr.o): Likewise.
3637
        (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
3638
        (valloc.o): New target.
3639
        * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
3640
        * libc/include/malloc.h: Declare struct mallinfo, and new
3641
        routines.
3642
        * libc/include/stdlib.h (cfree): Correct declaration.
3643
 
3644
Tue Dec  2 10:12:16 1997  Nick Clifton  
3645
 
3646
        * libc/include/machine/setjmp.h: Add support for Thumb target.
3647
 
3648
        * libc/include/machine/ieeefp.h: Add support for Thumb target.
3649
 
3650
        * configure.in (links): Add support for Thumb target.
3651
 
3652
Wed Nov 26 09:56:17 1997  Nick Clifton  
3653
 
3654
        * libc/sys/arm/setjmp.S: Updated with version from branch.
3655
 
3656
Thu Nov 20 01:21:43 1997  Geoffrey Noer  
3657
 
3658
        * libc/include/stdio.h: add POSIX-required define L_ctermid
3659
        for ctermid
3660
 
3661
Wed Nov 19 16:11:40 1997  Michael Meissner  
3662
 
3663
        * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
3664
        addition to MISSING_SYSCALL_NAMES.
3665
 
3666
Mon Nov 17 20:05:05 1997  J"orn Rennecke 
3667
 
3668
        * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
3669
 
3670
Mon Nov 10 22:26:55 1997  Geoffrey Noer  
3671
 
3672
        * libc/include/string.h: change strsignal proto to return
3673
        a char *.  This eliminates compile problems in gdb resulting
3674
        from gdb's definition of strsignal in defs.h.
3675
 
3676
Mon Nov 10 17:11:08 1997  Geoffrey Noer  
3677
 
3678
        * libc/sys/cygwin32/sys/utime.h: new (moved here from
3679
        winsup/include) so as not to conflict with the one in
3680
        libc/include.
3681
        * libc/include/string.h: add protos for strsignal, strtosigno
3682
 
3683
Mon Nov 10 13:49:54 1997  Michael Meissner  
3684
 
3685
        * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
3686
 
3687
        * configure.in (d30v-*-*): Add configuration.
3688
 
3689
Thu Oct 30 14:01:23 1997  Nick Clifton  
3690
 
3691
        * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
3692
        to select which kind of debug monitor is in use for an ARM target.
3693
 
3694
        * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
3695
        Angel and Demon debug monitors.  Part of this code was supplied by
3696
        Tony Thompson at ARM: athompso@arm.com.
3697
 
3698
Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
3699
 
3700
        * strncat.c (strncat): Don't call strncpy; strncay has the wrong
3701
        semantics when the count is greater than the length of the second
3702
        source string.
3703
 
3704
Thu Oct 23 01:37:41 1997  Geoffrey Noer  
3705
 
3706
        * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
3707
        * libc/include/sys/unistd.h: add protos for usleep, truncate,
3708
        truncate and ftruncate take off_t, not size_t
3709
 
3710
Tue Oct 21 18:42:00 1997  Jim Wilson  
3711
 
3712
        * libc/string/strcat.c (strcat): Add missing comment end.
3713
        * libc/string/strncat.c (strncat): Likewise.
3714
 
3715
Tue Oct 21 17:23:34 1997  Nick Clifton  
3716
 
3717
        * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
3718
        targets.
3719
        * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
3720
        optimised version which is selected if PREFER_SIZE_OVER_SPEED is
3721
        defined.
3722
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
3723
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
3724
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
3725
 
3726
Mon Oct 13 15:12:35 1997  Ian Lance Taylor  
3727
 
3728
        * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
3729
        (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
3730
 
3731
Thu Oct  9 13:54:44 1997  Doug Evans  
3732
 
3733
        * libc/machine/i386/setjmp.S: New file.
3734
        * libc/machine/i386/Makefile.in: Delete COPYOFILES.
3735
        (OFILES): Add setjmp.o.
3736
        (setjmp.o): Add rule for.
3737
        * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
3738
 
3739
Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
3740
                         Jeffrey A Law  (law@cygnus.com)
3741
 
3742
        * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
3743
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
3744
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
3745
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
3746
 
3747
Mon Oct  6 14:07:59 1997  Nick Clifton  
3748
 
3749
        * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
3750
        rules.
3751
 
3752
        * libc/include/sys/config.h: Use __v850 to select v850
3753
        endianness.
3754
 
3755
        * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
3756
        buffer size.
3757
 
3758
        * libc/include/machine/ieeefp.h: Use __v850 to select v850
3759
        endianness.
3760
 
3761
Thu Sep 25 14:11:37 1997  Geoffrey Noer  
3762
 
3763
        * libc/stdlib/setenv.c: change unsetenv definition to match
3764
        style of setenv (with _DEFUN).  The string should be a const.
3765
        * libc/include/stdlib.h: unsetenv proto should return void.
3766
 
3767
Tue Sep 23 18:17:20 1997  Geoffrey Noer  
3768
 
3769
        * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
3770
 
3771
Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
3772
 
3773
        * libc/stdio/glue.h: remove.
3774
        * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
3775
        * libc/stdio/Makefile.in: remove glue.h dependencies
3776
 
3777
Wed Sep 17 17:42:27 1997  Nick Clifton  
3778
 
3779
        * libc/sys/sysnecv850/crt0.S: Created V850e version.
3780
 
3781
Tue Sep  9 10:40:57 1997  Doug Evans  
3782
 
3783
        * configure.in (target_cpu): Add `arc'.
3784
 
3785
Tue Sep  9 10:40:42 1997  Joel Sherrill  
3786
 
3787
        * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
3788
          -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
3789
        * newlib/libc/include/sys/errno.h: Add ENOTSUP.
3790
        * newlib/libc/reent/reent.c: Add _wrapup_reent.
3791
        * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
3792
 
3793
Sun Sep  7 16:41:41 1997  Gavin Koch  
3794
 
3795
        * libc/machine/mips/setjmp.S: Handle mips16 builds.
3796
 
3797
Thu Aug 21 20:05:38 1997  Ian Lance Taylor  
3798
 
3799
        * libc/include/stdio.h (siprintf): Declare.
3800
 
3801
Mon Aug 18 11:19:13 1997  Nick Clifton  
3802
 
3803
        * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
3804
        TARGET_CFLAGS and NEWLIB_FLAGS.
3805
 
3806
Mon Aug 18 11:15:43 1997  Nick Clifton  
3807
 
3808
        * configure.in (links): Add support for v850ea target.
3809
 
3810
Mon Aug 18 11:15:43 1997  Nick Clifton  
3811
 
3812
        * configure.in (links): Add support for v850e target.
3813
 
3814
Wed Aug 13 19:16:54 1997  Nick Clifton  
3815
 
3816
        * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
3817
 
3818
Mon Aug 11 15:49:54 1997  Doug Evans  
3819
 
3820
        * configure.in (arc-*-*): Add support for.
3821
        * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
3822
 
3823
Fri Jul 25 17:37:41 1997  J"orn Rennecke 
3824
 
3825
        * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
3826
 
3827
Thu Jul 24 18:32:17 1997  Geoffrey Noer  
3828
 
3829
        * libc/stdlib/bsearch.c (bsearch): remove last unneeded
3830
        comparison which accesses invalid memory when the key is
3831
        larger than the last member of the array.
3832
        * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
3833
        for CYGWIN32
3834
        * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
3835
 
3836
Tue Jul 22 16:03:06 1997  Ian Lance Taylor  
3837
 
3838
        * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
3839
        not _STRICT_ANSI.
3840
 
3841
Thu Jul 10 15:11:52 1997  Doug Evans  
3842
 
3843
        * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
3844
        ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
3845
 
3846
Thu Jul 10 16:00:09 1997  Mike Meissner  
3847
 
3848
        * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
3849
        to load/store memory.
3850
 
3851
Mon Jul  7 17:38:17 1997  Ian Lance Taylor  
3852
 
3853
        * libc/include/sys/fcntl.h: Define _O_* symbols with leading
3854
        underscores if _WIN32.
3855
 
3856
Wed Jul  2 10:07:20 1997  Doug Evans  
3857
 
3858
        * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
3859
        support ifdef _USE_WRITE missed in last change.
3860
        From Anders Blomdell .
3861
 
3862
Wed Jun 25 10:18:49 1997  Doug Evans  
3863
 
3864
        * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
3865
        (_tmpnam_r, _tempnam_r): Update.
3866
 
3867
Wed Jun 25 00:16:55 1997  Mark Alexander  
3868
 
3869
        * libc/machine/sparc/setjmp.S: New file.
3870
        * libc/machine/sparc/Makefile.in: Add setjmp.
3871
        * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
3872
 
3873
Tue Jun 24 23:27:38 1997  Mark Alexander  
3874
 
3875
        * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
3876
 
3877
Tue Jun 24 14:53:40 1997  Doug Evans  
3878
 
3879
        From Joel Sherrill .
3880
        * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
3881
 
3882
        Add rtems support.  From Joel Sherrill .
3883
        * configure.in: Recognize *-*-rtems*.
3884
        * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
3885
        * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
3886
        time.h,times.h,types.h}: New files.
3887
        * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
3888
 
3889
Fri Jun 20 11:13:16 1997  Geoffrey Noer  
3890
 
3891
        patch from sos@prospect.com.ru (Sergey Okhapkin):
3892
        * include/sys/wait.h: correct operator precidence bug
3893
        in WIFSIGNALED
3894
 
3895
Wed Jun 18 22:08:27 1997  Geoffrey Noer  
3896
 
3897
        * libc/include/stdlib.h: remove unsetenv proto since it conflicts
3898
        with newlib's unsetenv function
3899
        * libc/sys/cygwin32/sys: new directory for includes
3900
        * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
3901
        here from winsup/include/sys
3902
 
3903
Mon Jun 16 21:02:22 1997  Geoffrey Noer  
3904
 
3905
        * libc/include/sys/unistd.h: _exit should only be
3906
        labelled noreturn when not __CYGWIN32__
3907
        * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
3908
        * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
3909
        increment NSIG
3910
 
3911
Thu Jun 12 18:52:41 1997  Ian Lance Taylor  
3912
 
3913
        * libc/include/sys/time.h: Only define timeval and timezone if
3914
        _GNU_H_WINDOWS32_SOCKETS is not defined.
3915
        * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
3916
 
3917
Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
3918
 
3919
        * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
3920
        * libc/machine/mn10300/setjmp.S: Likewise.
3921
 
3922
        * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
3923
        the mn10300 (more relaxing opportunities).
3924
 
3925
Tue Jun 10 17:24:45 1997  Mike Meissner  
3926
 
3927
        * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
3928
        Build libraries with -mstrict-align.
3929
 
3930
Fri Jun  6 14:07:59 1997  Ian Lance Taylor  
3931
 
3932
        * libc/string/strlwr.c: New file.
3933
        * libc/string/strupr.c: New file.
3934
        * libc/include/string.h: Declare strlwr and strupr.
3935
        * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
3936
        (CHEWOUT_FILES): Add strlwr.def and strupr.def.
3937
        (strlwr.o, strupr.o): New targets.
3938
        * libc/string/strings.tex: Include strlwr and strupr docs.
3939
 
3940
        * libc/include/sys/types.h: Don't define u_char, et. al., if
3941
        _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
3942
        et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
3943
        _types_fd_set rather than fd_set, and define fd_set as a macro.
3944
 
3945
        * libc/include/malloc.h: New file.
3946
 
3947
        * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
3948
        strnicmp if they are not already defined.
3949
 
3950
        * libc/include/time.h: If __CYGWIN32__, declare tzset and define
3951
        _timezone, _daylight, and _tzname.
3952
 
3953
Wed Jun  4 12:51:16 1997  Doug Evans  
3954
 
3955
        * configure.in: Sort all configuration tables.
3956
 
3957
        From Joel Sherrill 
3958
        * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
3959
 
3960
Tue Jun  3 14:47:46 1997  Ian Lance Taylor  
3961
 
3962
        * libc/include/sys/signal.h: Don't include .  Just
3963
        use int when declaring kill.
3964
 
3965
        * libc/include/sys/timeb.h: New file.
3966
 
3967
Mon Jun  2 12:06:58 1997  Geoffrey Noer  
3968
 
3969
        * libc/include/sys/time.h: add itimer support for Cygwin32
3970
 
3971
Mon May 19 11:56:46 1997  Mike Meissner  
3972
 
3973
        * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
3974
        out a message that abort was called to stderr.
3975
 
3976
Fri May 16 15:02:59 1997  Bob Manson  
3977
 
3978
        * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
3979
        so that libio doesn't freak.
3980
 
3981
        * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
3982
        int.
3983
 
3984
        * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
3985
        memory sizes, not int.
3986
 
3987
Wed May 14 21:16:58 1997  Bob Manson  
3988
 
3989
        * libm/math/ef_hypot.c: Use long constants where
3990
        appropriate.
3991
        * libm/math/ef_sqrt.c: Ditto.
3992
 
3993
        * libc/sys/sysmec/times.c(_times): Change to times.
3994
 
3995
        * libc/sys/sysmec/read.c(_read): The third argument is
3996
        size_t.
3997
        * libc/sys/sysmec/write.c (_write): Ditto.
3998
 
3999
        * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
4000
        (_lseek): It's off_t for the second argument.
4001
 
4002
Wed May 14 15:23:36 1997  Mike Meissner  
4003
 
4004
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
4005
        as well as machine/ieeefp.h.
4006
 
4007
Thu May  8 15:47:25 1997  Geoffrey Noer  
4008
 
4009
        * libc/include/sys/signal.h: add signal protos for winsup
4010
        functions (when __CYGWIN32__), include types.h
4011
        * libc/include/sys/types.h: Change __go32_types__ internal
4012
        define to __MS_types__ since it's used for more than just
4013
        GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
4014
        defined.
4015
        * libc/include/sys/unistd.h: add ftruncate proto for
4016
        winsup functions (when __CYGWIN32__)
4017
 
4018
Fri Apr 25 10:10:16 1997  Doug Evans  
4019
 
4020
        * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
4021
 
4022
Thu Apr 24 15:46:51 1997  Mike Stump  
4023
 
4024
        * libc/include/machine/setjmp.h: Add tic80 support.
4025
        * libc/machine/tic80/setjmp.S: Likewise.
4026
 
4027
Tue Apr 22 16:54:40 1997  Geoffrey Noer  
4028
 
4029
        * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
4030
        link programs from libraries only (such as in the X11
4031
        distribution)
4032
 
4033
Mon Apr 21 15:02:12 1997  Fred Fish  
4034
 
4035
        * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
4036
        supplied elsewhere in newlib.
4037
 
4038
Mon Apr 14 16:25:55 1997  Ian Lance Taylor  
4039
 
4040
        * Makefile.in (INSTALL): Change install.sh to install-sh.
4041
 
4042
Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
4043
 
4044
        * README: update WWW address for on-line documentation.
4045
 
4046
Wed Apr  9 00:38:13 1997  Geoffrey Noer  
4047
 
4048
        * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
4049
        increment NSIG
4050
 
4051
Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
4052
 
4053
        * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
4054
        mn10300.
4055
        * libc/sys/sysmec/trap.S: Don't compare a register to itself.
4056
 
4057
Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
4058
 
4059
        * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
4060
        * libc/sys/d10v/syscalls.c: Likewise.
4061
        * libc/sys/h8300hms/sbrk.c: Likewise.
4062
        * libc/sys/h8500hms/syscalls.c: Likewise.
4063
        * libc/sys/m88kbug/syscalls.c: Likewise.
4064
        * libc/sys/sh/syscalls.c: Likewise.
4065
        * libc/sys/sysmec/sbrk.c: Likewise.
4066
        * libc/sys/sysnecv850/sbrk.c: Likewise.
4067
        * libc/sys/w65/syscalls.c: Likewise.
4068
        * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
4069
 
4070
Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
4071
 
4072
        * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
4073
        emulated syscall instead of "trap".
4074
 
4075
Fri Mar 14 11:26:13 1997  Michael Meissner  
4076
 
4077
        * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
4078
        not trap 0.
4079
 
4080
Sun Mar  9 23:27:04 1997  Doug Evans  
4081
 
4082
        * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
4083
 
4084
Sat Mar  8 09:05:01 1997  Fred Fish  
4085
 
4086
        * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
4087
        not "sh".
4088
        * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
4089
        not "d10v".
4090
        * libc/sys/tic80/crt0.c: New file for TIc80.
4091
        * libc/sys/tic80/Makefile.in: New file for TIc80.
4092
        * libc/machine/tic80/Makefile.in: New file for TIc80.
4093
 
4094
Wed Mar  5 11:32:12 1997  J.T. Conklin  
4095
 
4096
        * libc/machine/sh/memcpy.S: New file.
4097
        * libc/machine/sh/memset.S: New file.
4098
        * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
4099
 
4100
Thu Feb 27 16:27:55 1997  Fred Fish  
4101
 
4102
        * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
4103
        for TIc80.
4104
 
4105
Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
4106
 
4107
        * libc/sys/sysmec/crt0.S: Handle new calling conventions for
4108
        the mn10200.
4109
 
4110
Wed Feb 26 07:11:03 1997  Michael Meissner  
4111
 
4112
        * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
4113
        (patch from andrew@pogo.WV.TEK.COM).
4114
 
4115
Fri Feb 14 11:49:28 1997  Doug Evans  
4116
 
4117
        * libc/machine/m32r/setjmp.S (setjmp): Save r12.
4118
        (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
4119
 
4120
Mon Feb 10 10:02:34 1997  Fred Fish  
4121
 
4122
        * configure.in:  Add cases for "tic80" to set machine_dir,
4123
        sys_dir, and syscall_dir.
4124
 
4125
Sun Feb  2 17:57:15 1997  Geoffrey Noer  
4126
 
4127
        * libc/sys/cygwin32/crt0.c: initialize floating pt registers
4128
 
4129
Wed Jan 29 15:57:38 1997  Geoffrey Noer  
4130
 
4131
        * libc/include/math.h: avoid conflicts with ANSI C++ 
4132
 
4133
Mon Jan 27 12:50:01 1997  Doug Evans  
4134
 
4135
        * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
4136
        Use proper constant prefix.
4137
 
4138
Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
4139
 
4140
        * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
4141
        that loses on the mn10200 where ints and pointers are different
4142
        sizes.
4143
 
4144
Tue Jan 14 13:29:55 PST 1997  Jeremy Allison 
4145
 
4146
        * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
4147
        target as signal is provided in winsup.
4148
 
4149
Tue Jan 14 11:10:13 1997  Jeremy Allison 
4150
 
4151
        * libc/include/sys/process.h: Corrected const definitions
4152
        in spawn functions. Added cwait.
4153
 
4154
Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
4155
 
4156
        * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
4157
        doubles.
4158
        * libc/include/sys/config.h: Similarly.
4159
 
4160
Tue Dec 31 18:36:14 1996  Michael Meissner  
4161
 
4162
        * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
4163
        target_cflags.
4164
        (i[3456]86-*-sco*): Ditto.
4165
 
4166
        * libc/signal/Makefile.in (OFILES): Add signal.o.
4167
        (CFILES): Add signal.c.
4168
 
4169
        * libc/signal/raise.c (_raise_r): Only compile code if
4170
        SIGNAL_PROVIDED is defined.
4171
 
4172
        * libc/signal/signal.c: Redo whole file so that it works with
4173
        current newlib.  Use _kill_r if no signal handler provided.
4174
 
4175
        * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
4176
        signal stubs.
4177
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
4178
        * libc/sys/sysnecv850/Makefile.in: Ditto.
4179
 
4180
        * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
4181
        * libc/sys/sysmec/{raise,signal}.c: Ditto.
4182
        * libc/sys/sysvnecv70/signal.s: Ditto.
4183
        * libc/sys/sysnecv850/raise.c: Ditto.
4184
 
4185
        * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
4186
        simulator and debugger can tell the difference between a signal
4187
        being raised and an exit system call.
4188
 
4189
        * NEWS: Document software signals being provided.
4190
 
4191
Mon Dec 23 11:54:19 1996  Michael Meissner  
4192
 
4193
        * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
4194
        __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
4195
        include/sys/config.h.
4196
        (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
4197
        Change from 'inpure_data'.
4198
        (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
4199
        &impure_data, not &inpure_data.
4200
 
4201
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
4202
        and and System V ABI, define so that _impure_ptr lives in the
4203
        .sdata section.
4204
 
4205
Sun Dec 22 23:33:05 1996  Michael Meissner  
4206
 
4207
        * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
4208
        nothing if not defined.
4209
        (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
4210
        its attributes.
4211
 
4212
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
4213
 
4214
Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
4215
 
4216
        * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
4217
        * libc/sys/sysmec/trap.s: Handle mn10200 too.
4218
        * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
4219
 
4220
Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
4221
 
4222
        * libc/sys/sysmec/crt0.S: Handle mn10200 too.
4223
 
4224
Fri Dec 13 11:05:20 1996  Jeremy Allison 
4225
 
4226
        * libc/include/sys/errno.h: Added net errno's.
4227
 
4228
Wed Dec 11 16:24:25 1996  Michael Meissner  
4229
 
4230
        * libc/misc/ffs.c: New file to support ffs function for GCC test
4231
        gcc.c-torture/execute/960909-1.c.
4232
 
4233
        * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
4234
 
4235
Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
4236
 
4237
        * libc/sys/sysmec/crt0.S: Handle underscore prefix.
4238
        * libc/sys/sysmec/trap.S: Likewise.
4239
 
4240
Fri Dec  6 15:08:49 1996  Jim Wilson  
4241
 
4242
        * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
4243
        * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
4244
 
4245
Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
4246
 
4247
        * libc/sys/sysmec/signal.c: Dummy file.
4248
        * libc/sys/sysmec/Makefile.in: Build it.
4249
 
4250
Wed Nov 27 13:10:18 1996  Ian Lance Taylor  
4251
 
4252
        * libc/machine/mips/machine/regdef.h: Define pc as $pc for
4253
        mips16.
4254
 
4255
Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
4256
 
4257
        * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
4258
        c-startup and simulator traps.
4259
 
4260
 
4261
        * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
4262
        * libc/sys/sysmec/trap0.S: Likewise.
4263
 
4264
Sat Nov 23 09:01:03 1996  Michael Meissner  
4265
 
4266
        * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
4267
        round to double word alignment.
4268
        (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
4269
        byte alignment.
4270
 
4271
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
4272
 
4273
        * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
4274
        out of memory.
4275
 
4276
Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
4277
 
4278
        * configure.in: Handle mn10200 and mn10300.
4279
        * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
4280
        * libc/include/sys/config.h: Likewise.
4281
        * libc/sys/sysmec: New directory for mec stuff.
4282
        * libc/machine/mn10300: New directory for mn10300 stuff.
4283
        * libc/machine/mn10200: Similarly for mn10200 stuff.
4284
 
4285
Fri Nov 15 16:41:41 1996  Doug Evans  
4286
 
4287
        * libc/sys/arm/crt0.S: Use .text, not .section .text.
4288
        * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
4289
 
4290
        * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
4291
        (nlink_t): Change type from unsigned int to unsigned short.
4292
        (mode_t): Ensure size is 32 bits even if int is 16.
4293
        * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
4294
        (st_spare[123]): Change type from int to long.
4295
 
4296
Fri Nov 15 11:41:50 1996  Michael Meissner  
4297
 
4298
        * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
4299
        byte boundary.
4300
 
4301
        * configure.in (d10v*): Define SMALL_MEMORY.
4302
 
4303
Mon Nov 11 10:30:44 1996  Michael Meissner  
4304
 
4305
        * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
4306
        -mrelocatable-lib and -mno-eabi flags.
4307
 
4308
Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
4309
 
4310
        * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
4311
        Fix handling of mis-aligned source operand when both the
4312
        destination & length are properly aligned.
4313
 
4314
Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
4315
 
4316
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add
4317
        times.o, time.o and gettime.o
4318
        * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
4319
        * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
4320
        SYS_gettimeofday.
4321
 
4322
Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
4323
 
4324
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
4325
        * libc/sys/sysnecv850/access.c: New file.
4326
 
4327
Mon Oct 21 19:47:02 1996  Ian Lance Taylor  
4328
 
4329
        * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
4330
 
4331
        * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
4332
        long.
4333
 
4334
Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
4335
 
4336
        * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
4337
 
4338
Thu Oct 17 11:47:16 1996  Doug Evans  
4339
 
4340
        * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
4341
        * libc/include/sys/config.h: Add m32r support.
4342
 
4343
Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
4344
 
4345
        * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
4346
        here.
4347
 
4348
Wed Oct 16 21:18:07 1996  Mark Alexander  
4349
 
4350
        * libc/include/machine/setjmp.h: Add D10v support.
4351
 
4352
Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
4353
 
4354
        * configure.in: Configure the "libc/syscalls" directory for
4355
        the v850.
4356
 
4357
        * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
4358
        * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
4359
        * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
4360
        * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
4361
        * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
4362
 
4363
Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
4364
 
4365
        * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
4366
        stack for args for main and other routines.  Zero out args for
4367
        main.
4368
 
4369
        * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
4370
        correctly.
4371
 
4372
Tue Oct 15 11:51:42 1996  Michael Meissner  
4373
 
4374
        * libc/stdio/findfp.c (std): Remove extraneous ';' after
4375
        function.
4376
 
4377
        * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
4378
 
4379
        * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
4380
        real system calls now.
4381
 
4382
        * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
4383
        before casting them to int.
4384
        * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
4385
 
4386
        * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
4387
        aligning pointer.
4388
        * libc/string/memset.c (memset): Ditto.
4389
 
4390
        * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
4391
        first convert ints to _POINTER_INT to eliminate GCC warning.
4392
 
4393
        * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
4394
        processing %p.
4395
 
4396
        * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
4397
        from 65000 if ints are only 16 bits.
4398
 
4399
        * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
4400
        from 50000 if ints are only 16 bits.
4401
 
4402
        * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
4403
        int type that is the same size as a pointer.
4404
 
4405
        * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
4406
        processing %p.
4407
        (get_number): Explicitly cast number to long before shifting by 16
4408
        or 24, in case ints are short.
4409
 
4410
        * libc/include/sys/config.h (_POINTER_INT): Define as short.
4411
 
4412
Wed Oct  9 16:54:32 1996  Jeremy Allison 
4413
 
4414
        * libc/string.h: Added ffs, removed swab.
4415
        * libc/sys/errno.h: Added EOPNOTSUPP.
4416
        * libc/sys/unistd.h: Added swab.
4417
 
4418
Thu Oct  3 17:08:50 1996  Jeremy Allison 
4419
 
4420
        * libc/include/sys/stat.h: Added fchmod.
4421
        * libc/include/sys/unistd.h: Added fsync.
4422
 
4423
Tue Oct  1 17:34:08 1996  Jeremy Allison 
4424
 
4425
        * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
4426
        and ECONNRESET (104) for cygwin32.
4427
 
4428
Tue Oct  1 16:24:05 1996  Gavin Koch  
4429
 
4430
        * libc/sys/sysnecv850/_exit.c: added _do_dtors to
4431
        do the static destructors.
4432
 
4433
Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
4434
 
4435
        * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
4436
 
4437
Mon Sep 30 12:02:50 1996  Doug Evans  
4438
 
4439
        * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
4440
        * configure.in: Recognize m32r-*-*.
4441
 
4442
Mon Sep 30 00:34:41 1996  James G. Smith  
4443
 
4444
        * libc/sys/arm/trap.S (__rt_stkovf_split_big,
4445
        __rt_stkovf_split_small): Added default software stack overflow
4446
        handlers, which just call SWI_Exit.
4447
        * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
4448
        limit initialisation.
4449
 
4450
Fri Sep 27 13:08:03 1996  Mark Alexander  
4451
 
4452
        * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
4453
 
4454
Fri Sep 27 12:32:00 1996  Jeremy Allison 
4455
 
4456
        * libc/include/sys/types.h: Added ssize_t definition.
4457
 
4458
Wed Sep 25 14:52:18 1996  Michael Meissner  
4459
 
4460
        * libc/machine/d10v/setjmp.S: Use ';' for comments.
4461
        * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
4462
 
4463
        * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
4464
        branch around a single ldi instruction.
4465
 
4466
        * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
4467
        Call exit, instead of just issuing a stop instruction.
4468
 
4469
Sun Sep 22 17:26:55 1996  Michael Meissner  
4470
 
4471
        * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
4472
 
4473
Fri Sep 20 13:23:12 1996  Michael Meissner  
4474
 
4475
        * libc/stdlib/mprec.h: Explicitly declare all large constants as
4476
        longs, and then cast them to __uint32_t.
4477
 
4478
        * libc/include/sys/config.h: Protect against multiple inclusions.
4479
 
4480
Tue Sep 17 13:10:33 1996  Mark Alexander  
4481
 
4482
        * configure.in (d10v*): Set syscall_dir.
4483
 
4484
Sun Sep 15 10:41:59 1996  Mark Alexander  
4485
 
4486
        * libc/sys/d10v/crt0.S: Set stack pointer.
4487
 
4488
Thu Sep 12 13:02:38 1996  Mark Alexander  
4489
 
4490
        * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
4491
        in assembly for efficiency.  Change calling convention to allow
4492
        long ints to be returned.
4493
 
4494
Wed Sep 11 10:28:18 1996  Michael Meissner  
4495
 
4496
        * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
4497
 
4498
Thu Sep  5 19:23:06 1996  Doug Evans  
4499
 
4500
        * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
4501
        Handle empty entries in $PATH.
4502
 
4503
Tue Sep 03 18:15:02 1996  Mark Alexander  
4504
 
4505
        * libc/machine/d10v/setjmp.S: Make it really work.
4506
 
4507
Tue Sep  3 12:16:26 1996  Ian Lance Taylor  
4508
 
4509
        * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
4510
        the .stack section.
4511
 
4512
Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
4513
 
4514
        * sys/sysnecv850/sys/file.h: Remove.
4515
        * sys/sysnecv850/sys/syscall.h: New file.
4516
        * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
4517
        * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
4518
        * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
4519
        * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
4520
        * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
4521
        * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
4522
        * sys/sysnec850/trap.S: New file.
4523
        * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
4524
        syscalls.
4525
        * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
4526
        * sys/sysnec850/sbrk.c: New version.
4527
 
4528
Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
4529
 
4530
        * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
4531
        as long as r6 is less than r7.
4532
 
4533
Sun Sep  1 13:54:19 1996  Ian Lance Taylor  
4534
 
4535
        * Makefile.in (mostlyclean): Separate from clean target.  Don't
4536
        remove *.a or targ-include.
4537
        * libc/machine/sparc/Makefile.in (mostlyclean): New target.
4538
 
4539
Sun Sep  1 11:35:26 1996  Michael Meissner  
4540
 
4541
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
4542
        d10v.
4543
        (__SMALL_BITFIELDS): Ditto.
4544
 
4545
        * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
4546
 
4547
Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
4548
 
4549
        * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
4550
        prefix.
4551
 
4552
        * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
4553
        * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
4554
        * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
4555
        * libc/sys/sysnecv850/write.c (write): Likewise.
4556
 
4557
        * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
4558
        .bss.
4559
 
4560
Fri Aug 30 11:18:45 1996  Michael Meissner  
4561
 
4562
        * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
4563
        appropriately for D10V, depending on -mint16/-mint32.
4564
 
4565
Thu Aug 29 16:09:37 1996  Mark Alexander  
4566
 
4567
        * configure.in: Add cases for D10V.
4568
 
4569
Thu Aug 29 17:03:23 1996  Michael Meissner  
4570
 
4571
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
4572
 
4573
Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
4574
 
4575
        * libc/include/machine/ieeefp.h: Fix typo.
4576
 
4577
Wed Aug 28 19:47:55 1996  Mark Alexander  
4578
 
4579
        * libc/sys/d10v: New directory for D10V stuff.
4580
        * libc/include/machine/ieeefp.h: Add D10V defines.
4581
 
4582
Mon Aug 26 13:34:58 1996  Doug Evans  
4583
 
4584
        * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
4585
        ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
4586
        ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
4587
        * libc/string/strerror.c (strerror): Add them.
4588
 
4589
Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
4590
 
4591
        * libc/sys/sysnecv850: New directory for v850 stuff.
4592
 
4593
        * libc/machine/v850: New directory for v850 stuff.
4594
        * libc/machine/v850/setjmp.S: setjmp/longjmp support.
4595
 
4596
        * configure.in: Add support for the v850.
4597
 
4598
        * libc/include/machine/ieeefp.h: Add v850 defines.
4599
        * libc/include/machine/setjmp.h: Likewise.
4600
        * libc/include/sys/config.h: Add v850 defines.
4601
 
4602
Sat Aug 17 04:06:36 1996  Geoffrey Noer  
4603
 
4604
        * libc/include/machine/ieeefp.h
4605
        * libc/include/machine/setjmp.h
4606
        * libc/include/sys/fcntl.h
4607
        * libc/include/sys/signal.h
4608
        * libc/include/sys/types.h
4609
        * libc/stdlib/system.c:
4610
        Fix preprocessor defines to match new scheme (_WIN32 for WIN32
4611
        API availability, __CYGWIN32__ for cygwin32 environment specific).
4612
 
4613
Thu Aug 15 17:09:21 1996  Geoffrey Noer  
4614
 
4615
        * libc/include/stdlib.h: add multibyte character functions.  Add
4616
        __eprintf for assert.
4617
 
4618
Thu Aug 15 11:15:40 1996  Michael Meissner  
4619
 
4620
        * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
4621
        arithmetic or __alignof__ to properly get the alignment, instead
4622
        of hardwiring it to 4.
4623
 
4624
Wed Aug 14 23:43:28 1996  Geoffrey Noer  
4625
 
4626
        * libc/stdio/fseek.c: add fflush call to adjust seek offset
4627
        on append stream (fix from NetBSD sources), adjust curoff offset
4628
        for ungetc's benefit.
4629
        * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
4630
        * libc/stdio/rewind.c: replace code with up to date NetBSD
4631
        code to undo hacks made to work around above problem of not
4632
        having fflush call mentioned above
4633
 
4634
Fri Aug  2 18:28:07 1996  J.T. Conklin  
4635
 
4636
        * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
4637
        openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
4638
        Partially revert last changes.  The thread specific errno is set
4639
        iff if the underlying syscall fails and the global errno is not
4640
        zero.
4641
 
4642
Fri Jul 19 11:41:52 1996  J.T. Conklin  
4643
 
4644
        * libc/reent/filer.c: Removed files, all functions have split out
4645
        into their own files.
4646
        * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
4647
        New files containing functions formally in filer.c
4648
        * libc/reent/Makefile.in: Updated for above change.
4649
 
4650
        * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
4651
        syscall fails, not if errno is changed.
4652
        * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
4653
        _write_r): Likewise.
4654
        * libc/reent/fstatr.c (_fstat_r): Likewise.
4655
        * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
4656
        * libc/reent/sbrkr.c (_sbrk_r): Likewise.
4657
        * libc/reent/signalr.c (_kill_r): Likewise.
4658
        * libc/reent/statr.c (_stat_r): Likewise.
4659
        * libc/reent/timer.c (_gettimeofday_r): Likewise.
4660
 
4661
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
4662
        signalr.c, statr.c, timer.c} (errno): declare extern rather
4663
        than as a common.
4664
 
4665
        * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
4666
        instead of calling vfprintf so that i*printf will not require
4667
        floating point support code.
4668
 
4669
Mon Jul 15 16:50:59 1996  Doug Evans  
4670
 
4671
        * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
4672
        path delimiter.
4673
        * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
4674
        (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
4675
 
4676
Thu Jul 11 14:34:14 1996  Geoffrey Noer  
4677
 
4678
        * libc/include/signal.h: _sig_func_ptr function takes an int
4679
        * libc/include/sys/signal.h: sa_handler function takes an int
4680
 
4681
Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
4682
 
4683
        * libc/include/machine/ieeefp.h: Simplify H8/S support.
4684
        * libc/include/sys/config.h: Add missing H8/S conditional.
4685
 
4686
Sun Jun 30 12:05:46 1996  Doug Evans  
4687
 
4688
        * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
4689
 
4690
Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
4691
 
4692
        * libc/include/machine/setjmp.h: Handle H8/S.
4693
        * libc/include/machine/ieeefp.h: Likewise.
4694
        * libc/include/sys/config.h: Likewise.
4695
        * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
4696
        * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
4697
        * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
4698
        * libc/sys/h8300hms/crt0.S: Likewise.
4699
 
4700
Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
4701
 
4702
        * Makefile.in (datadir): Set to $(prefix)/share.
4703
        (oldincludedir, docdir): Removed.
4704
        * doc/Makefile.in (datadir): Set to $(prefix)/share.
4705
        (oldincludedir, docdir): Removed.
4706
        * libc/Makefile.in (datadir): Set to $(prefix)/share.
4707
        (oldincludedir, docdir): Removed.
4708
        * libm/Makefile.in (datadir): Set to $(prefix)/share.
4709
        (oldincludedir, docdir): Removed.
4710
 
4711
Fri Jun 21 19:24:41 1996  Ian Lance Taylor  
4712
 
4713
        * libc/include/sys/reent.h (_REENT_INIT): Update for change to
4714
        _reent struct.
4715
 
4716
Wed Jun 19 14:00:09 1996  Doug Evans  
4717
 
4718
        * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
4719
        fetch current path rules with sysconf and handler posix/win32
4720
        appropriately.
4721
 
4722
        * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
4723
 
4724
        * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
4725
        (WAIT_CHILD): Always define.
4726
 
4727
Sat Jun 15 17:50:42 1996  Ian Lance Taylor  
4728
 
4729
        * libc/stdlib/eprintf.c: New file.
4730
        * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
4731
        (eprintf.o): New target.
4732
 
4733
Thu Jun 13 16:44:32 1996  Doug Evans  
4734
 
4735
        * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
4736
        (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
4737
 
4738
Thu Jun 13 17:45:17 1996  Mike Meissner  
4739
 
4740
        * libc/include/machine/ieeefp.h: Add support for AIX and Windows
4741
        NT in PowerPC endianess cases.
4742
 
4743
Tue Jun 11 12:26:28 1996  Michael Meissner  
4744
 
4745
        * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
4746
 
4747
Thu Jun  6 11:34:20 1996  Michael Meissner  
4748
 
4749
        * libc/string/strtok.c: Fix doc typo.
4750
 
4751
Mon Jun  3 11:30:00 1996  J.T. Conklin  
4752
 
4753
        * libc/include/sys/reent.h (struct _reent): Removed _asctime,
4754
        _next, _scanpoint, _signgam fields.
4755
 
4756
        * libc/include/stdlib.h (rand_r): Added new declaration.
4757
        (_rand_r, _srand_r): Removed declarations.
4758
        * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
4759
        have been made obsolete by rand_r.
4760
        * libc/stdlib/rand_r.c: New file, rand_r function as specified
4761
        by POSIX.1c.
4762
 
4763
        * libc/string/strtok.c: Update documentation to describe
4764
        strtok_r().
4765
 
4766
Sat Jun  1 23:50:39 1996  Michael Meissner  
4767
 
4768
        * libc/include/sys/stat.h (stat structure): Use the expanded stat
4769
        structure on Solaris, and PowerPC systems even though __svr4__ is
4770
        defined.
4771
 
4772
Tue May 28 13:02:42 1996  Doug Evans  
4773
 
4774
        * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
4775
 
4776
Fri May 17 10:34:44 1996  Ian Lance Taylor  
4777
 
4778
        * host/any: Use ../.. rather than .. to get to the main build
4779
        directory.  This matches the current layout of the build
4780
        directory.
4781
 
4782
Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
4783
 
4784
        * libc/machine/h8300/__main.S: Delete.  No longer needed.
4785
        * libc/machine/h8300/Makefile.in: Corresponding changes.
4786
        * libc/sys/h8300hms/crt1.c: New file.
4787
        * libc/sys/h8300hms/Makefile.in: Corresponding changes.
4788
        * libc/sys/h8300hms/crt0.s: Call __main.
4789
 
4790
        * libc/sys/h8300hms/crt0.S: Use temporary label names
4791
        for branch targets.
4792
 
4793
Mon May 13 14:26:30 1996  Doug Evans  
4794
 
4795
        * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
4796
 
4797
Fri May  3 16:38:23 1996  Michael Meissner  
4798
 
4799
        * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
4800
        .sdata on the PowerPC so that we can link newlib with code
4801
        compiled with -msdata.
4802
 
4803
Mon Apr 29 21:38:02 1996  Doug Evans  
4804
 
4805
        * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
4806
 
4807
Thu Apr 25 06:38:59 1996  Michael Meissner  
4808
 
4809
        * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
4810
        exception handler to __cygwin_exception_handler.
4811
 
4812
Tue Apr 23 15:14:20 1996  Ian Lance Taylor  
4813
 
4814
        * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
4815
 
4816
Sun Apr 21 12:11:51 1996  Doug Evans  
4817
 
4818
        * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
4819
        SunOS VPATH.
4820
        * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
4821
        wcstombs.o): Likewise.
4822
 
4823
Thu Apr 18 12:37:01 1996  Doug Evans  
4824
 
4825
        * libc/stdlib/environ.c (initial_env): New static local.
4826
        (environ): Point to `initial_env'.
4827
 
4828
        * libc/include/machine/setjmp.h: Clean up.
4829
        (__H8300H__,__PPC__): Define _JBTYPE.
4830
        (__arm__): Provide entry for.
4831
        (sigjmp_buf): Delete.
4832
        (jmp_buf): Use _JBTYPE if defined, otherwise int.
4833
 
4834
Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
4835
 
4836
        * libc/machine/h8300/strcmp.S: Sign extend the result to
4837
        32bits so we don't lose with -mint32.
4838
 
4839
Sun Apr 14 19:59:52 1996  Doug Evans  
4840
 
4841
        * libc/sys/go32/sys/errno.h: New file.
4842
        * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
4843
        * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
4844
        errno's address (make compatible with rest of newlib).
4845
        * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
4846
        * libc/string/strerror.c (strerror): Surround each case with #ifdef.
4847
 
4848
Thu Mar 28 13:44:42 1996  Doug Evans  
4849
 
4850
        * libc/machine/sparc/{scan.c,shuffle.c}: New files.
4851
        * libc/machine/sparc/Makefile.in: Build them.
4852
        * libc/machine/sparc/machine/sparclet.h: New file.
4853
 
4854
Mon Mar 25 15:29:14 1996  J.T. Conklin  
4855
 
4856
        * libc/machine/sh/asm.h: New file.
4857
        * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
4858
        support for SH3e's FP registers.  Use asm.h.
4859
 
4860
Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
4861
 
4862
        * libc/stdio/vfprintf.c (cvt): Accept a reent structure
4863
        as first argument.  Call _dtoa_r and pass the reent structure
4864
        instead of calling __dtoa.
4865
 
4866
Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
4867
 
4868
        * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
4869
        the h8300, h8500, and others.  Add comments for some rather
4870
        dubious code.
4871
 
4872
Thu Mar 14 18:04:43 1996  Ian Lance Taylor  
4873
 
4874
        * Makefile.in (check): Check that testsuite exists before cd.
4875
 
4876
Tue Mar 12 11:46:47 1996  Michael Meissner  
4877
 
4878
        * libc/include/string.h (strsep): Correct prototype.
4879
 
4880
Mon Mar 11 09:55:19 1996  Doug Evans  
4881
 
4882
        * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
4883
        * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
4884
        * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
4885
 
4886
Wed Mar  6 11:51:55 1996  Doug Evans  
4887
 
4888
        * libc/posix/{creat.c,isatty.c}: New files.
4889
        * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
4890
 
4891
        * libc/sys/sparc64/crt0.S (environ): Delete.
4892
        (.LHaveBias): Renamed from HaveBias.
4893
 
4894
Thu Feb 15 10:48:37 1996  Doug Evans  
4895
 
4896
        * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
4897
        (_morecore_r): Delete SBRK_IS_ALLOC support.
4898
 
4899
Tue Feb 13 09:44:09 1996  Michael Meissner  
4900
 
4901
        * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
4902
        module rather than touch, so we don't get warning messages when
4903
        all of the libraries are combined into libc.a.
4904
 
4905
Tue Feb 13 06:32:07 1996  Doug Evans  
4906
 
4907
        * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
4908
        crt0.s replaced by version in libgloss.
4909
 
4910
Mon Feb  5 15:17:51 1996  J.T. Conklin  
4911
 
4912
        * libc/reent/Makefile.in (OFILES): Add impure.o.
4913
        * libc/reent/impure.o: New file, define initial reentrancy struct.
4914
        * libc/reent/reent.c: Remove above definition.
4915
 
4916
        * libm/math/sf_asinh.c: Fix typo.
4917
 
4918
        * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
4919
        srf_ldexp.o.
4920
 
4921
        * libm/libm.texinfo: Change documentation to reflect changes
4922
        in reentrancy model.
4923
        * libm/math/w_gamma.c: Likewise.
4924
 
4925
Wed Jan 31 18:49:45 1996  Steve Chamberlain  
4926
 
4927
        * configure.in (*-*-cygwin32): New.
4928
        (*-*-win32): Deleted.
4929
        * libc/sys/win32 renamed libc/sys/cygwin32.
4930
 
4931
Tue Jan 30 22:09:03 1996  Michael Meissner  
4932
 
4933
        * libc/include/sys/file.h: New include file.
4934
 
4935
Fri Jan 26 15:52:54 1996  Steve Chamberlain  
4936
 
4937
        * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
4938
 
4939
Tue Jan 23 17:49:16 1996  Steve Chamberlain  
4940
 
4941
        * libc/include/sys/wait.h (WIFSIGNALED): Fix.
4942
 
4943
Tue Jan 16 09:28:10 1996  Michael Meissner  
4944
 
4945
        * doc/makedoc.c (realloc): Declare at file scope.
4946
        (catchar): Not here.
4947
 
4948
Wed Dec 27 15:45:23 1995  Doug Evans  
4949
 
4950
        * Makefile.in (VERSION): Update to 1.7.0.
4951
        * {libc,libm}/Makefile.in (VERSION): Likewise.
4952
        * configure.in: Minor clean up of multilib stuff.
4953
 
4954
        From David Johnson 
4955
        * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
4956
 
4957
        * libc/stdlib/environ.c: New file.
4958
        * libc/stdlib/Makefile.in (OFILES): Build it.
4959
        * libc/sys/h8500hms/crt0.c (environ): Deleted.
4960
        * libc/sys/m88kbug/crt0.c (environ): Deleted.
4961
        * libc/sys/z8ksim/crt0.c (environ): Deleted.
4962
        * libc/sys/netware/environ.c: Deleted.
4963
 
4964
Tue Dec 19 15:24:46 1995  Kim Knuttila  
4965
 
4966
        * configure.in (links): set sys_dir, posix_dir, syscall_dir
4967
 
4968
Wed Dec 13 04:16:25 1995  Michael Meissner  
4969
 
4970
        * doc/makedoc.c (init_string_with_size,nextword): Move malloc
4971
        declaration out to external scope and declare it PTR, not char *.
4972
 
4973
Mon Dec 11 17:35:12 1995  steve chamberlain  
4974
 
4975
        * libc/include/sys/unistd.h (getpagesize): New declaration.
4976
        (_SC_PAGESIZE): New definition.
4977
        * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
4978
        * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
4979
 
4980
Fri Dec  1 16:48:46 1995  James G. Smith  
4981
 
4982
        * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
4983
        addressing. System call returns size, not (last address + 1).
4984
 
4985
Thu Nov 30 15:05:26 1995  J.T. Conklin  
4986
 
4987
        * libm/math/*.c: Removed _foo_r() reentrancy API.
4988
        * libc/include/math.h: Removed _foo_r prototypes and macros.
4989
 
4990
        * libm/math/*.c: On systems with IEEE single precision "doubles"
4991
        move foo() -> foof() wrapper code from the files that implement
4992
        the standard IEEE double precision functions to the files that
4993
        implement IEEE single precision functions. (ie. On those systems
4994
        sin is moved from s_sin.c to sf_sin.c).  There should eventually
4995
        be use of a C extension (like gcc's alias attribute) so that the
4996
        wrappers are not needed at all.
4997
 
4998
        * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
4999
        strict NEC V810 compiler.
5000
        * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
5001
        for same reason.
5002
 
5003
Wed Nov 29 14:25:05 1995  J.T. Conklin  
5004
 
5005
        * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
5006
        from NetBSD C library.
5007
        * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
5008
 
5009
        * libc/stdlib/assert.c (__assert): Renamed from __assertfail
5010
        and adapted from implementation I wrote for NetBSD C library.
5011
        The difference is __assert doesn't take a format argument,
5012
        so that there won't be multiple copies of the same string
5013
        constant in the executable if assertions are enabled in
5014
        more than one source module.
5015
        * libc/include/assert.h (assert): Changed to call __assert.
5016
 
5017
Tue Nov 28 16:54:26 1995  J.T. Conklin  
5018
 
5019
        * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
5020
        word1 on systems with 32 bit doubles.
5021
        * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
5022
        so that we can do arithmetic on them.
5023
        * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
5024
        compilers.
5025
 
5026
Tue Nov 28 16:03:32 1995  Doug Evans  
5027
 
5028
        * libc/sys/arm/crt0.S: Zero bss.
5029
 
5030
Fri Nov 24 16:09:23 1995  Doug Evans  
5031
 
5032
        * libc/include/unctrl.h: New file.
5033
        * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
5034
        * configure.in (subdirs): Add libc/misc.
5035
        * libc/Makefile.in (SUBDIRS): Add misc.
5036
        (SUBLIBS): Add misc/lib.a.
5037
 
5038
        * libc/include/sys/reent.h (struct _reent): Make __sf last member.
5039
 
5040
Wed Nov 22 19:49:47 1995  Doug Evans  
5041
 
5042
        * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
5043
        (_vfprintf_r): Call CHECK_INIT.
5044
 
5045
Tue Nov 14 02:52:12 1995  Doug Evans  
5046
 
5047
        * Makefile.in (MULTITOP): Delete.
5048
        (MULTISRCTOP, MULTIBUILDTOP): Add.
5049
        * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
5050
        instead of cfg-ml-pos.in.
5051
 
5052
Wed Nov  8 01:24:08 1995  James G. Smith  
5053
 
5054
        * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
5055
        * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
5056
        presence.
5057
 
5058
Thu Nov  2 22:25:06 1995  Michael Meissner  
5059
 
5060
        * libc/string/strtok.c: Include string.h to pick up strtok_r
5061
        prototype.
5062
 
5063
Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5064
 
5065
        * libc/string/strtok.c: include <_ansi.h>.
5066
        * libc/time/asctime_r.c: `reresult' -> `result'.
5067
 
5068
Wed Nov  1 14:35:52 1995  J.T. Conklin  
5069
 
5070
        * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
5071
        in #ifndef _REENT_ONLY ... #endif conditional.
5072
 
5073
        * libc/include/string.h (_strtok_r): Remove declaration.
5074
        * libc/include/time.h (_asctime_r): Remove declaration.
5075
        * libc/string/strtok.c (_strtok_r): Removed.
5076
        * libc/time/asctime.c (_asctime_r): Removed.
5077
 
5078
        * libc/string/Makefile.in (OFILES): Add new object.
5079
        * libc/string/strtok_r.c: New file.  strtok_r function as
5080
        specified by POSIX.1c, adapted from strtok implementation
5081
        from NetBSD C library.
5082
        * libc/string/strtok.c (strtok): Reimplemented in terms of
5083
        strtok_r.
5084
 
5085
        * libc/time/Makefile.in (OFILES): Add new objects.
5086
        * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
5087
        New files, reentrant time functions specified by POSIX.1c.
5088
        * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
5089
        reentrant time functions re-written in terms of reentrant
5090
        functions.
5091
        * libc/time/lcltime.c: Renamed from localtime.c
5092
 
5093
        * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
5094
        gmtime_r, and localtime_r.
5095
 
5096
Sat Oct 28 14:34:31 1995  steve chamberlain  
5097
 
5098
        * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
5099
        * libc/include/sys/unistd.h (getlogin): Revert change of
5100
        Oct 19.
5101
        * libc/include/sys/signal.h (sigprocmask): Change prototype
5102
        so it compiles with c++.
5103
 
5104
Wed Oct 25 15:43:18 1995  Michael Meissner  
5105
 
5106
        * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
5107
        PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
5108
        to give some room in case we need to align the jmp_buf.
5109
 
5110
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
5111
        the new ppc-asm.h include file the compiler provides to specify
5112
        function prologue/epilogue.  Eliminate saves of the xer and ctr
5113
        registers, which are volatile.  Before starting to save registers,
5114
        align to 8 byte boundary.
5115
 
5116
Mon Oct 23 11:20:51 1995  James G. Smith  
5117
 
5118
        * libc/sys/vr4300/syscalls.c: Added empty kill() function,
5119
        referenced by standard libraries.
5120
 
5121
Thu Oct 19 21:39:47 1995  Fred Fish  
5122
 
5123
        * libc/unix/Makefile.in, libc/string/Makefile.in,
5124
        libc/stdio/Makefile.in, libc/reent/Makefile.in,
5125
        libc/posix/Makefile.in:
5126
        Remove tabs from otherwise empty line.  Confuses some
5127
        older non-GNU versions of "make".
5128
 
5129
Thu Oct 19 16:32:17 1995  steve chamberlain  
5130
 
5131
        * libc/sys/unistd.h (getlogin): Returns const char *.
5132
 
5133
Wed Oct 18 12:57:50 1995  steve chamberlain  
5134
 
5135
        * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
5136
        * libc/include/errno.h: Moved into and include...
5137
        * libc/include/sys/errno.h: New file.
5138
        * libc/include/sys/wait.h: New file.
5139
        * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
5140
        * libc/sys/win32/*: Moved out.
5141
        * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
5142
        * configure.in (i[345]86-*-win32): HAVE_RENAME
5143
 
5144
Wed Oct 18 09:58:27 1995  Brendan Kehoe  
5145
 
5146
        * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
5147
        avoid macro expansion for these two names.
5148
 
5149
Tue Oct 17 08:45:33 1995  Doug Evans  
5150
 
5151
        * libc/machine/h8500/psi.S: r6 renamed to fp.
5152
 
5153
Sun Oct 15 12:58:10 1995  Michael Meissner  
5154
 
5155
        * configure.in (powerpc*): No longer need to define
5156
        NO_LONGLONG_POINTERS to supress warnings.
5157
 
5158
Sat Oct 14 12:55:08 1995  Jim Wilson  
5159
 
5160
        * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
5161
        through PTR instead of directly.
5162
 
5163
        * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
5164
        non-standard constructor support.
5165
 
5166
Thu Oct 12 11:39:42 1995  J.T. Conklin  
5167
 
5168
        * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
5169
        address of the Bigint instead of the address of its _x field,
5170
        as the size the result buffer was calculated accordingly.
5171
        Fix from Jim Wilson .
5172
 
5173
        * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
5174
        from NetBSD C library.  No longer special cases division by
5175
        zero (which needs to be done by the application anyway), but
5176
        it doesn't need to call abs() (or labs()) four times either.
5177
 
5178
        * libc/stdlib/qsort.c: Replaced with implementation from
5179
        NetBSD C library.
5180
 
5181
Tue Oct 10 14:01:10 1995  J.T. Conklin  
5182
 
5183
        * libc/stdio/vfprintf.c: Replaced with implementation from
5184
        NetBSD C library (which is derived from the 4.4BSD C library).
5185
        * libc/stdio/cvt.c: Removed.
5186
        * libc/stdio/Makefile: Updated.
5187
 
5188
Tue Oct 10 12:15:23 1995  steve chamberlain  
5189
 
5190
        * libc/sys/win32/syscalls.c (rename): New.
5191
        * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
5192
 
5193
Fri Oct  6 12:18:43 1995  Jim Wilson  
5194
 
5195
        * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
5196
        * libc/machine/sh/setjmp.S: Rename from setjmp.s.
5197
 
5198
        * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
5199
        (setjmp.o): Delete rule to build setjmp.o.
5200
        * libc/sys/sh/setjmp.S: Delete file.
5201
 
5202
Fri Oct  6 11:19:05 1995  J.T. Conklin  
5203
 
5204
        * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
5205
        * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
5206
        format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
5207
        pow5mult and s2b to identifiers with leading underscores.
5208
        * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
5209
        ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
5210
 
5211
Thu Oct  5 17:27:30 1995  steve chamberlain  
5212
 
5213
        * libc/sys/posix/popen.c (sys/types.h): Include.
5214
 
5215
Thu Oct  5 16:33:01 1995  Doug Evans  
5216
 
5217
        * libc/sys/win32/syscalls.h (fhandler): New struct.
5218
        (__lookup_fhandler, __lookup_fhandler_hook): Declare.
5219
        (__fhandler_normal): Declare.
5220
        (hinfo): New member op_handlers.
5221
        * libc/sys/win32/syscalls.c (__read): Don't validate fd.
5222
        (__write): Likewise.
5223
        (_read, _write, _open, _close, _lseek): Validate fd here.
5224
        Move file type specific stuff to foo_normal.
5225
        (read_normal, write_normal, open_normal, close_normal, lseek_normal):
5226
        New functions.
5227
        (__lookup_fhandler): New function.
5228
        (__lookup_fhandler_hook, __fhandler_normal): New variables.
5229
 
5230
        From anders.blomdell@control.lth.se (Anders Blomdell)
5231
        * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
5232
        Don't touch standard handles.
5233
        * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
5234
        (_execve): Only create __FD_TABLE__ if necessary.
5235
        * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
5236
 
5237
Thu Oct  5 14:25:14 1995  steve chamberlain  
5238
 
5239
        * libc/sys/win32/sys/termios.h (FLUSHO): New.
5240
        * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
5241
        * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
5242
        * libc/sys/win32/exception.c (ehandler3): set strace when a signal
5243
        without a handler is received.
5244
        * libc/sys/win32/Makefile.in: Remove --nodelete.
5245
        * libc/sys/win32/resouce.c (gettimeofday): New.
5246
        * libc/sys/win32/syscalls.c (path_to_real_path): New.
5247
        * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
5248
 
5249
Wed Oct  4 13:10:35 1995  Doug Evans  
5250
 
5251
        * libc/sys/win32/dirsearch.c (opendir): stat real path name.
5252
        Don't append "/*" to search pattern if trailing '/' already there,
5253
        append "*".
5254
        * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
5255
        like /'s, convert them to \'s.  Handle /// path names.
5256
        Add space for quoted \'s in arg string.  Print translated prog name
5257
        and original prog name.
5258
        (_execve): Handle parent doing exec a teensy bit better.
5259
        * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
5260
        * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
5261
        path needs conversion, handle both cases.  Delete `const' from result.
5262
        (hash_path_name): New function.
5263
        (_open): Call it.
5264
        (_stat): Likewise.  Fill in more fields for directories.
5265
        * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
5266
        (wait_for_any): Fix trace message.
5267
        (waitpid): Explicitly test for intpid == 0.
5268
 
5269
        From anders.blomdell@control.lth.se (Anders Blomdell)
5270
        * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
5271
        so `next' is valid.
5272
 
5273
Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
5274
 
5275
        * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
5276
        complicated.
5277
 
5278
Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
5279
 
5280
        * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
5281
        at all, not just == 1.
5282
        * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
5283
 
5284
Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
5285
 
5286
        * libc/sys/win32/include/winbase.h: include  and 
5287
        * libc/sys/win32/include/wintypes.h: include 
5288
        * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
5289
        file.
5290
 
5291
Fri Sep 29 01:49:17 1995  steve chamberlain  
5292
 
5293
        * libc/sys/syscalls.c (getcwd): Fix off by one error.
5294
 
5295
        * libc/sys/signal.c (sleep): Fill it in.
5296
        * libc/sys/termios.c (tcflush): Use PurgeComm
5297
        (tcsetattr): Set some more of the bits.
5298
        * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
5299
 
5300
Fri Sep 29 04:33:53 1995  Doug Evans  
5301
 
5302
        * libc/sys/arm/crt0.S (fp): Initialize to 0.
5303
        Conditionally include .idata$3 stuff ifdef __pe__.
5304
 
5305
Fri Sep 29 01:49:17 1995  steve chamberlain  
5306
 
5307
        * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
5308
        * libc/sys/win32/pipe.c (pipe): Ditto.
5309
        * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
5310
        * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
5311
        * libc/sys/win32/termios.c (tcsetattr): Init new fields.
5312
        (tcgetattr): Contents are new.
5313
        * libc/sys/win32/include/winkernel.h (DCB): New.
5314
        (GetCommState, SetCommState): New.
5315
 
5316
Thu Sep 28 16:29:09 1995  Doug Evans  
5317
 
5318
        * libc/sys/arm/crt0.S (_start): Define.
5319
 
5320
Thu Sep 28 12:26:45 1995  steve chamberlain  
5321
 
5322
        * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
5323
        * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
5324
 
5325
        * libc/sys/win32/sysconf.c: New
5326
        * libc/sys/win32/sys/winadvapi.h: New
5327
        * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
5328
        * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
5329
        * libc/sys/win32/pipe.c (pipe): Ditto.
5330
        * libc/sys/win32/signal.c (_raise): New.
5331
        (_kill): Moved from spawn.c
5332
        * libc/sys/win32/spawn.c (kill): Moved to signal.c
5333
        * libc/sys/win32/syscalls.c (__read): Use new fields.
5334
        (_open): Ditto.
5335
        * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
5336
        * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
5337
        * libc/include/sys/unistd.h (rmdir): Takes const path.
5338
        * libc/include/sys/stat.h (mkdir): Takes const path.
5339
        * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
5340
 
5341
Thu Sep 28 10:11:27 1995  Doug Evans  
5342
 
5343
        * libc/sys/win32/spawn.c (_spawn): Fix quoting.
5344
 
5345
        Add support for specifying paths as ///foo/bar.
5346
        * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
5347
        (__path_to_real_path): Declare.
5348
        (PATH_TO_REAL_PATH): New macro.
5349
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
5350
        (__path_needs_conversion_p, __path_to_real_path): New functions.
5351
        (_open): Fix test for error return from CreateFileA.
5352
        Handle new path syntax.
5353
        (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
5354
        * libc/sys/win32/dirsearch.c (opendir): Likewise.
5355
 
5356
Wed Sep 27 16:36:46 1995  steve chamberlain  
5357
 
5358
        * libc/sys/win32/include/*.h: Reorganized
5359
        * libc/sys/win32/include/WINREADME: New.
5360
        * libc/sys/win32/Makefile.in (DLLS): Build version.a.
5361
        * libc/sys/win32/*.c: Fix for new include scheme.
5362
        * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
5363
        * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
5364
        * libc/sys/win32/passwd.c (*): Fix.
5365
        * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
5366
        (_stat): Get directory owner and permissions right.
5367
        * libc/sys/win32/syscalls.h (uinfo): New.
5368
        * libc/sys/win32/version.def: Remove leading underscores.
5369
 
5370
Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5371
 
5372
        * libc/sys/win32/key.c: include "include/wincon.h".
5373
 
5374
Tue Sep 26 07:21:48 1995  steve chamberlain  
5375
 
5376
        * libc/sys/win32/{key, stubs}.c: New.
5377
        * libc/sys/win32/Makefile: Adjust to cope.
5378
        * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
5379
        (environ_init): Change env names to upper case.
5380
        * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
5381
        * libc/sys/win32/passwd.c (*): Fill in the functions.
5382
        * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
5383
        * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
5384
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
5385
        (_open): Initialze hmap->execable_p too.
5386
        * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
5387
        (_fstat): Fill in permissions.
5388
        * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
5389
 
5390
Fri Sep 22 13:47:27 1995  Doug Evans  
5391
 
5392
        * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
5393
        if defined.
5394
        (cfg-ml-pos.in invocation): Likewise.
5395
 
5396
Fri Sep 22 11:43:44 1995  J.T. Conklin  
5397
 
5398
        * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
5399
        s_isnan.o and sf_isnan.o.
5400
 
5401
Wed Sep 20 14:50:19 1995  Ian Lance Taylor  
5402
 
5403
        * All Makefile.in files: added maintainer-clean target as a
5404
        synonym for realclean.
5405
 
5406
Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
5407
 
5408
        * libc/include/machine/setjmp.h: Add hppa support.
5409
        * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
5410
        support.
5411
        * libc/machine/hppa/Makefile.in: Related changes.
5412
 
5413
Tue Sep 19 12:09:01 1995  J.T. Conklin  
5414
 
5415
        * configure.in (machine_dir): Don't set for v810-*-*.
5416
 
5417
Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5418
 
5419
        * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
5420
        conventions correctly.
5421
 
5422
Thu Sep 14 13:37:22 1995  J.T. Conklin  
5423
 
5424
        * libc/stdio/puts.c: Update documentation of return value to match
5425
        ANSI standard.
5426
 
5427
Thu Sep 14 01:52:37 1995  Doug Evans  
5428
 
5429
        Fix file descriptor inheritance.
5430
        * libc/sys/win32/syscalls.h (CHILD_P): Define again.
5431
        (NOT_OPEN_FD): Fix.
5432
        * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
5433
        close-on-exec flag not set.  Initialize child's entire fd table.
5434
        * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
5435
        CHILD_P.
5436
        * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
5437
        if CHILD_P.  Initialize entire hmap entry.
5438
        (dup): Only create new handle as inheritable if CHILD_P.
5439
        (dup2): Likewise.  Properly initialize hmap entry.
5440
 
5441
        * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
5442
        _spawn.
5443
        (_exit): Use CHILD_P.
5444
        * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
5445
        (_stat): Likewise.
5446
 
5447
Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5448
 
5449
        * libc/sys/win32/crt0.c (passover): fix up the state table.
5450
        * libc/posix/popen.c: Added.
5451
        * libc/posix/Makefile.in: compile popen.c.
5452
 
5453
Mon Sep 11 11:43:38 1995  J.T. Conklin  
5454
 
5455
        * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
5456
        h8/500 define _DOUBLE_IS_32BITS.
5457
 
5458
Sat Sep  9 17:55:54 1995  Doug Evans  
5459
 
5460
        Get vfork/exec/spawn/cwait/wait working again.
5461
        * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
5462
        (procinfo): New member vfork_level.
5463
        * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
5464
        (vfork_init_first): Use GetCurrentProcessId to get pid.
5465
        Initialize vfork_level.
5466
        (vfork_init): Delete __PID__.
5467
        (environ_init): New function.  Undo patch of Aug 19, Posix says
5468
        environment variables are case sensitive.
5469
        (mainCRTStartup): Call it.
5470
        * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
5471
        (my_longjump: Make static.
5472
        (_spawn): New argument `h'.  Delete setting of __PID__.
5473
        Delete local `idx'.  Look for chars that need quotes, rather than
5474
        ones that don't.  Set handle of created process in `h'.
5475
        Result is process id if created task.
5476
        (allocate_spawn_entry): New function.
5477
        (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
5478
        (_execve): Set __FD_TABLE__ before spawning child.
5479
        Scan our fd table when passing fds, not our parent's.
5480
        Store handle and pid in procinfo entry.
5481
        (vfork0): Ensure strace message always printed.
5482
        Set child pid to VFORK_NEWBORN_PSEUDO_PID.
5483
        (vfork): Don't clobber result of vfork0.
5484
        * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
5485
        (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
5486
 
5487
        * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
5488
        and `exit_code'.
5489
        * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
5490
        (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
5491
        adding vfork level to pseudo-pid.
5492
        (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
5493
        (spawnvp, spawnv, _execve): Set handle_valid_p if success.
5494
        (_exit): If child, set exit code.
5495
        (__vfork_record_death): Only close process handle if valid.
5496
        * libc/sys/win32/wait.c (wait_for_single): Watch for children that
5497
        didn't exec.
5498
        (wait_for_any): Likewise.  Start scan after root entry.
5499
 
5500
Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
5501
 
5502
        * libc/include/sys/types.h (off_t): off_t back to 32 bits.
5503
        * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
5504
        * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
5505
        of actual file length.
5506
 
5507
        * libc/sys/win32/sys/wait.h: include .
5508
        * libc/include/paths.h: _PATH_BSHELL added.
5509
        * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
5510
        and STDERR_FILENO.
5511
 
5512
Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
5513
 
5514
        * libc/include/ar.h: Added.
5515
        * libc/include/sys/types.h: ino_t goes back to 32-bits.
5516
        * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
5517
        * libc/sys/win32/syscalls.c (_open): compute .namehash based
5518
        on filename.
5519
        (_fstat): use .namehash for inode number of the fd.
5520
 
5521
Thu Sep  7 12:57:19 1995  steve chamberlain  
5522
 
5523
        * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
5524
         Change hinfo to __this_procinfo.
5525
        * libc/sys/win32/crt0.c: Remove procinfo_list.
5526
 
5527
Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5528
 
5529
        * libc/include/sys/types.h (ino_t): Define ino_t correctly for
5530
        win32 environment.
5531
 
5532
Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
5533
 
5534
        * libc/sys/win32/include/grp.h: Removed.
5535
        * libc/sys/include/grp.h: Added.
5536
        * libc/sys/win32/grp.c: Include .
5537
 
5538
Wed Sep  6 16:52:48 1995  steve chamberlain  
5539
 
5540
        * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
5541
        (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
5542
        Defined for all but strict ANSI.
5543
        * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
5544
        * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
5545
        * libc/signal/signal.c (_signal_r): Changed from using
5546
        _MAX_SIGNALS to NSIG.
5547
        * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
5548
         __hmap): Deleted.
5549
        (__strace, __vfork_next_pid): New.
5550
        (__exe_suffix): Default to 1.
5551
        (passover, table): Understand quoted arguments.
5552
        (vfork_init_first): New.
5553
        (vfork_init): Initialize new process structure.
5554
        (mainCRTStartup): Pass environ to main.
5555
        * exceptions.c (__sig_mask): New
5556
        (ehandler3): Ignore signals in mask.
5557
        (really_exit): Remove CHILD_P test.
5558
        * pipe.c (pipe, dup, dup2): Use new process and file structure.
5559
        * resource.c (getrusage): Ditto.
5560
        * signal.c (sigprocmask): New.
5561
        * spawn.c (*): Rewritten.
5562
        * syscalls.c (*): Use new process and file structure.
5563
        (find_unused_handle): New.
5564
        * syscalls.h (MAX_HANDLES): Deleted.
5565
        (hinfo): Removed child_created_p.
5566
        (MAX_CHILDREN): Deleted.
5567
        (vfork_jmp_info, procinfo): New.
5568
        * wait.c (*): Mostly new.
5569
        * sys/strace.h (_STRACE_PARANOID): New.
5570
        * sys/param.h: New file.
5571
 
5572
Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5573
 
5574
        * libc/include/sys/stat.h: add S_BLKSIZE.
5575
        * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
5576
        * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
5577
        types under win32.
5578
        (mode_t): add a #else to avoid multiple definitons.
5579
 
5580
        * libc/sys/win32/Makefile.in: add grp.c.
5581
        * libc/sys/win32/grp.c: include grp.h correctly.
5582
        * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
5583
        of the st structure with real information.
5584
        * libc/sys/win32 (dirent): d_ino is of type ino_t.
5585
 
5586
Wed Sep  6 10:41:34 1995  Doug Evans  
5587
 
5588
        * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
5589
        and (maybe) sparc64.
5590
        (nlink_t): Provide typedef.
5591
 
5592
Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
5593
 
5594
        * libc/sys/win32/grp.c: New file.
5595
        * libc/sys/win32/include/grp.h: New file.
5596
 
5597
Tue Sep  5 13:47:27 1995  J.T. Conklin  
5598
 
5599
        * libc/include/machine/ieeefp.h: Added whitespace to make this
5600
        file easier to maintain.
5601
        On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
5602
        depending on the value of __LITTLE_ENDIAN__.
5603
        On the sh3e, define _DOUBLE_IS_32BITS.
5604
 
5605
Fri Sep  1 15:35:18 1995  James G. Smith  
5606
 
5607
        * libc/sys/vr4300/syscalls.c: Added missing support
5608
        routines. _raise() and getpid().
5609
 
5610
Fri Sep  1 14:12:48 1995  James G. Smith  
5611
 
5612
        * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
5613
 
5614
Fri Sep  1 08:42:11 1995  James G. Smith  
5615
 
5616
        * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
5617
        and VR4300 processor.
5618
        * libc/sys/vr4300: Add directory.
5619
        * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
5620
        monitor run-time support.
5621
 
5622
Thu Aug 31 09:16:52 1995  J.T. Conklin  
5623
 
5624
        * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
5625
        * libc/stdlib/stdlib.tex: Don't include atol.def.
5626
 
5627
Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5628
 
5629
        * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
5630
 
5631
Wed Aug 30 10:48:08 1995  steve chamberlain  
5632
 
5633
        * libc/ctype/Makefile.in: Fill in _to* dependencies.
5634
 
5635
Tue Aug 29 17:14:29 1995  steve chamberlain  
5636
 
5637
        * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
5638
        * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
5639
        * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
5640
        * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
5641
        * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
5642
 
5643
Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5644
 
5645
        * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
5646
 
5647
Tue Aug 29 16:08:09 1995  J.T. Conklin  
5648
 
5649
        * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
5650
        * libc/stdlib/atoff.c: New file.
5651
        * libc/stdlib/atof.c (atoff): Moved to atoff.c.
5652
        * libc/stdlib/atoi.c (atol): Removed.
5653
        * libc/stdlib/atol.c: Removed duplicate documentation.
5654
 
5655
        * libc/include/ctype.h (_tolower, _toupper): Moved inside
5656
        #ifndef _STRICT_ANSI conditional.
5657
        * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
5658
        * libc/ctype/_tolower.c: New file.
5659
        * libc/ctype/_toupper.c: New file.
5660
        * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
5661
        * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
5662
        * libc/ctype/toascii.c (_toascii): Removed.
5663
 
5664
Tue Aug 29 12:17:32 1995  Doug Evans  
5665
 
5666
        * libc/sys/sparc64/sys/types.h: Deleted.
5667
 
5668
Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5669
 
5670
        * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
5671
        and recognize Windows_95 systems.
5672
 
5673
Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5674
 
5675
        * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
5676
        and passed fds should be opened in text mode.
5677
 
5678
Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
5679
 
5680
        * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
5681
        in __hmap, set to binary mode by default.
5682
 
5683
Tue Aug 22 14:12:37 1995  J.T. Conklin  
5684
 
5685
        * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
5686
        * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
5687
        vector 34.
5688
 
5689
Sat Aug 19 18:25:37 1995  steve chamberlain  
5690
 
5691
        * Makefile.in (install): Install all libraries found in the
5692
        top level.  If there's a sys//include directory,
5693
        install those headers into include.
5694
 
5695
        * libc/sys/win32/kernel.def351: Delete
5696
        * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
5697
        glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
5698
        lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
5699
        nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
5700
        ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
5701
        rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
5702
        uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
5703
        winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
5704
 
5705
        * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
5706
        * libc/sys/win32/crt0.c: Force all env names to upper case.
5707
        * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
5708
        * libc/sys/win32/*.c: Headers have moved.
5709
        * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
5710
        __vfork_child_idx is now __vfork_child_ptr.
5711
 
5712
        * posix/execvp (execvp): Don't crash if no PATH envname.
5713
 
5714
Fri Aug 18 12:22:59 1995  J.T. Conklin  
5715
 
5716
        * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
5717
        * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
5718
        through the _freelist instead of through the _reclaim list.
5719
        * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
5720
        * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
5721
        sources.
5722
 
5723
Thu Aug 17 11:03:27 1995  J.T. Conklin  
5724
 
5725
        * libc/machine/h8500/setjmp.S: New file.
5726
        * libc/include/machine/setjmp.h: Updated for H8/500.
5727
 
5728
Wed Aug 16 16:19:11 1995  steve chamberlain  
5729
 
5730
        * libc/sys/win32/syscalls.c (_open): More stracing.
5731
        (_stat): Open the file in O_BINARY.
5732
 
5733
Wed Aug 16 15:49:01 1995  J.T. Conklin  
5734
 
5735
        * libc/machine/h8300/setjmp.S: New file.
5736
        * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
5737
 
5738
Tue Aug 15 10:31:09 1995  Doug Evans  
5739
 
5740
        * libc/sys/win32/crt0.c (__exe_suffix): New global.
5741
        (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
5742
        * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
5743
        __exe_suffix.  Free fd_tab after setting env variable.
5744
        (spawnv,_execve): Update.
5745
        * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
5746
        * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
5747
        (__small_vfprintf): New function.
5748
        * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
5749
        * libc/sys/win32/wait.c (cwait): Validate argument.
5750
 
5751
        * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
5752
        (process_deletion_queue): Likewise.
5753
 
5754
        * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
5755
 
5756
Mon Aug 14 10:14:10 1995  steve chamberlain  
5757
 
5758
        * libc/sys/win32: Copyrights and gratuitous indenting.
5759
 
5760
Mon Aug 14 01:32:58 1995  Doug Evans  
5761
 
5762
        * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
5763
        (process_deletion_queue): Likewise.
5764
        (__close_all_files): New function.
5765
        (_close): Only queue file deletion if really a file.
5766
        * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
5767
        _P_APPEND_EXE.
5768
        (_exit): Call __close_all_files.
5769
 
5770
        * libc/stdlib/system.c: #include .
5771
        (_system_r): Fix results in -DNO_EXEC case.
5772
 
5773
        * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
5774
        Reorganize structure.
5775
        * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
5776
        if argument is valid.  Save directory name in DIR.  malloc space
5777
        for dirent struct separately.
5778
        * libc/sys/win32/syscalls.c (stat): Fix test for directory.
5779
 
5780
        * libc/include/errno.h (ENAMETOOLONG): Define.
5781
        * libc/string/strerror.c (strerror): Reword ENFILE.
5782
        Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
5783
 
5784
Sun Aug 13 22:42:25 1995  Doug Evans  
5785
 
5786
        * libc/sys/win32/crt0.c (__progname): New global.
5787
        (mainCRTStartup): Support strace=bitmask,filename.
5788
        * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
5789
        * libc/sys/win32/syscalls.c (_write): Print parent trace message
5790
        if error.
5791
        (getcwd): Handle len too small.  Convert '\\' to '/'.
5792
        * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
5793
        Add prototypes for open, creat, fcntl.
5794
        (O_APPEND): Change value to conform to Microsoft's value.
5795
        * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
5796
 
5797
        * libc/stdlib/getopt.c: New file.
5798
        * libc/stdlib/Makefile.in: Build it.
5799
 
5800
Sat Aug 12 12:17:14 1995  Doug Evans  
5801
 
5802
        * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
5803
        Fix scanning of $PATH.
5804
        * libc/posix/exec*.c: Call _execve, not execve.
5805
        * libc/posix/execve.c: New file.
5806
        * libc/posix/Makefile.in (OFILES): Add execve.o.
5807
 
5808
        * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
5809
        _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
5810
        (_STRACE): If level==0, always print.  Handle new bit mask scheme.
5811
        * libc/sys/win32/crt0.c: Update _STRACE calls.
5812
        * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
5813
 
5814
        * libc/sys/win32/smallprint.c (rn): Fix digit list.
5815
 
5816
        * libc/sys/win32/syscalls.c (__really_exit): Move from here,
5817
        * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
5818
        * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
5819
        Print __seterrno trace message first.
5820
        (_execve): Renamed from execve.
5821
        (vfork): Update __strace usage.
5822
        (__vfork_child_pid): Deleted.
5823
        (__vfork_children, __vfork_child_idx): New globals.
5824
        (_spawnvp): New function.
5825
        (spawnvp, spawnv, _execve): Call _spawnvp.
5826
        (init_child): Record child in __vfork_children.
5827
        (__vfork_get_entry, __vfork_record_death): New functions.
5828
        * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
5829
        * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
5830
        * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
5831
        (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
5832
        (children): New typedef.
5833
        (__vfork_children,__vfork_child_idx): Declare.
5834
        (__vfork_get_entry,__vfork_record_death): Declare.
5835
        * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
5836
        (waitpid): Handle pid == -1.
5837
        * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
5838
        * configure.in (i386-win32): Add -DNO_FORK.
5839
        * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
5840
        * libc/reent/execr.c (_fork_r): Likewise.
5841
        * libc/stdlib/system.c (do_system): New function.
5842
        If WIN32, try to get shell path from $SH_PATH, use vfork.
5843
        (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
5844
        otherwise return 0.
5845
 
5846
Sat Aug 12 11:08:00 1995  steve chamberlain  
5847
 
5848
        * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
5849
        * libc/sys/win32/fcntl.h: Don't include self.
5850
        * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
5851
        * libc/sys/win32/sys/winbase.h: (GetUserName) New.
5852
        * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
5853
        * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
5854
        SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
5855
        Correct prototypes.
5856
        * libc/sys/win32/strace.c: New file.
5857
        * libc/sys/win32/smallprint.c: New file.
5858
        * libc/sys/win32/crt0.c (func): Delete.
5859
        (mainCRTStartup): Fix alloca usage.  Set handles explictly.
5860
        * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
5861
        * libc/sys/win32/exceptions.c: Lint.
5862
        * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
5863
        Clean up handle usage.
5864
        * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
5865
        (open.c): Default file type is text.
5866
        * libc/sys/win32/uname.c (uname): Use __small_sprintf.
5867
        * libc/sys/win32/advapi32.def: New
5868
 
5869
Fri Aug 11 17:11:52 1995  Doug Evans  
5870
 
5871
        * configure.in (posix_dir, libc_posix_lib): New variables.
5872
        Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
5873
        (i[345]86-*-win32): Define posix_dir.
5874
        Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
5875
        (if unix_dir): Fix typo.
5876
        * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
5877
        scandir,seekdir,telldir}: New files.
5878
        * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
5879
        from libc/unix.
5880
        * libc/Makefile.in (LIBC_POSIX_LIB): Define.
5881
        (SUBDIRS): Add posix.
5882
        (SUBLIBS): Add $(LIBC_POSIX_LIB).
5883
 
5884
        * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
5885
        (NSIG): Increase to 21.
5886
        * libc/include/sys/unistd.h (pid_t): Move from here,
5887
        * libc/include/sys/types.h (pid_t): to here.
5888
 
5889
        * libc/sys/win32/syscalls.h: #include "sys/strace.h".
5890
        (__ptrace): Delete.
5891
        (hinfo): New members close_exec_p, child_created_p.
5892
        (struct exception_list): Define.
5893
        (__hmap): Redefine as pointer to table.
5894
        (__parent_hmap, __child_hmap): New globals.
5895
        (__set_errno, __really_exit): Declare.
5896
        (__vfork_child_pid): Declare.
5897
        * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
5898
        (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
5899
        (__parent_hmap, __child_hmap): New globals.
5900
        (__hmap): Redefine as pointer to active map.
5901
        (__get_console): New function.
5902
        (mainCRTStartup): Change leading '=' in environ vars to '!'.
5903
        (env __FD_TABLE__): Watch for this and initialize our fd/handle
5904
        mapping table from it if defined.
5905
        (argv, envp): Dump if __strace >= 4.
5906
        (main): Call here.
5907
        * libc/sys/win32/exceptions.c (myp): Redefine.
5908
        (__syscalls_b): Delete.
5909
        (__stack_trace): New function.
5910
        (ehandler3): Update to use _STRACE.  Print stack trace.
5911
        Call __really_exit instead of exit.
5912
        (init_exceptions): Delete args argc,argv.  New arg mine.
5913
        * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
5914
        FindFirstFileA, FindNextFileA, GetComputerNameA,
5915
        GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
5916
        * libc/sys/win32/signal.c (signal): Validate arg.
5917
        (alarm, sleep): Define as stubs for now.
5918
        * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
5919
        (__syscalls_b, errno): Delete.
5920
        (__vfork_child_pid, __vfork_jmp_buf): New globals.
5921
        (__seterrno): Handle more errors.
5922
        (__sys_printf): Renamed from _ptrace.
5923
        (__really_exit): New function.
5924
        (queue_file_deletion, process_deletion_queue): New functions.
5925
        (__resume_parent): New function.
5926
        (_unlink): Handle trying to delete open file.
5927
        (__totime_t): Renamed from totime_t.
5928
        (setsid, __read, __write): New functions.
5929
        (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
5930
        * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
5931
        times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
5932
        * libc/sys/win32/console.c: Update to new definition of __hmap.
5933
        * libc/sys/win32/Makefile.in: Build new files.
5934
        * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
5935
        * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
5936
        * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
5937
        * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
5938
 
5939
Thu Aug 10 16:32:52 1995  Doug Evans  
5940
 
5941
        * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
5942
 
5943
Thu Aug 10 12:07:38 1995  J.T. Conklin  
5944
 
5945
        * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
5946
        have been made to the master dtoa.c sources (from netlib.att.com)
5947
        since they were integrated into newlib in early 1992.  Fixes
5948
        problems with storage leaks and handling of numbers with very
5949
        negative exponents.
5950
 
5951
Wed Aug  9 14:18:39 1995  J.T. Conklin  
5952
 
5953
        * Makefile.in (all): set rootpre and srcrootpre before calling
5954
        sub-makes.
5955
 
5956
Tue Aug  8 17:20:45 1995  steve chamberlain  
5957
 
5958
        * libc/sys/win32/crt0.c: Change __hmap usage.
5959
        * libc/sys/win32/exceptions.c: Use _ptrace call.
5960
        * libc/sys/win32/syscalls.c: Use _ptrace call.
5961
        (read, write): Cope with DOS style CRLF when in TEXT mode.
5962
        * libc/sys/win32/syscalls.h: Declare hinfo struct.
5963
        * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
5964
        * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
5965
        * libc/sys/win32/sys/windows.h: Fill in rest of messages.
5966
        * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
5967
 
5968
Mon Aug  7 13:04:54 1995  J.T. Conklin  
5969
 
5970
        * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
5971
 
5972
        * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
5973
        wrappers for hypot() and remainder() for BSD libm compatibility.
5974
        These are public domain implementations written by me for the
5975
        NetBSD libm some time ago.  Note cabs() is required by ucbtest.
5976
        * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
5977
        (fobj): Added wf_cabs.o and wf_drem.o.
5978
 
5979
Thu Aug  3 08:13:05 1995  J.T. Conklin  
5980
 
5981
        * libc/sys/h8500hms/misc.c: New file.
5982
        * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
5983
 
5984
Wed Aug  2 16:46:27 1995  J.T. Conklin  
5985
 
5986
        * libc/time/localtime.c (localtime): Fix problem with leap year
5987
        handling.  Stole algorithm from Arthur David Olson's tz code.
5988
 
5989
Mon Jul 31 10:21:54 1995  steve chamberlain  
5990
 
5991
        * configure.in: (z8k-*sim): Renamed z8k-*-coff.
5992
 
5993
        * libc/sys/z8ksim/glue.c (_getpid, _kill): New
5994
        (_exit): Use argument.
5995
 
5996
Fri Jul 28 15:17:04 1995  Doug Evans  
5997
 
5998
        * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
5999
 
6000
Wed Jul 26 16:24:19 1995  steve chamberlain  
6001
 
6002
        * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
6003
 
6004
Mon Jul 24 13:42:52 1995  J.T. Conklin  
6005
 
6006
        * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
6007
        target_cflags.
6008
 
6009
Mon Jul 24 11:42:07 1995  steve chamberlain  
6010
 
6011
        * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
6012
        ptrace with case insensitivity
6013
        * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
6014
        sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
6015
        New files.
6016
 
6017
Fri Jul 21 11:22:26 1995  Doug Evans  
6018
 
6019
        * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6020
        (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
6021
        (all, install, *clean): Use new multilib support.
6022
        * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6023
 
6024
Fri Jul 21 07:11:42 1995  steve chamberlain  
6025
 
6026
        * libc/include/sys/signal.h (__WIN32__): New.
6027
 
6028
        * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
6029
 
6030
        * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
6031
        (ulp, b2d): Handle 32 bit doubles.
6032
        * libc/stdlib/mprec.h:  Handle 32 bit doubles.
6033
        * libc/stdlib/strtod.c (_strtod_r): Ditto.
6034
 
6035
Fri Jul 14 08:24:58 1995  steve chamberlain  
6036
 
6037
        from medp@primag.co.uk:
6038
        * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
6039
        dynamically allocated buffers.
6040
 
6041
Thu Jul 20 10:11:03 1995  Fred Fish  
6042
 
6043
        * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
6044
        * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
6045
 
6046
Thu Jul 20 10:16:25 1995  Michael Meissner  
6047
 
6048
        * configure.in (powerpc): Fix previous fix.
6049
 
6050
Wed Jul 19 14:08:55 1995  Michael Meissner  
6051
 
6052
        * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
6053
        directories for this target.
6054
 
6055
Wed Jul 19 00:34:30 1995  Jeffrey A. Law  
6056
 
6057
        * configure.in (hppa): Add machine_dir definition.
6058
        * libc/machine/hppa: New directory with PA specific implementations
6059
        of the basic memory/string functions.
6060
 
6061
Tue Jul 18 21:16:00 1995  Michael Meissner  
6062
 
6063
        * configure.in: Update current PowerPC multilib directories.
6064
        Split big and little endian configurations.
6065
 
6066
Tue Jul 18 11:55:33 1995  Ian Lance Taylor  
6067
 
6068
        * configure.in: Add --enable-single-float option to configure to
6069
        control use of MIPS single-float directories.  Default to yes.
6070
 
6071
        * Makefile.in (all): Don't recurse into multilib directory if it
6072
        does not exist.
6073
 
6074
Mon Jul 17 15:51:30 1995  J.T. Conklin  
6075
 
6076
        * libc/sys/sh/syscalls.c: Fix typo.
6077
 
6078
Mon Jul  3 14:38:52 1995  Steve Chamberlain  
6079
 
6080
        * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
6081
        Pass down DLLTOOL.
6082
        * libc/include/process.h: Define WAIT_CHILD.
6083
        * libc/include/types.h: Get sizes right for win32.
6084
        * configure.in (i386-*-pe): Becomes i386-win32.
6085
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6086
        wintypes.h,sys/file.h,sys/resource.h}: Second pass.
6087
        * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
6088
        is defined.
6089
 
6090
Wed Jun 28 18:34:54 1995  Steve Chamberlain  
6091
 
6092
        * configure.in (i[345]86-*-pe):  New target (NT).
6093
        * host/any: DLLTOOL new.
6094
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6095
        wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
6096
        WIN32 (just enough to cross host the comp-tools).
6097
 
6098
Thu Jun 22 11:45:18 1995  Doug Evans  
6099
 
6100
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
6101
        Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
6102
 
6103
Mon Jun 19 11:40:40 1995  Doug Evans  
6104
 
6105
        * libc/include/machine/ieeefp.h (arm): Change to always be
6106
        __IEEE_BIG_ENDIAN (even on little endian ARM's).
6107
 
6108
Thu Jun  8 14:22:28 1995  Steve Chamberlain  
6109
 
6110
        * libc/sys/crt0.S: Initialze sp, and call exit after main.
6111
        * libc/sys/syscalls.c (abort): New.
6112
        * configure.in (arm): Define ABORT_PROVIDED.
6113
 
6114
Wed Jun  7 14:04:35 1995  J.T. Conklin  
6115
 
6116
        * configure.in (powerpc): Define multidirs.
6117
 
6118
Mon Jun  5 16:10:13 1995  Doug Evans  
6119
 
6120
        * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
6121
 
6122
Thu Jun  1 10:51:47 1995  Sean Eric Fagan 
6123
 
6124
        * configure.in (sparclite): Delete target_cflags.  Define multidirs.
6125
 
6126
Wed May 24 14:23:25 1995  Steve Chamberlain  
6127
 
6128
        * configure.in, libc/include/machine/ieeefp.h: Modified
6129
        for arm:
6130
        libc/machine/arm/*, libc/sys/arm/*: New
6131
 
6132
Tue May 23 13:53:07 1995  J.T. Conklin  
6133
 
6134
        * libc/include/machine/ieeefp.h: Use __PPC__ instead of
6135
          __powerpc__ when determining endianness.
6136
 
6137
Wed May 10 07:55:56 1995  J.T. Conklin  
6138
 
6139
        * configure.in (m68*): Add multidir for the m68332.
6140
 
6141
        * host/any (CC): Fix typo in last change.
6142
 
6143
Fri Apr 14 22:20:31 1995  Ken Raeburn  
6144
 
6145
        * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
6146
        when determining endianness.
6147
        * libc/include/machine/ieeefp.h: Ditto.
6148
        * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
6149
        operands.
6150
 
6151
Fri Apr 14 14:14:29 1995  Doug Evans  
6152
 
6153
        * libc/include/errno.h (ENOTEMPTY): Define.
6154
 
6155
Thu Apr  6 12:21:20 1995  J.T. Conklin  
6156
 
6157
        * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
6158
          target_cflags.
6159
 
6160
        * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
6161
          and umultiply.o.
6162
 
6163
        * libc/stdio/tmpnam.c (worker): Unconditionally increment count
6164
          instead of only when open succeeds.  ANSI requires that multiple
6165
          calls to tmpnam() result in different files.
6166
 
6167
        * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
6168
          objects pulled in from /lib/libc.a that must be renamed before
6169
          being pulled into newlib.  /lib/libc.a's div.o conflicted with
6170
          newlib's file with the same name.
6171
 
6172
        * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
6173
 
6174
        * host/any (CC, AS, AR, RANLIB): Changed so that executables in
6175
          the build tree will only be used if the executables are present
6176
          (instead of just the Makefiles).
6177
 
6178
        * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
6179
          wcstombs): Define.
6180
        * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
6181
          versions of these functions that I orignally wrote for the
6182
          NetBSD C library.
6183
        * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
6184
          versions I wrote for NetBSD.
6185
 
6186
Wed Mar 29 12:42:42 1995  Kung Hsu  
6187
 
6188
        * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
6189
        * libc/sys/sparclite/crt0.s: ditto.
6190
 
6191
Tue Mar 28 20:28:03 1995  Rob Savoye  
6192
 
6193
        * configure.in: Add soft-float for proelf.
6194
 
6195
Mon Mar 27 12:07:56 1995  Steve Chamberlain  
6196
 
6197
        * libc/stdlib/mprec.h (Bcopy): Copy the right number
6198
        of bytes.
6199
 
6200
Mon Mar 27 11:24:22 1995  Doug Evans  
6201
 
6202
        * Makefile.in (all): Depend on `force'.
6203
        * configure.in (syscall_dir): Renamed from fake_sys_dir.
6204
        (libc_syscall_lib): Renamed from libc_fake_sys_lib.
6205
        (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
6206
        * libc/Makefile.in: Likewise.
6207
        * libc/include/reent.h: Update syscall references.
6208
        (_fcntl_r): Add prototype.
6209
        * libc/syscalls/*.c #include .
6210
        (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
6211
 
6212
Mon Mar 20 16:57:39 1995  Doug Evans  
6213
 
6214
        * libc/include/sys/stat-dj.h (S_ISBLK): Define.
6215
        (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
6216
        * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
6217
        (time.h, sys/types.h): Always include (even if MSDOS).
6218
        (stat): Fix prototype.
6219
 
6220
Fri Mar 10 11:30:38 1995  Ian Lance Taylor  
6221
 
6222
        * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
6223
 
6224
Mon Feb 27 18:00:39 1995  Jim Wilson  
6225
 
6226
        * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
6227
 
6228
Mon Feb 13 16:10:03 1995  Ian Lance Taylor  
6229
 
6230
        * libc/include/regdef.h: New file.
6231
        * libc/machine/mips/machine/regdef.h: New file.
6232
 
6233
Mon Feb  6 15:24:29 1995  Doug Evans  
6234
 
6235
        * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
6236
 
6237
Fri Jan 27 13:52:10 1995  Steve Chamberlain  
6238
 
6239
        * libc/sys/sh/crt0.S: Pass main's return to exit.
6240
        * libc/sys/sh/trap.S: Put errno in the right place.
6241
 
6242
Tue Jan 24 18:57:56 1995  Ian Lance Taylor  
6243
 
6244
        * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
6245
        from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
6246
        * libm/math/ef_rem_pio2.c: Likewise.
6247
        * libm/math/e_log10.c: Remove unused static one.
6248
        * libm/math/ef_log10.c: Likewise.
6249
        * libm/math/s_frexp.c: Likewise.
6250
        * libm/math/sf_frexp.c: Likewise.
6251
 
6252
Sun Jan 22 21:26:14 1995  Steve Chamberlain  
6253
 
6254
        * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
6255
        longjmp.S: Upgraded.
6256
        * libc/sys/go32/sys/setjmp.h: Upgraded.
6257
        * libc/sys/go32/sys/go32.h, dpmi.h: New files.
6258
 
6259
Fri Jan 20 18:33:18 1995  Ian Lance Taylor  
6260
 
6261
        * configure.in: Add many entries to multidirs for mips targets.
6262
 
6263
Wed Jan 18 10:19:25 1995  J.T. Conklin  
6264
 
6265
        * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
6266
          5.2 which fixes bug where jn(-1,x) is three times larger than
6267
          the actual answer.
6268
        * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
6269
 
6270
Sun Jan 15 21:48:58 1995  Steve Chamberlain  
6271
 
6272
        * libc/sys/w65/sys/syscalls.h: New file
6273
        * libc/include/machine/ieeefp.h: W65 support.
6274
        * libc/include/sys/config.h: Ditto.
6275
        * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
6276
        sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
6277
        * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
6278
 
6279
Wed Jan 11 15:59:01 1995  Ian Lance Taylor  
6280
 
6281
        * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
6282
 
6283
Tue Jan  3 15:57:03 1995  Rob Savoye  
6284
 
6285
        * Makefile.in, configure.in: Remove any references to the old
6286
        "stub" dir.
6287
 
6288
Thu Dec 22 10:42:08 1994  Ian Lance Taylor  
6289
 
6290
        * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
6291
        uses ... in prototype.
6292
 
6293
 
6294
Wed Nov 30 08:39:42 1994  Ian Lance Taylor  
6295
 
6296
        * libc/sys/a29khif/sys/libconfig.h: Remove.
6297
        * libc/sys/go32/sys/libconfig.h: Remove.
6298
        * libc/sys/sun4/sys/libconfig.h: Remove.
6299
        * libc/sys/sysvi386/sys/libconfig.h: Remove.
6300
        * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
6301
        * libc/sys/sparc64/sys/libconfig.h: Remove.
6302
 
6303
        * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
6304
        * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
6305
        * libc/include/math.h: Change all uses of _FLOAT_RET and
6306
        _FLOAT_ARG to float.
6307
        * libm/test/math.c: Likewise.
6308
        * testsuite/libm.sac/math.c: Likewise.
6309
        * testsuite/libm.sac/working/math.c: Likewise.
6310
 
6311
Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
6312
 
6313
        * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
6314
        gcc calls gas with endian option.
6315
        * configure.in (sh): Build little endian version too.
6316
 
6317
Wed Nov 16 18:21:45 1994  Ian Lance Taylor  
6318
 
6319
        * configure.in: Configure big and little endian versions for MIPS
6320
        targets.
6321
 
6322
Sat Nov 12 21:12:51 1994  Doug Evans  
6323
 
6324
        * libc/include/limits.h: Deleted.
6325
        * libc/include/machine/limits.h: Deleted.
6326
 
6327
Thu Nov 10 15:32:44 1994  Rob Savoye  
6328
 
6329
        * ChangeLog: Remove stub directory. This has all been rewritten
6330
        and moved to devo/libgloss.
6331
 
6332
Thu Sep 29 18:31:04 1994  Ian Lance Taylor  
6333
 
6334
        * Makefile.in (dvi): Add to info target, use $@ in sub make.
6335
        (docs): Merge into info target.
6336
        * libm/Makefile.in (dvi): Add $(srcdir).
6337
        * libm/math/Makefile.in (chobjs): Remove underscores from file
6338
        names.  Texinfo doesn't like them.
6339
        (wacos.def, ...): Add explicit targets for all .def files.
6340
        * libm/math/math.tex: Remove underscores from @include file names.
6341
        * doc/Makefile.in (dvi): Add dummy target.
6342
        * testsuite/Makefile.in (dvi): Add dummy target.
6343
 
6344
Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
6345
 
6346
        * Makefile.in (VERSION): Define.  For net newlib releases.
6347
 
6348
Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
6349
 
6350
        * README: New file.
6351
 
6352
Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
6353
 
6354
        * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
6355
 
6356
Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6357
 
6358
        * libc/stdlib/setenv.c (_findenv): Declare.
6359
 
6360
        * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
6361
        fcntl to not use _EXFUN, and change string parameters to open and
6362
        creat to be ``const char *''.
6363
        * libc/sys/sparc64/sys/fcntl.h: Likewise.
6364
        * libc/sys/sparc64/creat.c (creat): Make PATH const.
6365
        * libc/syscalls/sysopen.c: Include .
6366
        (open) Make _FILE const.
6367
        * libc/sys/z8ksim/glue.c (_open): Make BUF const.
6368
        (_creat): Make PATH const.
6369
        * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
6370
        * libc/sys/h8500hms/syscalls.c (_open): Likewise.
6371
        * libc/sys/m88kbug/syscalls.c (open): Likewise.
6372
        * libc/sys/sh/syscalls.c (_open): Likewise.
6373
        * stub/shared/glue.c (open): Make BUF const.
6374
        * stub/ex93x/syscalls.c (open): Make FILENAME const.
6375
 
6376
Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
6377
 
6378
        * libc/include/errno.h: Add ENMFILE
6379
        * libc/include/sys/config.h: Support Z8000.
6380
        * libc/include/sys/signal.h: New signals for go32.
6381
        * libc/machine/h8500/psi.S (__addpsir0r0): New function
6382
        * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
6383
        * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
6384
        * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
6385
        size is variable, depending upon CHUNK_POWER.
6386
        * libc/sys/go32/*.c: Upgrade to new go32 stuff.
6387
 
6388
Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
6389
 
6390
        * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
6391
 
6392
Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6393
 
6394
        * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
6395
 
6396
Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6397
 
6398
        * configure.in: Change i[34]86 to i[345]86.
6399
 
6400
        * libc/include/math.h: Don't define HUGE_VAL if it is already
6401
        defined.
6402
 
6403
Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6404
 
6405
        * testsuite/libm.sac/test_erfc.c: Correct some result values.
6406
        * testsuite/libm.sac/test_gammaf.c: Likewise.
6407
        * testsuite/libm.sac/test_sin.c: Likewise.
6408
        * testsuite/libm.sac/test_tanh.c: Likewise.
6409
 
6410
Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6411
 
6412
        * libc/include/machine/ieeefp.h: Don't try set endianness if it is
6413
        already set.  Define typedefs __int32_t and __uint32_t.
6414
        * libc/include/math.h: Include .
6415
        (union __dmath): Use __uint32_t.
6416
        * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
6417
        instead of int and unsigned int.
6418
 
6419
Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6420
 
6421
        Replace the math library with the SunPRO fdlibm package.
6422
        * libm/math: Completely changed all files.
6423
        * libm/ieeefp: Remove contents and directory.
6424
        * libm/Makefile.in (LIBM_FP_LIB): Remove.
6425
        (SUBDIRS): Just set to math/lib.a.
6426
        * libm/libm.texinfo: Updated for new library.
6427
        * libc/include/math.h: Extensive changes for new math library.
6428
        * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
6429
        from _FLOAT_ARG to float.
6430
        (maxpowtwo, maxpowtwof): Don't declare.
6431
        * configure.in (fp_dir): Removed; was always ieeefp anyhow.
6432
        (libm_fp_lib): Removed.
6433
        * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
6434
        * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
6435
        argument to ${RUNTEST}.
6436
        * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
6437
        (.c.o): New rule.
6438
        (RUNTESTFLAGS): Set CC and CFLAGS.
6439
        (TESTS): Remove test_log2 and test_log2f.
6440
        (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
6441
        * testsuite/libm.sac/math.c (run_vector_1): Use float, not
6442
        _FLOAT_ARG, for single precision argument type.
6443
        * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
6444
        expected failure.  Close the input pipe.
6445
        * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
6446
        Correct misspelling of inaccurate.
6447
        (test_mok): Use ``inaccurate'', not ``wrong''.
6448
        * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
6449
        test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
6450
        test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
6451
        test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
6452
        test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
6453
        test_yn.c): Correct many result values.  Many are still wrong.
6454
 
6455
        * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
6456
        just copy the string.
6457
        (_gcvt): Always return the buffer.
6458
 
6459
Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
6460
 
6461
        * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
6462
 
6463
Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
6464
 
6465
        * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
6466
        structure.
6467
        (struct _reent): add _p5s, _cvtlen, _cvtbuf.
6468
        (_reclaim_reent): declare new entry point.
6469
        * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
6470
        functions.
6471
 
6472
        * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
6473
        ever allocated, so that we can later reclaim them all.
6474
        (pow5mult): make reentrant.
6475
 
6476
        * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
6477
        so that when given NULL as a buffer, return a pointer to static
6478
        space in the rent structure.  This is not documented behaviour;
6479
        it's only to support ecvt and fcvt, which aren't ANSI anyway.
6480
        * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
6481
        therefore become reentrant).
6482
 
6483
        * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
6484
 
6485
Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6486
 
6487
        * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
6488
 
6489
Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
6490
 
6491
        * Makefile.in: Make link to libg.a after libc.a; this is needed
6492
          for the testsuites to build executables when everything comes
6493
          from the tree.
6494
 
6495
Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
6496
 
6497
        * libc/Makefile.in: Add a VERSION variable so we can keep track.
6498
        * libm/Makefile.in: Add a VERSION variable so we can keep track.
6499
 
6500
Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
6501
 
6502
        * libc/include/stdio.h: Use __VALIST, not va_list.
6503
 
6504
Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
6505
 
6506
        * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
6507
        testsuite/libm.sac/execute.exp:
6508
          Replace error proc calls with perror calls.
6509
 
6510
Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
6511
 
6512
        * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
6513
        * libc/include/time.h: #define NULL as 0L.
6514
 
6515
Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
6516
 
6517
        * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
6518
        care of it.
6519
 
6520
Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6521
 
6522
        * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
6523
        not __unix__.
6524
 
6525
Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
6526
 
6527
        * configure.in (TARGET_CFLAGS): Set -O2 as default.
6528
        (z8k-*-*): Use syscalls fake sys dir.
6529
        * libc/sys/z8k/glue.c: Rename syscalls.
6530
        * libc/sys/go32/Makefile.in: Use new routines.
6531
        * libc/machine/Makefile.in: Fix typo in ln stuff.
6532
 
6533
Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6534
 
6535
        * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
6536
        * libc/Makefile.in (crt0.o): Likewise.
6537
        * libc/machine/Makefile.in (lib.a): Likewise.
6538
        * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
6539
 
6540
        All Makefile.in files: Added mostlyclean, realclean and distclean
6541
        targets.
6542
 
6543
        * Makefile.in: Don't bother to unexport XTRAFLAGS or
6544
        XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
6545
        the top level Makefile.
6546
 
6547
Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
6548
 
6549
        * libc/sys/sparc64/sys/stat.h: New file.
6550
        * libc/sys/sparc64/sys/time.h: New file.
6551
        * libc/sys/sparc64/sys/types.h: New file.
6552
 
6553
Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
6554
 
6555
        * stub/ex93x/crt0.s (start): Add code to clear bss.
6556
 
6557
Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
6558
 
6559
        * libc/include/sys/types.h (time_t): Properly protect inside
6560
        #ifndef __time_t_defined.
6561
 
6562
        * libc/stdio/fileno.c: New file.
6563
        * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
6564
        (fileno.o): Add dependency.
6565
        * libc/include/stdio.h (__sgetc): Rename never to _never.
6566
        (fileno macro): Disable, needs to do CHECK_INIT first.
6567
 
6568
Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
6569
 
6570
        * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
6571
        goal.
6572
 
6573
        * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
6574
        * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
6575
        runtest.
6576
        * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
6577
        runtest.
6578
 
6579
Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
6580
 
6581
        * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
6582
        of the various constants.
6583
 
6584
Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
6585
 
6586
        * libc/include/math.h: #ifndef __math_68881 around things which
6587
        conflict with the (gcc-provided) inline functions in
6588
        gcc/ginclude/math-68881.h.
6589
 
6590
Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
6591
 
6592
        * libc/include/_syslist.h (_gettimeofday): Define.
6593
        (_times): Ditto.
6594
        * libc/include/reent.h: #include  to get _CLOCK_T_.
6595
        (struct tms, timeval, timezone): Declare.
6596
        (_gettimeofday_r, _times_r): Declare.
6597
        * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
6598
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
6599
        (time_t): Add multiple definition protection, __time_t_defined.
6600
        * libc/include/sys/time.h: Don't #include .
6601
        Always define struct timezone (remove #ifndef _TIME_H_).
6602
        * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
6603
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
6604
        * libc/reent/Makefile.in (OFILES): Add timer.o.
6605
        (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
6606
        * libc/reent/timer.c: New file.
6607
        * libc/time/clock.c: #include .
6608
        (clock): Call _times_r instead of times.
6609
        * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
6610
        HAVE_GET_TIME_OF_DAY.
6611
        Add comment regarding supporting OS routine(s) required (for docs).
6612
        #include .
6613
        (time): Call _gettimeofday_r instead of gettimeofday.
6614
        * libc/time/asctime.c: Fix comment regarding supporting OS routines.
6615
        * libc/time/ctime.c: Ditto.
6616
        * libc/time/strftime.c: Ditto.
6617
        * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
6618
        (TEMPLATE_SFILES_R): Define here.  Also define times.
6619
        Add times_r.o/times.S dependence.
6620
        (time2.c, junk.c): Deleted.
6621
        * libc/sys/sparc64/time2.c: Deleted.
6622
        * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
6623
 
6624
        * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
6625
        * libc/stdio/tmpnam.c (_getpid_r): Ditto.
6626
        * libc/sys/sparc64/junk.c: Deleted.
6627
 
6628
Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
6629
 
6630
        * libc/sys/sparc64/Makefile.in: Add times syscall.
6631
        * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
6632
        be used with and without it.  Add comment clarifying Medium/Anywhere
6633
        model requirements.
6634
        * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
6635
        * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
6636
        even if obsolete.
6637
 
6638
Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
6639
 
6640
        * configure.in (target_cflags): Move init.
6641
        (sparc64-*-*): Define HAVE_BLKSIZE.
6642
 
6643
Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
6644
 
6645
        * libc/include/sys/_types.h: New file.
6646
        * libc/include/reent.h: #include it.
6647
        Add comment describing REENTRANT_SYSCALLS_PROVIDED and
6648
        MISSING_SYSCALL_NAMES.
6649
        Sort syscalls.
6650
        * libc/include/_syslist.h: Remove _raise.
6651
        * libc/reent/signalr.c: New file.
6652
        * libc/reent/Makefile.in: Compile it.
6653
        * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
6654
        Add doc for raise and _raise_r.
6655
        * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
6656
        (raise): Call _raise_r.
6657
        (_raise_r): Call _getpid_r and _kill_r.
6658
        * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
6659
        (abort): Loop forever calling raise and _exit.
6660
 
6661
Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6662
 
6663
        * configure.in: Remove extraneous echo.
6664
 
6665
Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
6666
 
6667
        * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
6668
        collision with unistd.h, and fix for svr4.
6669
 
6670
Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
6671
 
6672
        * libc/stdio/local.h (_llicvt): Declare.
6673
        (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
6674
        * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
6675
        (_llicvt): Define.
6676
        (_sicvt): Fix function header (`value' is short).
6677
        * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
6678
        Add printing of long long's support.
6679
        Add printing of 8 byte pointer support.
6680
 
6681
Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
6682
 
6683
        * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
6684
        stat, chmod): New hooks.
6685
        (sbrk): Abort if stack and heap collide.
6686
        * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
6687
        shortcut when given small args.
6688
        * libc/machine/sh/setjmp.s: Rewritten.
6689
        * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
6690
        of cmp/str instruction.
6691
 
6692
Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6693
 
6694
        * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
6695
        and machine_dir powerpc.
6696
        * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
6697
        Add cases for __powerpc__.
6698
        * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
6699
        New files.
6700
 
6701
        * libc/include/stdio.h (_iprintf_r): Declare correctly.
6702
 
6703
Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
6704
 
6705
        * libc/stdlib/callocr.c: New file with _calloc_r in it.
6706
        * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
6707
 
6708
Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
6709
 
6710
        * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
6711
        (print_e): More comments to describe args, etc.
6712
        "type" arg may now be 'g' or 'G' for %g/G format --> remove
6713
        trailing blanks.
6714
        (_gcvt): Remove locals decpt, sign, end, p, done.
6715
        More comments for print_e invocation.
6716
        Pass "type" to print_e as is (g/G).
6717
 
6718
Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
6719
 
6720
        * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
6721
        stock m68000.
6722
 
6723
Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
6724
 
6725
        * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
6726
        works with any sized pointer, including ones bigger than ints and
6727
        longs.
6728
 
6729
Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
6730
 
6731
        * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
6732
 
6733
Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6734
 
6735
        * libc/include/stdlib.h (_calloc_r): Add prototype.
6736
        * libc/machine/h8500/negsi2.c: New file.
6737
        * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
6738
        large unsigned numbers.
6739
        * libc/machine/h8500/cmpsi.c: Add cmppsi.
6740
        * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
6741
        works when sizeof(size_t) != sizeof(char *).
6742
        * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
6743
        get play area
6744
        * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
6745
 
6746
Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
6747
 
6748
        * libc/include/assert.h (assert): Handle -traditional.
6749
 
6750
Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
6751
 
6752
        * Makefile.in: added ; after every "fi" and "done" that wasn't at
6753
        the end of a line (ie. anything before a backslash continuation)
6754
        so that bash handles them.
6755
 
6756
Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
6757
 
6758
        * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
6759
        stat to lstat
6760
 
6761
Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
6762
 
6763
        * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
6764
        libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
6765
        libc/machine/sh/udivsi3.s: Use new calling convention.
6766
 
6767
Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
6768
 
6769
        * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
6770
        chmod, access, chdir, chown by making _path const. Also fix _amode
6771
        param of access.
6772
 
6773
Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
6774
 
6775
        * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
6776
        _khif_tmpnam, because it doesn't comply with ANSI but may be
6777
        useful anyway. Real tmpnam was already in libc/stdio, and was
6778
        colliding with this one (pr 2176.)
6779
        * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
6780
        the wrong idea anyhow.
6781
 
6782
Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
6783
 
6784
        * configure.in: Remove h8300h, we have multilib now.
6785
 
6786
Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
6787
 
6788
        * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
6789
        functions, to get preference over the ones in libiberty (since we
6790
        provide correct declarations in .
6791
        * libc/string/Makefile.in: add support for strncasecmp,
6792
        strcasecmp.
6793
 
6794
Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
6795
 
6796
        * Change netware config not to look for cpu explicitly.
6797
 
6798
Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
6799
 
6800
        * libc/sys/sparc64/{creat.c,junk.c}: New files.
6801
        * libc/sys/sparc64/Makefile.in: Add dependencies.
6802
 
6803
Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
6804
 
6805
        * configure.in: Clean up v9 a bit, new "os" aoutv8.
6806
 
6807
Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
6808
 
6809
        * libc/include/sys/reent.h: make structure smaller by allocating
6810
        some stuff when needed.
6811
        * libc/signal/signal.c: allocate as needed
6812
        * libc/stdio/findfp.c,stdio/local.h: ditto
6813
        * libc/stdlib/mprec.c: ditto
6814
 
6815
        * libc/time/localtime.c: don't return a dangling stack ptr.
6816
 
6817
Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
6818
 
6819
        * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
6820
 
6821
Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
6822
 
6823
        * libc/include/stdio.h (__sputc): comment out static inline which
6824
          confuses coff toolchains.
6825
 
6826
Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
6827
 
6828
        * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
6829
        _write.s, getpid.c, kill.c, read.s}:
6830
        * libc/sys/a29khif/stubs.s: eliminated stubs that already go
6831
        through the syscalls directory.
6832
 
6833
Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
6834
 
6835
        * configure.in: fixed double quote gotcha.
6836
 
6837
Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
6838
 
6839
        * stub/ex931: stub library for sparclite board.
6840
        * stub/idp: Renamed from mc68ec. Added contructor table
6841
        stuff to linker script.
6842
        * stub/mvme135: Renamed from m68kmvme. Added contructor table
6843
        stuff to linker script.
6844
 
6845
Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
6846
 
6847
        * configure.in: Configure testsuites only if they exist.
6848
 
6849
Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6850
 
6851
        * configure.in: Don't set machine_dir for i386 until there is
6852
        something in libc/machine/i386 to compile.  For i[34]86-*-netware*
6853
        use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
6854
        CLOCK_PROVIDED and MALLOC_PROVIDED.
6855
 
6856
        * libc/sys/netware: New directory.  Contains simplistic and
6857
        probably incorrect stubs for NetWare.  Should be enough to load
6858
        the library.
6859
        * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
6860
        libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
6861
        stub files.
6862
 
6863
        * libc/reent/execr.c: Don't use if NO_EXEC is defined.
6864
        * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
6865
        * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
6866
        * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
6867
 
6868
Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
6869
 
6870
        * testsuite/Makefile.in: add "docs" dummy target for consistency
6871
        with rest of newlib; turn "info" and "install-info" into dummy
6872
        targets, since they wouldn't have worked.  (Depended on
6873
        nonexistent "doc" subdir.)
6874
 
6875
Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
6876
 
6877
        * configure.in: handle mips* instead of mips
6878
 
6879
Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
6880
 
6881
        * libc/include/sys/dirent.h: New file.  If it is not overridden by
6882
        a version of libc/sys/*/sys/dirent.h, it includes the next
6883
         file in case there is one lurking somewhere.
6884
 
6885
Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6886
 
6887
        * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
6888
        compliance, namely: Accept a minus sign.  Consider a single 0 with
6889
        a radix of 0 as being a conversion.  Determine overflow correctly.
6890
        If an overflow occurs, set *ptr to the end of the number, not the
6891
        middle.
6892
        * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
6893
 
6894
Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
6895
 
6896
        * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
6897
 
6898
Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
6899
 
6900
        * Makefile.in (INSTALL): Use $srcrootpre.
6901
        (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
6902
        can't handle it.
6903
        * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
6904
        it.
6905
        * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
6906
        * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
6907
        * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
6908
        * libm/math/Makefile.in (matherr.o): Ditto.
6909
 
6910
Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
6911
 
6912
        * configure.in: Build multidirs for z8k.
6913
        * libc/include/stdlib.h (_strtoul_r): add prototype.
6914
        * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
6915
        * libc/include/machine/setjmp.h: Add for z8k.
6916
        * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
6917
        * libc/sys/z8ksim/glue.c: tidy up.
6918
 
6919
Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
6920
 
6921
        * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
6922
        New files.  Requires execve system call.
6923
        * libc/unix/Makefile.in: Use them.
6924
        * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
6925
        Deleted, moved to libc/unix.
6926
        * libc/sys/sparc64/Makefile.in: Remove them.
6927
 
6928
Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
6929
 
6930
        * libc/sys/sparc64/{template.S template_r.S}: New files.
6931
        * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
6932
        from templates.
6933
        * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
6934
        fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
6935
        umask.S unlink.S wait4.S write.S}: Removed, now built from
6936
        templates.
6937
 
6938
Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
6939
 
6940
        * libc/time/time.c: #include <_ansi.h>.
6941
 
6942
Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
6943
 
6944
        * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
6945
 
6946
Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
6947
 
6948
        * configure.in: match m8* rather than m88k so that m88110 is
6949
          recognized as well.
6950
 
6951
Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
6952
 
6953
        * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
6954
        Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
6955
        misc.c: New file.
6956
 
6957
        * configure.in: Add multilib support to h8300.
6958
 
6959
Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
6960
 
6961
        * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
6962
        * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
6963
        * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
6964
 
6965
Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6966
 
6967
        * configure.in: Corrected multidirs for sparc target.
6968
 
6969
Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
6970
 
6971
        Support for building newlib multiple times with different
6972
        compilation flags.
6973
        * configure.in: Only configure doc at top level.  Set multidirs
6974
        when appropriate for target, unless not at top level.  If
6975
        multidirs is set, independently configure each subdirectory.
6976
        Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
6977
        * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
6978
        automagically set by configure.in.
6979
        (all): If MULTIDIRS is set, build multiple copies of libraries.
6980
        (install): If MULTIDIRS is set, install multiple copies of
6981
        libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
6982
        MULTISUBDIR is set, don't bother to install header files.
6983
        * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
6984
        ${srcrootpre}.
6985
        * stub/configure.in: Set MULTISUBDIR appropriately.
6986
        * stub/Makefile.in (install): Install in
6987
        $(tooldir)/lib/$(MULTISUBDIR).
6988
        * All Makefile.in files: Define SRCTOP as well as TOP.
6989
 
6990
Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
6991
 
6992
        * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
6993
        * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
6994
 
6995
Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
6996
 
6997
        * libc/sys/h8300hms/exit.c (_exit): New function.
6998
 
6999
Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7000
 
7001
        * configure.in: recognize m88110.
7002
 
7003
Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7004
 
7005
        * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
7006
          prototype main and call with args.
7007
 
7008
Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
7009
 
7010
        First real try at system traps for m88k-bug.
7011
        * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
7012
          to real trap calls.
7013
        * libc/sys/m88kbug/sys/systraps.h: new file.
7014
 
7015
Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7016
 
7017
        Patches to fix info building when target does not use sys
7018
        directory.
7019
        * libc/Makefile.in (targetdep.tex): add sys.tex separately.
7020
        * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
7021
          libc/sys.tex.
7022
        * libc/sys/Makefile.in (doc): do nothing.
7023
 
7024
Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7025
 
7026
        * libc/Makefile.in (CRT0): new macro.
7027
          (all): depend on $(CRT0) rather than crt0.o.
7028
 
7029
        * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
7030
          do not default crt0, instead, set crt0 and crt0_dir based on
7031
          sys_dir and stub_dir.
7032
 
7033
        * Makefile.in (CRT0_DIR): new macro.
7034
          (all): depend on $(CRT0) rather than crt0.o which may not exist.
7035
          (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
7036
          $(CRT0).
7037
          ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
7038
 
7039
Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
7040
 
7041
        * testsuite/lib/libm.exp:
7042
                added code to support compiling and linking of tests for
7043
                libm.sac (paranoia to be added next) and processing the
7044
                pass or failure of the tests.
7045
 
7046
        * testsuite/config/unix-libm.exp:
7047
                platform specific proc's for dealing with compiler, linker
7048
                and the way we execute and process the test results.
7049
 
7050
        * testsuite/libm.sac/execute.exp:
7051
                generic framework for the sac tests. the config and lib
7052
                expect code for specific platforms tie it all together.
7053
 
7054
        * testsuite/libm.sac/test_is.c:
7055
                changed the output of the test to be consistant with the
7056
                other tests. parsing of pass nad fail messages is now fixed.
7057
 
7058
Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
7059
 
7060
        * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
7061
        locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
7062
        stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
7063
        #ifdef __cplusplus, surround by extern ""C { ... }.
7064
        * libc/include/assert.h:  Do *not* protect assert.h against
7065
        multiple inclusion!  Also, #undef it before #define, to allow
7066
        redefinition.
7067
        * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
7068
        should be only in unistd.h.
7069
 
7070
        * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
7071
        unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
7072
        ... }.
7073
 
7074
Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
7075
 
7076
        * libc/machine/sparc/Makefile.in: Must create a library, even
7077
        if empty.
7078
 
7079
Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7080
 
7081
        * configure.in: set machine_dir for m88k.  edit crt0 definition
7082
          into makefiles.
7083
 
7084
        * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
7085
 
7086
        * libc/Makefile.in (all): also build crt0.o.
7087
 
7088
        * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
7089
          libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
7090
          to remove CRT0.
7091
 
7092
        * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
7093
          (all): reworked to build in place.
7094
          (clean): remove lib.a
7095
          (Makefile): remove redundant ./, call $(SHELL) rather than sh.
7096
 
7097
        * libc/sys/m88kbug/crt0.c (start): renamed to _start.
7098
          (_start): key off edata rather than _start_bss.
7099
 
7100
Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
7101
 
7102
        * libc/include/sys/unistd.h, libc/include/reent.h,
7103
        libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
7104
 
7105
Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7106
 
7107
        * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
7108
 
7109
        * Makefile.in (libc.a): break into two rules, one for libc.a and
7110
          one for libc/libc.a.  Force subdirs current before rebuilding
7111
          library.
7112
          (libm.a): break into two rules, one for libm.a and one for
7113
          libm/libm.a.  Force subdirs current before rebuilding library.
7114
 
7115
        * libc/Makefile.in (SUBLIBS): fix typo.
7116
 
7117
        * libc/sys/Makefile.in (all): force descent into subdirs, then
7118
          rebuild library iff out of of date.
7119
 
7120
Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7121
 
7122
        Rework so that library is built and then finished rather than
7123
        being built on each invocation of make.
7124
 
7125
        * host/any (machine_dir, sys_dir, signal_dir): these are not
7126
          shared and have been moved to their associated Makefile.in's.
7127
          (AR_FLAGS): switch to qc which is faster.
7128
        * configure.in: no longer assign machine_dir for m88k.  set
7129
          stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
7130
          stub_dir set, then add to configdirs.  add comment about silly
7131
          configuration.
7132
          (configdirs): drop stub.  It will be added only
7133
          when needed.
7134
          (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
7135
          libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
7136
          stub_lib, crt0): new variables for tailoring lower level
7137
          makefiles.  Assign accordingly and edit into makefiles.
7138
        * libm/Makefile.in: updated copyright.
7139
          (TARGETLIB): removed.
7140
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
7141
          (SUBDIRS): removed TARGETDEP_DIRS.
7142
          (LIBM_FP_LIB, SUBLIBS): new macros.
7143
          (all): reworked.
7144
          (force): new target to force rebuilds.
7145
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
7146
        * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
7147
          libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
7148
          libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
7149
          libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
7150
          libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
7151
          libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
7152
          stub/m68kmvme/Makefile.in: updated copyright.
7153
          (TARGETLIB, TARGETCRT0, CRT0): macros removed.
7154
          (all): reworked.  made this the default rule.
7155
          (clean): also remove lib.a.
7156
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
7157
        * stub/Makefile.in: updated copyright.
7158
          (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
7159
          (stub_lib): new macro.
7160
          (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
7161
          RANLIB.
7162
          (all): reworked.
7163
          (clean, install): assume stub_dir exists.
7164
          (Makefile): depend on configure.in.  call $(SHELL) rather than
7165
          sh.  drop redundant ./
7166
        * stub/configure.in (stublib): new macro, assign it, edit it into
7167
          makefiles.
7168
        * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
7169
          updated copyright.
7170
          (all): reworked.
7171
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
7172
        * libc/Makefile.in (TARGETCRT0): removed.
7173
          (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
7174
          TARGETCRT0.
7175
          (SUBDIRS): drop TARGETDEP_DIRS.
7176
          (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
7177
          LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
7178
          (force): new target to force rebuilds.
7179
        * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
7180
          (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
7181
          removed.
7182
          (clean): assume sys_dir always exists.
7183
        * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
7184
          drop redundant ./
7185
        * libc/ctype/Makefile.in, libc/errno/Makefile.in,
7186
          libc/locale/Makefile.in, libc/machine/Makefile.in,
7187
          libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
7188
          libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
7189
          libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
7190
          libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
7191
          libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
7192
          libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
7193
          libc/signal/Makefile.in, libc/stdio/Makefile.in,
7194
          libc/stdlib/Makefile.in, libc/string/Makefile.in,
7195
          libc/sys/Makefile.in, libc/syscalls/Makefile.in,
7196
          libc/time/Makefile.in, libc/unix/Makefile.in,
7197
          libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
7198
          (TARGETLIB): removed.
7199
          (all): reworked.
7200
          (clean): also remove lib.a.
7201
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
7202
        * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
7203
          new macros.
7204
          (SUBDIRS): moved to follow frag inclusion, change stub to
7205
          stub_dir.
7206
          (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
7207
          are now set in the libc Makefile.
7208
        * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
7209
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
7210
          TARGETCRT0.
7211
          (force): new target to force rebuilds.
7212
        * stub/configure.in: determine and set stub_lib for for Makefile.
7213
 
7214
Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
7215
 
7216
        * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
7217
        crt0.s renamed to crt0.S.
7218
        * libc/sys/h8300hms/crt0.S: Add h8/300h support.
7219
 
7220
        * libc/machine/h8300/Makefile.in: Make `all' the default target.
7221
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
7222
        h8300h.
7223
        * libc/machine/h8300/defines.h: Add macros to handle pointers for
7224
        h8300 (16 bits) and h8300h (32 bits).
7225
        * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
7226
        reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
7227
 
7228
Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
7229
 
7230
        * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
7231
        implementation of setjmp and longjmp for the m88k.
7232
        * libc/include/machine/setjmp.h: Added __m88000__ case.
7233
 
7234
Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
7235
 
7236
        * configure.in: Recognize h8300h as variant of h8300.
7237
 
7238
Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
7239
 
7240
        * libc/include/sys/unistd.h (read, write): get prototypes right.
7241
        (sbrk): New prototype.
7242
        * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
7243
        * libc/stdio/local.h: Include unistd.h.
7244
        * libc/machine/h8300/syscalls.c: Names have changed.
7245
 
7246
Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
7247
 
7248
        * configure.in: add sys_dir assignment for m88k-bug.
7249
 
7250
Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
7251
 
7252
        * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
7253
        a.out or elf.
7254
        * libc/sys/sparc64: all *.S files: Use new macros.
7255
        * libc/sys/sparc64/isatty.c: New file.
7256
        * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
7257
        functions beyond what newlib provides.
7258
 
7259
Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
7260
 
7261
        * libc/include/sys/stat.h: Move st_atime so not doubly defined for
7262
        svr4.
7263
 
7264
Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
7265
 
7266
        * libc/include/machine/ieeefp.h: Add support for h8/300h.
7267
 
7268
Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
7269
 
7270
        * configure.in: add m88k.
7271
        * libc/include/machine/ieeefp.h: add case for m88k.  Also add
7272
        sanity check so no one else need ever chase what I did to find
7273
        this.
7274
 
7275
        * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
7276
 
7277
Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
7278
 
7279
        * doc/makedoc.c: Include .
7280
 
7281
Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
7282
 
7283
        * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7284
        * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7285
        * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7286
 
7287
        * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
7288
 
7289
Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
7290
 
7291
        * libc/include/errno.h (ENOSYS): Added.
7292
 
7293
        * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
7294
 
7295
Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
7296
 
7297
        * libc/stdio/fflush.c (fflush): Check for reent struct
7298
        initialization.
7299
        * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
7300
 
7301
Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
7302
 
7303
        * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
7304
        out of dtoa.c so it doesn't pollute the namespace.
7305
        * libc/include/_syslist.h: new file -- mappings from _function to
7306
        function, for systems where we can't win (by default, all of them,
7307
        until we start updating system calls.)
7308
        * libc/syscalls: new directory -- stubs for exporting _function
7309
        names as unmodified function names.
7310
        * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
7311
        _syslist.h on all platforms by default, but put hooks in for
7312
        fake_sys_dir so we can include it when we've renamed the system
7313
        calls.
7314
        * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
7315
        libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
7316
        libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
7317
        libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
7318
        libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
7319
        libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
7320
        non ANSI functions to call _function.
7321
 
7322
Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
7323
 
7324
        * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
7325
        when base 16 is specified.  Don't accept non-digits if radix > 10.
7326
 
7327
Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
7328
 
7329
        * libc/include/math.h: Rename xxx_r fns to _xxx_r.
7330
 
7331
Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
7332
 
7333
        * libc/include/sys/stat.h: Surround text after #endif with
7334
        comments.
7335
 
7336
Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
7337
 
7338
        * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
7339
        _malloc_r, _realloc_r, and free_r call the corresponding
7340
        non-reentrant functions.
7341
 
7342
        * libm/math/modf.c (modf): We now take the address of ipart, so
7343
        don't make it a register variable.
7344
 
7345
Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
7346
 
7347
        * libm/math/*: Rename all xxx_r fns to _xxx_r.
7348
 
7349
Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
7350
 
7351
        * libc/libc.texinfo and embedded docn throughout: formatting
7352
        improvements, minor rephrasing for clarity, and improved
7353
        reentrancy docn.
7354
 
7355
Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7356
 
7357
        * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
7358
 
7359
        * libc/stdio/cvt.c (_licvt): Print the right value on machines
7360
        where sizeof(int) != sizeof(long).
7361
 
7362
Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7363
 
7364
        * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
7365
        libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
7366
        libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
7367
        libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
7368
        libm/math/matherr.c: changes for better docn formatting (info).
7369
 
7370
        * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
7371
        libc/reent/reent.tex, libc/signal/signal.tex,
7372
        libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
7373
        libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
7374
        libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
7375
        makeinfo node defaulting to get better Info file node structure.
7376
        (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
7377
        Also include a few formerly missing sections (subroutines).
7378
 
7379
        * doc/doc.str: delete fossil expansion for "func"
7380
 
7381
        * default.menu, no-signal.menu: delete.
7382
 
7383
        * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
7384
        method used to adjust doc for missing "signals" chapter when
7385
        signal_dir is empty.
7386
 
7387
Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
7388
 
7389
        * configure.in: added testsuite/libm.sac
7390
 
7391
Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
7392
 
7393
        * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
7394
        code model).
7395
 
7396
Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
7397
 
7398
        * libm/Makefile.in: Use $(MAKE) rather than make, and define
7399
        MAKEOVERRIDES to be empty.
7400
 
7401
Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
7402
 
7403
        * configure.in: Don't build mips-*-* with -msoft-float, since that
7404
        makes it incompatible with hard floating point.
7405
 
7406
Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
7407
 
7408
        * Makefile.in: added recursive 'make check'
7409
 
7410
Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
7411
 
7412
        * configure.in: added ./testsuite ./testsuite/libm.paranoia
7413
        * ./testsuite/Makefile.in: created
7414
        * ./testsuite/libm.paranoia: paranoia tests added
7415
 
7416
Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
7417
 
7418
        * configure.in: For mips-*-* set machine_dir to mips.
7419
 
7420
        * libc/machine/mips: New directory.
7421
        * libc/machine/mips/Makefile.in: New file.
7422
        * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
7423
        setjmp and longjmp.
7424
        * libc/include/machine/setjmp.h: Added __mips__ case.
7425
 
7426
        * libc/machine/lmips: Removed unused and useless directory.
7427
 
7428
Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
7429
 
7430
        * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
7431
 
7432
Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
7433
 
7434
        * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
7435
        start up).
7436
 
7437
Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
7438
 
7439
        * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
7440
        SETJMP_H.
7441
 
7442
Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
7443
 
7444
        * libm/test/convert.c: structure member errno -> errno_val.
7445
        Must include  to use errno, it's a macro now.
7446
        * libm/test/math.c: Ditto.
7447
        * libm/test/math2.c: Include errno.h.
7448
        * libm/test/string.c: Ditto.
7449
        * libm/test/test.h: structure member errno -> errno_val.
7450
        Remove extern int errno decl.
7451
 
7452
Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
7453
 
7454
        * libc/stdio/Makefile.in: Added dependencies on local header
7455
        files.
7456
        * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
7457
        files.
7458
 
7459
Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
7460
 
7461
        * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
7462
 
7463
Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
7464
 
7465
        * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
7466
        Initialize _data.
7467
 
7468
        * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
7469
        * libc/stdio/local.h: Add prototype for _licvt.
7470
 
7471
        * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
7472
        instead of malloc,reealloc.
7473
 
7474
        * libc/stdlib/local.h: New file.
7475
        * libc/stdlib/efgcvt.c: #include local.h.
7476
        (gcvt): Fix call to _gcvt.
7477
        * libc/stdlib/ecvtbuf.c: #include local.h.
7478
 
7479
        * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
7480
        * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
7481
        * libc/stdlib/malloc.c: main routines moved to mallocr.c.
7482
 
7483
        * libc/stdlib/atexit.c: moved global data to struct _reent.
7484
        * libc/stdlib/exit.c: use struct _atexit in struct _reent.
7485
 
7486
        * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
7487
 
7488
Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
7489
 
7490
        * libc/include/sys/reent.h: Stuff required by ANSI headers moved
7491
        here from ../reent.h.
7492
 
7493
Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
7494
 
7495
        * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
7496
        should be provided in both libc.a and libm.a.
7497
        (libc.a): Depend on targ-include and libm.a.  Copy
7498
        $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
7499
        (libm.a): Depend on targ-include.
7500
        * configure.in (subdirs): Removed libc/math.
7501
 
7502
Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7503
 
7504
        * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
7505
 
7506
Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
7507
 
7508
        * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
7509
        sys/reent.h instead of reent.h.
7510
        * libc/include/reent.h: Split into two parts: stuff needed by ANSI
7511
        headers moved to sys/reent.h.
7512
        * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
7513
        * libc/include/sys/signal.h: Define _MAX_SIGNALS if
7514
        __need__MAX_SIGNALS defined.
7515
        * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
7516
        std{in,out,err} refer to new _std{in,out,err} members.
7517
 
7518
Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
7519
 
7520
        * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
7521
        case.
7522
 
7523
Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
7524
 
7525
        * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
7526
        rather than whatever macro seterrno() has.
7527
 
7528
Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
7529
 
7530
        * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
7531
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
7532
 
7533
        * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
7534
        __STDC__.
7535
 
7536
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
7537
        reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
7538
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
7539
 
7540
        * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
7541
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
7542
 
7543
        * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
7544
        fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
7545
        fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
7546
        mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
7547
        remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
7548
        sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
7549
        vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
7550
        renamed to _xxx_r.  struct reent_struct renamed to struct _reent
7551
        for ANSI.  structure members given leading "_" for ANSI.  Use
7552
        _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
7553
 
7554
        * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
7555
        mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
7556
        system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
7557
        reent_struct renamed to struct _reent for ANSI.
7558
        Structure members given leading "_" for ANSI.
7559
        _CONST --> const in prototypes.
7560
        Use _HAVE_STDC instead of __STDC__.
7561
 
7562
        * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
7563
        _xxx_r.
7564
        struct reent_struct renamed to struct _reent for ANSI.
7565
        Structure members given leading "_" for ANSI.
7566
 
7567
        * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
7568
        _xxx_r.
7569
        struct reent_struct renamed to struct _reent for ANSI.
7570
 
7571
        * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
7572
        cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
7573
        gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
7574
        mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
7575
        tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
7576
 
7577
        * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
7578
        signal.h, stdio.h, stdlib.h, string.h, time.h}:
7579
        Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
7580
        #ifndef _STRICT_ANSI non-ANSI routines.
7581
        Reentrant routines renamed from _r_xxx to _xxx_r.
7582
        No need to use _STRICT_ANSI on _xxx_r reentrant routines.
7583
        Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
7584
        Clean up namespace (structure members have leading "_").
7585
        struct reent_struct renamed to struct _reent for ANSI compliance.
7586
        _CONST --> const in function prototypes.
7587
 
7588
        * libc/include/string.h: Add NULL and size_t.
7589
 
7590
        * libc/sys/sparc64/Makefile.in: New syscall routines for link,
7591
        unlink, wait, wait4. Reentrant syscall routines close, fork,
7592
        fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
7593
        write.
7594
        * libc/sys/sparc64/cerror.S (cerror_r): New routine.
7595
        * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
7596
        open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
7597
        write.S}: Define reentrant versions.
7598
        * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
7599
        reentrant syscalls.
7600
 
7601
        * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
7602
 
7603
        * libc/include/stdlib.h (RAND_MAX): Fix value.
7604
 
7605
Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
7606
 
7607
        * libc/sys/a29khif/_main.c: Removed unnecessary file.
7608
        * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
7609
        VPATH support targets after all: target.
7610
 
7611
        * stub/mvme135/mvme.S: Renamed exceptionhandler to
7612
        exceptionHandler, which is what mvme135-stub.c expects.
7613
 
7614
Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
7615
 
7616
        * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
7617
 
7618
        * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
7619
        def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
7620
        compliant).
7621
 
7622
Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
7623
 
7624
        * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
7625
        first.
7626
        libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
7627
        _r_write): Ditto.
7628
        libc/reent/fstatr.c (_r_fstat): Ditto.
7629
        libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
7630
        libc/reent/sbrkr.c (_r_sbrk): Ditto.
7631
        libc/reent/statr.c (_r_stat): Ditto.
7632
 
7633
        * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
7634
        * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
7635
        * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
7636
        * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
7637
        * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
7638
        * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
7639
        * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
7640
        * libc/stdio/stdio.c (__sread): Ditto for _r_read.
7641
        (__swrite): Ditto for _r_lseek, _r_write.
7642
        (__sseek): Ditto for _r_lseek.
7643
        (__close): Ditto for _r_close.
7644
        * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
7645
 
7646
        * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
7647
        * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
7648
 
7649
        * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
7650
        to make reent_struct the first argument (and thus consistent with
7651
        the rest of newlib).
7652
 
7653
        * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
7654
        reference to __STDC__.
7655
 
7656
Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
7657
 
7658
        * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
7659
        global __cleanup.
7660
 
7661
Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
7662
 
7663
        * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
7664
        first.
7665
        libc/stdio/fclose.c (fclose): Ditto.
7666
 
7667
Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
7668
 
7669
        * Run through indent and rename reentrant routines for ANSI.
7670
        libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
7671
        fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
7672
        fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
7673
        fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
7674
        getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
7675
        putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
7676
        scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
7677
        tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
7678
        vsprintf.c wbuf.c wsetup.c local.h}
7679
 
7680
        * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
7681
 
7682
        * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
7683
        libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
7684
        assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
7685
        dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
7686
        mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
7687
        strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
7688
 
7689
        * Run through indent.
7690
        libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
7691
        memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
7692
        strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
7693
        strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
7694
        strxfrm.c}
7695
 
7696
        * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
7697
        localtime.c mktime.c strftime.c time.c}:
7698
        Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
7699
 
7700
        * Reformatting + renaming (for ANSI, GNU style, consistency).
7701
        libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
7702
        ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
7703
        signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
7704
 
7705
Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
7706
 
7707
        * libc/include/stdio.h (stdin_r): Fix.
7708
 
7709
Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
7710
 
7711
        * Makefile.in: Unexport some variables to keep GNU make from
7712
        putting them in the environment and using up needed ARG_MAX space
7713
        (a hack is used to let this work with older makes as well).
7714
 
7715
Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
7716
 
7717
        * Makefile.in: Use $(MAKE) rather than make.
7718
        (MAKEOVERRIDES): Define to be empty.
7719
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
7720
        (libc.a, libm.a): Depend on targ-include.
7721
        * host/any (LD): Don't define.
7722
        (INCLUDES): Use targ-include.
7723
        * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
7724
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
7725
        * libc/Makefile.in: Use $(MAKE) rather than make.
7726
        (MAKEOVERRIDES): Define to be empty.
7727
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
7728
        (all): Rewrote to be slightly smaller.
7729
        * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
7730
        Define to be empty.
7731
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
7732
        * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
7733
 
7734
Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
7735
 
7736
        * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
7737
        with errno/errno.c.
7738
 
7739
Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
7740
 
7741
        * Changes for reentrancy.
7742
        libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
7743
        Use ptr->_errno, not errno.
7744
        libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
7745
        libc/stdio/remove.c (remove_r): New function.
7746
        libc/stdio/rename.c (rename_r): New function.
7747
        libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
7748
        libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
7749
        libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
7750
        reentrant versions of system calls.
7751
        libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
7752
        libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
7753
        libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
7754
        libc/stdio/findfp.c: Include .
7755
        libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
7756
        "local.h".
7757
        libc/stdio/wbuf.c: Include "fvwrite.h"
7758
 
7759
        * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
7760
        .
7761
        libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
7762
        (NULL): Don't define if already defined.
7763
        libc/stdlib/system.c: Call reentrant versions of system calls.
7764
        (system_r): New function.
7765
 
7766
        * Changes for reentrancy.
7767
        libc/include/_ansi.h (_PARAMS): New macro.
7768
        libc/include/errno.h: Define errno as a macro that calls __errno.
7769
        (__errno_r): New macro for reentrant code.
7770
        libc/include/math.h: Include reent.h.  Declare many reentrant
7771
        functions.
7772
        (signgam): Now a macro, not a variable.
7773
        (struct exception): Added err field.
7774
        libc/include/reent.h: Don't declare __sglue.  Added function
7775
        declarations.
7776
        (struct reent_struct): Moved errno to beginning.  Added _signgam.
7777
        libc/include/stdio.h, libc/include/stdlib.h: Added function
7778
        declarations.
7779
 
7780
        * More reentrancy hacking.
7781
        libc/errno/errno.c (__errno): New function.
7782
        libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
7783
        libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
7784
        files.
7785
 
7786
        * Added many new reentrant functions to libm/math/*.
7787
        libm/math/error.c (__matherror): Added reent_struct pointer
7788
        argument. Changed all callers.
7789
        libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
7790
        libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
7791
        libm/math/tan.h: Removed obsolete unused header files.
7792
 
7793
        * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
7794
 
7795
        * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
7796
 
7797
Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7798
 
7799
        * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
7800
        delay slots.
7801
 
7802
Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
7803
 
7804
        * libc/libc.texinfo:  comment out reentrancy chapter (duh)
7805
 
7806
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
7807
 
7808
        * libc/reent/reent.tex:  New file.  (text from
7809
        newlib/libc/libc.texinfo)
7810
        * libc/stdio/tmpnam.c:  fixed doc typo
7811
        * libc/stdlib/rand.c:   fixed doc typo
7812
 
7813
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
7814
 
7815
        * libc/reent/reent.tex:  New file.  (text from
7816
        newlib/libc/libc.texinfo)
7817
 
7818
Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7819
 
7820
        support for reentrancy
7821
        * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
7822
        new files
7823
        * libc/errno/errno.c, libc/include/ieeefp.h,
7824
        libc/include/locale.h, libc/include/reent.h,
7825
        libc/include/signal.h, libc/include/stdio.h,
7826
        libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
7827
        libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
7828
        libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
7829
        libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
7830
        libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
7831
        libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
7832
        libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
7833
        libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
7834
        libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
7835
        libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
7836
        libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
7837
        libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
7838
        libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
7839
        libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
7840
        libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
7841
        libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
7842
        libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
7843
        libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
7844
        libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
7845
        libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
7846
        libc/time/strftime.c: modify to provide reentracy.
7847
 
7848
        new routines:
7849
        strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
7850
        perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
7851
        tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
7852
        srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
7853
        mstats_r, realloc_r, localeconv_r, setlocale_r
7854
 
7855
Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
7856
 
7857
        * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
7858
        libc/include/sys/config.h, libc/include/sys/signal.h,
7859
        libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
7860
        provided macros (such as m68000), use the ansi version
7861
        (__m68000__) so that the library can be used with code compiled
7862
        -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
7863
        and sparc.
7864
 
7865
Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
7866
 
7867
        * configure.in (sparc*): Don't set -fsoft-float for sparc
7868
        configurations.  Do set -fsoft-float for sparclite configurations.
7869
 
7870
Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7871
 
7872
        * default.menu, no-signal.menu: alternate forms of libc main menu
7873
          (in newlib rather than newlib/libc due to configuration restrictions)
7874
 
7875
        * configure.in: select one of the two menus above, link to
7876
        libc.menu
7877
 
7878
        * libc/libc.texinfo: include menu from separate file
7879
 
7880
Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
7881
 
7882
        * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
7883
        (info): Split long shell command in half.
7884
        * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
7885
        sub-makes, just CHEW and TARGETDOC.
7886
        (targetdep.tex): Removed now special handling of sys and machine
7887
        subdirectories, made obsolete some time ago.
7888
        * libc/machine/Makefile.in (doc): Don't pass everything to
7889
        sub-make, just CHEW and TARGETDOC.
7890
        (Makefile): New target.
7891
        * libc/sys/Makefile.in (Makefile): New target.
7892
 
7893
Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
7894
 
7895
        * Makefile.in (here and most subdirectories): Only pass down CHEW
7896
        and TARGETDOC when making info, not for other targets.
7897
 
7898
        * Makefile.in (here and most subdirectories), host/any: Use $(AR)
7899
        $(AR_FLAGS) rather than $(ARUPDATE).
7900
 
7901
Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
7902
 
7903
        * Try to reduce command line length:
7904
        * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
7905
        CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
7906
        (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
7907
        (info): Pass CHEW to other subdirs.
7908
 
7909
Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
7910
 
7911
        * configure.in: add signal_dir, like unix_dir, but by default it
7912
        is set to "signal" so that a29khif can turn it off (since a29khif
7913
        has raise() as part of machine-specific signal.s.)
7914
 
7915
Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7916
 
7917
        * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
7918
        * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
7919
        correctly.
7920
        * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
7921
        libc/stdio/vfprintf: type lint.
7922
        * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
7923
        initialzation code.
7924
        * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
7925
 
7926
Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
7927
 
7928
        * stub/mvme135/mvme135-asm.S: new file.
7929
        stub/mvme135mvme135-stub.c: moved all assembler routines into
7930
        mvme135-asm.S.
7931
        stub/mvme135/Makefile.in: build mvme135-stub.o.
7932
 
7933
Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
7934
 
7935
        * Makefile.in: don't pass down $(CPP); use $(CC) -E in
7936
        sub-Makefiles instead, to try to avoid line length limitations.
7937
 
7938
Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
7939
 
7940
        * libc/include/unistd.h (read, write):  Use void* instead of
7941
        char*.
7942
 
7943
Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
7944
 
7945
        * stub/go32/resetpc: sample script to send a reset packet to the
7946
        stub
7947
 
7948
        * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
7949
        DOS environment, which compiles with Turbo C.
7950
 
7951
        * stub/go32/DSER32.LNK: new file, linker commands for serial
7952
        remote stub.
7953
 
7954
        * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
7955
        start up message to identify version; call set_debug_traps.
7956
 
7957
        * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
7958
        keyboard interaction); call handle_exception() in go_til_stop,
7959
        rather than return, so that the remote stub gets control.
7960
 
7961
        * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
7962
        rename, rather than mv), set flags that work with current Turbo C,
7963
        including using the /3 flag; also, add commands to build dser32.
7964
 
7965
        * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
7966
        default Turbo C installation (\tc rather than \usr)
7967
 
7968
        * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
7969
        "&..."
7970
 
7971
Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7972
 
7973
        * libc/include/math.h: added _DOUBLE_IS_32BITS checks
7974
 
7975
Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7976
 
7977
        * libc/stdio/cvt.c (licvt): new function to convert ints when
7978
        sizeof(int) != sizeof(long).
7979
 
7980
        * libc/include/stdio.h: added prototype for iprintf.
7981
        * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
7982
 
7983
Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
7984
 
7985
        * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
7986
        __REGISTER_PREFIX__.
7987
 
7988
Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
7989
 
7990
        * libc/sys/m68kbare: moved into stub directory.
7991
 
7992
Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
7993
 
7994
        * configure.in, Makefile.in: created new directory stub, to hold
7995
        sample code for specific targets.
7996
 
7997
Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
7998
 
7999
        * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
8000
        in the unified libc/include/sys/fcntl.h.
8001
 
8002
Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
8003
 
8004
        * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
8005
        printed .01, not 0.01.
8006
 
8007
Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
8008
 
8009
        * configure.in: compile with -m68000 for m68* targets.
8010
 
8011
Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
8012
 
8013
        * libm/math/remainder.c (remainder): document the svr4 and sunos
8014
        references used to construct the function.
8015
 
8016
Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
8017
 
8018
        * libm/math/remainder.c (rint, remainder): fix old typos.
8019
        * libm/math/Makefile.in: actually build remainder.c (functions
8020
        rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
8021
        page.)
8022
 
8023
Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
8024
 
8025
        * libc/string/bcopy.c: BSD version works on overlapping strings,
8026
        so ours should too.
8027
 
8028
        * libc/stdlib/system.c: always invoke /bin/sh, not getenv
8029
        ("SHELL").
8030
 
8031
Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
8032
 
8033
        * Makefile.in (docs): new target.
8034
 
8035
Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
8036
 
8037
        * libc/include/sys/times.h: define clock_t as required by POSIX.
8038
        libc/include/time.h: protect clock_t from multiple definitions.
8039
 
8040
Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
8041
 
8042
        * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
8043
        does not need more than the original three iterations to get
8044
        within 1 ulp. (Paranoia tests for rounding to better than that,
8045
        but further iterations *don't* help, only more subtle changes
8046
        can.)
8047
 
8048
Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
8049
 
8050
        * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
8051
        were doing nothing useful.
8052
 
8053
Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
8054
 
8055
        * configure.in: define MALLOC_PROVIDED for vxworks targets;
8056
        removed sys_dir settings of vxworks68 and vxworks960.
8057
        host/any: don't pass -nostdinc to gcc, since newlib no longer
8058
        provides all required header files.
8059
 
8060
        * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
8061
        is not defined; this provides a hook for VxWorks.
8062
 
8063
Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
8064
 
8065
        * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
8066
        buffer if buf is NULL, don't do it here -- it is already being
8067
        done by makebuf elsewhere in stdio.
8068
 
8069
Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
8070
 
8071
        * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
8072
        that C programs can call functions without using initial
8073
        underscores.
8074
 
8075
Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
8076
 
8077
        * libc/stdlib/abort.c (abort): call exit, in case kill returns.
8078
 
8079
Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
8080
 
8081
        * configure.in: set TARGET_CFLAGS for certain CPU types to
8082
        -msoft-float.
8083
 
8084
Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8085
 
8086
        * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of 
8087
 
8088
Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
8089
 
8090
        * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
8091
        m68k*-unknown-coff.
8092
 
8093
Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
8094
 
8095
        * libc/include/stdio.h: define __need___va_list before including
8096
        , to avoid defining va_arg, et. al.
8097
 
8098
Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
8099
 
8100
        * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
8101
        (don't cd to the user's home directory).
8102
 
8103
        * libc/Makefile.in: replaced all instances of $(MAKE) with make.
8104
        In general this is the wrong thing to do, but I can't get around
8105
        GNU make's insistence on passing command line arguments any other
8106
        way.
8107
 
8108
Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
8109
 
8110
        * configure.in: always configure the libc/sys directory, since it
8111
        now provides a required documentation file.
8112
 
8113
        * Makefile.in: replaced all instances of $(MAKE) with make.  In
8114
        general this is the wrong thing to do, but I can't get around GNU
8115
        make's insistence on passing command line arguments any other way.
8116
 
8117
Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
8118
 
8119
        * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
8120
        terminated.
8121
 
8122
        * libc/stdio/local.h: include  to define va_list.
8123
        libc/stdio/vsprintf.c: include  rather than .
8124
 
8125
        * libc/include/float.h, libc/include/stdarg.h,
8126
        libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
8127
        versions instead.
8128
        libc/include/stdio.h: get size_t from , and va_list from
8129
        , not from .  Protect definition of
8130
        NULL.
8131
        libc/include/time.h: get size_t from stddef.h.  Protect definition
8132
        of NULL.
8133
        libc/include/machine/limits.h: override gcc  by defining
8134
        _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc  to
8135
        get correct INT_MIN and LONG_LONG values.
8136
        libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
8137
        size_t or va_list at all; they're now gotten from stddef.h
8138
        instead.
8139
        libc/include/machine/varargs.h: removed; use gcc version instead.
8140
        libc/include/sys/types.h: explicitly include .
8141
 
8142
        * libm/math/sqrt.h: using the fp-bit routines appears to require
8143
        more iterations.
8144
 
8145
        * Makefile.in, host/any: let system include files override machine
8146
        include files.
8147
 
8148
Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
8149
 
8150
        * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
8151
        override _*_T_ definitions defaulted here.
8152
 
8153
Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
8154
 
8155
        * Makefile.in (install): install the include files in
8156
        $(tooldir)/include, not $(exec_prefix)/include.
8157
 
8158
Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
8159
 
8160
        * Makefile.in (install): fixed typo, and changed install to not
8161
        force rebuild of libc.a and libm.a.
8162
 
8163
Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
8164
 
8165
        * libc/sys/a29khif/*: Changed all .include's to include
8166
        sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
8167
        that they will be installed for the user.
8168
 
8169
        * Makefile.in (all): create targ-include, a directory holding the
8170
        machine and system specific header files during the build.
8171
        (install): fixed installation of machine and system specific
8172
        header files.
8173
 
8174
        * Makefile.in: fixed comment.
8175
        host/any: change .s.o rule to use $(AS) rather than $(CC), so that
8176
        we can pass $(INCLUDES) to it.
8177
 
8178
Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
8179
 
8180
        * libc/include/sys/param.h: new generic file, which may be
8181
        overridden for specific systems.
8182
 
8183
        * libc/include/sys/signal.h: define all ANSI signal names, and
8184
        NSIG (which is not ANSI) for a29k.
8185
 
8186
Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
8187
 
8188
        * Makefile.in: don't pass down arguments the lower level makes
8189
        will not need.
8190
        * libc/Makefile.in: recurse directly, rather than using subdir_do,
8191
        in hopes of avoiding argument length limits.
8192
        * libm/Makefile.in: recurse directly, rather using subdir_do, in
8193
        hopes of avoiding argument length limits.
8194
 
8195
Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
8196
 
8197
        * libc/include/sys/fcntl.h: include  to ensure that
8198
        mode_t is defined.
8199
 
8200
Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
8201
 
8202
        * Fixed make info and make install-info for newlib, changing most
8203
        Makefile.in and several *.tex files.  Moved doc directory from
8204
        libc to top level.
8205
 
8206
        * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
8207
        Should be rewritten.
8208
 
8209
        * libc/string/strings.tex: renamed node index to node index
8210
        function, so that it does not conflict with the top level index
8211
        node.
8212
 
8213
        * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
8214
 
8215
Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
8216
 
8217
        * Overhauled general configuration for newlib.  Eliminated all
8218
        target dependent Makefile fragments.  Create libraries in newlib
8219
        rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
8220
        than CROSS_CC, et. al.  Broke make docs; will fix later.
8221
 
8222
        * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
8223
        Should be rewritten.
8224
 
8225
Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
8226
 
8227
        * libc/configure.in: cleaned up somewhat; switch on ${target}
8228
        rather than ${target_alias}.
8229
        * libm/configure.in: cleaned up somewhat; switch on ${target}
8230
        rather than ${target_alias}.
8231
 
8232
        * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
8233
        * libc/include/ctype.h: marked _ctype_ as _CONST.
8234
 
8235
        * libc/locale/locale.c (lconv, localeconv): marked static lconv as
8236
        _CONST.
8237
 
8238
        * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
8239
        libc/stdio/vfscanf.c (__svfscanf): made static variables const.
8240
        libc/stdio/gets.c (gets): removed non-ANSI warning message.
8241
        libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
8242
 
8243
        * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
8244
        bigtens, tinytens): marked arrays _CONST.
8245
        libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
8246
        rather than a static variable.
8247
 
8248
        * libc/time/asctime.c (asctime), libc/time/localtime.c
8249
        (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
8250
        _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
8251
        mname_len, mname): Marked static arrays _CONST.
8252
 
8253
        * libm/math/gamma.h: made local variables non-static.
8254
 
8255
        * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
8256
        libm/math/exp.c, libm/math/gamma.h: marked static arrays as
8257
        _CONST.
8258
 
8259
        * libm/math/constants.c: removed file, because the constants it
8260
        defined were never referenced.
8261
        libm/math/Makefile.in: removed references to constants.c.
8262
        libm/math/mathimpl.h: removed declarations of constants.
8263
 
8264
Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
8265
 
8266
        * libc/include/machine/varargs.h: only call __builtin_saveregs if
8267
        it is sensibly defined in libgcc2.  Checks preprocessor defines,
8268
        which is not a good solution.
8269
 
8270
        * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
8271
 
8272
        * libm/frexp.c: handle denormalized numbers as arguments.
8273
 
8274
        * libm/math/Makefile.in: added some dependencies for .c files
8275
        which include local .h files.
8276
 
8277
Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
8278
 
8279
        * libc/configure.in: set target_alias for OSE*.  Replace
8280
        target_makefile_frag if it is blank.
8281
 
8282
        * libc/Makefile.in: make sure everything is passed to subsidiary
8283
        makes; create all directories when installing.
8284
 
8285
        * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
8286
        CROSS_ARUPDATE instead of AR.
8287
 
8288
        * libm/configure.in: set target_alias for OSE*.  Replace
8289
        target_makefile_frag if it is blank.
8290
 
8291
        * libm/Makefile.in: make sure everything is passed to subsidiary
8292
        makes; create all directories when installing.
8293
 
8294
Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
8295
 
8296
        * add following change from libc copy.
8297
 
8298
Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8299
 
8300
        * libc/libc.texinfo: make copyright disclaimers appear on back of
8301
        title page; make format of same slightly less ugly; avoid using
8302
        underbars in section headings (avoids nasty texinfo bug in table
8303
        of contents).
8304
 
8305
        * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
8306
          comments only) avoid using underbars in section headings
8307
 
8308
        * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
8309
          isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
8310
          changes in comments only): shorten headings ieeefp/infinity.c,
8311
          ieeefp/isnan.c: (doc, comments only) more informative headings
8312
 
8313
        * libc/math/bessel.c: (doc, comments only) shorten heading
8314
 
8315
        * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
8316
        (doc, comments only) shorten headings
8317
 
8318
        * libc/time/localtime.c (doc, comments only): shorten headings
8319
 
8320
        * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
8321
          isnan
8322
          libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
8323
          libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
8324
          headings
8325
          libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
8326
          only) more informative headings
8327
        * libm/math/bessel.c: (doc, comments only) shorten heading
8328
 
8329
Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
8330
 
8331
        * .../Makefile.in: use CROSS_ARUPDATE consistently.
8332
        * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
8333
        * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
8334
        * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
8335
        defined, the one from the .mt file will be correct.
8336
        * libc/include/machine, libc/include/sys: created, and populated
8337
        with common files from machine/*/machine. ifdefs were used for
8338
        most, typically by handling exceptions first and then filling in
8339
        defaults. Files with D.J. Delorie copyright #included rather than
8340
        copied. Most files in include/sys really were the same in the
8341
        original.
8342
        * libc/include/...: cleaned up use of _EXFUN.
8343
        * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
8344
        it with double quotes, not angles.
8345
 
8346
Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
8347
 
8348
        * libc/Makefile.in: always create installation directories.
8349
 
8350
Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
8351
 
8352
        * libc/configure.in: handle host properly (using canonical
8353
        triples), better error message for the case of target not found
8354
 
8355
Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
8356
 
8357
        * libc/Makefile.in (insincdir): Ensure this directory exists
8358
        before attempting installation.
8359
 
8360
Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
8361
 
8362
        * libc/stdlib/assert.c: now calls abort like it should
8363
        * libc/sys/a29khif: many many patches for 29khif work
8364
        * libc/machine/i386: gnulib2 expanded there.
8365
 
8366
Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
8367
 
8368
        Added accurate fp conversion routines to stdlib, moved dcvt from
8369
        stdio to stdlib and called it ecvtbuf:
8370
        * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
8371
        * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
8372
        routines
8373
        * libc/libc.texinfo: Modifed to include the copyright info from
8374
        the mprec files
8375
        * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
8376
        * libc/test/ : many vector which tested for the implementation
8377
        defined returns of strange conversion requests have been updated
8378
        to relflect the new implementation
8379
 
8380
Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8381
 
8382
        * libc/libc.texinfo: new chapter on variable arg lists
8383
        (stdarg.h/varargs.h)
8384
        * libc/libc.texinfo: new title
8385
        * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
8386
        (doc only) shorter headings for better formatting.
8387
 
8388
Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8389
 
8390
        * libc/libc.texinfo: three more info menu entries
8391
        * libc/locale/locale.tex: new chapter
8392
        * libc/locale/locale.c: new doc for setlocale, localeconv
8393
        * libc/locale/Makefile.in: use new locale doc
8394
        * libc/signal/signal.tex: new chapter
8395
        * libc/signal/raise.c, libc/signal/signal.c: new doc
8396
        * libc/signal/Makefile.in: use new doc
8397
        * libc/time/time.tex: new chapter
8398
        * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
8399
        libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
8400
        libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
8401
        * libc/time/Makefile.in: use new doc
8402
 
8403
Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
8404
 
8405
        * libm/math/log1p.c: split to use the new function way of float
8406
        function definition. math/log1p.h deleted
8407
        * libm/math/scalb.c: obsolete and deleted
8408
        * libm/math/scalbn.c: created from part log1p.c
8409
        * libm/math/Makefile.in: know about log1p and scalbn
8410
 
8411
Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8412
 
8413
        * libc/ctype/isupper.c: revise doc;
8414
          libc/ctype/ctype.tex: use doc from isupper.c
8415
 
8416
        * libc/string/bzero.c: new doc
8417
 
8418
Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8419
 
8420
        * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
8421
        new doc
8422
        * libc/stdlib/Makefile.in: extract new doc
8423
        * libc/stdlib/stdlib.tex: use new doc
8424
 
8425
        * libc/string/strerror.c: expanded doc.
8426
 
8427
        * libc/stdio/Makefile.in: extract doc from more files
8428
        * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
8429
        libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
8430
        libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
8431
        libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
8432
        libc/stdio/vsprintf.c: new doc
8433
        * libc/stdio/stdio.tex: use new doc
8434
 
8435
Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
8436
 
8437
        * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
8438
        * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
8439
        finitef functions.
8440
        * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
8441
        time ago.
8442
 
8443
        * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
8444
        * libc/stdio/setbuf.c: added ansi style definition.
8445
        * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
8446
        buffer if none provided.
8447
        * libc/stdio/tmpfile.c: lint
8448
        * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
8449
        rather than using static, also make sure file isn't already
8450
        present.  Uses P_tmpdir. (tempnam): rewritten to use new
8451
        subroutine, and uses P_tmpdir.
8452
        * libc/stdio/siprintf.c: created
8453
 
8454
Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
8455
 
8456
        Release 1.03 for NEC, major mods. Main differences from release
8457
        1.02::
8458
 
8459
        More tests in test/:
8460
        * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
8461
        log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
8462
        * test_ieee.c: tests for ieee flags & masks - get/set rounding,
8463
        get/set mask, get/set sticky and get/set roundtoi.  Tests
8464
        that setting the bits changes the way arithmetic is done.
8465
        * string.c: added test to make sure memcmp does it with unsigned
8466
        chars.
8467
        * test.c: cleaned up and removed lint.
8468
        * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
8469
        dvec.c: tests for string to value conversions,  sprintf, scanf,
8470
        atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
8471
        ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
8472
        rounding in sprintf too.
8473
        * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
8474
        isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
8475
        isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
8476
        and function form.
8477
        * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
8478
        powf
8479
 
8480
        In the library:
8481
        * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
8482
        libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
8483
        libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
8484
        libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
8485
        * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
8486
        than sprintf.
8487
        * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8488
        * Method of producting float versions of double functions has
8489
        changed, functions will be modified gradually. So far:
8490
        libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
8491
        libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
8492
        altered
8493
        * libc/string/memcmp.c: now uses unsigned chars
8494
        * libc/string/bcmp.c, libc/string/strcpy.c,
8495
        libc/stsring/strxfrm.c: fixed doc
8496
        * libc/sys/sysvnecv70.tex: fix example of sbrk code
8497
 
8498
Local Variables:
8499
version-control: never
8500
End:

powered by: WebSVN 2.1.0

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