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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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