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

Subversion Repositories or1k

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

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

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

powered by: WebSVN 2.1.0

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