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

Subversion Repositories or1k

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

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

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

powered by: WebSVN 2.1.0

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