]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
b9f9f699
JJ
12002-04-23 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5 * libc/sys/linux/Makefile.in: Regenerated.
6 * libc/sys/linux/mmap.c: New file.
7 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9
7394edbb
TF
102002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11
12 * acinclude.m4 (newlib_cflags): Remove include directories that
13 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
14
b9f9f699 152002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
16
17 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
18 * libc/machine/xscale/memcmp.c: Ditto.
19 * libc/machine/xscale/memcpy.c: Ditto.
20 * libc/machine/xscale/memmove.c: Ditto.
21 * libc/machine/xscale/memset.c: Ditto.
22 * libc/machine/xscale/strchr.c: Ditto.
23 * libc/machine/xscale/strcmp.c: Ditto.
24 * libc/machine/xscale/strcpy.c: Ditto.
25 * libc/machine/xscale/strlen.c: Ditto.
26
2dd4c4dc
JJ
272002-04-19 Alexandre Oliva <aoliva@redhat.com>
28
29 * libc/include/sys/config.h: Remove include of <limits.h>.
30 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
31 define INT_MAX and LONG_MAX. Use them in tests.
32
0d844014
JJ
332002-04-19 Jeff Johnston <jjohnstn@redhat.com>
34
35 * configure.host: Add support for powerpc-eabialtivec*.
36 * libc/include/malloc.h: Add include of <machine/malloc.h>.
37 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
38 * libc/include/machine/malloc.h: New file.
39 * libc/include/machine/stdlib.h: Ditto.
40 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
41 * libc/machine/powerpc/Makefile.am: Add conditional objects and
42 sources based on configuration.
43 * libc/machine/powerpc/Makefile.in: Regenerated.
44 * libc/machine/powerpc/configure: Ditto.
45 * libc/machine/powerpc/configure.in: Add check for
46 powerpc-eabialtivec* in which case add in additional source files.
47 * libc/machine/powerpc/setjmp.S: Add altivec support.
48 * libc/machine/powerpc/vec_calloc.c: New file.
49 * libc/machine/powerpc/vec_free.c: Ditto.
50 * libc/machine/powerpc/vec_malloc.c: Ditto.
51 * libc/machine/powerpc/vec_mallocr.c: Ditto.
52 * libc/machine/powerpc/vec_realloc.c: Ditto.
53 * libc/machine/powerpc/machine/malloc.h: Ditto.
54 * libc/machine/powerpc/machine/stdlib.h: Ditto.
55 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
56 with added altivec format specifiers.
57 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
58 added altivec format specifiers.
59
d413aadc
JS
602002-04-19 Joel Sherrill <joel@OARcorp.com>
61
62 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
63 while autoconf is trying to link main(){}.
64
27193895
JJ
652002-04-17 Jeff Johnston <jjohnstn@redhat.com>
66
67 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
68 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
69
10d00216
JJ
702002-04-17 Jeff Johnston <jjohnstn@redhat.com>
71
6b0f808e
JJ
72 * libc/time/time.tex: Add tzset info.
73
742002-04-17 Jeff Johnston <jjohnstn@redhat.com>
75
76 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
77 (strptime): Moved prototype to be within !__STRICT_ANSI__.
78 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
79 (tzname): Defined for all platforms.
80 (daylight, timezone): Defined only for CYGWIN.
81 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
82 environment set up.
83 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
84 environment variable is set.
85 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
86 tzset_r.c.
87 * libc/time/Makefile.in: Regenerated.
88 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
89 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
90 * libc/time/lcltime_r.c (lcltime_r): Ditto.
91 * libc/time/local.h: New local header file.
92 * libc/time/mktime.c (mktime): Add timezone support.
93 * libc/time/mktm_r.c: New file which is the common engine
94 for gmtime_r and lcltime_r. This code has timezone support.
95 * libc/time/strftime.c (strftime): Add %Z timezone support.
96 * libc/time/tzlock.c: New file containing timezone lock stubs.
97 * libc/time/tzset.c: New file containing tzset() routine.
98 * libc/time/tzset_r.c: New file containing _tzset_r and
99 internal routine for calculating timezone changes for specified year.
100
1012002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
102
103 * configure.in (CRT0_DIR): Set to libc/.
104 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
105 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
106 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
107 $(CRT1_DIR)/$(CRT1).
108 * libc/machine/xstormy16/Makefile.in: Regenerated.
109 * libc/machine/xstormy16/aclocal.m4: Regenerated.
110 * libc/machine/xstormy16/configure: Regenerated.
111
1122002-04-13 Alexandre Oliva <aoliva@redhat.com>
113
114 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
115 fails, don't bail out, and try to correct next time.
116
117 * libc/include/sys/config.h: Include limits.h.
118
1192002-04-12 Eric Norum <eric.norum@usask.com>
120
121 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
122 routine to allow autoconf to determine that building executables
123 for rtems works.
124 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
125 (rtems_gxx_mutex_once): Ditto.
126
1272002-04-09 Tom Rix <trix@redhat.com>
128
129 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
130
1312002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
132
133 * libc/include/time.h: Fix strptime declaration.
134 * libc/time/Makefile.am: Add strptime.c.
135 * libc/time/Makefile.in: Regenerated.
136 * libc/time/strptime.c: New file.
137
1382002-04-08 Jeff Johnston <jjohnstn@redhat.com>
139
140 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
141 siglongjmp prototype, and sigsetjmp macro definition.
142 * libc/sys/linux/siglongjmp.c: New file.
143 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
144 * libc/sys/linux/Makefile.in: Regenerated.
145
1462002-04-04 Jeff Johnston <jjohnstn@redhat.com>
147
148 * Makefile.am: Add support for installing crt1.o if one exists.
149 * configure.host: Specify crt1.o for linux.
150 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
151 * Makefile.in: Regenerated.
152 * configure: Ditto.
153 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
154 Added for non-Cygwin, non-RTEMS configurations.
155 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
156 * libc/sys/linux/Makefile.in: Regenerated.
157 * libc/sys/linux/crt1.c: New empty file to override one defaulted
158 by gcc. This fixes problem with reconfiguring linux newlib build.
159 * libc/sys/linux/sysconf.c: New file.
160
1612002-04-03 Jeff Johnston <jjohnstn@redhat.com>
162
163 * configure.host: Add support for machine subdirectory of
164 sys subdirectory.
165 * configure.in: Add check for sys machine subdirectory.
166 * Makefile.am: Ditto.
167 * configure: Regenerated.
168 * Makefile.in: Ditto.
169 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
170 * libc/sys/linux/sys/syscall.h: Ditto.
171 * libc/sys/linux/sleep.c: New file.
172 * libc/sys/linux/socket.c: Ditto.
173 * libc/sys/linux/sockops.h: Ditto.
174 * libc/sys/linux/stack.c: Ditto.
175 * libc/sys/linux/usleep.c: Ditto.
176 * libc/sys/linux/machine/Makefile.am: Ditto.
177 * libc/sys/linux/machine/Makefile.in: Ditto.
178 * libc/sys/linux/machine/aclocal.m4: Ditto.
179 * libc/sys/linux/machine/configure: Ditto.
180 * libc/sys/linux/machine/configure.in: Ditto.
181 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
182 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
183 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
184 * libc/sys/linux/machine/i386/configure: Ditto.
185 * libc/sys/linux/machine/i386/configure.in: Ditto.
186 * libc/sys/linux/machine/i386/crt0.c: Ditto.
187 * libc/sys/linux/machine/i386/sigset.c: Ditto.
188 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
189 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
190 * libc/sys/linux/machine/i386/syscall.h: Ditto.
191 * libc/sys/linux/sys/select.h: Ditto.
192 * libc/sys/linux/configure.in: Add support for machine directory.
193 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
194 * libc/sys/linux/Makefile.in: Regenerated.
195 * libc/sys/linux/configure: Ditto.
196 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
197 * libc/sys/linux/inode.c: Ditto.
198 * libc/sys/linux/linux.c: Ditto.
199 * libc/sys/linux/process.c: Ditto.
200 * libc/sys/linux/systat.c: Ditto.
201 * libc/sys/linux/time.c: Ditto.
202 * libc/sys/linux/wait.c: Ditto.
203 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
204 * libc/sys/linux/io.c: Change header plus add readv/writev.
205 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
206 use __sigsuspend syscall.
207 * libc/sys/linux/select.c: Change header plus change select to
208 use _newselect syscall.
209 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
210 used by glibc header files.
211 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
212 types.
213
2142002-04-01 Jeff Johnston <jjohnstn@redhat.com>
215
216 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
217 initializing a struct _reent that has been dynamically allocated.
218 (_REENT_CHECK_MISC): New macro that checks _misc struct for
219 _REENT_SMALL and does nothing otherwise.
220 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
221 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
222 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
223 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
224 [_REENT_SMALL](struct _misc_reent): New structure containing
225 miscellaneous reentrant areas needed by newlib.
226 [_REENT_SMALL](struct _reent): Add _misc pointer.
227 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
228 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
229 and _REENT_STRTOK_LAST macros.
230 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
231 and _REENT_MBLEN_STATE macros.
232 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
233 and _REENT_MBTOWC_STATE macros.
234 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
235 and _REENT_WCTOMB_STATE macros.
236
2372002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
238
239 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
240
241Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
242
243 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
244
245Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
246
247 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
248 Store high part of leading bytes too.
249
2502002-03-22 Richard Sandiford <rsandifo@redhat.com>
251
252 * libm/math/ef_hypot.c: Increase scale factor to 68.
253
2542002-03-13 Alexandre Oliva <aoliva@redhat.com>
255
256 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
257 error.
258
2592002-03-12 Jeff Johnston <jjohnstn@redhat.com>
260
261 * libc/sys/go32/access.c: Change license to relaxed license
262 used in identical file throughout newlib/libgloss.
263
2642002-03-12 Richard Earnshaw <rearnsha@arm.com>
265
266 * libc/sys/arm/access.c: New file.
267 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
268 * libc/sys/arm/Makefile.in: Regenerate.
269 * libc/sys/arm/syscalls.c (_stat): New function.
270
2712002-03-11 Michael Meissner <meissner@redhat.com>
272
273 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
274 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
275 * libc/machine/mips/Makefile.in: Regenerate.
276 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
277 * libc/machine/mips/memset.c: Dito.
278 * libc/machine/mips/strcmp.c: Dito.
279 * libc/machine/mips/strlen.c: Dito.
280 * libc/machine/mips/strncmp.c: Dito.
281
2822002-03-06 Jeff Johnston <jjohnstn@redhat.com>
283
284 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
285 object so it works for shared library or statici library.
2862002-04-17 Jeff Johnston <jjohnstn@redhat.com>
287
10d00216
JJ
288 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
289 (strptime): Moved prototype to be within !__STRICT_ANSI__.
290 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
291 (tzname): Defined for all platforms.
292 (daylight, timezone): Defined only for CYGWIN.
293 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
294 environment set up.
295 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
296 environment variable is set.
297 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
298 tzset_r.c.
299 * libc/time/Makefile.in: Regenerated.
300 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
301 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
302 * libc/time/lcltime_r.c (lcltime_r): Ditto.
303 * libc/time/local.h: New local header file.
304 * libc/time/mktime.c (mktime): Add timezone support.
305 * libc/time/mktm_r.c: New file which is the common engine
306 for gmtime_r and lcltime_r. This code has timezone support.
307 * libc/time/strftime.c (strftime): Add %Z timezone support.
308 * libc/time/tzlock.c: New file containing timezone lock stubs.
309 * libc/time/tzset.c: New file containing tzset() routine.
310 * libc/time/tzset_r.c: New file containing _tzset_r and
311 internal routine for calculating timezone changes for specified year.
312
5f1c13c6
TF
3132002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
314
315 * configure.in (CRT0_DIR): Set to libc/.
316 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
317 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
318 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
319 $(CRT1_DIR)/$(CRT1).
320 * libc/machine/xstormy16/Makefile.in: Regenerated.
321 * libc/machine/xstormy16/aclocal.m4: Regenerated.
322 * libc/machine/xstormy16/configure: Regenerated.
323
0cc261b1
AO
3242002-04-13 Alexandre Oliva <aoliva@redhat.com>
325
2f3009bd
AO
326 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
327 fails, don't bail out, and try to correct next time.
328
0cc261b1
AO
329 * libc/include/sys/config.h: Include limits.h.
330
26116455
JJ
3312002-04-12 Eric Norum <eric.norum@usask.com>
332
333 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
334 routine to allow autoconf to determine that building executables
335 for rtems works.
336 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
337 (rtems_gxx_mutex_once): Ditto.
338
4608280d
TR
3392002-04-09 Tom Rix <trix@redhat.com>
340
341 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
342
dea7e25c
JJ
3432002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
344
345 * libc/include/time.h: Fix strptime declaration.
346 * libc/time/Makefile.am: Add strptime.c.
347 * libc/time/Makefile.in: Regenerated.
348 * libc/time/strptime.c: New file.
349
c5ef1e95
JJ
3502002-04-08 Jeff Johnston <jjohnstn@redhat.com>
351
352 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
353 siglongjmp prototype, and sigsetjmp macro definition.
354 * libc/sys/linux/siglongjmp.c: New file.
355 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
356 * libc/sys/linux/Makefile.in: Regenerated.
357
6e6cd5bd
JJ
3582002-04-04 Jeff Johnston <jjohnstn@redhat.com>
359
360 * Makefile.am: Add support for installing crt1.o if one exists.
361 * configure.host: Specify crt1.o for linux.
362 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
363 * Makefile.in: Regenerated.
364 * configure: Ditto.
365 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
366 Added for non-Cygwin, non-RTEMS configurations.
367 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
368 * libc/sys/linux/Makefile.in: Regenerated.
369 * libc/sys/linux/crt1.c: New empty file to override one defaulted
370 by gcc. This fixes problem with reconfiguring linux newlib build.
371 * libc/sys/linux/sysconf.c: New file.
372
fa4a16a1
JJ
3732002-04-03 Jeff Johnston <jjohnstn@redhat.com>
374
375 * configure.host: Add support for machine subdirectory of
376 sys subdirectory.
377 * configure.in: Add check for sys machine subdirectory.
378 * Makefile.am: Ditto.
379 * configure: Regenerated.
380 * Makefile.in: Ditto.
381 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
382 * libc/sys/linux/sys/syscall.h: Ditto.
383 * libc/sys/linux/sleep.c: New file.
384 * libc/sys/linux/socket.c: Ditto.
385 * libc/sys/linux/sockops.h: Ditto.
386 * libc/sys/linux/stack.c: Ditto.
387 * libc/sys/linux/usleep.c: Ditto.
388 * libc/sys/linux/machine/Makefile.am: Ditto.
389 * libc/sys/linux/machine/Makefile.in: Ditto.
390 * libc/sys/linux/machine/aclocal.m4: Ditto.
391 * libc/sys/linux/machine/configure: Ditto.
392 * libc/sys/linux/machine/configure.in: Ditto.
393 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
394 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
395 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
396 * libc/sys/linux/machine/i386/configure: Ditto.
397 * libc/sys/linux/machine/i386/configure.in: Ditto.
398 * libc/sys/linux/machine/i386/crt0.c: Ditto.
399 * libc/sys/linux/machine/i386/sigset.c: Ditto.
400 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
401 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
402 * libc/sys/linux/machine/i386/syscall.h: Ditto.
403 * libc/sys/linux/sys/select.h: Ditto.
404 * libc/sys/linux/configure.in: Add support for machine directory.
405 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
406 * libc/sys/linux/Makefile.in: Regenerated.
407 * libc/sys/linux/configure: Ditto.
408 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
409 * libc/sys/linux/inode.c: Ditto.
410 * libc/sys/linux/linux.c: Ditto.
411 * libc/sys/linux/process.c: Ditto.
412 * libc/sys/linux/systat.c: Ditto.
413 * libc/sys/linux/time.c: Ditto.
414 * libc/sys/linux/wait.c: Ditto.
415 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
416 * libc/sys/linux/io.c: Change header plus add readv/writev.
417 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
418 use __sigsuspend syscall.
419 * libc/sys/linux/select.c: Change header plus change select to
420 use _newselect syscall.
421 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
422 used by glibc header files.
423 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
424 types.
425
d4dca0e4
JJ
4262002-04-01 Jeff Johnston <jjohnstn@redhat.com>
427
428 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
429 initializing a struct _reent that has been dynamically allocated.
430 (_REENT_CHECK_MISC): New macro that checks _misc struct for
431 _REENT_SMALL and does nothing otherwise.
432 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
433 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
434 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
435 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
436 [_REENT_SMALL](struct _misc_reent): New structure containing
437 miscellaneous reentrant areas needed by newlib.
438 [_REENT_SMALL](struct _reent): Add _misc pointer.
439 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
440 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
441 and _REENT_STRTOK_LAST macros.
442 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
443 and _REENT_MBLEN_STATE macros.
444 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
445 and _REENT_MBTOWC_STATE macros.
446 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
447 and _REENT_WCTOMB_STATE macros.
448
54a7c6d2
JJ
4492002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
450
451 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
452
c82479b1
CF
453Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
454
455 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
456
43ecf6e8
JR
457Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
458
459 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
460 Store high part of leading bytes too.
461
a485d93f
RS
4622002-03-22 Richard Sandiford <rsandifo@redhat.com>
463
464 * libm/math/ef_hypot.c: Increase scale factor to 68.
465
62a963ee
AO
4662002-03-13 Alexandre Oliva <aoliva@redhat.com>
467
468 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
469 error.
470
c53d8453
JJ
4712002-03-12 Jeff Johnston <jjohnstn@redhat.com>
472
473 * libc/sys/go32/access.c: Change license to relaxed license
474 used in identical file throughout newlib/libgloss.
475
d2a246ad
JJ
4762002-03-12 Richard Earnshaw <rearnsha@arm.com>
477
478 * libc/sys/arm/access.c: New file.
479 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
480 * libc/sys/arm/Makefile.in: Regenerate.
481 * libc/sys/arm/syscalls.c (_stat): New function.
482
eabb48d5
MM
4832002-03-11 Michael Meissner <meissner@redhat.com>
484
485 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
486 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
487 * libc/machine/mips/Makefile.in: Regenerate.
488 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
489 * libc/machine/mips/memset.c: Dito.
490 * libc/machine/mips/strcmp.c: Dito.
491 * libc/machine/mips/strlen.c: Dito.
492 * libc/machine/mips/strncmp.c: Dito.
493
2a606041
JJ
4942002-03-06 Jeff Johnston <jjohnstn@redhat.com>
495
eabb48d5
MM
496 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
497 object so it works for shared library or statici library.
498 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 499
55f26f11
JR
500Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
501
502 * Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.S
503 and strcpy.S.
504 * Makefile.in: Regenerate.
505 * asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
506 (SHHI, SHLO): Define.
507 * memcpy.S: Add code for SH5.
508 * memset.S: Likewise.
509 * strcpy.S: Likewise.
510
afecf2fa
JJ
5112002-02-27 Jeff Johnston <jjohnstn@redhat.com>
512
513 * configure.host: Add check for --disable-newlib-io-float
514 configuration option and add -DNO_FLOATING_POINT to newlib cflags
515 if appropriate.
516 * acinclude.m4: Added --disable-newlib-io-float option.
517 * aclocal.m4: Regenerated.
518 * configure: Ditto.
519 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
520 * libc/*/aclocal.m4 libc/*/configure
521 * libm/*/aclocal.m4 libm/*/configure: Ditto.
522 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
523 if NO_FLOATING_POINT flag is not defined.
524
c1010a63
JJ
5252002-02-25 Jeff Johnston <jjohnstn@redhat.com>
526
527 * libc/include/sys/config.h: Add __extension__ in front of
528 long long references.
529
630c657e
CV
5302002-02-23 Corinna Vinschen <corinna@vinschen.de>
531
532 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
533 (_stat): Ditto.
534
59ee2e20
CV
5352002-02-23 Corinna Vinschen <corinna@vinschen.de>
536
537 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
538 of off_t.
539
2dd68dc2
NC
5402002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
541
542 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
543 clobbered registers.
544
55500bf1
TF
5452002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
546
547 * configure.host (newlib_cflags): When host is in m68* add
548 -DCOMPACT_CTYPE.
549
ba0173f0
JJ
5502002-02-15 Jeff Johnston <jjohnstn@redhat.com>
551
552 * libc/include/sys/config.h: Add definitions for
553 __int16_t, __uint16_t, __int64_t, and __uint64_t.
554
7b61d0c5
JJ
5552002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
556
557 * libc/sys/mmixware/link.c: New.
558 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
559 volatile.
560 * libc/sys/mmixware/times.c (_times): Renamed from times.
561 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
562 properly by reading previous contents, not through BinaryReadWrite.
563 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
564 * libc/sys/mmixware/Makefile.in: Regenerate.
565
a505db65
CV
5662002-02-10 Corinna Vinschen <corinna@vinschen.de>
567
568 * libc/include/grp.h: Don't declare group functions when compiling
569 Cygwin.
570
f3b39c45
CV
5712002-02-09 Corinna Vinschen <corinna@vinschen.de>
572
573 * libc/include/grp.h: Include Cygwin specific header.
574 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
575 when compiling for Cygwin.
576 * libc/include/sys/types.h: Don't define off_t, uid_t
577 and gid_t when compiling for Cygwin.
578
82b3ac56
MG
5792002-02-08 matthew green <mrg@redhat.com>
580
581 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
582 _REENT_EMERGENCY_SIZE, not sizeof(char *).
583
9f25eed9
AO
5842002-02-08 Alexandre Oliva <aoliva@redhat.com>
585
586 Contribute sh64-elf.
587 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
588 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
589 support in printf.
590 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
591 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
592 any labels.
593 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
594 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
595 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
596 * libc/machine/sh/configure.in: Rework conditionals.
597 * libc/machine/sh/Makefile.am: Likewise.
598 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
599 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
600 * configure.host: Match `sh*'.
601 * libc/include/machine/setjmp.h: Define for SH5.
602 * libc/machine/sh/configure.in: Detect SH5.
603 * libc/machine/sh/configure: Rebuilt.
604 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
605 * libc/machine/sh/Makefile.in: Rebuilt.
606 * libc/machine/sh/asm.h: Adjust for SH5.
607 * libc/machine/sh/setjmp.S: Implement in SHmedia.
608 * libc/sys/sh/crt0.S: Likewise.
609 * libc/sys/sh/trap.S: Likewise.
610
a2a405ae
JJ
6112002-02-07 Jeff Johnston <jjohnstn@redhat.com>
612
613 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
614 (mach_add_obj): Conditionally set to setjmp.o or nothing.
615 (LIB_SOURCES): Remove $(mach_add_src).
616 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
617 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
618 * libc/machine/i386/Makefile.in: Regenerate.
619
27478365
JJ
6202002-02-05 Manik Raina <manik@cisco.com>
621
994fa212 622 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
623 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
624 s, p, k, and outstr.
625 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
626
815a37f7
JJ
6272002-02-04 Jeff Johnston <jjohnstn@redhat.com>
628
629 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
630 _REENT_CHECK_EMERGENCY macro.
631
a4139c12
MG
6322002-02-03 matthew green <mrg@redhat.com>
633
634 * libc/reent/signgam.c (__signgam): Fix error in previous.
635
8195aff7
MG
6362002-02-02 matthew green <mrg@redhat.com>
637
638 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
639
640 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
641 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
642 * libc/include/sys/reent.h (struct _reent): Completely new version
643 for _REENT_SMALL.
644 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
645 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
646 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
647 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
648 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
649 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
650 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
651 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
652 (_REENT_EMERGENCY): Likewise.
653
654 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
655 the start of the real __sFILE, used for stdin, stdout and stderr until
656 they are setup properly.
657 (struct __sFILE): Move location of _data in _REENT_SMALL case.
658 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
659 allocated stdin, stdout and stderr.
660 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
661 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
662 * libc/stdio/perror.c (_perror_r): Likewise.
663 * libc/stdio/printf.c (printf, _printf_r): Likewise.
664 * libc/stdio/putchar.c (_putchar_r): Likewise.
665 * libc/stdio/puts.c (_puts_r): Likewise.
666 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
667 * libc/stdio/vprintf.c (vprintf): Likewise.
668 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
669
670 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
671
672 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
673 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
674 for _REENT_SMALL.
675 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
676 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
677
678 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
679 _REENT_SMALL.
680 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
681 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
682 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
683 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
684 * libc/stdlib/rand48.c (__dorand48): Likewise.
685 * libc/stdlib/seed48.c (_seed48_r): Likewise.
686 * libc/stdlib/srand48.c (_srand48_r): Likewise.
687 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
688 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
689 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
690 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
691 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
692 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
693 * libc/stdlib/rand.c (rand): Likewise.
694
695 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
696 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
697
698 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
699 _REENT_MP_FREELIST() and _REENT_MP_P5S.
700 * libc/include/sys/reent.h (struct _mprec): New structure.
701
702 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
703 _unused_strtok_last.
704 * libc/string/strtok.c (strtok): Use a local static variable.
705
706 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
707 (_REENT_EMERGENCY_SIZE): Likewise.
708 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
709 _REENT_ASCTIME_BUF().
710 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
711 _REENT_TM().
712
713 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
714 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
715 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
716 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
717 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
718 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
719
9c2e7642
GK
7202002-02-01 Geoffrey Keating <geoffk@redhat.com>
721
722 * configure.host (xstormy16): Don't use the generic malloc.
723 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
724 * libc/machine/xstormy16/Makefile.in: Regenerate.
725 * libc/machine/xstormy16/mallocr.c: New file.
726 * libc/machine/xstormy16/tiny-malloc.c: New file.
727
4bb6112f
TF
7282002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
729
730 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
731 when _CYGWIN_TYPES_H is not defined.
732
8d345552
TF
7332002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
734
735 * libc/include/sys/signal.h: Revert 2002-01-23 change.
736
bcc49082
TF
7372002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
738
739 * libc/include/sys/signal.h: Remove pthread_kill declaration
740 when __CYGWIN__ is defined.
741
13baedeb
CF
7422002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
743
744 * libc/include/time.h: Add prototype for strptime for Cygwin.
745
b2db0ebc
NC
7462002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
747
ebf139fb
NC
748 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
749 dst was not word aligned.
750
b2db0ebc
NC
751 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
752 if too much memory is requested.
753
798c015d
JJ
7542002-01-11 Jeff Johnston <jjohnstn@redhat.com>
755
756 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
757 reads blanks from the input file to break if EOF reached
758 rather than end processing.
759
46ad2ef4
JJ
7602002-01-07 Jeff Johnston <jjohnstn@redhat.com>
761
762 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
763
86b06396
JJ
7642002-01-07 Alan Matsuoka <alanm@redhat.com>
765
766 * libc/include/machine/ieeefp.h: Configure d10v doubles to
767 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
768 libc/include/sys/config.h: Ditto.
769
423d5064
CV
7702001-12-28 Corinna Vinschen <corinna@vinschen.de>
771
772 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
773
f6eff1c0
GK
7742001-12-22 Geoffrey Keating <geoffk@redhat.com>
775 Catherine Moore <clm@redhat.com>
776 Richard Henderson <rth@redhat.com>
777 Corinna Vinschen <vinschen@redhat.com>
778
779 * configure.host: Add support for xstormy16.
780 * libc/include/machine/ieeefp.h: Add support for xstormy16.
781 * libc/include/machine/setjmp.h: Add support for xstormy16.
782 * libc/include/sys/config.h: Add support for xstormy16.
783 * libc/machine/xstormy16/Makefile.am: New file.
784 * libc/machine/xstormy16/Makefile.in: New file.
785 * libc/machine/xstormy16/aclocal.m4: New file.
786 * libc/machine/xstormy16/configure: New file.
787 * libc/machine/xstormy16/configure.in: New file.
788 * libc/machine/xstormy16/setjmp.S: New file.
789
1f93c55f
TF
7902001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
791
792 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
793 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
794
13b918be
CV
7952001-12-19 Corinna Vinschen <corinna@vinschen.de>
796
797 * libm/machine/Makefile.am: Change rules to create correct lib.a.
798 * libm/machine/Makefile.in: Regenerated through automake.
799
08e857b4
TF
8002001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
801
802 * Makefile.am (DOCDIR): Force to empty string when doc
803 directory is not present.
804
60565ed6
TF
8052001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
806
807 * libc/machine/i386/f_*: Move to libm/machine/i386.
808
8092001-12-18 Joel Sherrill <joel@OARcorp.com>
810
811 * libm/machine/Makefile.am: Add dummy doc stub so
812 "make info" works.
813
8142001-12-17 Joel Sherrill <joel@OARcorp.com>
815
816 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
817
fc504135
TF
8182001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
819
820 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
821 $(COMPILE) rather than $(CC).
822 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
823 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
824 $(LIB_COMPILE) change.
825 (vfiprintf.$(oext)): Likewise.
826
efeae9a3
CV
8272001-12-17 Corinna Vinschen <vinschen@redhat.de>
828
829 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
830 conditionalized including of getopt stuff.
831
cdf7120d
TF
8322001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
833
834 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
835 compile line.
f85be99c 836 (vfiprintf.$(oext)): Likewise.
cdf7120d 837
2e1a7175
TF
8382001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
839
840 * Makefile.shared: New file.
841 * libc/sys/linux/shared.ld: New file.
842 * libm/machine/*: New files.
843 * libm/machine/i386/*: New files.
844 * Makefile.am: Add libtool support. Change math and mathfp
845 references to variables.
846 * configure.host: Add variables for libtool support. Add
847 libm_machine_dir variable.
848 * configure.in: Add objectlist variables, for libtool
849 support. Add CC_FOR_BUILD tests.
850 * libc/Makefile.am: Add libtool support. Change crt0.o
851 reference to be a variable reference.
852 * libc/configure.in: Add libtool support. Change sublib
853 names to be lib${subdir}.la when using libtool.
854 * libc/ctype/Makefile.am: Add libtool support.
855 * libc/errno/Makefile.am: Likewise.
856 * libc/locale/Makefile.am: Likewise.
857 * libc/machine/Makefile.am: Likewise.
858 * libc/machine/configure.in: Likewise.
859 * libc/machine/i386/Makefile.am: Likewise.
860 * libc/machine/i386/configure.in: Likewise.
861 * libc/misc/Makefile.am: Likewise.
862 * libc/posix/Makefile.am: Likewise.
863 * libc/reent/Makefile.am: Likewise.
864 * libc/signal/Makefile.am: Likewise.
865 * libc/stdio/Makefile.am: Likewise.
866 * libc/stdlib/Makefile.am: Likewise.
867 * libc/string/Makefile.am: Likewise.
868 * libc/sys/Makefile.am: Likewise.
869 * libc/sys/configure.in: Likewise.
870 * libc/sys/linux/Makefile.am: Add libtool support. Change
871 awk reference to a variable reference. Change signal.h
872 reference to a variable reference.
873 * libc/sys/linux/configure.in: Add libtool support.
874 * libc/syscalls/Makefile.am: Likewise.
875 * libc/time/Makefile.am: Likewise.
876 * libc/unix/Makefile.am: Likewise.
877 * libm/Makefile.am: Add libtool support. Change math and
878 mathfp references to variables.
879 * libm/configure.in: Add libtool support. Add
880 LIBM_MACHINE_LIB variable.
881 * libm/common/Makefile.am: Add libtool support.
882 * libm/math/Makefile.am: Likewise.
883 * libm/mathfp/Makefile.am: Likewise.
884 Regenerate all Makefile.in, aclocal.m4, and configure.
885
b92591a1
JJ
8862001-12-13 Anita Kulkarni <anitak@kpit.com>
887
888 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
889
355b664e
CF
8902001-12-06 John Peacock <jpeacock@rowman.com>
891
892 * libc/include/sys/unistd.h: Correct ualarm declaration.
893
e9853806
NC
8942001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
895
896 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
897 vector before calling the initialisation functions.
898
a8e091b0
CF
8992001-11-29 Christopher Faylor <cgf@redhat.com>
900
901 * libc/include/dirent.h: Protect against multiple inclusion.
902
ab634123
CF
9032001-11-27 Christopher Faylor <cgf@redhat.com>
904
905 * libc/include/sys/types.h: Define useconds_t.
906 * libc/include/sys/ulimit.h: Declare ualarm.
907
d37e401e
CF
9082001-11-21 Christopher Faylor <cgf@redhat.com>
909
910 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
911
8ac90051
HPN
9122001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
913
914 * libc/sys/mmixware/*: Tweak license header in all source files.
915
d7ca37e4
CV
9162001-11-12 Corinna Vinschen <vinschen@redhat.com>
917
918 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
919 to here. Rearrange for general inclusion by stdlib.h.
920 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
921 isn't defined.
922 * libc/sys/linux/include/alloca.h: Move to libc/include.
923
28f8744e
AG
9242001-11-12 Anthony Green <green@redhat.com>
925
926 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
927
4cede8c4
HPN
9282001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
929
930 * libc/sys/mmixware/*: Correct spacing in all source files.
931 * libc/sys/mmixware/syscall.h: Move misplaced file...
932 * libc/sys/mmixware/sys/syscall.h: ...here.
933
8be9b48b
JJ
9342001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
935
936 * libc/include/machine/ieeefp.h: Add support for mmix target.
937 * libc/include/machine/setjmp.h: Ditto.
938 * configure.host: Ditto.
939 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
940 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
941 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
942 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
943 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
944 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
945 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
946 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
947 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
948 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
949 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
950 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
951 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
952 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
953 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
954 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
955 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
956 libc/sys/mmixware/aclocal.m4: Generate.
957
c7dd4f95
CV
9582001-11-05 Corinna Vinschen <corinna@vinschen.de>
959
960 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
961 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
962 when __CYGWIN__ is defined.
963 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
964 logwtmp().
965
a6a6f9fe
JJ
9662001-11-01 Arati Dikey <aratidikey@hotmail.com>
967
968 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
969 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
970 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
971 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
972
d0504c35
JJ
9732001-10-24 Christopher Faylor <cgf@redhat.com>
974
975 * libc/stdio/fseek.c: Reset pointer to buffer base
976 when forced to seek outside of current buffer contents.
977 This prevents the code from erroneously thinking there is
978 anything in the current buffer.
979
0280c8c0
GK
9802001-10-22 Geoffrey Keating <geoffk@redhat.com>
981
982 * libc/include/math.h: The C++ standard adds the single-precision
983 versions of the elementary functions.
984
333d6098
CF
9852001-10-22 Christopher Faylor <cgf@redhat.com>
986
987 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
988 throughout.
989 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
990 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
991 * system.c (_system_r): Ditto.
992
c7118319
CV
9932001-10-17 Corinna Vinschen <corinna@vinschen.de>
994
995 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 996 __CYGWIN__ or __rtems__ is defined.
c7118319 997
5665b0e1
JJ
9982001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
999
1000 * libc/include/stdlib.h: add declarations for
1001 _strtoull_r, _strtoll_r, strtoull, and strtoll.
1002 * libc/stdio/local.h: remove declarations of
1003 __strtoull_r and __strtoll_r.
1004 * libc/stdio/vfscanf.c(__svfscanf_r): call
1005 _strtoull_r instead of __strtoull_r. Ditto
1006 _strtoll_r vs. __strtoll_r.
1007 * libc/stdlib/Makefile.am: add new files to
1008 .c list and .def list
1009 * libc/stdlib/Makefile.in: regenerate
1010 * libc/stdlib/strtoll_r.c: rename __strtoll_r
1011 as _strtoll_r
1012 * libc/stdlib/strtoull_r.c: rename __strtoull_r
1013 as _strtoull_r
1014 * libc/stdlib/strtoull.c: new file
1015 * libc/stdlib/strtoll.c: new file
1016
d2d5eb41
CF
1017Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
1018
1019 * libc/include/process.h: Add getpid() declaration.
1020
448e3c14
NC
10212001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1022
1023 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1024 for new style arm/elf ctor/dtor handling.
1025 Minor formatting tidy up.
1026
7a2afbbb
JJ
10272001-09-13 Jeff Johnston <jjohnstn@redhat.com>
1028
1029 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1030 and strtoull_r.c.
1031 * libc/stdlib/Makefile.in: Regenerated.
1032 * libc/stdlib/strtoll_r.c: New file.
1033 * libc/stdlib/strtoull_r.c: New file.
1034 * libc/stdio/local.h: Add prototypes for long long string
1035 conversion routines.
1036 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1037 tied to %L integer conversion specifier.
1038
6342caa4
JJ
1039Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
1040
1041 * strftime.c (strftime): Fix "%W" implementation to properly handle
1042 Mondays too.
1043
b2d319cb
JJ
10442001-09-07 Jeff Law <law@redhat.com>
1045
1046 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1047 __fini with "mov.l" instead of "mov.w".
1048
233823ba
CV
10492001-09-05 Corinna Vinschen <corinna@vinschen.de>
1050
1051 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1052 and getopt.h.
1053
63c17b54
JJ
10542001-09-04 Jason Merrill <jason_merrill@redhat.com>
1055
1056 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1057
a3e67ddf
CV
10582001-09-03 Corinna Vinschen <corinna@vinschen.de>
1059
1060 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1061 field.
1062 (__DIRENT_VERSION): New define.
1063
6d47f33a
CV
10642001-09-03 Corinna Vinschen <corinna@vinschen.de>
1065
1066 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
1067 Shrink __d_reserved accordingly to keep structure size.
1068 (dirfd): Declare external.
6d47f33a 1069
348c5e06
JJ
10702001-08-29 Joel Sherrill <joel@OARcorp.com>
1071
1072 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1073
10742001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1075
1076 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1077 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1078 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1079 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1080 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1081 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1082 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1083 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1084 Add conditional compilation to avoid HW FPU instructions
1085 when compiled for soft-float.
1086
f29865c5
JJ
10872001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1088
1089 * Makefile.am: Add check for ln failing when creating libg.a
1090 so that cp gets used as a backup.
1091 * Makefile.in: Regenerated.
1092
9e2a4ef8
JJ
10932001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1094
1095 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1096 No longer include time.h. Add struct __tm to use for
1097 _localtime_buf in the reentrant structure. Add a
1098 _NULL definition to use in initializing the reentrant struct.
1099 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1100 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1101 <sys/_types.h>.
1102 * libc/include/sys/unistd.h: Include <sys/_types.h>.
1103 * libc/time/lcltime.c (localtime): Cast the reentrant struct
1104 _localtime_buf to be struct tm *.
1105
1ae900d6
JR
1106Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
1107
1108 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1109 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1110 __ctors_end.
1111 * libc/sys/h8300hms/syscalls.c: Include errno.h.
1112 (_unlink): New stub function.
1113
8e26d5b5
CF
1114Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
1115
1116 * libc/include/sys/errno.h: Add a cautionary comment.
1117
e8267664
JJ
11182001-08-21 Jeff Johnston <jjohnstn@redhat.com>
1119
1120 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1121 for SIZE_SZ so that alignment ends up a minimum of 8.
1122
4acf3edf
CF
1123Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
1124
1125 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1126 arguments.
1127
1128 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1129 Cygwin.
1130
52c80be8
JJ
11312001-08-13 Jeff Johnston <jjohnstn@redhat.com>
1132
1133 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1134 macro constants for mallopt options.
1135 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1136
a7061f7f
JJ
11372001-08-02 Jeff Johnston <jjohnstn@redhat.com>
1138
1139 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1140 otherwise default.
1141
0b4bfdd5
AH
11422001-07-12 Aldy Hernandez <aldyh@redhat.com>
1143
1144 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1145
2b6b730c
NC
11462001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1147
1148 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1149 Define for little endian ARMs.
1150
1151 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1152 __IEEE_BYTES_LITTLE_ENDIAN is defined.
1153
25842b68
JJ
11542001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1155
1156 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1157
371b76ef
JJ
11582001-06-11 Egor Duda <deo@logos-m.ru>
1159
1160 * libc/ctype/ctype_.c: When compiled with gcc on platforms
1161 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1162 initialized memory region. Platform can define COMPACT_CTYPE
1163 to avoid allocation of the additional 128 bytes of data.
1164 Add pointer to _ctype_ array. Always initialize all _ctype_
1165 array elements.
1166
43b44bc5
JL
11672001-06-08 Jonathan Larmour <jlarmour@redhat.com>
1168
1169 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1170 NULL pointer.
1171
188bc140
NC
11722001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1173
1174 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1175
2ce88418
NC
11762001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
1177
1178 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1179 matching, non-word alignment, and the length is <= 4 but more than
1180 enough to move them over a word boundary.
1181 Add comments explaining what each instruction does.
1182
ca60ed47
CF
1183Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
1184
1185 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 1186 * libc/include/sys/unistd.h: Ditto.
ca60ed47 1187
8b3bcfba
JJ
11882001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
1189
1190 * libc/string/strrchr.c: Use strchr for the speed improvements.
1191
b09e3cf8
JJ
11922001-05-01 Jeff Johnston <jjohnstn@redhat.com>
1193
1194 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1195 real file systems, let __smakebuf() determine if line buffering
1196 should be used for stdout.
1197
0ca66974
JJ
11982001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1199
1200 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1201
7cb7017a
JJ
12022001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1203
1204 * libc/include/stdlib.h: Add prototype for _strtod_r.
1205
a874cd21
JJ
12062001-04-24 Charles Wilson <cwilson@ece.gatech.edu
1207
1208 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1209 * libc/stdio/vprintf.c (_vprintf_r): new function
1210 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1211 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1212 _DEFUN, and call _vfprintf_r, not vfprintf.
1213 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1214 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1215 _DEFUN, and call _vfprintf_r, not vfprintf.
1216
cb4cc283
CF
12172001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
1218
1219 * libc/include/sys/unistd.h [X_OK]: Use better protection against
1220 Cygwin X_OK definitions in sys/file.h.
1221
8c9df1d5
CF
1222Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
1223
1224 * libc/include/sys/time.h: Define timercmp and other macros for
1225 __CYGWIN__, too.
1226
3ac6f3a7
JJ
12272001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1228
1229 * acinclude.m4: Added --enable-malloc-debugging configure flag.
1230 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1231 --enable-malloc-debugging selected.
1232 * aclocal.m4 configure: Regenerated.
1233 libm/aclocal.m4 libm/configure: Ditto.
1234 * libc/aclocal.m4 libc/configure: Ditto.
1235 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1236 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1237 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1238 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1239 * doc/aclocal.m4 doc/configure: Ditto.
1240
52cb9e69
JJ
12412001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1242
1243 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1244 into one list.
1245 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1246 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1247 function prototypes.
1248 (_fscanf_r, _sscanf_r): Ditto.
1249 * libc/include/stdlib.h: Added _strtod_r prototype.
1250 * libc/stdio/Makefile.am: Add new v*scanf functions.
1251 * libc/stdio/Makefile.in: Regenerate.
1252 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1253 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
1254 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1255 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1256 (sscanf): Changed to call __svfscanf_r with _REENT argument.
1257 (_sscanf_r): New routine.
1258 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1259 with __svfscanf_r prototype.
1260 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1261 routines.
1262 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1263 structure as argument as calls reentrant versions of helper functions
1264 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1265 to _strtol_r and _strtod_r respectively.
1266 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1267 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1268 _REENT argument.
1269 * libc/stdio/vscanf.c: New file.
1270 * libc/stdio/vsscanf.c: Ditto.
1271
ee9f39fb
JJ
12722001-04-19 Robert Collins <rbtcollins@hotmail.com>
1273
1274 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
1275 Define daylight to _daylight if it is not defined
1276 Prepare a variable export of timezone based on timezonevariable.
1277 (Cannot be used with the timezone() function.)
1278
273861e3
JJ
12792001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
1280
1281 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1282 Correct the numerical values.
1283
a25b8414
CF
12842001-04-13 Robert Collins <rbtcollins@hotmail.com>
1285
1286 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1287
b8a8c59d
CV
1288Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
1289
1290 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1291 on case insensitve file systems.
1292
74f8cc63
CF
12932001-04-12 Robert Collins <rbtcollins@hotmail.com>
1294
1295 * libc/include/sys/features.h: Add appropriate defines for Cygwin
1296 pthread support.
1297 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1298 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1299 types. Include <cygwin/types.h> for the cygwin specific typedefs.
1300
16740220
RS
13012001-04-04 Richard Sandiford <rsandifo@redhat.com>
1302
1303 * libc/include/machine/ieeefp.h: Comment about new configuration
1304 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1305 * libm/common/fdlib.h: Define new macros for testing floats.
1306 * libm/common/sf_*: Use them.
1307 * libm/math/ef_*: Likewise.
1308 * libm/math/sf_*: Likewise.
1309
0694d8d3
JJ
13102001-03-29 Jeff Johnston <jjohnstn@redhat.com>
1311
1312 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1313 prolog to by-pass possible assembler error.
1314
4833b38c
JJ
13152001-03-21 Egor Duda <deo@logos-m.ru>
1316
1317 Allow building internal stubs for non-reentrant syscalls
1318 if target provides its own malloc
1319 * libc/reent/reent.c (errno): Move definition here.
1320 * libc/reent/sbrkr.c: From here.
1321
d17d6d42
CF
13222001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
1323
1324 * libc/include/sys/types.h (BSD int typedefs): Guard with
1325 _BSDTYPES_DEFINED rather than _WINSOCK_H.
1326 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1327 _SYS_TYPES_FD_SET.
1328 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1329 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1330
c7ee75cd
CV
1331Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
1332
1333 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1334 _PC_POSIX_SECURITY constants for Cygwin.
1335
63dc5d80
CV
1336Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
1337
1338 * libc/sys/cygwin/crt0.c: Add copyright hint.
1339 * libc/sys/cygwin/sys/dirent.h: Ditto.
1340 * libc/sys/cygwin/sys/param.h: Ditto.
1341 * libc/sys/cygwin/sys/utime.h: Ditto.
1342 * libc/sys/cygwin/sys/utmp.h: Ditto.
1343
6f637037
AO
13442001-03-13 Alexandre Oliva <aoliva@redhat.com>
1345
1346 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1347 equivalent to LONGINT.
1348
e69b6f73
JJ
13492001-03-08 Richard Sandiford <rsandifo@redhat.com>
1350
1351 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1352 jmpbuf on MIPS64 targets.
1353 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1354
6198dece
CF
1355Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
1356
e69b6f73
JJ
1357 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
1358 declarations.
6198dece 1359
cfc05d96
JJ
1360Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
1361
1362 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1363 For RTEMS, define to be ssize_t. Default to int if not defined.
1364 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1365 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1366 * libc/stdio/local.h (__sread, __swrite): Likewise.
1367 * libc/include/sys/reent.h (_read, _write): Likewise.
1368 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1369 * libc/syscalls/sysread.c (read): Likewise.
1370 * libc/syscalls/syswrite.c (write): Likewise.
1371
6249353a
JJ
13722001-03-05 Jeff Johnston <jjohnstn@redhat.com>
1373
1374 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1375
658b5db9
CF
1376Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
1377
1378 * libc/include/sys/stat.h: Use special defines for executable stat bits
1379 when compiling for Cygwin.
1380 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1381 for Cygwin.
1382
19ca46d5
JJ
13832001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1384
1385 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1386 of strtok_r is always defined.
1387
b73ed85e
JJ
13882001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1389
1390 * libc/include/machine/ansi.h: New dummy header file.
1391
ee37ede1
JJ
13922001-02-22 Jeff Johnston <jjohnstn@redhat.com>
1393
1394 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1395 changed the copyright information to allow free modification of the
1396 file with no reference to "copying.dj".
1397 * libc/include/sys/stat-dj.h: Ditto.
1398 * libc/machine/i386/setjmp.S: Ditto.
1399 * libc/sys/h8300hms/sys/file.h: Ditto.
1400 * libc/sys/sysmec/access.c: Ditto.
1401 * libc/sys/sysnecv850/access.c: Ditto.
1402 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1403 * libc/stdlib/getenv_r.c: Ditto.
1404 * libc/stdlib/putenv_r.c: Ditto.
1405 * libc/stdlib/setenv_r.c: Ditto.
1406 * libc/stdlib/getenv.c: Removed DJ reference since any possible
1407 modifications will now be in the _r version of this file.
1408 * libc/stdlib/putenv.c: Ditto.
1409 * libc/stdlib/setenv.c: Ditto.
1410 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1411 valid. Added a reference to DJ's web page that contains his address.
1412 * libc/sys/go32/*.s: Removed references to DJ's old address.
1413 * libc/sys/go32/*.c: Ditto.
1414 * libc/sys/go32/*.h: Ditto.
1415 * libc/sys/go32/*.S: Ditto.
1416 * libc/sys/go32/sys/*.h: Ditto.
1417
3a8fc0e4
JJ
14182001-02-21 Jeff Johnston <jjohnstn@redhat.com>
1419
1420 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1421 HAVE_FCNTL flag check.
1422 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1423 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1424
b24ee749
CF
1425Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
1426
1427 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1428
ab4745dc
JJ
14292001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1430
1431 * libc/include/stdlib.h: Add declarations of rand48 functions and
1432 their reentrant versions.
1433 * libc/include/sys/reent.h: Move macros from rand48.h. Add
1434 struct _rand48 for shared parameters of rand48 functions.
1435 (struct _reent): Add a variable _r48 of struct _rand48.
1436 (_REENT_INIT): Add _r48 initialization.
1437 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1438 (CHEWOUT_FILES): Add rand48.def.
1439 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1440 * libc/stdlib/Makefile.in: Regenerated.
1441 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1442 NetBSD C library.
1443 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1444 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1445 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1446 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1447 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1448 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1449 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1450 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1451 * libc/stdlib/rand48.c (__dorand48): Ditto.
1452 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1453 parameters into macros referring them in the reentrant structure.
1454
a34c461f
JJ
14552001-02-12 Jeff Johnston <jjohnstn@redhat.com>
1456
1457 * libc/include/sys/stat.h: Add mknod for Cygwin now that
1458 Cygwin definition has correct prototype.
1459
34f31ff2
JJ
14602001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1461
1462 * libc/include/sys/stat.h: Must revert change for mknod
1463 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1464 prototype.
1465
5336d6de
JJ
14662001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1467
1468 * libc/include/stdio.h: Revert putw prototype.
1469
8915d10a
JJ
14702001-02-08 Edward M. Lee <tailbert@yahoo.com>
1471
1472 * libc/include/grp.h: add prototype for initgroups.
1473 * libc/include/stdio.h: fix prototype for putw.
1474 * libc/include/sys/signal.h: add prototype for killpg.
1475 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1476 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1477 vhangup and remove duplicate sysconf prototype.
1478
93ac4487
JJ
14792001-02-07 Jeff Johnston <jjohnstn@redhat.com>
1480
1481 * libc/sys/rtems/sys/types.h: Removed.
1482
31f5feea
JJ
14832001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
1484
1485 * libc/include/locale.h: add LC_MESSAGES definition
1486
b5139f59
AO
14872001-02-01 Alexandre Oliva <aoliva@redhat.com>
1488
1489 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1490 SYS_get_argN):
1491 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1492 __setup_argv_and_call_main): New.
1493
e29d8355
JJ
14942001-01-31 Jeff Johnston <jjohnstn@redhat.com>
1495
1496 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1497 if defined.
1498 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1499 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1500 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1501 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1502
82ea92f3
CF
1503Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
1504
1505 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1506 compiling under Cygwin.
1507
3aaa66f8
JJ
15082001-01-29 Jeff Johnston <jjohnstn@redhat.com>
1509
1510 * libc/include/math.h (signgam): Change to errno-like solution
1511 using a function to return the address of the real signgam.
1512 * libc/reent/signgam.c: New file containing __signgam().
1513 * libc/reent/Makefile.am: Added signgam.c to list of files.
1514 * libc/reent/Makefile.in: Regenerated.
1515
610b895a
AO
15162001-01-25 Alexandre Oliva <aoliva@redhat.com>
1517
b0913397
AO
1518 * libc/sys/sh/syscalls.c (_times): New.
1519
610b895a
AO
1520 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1521 * libc/sys/sh/syscalls.c (_gettimeofday): New.
1522
3643210e
JJ
15232001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1524
1525 * libc/include/math.h (signgam): Regress previous fix as
1526 it does not handle programs with extern int signgam in them.
1527
841081c9
JJ
15282001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1529
1530 * libc/include/math.h (signgam): Changed to a macro refering to
1531 its location in the reentrant structure.
1532
e9cd87b8
JJ
15332001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1534
1535 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
1536 that suppressed . for %.0f, 0.1. Check now looks if there
1537 are padding zeroes (expt) in addition to any digits (ndig) to
1538 print.
1539
a302b48c
JJ
15402001-01-18 Jeff Johnston <jjohnstn@redhat.com>
1541
1542 * libc/sys/arc/Makefile.am: New file.
1543 * libc/sys/arc/Makefile.in: Ditto.
1544 * libc/sys/arc/aclocal.m4: Ditto.
1545 * libc/sys/arc/configure: Ditto.
1546 * libc/sys/arc/configure.in: Ditto.
1547 * libc/sys/arc/crt0.S: Ditto.
1548 * libc/sys/arc/isatty.c: Ditto.
1549 * libc/sys/arc/mem-layout.c: Ditto.
1550 * libc/sys/arc/sbrk.c: Ditto.
1551 * libc/sys/arc/syscalls.c: Ditto.
1552 * libc/sys/arc/sys/syscall.h: Ditto.
1553
d0319c3b
CF
1554Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
1555
1556 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
1557
e45ab890
CF
1558Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
1559
1560 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
1561
1376245a
DD
1562Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
1563
1564 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
1565
92b57543
NC
15662001-01-09 Nick Clifton <nickc@redhat.com>
1567
1568 * configure.host (v859): Remove unsupported compiler options.
1569
7d6d33d4
JJ
1570Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
1571
1572 * src/newlib/configure.host (*-*-rtems*): add printf long long
1573 support for RTEMS.
1574
602f8b5a 15752000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
1576
1577 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
1578
9c2b8183
JJ
1579Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1580
1581 * configure.host: Turn on long double I/O for Cygwin.
1582
804368d3
JJ
1583Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1584
1585 * MAINTAINERS: Removed Ranjith.
1586 * NEWS: Updated for 1.9.0.
1587 * README: Updated.
1588 * acinclude.m4: Updated to release 1.9.0.
1589 * aclocal.m4 configure
1590 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1591 libc/machine/aclocal.m4 libc/machine/configure
1592 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
1593 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
1594 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
1595 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
1596 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
1597 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
1598 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
1599 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
1600 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
1601 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
1602 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
1603 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
1604 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
1605 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
1606 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
1607 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
1608 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
1609 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
1610 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
1611 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
1612 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1613 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1614 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1615 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
1616 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1617 libc/sys/aclocal.m4 libc/sys/configure
1618 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1619 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1620 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1621 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1622 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1623 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1624 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1625 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1626 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
1627 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1628 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1629 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1630 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1631 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1632 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1633 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1634 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1635 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1636 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1637 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1638 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1639 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1640 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1641 libm/aclocal.m4 libm/configure: Regenerated.
1642
0985d43f
CV
1643Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1644
1645 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
1646 when __CYGWIN__ is defined.
1647
b6182a09
JJ
16482000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1649
1650 * libc/stdlib/ldtoa.c (_ldcheck): New routine
1651 that categorizes a long double as NaN, Infinity, or other.
1652 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
1653 isinfl and isnanl static routines which were i386-specific. Changed
1654 calls to the two removed routines to a single _ldcheck call.
1655 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
1656
adbbb034
JJ
16572000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1658
1659 * Makefile.am: Fixed install-data-local target to use
1660 $(mkinstalldirs) for the installed header files to ensure
1661 the directories exist before copying.
1662 * Makefile.in: Regenerated.
1663
cbd19336
JJ
16642000-12-12 Jeff Johnston <jjohnstn@redhat.com>
1665
1666 * libc/include/sys/unistd.h: Restored Cygwin _SC
1667 constants and moved new constants appropriately
1668 so Cygwin will build.
1669
8fb37963
JJ
16702000-12-11 Joel Sherrill <joel@OARcorp.com>
1671
1672 * Merge RTEMS specific .h files into main libc/include.
1673 * libc/sys/rtems/include/signal.h: Removed.
1674 * libc/sys/rtems/include/time.h: Removed.
1675 * libc/sys/rtems/sys/features.h: Removed.
1676 * libc/sys/rtems/sys/sched.h: Removed.
1677 * libc/sys/rtems/sys/siginfo.h: Removed.
1678 * libc/sys/rtems/sys/signal.h: Removed.
1679 * libc/sys/rtems/sys/time.h: Removed.
1680 * libc/sys/rtems/sys/times.h: Removed.
1681 definitions for time_t and clock_t since these are
1682 no longer in time.h.
1683 * libc/include/pthread.h: New file.
1684 * libc/include/sys/sched.h: New file.
1685 * libc/include/sys/features.h: New file.
1686 * libc/include/time.h: Removed duplicate definition of clock_t
1687 and time_t, get them from <sys/types.h> instead. Add prototypes
1688 for POSIX clock and timer functionality.
1689 * libc/sys/linux/sys/types.h: Changed to include
1690 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
1691 * libc/include/sys/signal.h: Add more complete set of POSIX
1692 signal functionality including real-time and threaded signals.
1693 * libc/include/sys/types.h: Add clock_t, time_t, struct
1694 timespec, and struct itimerspec. Centralizing these makes
1695 things cleaner. RTEMS uses 64-bit dev_t.
1696 Added numerous primitive definitions
1697 for pthreads including macros, pthread_attr_t,
1698 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
1699 pthread_once_t, and pthread_t.
1700 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
1701 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
1702 Feature flags removed and moved to new file <sys/features.h>.
1703 Full set of POSIX sysconf() constants
1704
2efbc2a7
JJ
17052000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
1706
1707 * configure.host: Added x86 linux target.
1708 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
1709 definitions provided if not already defined.
1710 * libc/sys/linux/crt0.c: New file.
1711 * libc/sys/linux/Makefile.am: Ditto.
1712 * libc/sys/linux/Makefile.in: Ditto.
1713 * libc/sys/linux/aclocal.m4: Ditto.
1714 * libc/sys/linux/brk.c: Ditto.
1715 * libc/sys/linux/configure: Ditto.
1716 * libc/sys/linux/configure.in: Ditto.
1717 * libc/sys/linux/getoptlong.c: Ditto.
1718 * libc/sys/linux/ids.c: Ditto.
1719 * libc/sys/linux/inode.c: Ditto.
1720 * libc/sys/linux/io.c: Ditto.
1721 * libc/sys/linux/linux.c: Ditto.
1722 * libc/sys/linux/process.c: Ditto.
1723 * libc/sys/linux/realpath.c: Ditto.
1724 * libc/sys/linux/select.c: Ditto.
1725 * libc/sys/linux/signal.c: Ditto.
1726 * libc/sys/linux/systat.c: Ditto.
1727 * libc/sys/linux/termios.c: Ditto.
1728 * libc/sys/linux/time.c: Ditto.
1729 * libc/sys/linux/wait.c: Ditto.
1730 * libc/sys/linux/include/alloca.h: Ditto.
1731 * libc/sys/linux/include/getopt.h: Ditto.
1732 * libc/sys/linux/include/stdint.h: Ditto.
1733 * libc/sys/linux/include/unistd.h: Ditto.
1734 * libc/sys/linux/sys/cdefs.h: Ditto.
1735 * libc/sys/linux/sys/dirent.h: Ditto.
1736 * libc/sys/linux/sys/errno.h: Ditto.
1737 * libc/sys/linux/sys/fcntl.h: Ditto.
1738 * libc/sys/linux/sys/file.h: Ditto.
1739 * libc/sys/linux/sys/ioctl.h: Ditto.
1740 * libc/sys/linux/sys/resource.h: Ditto.
1741 * libc/sys/linux/sys/signal.h: Ditto.
1742 * libc/sys/linux/sys/stat.h: Ditto.
1743 * libc/sys/linux/sys/syscall.h: Ditto.
1744 * libc/sys/linux/sys/termios.h: Ditto.
1745 * libc/sys/linux/sys/time.h: Ditto.
1746 * libc/sys/linux/sys/types.h: Ditto.
1747 * libc/sys/linux/sys/utmp.h: Ditto.
1748 * libc/sys/linux/sys/utsname.h: Ditto.
1749 * libc/sys/linux/sys/wait.h: Ditto.
1750
a08c98bb
JJ
17512000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1752
1753 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
1754 can be a relative path to $(top_srcdir)/install.sh so ensure the
1755 autoconf detected settings are properly passed recursively.
1756 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
1757 properly to subdirectories.
1758 * Makefile.in: Regenerated.
1759
b294082c
JJ
17602000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
1761
1762 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
1763 a floating point register unless really printing a floating
1764 point number.
1765
2005ab6b
JJ
17662000-12-07 Jeff Johnston <jjohnstn@redhat.com>
1767
1768 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
1769 Also removed \r's.
1770 (asctoeg): Replaced alloca call with stack array and malloc
1771 when storage exceeds reasonable limit.
1772 (e53toe): Fixed einfin calls missing ldp parameter.
1773 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
1774
9f6e8f1b
JJ
17752000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1776
2005ab6b 1777
9f6e8f1b
JJ
1778 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
1779
6bdac416
JJ
17802000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1781
1782 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
1783 * libc/stdlib/Makefile.in: Regenerated.
1784 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
1785 * libc/stdio/vfieeefp.h: Added long double bit structures.
1786 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
1787 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
1788 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
1789 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
1790 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
1791 _strtold routines used for conversions between character
1792 and long double.
1793
ec270d31
CV
1794Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1795
1796 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
1797
db2d9549
JJ
17982000-12-04 Joel Sherrill <joel@OARcorp.com>
1799
1800 * libc/include/machine/time.h: RTEMS systems can configure clock
1801 tick rate so use sysconf() to ask.
1802
6ba54a15
JJ
18032000-12-04 Joel Sherrill <joel@OARcorp.com>
1804
1805 * libc/include/sys/times.h: Add reference to POSIX standard.
1806
8677b819
JJ
18072000-12-04 Joel Sherrill <joel@OARcorp.com>
1808
1809 * libc/include/sys/time.h: Added BSD timer manipulation macros
1810 used by RTEMS code.
1811
1b61a706
JJ
18122000-12-04 Joel Sherrill <joel@OARcorp.com>
1813
1814 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
1815 referenced by code generated by gcc 2.8.1.
1816 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1817 satisfy gcc.
1818
f5e7c124
JJ
18192000-12-04 Joel Sherrill <joel@OARcorp.com>
1820
1821 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
1822
768abc9c
JJ
18232000-12-04 Joel Sherrill <joel@OARcorp.com>
1824
1825 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
1826
9e5dd5ea
JJ
18272000-12-04 Joel Sherrill <joel@OARcorp.com>
1828
1829 * configure.host (or16, or32): New entries for OpenCores
1830 OpenRisc CPUs.
1831 (*-*-rtems*): Add -DNO_EXEC.
1832
768abc9c 18332000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
1834
1835 * libc/include/sys/errno.h: Added comments on many error numbers.
1836 * libc/string/strerror.c: Added some more strings.
1837
b273323f
JJ
18382000-11-30 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * libc/sys/sh/syscalls.c (_link): New stub.
1841
0ffc3b94
NC
18422000-11-29 Nick Clifton <nickc@redhat.com>
1843
1844 * configure.host: Add xscale target.
1845 * libc/machine/xscale: New directory.
1846 * libc/machine/xscale/Makefile.am: New file.
1847 * libc/machine/xscale/Makefile.in: New file.
1848 * libc/machine/xscale/aclocal.m4: New file.
1849 * libc/machine/xscale/configure: New file.
1850 * libc/machine/xscale/configure.in: New file.
1851 * libc/machine/xscale/memchr.S: New file.
1852 * libc/machine/xscale/memcmp.S: New file.
1853 * libc/machine/xscale/memcpy.S: New file.
1854 * libc/machine/xscale/memmove.S: New file.
1855 * libc/machine/xscale/memset.S: New file.
1856 * libc/machine/xscale/strchr.S: New file.
1857 * libc/machine/xscale/strcmp.S: New file.
1858 * libc/machine/xscale/strcpy.S: New file.
1859 * libc/machine/xscale/strlen.S: New file.
1860
cbbf0f96
CV
1861Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1862
1863 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
1864 avoid compiler warnings.
1865
73dea790
MM
18662000-11-22 Michael Meissner <meissner@redhat.com>
1867
1868 * libc/posix/execl.c (execl): Don't reference environ directly,
1869 reference it only via a static pointer to avoid problems with some
1870 shared library systems and with different uses of small data where
1871 the user specifies his own version of environ.
1872 * libc/posix/execv.c (execv): Ditto.
1873 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
1874 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
1875 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
1876
1877 * libc/stdlib/getenv.c (environ): Delete unused reference to
1878 environ.
1879
1880 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
1881 colorization.
1882 * libc/stdlib/system.c: Ditto.
1883
08eac2ae
CF
1884Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
1885
1886 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
1887 including windows headers.
1888
5478bf37
JJ
18892000-11-20 Jeff Johnston <jjohnstn@redhat.com>
1890
1891 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
1892 * libc/include/dirent.h: Added definition of MAXNAMLEN if
1893 not defined by sys/dirent.h.
1894 * libc/posix/execvp.c: Added include of dirent.h to get
1895 MAXNAMLEN value which used to be in unistd.h.
1896
3a760728
CV
1897Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1898
1899 * libc/include/sys/types.h: Change type of i to `size_t' in
1900 FD_ZERO macro to avoid compiler warnings.
1901
86fff69f
CF
1902Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
1903
1904 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
1905 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
1906
ba9e88d2
CV
1907Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1908
1909 * libc/include/sys/unistd.h: Add defines for sysconf values
1910 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
1911 _SC_AVPHYS_PAGES.
1912
a8018ef3
CF
1913Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
1914
1915 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
1916 declarations for __CYGWIN__.
1917
b944c6f6
GK
19182000-09-19 Geoffrey Keating <geoffk@cygnus.com>
1919
1920 * libc/signal/signal.c (__sigtramp_r): ISO C requires
1921 case labels to be integral constant expressions, so
1922 use an if/else tree instead.
1923 (_raise_r): Likewise.
1924
7f18fcb4
JJ
19252000-09-13 Jeff Johnston <jjohnstn@redhat.com>
1926
1927 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
1928 clipping patch from e-mail reader.
1929
242361df
JJ
19302000-09-13 Will Cohen <wcohen@redhat.com>
1931
1932 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
1933 Added return value 0.
1934 (_longjmp): Allow longjmp to return value of second argument
1935 passed to it.
1936
8a8c59b9
JJ
19372000-09-06 Jeff Johnston <jjohnstn@redhat.com>
1938
1939 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
1940 inline code to prevent having to include another header file.
1941
a385ae75
CF
1942Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
1943
1944 * Makefile.am: Fix space vs. tab problem in install-data-local.
1945 * Makefile.in: Regenerate.
1946
1947Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
1948
1949 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
1950 (_EXPARM): New macro for defining a function parameter.
1951 * libc/include/stdlib.h: Use _EXPARM.
1952 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
1953
a36cd013
JJ
19542000-09-05 Manfred Hollstein <manfredh@redhat.com>
1955
1956 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
1957 required, as documented in the gnu coding standards.
1958 * Makefile.in: Regenerate.
1959
f825dfda
JJ
19602000-09-05 Jeff Johnston <jjohnstn@redhat.com>
1961
1962 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
1963 make O_NDELAY and O_NONBLOCK have the same value.
1964
4ba9aab7
JJ
19652000-08-30 Kazu Hirata <kazu@hxi.com>
1966
1967 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
1968
db7acc38
JJ
19692000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
1970
1971 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
1972 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
1973 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
1974 everywhere else.
1975
44e36af4
GK
19762000-08-30 Geoffrey Keating <geoffk@cygnus.com>
1977
1978 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
1979 * libc/include/string.h: Don't include <sys/types.h>,
1980 as it causes really bad namespace pollution. Don't declare
1981 swab(), it is properly declared in unistd.h.
1982
00a2f168
JJ
19832000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
1984
1985 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
1986 (broken) support for non-existent /etc/passwd field "comment".
1987
6beeb240
JJ
19882000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
1989
1990 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
1991 only if _DIRENT_HAVE_D_NAMLEN is defined.
1992 (alphasort): aligned prototype with
1993 libc/sys/cygwin/sys/dirent.h and simplified function body.
1994 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
1995 long telldir (DIR *) as mentioned in annex B of POSIX.1
1996
ef44da42
JJ
19972000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
1998
1999 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2000 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2001 Added __CLI and __STI macros (controlled via
2002 _I386MACH_ALLOW_HW_INTERRUPTS macro).
2003 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2004 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2005 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2006 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2007 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2008 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2009 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2010 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2011 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2012 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2013 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2014 for all global entry points.
2015 * libc/machine/i386/setjmp.S: removed code replicated in
2016 libc/machine/i386/i386mach.h and included i386mach.h instead;
2017 Use __CLI and __STI instead of cli and sti.
2018
14d3488d
DD
20192000-08-25 DJ Delorie <dj@redhat.com>
2020
2021 * libc/include/sys/unistd.h (environ): this one isn't from the
2022 DLL, no __IMPORT
2023
c9ca4412
CF
2024Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
2025
2026 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2027 environ when compiling under cygwin since it is already declared in
2028 unistd.h.
2029
2d5862de
JJ
20302000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2031
2032 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2033 like x << y-z to the equivalent x << (y-z).
2034 (d2b): changed if statements with assignment to perform the
2035 assignment prior to the if check.
2036 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2037 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2038 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2039 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2040 precedence.
2041 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2042 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2043 execve.c).
2044 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2045 precedence.
2046 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2047 clarify && and || precendence (and to remove pascalism).
2048 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2049 * libm/math/s_infconst.c: added another pair of braces to all
2050 initializers for __infinity (need three: for __infinity[1] array,
2051 for union __dmath, and for i[2]).
2052
0888fedd
JJ
20532000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2054
199359f0
JJ
2055 * libc/stdlib/abort.c: changed description: uses "raise" instead of
2056 "getpid" and "kill"; added: uses "write" and "_exit".
2057 Also included unistd.h for "_exit" prototype.
2058 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2059 reent.h for "_fork_r" and "_wait_r" prototypes.
2060 (do_system): changed extern char *environ[] to POSIX-friendly
2061 extern char **environ.
2062 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2063 prototypes.
2064 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2065 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2066 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2067 * libc/reent/openr.c: included fcntl.h for "open" prototype.
2068 * libc/reent/signalr.c: included signal.h for "kill" prototype,
2069 unistd.h for "getpid" prototype.
2070 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2071 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2072 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2073 prototype. Also included stdlib.h for "abort", string.h for
2074 "strdup" and "strncmp" prototypes.
2075 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2076 "strncpy", unistd.h for "read" and "close" prototypes.
2077 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2078 "strcat" prototypes.
2079
20802000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
2081
0888fedd
JJ
2082 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2083 used later (ifdef __SCLE)
2084 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2085 used later (ifdef MB_CAPABLE)
2086 * libc/string/memset.c (memset): removed unused variables "count"
2087 and "unaligned_addr"
2088 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2089 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2090 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2091 and "gid"
2092
a334e5ef
JJ
20932000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2094
2095 * libc/stdlib/envlock.c: changed documented "__env_lock" and
2096 "__env_unlock" prototype from "void *" or "char *" to
2097 "struct _reent *" to match real function. Also added include
2098 of envlock.h.
2099 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2100 "__malloc_unlock" prototype from "void *" or "char *" to
2101 "struct _reent *" to match real function.
2102 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2103 prototypes (for getenv_r.c and setenv_r.c).
2104
644b7f26
DD
21052000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
2106
2107 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2108 and prototype in cygwin's utmp.h
2109
5bacbf10
JJ
21102000-08-16 Eric Fifer <efifer@sanwaint.com>
2111
2112 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2113
38a6bf98
NC
21142000-08-09 Nick Clifton <nickc@cygnus.com>
2115
2116 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2117 epilogue and to allow the functions to be used in a Thumb based
2118 toolchain.
2119
befe0fb3
JJ
21202000-08-08 Jeff Johnston <jjohnstn@redhat.com>
2121
2122 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2123 so size of 0 results in nothing being written to string.
2124 Also fixed code so that when size is non-zero, there is only
2125 a maximum of size - 1 characters written to the array and
2126 a nul terminator is appended at the end.
2127 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2128
749d9bcd
DD
21292000-08-01 DJ Delorie <dj@redhat.com>
2130
2131 * libc/include/sys/config.h: define __IMPORT appropriately
2132 * libc/include/ctype.h (_ctype_): use __IMPORT
2133 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2134 * libc/include/math.h (__mb_cur_max): ditto
2135 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2136 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2137 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2138 * libc/include/unistd.h (environ): ditto
2139
7c110b17
MM
21402000-07-28 Michael Meissner <meissner@redhat.com>
2141
2142 * libc/include/math.h (__infinity): Declare as an array without
2143 bounds to get around small data support. Rewrite Cygwin support
2144 to be more general.
2145 * libm/math/s_infconst.c (__infinity): Ditto.
2146 * libm/mathfp/s_infconst.c (__infinity): Ditto.
2147
bf7be721
CF
2148Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
2149
2150 * libc/include/math.h: Use appropriate dll import linkage for
2151 __infinity under Cygwin.
2152
91a8d90b
DD
21532000-07-13 DJ Delorie <dj@cygnus.com>
2154
2155 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2156
ba2048d3
JJ
2157Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
2158
2159 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2160 to argument list for AngelSWI_Reason_GetCmdLine.
2161
4634da64
JJ
2162Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2163
2164 * configure.host: Add support for AVR target.
2165 * libc/include/machine/ieeefp.h: Likewise.
2166 * libc/include/sys/config.h: Likewise.
2167
b19f72a2
RK
2168Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2169
2170 * README: Newlib 1.8.2 must be built in a separate directory
2171 than the sources.
2172
a704d94a
JJ
2173Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2174
2175 * libc/include/sys/reent.h (_rand_next): Added __extension__
2176 qualifier as long long type is not strict ANSI.
2177 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2178 to long long constant.
2179
b585720b
CV
2180Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
2181
2182 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2183 `setegid' provided by Cygwin.
2184
01c327ba
CV
2185Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
2186
2187 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2188 account for Cygwin.
2189
46a43a99
JJ
2190Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2191
2192 * libc/include/sys/reent.h (_rand_next): Changed to
2193 unsigned long long and moved to end of _reent struct in _new union.
2194 (_REENT_INIT): Changed to move _rand_next initialization.
2195 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2196 linear congruential algorithm that is used by DJGPP.
2197
a68078cb
RK
2198Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2199
2200 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2201 * libc/include/sys/config.h: Define __RAND_MAX.
2202
518882f3
JJ
2203Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2204
2205 * libc/stdlib/rand_r.c: New algorithm that meets minimal
2206 standard.
2207
d51d968a
CF
2208Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
2209
2210 * libc/include/string.h: Work around problem with strsignal and gdb.
2211
d2dd5765
CF
2212Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
2213
2214 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2215 * libc/include/malloc.h: Ditto.
2216 * libc/include/process.h: Ditto.
2217 * libc/include/stdio.h: Ditto.
2218 * libc/include/stdlib.h: Ditto.
2219 * libc/include/time.h: Ditto.
2220 * libc/include/machine/setjmp.h: Ditto.
2221 * libc/include/sys/errno.h: Ditto.
2222 * libc/include/sys/signal.h: Ditto.
2223 * libc/include/sys/stat.h: Ditto.
2224 * libc/include/sys/time.h: Ditto.
2225 * libc/include/sys/unistd.h: Ditto.
2226 * libc/include/string.h: Ditto. strsignal should return a const char *.
2227
88870218
JJ
22282000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
2229
2230 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2231 * libm/common/s_log1p.c (log1p): Likewise.
2232 * libm/common/s_scalbn.c (scalbn): Likewise.
2233 * libm/math/e_log.c: Likewise.
2234 * libm/math/e_asin.c: Likewise.
2235 * libm/math/ef_asin.c: Likewise.
2236 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2237 * libm/math/e_j1.c (pone, qone): Likewise.
2238 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2239 * libm/math/ef_j1.c (ponef, qonef): Likewise.
2240 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2241 * libm/mathfp/e_j1.c (pone, qone): Likewise.
2242 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2243 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2244
c4e1aa01
DD
22452000-05-19 DJ Delorie <dj@cygnus.com>
2246
2247 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2248 (__sread): always read in binary mode
2249 (__swrite): always write in binary mode
2250 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2251 compatibility issues with different dll versions
2252 * libc/stdio/fopen.c: use __stextmode
2253 * libc/stdio/fdopen.c: ditto
2254 * libc/stdio/freopen.c: ditto
2255 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2256 * libc/stdio/local.h: declare __stextmode
2257
f4393261
DD
22582000-05-18 DJ Delorie <dj@cygnus.com>
2259
2260 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2261
2b533fac
JJ
2262Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2263
2264 * libc/include/ctype.h: Changed tolower and toupper macros
2265 to use __extension__ to prevent pedantic warnings.
2266
75362a76
RK
2267Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
2268
2269 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2270 structures.
2271
ec463fc7
JW
2272Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
2273
2274 * libc/include/machine/ieeefp.h: Add ia64 support.
2275 * configure.host: Likewise.
2276
f35ceefa
JJ
2277Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
2278
2279 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2280 month is now padded with space, not zero. This now conforms to
2281 ANSI standard.
2282
b96fca8c
CV
2283Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
2284
2285 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2286 host or network path") used by cygwin. Add some comments.
2287
49d64538
JJ
2288Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
2289
2290 * libc/include/stdio.h (FILE): define __SCLE for "convert line
2291 endings" for Cygwin.
2292 (__sgetc): convert line endings if needed
2293 (__sputc): ditto
2294 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2295 * libc/stdio/fopen.c (_fopen_r): ditto
2296 * libc/stdio/freopen.c (freopen): ditto
2297 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2298 * libc/stdio/fvwrite.c (__sfvwrite): ditto
2299
91fb1e7f
AO
2300Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
2301
2302 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2303 post-increment when it is worth it, spacewise.
2304
c87be3e4
JJ
2305Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2306
2307 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2308 * libc/stdio/findfp.c (std): Added declaration of flags and file.
2309 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
2310 return type.
2311 * libc/stdio/putchar.c (putchar): Added return statement.
2312 * libc/stdio/refill.c (lflush): Added correct parentheses.
2313 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2314 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
2315 prints long value to use l qualifier.
2316 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2317 messages and initialized local values: ilim, ilim1, and spec_case.
2318 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2319 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2320 * libc/stdlib/mprec.c: Ditto.
2321 * libc/stdlib/setenv_r.c: Ditto.
2322 * libc/stdlib/strtod.c: Ditto.
2323 * libc/stdlib/strtol.c: Ditto.
2324 * libc/stdlib/strtoul.c: Ditto.
2325 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2326 * libm/common/sf_log1p.c: Ditto.
2327 * libm/common/sf_scalbn.c: Ditto.
2328 * libm/math/ef_log.c: Ditto.
2329
11f5b065
CV
2330Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
2331
2332 * libc/posix/execvp.c (execvp): Check path for
2333 trailing slash.
2334
796e3b20
CV
2335Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
2336
2337 * libc/include/sys/unistd.h: Add prototypes for
2338 fchmod, fchown, lchown.
2339
b489803a
JJ
2340Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2341
2342 * acinclude.m4: Changed release to 1.8.2.
2343 * aclocal.m4 configure doc/aclocal.m4 doc/configure
2344 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2345 libc/machine/configure libc/machine/a29k/aclocal.m4
2346 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2347 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2348 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2349 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2350 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2351 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2352 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2353 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2354 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2355 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2356 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2357 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2358 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2359 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2360 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2361 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2362 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2363 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2364 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2365 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2366 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2367 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2368 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2369 libc/machine/z8k/configure libc/sys/aclocal.m4
2370 libc/sys/aclocal.m4 libc/sys/configure
2371 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2372 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2373 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2374 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2375 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2376 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2377 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2378 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2379 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2380 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2381 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2382 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2383 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2384 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2385 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2386 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2387 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2388 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2389 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2390 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2391 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2392 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2393 libm/aclocal.m4 libm/configure: Regenerated.
2394
79908d67
NC
23952000-03-24 Nick Clifton <nickc@cygnus.com>
2396
2397 * libc/sys/arm/syscalls.c: Fix compile time warnings.
2398 (do_AngelSWI): Add "cc" to list o registers clobbered.
2399
7684ddaf
FN
2400Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2401
2402 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2403 information to be clobbered by an Angel C library support syscall.
2404
b8ec20c8
JJ
2405Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2406
2407 * libc/stdlib/envlock.c: Fixed comment typo.
2408
fae4c299
JJ
2409Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2410
2411 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2412 code to update nread as each character is processed instead
2413 of using buffer contents which throw away leading zeroes.
2414
dc98804b
RK
2415Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
2416
2417 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2418
5ed2f523
JJ
2419Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
2420
2421 * libc/include/string.h: Include <sys/types.h>.
2422
1cf0ee34
AO
2423Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2424
2425 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2426 with XSH5, not SVID.
2427
e9c94978
JJ
2428Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2429
2430 * libc/include/string.h: Changed last argument back to ssize_t
2431 to make it compatible with XPG4 definition which is
2432 defined in <unistd.h>. There is a conflict in the SVID 3
2433 and XPG4 definitions and newlib will settle with XPG4.
2434 * libc/string/swab.c: Ditto.
2435
3072163c
JJ
2436Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2437
2438 * libc/include/string.h: Changed last argument to size_t.
2439 * libc/string/swab.c: Changed last argument to size_t.
2440
f205ea7a
AO
2441Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2442
2443 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2444 (CHEWOUT_FILES): Added unlinkr.def.
2445 * libc/reent/Makefile.in: Rebuilt.
2446 * libc/sys.tex: Include unlinkr.def.
2447 * libc/reent/linkr.c (_unlink_r): Moved to...
2448 * libc/reent/unlinkr.c: ... new file.
2449
85dd2e5b
AO
2450Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2451
2452 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2453 (CHEWOUT_FILES): Added swab.def.
2454 * libc/string/Makefile.in: Rebuilt.
2455 * libc/string/string.tex: Include swab.def.
2456 * libc/include/string.h (swab): Declare.
2457 * libc/string/swab.c: New file.
2458
c5053058
AO
2459Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2460
2461 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2462 (CHEWOUT_FILES): Added getw.def and putw.def.
2463 * libc/stdio/Makefile.in: Rebuilt.
2464 * libc/stdio/stdio.tex: Include getw.def and putw.def.
2465 * libc/stdio/getw.c: New file.
2466 * libc/stdio/putw.c: New file.
2467
dbaf37cf
JJ
2468Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2469
2470 * libc/stdio/flags.c (__sflags): Added check that mode[1]
2471 is non-null before looking at mode[2].
2472
bc019ef2
RK
2473Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2474
2475 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2476 * libm/mathfp/sf_atan.c: Ditto.
2477
2478Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
2479
2480 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2481
cd641b2d
RK
2482Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2483
2484 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2485 _DOUBLE_IS_32BITS.
2486
b0ba0ac2
JJ
2487Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2488
2489 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2490 call prior to calling _VFPRINTF_R so reentrant data area is set.
2491 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2492
8a0efa53
CF
2493Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2494
2495 * libc/stdio/vfscanf.c (limits.h): #include.
2496 (MAX_LONG_LEN): #define.
2497 (__svfscanf): Handle floating point numbers with arbitrary amounts
2498 of leading zeroes.
2499
25002000-02-15 Nick Clifton <nickc@cygnus.com>
2501
2502 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2503 zero. Set the blocksize to 1024/
2504
2505Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2506
2507 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
2508 with line buffering.
2509
2510Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2511
2512 * acinclude.m4: Changed include directory for winsup headers.
2513 * aclocal.m4 configure libc/aclocal.m4
2514 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2515 libc/locale/Makefile.in libc/machine/aclocal.m4
2516 libc/machine/configure libc/machine/a29k/aclocal.m4
2517 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2518 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2519 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2520 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2521 libc/machine/fr30/configure
2522 libc/machine/h8300/aclocal.m4
2523 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2524 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2525 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2526 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2527 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2528 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2529 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2530 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2531 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2532 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2533 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2534 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2535 libc/machine/powerpc/configure
2536 libc/machine/sh/aclocal.m4
2537 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2538 libc/machine/sparc/configure
2539 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2540 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2541 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2542 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2543 libc/misc/Makefile.in libc/posix/Makefile.in
2544 libc/reent/Makefile.in
2545 libc/signal/Makefile.in
2546 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
2547 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2548 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
2549 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2550 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
2551 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2552 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2553 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2554 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2555 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2556 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2557 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2558 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2559 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
2560 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
2561 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
2562 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
2563 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
2564 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
2565 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
2566 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
2567 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
2568 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
2569 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
2570 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
2571 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
2572 libm/configure: Regenerated.
2573
2574Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
2575
2576 * libc/stdlib/putenv_r.c (_putenv_r): New file.
2577 * libc/stdlib/strdup_r.c (_strdup_r): New file.
2578 * libc/include/string.h: Added _strdup_r.
2579 * libc/stdlib/putenv.c: Added call to reentrant version.
2580 * libc/stdlib/strdup.c: Ditto.
2581 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
2582 * libc/include/stdlib.h: Ditto.
2583 * libc/stdlib/Makefile.in: Regenerated.
2584 * libc/string/Makefile.in: Regenerated.
2585 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
2586 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
2587 management calls to reentrant versions.
2588 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
2589 * libc/stdlib/wctomb.c: Ditto.
2590 * libc/stdlib/mblen.c: Ditto.
2591 * libc/stdlib/mbstowcs.c: Ditto.
2592 * libc/stdlib/mbtowc.c: Ditto.
2593 * libc/stdlib/getenv.c: Ditto.
2594 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
2595 and _strdup_r.
2596
2597Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
2598
2599 patch from Corinna Vinschen <corinna@vinschen.de>
2600 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
2601
bc019ef2 2602Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
2603
2604 * libm/mathfp/s_atangent.c: Fix exponent calculation.
2605 * libm/mathfp/s_ldexp.c: Ditto.
2606 * libm/mathfp/sf_atangent.c: Ditto.
2607 * libm/mathfp/sf_ldexp.c: Ditto.
2608
2609Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2610
2611 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
2612 * libc/include/locale.h: define NULL to be 0.
2613
2614Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
2615
2616 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
2617 function.
2618
2619Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
2620
2621 * libc/machine/mn10300/setjmp.S: Handle am33.
2622
26231999-11-26 Nick Clifton <nickc@cygnus.com>
2624
2625 * libc/sys/arm/syscalls.c: Add function prototypes.
2626 (stack_ptr): Move declaration before function definitions.
2627
2628Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2629
2630 * NEWS: Updated version information.
2631 * README: Ditto.
2632
2633Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
2634
2635 * libc/machine/i386/strchr.S: Fixed alignment test.
2636
2637Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
2638
2639 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
2640
2641Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
2642
2643 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
2644 ensuring that there is space between the two.
2645
2646Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
2647
2648 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
2649 only.
2650
26511999-10-08 Vadim Egorov <egorovv@1c.ru>
2652
2653 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
2654 section
2655
2656Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2657
2658 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
2659 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
2660
2661Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
2662 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
2663 per POSIX 1003.1b.
2664 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
2665 per POSIX 1003.1b.
2666
26671999-09-13 DJ Delorie <dj@cygnus.com>
2668
2669 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
2670 also.
2671
2672Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2673
2674 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
2675 also note BUFSIZ as its size.
2676
2677Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
2678
2679 * configure.host: Corrected feature defines for RTEMS.
2680 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
2681 * libc/include/sys/stat.h: mkfifo() should take const path arg.
2682 * libc/include/sys/unistd.h: pathconf() should take const path arg.
2683 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
2684 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
2685 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
2686 _PC_PRIO_IO, and _PC_SYNC_IO.
2687 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
2688 * libc/machine/m68k/Makefile.in: Regenerated.
2689 * libc/machine/m68k/strcpy.c: New file.
2690 * libc/machine/m68k/strlen.c: New file.
2691 * libc/stdio/tmpnam.c: Always make the returned name usable.
2692 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
2693 * libc/sys/rtems/sys/dirent.h: New file.
2694 * libc/sys/rtems/sys/types.h: Added dev_t.
2695
2696Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
2697
2698 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
2699
2700Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
2701
2702 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
2703 my patch.
2704
2705Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
2706
2707 patch from Jeff Johnston <jjohnstn@cygnus.com>
2708 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
2709 buffer is not in a useful state.
2710
27111999-09-01 Nick Clifton <nickc@cygnus.com>
2712
2713 * libc/sys/arm/syscalls.c (_link): Add stub.
2714
2715Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2716
2717 * ftell.c (ftell): Use actual position within buffer for text mode.
2718 * findfp.c (std): Initialize ptr->_bf._size.
2719
2720Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
2721
2722 * libc/include/sys/unistd.h: Add nice() declaration.
2723
27241999-08-09 Nick Clifton <nickc@cygnus.com>
2725
2726 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
2727 declare as a thumb function so that the disassembler will see the
2728 mode change.
2729
2730Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2731
2732 * libc/reent/reent.tex: Updated list of reentrant functions.
2733
27341999-07-09 Michael Meissner <meissner@cygnus.com>
2735
2736 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
2737
2738Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
2739
2740 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
2741 separate file.
2742 * libc/stdio/snprintf.c: New file.
2743 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
2744 separate file.
2745 * libc/stdio/vsnprintf.c: New file.
2746 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
2747 * libc/stdio/Makefile.in: Regenerated.
2748
2749Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
2750
2751 Patch submitted by Egor Duda <deo@logos-m.ru>:
2752 * libc/include/stdio.h: Add declarations for *nprintf.
2753 * libc/stdio/sprintf.c (snprintf): New function.
2754 (_snprintf_r): New function.
2755 * libc/stdio/vsprintf.c (vsnprintf): New function.
2756 (_vnsprintf_r): New function.
2757
2758Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2759
2760 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
2761 * libm/Makefile.am (stmp-targetdep): Ditto.
2762 * libc/Makefile.in: Regenerated.
2763 * libm/Makefile.in: Ditto.
2764
2765Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2766
2767 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
2768 * libm/Makefile.am (stmp-targetdep): Ditto.
2769 * libc/Makefile.in: Regenerated.
2770 * libm/Makefile.in: Ditto.
2771
2772Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2773
2774 * Makefile.am: Removed dependencies on all-recursive and added "."
2775 to the SUBDIRS list to prevent infinite recursion from occurring.
2776 Also removed any references to EXTRA_DATA.
2777 * libc/Makefile.am: Ditto.
2778 * libc/machine/Makefile.am: Ditto.
2779 * libc/machine/i386/Makefile.am: Ditto.
2780 * libm/Makefile.am: Ditto.
2781 * libc/sys/Makefile.am: Ditto.
2782 * Makefile.in: Regenerated.
2783 * aclocal.m4: Ditto.
2784 * configure: Ditto.
2785 * doc/Makefile.in: Ditto.
2786 * doc/aclocal.m4: Ditto.
2787 * doc/configure: Ditto.
2788 * libc/Makefile.in: Ditto.
2789 * libc/aclocal.m4: Ditto.
2790 * libc/configure: Ditto.
2791 * libc/machine/Makefile.in: Ditto.
2792 * libc/machine/aclocal.m4: Ditto.
2793 * libc/machine/configure: Ditto.
2794 * libc/machine/mn10300/Makefile.in: Ditto.
2795 * libc/machine/mn10300/aclocal.m4: Ditto.
2796 * libc/machine/mn10300/configure: Ditto.
2797 * libc/sys/Makefile.in: Ditto.
2798 * libc/sys/aclocal.m4: Ditto.
2799 * libc/sys/configure: Ditto.
2800 * libm/Makefile.in: Ditto.
2801 * libm/aclocal.m4: Ditto.
2802 * libm/configure: Ditto.
2803
2804Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2805
2806 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
2807
2808Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2809
2810 * libc/include/stdlib.h: Add reentrant routines.
2811 * libc/stdlib/Makefile.am: Add reentrant routines.
2812 * libc/stdlib/Makefile.in: Ditto.
2813 * libc/stdlib/envlock.c: New file.
2814 * libc/stdlib/envlock.h: New file.
2815 * libc/stdlib/getenv.c: Modify to call reentrant routine.
2816 * libc/stdlib/getenv_r.c: New file.
2817 * libc/stdlib/mblen.c: Modify to call reentrant routine.
2818 * libc/stdlib/mblen_r.c: New file.
2819 * libc/stdlib/setenv.c: Modify to call reentrant routine.
2820 * libc/stdlib/setenv_r.c: New file.
2821 * libc/stdlib/stdlib.tex: Add reentrant routines.
2822
2823Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
2824
2825 * libc/include/sys/types.h: Define __MS_types__ whenever
2826 cygwin or win32.
2827
2828Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
2829
2830 * libc/include/machine/ieeefp.h: Always default to little
2831 endian if Windows, regardless of architecture.
2832 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
2833 regardless of architecture.
2834
2835Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
2836
2837 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
2838 _WIN32 isn't defined.
2839
2840Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
2841
2842 * libm/common/s_rint.c (rint): Add volatile qualifier for
2843 intermediate value w.
2844 * libm/common/sf_rint.c (rintf): Ditto.
2845
2846Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2847
2848 * libc/sys/arm/syscalls.c (remap_handle): Added check to
2849 ensure that std streams are initialized before being referenced.
2850
28511999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
2852
2853 * README: Update reference to newlib@cygnus.com new
2854 newlib@sourceware.cygnus.com address.
2855
2856Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
2857
2858 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
2859 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
2860 defined, even if _WIN32 isn't defined.
2861
2862Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
2863
2864 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
2865
2866Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2867
2868 * libc/include/sys/reent.h: Change Long and ULong to __Long and
2869 __ULong.
2870 * libc/stdlib/dtoa.c: Ditto.
2871 * libc/stdlib/mprec.c: Ditto.
2872 * libc/stdlib/mprec.h: Ditto.
2873 * libc/stdlib/strtod.c: Ditto.
2874
28751999-04-21 Nick Clifton <nickc@cygnus.com>
2876
2877 * configure.host (mcore): Remove mcore machine directory.
2878
28791999-04-18 Nick Clifton <nickc@cygnus.com>
2880
2881 * libc/include/machine/ieeefp.h: Add support for mcore target.
2882 * libc/include/machine/setjmp.h: Add support for mcore target.
2883 * configure.host: Add support for mcore target.
2884
28851999-04-13 Mark Salter <msalter@cygnus.com>
2886
2887 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
2888 * libc/sys/arm/syscalls.c: Added isatty.
2889
2890Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2891
2892 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
2893 insert zeroes after significant digits.
2894
2895Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2896
2897 * libc/stdio/vfprintf.c (cvt): Changed floating point
2898 cvt routine to use union used by dtoa to properly determine
2899 if the sign bit is on or not.
2900 * libc/stdio/vfieeefp.h: New file
2901
2902Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2903
2904 * aclocal.m4: Regenerated.
2905 * configure: Regenerated.
2906
2907Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2908
2909 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
2910 f_tanf reference.
2911 * libc/machine/i386/Makefile.in: Regenerated.
2912
2913Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
2914
2915 * acinclude.m4: Changed to work with new automake.
2916 * configure: Regenerated.
2917 * libc/machine/i386/aclocal.m4: Regenerated.
2918 * libc/machine/i386/configure: Regenerated.
2919
2920Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
2921
2922 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
2923 for telldir() and seekdir(). Rename unused structure element
2924 for use with these two routines.
2925
2926Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
2927
2928 * libc/time/mktime.c (validate_structure): Multiple fixes to
2929 code to handle cases where input fields are outside valid ranges.
2930 * libc/stdlib/div.c (div): Modified invalid rounding check.
2931 * libc/stdlib/ldiv.c (ldiv): Ditto.
2932
2933Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
2934
2935 * libc/machine/i386/memcpy.S: Performance rewrite.
2936 * libc/machine/i386/memmove.S: Ditto.
2937 * libc/machine/i386/i386mach.h: Added more register definitions.
2938 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
2939 option used.
2940 * libc/include/machine/fastmath.h: Add definitions for x86
2941 fast-math routines.
2942
2943Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2944
2945 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
2946
2947Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
2948
2949 Adjust newlib headers for new Cygwin Win32 API header files:
2950 * libc/include/sys/time.h: Check _WINSOCK_H rather than
2951 _GNU_H_WINDOWS32_SOCKETS.
2952 * libc/include/sys/types.h: Ditto.
2953
2954Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2955
2956 *include/sys/reent.h: Add checks for size of Bigint element Long.
2957 *libc/dtoa.c: Change routines to use generic Long type.
2958 *libc/mprec.c: Change routines to use generic Long type.
2959 *libc/mprec.h: Change routines to use generic Long type.
2960
2961Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
2962
2963 * libc/Makefile.am: Add .def files.
2964 * libc/Makefile.in: Regenerate.
2965 * libc/e_acosh.c: Documentation update.
2966 * libc/e_atanh.c: Documentation update.
2967 * libc/e_hypot.c: Documentation update.
2968 * libc/e_remainder.c: Documentation update.
2969 * libc/er_lgamma.c: Documentation update.
2970 * libc/mathfp.tex: Documentation update.
2971 * libc/s_acos.c: Documentation update.
2972 * libc/s_atan.c: Documentation update.
2973 * libc/s_atan2.c: Documentation update.
2974 * libc/s_cosh.c: Documentation update.
2975 * libc/s_fmod.c: Documentation update.
2976 * libc/s_isnan.c: Documentation update.
2977 * libc/s_log10.c: Documentation update.
2978 * libc/s_pow.c: Documentation update.
2979 * libc/w_jn.c: Documentation update.
2980
2981Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
2982
2983 * aclocal.m4: Regenerate.
2984 * configure: Regenerate.
2985
2986Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
2987
2988 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
2989 to return 1 if user specified return code is 0.
2990 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
2991
2992Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
2993
2994 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
2995 to save the return address. Fixed longjmp to return to the original
2996 calling address of setjmp and to return the user specified return code
2997 rather than default to 1.
2998 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
2999
3000Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
3001
3002 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3003
30041999-02-10 Nick Clifton <nickc@cygnus.com>
3005
3006 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3007 volatile so that its assignments will not be discarded.
3008
3009Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
3010
3011 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3012 be __STRICT_ANSI__ which is generated by compiler.
3013 * libc/include/ctype.h: Ditto.
3014 * libc/include/math.h: Ditto.
3015 * libc/include/stdio.h: Ditto.
3016 * libc/include/stdlib.h: Ditto.
3017 * libc/include/string.h: Ditto.
3018 * libc/include/sys/signal.h: Ditto.
3019
30201999-02-08 Nick Clifton <nickc@cygnus.com>
3021
3022 * configure.host: Add support for StrongARM target.
3023
3024Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
3025
3026 * libc/string/strncpy.c (strncpy): Removed redundant code
3027 that was copying bytes if data unaligned.
3028
30291999-02-02 Brendan Kehoe <brendan@cygnus.com>
3030
3031 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3032 mbstowcs.def, and wcstombs.def.
3033
3034Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
3035
3036 * libc/include/sys/errno.h: Add Cygwin errno.
3037 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3038 is specified.
3039
30401999-01-29 Nick Clifton <nickc@cygnus.com>
3041
3042 * libc/sys/arm/syscalls.c: Move C library functions into seperate
3043 file.
3044
3045 * libc/sys/arm/libcfunc.c: New file containing C library functions
3046 from syscalls.c
3047
3048 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3049 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3050
3051
30521999-01-27 Michael Meissner <meissner@cygnus.com>
3053
3054 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3055 type, and cut size in half so that the jmp_buf array is guaranteed
3056 to be aligned on a 64-bit boundary.
3057
3058Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
3059
3060 * libc/string/strings.tex: Added information about
3061 strcasecmp and strncasecmp.
3062 * libc/stdlib/stdlib.tex: Added missing information
3063 about mblen, mbstowcs, and wcstombs.
3064 * libc/string/strchr.c: Changed how mask is built to use
3065 shift operators so register will be used instead of storage.
3066
30671999-01-22 DJ Delorie <dj@cygnus.com>
3068
3069 * libc/include/stdlib.h: don't use dllimport if we're building
3070 newlib, since it's inside cygwin.dll
3071
3072Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
3073
3074 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3075 _ctype_ under cygwin.
3076
3077Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
3078
3079 * include/stdlib.h: Fix typo from previous checkin.
3080
3081Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
3082
3083 * include/ctype.h: Use __declspec(dllimport) method for exporting
3084 variable from cygwin DLL.
3085 * include/time.h: Ditto.
3086 * sys/errno.h: Ditto.
3087 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3088 * libc/locale/locale.c: Use __declspec(dllexport) method for
3089 exporting variable from cygwin DLL.
3090
3091Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
3092
3093 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3094 access of bogus pointer will result in SIGSEGV.
3095
30961999-01-07 Nick Clifton <nickc@cygnus.com>
3097
3098 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3099 of an underscore prefix to function names.
3100
3101Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
3102
3103 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3104 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3105
31061998-12-31 Michael Meissner <meissner@cygnus.com>
3107
3108 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3109 to `%' if not already defined.
3110
31111998-12-30 Michael Meissner <meissner@cygnus.com>
3112
3113 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3114 arguments const char *, not char *.
3115 * libc/include/stdio.h (_tempnam_r): Ditto.
3116
3117 * libc/include/sys/reent.h (struct _reent): The _sig_func type
3118 points to a function taking an integer, not void.
3119
3120Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
3121
3122 * configure.host: Add a define for Cygwin builds.
3123 * libc/include/ctype.h: Don't use dll imported variables in newlib.
3124
3125Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
3126
3127 * libc/include/ctype.h: Define _ctype_ as dll imported variable
3128 for use with Cygwin.
3129 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3130 dll imported variables for use with Cygwin.
3131 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3132 as a dll imported variable for Cygwin.
3133
3134Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
3135
3136 * libc/include/sys/unistd.h: Add proto for getpass.
3137
3138Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
3139
3140 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3141 alphasort.
3142
3143Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
3144
3145 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3146 not posix_path_list_p.
3147
31481998-12-15 Nick Clifton <nickc@cygnus.com>
3149
3150 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3151 a signed int.
3152
31531998-12-13 Nick Clifton <nickc@cygnus.com>
3154
3155 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3156
31571998-12-12 Nick Clifton <nickc@cygnus.com>
3158
3159 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3160 <msalter@cygnus.com>
3161 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3162 * libc/machine/fr30/Makefile.in: Regenerated.
3163
31641998-12-11 Nick Clifton <nickc@cygnus.com>
3165
3166 * configure.host: Remove use of libc/sys for FR30 port.
3167 * libc/sys/fr30: Remove directory (replaced by libgloss).
3168
31691998-12-10 Ken Raeburn <raeburn@cygnus.com>
3170
3171 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3172 * libc/string/strncat.c (ALIGNED): Ditto.
3173
3174Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
3175
3176 * libc/include/sys/time.h: include sys/types.h
3177
3178Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
3179
3180 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3181 comparison found when checking word at a time.
3182
31831998-12-04 Nick Clifton <nickc@cygnus.com>
3184
3185 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3186
31871998-12-03 Nick Clifton <nickc@cygnus.com>
3188
3189 * libc/sys/fr30/syscalls.c (_times): New function stub.
3190
3191Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3192
3193 * configure.host (mach_add_setjmp): Replaced mach_add_objs
3194 with mach_add_setjmp flag which indicates if setjmp should
3195 be added to the machine directory objects.
3196 * acinclude.m4: Removed reference to mach_add_objs.
3197 * aclocal.m4: Regenerated.
3198 * Makefile.in: Regenerated.
3199 * configure: Regenerated.
3200 * libc/aclocal.m4: Regenerated.
3201 * libc/Makefile.in: Regenerated.
3202 * libc/configure: Regenerated.
3203 * libc/machine/aclocal.m4: Regenerated.
3204 * libc/machine/Makefile.in: Regenerated.
3205 * libc/machine/configure: Regenerated.
3206 * libc/machine/i386/aclocal.m4: Regenerated.
3207 * libc/machine/i386/Makefile.am: Altered to selectively add
3208 setjmp.S to the src files list.
3209 * libc/machine/i386/Makefile.in: Regenerated.
3210 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3211 * libc/machine/i386/configure: Regenerated.
3212
32131998-12-02 Nick Clifton <nickc@cygnus.com>
3214
3215 * libc/sys/fr30/crt0.s (_start): Fix function names.
3216
3217 * libc/machine/fr30: New directory
3218 * libc/machine/fr30/Makefile.am: New file.
3219 * libc/machine/fr30/Makefile.in: New generated file.
3220 * libc/machine/fr30/configure.in: New file.
3221 * libc/machine/fr30/configure: New generated file.
3222 * libc/machine/fr30/aclocal.m4: New generated file.
3223 * libc/sys/fr30/Makefile.am: New file.
3224 * libc/sys/fr30/Makefile.in: New generated file.
3225 * libc/sys/fr30/configure.in: New file.
3226 * libc/sys/fr30/configure: New generated file.
3227 * libc/sys/fr30/syscalls.c: New file.
3228
3229Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
3230
3231 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3232
32331998-12-01 Ken Raeburn <raeburn@cygnus.com>
3234
3235 * libc/time/strftime.c (strftime): Also handle %y for years before
3236 1900.
3237
3238Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
3239
3240 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3241 UNIX convention. Perform tolower on characters before comparing
3242 them rather than use toupper.
3243 * libc/string/strncasecmp.c (strncasecmp): Ditto.
3244
3245Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3246
3247 * configure.host: Added using i386 machine directory
3248 for all x86 cross-compiler and configuring
3249 which added object files to use via new "mach_add_objs" variable.
3250 * configure: Regenerated.
3251 * libc/configure: Regenerated.
3252 * libc/Makefile.in: Regenerated.
3253 * libc/aclocal.m4: Regenerated.
3254 * libc/ctype/Makefile.in: Regenerated.
3255 * libc/errno/Makefile.in: Regenerated.
3256 * libc/locale/Makefile.in: Regenerated.
3257 * libc/machine/Makefile.in: Regenerated.
3258 * libc/machine/aclocal.m4: Regenerated.
3259 * libc/machine/configure: Regenerated.
3260 * libc/posix/Makefile.in: Regenerated.
3261 * libc/reent/Makefile.in: Regenerated.
3262 * libc/signal/Makefile.in: Regenerated.
3263 * libc/stdio/Makefile.in: Regenerated.
3264 * libc/stdlib/Makefile.in: Regenerated.
3265 * libc/string/Makefile.in: Regenerated.
3266 * libc/string/memmove.c: Optimized code to use memcpy
3267 logic when performing a non-destructive copy.
3268 * libc/string/strncmp.c: Altered code to allow building
3269 optimized for size or speed.
3270 * libc/syscalls/Makefile.in: Regenerated.
3271 * libc/time/Makefile.in: Regenerated.
3272 * libc/unix/Makefile.in: Regenerated.
3273 * libc/machine/i386/Makefile.am: Added new files and reference
3274 to "mach_add_objs" to indicate optional object files.
3275 * libc/machine/i386/Makefile.in: Regenerated.
3276 * libc/machine/i386/aclocal.m4: Regenerated.
3277 * libc/machine/i386/configure: Regenerated.
3278 * libc/machine/i386/memchr.S: New file that implements
3279 function in Intel assembler.
3280 * libc/machine/i386/memcmp.S: ditto.
3281 * libc/machine/i386/memcpy.S: ditto.
3282 * libc/machine/i386/memmove.S: ditto.
3283 * libc/machine/i386/memset.S: ditto.
3284 * libc/machine/i386/strchr.S: ditto.
3285 * libc/machine/i386/strlen.S: ditto.
3286 * libc/machine/i386/f_atan2.S: New file that implements
3287 fast version of math function to be used by compiler when
3288 --ffast_math compile option is used.
3289 * libc/machine/i386/f_atan2f.S: ditto.
3290 * libc/machine/i386/f_exp.c: ditto.
3291 * libc/machine/i386/f_expf.c: ditto.
3292 * libc/machine/i386/f_frexp.S: ditto.
3293 * libc/machine/i386/f_frexpf.S: ditto.
3294 * libc/machine/i386/f_ldexp.S: ditto.
3295 * libc/machine/i386/f_ldexpf.S: ditto.
3296 * libc/machine/i386/f_log.S: ditto.
3297 * libc/machine/i386/f_logf.S: ditto.
3298 * libc/machine/i386/f_log10.S: ditto.
3299 * libc/machine/i386/f_log10f.S: ditto.
3300 * libc/machine/i386/f_math.h: New file.
3301 * libc/machine/i386/f_pow.c: ditto.
3302 * libc/machine/i386/f_powf.S: ditto.
3303 * libc/machine/i386/f_tan.S: ditto.
3304 * libc/machine/i386/f_tan.S: ditto.
3305 * libc/machine/i386/i386mach.h: New file.
3306
3307Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
3308
3309 patch from Mumit Khan <khan@xraylith.wisc.edu>
3310 * libc/include/stdio.h (tempnam): Add prototype.
3311 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3312 (tempnam): Adhere to prototype.
3313
3314Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
3315
3316 * Makefile.am: Add default for AR_FLAGS.
3317 * Makefile.in: Regenerate.
3318
3319Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3320
3321 * libc/include/time.h: move __cplusplus wrapper after includes
3322 * libc/include/sys/time.h: ditto. If Cygwin, include
3323 sys/select.h.
3324 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3325
33261998-11-23 Ken Raeburn <raeburn@cygnus.com>
3327
3328 * libc/time/strftime.c (strftime): Handle %y after year 2000.
3329
3330Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
3331
3332 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3333 abnormnal end-of-crt0 marker.
3334
3335Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
3336
3337 * libc/sys/fr30/crt0.s: New file/directory.
3338 * libc/include/machine/setjmp.h: Add FR30 target.
3339 * libc/include/machine/ieeefp.h: Add FR30 target.
3340 * configure.host: Add FR30 target.
3341
3342Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3343
3344 * libm/math: Files that are duplicated in common directory removed.
3345 * libm/math/fdlibm.h: Removed.
3346 * libm/math/s_cbrt.c: Removed.
3347 * libm/math/s_copysign.c: Removed.
3348 * libm/math/s_expm1.c: Removed.
3349 * libm/math/s_finite.c: Removed.
3350 * libm/math/s_ilogb.c: Removed.
3351 * libm/math/s_infinity.c: Removed.
3352 * libm/math/s_lib_ver.c: Removed.
3353 * libm/math/s_log1p.c: Removed.
3354 * libm/math/s_logb.c: Removed.
3355 * libm/math/s_matherr.c: Removed.
3356 * libm/math/s_modf.c: Removed.
3357 * libm/math/s_nan.c: Removed.
3358 * libm/math/s_nextafter.c: Removed.
3359 * libm/math/s_rint.c: Removed.
3360 * libm/math/s_scalbn.c: Removed.
3361 * libm/math/sf_cbrt.c: Removed.
3362 * libm/math/sf_copysign.c: Removed.
3363 * libm/math/sf_expm1.c: Removed.
3364 * libm/math/sf_finite.c: Removed.
3365 * libm/math/sf_ilogb.c: Removed.
3366 * libm/math/sf_infinity.c: Removed.
3367 * libm/math/sf_log1p.c: Removed.
3368 * libm/math/sf_logb.c: Removed.
3369 * libm/math/sf_modf.c: Removed.
3370 * libm/math/sf_nan.c: Removed.
3371 * libm/math/sf_nextafter.c: Removed.
3372 * libm/math/sf_rint.c: Removed.
3373 * libm/math/sf_scalbn.c: Removed.
3374 * libm/math/Makefile.am: Removed references to deleted files (above).
3375 * libm/math/Makefile.in: Regenerated.
3376 * libm/Makefile.am: Added common directory to math.
3377 * libm/Makefile.in: Regenerated.
3378
3379Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3380
3381 * libm/mathfp: Add non-ANSI functions.
3382 * libm/mathfp/e_acosh.c acosh(): New file.
3383 * libm/mathfp/e_atanh.c atanh(): New file.
3384 * libm/mathfp/e_hypot.c hypot(): New file.
3385 * libm/mathfp/e_j0.c j0(): New file.
3386 * libm/mathfp/e_j1.c j1(): New file.
3387 * libm/mathfp/e_remainder.c remainder(): New file.
3388 * libm/mathfp/e_scalb.c scalb(): New file.
3389 * libm/mathfp/ef_acosh.c acoshf(): New file.
3390 * libm/mathfp/ef_atanh.c atanhf(): New file.
3391 * libm/mathfp/ef_hypot.c hypotf(): New file.
3392 * libm/mathfp/ef_j0.c j0f(): New file.
3393 * libm/mathfp/ef_j1.c j1f(): New file.
3394 * libm/mathfp/ef_remainder.c remainderf(): New file.
3395 * libm/mathfp/ef_scalb.c scalbf(): New file.
3396 * libm/mathfp/er_gamma.c gamma_r: New file.
3397 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3398 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3399 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3400 * libm/mathfp/w_cabs.c cabs(): New file.
3401 * libm/mathfp/w_drem.c drem(): New file.
3402 * libm/mathfp/w_jn.c jn(): New file.
3403 * libm/mathfp/wf_cabs.c cabsf(): New file.
3404 * libm/mathfp/wf_drem.c dremf(): New file.
3405 * libm/mathfp/wf_jn.c jnf(): New file.
3406
3407Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
3408
3409 * libc/sys/cygwin32: remove directory and contents
3410 * libc/sys/cygwin: and add back, losing the "32".
3411 * configure.host: check for cygwin* instead of cygwin32.
3412 * acinclude.m4: ditto.
3413 * aclocal.m4: regenerate with aclocal
3414 * configure: regenerate with autoconf
3415
3416Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
3417
3418 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3419 for length
3420
3421Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3422
3423 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3424 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3425 to make rand/srand, strtok, asctime, localtime, w_gamma,
3426 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
3427 time.h to bring in struct tm definition.
3428 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3429 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3430 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3431 instead of static variable.
3432 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3433 struct reent instead of static variable.
3434 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3435 struct reent instead of static variable.
3436 * libm/math/Makefile.am: Removed s_signgam.o.
3437 * libm/math/Makefile.in: Regenerated.
3438 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3439 struct reent instead of global variable 'signgam'.
3440 * libm/math/w_lgamma.c (lgamma): Likewise.
3441 * libm/math/wf_gamma.c (gammaf): Likewise.
3442 * libm/math/wf_lgamma.c (lgammaf): Likewise.
3443 * libm/math/s_signgam.c: Removed.
3444 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3445 to be const.
3446 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3447 to be const.
3448 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3449 libc/include/reent.h.
3450 * libc/reent/Makefile.in: Regenerated.
3451 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3452 to be const.
3453 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3454 'JIS_action_table' to be const.
3455 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3456
3457Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
3458
3459 * acinclude.m4: $with_target_subdir should default to '.'
3460 or confusion results when configuring in same directory as sources.
3461 * Regenerate all aclocal.m4 and configure files.
3462
3463Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
3464
3465 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3466 can be set by defining MALLOC_ALIGNMENT=16. Also added support
3467 for platforms where sizeof(size_t) < sizeof(long) via
3468 SIZE_T_SMALLER_THAN_LONG macro.
3469
3470Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
3471
3472 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3473 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3474 which sets _CLOCKS_PER_SEC_ for selected machines.
3475 * libc/include/machine/time.h: New file.
3476
3477Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3478
3479 * libc/syscalls/sysexecve.c: New file.
3480 * libc/syscalls/sysgettod.c: New file.
3481 * libc/syscalls/systimes.c: New file.
3482 * libc/syscalls/Makefile.am: Added new objects.
3483 * libc/syscalls/Makefile.in: Regenerated.
3484 * libc/include/_syslist.h (_execve): Moved define in file.
3485 * libc/include/reent.h: Added _execve_r declaration.
3486 * libc/Makefile.in: Regenerated.
3487 * libc/ctype/Makefile.in: Regenerated.
3488 * libc/errno/Makefile.in: Regenerated.
3489 * libc/locale/Makefile.in: Regenerated.
3490 * libc/machine/Makefile.in: Regenerated.
3491 * libc/misc/Makefile.in: Regenerated.
3492 * libc/posix/Makefile.in: Regenerated.
3493 * libc/reent/Makefile.in: Regenerated.
3494 * libc/reent/execr.c (_execve_r): Added _execve_r function.
3495 * libc/signal/Makefile.in: Regenerated.
3496 * libc/stdio/Makefile.in: Regenerated.
3497 * libc/time/Makefile.in: Regenerated.
3498 * libc/unix/Makefile.in: Regenerated.
3499 * libm/mathfp/Makefile.in: Regenerated.
3500
3501Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3502
3503 * libc/string/Makefile.in: Regenerated.
3504 * libc/string/memchr.c (memchr): Moved code to reduce object size.
3505 * libc/string/memcpy.c (memcpy): Ditto.
3506 * libc/string/memcmp.c (memcmp): Ditto.
3507 * libc/string/memset.c (memset): Ditto.
3508 * libc/string/strchr.c (strchr): Ditto.
3509 * libc/string/strcmp.c (strcmp): Ditto.
3510 * libc/string/strcpy.c (strcpy): Ditto.
3511 * libc/string/strlen.c (strlen): Ditto.
3512
3513Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3514
3515 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3516 to generate aclocal.m4.
3517 * libm/Makefile.in: Regenerated.
3518 * libm/aclocal.m4: Regenerated.
3519 * libm/configure: Regenerated.
3520 * libm/math/Makefile.in: Regenerated.
3521 * libm/mathfp/Makefile.in: Regenerated.
3522
35231998-09-25 Mark Salter <msalter@cygnus.com>
3524
3525 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3526 by adding leading and trailing underscores to symbol names.
3527
3528Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
3529
3530 * Makefile.in: Add default for AR_FLAGS.
3531
3532Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
3533
3534 patch from ian@airs.com (Ian Taylor):
3535 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
3536 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
3537 is needed for detecting the build machine. Required for
3538 cygwin native builds.
3539
3540 * Regenerate all aclocal.m4 and configure files.
3541
3542Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
3543
3544 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
3545 used to start with LC.
3546
3547Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3548
3549 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
3550 (longjmp): Likewise.
3551
3552Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3553
3554 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
3555 the test for small number of bytes.
3556
3557Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3558
3559 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
3560 math library that uses floating point algorithms instead of the old
3561 libm.
3562 * Makefile.in: Regenerate with automake version 1.3b.
3563 * configure: Rebuild.
3564 * libm/Makefile.in: Regenerate with automake version 1.3b.
3565 * libm/aclocal.m4: Regenerate.
3566 * libm/configure: Rebuild.
3567 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
3568 * libm/acinclude.m4: Define macros for configure.in.
3569 * libm/config.h.in: Generate.
3570 * libm/mathfp/Makefile.am: New file.
3571 * libm/mathfp/Makefile.in: Generate.
3572 * libm/mathfp/s_acos.c (acos): New file.
3573 * libm/mathfp/s_asin.c (asin): New file.
3574 * libm/mathfp/s_asine.c (asine): New file.
3575 * libm/mathfp/s_atan.c (atan): New file.
3576 * libm/mathfp/s_atan2.c (atan2): New file.
3577 * libm/mathfp/s_atangent.c (atangent): New file.
3578 * libm/mathfp/s_ceil.c (ceil): New file.
3579 * libm/mathfp/s_copysign.c (copysign): New file.
3580 * libm/mathfp/s_cos.c (cos): New file.
3581 * libm/mathfp/s_cosh.c (cosh): New file.
3582 * libm/mathfp/s_exp.c (exp): New file.
3583 * libm/mathfp/s_fabs.c (fabs): New file.
3584 * libm/mathfp/s_finite.c (finite): New file.
3585 * libm/mathfp/s_floor.c (floor): New file.
3586 * libm/mathfp/s_fmod.c (fmod): New file.
3587 * libm/mathfp/s_frexp.c (frexp): New file.
3588 * libm/mathfp/s_infconst.c: New file.
3589 * libm/mathfp/s_isinf (isinf).c: New file.
3590 * libm/mathfp/s_isnan.c (isnan): New file.
3591 * libm/mathfp/s_ispos.c (ispos): New file.
3592 * libm/mathfp/s_ldexp.c (ldexp): New file.
3593 * libm/mathfp/s_log.c (log): New file.
3594 * libm/mathfp/s_log10.c (log10): New file.
3595 * libm/mathfp/s_logarithm.c (logarithm): New file.
3596 * libm/mathfp/s_mathcnst.c: New file.
3597 * libm/mathfp/s_modf (modf).c: New file.
3598 * libm/mathfp/s_numtest.c (numtest): New file.
3599 * libm/mathfp/s_pow.c (pow): New file.
3600 * libm/mathfp/s_scalbn.c (scalbn): New file.
3601 * libm/mathfp/s_sin (sin).c: New file.
3602 * libm/mathfp/s_sine.c (sine): New file.
3603 * libm/mathfp/s_sineh.c (sineh): New file.
3604 * libm/mathfp/s_sinf.c (sinf): New file.
3605 * libm/mathfp/s_sinh.c (sinh): New file.
3606 * libm/mathfp/s_sqrt.c (sqrt): New file.
3607 * libm/mathfp/s_tan.c (tan): New file.
3608 * libm/mathfp/s_tanh.c (tanh): New file.
3609 * libm/mathfp/sf_acos.c (acosf): New file.
3610 * libm/mathfp/sf_asin.c (asinf): New file.
3611 * libm/mathfp/sf_asine.c (asinef): New file.
3612 * libm/mathfp/sf_atan.c (atanf): New file.
3613 * libm/mathfp/sf_atan2.c (atan2f): New file.
3614 * libm/mathfp/sf_atangent.c (atangent): New file.
3615 * libm/mathfp/sf_ceil.c (ceilf): New file.
3616 * libm/mathfp/sf_copysign.c (copysignf): New file.
3617 * libm/mathfp/sf_cos.c (cosf): New file.
3618 * libm/mathfp/sf_cosh.c (coshf): New file.
3619 * libm/mathfp/sf_exp.c (expf): New file.
3620 * libm/mathfp/sf_fabs.c (fabsf): New file.
3621 * libm/mathfp/sf_finite.c (finitef): New file.
3622 * libm/mathfp/sf_floor.c (floorf): New file.
3623 * libm/mathfp/sf_fmod.c (fmodf): New file.
3624 * libm/mathfp/sf_frexp.c (frexpf): New file.
3625 * libm/mathfp/sf_isinf.c (isinff): New file.
3626 * libm/mathfp/sf_isnan.c (isnanf): New file.
3627 * libm/mathfp/sf_ispos.c (isposf): New file.
3628 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
3629 * libm/mathfp/sf_log.c (logf): New file.
3630 * libm/mathfp/sf_log10.c (log10f): New file.
3631 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
3632 * libm/mathfp/sf_modf.c (modff): New file.
3633 * libm/mathfp/sf_numtest.c (numtestf): New file.
3634 * libm/mathfp/sf_pow.c (powf): New file.
3635 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
3636 * libm/mathfp/sf_sin.c (sinf): New file.
3637 * libm/mathfp/sf_sine.c (sinef): New file.
3638 * libm/mathfp/sf_sineh.c (sinehf): New file.
3639 * libm/mathfp/sf_sinh.c (sinhf): New file.
3640 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
3641 * libm/mathfp/sf_tan.c (tanf): New file.
3642 * libm/mathfp/sf_tanh.c (tanhf): New file.
3643 * libm/mathfp/zmath.h: New file.
3644
3645Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3646
3647 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
3648 exit if it has been overwritten by pre-fetching in delay slot.
3649
36501998-09-01 Michael Meissner <meissner@cygnus.com>
3651
3652 * Makefile.am (tooldir): Add in host_alias, so that multilib
3653 libraries are installed in the directory the compiler looks in.
3654 * Makefile.in: Regenerate.
3655
3656 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
3657
3658Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
3659
3660 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
3661 ahead of test for number of bytes being moved.
3662
3663Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
3664
3665 * libc/include/sys/unistd.h: Nothing special needed for
3666 _exit under cygwin.
3667
3668Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
3669
3670 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
3671 conform to user label naming conventions.
3672
3673Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
3674
3675 * libc/sys/cygwin32/sys/utime.h: variable names in
3676 protos should start with two leading underscores
3677 * libc/include/string.h: ditto
3678 * libc/include/sys/signal.h: ditto
3679 * libc/include/sys/stat.h: ditto
3680 * libc/include/sys/time.h: ditto
3681 * libc/include/sys/unistd.h: ditto
3682 * libc/include/ctype.h: ditto
3683 * libc/include/stdlib.h: ditto
3684 * libc/include/sys/reent.h: struct _atexit function ptr takes a
3685 void, same with _sig_func.
3686
3687Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
3688
3689 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
3690 for MB_CAPABLE to reduce code size when newlib is not configured
3691 with --enable-newlib-mb.
3692 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
3693 mbtowc_r.o to minimize size.
3694 * libc/stdlib/Makefile.in: Rebuild.
3695
3696Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
3697
3698 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
3699 to -DREENT.
3700 * libc/sys/sparc64/Makefile.in: Rebuild.
3701
3702Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
3703
3704 * Makefile.am (MAKEOVERRIDES): Define.
3705 * Makefile.in: Rebuild.
3706
3707Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
3708
3709 * libc/sys/sparc64/sys/stat.h (stat): Add const.
3710
3711Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
3712
3713 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
3714 newlib_cflags when looking for targ-include.
3715 * */aclocal.m4, */configure: Rebuild.
3716
3717Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
3718
3719 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
3720 to "_end".
3721
3722Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
3723
3724 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
3725 on SPARCs with little-endian data.
3726 * libc/include/machine/ieeefp.h: Ditto.
3727
3728Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
3729
3730 * acinclude.m4: Handle a relative srcdir correctly when setting
3731 newlib_cflags.
3732 * */aclocal.m4, */configure: Rebuild.
3733
3734Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
3735
3736 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
3737 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
3738 * libm/math/wrf_gamma.c (gammaf_r): ditto
3739 * libm/math/wr_lgamma.c (lgamma_r): ditto
3740 * libm/math/wr_gamma.c (gamma_r): ditto
3741 * libm/math/wf_sqrt.c (sqrtf): ditto
3742 * libm/math/wf_sinh.c (sinhf): ditto
3743 * libm/math/wf_scalb.c (scalbf): ditto
3744 * libm/math/wf_remainder.c (remainderf): ditto
3745 * libm/math/wf_pow.c (powf): ditto
3746 * libm/math/wf_log10.c (log10f): ditto
3747 * libm/math/wf_log.c (logf): ditto
3748 * libm/math/wf_lgamma.c (lgammaf): ditto
3749 * libm/math/wf_jn.c (jnf, ynf): ditto
3750 * libm/math/wf_j1.c (j1f, y1f): ditto
3751 * libm/math/wf_j0.c (j0f, y0f): ditto
3752 * libm/math/wf_hypot.c (hypotf): ditto
3753 * libm/math/wf_gamma.c (gammaf): ditto
3754 * libm/math/wf_fmod.c (fmodf): ditto
3755 * libm/math/wf_exp.c (expf): ditto
3756 * libm/math/wf_cosh.c (coshf): ditto
3757 * libm/math/wf_atanh.c (atanhf): ditto
3758 * libm/math/wf_atan2f.c (atan2f): ditto
3759 * libm/math/wf_asin.c (asinf): ditto
3760 * libm/math/wf_acosh.c (acoshf): ditto
3761 * libm/math/wf_acos.c (acosf): ditto
3762 * libm/math/w_sqrt.c (sqrt): ditto
3763 * libm/math/w_sinh.c (sinh): ditto
3764 * libm/math/w_scalb.c (scalb): ditto
3765 * libm/math/w_remainder.c (remainder): ditto
3766 * libm/math/w_pow.c (pow): ditto
3767 * libm/math/w_log10.c (log10): ditto
3768 * libm/math/w_log.c (log): ditto
3769 * libm/math/w_lgamma.c (lgamma): ditto
3770 * libm/math/w_jn.c (jn, yn): ditto
3771 * libm/math/w_j1.c (j1, y1): ditto
3772 * libm/math/w_j0.c (j0, y0): ditto
3773 * libm/math/w_hypot.c (hypot): ditto
3774 * libm/math/w_gamma.c (gamma): ditto
3775 * libm/math/w_fmod.c (fmod): ditto
3776 * libm/math/w_exp.c (exp): ditto
3777 * libm/math/w_cosh.c (cosh): ditto
3778 * libm/math/w_atanh.c (atanh): ditto
3779 * libm/math/w_atan2f.c (atan2): ditto
3780 * libm/math/w_asin.c (asin): ditto
3781 * libm/math/w_acosh.c (acosh): ditto
3782 * libm/math/w_acos.c (acos): ditto
3783
3784Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
3785
3786 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
3787 (fsrc): Add wf_cabs.c and wf_drem.c.
3788 * libm/math/Makefile.in: Rebuild.
3789
3790 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
3791 unused directory variables. Remove duplicate CFLAGS.
3792 * Makefile.in: Rebuild.
3793
3794 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
3795 with $(CC_FOR_BUILD).
3796 (makedoc.o): Likewise.
3797 * doc/Makefile.in: Rebuild.
3798
3799 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
3800 force a definition of COMPILE.
3801 (libfoo_a_SOURCES): Define.
3802 * libc/sys/cygwin32/Makefile.in: Rebuild.
3803 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
3804 force a definition of COMPILE.
3805 (libfoo_a_SOURCES): Define.
3806 * libc/sys/tic80/Makefile.in: Rebuild.
3807
3808Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
3809
3810 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
3811 flag.
3812
3813Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
3814
3815 * Build using autoconf and automake. Added many Makefile.am and
3816 configure.in files, plus generated files. Old configure.in files
3817 and all old Makefile.in files completely replaced. Removed
3818 host/any. Added acinclude.m4 and configure.host.
3819
3820Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
3821
3822 * libc/stdio/vfprintf.c: enable long long support, sometimes.
3823 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
3824
3825Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3826
3827 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
3828 * libc/machine/sh/Makefile.in: Add rules for new files.
3829
3830Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3831
3832 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
3833 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
3834 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
3835
3836Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
3837
3838 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
3839 code is ignored.
3840
3841Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
3842
3843 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
3844 internal static buffer when s is NULL, as prescribed by ANSI.
3845
38461998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
3847
3848 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
3849 removed.
3850 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
3851 libc/stdlib will be used for h8300hms.
3852
3853Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3854
3855 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
3856 version that can be built either for speed or size.
3857 * libc/machine/mn10300/memset.S (_memset): ditto
3858 * libc/machine/mn10300/memchr.S (_memchr): ditto
3859 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
3860 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
3861 * libc/machine/mn10300/strchr.S (_strchr): ditto
3862 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
3863 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
3864 * libc/machine/mn10300/Makefile.in: Added entries for
3865 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
3866 strcmp.o, strcpy.o, and strlen.o.
3867
3868Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
3869
3870 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
3871 been replaced with libgloss/mn10200.
3872
3873Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
3874
3875 * libc/string/strchr.c (strchr): Make s a constant pointer to
3876 avoid warning.
3877
3878Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
3879
3880 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
3881 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
3882 board SWIs instead of Demon board SWIs).
3883
3884Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
3885
3886 * libc/string/strncat.c (strncat): Make -Os act the same as
3887 PREFER_SIZE_OVER_SPEED being defined.
3888
3889Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
3890
3891 * libc/string/memchr.c (memchr): Make -Os act the same as
3892 PREFER_SIZE_OVER_SPEED being defined.
3893 * libc/string/memcmp.c (memcmp): Ditto.
3894 * libc/string/memcpy.c (memcpy): Ditto.
3895 * libc/string/memset.c (memset): Ditto.
3896 * libc/string/strcat.c (strcat): Ditto.
3897 * libc/string/strchr.c (strchr): Ditto.
3898 * libc/string/strcmp.c (strcmp): Ditto.
3899 * libc/string/strcpy.c (strcpy): Ditto.
3900 * libc/string/strlen.c (strlen): Ditto.
3901 * libc/string/strncat.c (strncat): Ditto.
3902 * libc/string/strncmp.c (strncmp): Ditto.
3903 * libc/string/strncpy.c (strncpy): Ditto.
3904
3905Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
3906
3907 * libc/include/sys/itimer.h: remove
3908 * libc/include/sys/time.h: itimer stuff should be here
3909
3910Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
3911
3912 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
3913 bit instead of comparing to 0 so -0.0 can be printed correctly.
3914
3915Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3916
3917 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
3918
3919Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
3920
3921 * libc/include/sys/unistd.h: fix sync() proto
3922 * libc/include/sys/fcntl.h: remove _close which is already
3923 defined in unistd.h.
3924 * libc/include/sys/time.h: add getitimer proto
3925
3926Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
3927
3928 * libc/string/strchr.c: convert arg to unsigned char
3929 * libc/include/stdlib.h: add protos for random, srandom
3930 * libc/include/sys/stat.h: add lstat proto
3931 * libc/include/sys/time.h: add setitimer proto
3932 * libc/include/sys/unistd.h: add readlink, symlink protos
3933 * libc/include/process.h: instead of including windows.h and using
3934 HANDLEs in sexec protos, just use void *s. Need to include
3935 sys/types.h.
3936
3937Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
3938
3939 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
3940
3941Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
3942
3943 * libc/include/process.h: add secure exec protos
3944
3945Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
3946
3947 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
3948 which are accessed as both doubles and integers.
3949 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
3950 * libc/stdlib/strtod.c (_strtod_r): Likewise.
3951 * libc/stdlib/mprec.h: Add "union double_union" and change
3952 word0/word1 macros to use it.
3953
3954Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
3955
3956 * libc/include/sys/signal.h: add __cplusplus wrapper
3957
3958Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
3959
3960 * libc/include/sys/utime.h: new generic file that gets replaced by
3961 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
3962 function.
3963 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
3964 * libc/include/time.h: remove duplicate utime proto
3965 * libc/include/utime.h: add comment
3966
3967Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
3968
3969 * libc/include/sys/time.h: Add missing include to
3970 allow use of _EXFUN. Remove times function that is
3971 already defined in times.h.
3972
3973Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
3974
3975 * libc/include/time.h: Fix typo in tzset.
3976
3977Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
3978
3979 * libc/include/sys/time.h: add missing Cygwin32 function protos
3980 * libc/include/sys/unistd.h: ditto
3981 * libc/include/time.h: ditto
3982
3983Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
3984
3985 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
3986 FIXME.
3987 * libc/include/sys/types.h: add a new __MS_types__ section
3988 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
3989 __BIT_TYPES_DEFINED__.
3990
3991Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
3992
3993 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
3994 since it overrides the one in libc/include/sys. Also, start
3995 including types.h.
3996
3997Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
3998
3999 * libm/math/Makefile.in: add s_signgam.o to obj list
4000
4001Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
4002
4003 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4004
4005Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
4006
4007 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4008 so don't use defines.
4009
4010Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
4011
4012 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4013
4014Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
4015
4016 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4017 _current_locale as default locale.
4018
4019Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
4020
4021 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4022 insufficient space in a chunk.
4023
4024Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
4025
4026 * configure.in (links): Added check for --enable-newlib-mb configure
4027 option which defines the MB_CAPABLE macro.
4028 * libc/locale/locale.c (_setlocale_r): Added support for setting
4029 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4030 defined.
4031 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4032 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4033 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4034 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4035 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4036 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4037 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4038 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4039 * libc/stdlib/Makefile.in: Added new multibyte
4040 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4041 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4042 _mbstowcs_r(), and _wcstombs_r().
4043 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4044 for JIS, SJIS, and EUC-JP characters.
4045 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4046 MB_CAPABLE defined.
4047 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4048 MB_CAPABLE defined.
4049 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4050 MB_CAPABLE defined.
4051 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4052 if MB_CAPABLE defined.
4053 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4054 if MB_CAPABLE defined.
4055 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4056 to the format string processing when MB_CAPABLE.
4057 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4058 call _mbtowc_r().
4059
4060Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
4061
4062 The following modifications are courtesy of Anthony Thompson,
4063 athompson@cambridge.arm.com:
4064 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4065 boith RDI and RDP monitors.
4066 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4067 RDI and RDP monitors.
4068
4069Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
4070
4071 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4072 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4073 (_swiopen): Fixed open flags to treat write with append as just append.
4074 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4075 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4076
4077Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4078
4079 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4080 When needing to transfer an initial 2-byte-word, store as
4081 two single bytes.
4082
4083Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4084
4085 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4086 __SH3E__ .
4087 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4088 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4089
4090Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
4091
4092 * configure.in (target_cflags): If --enable-target-optspace, use
4093 -Os to compile newlib rather than -O2. Default to using -Os for
4094 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4095 used.
4096
4097Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
4098
4099 * libc/include/machine/setjmp.h: change sigsetjmp and
4100 siglongjmp definitions to use an array instead of a struct
4101 for __CYGWIN32__
4102
4103Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
4104
4105 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4106
4107Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
4108
4109 * libc/string/strxfrm.c: fix to get correct return value
4110
4111Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
4112
4113 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4114 builds. Make mode change labels global so that they will be seen
4115 by the debugger.
4116
4117Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
4118
4119 * configure.in (links): Do not use ARM debiugging protocols for PE
4120 builds.
4121
4122 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4123 message.
4124
4125Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4126
4127 * libc/stdio/findfp.c (__sinit): Made stdout default to
4128 line buffered mode as defined by ANSI.
4129
4130Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
4131
4132 * libc/include/sys/itimer.h: New file.
4133
4134 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4135
4136Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4137
4138 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4139 failure.
4140
4141Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
4142
4143 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4144 insns.
4145
4146Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
4147
4148 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4149
4150Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
4151
4152 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4153 support.
4154
4155 * libc/include/machine/setjmp.h: Add D30V support.
4156
4157 * configure.in (d30v-*): Add d30v machine directory.
4158
4159Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
4160
4161 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4162 been replaced with libgloss/mn10300.
4163
4164Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
4165
4166 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4167 it is no longer needed.
4168
4169Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4170
4171 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4172
4173Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
4174
4175 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4176 the file when O_APPEND is set, wherever the EOF happens to be at
4177 that time.
4178
4179Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
4180
4181 patch from cgf@bbc.com (Christopher Faylor):
4182 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4183 convention of closing fp prior to attempting to open the file
4184 argument. This allows correct operation when reopening
4185 stdin/stdout/stderr. Replaces last freopen.c patch.
4186
4187Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
4188
4189 patch from cgf@bbc.com (Christopher Faylor):
4190 * libc/stdio/freopen.c: freopen was not preserving the fd
4191 of the stream being operated on. This confuses programs that
4192 expect that the handles for stdout and stderr will be 1 and 2.
4193
4194Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
4195
4196 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4197
4198Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
4199
4200 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4201
4202Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
4203
4204 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4205 altered to not use a branch. Also added hint that last
4206 bclr in longjmp will likely result in branch.
4207
4208
4209Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
4210
4211 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4212
4213Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
4214
4215 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4216 v850 builds.
4217
4218 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
4219
4220Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
4221
4222 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4223 that loads FR14 to specify offset of 8 rather than 4
4224 so it loads from offset 96 (where setjmp stored it).
4225
4226Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4227
4228 * libc/machine/sh/memcpy.S: (_memcpy): Update to
4229 latest version supplied by customer.
4230 * libc/machine/sh/memset.S (_memset): Ditto.
4231
4232Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
4233
4234 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4235 PR14730).
4236
4237Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
4238
4239 * libc/include/string.h: remove redefinition of ffs
4240
4241Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
4242
4243 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4244 defined
4245
4246Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4247
4248 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4249 TI Libraries to link to libc.a
4250
4251Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
4252
4253 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4254 * libc/include/sys/stat.h (_{,f}stat): Ditto.
4255 * libc/include/sys/wait.h (_wait): Ditto.
4256 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4257 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4258
4259Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
4260
4261 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
4262 minded stabs so function name shows up when running the simulator
4263 with -t.
4264 * libc/sys/d10v/{crt0,trap}.S: Ditto.
4265
4266Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
4267
4268 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
4269 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4270 Use R5 where we used to use R3.
4271
4272Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
4273
4274 * libc/stdlib/getopt.c (getopt): replaced __progname
4275 with nargv[0] to improve portability to imbedded systems.
4276
4277Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
4278
4279 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4280 patch supplied by Tont.Thompson@arm.com to fix the creation of the
4281 stdout file.
4282
4283Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
4284
4285 * libc/stdio/tmpnam.c (worker): Generate a different file name
4286 each time.
4287
4288 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4289 fails, try an execlp for sh.
4290
4291 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4292 option for the winsup include directory.
4293
4294Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
4295
4296 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4297 debugging interface from Tony.Thompson@arm.com.
4298
4299 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4300 * libc/sys/arm/swi.h: ditto.
4301
4302Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4303
4304 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4305 DIR struct used for readdir hashes.
4306
4307Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
4308
4309 * libc/string/strchr.c: Use "unsigned chars" as necessary.
4310
4311Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
4312
4313 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4314 integer targets.
4315
4316Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
4317
4318 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4319 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4320 * libc/include/malloc.h: Add extern "C" if __cplusplus.
4321 (__malloc_copy): Declare.
4322
4323Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
4324
4325 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4326 <sys/config.h>.
4327 (POINTER_UINT): Define.
4328 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4329 (MALLOC_ALIGNMENT): Don't define if already defined.
4330 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4331 long.
4332
4333Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
4334
4335 * libc/string/memset.c (memset): Fiddle with code so that the long
4336 value being stored is not a stack value. Unroll storing longs 4
4337 times.
4338
4339Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
4340
4341 * Reduce code size for libm modules.
4342 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4343 and simply move code into sqrt.
4344 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4345 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4346 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4347 * libm/math/wr_gamma.c (gamma_r): Likewise.
4348 * libm/math/wf_sinh.c (sinfh): Likewise.
4349 * libm/math/w_sinh.c (sinh): Likewise.
4350 * libm/math/wf_scalb.c (scalbf): Likewise.
4351 * libm/math/w_scalb.c (scalb): Likewise.
4352 * libm/math/wf_remainder.c (remainderf): Likewise.
4353 * libm/math/w_remainder.c (remainder): Likewise.
4354 * libm/math/wf_pow.c (powf): Likewise.
4355 * libm/math/w_pow.c (pow): Likewise.
4356 * libm/math/wf_log10.c (log10f): Likewise.
4357 * libm/math/w_log10.c (log10): Likewise.
4358 * libm/math/wf_log.c (logf): Likewise.
4359 * libm/math/w_log.c (log): Likewise.
4360 * libm/math/w_lgamma.c (lgamma): Likewise.
4361 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4362 * libm/math/wf_jn.c (jnf): Likewise.
4363 * libm/math/w_jn.c (jn): Likewise.
4364 * libm/math/wf_j1.c (j1f): Likewise.
4365 * libm/math/w_j1.c (j1): Likewise.
4366 * libm/math/wf_j0.c (j0f): Likewise.
4367 * libm/math/w_j0.c (j0): Likewise.
4368 * libm/math/wf_hypot.c (hypotf): Likewise.
4369 * libm/math/w_hypot.c (hypot): Likewise.
4370 * libm/math/wf_gamma.c (gammaf): Likewise.
4371 * libm/math/w_gamma.c (gamma): Likewise.
4372 * libm/math/wf_fmod.c (fmodf): Likewise.
4373 * libm/math/w_fmod.c (fmod): Likewise.
4374 * libm/math/wf_exp.c (expf): Likewise.
4375 * libm/math/w_exp.c (exp): Likewise.
4376 * libm/math/wf_cosh.c (coshf): Likewise.
4377 * libm/math/w_cosh.c (cosh): Likewise.
4378 * libm/math/wf_atanh.c (atanhf): Likewise.
4379 * libm/math/w_atanh.c (atanh): Likewise.
4380 * libm/math/wf_atan2.c (atan2f): Likewise.
4381 * libm/math/w_atan2.c (atan2): Likewise.
4382 * libm/math/wf_asin.c (asinf): Likewise.
4383 * libm/math/w_asin.c (asin): Likewise.
4384 * libm/math/wf_acosh.c (acoshf): Likewise.
4385 * libm/math/w_acosh.c (acosh): Likewise.
4386 * libm/math/wf_acos.c (asocf): Likewise.
4387 * libm/math/w_acos.c (acos): Likewise.
4388 * libm/math/wf_sqrt.c (sqrtf): Likewise.
4389 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4390 for embedded systems.
4391
4392Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
4393
4394 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4395 Lea in case of a foreign sbrk.
4396
4397Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
4398
4399 Incorporate Doug Lea's malloc:
4400 * libc/stdlib/mallocr.c: Completely replaced.
4401 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4402 (realloc): Remove.
4403 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4404 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4405 mallopt.
4406 (mallinfo, malloc_stats, mallopt): New functions.
4407 (_mstats_r): Just call _malloc_stats_r.
4408 * libc/stdlib/malign.c: New file.
4409 * libc/stdlib/mlock.c: New file.
4410 * libc/stdlib/msize.c: New file.
4411 * libc/stdlib/mtrim.c: New file.
4412 * libc/stdlib/realloc.c: New file.
4413 * libc/stdlib/valloc.c: New file.
4414 * libc/stdlib/malloc.h: Remove.
4415 * libc/stdlib/callocr.c: Remove.
4416 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4417 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4418 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4419 reallocr.o, valloc.o, vallocr.o.
4420 (CHEWOUT_FILES): Add mlock.def, mstats.def.
4421 (MALLOC_CFLAGS): New variable.
4422 (mallocr.o): New target, build from mallocr.c.
4423 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4424 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4425 (msizer.o, malloptr.o): Likewise.
4426 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4427 (valloc.o): New target.
4428 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4429 * libc/include/malloc.h: Declare struct mallinfo, and new
4430 routines.
4431 * libc/include/stdlib.h (cfree): Correct declaration.
4432
4433Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
4434
4435 * libc/include/machine/setjmp.h: Add support for Thumb target.
4436
4437 * libc/include/machine/ieeefp.h: Add support for Thumb target.
4438
4439 * configure.in (links): Add support for Thumb target.
4440
4441Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
4442
4443 * libc/sys/arm/setjmp.S: Updated with version from branch.
4444
4445Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
4446
4447 * libc/include/stdio.h: add POSIX-required define L_ctermid
4448 for ctermid
4449
4450Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
4451
4452 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4453 addition to MISSING_SYSCALL_NAMES.
4454
4455Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4456
4457 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
4458
4459Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
4460
4461 * libc/include/string.h: change strsignal proto to return
4462 a char *. This eliminates compile problems in gdb resulting
4463 from gdb's definition of strsignal in defs.h.
4464
4465Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
4466
4467 * libc/sys/cygwin32/sys/utime.h: new (moved here from
4468 winsup/include) so as not to conflict with the one in
4469 libc/include.
4470 * libc/include/string.h: add protos for strsignal, strtosigno
4471
4472Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
4473
4474 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4475
4476 * configure.in (d30v-*-*): Add configuration.
4477
4478Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
4479
4480 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4481 to select which kind of debug monitor is in use for an ARM target.
4482
4483 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4484 Angel and Demon debug monitors. Part of this code was supplied by
4485 Tony Thompson at ARM: athompso@arm.com.
4486
4487Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
4488
4489 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4490 semantics when the count is greater than the length of the second
4491 source string.
4492
4493Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
4494
4495 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4496 * libc/include/sys/unistd.h: add protos for usleep, truncate,
4497 truncate and ftruncate take off_t, not size_t
4498
4499Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
4500
4501 * libc/string/strcat.c (strcat): Add missing comment end.
4502 * libc/string/strncat.c (strncat): Likewise.
4503
4504Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
4505
4506 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4507 targets.
4508 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
4509 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4510 defined.
4511 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4512 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4513 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4514
4515Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
4516
4517 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4518 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4519
4520Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
4521
4522 * libc/machine/i386/setjmp.S: New file.
4523 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4524 (OFILES): Add setjmp.o.
4525 (setjmp.o): Add rule for.
4526 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4527
4528Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
4529 Jeffrey A Law (law@cygnus.com)
4530
4531 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
4532 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4533 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4534 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4535
4536Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
4537
4538 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
4539 rules.
4540
4541 * libc/include/sys/config.h: Use __v850 to select v850
4542 endianness.
4543
4544 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
4545 buffer size.
4546
4547 * libc/include/machine/ieeefp.h: Use __v850 to select v850
4548 endianness.
4549
4550Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
4551
4552 * libc/stdlib/setenv.c: change unsetenv definition to match
4553 style of setenv (with _DEFUN). The string should be a const.
4554 * libc/include/stdlib.h: unsetenv proto should return void.
4555
4556Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
4557
4558 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
4559
4560Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
4561
4562 * libc/stdio/glue.h: remove.
4563 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
4564 * libc/stdio/Makefile.in: remove glue.h dependencies
4565
4566Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
4567
4568 * libc/sys/sysnecv850/crt0.S: Created V850e version.
4569
4570Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
4571
4572 * configure.in (target_cpu): Add `arc'.
4573
4574Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
4575
4576 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
4577 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
4578 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
4579 * newlib/libc/reent/reent.c: Add _wrapup_reent.
4580 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
4581
4582Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
4583
4584 * libc/machine/mips/setjmp.S: Handle mips16 builds.
4585
4586Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
4587
4588 * libc/include/stdio.h (siprintf): Declare.
4589
4590Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
4591
4592 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
4593 TARGET_CFLAGS and NEWLIB_FLAGS.
4594
4595Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4596
4597 * configure.in (links): Add support for v850ea target.
4598
4599Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4600
4601 * configure.in (links): Add support for v850e target.
4602
4603Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
4604
4605 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
4606
4607Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
4608
4609 * configure.in (arc-*-*): Add support for.
4610 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
4611
4612Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4613
4614 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
4615
4616Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
4617
4618 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
4619 comparison which accesses invalid memory when the key is
4620 larger than the last member of the array.
4621 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
4622 for CYGWIN32
4623 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
4624
4625Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
4626
4627 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
4628 not _STRICT_ANSI.
4629
4630Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
4631
4632 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
4633 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
4634
4635Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
4636
4637 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
4638 to load/store memory.
4639
4640Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
4641
4642 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
4643 underscores if _WIN32.
4644
4645Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
4646
4647 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
4648 support ifdef _USE_WRITE missed in last change.
4649 From Anders Blomdell <anders.blomdell@control.lth.se>.
4650
4651Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
4652
4653 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
4654 (_tmpnam_r, _tempnam_r): Update.
4655
4656Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
4657
4658 * libc/machine/sparc/setjmp.S: New file.
4659 * libc/machine/sparc/Makefile.in: Add setjmp.
4660 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
4661
4662Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
4663
4664 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
4665
4666Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
4667
4668 From Joel Sherrill <joel@oarcorp.com>.
4669 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
4670
4671 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
4672 * configure.in: Recognize *-*-rtems*.
4673 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
4674 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
4675 time.h,times.h,types.h}: New files.
4676 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
4677
4678Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
4679
4680 patch from sos@prospect.com.ru (Sergey Okhapkin):
4681 * include/sys/wait.h: correct operator precidence bug
4682 in WIFSIGNALED
4683
4684Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
4685
4686 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
4687 with newlib's unsetenv function
4688 * libc/sys/cygwin32/sys: new directory for includes
4689 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
4690 here from winsup/include/sys
4691
4692Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
4693
4694 * libc/include/sys/unistd.h: _exit should only be
4695 labelled noreturn when not __CYGWIN32__
4696 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
4697 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
4698 increment NSIG
4699
4700Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
4701
4702 * libc/include/sys/time.h: Only define timeval and timezone if
4703 _GNU_H_WINDOWS32_SOCKETS is not defined.
4704 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
4705
4706Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
4707
4708 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
4709 * libc/machine/mn10300/setjmp.S: Likewise.
4710
4711 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
4712 the mn10300 (more relaxing opportunities).
4713
4714Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
4715
4716 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
4717 Build libraries with -mstrict-align.
4718
4719Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
4720
4721 * libc/string/strlwr.c: New file.
4722 * libc/string/strupr.c: New file.
4723 * libc/include/string.h: Declare strlwr and strupr.
4724 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
4725 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
4726 (strlwr.o, strupr.o): New targets.
4727 * libc/string/strings.tex: Include strlwr and strupr docs.
4728
4729 * libc/include/sys/types.h: Don't define u_char, et. al., if
4730 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
4731 et. al. Make FD_SETSIZE default 64 rather than 60. Define
4732 _types_fd_set rather than fd_set, and define fd_set as a macro.
4733
4734 * libc/include/malloc.h: New file.
4735
4736 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
4737 strnicmp if they are not already defined.
4738
4739 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
4740 _timezone, _daylight, and _tzname.
4741
4742Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
4743
4744 * configure.in: Sort all configuration tables.
4745
4746 From Joel Sherrill <joel@oarcorp.com>
4747 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
4748
4749Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
4750
4751 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
4752 use int when declaring kill.
4753
4754 * libc/include/sys/timeb.h: New file.
4755
4756Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
4757
4758 * libc/include/sys/time.h: add itimer support for Cygwin32
4759
4760Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
4761
4762 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
4763 out a message that abort was called to stderr.
4764
4765Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
4766
4767 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
4768 so that libio doesn't freak.
4769
4770 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
4771 int.
4772
4773 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
4774 memory sizes, not int.
4775
4776Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
4777
4778 * libm/math/ef_hypot.c: Use long constants where
4779 appropriate.
4780 * libm/math/ef_sqrt.c: Ditto.
4781
4782 * libc/sys/sysmec/times.c(_times): Change to times.
4783
4784 * libc/sys/sysmec/read.c(_read): The third argument is
4785 size_t.
4786 * libc/sys/sysmec/write.c (_write): Ditto.
4787
4788 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
4789 (_lseek): It's off_t for the second argument.
4790
4791Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
4792
4793 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
4794 as well as machine/ieeefp.h.
4795
4796Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
4797
4798 * libc/include/sys/signal.h: add signal protos for winsup
4799 functions (when __CYGWIN32__), include types.h
4800 * libc/include/sys/types.h: Change __go32_types__ internal
4801 define to __MS_types__ since it's used for more than just
4802 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
4803 defined.
4804 * libc/include/sys/unistd.h: add ftruncate proto for
4805 winsup functions (when __CYGWIN32__)
4806
4807Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
4808
4809 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
4810
4811Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
4812
4813 * libc/include/machine/setjmp.h: Add tic80 support.
4814 * libc/machine/tic80/setjmp.S: Likewise.
4815
4816Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
4817
4818 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
4819 link programs from libraries only (such as in the X11
4820 distribution)
4821
4822Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
4823
4824 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
4825 supplied elsewhere in newlib.
4826
4827Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
4828
4829 * Makefile.in (INSTALL): Change install.sh to install-sh.
4830
4831Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
4832
4833 * README: update WWW address for on-line documentation.
4834
4835Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
4836
4837 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
4838 increment NSIG
4839
4840Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
4841
4842 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
4843 mn10300.
4844 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
4845
4846Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
4847
4848 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
4849 * libc/sys/d10v/syscalls.c: Likewise.
4850 * libc/sys/h8300hms/sbrk.c: Likewise.
4851 * libc/sys/h8500hms/syscalls.c: Likewise.
4852 * libc/sys/m88kbug/syscalls.c: Likewise.
4853 * libc/sys/sh/syscalls.c: Likewise.
4854 * libc/sys/sysmec/sbrk.c: Likewise.
4855 * libc/sys/sysnecv850/sbrk.c: Likewise.
4856 * libc/sys/w65/syscalls.c: Likewise.
4857 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
4858
4859Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
4860
4861 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
4862 emulated syscall instead of "trap".
4863
4864Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
4865
4866 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
4867 not trap 0.
4868
4869Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
4870
4871 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
4872
4873Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
4874
4875 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
4876 not "sh".
4877 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
4878 not "d10v".
4879 * libc/sys/tic80/crt0.c: New file for TIc80.
4880 * libc/sys/tic80/Makefile.in: New file for TIc80.
4881 * libc/machine/tic80/Makefile.in: New file for TIc80.
4882
4883Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
4884
4885 * libc/machine/sh/memcpy.S: New file.
4886 * libc/machine/sh/memset.S: New file.
4887 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
4888
4889Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
4890
4891 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
4892 for TIc80.
4893
4894Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
4895
4896 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
4897 the mn10200.
4898
4899Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
4900
4901 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
4902 (patch from andrew@pogo.WV.TEK.COM).
4903
4904Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
4905
4906 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
4907 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
4908
4909Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
4910
4911 * configure.in: Add cases for "tic80" to set machine_dir,
4912 sys_dir, and syscall_dir.
4913
4914Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
4915
4916 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
4917
4918Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
4919
4920 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
4921
4922Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
4923
4924 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
4925 Use proper constant prefix.
4926
4927Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
4928
4929 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
4930 that loses on the mn10200 where ints and pointers are different
4931 sizes.
4932
4933Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
4934
4935 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
4936 target as signal is provided in winsup.
4937
4938Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
4939
4940 * libc/include/sys/process.h: Corrected const definitions
4941 in spawn functions. Added cwait.
4942
4943Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
4944
4945 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
4946 doubles.
4947 * libc/include/sys/config.h: Similarly.
4948
4949Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4950
4951 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
4952 target_cflags.
4953 (i[3456]86-*-sco*): Ditto.
4954
4955 * libc/signal/Makefile.in (OFILES): Add signal.o.
4956 (CFILES): Add signal.c.
4957
4958 * libc/signal/raise.c (_raise_r): Only compile code if
4959 SIGNAL_PROVIDED is defined.
4960
4961 * libc/signal/signal.c: Redo whole file so that it works with
4962 current newlib. Use _kill_r if no signal handler provided.
4963
4964 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
4965 signal stubs.
4966 * libc/sys/sysvnecv70/Makefile.in: Ditto.
4967 * libc/sys/sysnecv850/Makefile.in: Ditto.
4968
4969 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
4970 * libc/sys/sysmec/{raise,signal}.c: Ditto.
4971 * libc/sys/sysvnecv70/signal.s: Ditto.
4972 * libc/sys/sysnecv850/raise.c: Ditto.
4973
4974 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
4975 simulator and debugger can tell the difference between a signal
4976 being raised and an exit system call.
4977
4978 * NEWS: Document software signals being provided.
4979
4980Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4981
4982 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
4983 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
4984 include/sys/config.h.
4985 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
4986 Change from 'inpure_data'.
4987 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
4988 &impure_data, not &inpure_data.
4989
4990 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
4991 and and System V ABI, define so that _impure_ptr lives in the
4992 .sdata section.
4993
4994Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4995
4996 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
4997 nothing if not defined.
4998 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
4999 its attributes.
5000
5001 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
5002
5003Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
5004
5005 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5006 * libc/sys/sysmec/trap.s: Handle mn10200 too.
5007 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5008
5009Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
5010
5011 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5012
5013Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
5014
5015 * libc/include/sys/errno.h: Added net errno's.
5016
5017Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5018
5019 * libc/misc/ffs.c: New file to support ffs function for GCC test
5020 gcc.c-torture/execute/960909-1.c.
5021
5022 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5023
5024Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
5025
5026 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5027 * libc/sys/sysmec/trap.S: Likewise.
5028
5029Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
5030
5031 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5032 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5033
5034Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
5035
5036 * libc/sys/sysmec/signal.c: Dummy file.
5037 * libc/sys/sysmec/Makefile.in: Build it.
5038
5039Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
5040
5041 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5042 mips16.
5043
5044Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
5045
5046 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5047 c-startup and simulator traps.
5048
5049
5050 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5051 * libc/sys/sysmec/trap0.S: Likewise.
5052
5053Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5054
5055 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5056 round to double word alignment.
5057 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5058 byte alignment.
5059
5060 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5061
5062 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5063 out of memory.
5064
5065Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
5066
5067 * configure.in: Handle mn10200 and mn10300.
5068 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5069 * libc/include/sys/config.h: Likewise.
5070 * libc/sys/sysmec: New directory for mec stuff.
5071 * libc/machine/mn10300: New directory for mn10300 stuff.
5072 * libc/machine/mn10200: Similarly for mn10200 stuff.
5073
5074Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
5075
5076 * libc/sys/arm/crt0.S: Use .text, not .section .text.
5077 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5078
5079 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5080 (nlink_t): Change type from unsigned int to unsigned short.
5081 (mode_t): Ensure size is 32 bits even if int is 16.
5082 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5083 (st_spare[123]): Change type from int to long.
5084
5085Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5086
5087 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5088 byte boundary.
5089
5090 * configure.in (d10v*): Define SMALL_MEMORY.
5091
5092Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5093
5094 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5095 -mrelocatable-lib and -mno-eabi flags.
5096
5097Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
5098
5099 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5100 Fix handling of mis-aligned source operand when both the
5101 destination & length are properly aligned.
5102
5103Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
5104
5105 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5106 times.o, time.o and gettime.o
5107 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5108 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5109 SYS_gettimeofday.
5110
5111Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
5112
5113 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5114 * libc/sys/sysnecv850/access.c: New file.
5115
5116Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
5117
5118 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5119
5120 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5121 long.
5122
5123Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
5124
5125 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5126
5127Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
5128
5129 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5130 * libc/include/sys/config.h: Add m32r support.
5131
5132Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
5133
5134 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
5135 here.
5136
5137Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
5138
5139 * libc/include/machine/setjmp.h: Add D10v support.
5140
5141Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
5142
5143 * configure.in: Configure the "libc/syscalls" directory for
5144 the v850.
5145
5146 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5147 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5148 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5149 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5150 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5151
5152Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
5153
5154 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
5155 stack for args for main and other routines. Zero out args for
5156 main.
5157
5158 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
5159 correctly.
5160
5161Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5162
5163 * libc/stdio/findfp.c (std): Remove extraneous ';' after
5164 function.
5165
5166 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5167
5168 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5169 real system calls now.
5170
5171 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5172 before casting them to int.
5173 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5174
5175 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5176 aligning pointer.
5177 * libc/string/memset.c (memset): Ditto.
5178
5179 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5180 first convert ints to _POINTER_INT to eliminate GCC warning.
5181
5182 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5183 processing %p.
5184
5185 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5186 from 65000 if ints are only 16 bits.
5187
5188 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5189 from 50000 if ints are only 16 bits.
5190
5191 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5192 int type that is the same size as a pointer.
5193
5194 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5195 processing %p.
5196 (get_number): Explicitly cast number to long before shifting by 16
5197 or 24, in case ints are short.
5198
5199 * libc/include/sys/config.h (_POINTER_INT): Define as short.
5200
5201Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
5202
5203 * libc/string.h: Added ffs, removed swab.
5204 * libc/sys/errno.h: Added EOPNOTSUPP.
5205 * libc/sys/unistd.h: Added swab.
5206
5207Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
5208
5209 * libc/include/sys/stat.h: Added fchmod.
5210 * libc/include/sys/unistd.h: Added fsync.
5211
5212Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
5213
5214 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5215 and ECONNRESET (104) for cygwin32.
5216
5217Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
5218
5219 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5220 do the static destructors.
5221
5222Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
5223
5224 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
5225
5226Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
5227
5228 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5229 * configure.in: Recognize m32r-*-*.
5230
5231Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
5232
5233 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5234 __rt_stkovf_split_small): Added default software stack overflow
5235 handlers, which just call SWI_Exit.
5236 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5237 limit initialisation.
5238
5239Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
5240
5241 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5242
5243Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
5244
5245 * libc/include/sys/types.h: Added ssize_t definition.
5246
5247Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5248
5249 * libc/machine/d10v/setjmp.S: Use ';' for comments.
5250 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5251
5252 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5253 branch around a single ldi instruction.
5254
5255 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5256 Call exit, instead of just issuing a stop instruction.
5257
5258Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5259
5260 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5261
5262Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5263
5264 * libc/stdlib/mprec.h: Explicitly declare all large constants as
5265 longs, and then cast them to __uint32_t.
5266
5267 * libc/include/sys/config.h: Protect against multiple inclusions.
5268
5269Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
5270
5271 * configure.in (d10v*): Set syscall_dir.
5272
5273Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
5274
5275 * libc/sys/d10v/crt0.S: Set stack pointer.
5276
5277Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
5278
5279 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5280 in assembly for efficiency. Change calling convention to allow
5281 long ints to be returned.
5282
5283Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5284
5285 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5286
5287Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
5288
5289 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5290 Handle empty entries in $PATH.
5291
5292Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
5293
5294 * libc/machine/d10v/setjmp.S: Make it really work.
5295
5296Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
5297
5298 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5299 the .stack section.
5300
5301Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
5302
5303 * sys/sysnecv850/sys/file.h: Remove.
5304 * sys/sysnecv850/sys/syscall.h: New file.
5305 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5306 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5307 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5308 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5309 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5310 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5311 * sys/sysnec850/trap.S: New file.
5312 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5313 syscalls.
5314 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5315 * sys/sysnec850/sbrk.c: New version.
5316
5317Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
5318
5319 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
5320 as long as r6 is less than r7.
5321
5322Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
5323
5324 * Makefile.in (mostlyclean): Separate from clean target. Don't
5325 remove *.a or targ-include.
5326 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5327
5328Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5329
5330 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5331 d10v.
5332 (__SMALL_BITFIELDS): Ditto.
5333
5334 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5335
5336Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
5337
5338 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5339 prefix.
5340
5341 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5342 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5343 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5344 * libc/sys/sysnecv850/write.c (write): Likewise.
5345
5346 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5347 .bss.
5348
5349Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5350
5351 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5352 appropriately for D10V, depending on -mint16/-mint32.
5353
5354Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
5355
5356 * configure.in: Add cases for D10V.
5357
5358Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5359
5360 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5361
5362Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
5363
5364 * libc/include/machine/ieeefp.h: Fix typo.
5365
5366Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
5367
5368 * libc/sys/d10v: New directory for D10V stuff.
5369 * libc/include/machine/ieeefp.h: Add D10V defines.
5370
5371Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
5372
5373 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5374 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5375 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5376 * libc/string/strerror.c (strerror): Add them.
5377
5378Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
5379
5380 * libc/sys/sysnecv850: New directory for v850 stuff.
5381
5382 * libc/machine/v850: New directory for v850 stuff.
5383 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5384
5385 * configure.in: Add support for the v850.
5386
5387 * libc/include/machine/ieeefp.h: Add v850 defines.
5388 * libc/include/machine/setjmp.h: Likewise.
5389 * libc/include/sys/config.h: Add v850 defines.
5390
5391Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
5392
5393 * libc/include/machine/ieeefp.h
5394 * libc/include/machine/setjmp.h
5395 * libc/include/sys/fcntl.h
5396 * libc/include/sys/signal.h
5397 * libc/include/sys/types.h
5398 * libc/stdlib/system.c:
5399 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5400 API availability, __CYGWIN32__ for cygwin32 environment specific).
5401
5402Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
5403
5404 * libc/include/stdlib.h: add multibyte character functions. Add
5405 __eprintf for assert.
5406
5407Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5408
5409 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5410 arithmetic or __alignof__ to properly get the alignment, instead
5411 of hardwiring it to 4.
5412
5413Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
5414
5415 * libc/stdio/fseek.c: add fflush call to adjust seek offset
5416 on append stream (fix from NetBSD sources), adjust curoff offset
5417 for ungetc's benefit.
5418 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5419 * libc/stdio/rewind.c: replace code with up to date NetBSD
5420 code to undo hacks made to work around above problem of not
5421 having fflush call mentioned above
5422
5423Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5424
5425 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5426 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5427 Partially revert last changes. The thread specific errno is set
5428 iff if the underlying syscall fails and the global errno is not
5429 zero.
5430
5431Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5432
5433 * libc/reent/filer.c: Removed files, all functions have split out
5434 into their own files.
5435 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
5436 New files containing functions formally in filer.c
5437 * libc/reent/Makefile.in: Updated for above change.
5438
5439 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5440 syscall fails, not if errno is changed.
5441 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
5442 _write_r): Likewise.
5443 * libc/reent/fstatr.c (_fstat_r): Likewise.
5444 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5445 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5446 * libc/reent/signalr.c (_kill_r): Likewise.
5447 * libc/reent/statr.c (_stat_r): Likewise.
5448 * libc/reent/timer.c (_gettimeofday_r): Likewise.
5449
5450 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5451 signalr.c, statr.c, timer.c} (errno): declare extern rather
5452 than as a common.
5453
5454 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5455 instead of calling vfprintf so that i*printf will not require
5456 floating point support code.
5457
5458Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
5459
5460 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5461 path delimiter.
5462 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5463 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5464
5465Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
5466
5467 * libc/include/signal.h: _sig_func_ptr function takes an int
5468 * libc/include/sys/signal.h: sa_handler function takes an int
5469
5470Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
5471
5472 * libc/include/machine/ieeefp.h: Simplify H8/S support.
5473 * libc/include/sys/config.h: Add missing H8/S conditional.
5474
5475Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
5476
5477 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5478
5479Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
5480
5481 * libc/include/machine/setjmp.h: Handle H8/S.
5482 * libc/include/machine/ieeefp.h: Likewise.
5483 * libc/include/sys/config.h: Likewise.
5484 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5485 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5486 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5487 * libc/sys/h8300hms/crt0.S: Likewise.
5488
5489Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5490
5491 * Makefile.in (datadir): Set to $(prefix)/share.
5492 (oldincludedir, docdir): Removed.
5493 * doc/Makefile.in (datadir): Set to $(prefix)/share.
5494 (oldincludedir, docdir): Removed.
5495 * libc/Makefile.in (datadir): Set to $(prefix)/share.
5496 (oldincludedir, docdir): Removed.
5497 * libm/Makefile.in (datadir): Set to $(prefix)/share.
5498 (oldincludedir, docdir): Removed.
5499
5500Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
5501
5502 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5503 _reent struct.
5504
5505Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
5506
5507 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
5508 fetch current path rules with sysconf and handler posix/win32
5509 appropriately.
5510
5511 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5512
5513 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5514 (WAIT_CHILD): Always define.
5515
5516Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
5517
5518 * libc/stdlib/eprintf.c: New file.
5519 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5520 (eprintf.o): New target.
5521
5522Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
5523
5524 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5525 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5526
5527Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
5528
5529 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
5530 NT in PowerPC endianess cases.
5531
5532Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5533
5534 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
5535
5536Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5537
5538 * libc/string/strtok.c: Fix doc typo.
5539
5540Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5541
5542 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
5543 _next, _scanpoint, _signgam fields.
5544
5545 * libc/include/stdlib.h (rand_r): Added new declaration.
5546 (_rand_r, _srand_r): Removed declarations.
5547 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
5548 have been made obsolete by rand_r.
5549 * libc/stdlib/rand_r.c: New file, rand_r function as specified
5550 by POSIX.1c.
5551
5552 * libc/string/strtok.c: Update documentation to describe
5553 strtok_r().
5554
5555Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
5556
5557 * libc/include/sys/stat.h (stat structure): Use the expanded stat
5558 structure on Solaris, and PowerPC systems even though __svr4__ is
5559 defined.
5560
5561Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
5562
5563 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
5564
5565Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
5566
5567 * host/any: Use ../.. rather than .. to get to the main build
5568 directory. This matches the current layout of the build
5569 directory.
5570
5571Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
5572
5573 * libc/machine/h8300/__main.S: Delete. No longer needed.
5574 * libc/machine/h8300/Makefile.in: Corresponding changes.
5575 * libc/sys/h8300hms/crt1.c: New file.
5576 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
5577 * libc/sys/h8300hms/crt0.s: Call __main.
5578
5579 * libc/sys/h8300hms/crt0.S: Use temporary label names
5580 for branch targets.
5581
5582Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
5583
5584 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
5585
5586Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5587
5588 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
5589 .sdata on the PowerPC so that we can link newlib with code
5590 compiled with -msdata.
5591
5592Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
5593
5594 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
5595
5596Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
5597
5598 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
5599 exception handler to __cygwin_exception_handler.
5600
5601Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
5602
5603 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
5604
5605Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
5606
5607 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
5608 SunOS VPATH.
5609 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
5610 wcstombs.o): Likewise.
5611
5612Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
5613
5614 * libc/stdlib/environ.c (initial_env): New static local.
5615 (environ): Point to `initial_env'.
5616
5617 * libc/include/machine/setjmp.h: Clean up.
5618 (__H8300H__,__PPC__): Define _JBTYPE.
5619 (__arm__): Provide entry for.
5620 (sigjmp_buf): Delete.
5621 (jmp_buf): Use _JBTYPE if defined, otherwise int.
5622
5623Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
5624
5625 * libc/machine/h8300/strcmp.S: Sign extend the result to
5626 32bits so we don't lose with -mint32.
5627
5628Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
5629
5630 * libc/sys/go32/sys/errno.h: New file.
5631 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
5632 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
5633 errno's address (make compatible with rest of newlib).
5634 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
5635 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
5636
5637Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
5638
5639 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
5640 * libc/machine/sparc/Makefile.in: Build them.
5641 * libc/machine/sparc/machine/sparclet.h: New file.
5642
5643Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5644
5645 * libc/machine/sh/asm.h: New file.
5646 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
5647 support for SH3e's FP registers. Use asm.h.
5648
5649Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
5650
5651 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
5652 as first argument. Call _dtoa_r and pass the reent structure
5653 instead of calling __dtoa.
5654
5655Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
5656
5657 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
5658 the h8300, h8500, and others. Add comments for some rather
5659 dubious code.
5660
5661Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
5662
5663 * Makefile.in (check): Check that testsuite exists before cd.
5664
5665Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5666
5667 * libc/include/string.h (strsep): Correct prototype.
5668
5669Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
5670
5671 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
5672 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
5673 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
5674
5675Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
5676
5677 * libc/posix/{creat.c,isatty.c}: New files.
5678 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
5679
5680 * libc/sys/sparc64/crt0.S (environ): Delete.
5681 (.LHaveBias): Renamed from HaveBias.
5682
5683Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
5684
5685 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
5686 (_morecore_r): Delete SBRK_IS_ALLOC support.
5687
5688Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5689
5690 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
5691 module rather than touch, so we don't get warning messages when
5692 all of the libraries are combined into libc.a.
5693
5694Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
5695
5696 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
5697 crt0.s replaced by version in libgloss.
5698
5699Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5700
5701 * libc/reent/Makefile.in (OFILES): Add impure.o.
5702 * libc/reent/impure.o: New file, define initial reentrancy struct.
5703 * libc/reent/reent.c: Remove above definition.
5704
5705 * libm/math/sf_asinh.c: Fix typo.
5706
5707 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
5708 srf_ldexp.o.
5709
5710 * libm/libm.texinfo: Change documentation to reflect changes
5711 in reentrancy model.
5712 * libm/math/w_gamma.c: Likewise.
5713
5714Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
5715
5716 * configure.in (*-*-cygwin32): New.
5717 (*-*-win32): Deleted.
5718 * libc/sys/win32 renamed libc/sys/cygwin32.
5719
5720Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5721
5722 * libc/include/sys/file.h: New include file.
5723
5724Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
5725
5726 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
5727
5728Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
5729
5730 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
5731
5732Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5733
5734 * doc/makedoc.c (realloc): Declare at file scope.
5735 (catchar): Not here.
5736
5737Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
5738
5739 * Makefile.in (VERSION): Update to 1.7.0.
5740 * {libc,libm}/Makefile.in (VERSION): Likewise.
5741 * configure.in: Minor clean up of multilib stuff.
5742
5743 From David Johnson <davidj@ICSI.Berkeley.EDU>
5744 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
5745
5746 * libc/stdlib/environ.c: New file.
5747 * libc/stdlib/Makefile.in (OFILES): Build it.
5748 * libc/sys/h8500hms/crt0.c (environ): Deleted.
5749 * libc/sys/m88kbug/crt0.c (environ): Deleted.
5750 * libc/sys/z8ksim/crt0.c (environ): Deleted.
5751 * libc/sys/netware/environ.c: Deleted.
5752
5753Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
5754
5755 * configure.in (links): set sys_dir, posix_dir, syscall_dir
5756
5757Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5758
5759 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
5760 declaration out to external scope and declare it PTR, not char *.
5761
5762Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
5763
5764 * libc/include/sys/unistd.h (getpagesize): New declaration.
5765 (_SC_PAGESIZE): New definition.
5766 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
5767 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
5768
5769Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
5770
5771 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
5772 addressing. System call returns size, not (last address + 1).
5773
5774Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5775
5776 * libm/math/*.c: Removed _foo_r() reentrancy API.
5777 * libc/include/math.h: Removed _foo_r prototypes and macros.
5778
5779 * libm/math/*.c: On systems with IEEE single precision "doubles"
5780 move foo() -> foof() wrapper code from the files that implement
5781 the standard IEEE double precision functions to the files that
5782 implement IEEE single precision functions. (ie. On those systems
5783 sin is moved from s_sin.c to sf_sin.c). There should eventually
5784 be use of a C extension (like gcc's alias attribute) so that the
5785 wrappers are not needed at all.
5786
5787 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
5788 strict NEC V810 compiler.
5789 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
5790 for same reason.
5791
5792Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5793
5794 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
5795 from NetBSD C library.
5796 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
5797
5798 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
5799 and adapted from implementation I wrote for NetBSD C library.
5800 The difference is __assert doesn't take a format argument,
5801 so that there won't be multiple copies of the same string
5802 constant in the executable if assertions are enabled in
5803 more than one source module.
5804 * libc/include/assert.h (assert): Changed to call __assert.
5805
5806Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5807
5808 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
5809 word1 on systems with 32 bit doubles.
5810 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
5811 so that we can do arithmetic on them.
5812 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
5813 compilers.
5814
5815Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
5816
5817 * libc/sys/arm/crt0.S: Zero bss.
5818
5819Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
5820
5821 * libc/include/unctrl.h: New file.
5822 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
5823 * configure.in (subdirs): Add libc/misc.
5824 * libc/Makefile.in (SUBDIRS): Add misc.
5825 (SUBLIBS): Add misc/lib.a.
5826
5827 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
5828
5829Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
5830
5831 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
5832 (_vfprintf_r): Call CHECK_INIT.
5833
5834Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
5835
5836 * Makefile.in (MULTITOP): Delete.
5837 (MULTISRCTOP, MULTIBUILDTOP): Add.
5838 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
5839 instead of cfg-ml-pos.in.
5840
5841Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5842
5843 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
5844 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
5845 presence.
5846
5847Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5848
5849 * libc/string/strtok.c: Include string.h to pick up strtok_r
5850 prototype.
5851
5852Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5853
5854 * libc/string/strtok.c: include <_ansi.h>.
5855 * libc/time/asctime_r.c: `reresult' -> `result'.
5856
5857Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5858
5859 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
5860 in #ifndef _REENT_ONLY ... #endif conditional.
5861
5862 * libc/include/string.h (_strtok_r): Remove declaration.
5863 * libc/include/time.h (_asctime_r): Remove declaration.
5864 * libc/string/strtok.c (_strtok_r): Removed.
5865 * libc/time/asctime.c (_asctime_r): Removed.
5866
5867 * libc/string/Makefile.in (OFILES): Add new object.
5868 * libc/string/strtok_r.c: New file. strtok_r function as
5869 specified by POSIX.1c, adapted from strtok implementation
5870 from NetBSD C library.
5871 * libc/string/strtok.c (strtok): Reimplemented in terms of
5872 strtok_r.
5873
5874 * libc/time/Makefile.in (OFILES): Add new objects.
5875 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
5876 New files, reentrant time functions specified by POSIX.1c.
5877 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
5878 reentrant time functions re-written in terms of reentrant
5879 functions.
5880 * libc/time/lcltime.c: Renamed from localtime.c
5881
5882 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
5883 gmtime_r, and localtime_r.
5884
5885Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
5886
5887 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
5888 * libc/include/sys/unistd.h (getlogin): Revert change of
5889 Oct 19.
5890 * libc/include/sys/signal.h (sigprocmask): Change prototype
5891 so it compiles with c++.
5892
5893Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
5894
5895 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
5896 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
5897 to give some room in case we need to align the jmp_buf.
5898
5899 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
5900 the new ppc-asm.h include file the compiler provides to specify
5901 function prologue/epilogue. Eliminate saves of the xer and ctr
5902 registers, which are volatile. Before starting to save registers,
5903 align to 8 byte boundary.
5904
5905Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5906
5907 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
5908 referenced by standard libraries.
5909
5910Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
5911
5912 * libc/unix/Makefile.in, libc/string/Makefile.in,
5913 libc/stdio/Makefile.in, libc/reent/Makefile.in,
5914 libc/posix/Makefile.in:
5915 Remove tabs from otherwise empty line. Confuses some
5916 older non-GNU versions of "make".
5917
5918Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
5919
5920 * libc/sys/unistd.h (getlogin): Returns const char *.
5921
5922Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
5923
5924 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
5925 * libc/include/errno.h: Moved into and include...
5926 * libc/include/sys/errno.h: New file.
5927 * libc/include/sys/wait.h: New file.
5928 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
5929 * libc/sys/win32/*: Moved out.
5930 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
5931 * configure.in (i[345]86-*-win32): HAVE_RENAME
5932
5933Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5934
5935 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
5936 avoid macro expansion for these two names.
5937
5938Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
5939
5940 * libc/machine/h8500/psi.S: r6 renamed to fp.
5941
5942Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5943
5944 * configure.in (powerpc*): No longer need to define
5945 NO_LONGLONG_POINTERS to supress warnings.
5946
5947Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5948
5949 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
5950 through PTR instead of directly.
5951
5952 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
5953 non-standard constructor support.
5954
5955Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5956
5957 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
5958 address of the Bigint instead of the address of its _x field,
5959 as the size the result buffer was calculated accordingly.
5960 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
5961
5962 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
5963 from NetBSD C library. No longer special cases division by
5964 zero (which needs to be done by the application anyway), but
5965 it doesn't need to call abs() (or labs()) four times either.
5966
5967 * libc/stdlib/qsort.c: Replaced with implementation from
5968 NetBSD C library.
5969
5970Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5971
5972 * libc/stdio/vfprintf.c: Replaced with implementation from
5973 NetBSD C library (which is derived from the 4.4BSD C library).
5974 * libc/stdio/cvt.c: Removed.
5975 * libc/stdio/Makefile: Updated.
5976
5977Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
5978
5979 * libc/sys/win32/syscalls.c (rename): New.
5980 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
5981
5982Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5983
5984 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
5985 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
5986
5987 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
5988 (setjmp.o): Delete rule to build setjmp.o.
5989 * libc/sys/sh/setjmp.S: Delete file.
5990
5991Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5992
5993 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
5994 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
5995 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
5996 pow5mult and s2b to identifiers with leading underscores.
5997 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
5998 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
5999
6000Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
6001
6002 * libc/sys/posix/popen.c (sys/types.h): Include.
6003
6004Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
6005
6006 * libc/sys/win32/syscalls.h (fhandler): New struct.
6007 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6008 (__fhandler_normal): Declare.
6009 (hinfo): New member op_handlers.
6010 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6011 (__write): Likewise.
6012 (_read, _write, _open, _close, _lseek): Validate fd here.
6013 Move file type specific stuff to foo_normal.
6014 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6015 New functions.
6016 (__lookup_fhandler): New function.
6017 (__lookup_fhandler_hook, __fhandler_normal): New variables.
6018
6019 From anders.blomdell@control.lth.se (Anders Blomdell)
6020 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6021 Don't touch standard handles.
6022 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6023 (_execve): Only create __FD_TABLE__ if necessary.
6024 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6025
6026Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
6027
6028 * libc/sys/win32/sys/termios.h (FLUSHO): New.
6029 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6030 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6031 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6032 without a handler is received.
6033 * libc/sys/win32/Makefile.in: Remove --nodelete.
6034 * libc/sys/win32/resouce.c (gettimeofday): New.
6035 * libc/sys/win32/syscalls.c (path_to_real_path): New.
6036 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6037
6038Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
6039
6040 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6041 Don't append "/*" to search pattern if trailing '/' already there,
6042 append "*".
6043 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6044 like /'s, convert them to \'s. Handle //<drive>/ path names.
6045 Add space for quoted \'s in arg string. Print translated prog name
6046 and original prog name.
6047 (_execve): Handle parent doing exec a teensy bit better.
6048 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6049 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6050 path needs conversion, handle both cases. Delete `const' from result.
6051 (hash_path_name): New function.
6052 (_open): Call it.
6053 (_stat): Likewise. Fill in more fields for directories.
6054 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6055 (wait_for_any): Fix trace message.
6056 (waitpid): Explicitly test for intpid == 0.
6057
6058 From anders.blomdell@control.lth.se (Anders Blomdell)
6059 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6060 so `next' is valid.
6061
6062Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
6063
6064 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6065 complicated.
6066
6067Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6068
6069 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6070 at all, not just == 1.
6071 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6072
6073Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6074
6075 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6076 * libc/sys/win32/include/wintypes.h: include <winnt.h>
6077 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6078 file.
6079
6080Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6081
6082 * libc/sys/syscalls.c (getcwd): Fix off by one error.
6083
6084 * libc/sys/signal.c (sleep): Fill it in.
6085 * libc/sys/termios.c (tcflush): Use PurgeComm
6086 (tcsetattr): Set some more of the bits.
6087 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6088
6089Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
6090
6091 * libc/sys/arm/crt0.S (fp): Initialize to 0.
6092 Conditionally include .idata$3 stuff ifdef __pe__.
6093
6094Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6095
6096 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6097 * libc/sys/win32/pipe.c (pipe): Ditto.
6098 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
6099 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6100 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6101 (tcgetattr): Contents are new.
6102 * libc/sys/win32/include/winkernel.h (DCB): New.
6103 (GetCommState, SetCommState): New.
6104
6105Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
6106
6107 * libc/sys/arm/crt0.S (_start): Define.
6108
6109Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
6110
6111 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6112 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6113
6114 * libc/sys/win32/sysconf.c: New
6115 * libc/sys/win32/sys/winadvapi.h: New
6116 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6117 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6118 * libc/sys/win32/pipe.c (pipe): Ditto.
6119 * libc/sys/win32/signal.c (_raise): New.
6120 (_kill): Moved from spawn.c
6121 * libc/sys/win32/spawn.c (kill): Moved to signal.c
6122 * libc/sys/win32/syscalls.c (__read): Use new fields.
6123 (_open): Ditto.
6124 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6125 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6126 * libc/include/sys/unistd.h (rmdir): Takes const path.
6127 * libc/include/sys/stat.h (mkdir): Takes const path.
6128 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6129
6130Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
6131
6132 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6133
6134 Add support for specifying paths as //<drive>/foo/bar.
6135 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6136 (__path_to_real_path): Declare.
6137 (PATH_TO_REAL_PATH): New macro.
6138 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6139 (__path_needs_conversion_p, __path_to_real_path): New functions.
6140 (_open): Fix test for error return from CreateFileA.
6141 Handle new path syntax.
6142 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6143 * libc/sys/win32/dirsearch.c (opendir): Likewise.
6144
6145Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
6146
6147 * libc/sys/win32/include/*.h: Reorganized
6148 * libc/sys/win32/include/WINREADME: New.
6149 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6150 * libc/sys/win32/*.c: Fix for new include scheme.
6151 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6152 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6153 * libc/sys/win32/passwd.c (*): Fix.
6154 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6155 (_stat): Get directory owner and permissions right.
6156 * libc/sys/win32/syscalls.h (uinfo): New.
6157 * libc/sys/win32/version.def: Remove leading underscores.
6158
6159Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6160
6161 * libc/sys/win32/key.c: include "include/wincon.h".
6162
6163Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
6164
6165 * libc/sys/win32/{key, stubs}.c: New.
6166 * libc/sys/win32/Makefile: Adjust to cope.
6167 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6168 (environ_init): Change env names to upper case.
6169 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6170 * libc/sys/win32/passwd.c (*): Fill in the functions.
6171 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6172 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6173 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6174 (_open): Initialze hmap->execable_p too.
6175 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6176 (_fstat): Fill in permissions.
6177 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6178
6179Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
6180
6181 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6182 if defined.
6183 (cfg-ml-pos.in invocation): Likewise.
6184
6185Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6186
6187 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6188 s_isnan.o and sf_isnan.o.
6189
6190Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
6191
6192 * All Makefile.in files: added maintainer-clean target as a
6193 synonym for realclean.
6194
6195Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
6196
6197 * libc/include/machine/setjmp.h: Add hppa support.
6198 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6199 support.
6200 * libc/machine/hppa/Makefile.in: Related changes.
6201
6202Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
6203
6204 * configure.in (machine_dir): Don't set for v810-*-*.
6205
6206Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6207
6208 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6209 conventions correctly.
6210
6211Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
6212
6213 * libc/stdio/puts.c: Update documentation of return value to match
6214 ANSI standard.
6215
6216Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
6217
6218 Fix file descriptor inheritance.
6219 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6220 (NOT_OPEN_FD): Fix.
6221 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6222 close-on-exec flag not set. Initialize child's entire fd table.
6223 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6224 CHILD_P.
6225 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6226 if CHILD_P. Initialize entire hmap entry.
6227 (dup): Only create new handle as inheritable if CHILD_P.
6228 (dup2): Likewise. Properly initialize hmap entry.
6229
6230 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6231 _spawn.
6232 (_exit): Use CHILD_P.
6233 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6234 (_stat): Likewise.
6235
6236Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6237
6238 * libc/sys/win32/crt0.c (passover): fix up the state table.
6239 * libc/posix/popen.c: Added.
6240 * libc/posix/Makefile.in: compile popen.c.
6241
6242Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
6243
6244 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6245 h8/500 define _DOUBLE_IS_32BITS.
6246
6247Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
6248
6249 Get vfork/exec/spawn/cwait/wait working again.
6250 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6251 (procinfo): New member vfork_level.
6252 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6253 (vfork_init_first): Use GetCurrentProcessId to get pid.
6254 Initialize vfork_level.
6255 (vfork_init): Delete __PID__.
6256 (environ_init): New function. Undo patch of Aug 19, Posix says
6257 environment variables are case sensitive.
6258 (mainCRTStartup): Call it.
6259 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6260 (my_longjump: Make static.
6261 (_spawn): New argument `h'. Delete setting of __PID__.
6262 Delete local `idx'. Look for chars that need quotes, rather than
6263 ones that don't. Set handle of created process in `h'.
6264 Result is process id if created task.
6265 (allocate_spawn_entry): New function.
6266 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
6267 (_execve): Set __FD_TABLE__ before spawning child.
6268 Scan our fd table when passing fds, not our parent's.
6269 Store handle and pid in procinfo entry.
6270 (vfork0): Ensure strace message always printed.
6271 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6272 (vfork): Don't clobber result of vfork0.
6273 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6274 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6275
6276 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6277 and `exit_code'.
6278 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6279 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
6280 adding vfork level to pseudo-pid.
6281 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6282 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6283 (_exit): If child, set exit code.
6284 (__vfork_record_death): Only close process handle if valid.
6285 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6286 didn't exec.
6287 (wait_for_any): Likewise. Start scan after root entry.
6288
6289Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6290
6291 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6292 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6293 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6294 of actual file length.
6295
6296 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6297 * libc/include/paths.h: _PATH_BSHELL added.
6298 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6299 and STDERR_FILENO.
6300
6301Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6302
6303 * libc/include/ar.h: Added.
6304 * libc/include/sys/types.h: ino_t goes back to 32-bits.
6305 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6306 * libc/sys/win32/syscalls.c (_open): compute .namehash based
6307 on filename.
6308 (_fstat): use .namehash for inode number of the fd.
6309
6310Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
6311
6312 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6313 Change hinfo to __this_procinfo.
6314 * libc/sys/win32/crt0.c: Remove procinfo_list.
6315
6316Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6317
6318 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6319 win32 environment.
6320
6321Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6322
6323 * libc/sys/win32/include/grp.h: Removed.
6324 * libc/sys/include/grp.h: Added.
6325 * libc/sys/win32/grp.c: Include <grp.h>.
6326
6327Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
6328
6329 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6330 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6331 Defined for all but strict ANSI.
6332 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6333 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6334 * libc/signal/signal.c (_signal_r): Changed from using
6335 _MAX_SIGNALS to NSIG.
6336 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6337 __hmap): Deleted.
6338 (__strace, __vfork_next_pid): New.
6339 (__exe_suffix): Default to 1.
6340 (passover, table): Understand quoted arguments.
6341 (vfork_init_first): New.
6342 (vfork_init): Initialize new process structure.
6343 (mainCRTStartup): Pass environ to main.
6344 * exceptions.c (__sig_mask): New
6345 (ehandler3): Ignore signals in mask.
6346 (really_exit): Remove CHILD_P test.
6347 * pipe.c (pipe, dup, dup2): Use new process and file structure.
6348 * resource.c (getrusage): Ditto.
6349 * signal.c (sigprocmask): New.
6350 * spawn.c (*): Rewritten.
6351 * syscalls.c (*): Use new process and file structure.
6352 (find_unused_handle): New.
6353 * syscalls.h (MAX_HANDLES): Deleted.
6354 (hinfo): Removed child_created_p.
6355 (MAX_CHILDREN): Deleted.
6356 (vfork_jmp_info, procinfo): New.
6357 * wait.c (*): Mostly new.
6358 * sys/strace.h (_STRACE_PARANOID): New.
6359 * sys/param.h: New file.
6360
6361Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6362
6363 * libc/include/sys/stat.h: add S_BLKSIZE.
6364 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6365 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6366 types under win32.
6367 (mode_t): add a #else to avoid multiple definitons.
6368
6369 * libc/sys/win32/Makefile.in: add grp.c.
6370 * libc/sys/win32/grp.c: include grp.h correctly.
6371 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6372 of the st structure with real information.
6373 * libc/sys/win32 (dirent): d_ino is of type ino_t.
6374
6375Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
6376
6377 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6378 and (maybe) sparc64.
6379 (nlink_t): Provide typedef.
6380
6381Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6382
6383 * libc/sys/win32/grp.c: New file.
6384 * libc/sys/win32/include/grp.h: New file.
6385
6386Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6387
6388 * libc/include/machine/ieeefp.h: Added whitespace to make this
6389 file easier to maintain.
6390 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6391 depending on the value of __LITTLE_ENDIAN__.
6392 On the sh3e, define _DOUBLE_IS_32BITS.
6393
6394Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
6395
6396 * libc/sys/vr4300/syscalls.c: Added missing support
6397 routines. _raise() and getpid().
6398
6399Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
6400
6401 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6402
6403Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
6404
6405 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6406 and VR4300 processor.
6407 * libc/sys/vr4300: Add directory.
6408 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6409 monitor run-time support.
6410
6411Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6412
6413 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6414 * libc/stdlib/stdlib.tex: Don't include atol.def.
6415
6416Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6417
6418 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6419
6420Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
6421
6422 * libc/ctype/Makefile.in: Fill in _to* dependencies.
6423
6424Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
6425
6426 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6427 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6428 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6429 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6430 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6431
6432Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6433
6434 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6435
6436Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6437
6438 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6439 * libc/stdlib/atoff.c: New file.
6440 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6441 * libc/stdlib/atoi.c (atol): Removed.
6442 * libc/stdlib/atol.c: Removed duplicate documentation.
6443
6444 * libc/include/ctype.h (_tolower, _toupper): Moved inside
6445 #ifndef _STRICT_ANSI conditional.
6446 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6447 * libc/ctype/_tolower.c: New file.
6448 * libc/ctype/_toupper.c: New file.
6449 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6450 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6451 * libc/ctype/toascii.c (_toascii): Removed.
6452
6453Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
6454
6455 * libc/sys/sparc64/sys/types.h: Deleted.
6456
6457Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6458
6459 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6460 and recognize Windows_95 systems.
6461
6462Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6463
6464 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6465 and passed fds should be opened in text mode.
6466
6467Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6468
6469 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6470 in __hmap, set to binary mode by default.
6471
6472Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6473
6474 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6475 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
6476 vector 34.
6477
6478Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
6479
6480 * Makefile.in (install): Install all libraries found in the
6481 top level. If there's a sys/<type>/include directory,
6482 install those headers into include.
6483
6484 * libc/sys/win32/kernel.def351: Delete
6485 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6486 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6487 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6488 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6489 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6490 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6491 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6492 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6493
6494 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6495 * libc/sys/win32/crt0.c: Force all env names to upper case.
6496 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6497 * libc/sys/win32/*.c: Headers have moved.
6498 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6499 __vfork_child_idx is now __vfork_child_ptr.
6500
6501 * posix/execvp (execvp): Don't crash if no PATH envname.
6502
6503Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6504
6505 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6506 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6507 through the _freelist instead of through the _reclaim list.
6508 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6509 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6510 sources.
6511
6512Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6513
6514 * libc/machine/h8500/setjmp.S: New file.
6515 * libc/include/machine/setjmp.h: Updated for H8/500.
6516
6517Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
6518
6519 * libc/sys/win32/syscalls.c (_open): More stracing.
6520 (_stat): Open the file in O_BINARY.
6521
6522Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6523
6524 * libc/machine/h8300/setjmp.S: New file.
6525 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6526
6527Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
6528
6529 * libc/sys/win32/crt0.c (__exe_suffix): New global.
6530 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
6531 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
6532 __exe_suffix. Free fd_tab after setting env variable.
6533 (spawnv,_execve): Update.
6534 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
6535 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
6536 (__small_vfprintf): New function.
6537 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
6538 * libc/sys/win32/wait.c (cwait): Validate argument.
6539
6540 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
6541 (process_deletion_queue): Likewise.
6542
6543 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
6544
6545Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
6546
6547 * libc/sys/win32: Copyrights and gratuitous indenting.
6548
6549Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
6550
6551 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
6552 (process_deletion_queue): Likewise.
6553 (__close_all_files): New function.
6554 (_close): Only queue file deletion if really a file.
6555 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
6556 _P_APPEND_EXE.
6557 (_exit): Call __close_all_files.
6558
6559 * libc/stdlib/system.c: #include <errno.h>.
6560 (_system_r): Fix results in -DNO_EXEC case.
6561
6562 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
6563 Reorganize structure.
6564 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
6565 if argument is valid. Save directory name in DIR. malloc space
6566 for dirent struct separately.
6567 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
6568
6569 * libc/include/errno.h (ENAMETOOLONG): Define.
6570 * libc/string/strerror.c (strerror): Reword ENFILE.
6571 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
6572
6573Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
6574
6575 * libc/sys/win32/crt0.c (__progname): New global.
6576 (mainCRTStartup): Support strace=bitmask,filename.
6577 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
6578 * libc/sys/win32/syscalls.c (_write): Print parent trace message
6579 if error.
6580 (getcwd): Handle len too small. Convert '\\' to '/'.
6581 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
6582 Add prototypes for open, creat, fcntl.
6583 (O_APPEND): Change value to conform to Microsoft's value.
6584 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
6585
6586 * libc/stdlib/getopt.c: New file.
6587 * libc/stdlib/Makefile.in: Build it.
6588
6589Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
6590
6591 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
6592 Fix scanning of $PATH.
6593 * libc/posix/exec*.c: Call _execve, not execve.
6594 * libc/posix/execve.c: New file.
6595 * libc/posix/Makefile.in (OFILES): Add execve.o.
6596
6597 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
6598 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
6599 (_STRACE): If level==0, always print. Handle new bit mask scheme.
6600 * libc/sys/win32/crt0.c: Update _STRACE calls.
6601 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
6602
6603 * libc/sys/win32/smallprint.c (rn): Fix digit list.
6604
6605 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
6606 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
6607 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
6608 Print __seterrno trace message first.
6609 (_execve): Renamed from execve.
6610 (vfork): Update __strace usage.
6611 (__vfork_child_pid): Deleted.
6612 (__vfork_children, __vfork_child_idx): New globals.
6613 (_spawnvp): New function.
6614 (spawnvp, spawnv, _execve): Call _spawnvp.
6615 (init_child): Record child in __vfork_children.
6616 (__vfork_get_entry, __vfork_record_death): New functions.
6617 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
6618 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
6619 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
6620 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
6621 (children): New typedef.
6622 (__vfork_children,__vfork_child_idx): Declare.
6623 (__vfork_get_entry,__vfork_record_death): Declare.
6624 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
6625 (waitpid): Handle pid == -1.
6626 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
6627 * configure.in (i386-win32): Add -DNO_FORK.
6628 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
6629 * libc/reent/execr.c (_fork_r): Likewise.
6630 * libc/stdlib/system.c (do_system): New function.
6631 If WIN32, try to get shell path from $SH_PATH, use vfork.
6632 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
6633 otherwise return 0.
6634
6635Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
6636
6637 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
6638 * libc/sys/win32/fcntl.h: Don't include self.
6639 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
6640 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
6641 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
6642 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
6643 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
6644 Correct prototypes.
6645 * libc/sys/win32/strace.c: New file.
6646 * libc/sys/win32/smallprint.c: New file.
6647 * libc/sys/win32/crt0.c (func): Delete.
6648 (mainCRTStartup): Fix alloca usage. Set handles explictly.
6649 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
6650 * libc/sys/win32/exceptions.c: Lint.
6651 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
6652 Clean up handle usage.
6653 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
6654 (open.c): Default file type is text.
6655 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
6656 * libc/sys/win32/advapi32.def: New
6657
6658Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
6659
6660 * configure.in (posix_dir, libc_posix_lib): New variables.
6661 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
6662 (i[345]86-*-win32): Define posix_dir.
6663 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
6664 (if unix_dir): Fix typo.
6665 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
6666 scandir,seekdir,telldir}: New files.
6667 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
6668 from libc/unix.
6669 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
6670 (SUBDIRS): Add posix.
6671 (SUBLIBS): Add $(LIBC_POSIX_LIB).
6672
6673 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
6674 (NSIG): Increase to 21.
6675 * libc/include/sys/unistd.h (pid_t): Move from here,
6676 * libc/include/sys/types.h (pid_t): to here.
6677
6678 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
6679 (__ptrace): Delete.
6680 (hinfo): New members close_exec_p, child_created_p.
6681 (struct exception_list): Define.
6682 (__hmap): Redefine as pointer to table.
6683 (__parent_hmap, __child_hmap): New globals.
6684 (__set_errno, __really_exit): Declare.
6685 (__vfork_child_pid): Declare.
6686 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
6687 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
6688 (__parent_hmap, __child_hmap): New globals.
6689 (__hmap): Redefine as pointer to active map.
6690 (__get_console): New function.
6691 (mainCRTStartup): Change leading '=' in environ vars to '!'.
6692 (env __FD_TABLE__): Watch for this and initialize our fd/handle
6693 mapping table from it if defined.
6694 (argv, envp): Dump if __strace >= 4.
6695 (main): Call here.
6696 * libc/sys/win32/exceptions.c (myp): Redefine.
6697 (__syscalls_b): Delete.
6698 (__stack_trace): New function.
6699 (ehandler3): Update to use _STRACE. Print stack trace.
6700 Call __really_exit instead of exit.
6701 (init_exceptions): Delete args argc,argv. New arg mine.
6702 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
6703 FindFirstFileA, FindNextFileA, GetComputerNameA,
6704 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
6705 * libc/sys/win32/signal.c (signal): Validate arg.
6706 (alarm, sleep): Define as stubs for now.
6707 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
6708 (__syscalls_b, errno): Delete.
6709 (__vfork_child_pid, __vfork_jmp_buf): New globals.
6710 (__seterrno): Handle more errors.
6711 (__sys_printf): Renamed from _ptrace.
6712 (__really_exit): New function.
6713 (queue_file_deletion, process_deletion_queue): New functions.
6714 (__resume_parent): New function.
6715 (_unlink): Handle trying to delete open file.
6716 (__totime_t): Renamed from totime_t.
6717 (setsid, __read, __write): New functions.
6718 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
6719 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
6720 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
6721 * libc/sys/win32/console.c: Update to new definition of __hmap.
6722 * libc/sys/win32/Makefile.in: Build new files.
6723 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
6724 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
6725 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
6726 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
6727
6728Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
6729
6730 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
6731
6732Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6733
6734 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
6735 have been made to the master dtoa.c sources (from netlib.att.com)
6736 since they were integrated into newlib in early 1992. Fixes
6737 problems with storage leaks and handling of numbers with very
6738 negative exponents.
6739
6740Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6741
6742 * Makefile.in (all): set rootpre and srcrootpre before calling
6743 sub-makes.
6744
6745Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
6746
6747 * libc/sys/win32/crt0.c: Change __hmap usage.
6748 * libc/sys/win32/exceptions.c: Use _ptrace call.
6749 * libc/sys/win32/syscalls.c: Use _ptrace call.
6750 (read, write): Cope with DOS style CRLF when in TEXT mode.
6751 * libc/sys/win32/syscalls.h: Declare hinfo struct.
6752 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
6753 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
6754 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
6755 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
6756
6757Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6758
6759 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
6760
6761 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
6762 wrappers for hypot() and remainder() for BSD libm compatibility.
6763 These are public domain implementations written by me for the
6764 NetBSD libm some time ago. Note cabs() is required by ucbtest.
6765 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
6766 (fobj): Added wf_cabs.o and wf_drem.o.
6767
6768Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6769
6770 * libc/sys/h8500hms/misc.c: New file.
6771 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
6772
6773Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6774
6775 * libc/time/localtime.c (localtime): Fix problem with leap year
6776 handling. Stole algorithm from Arthur David Olson's tz code.
6777
6778Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
6779
6780 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
6781
6782 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
6783 (_exit): Use argument.
6784
6785Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
6786
6787 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
6788
6789Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
6790
6791 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
6792
6793Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6794
6795 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
6796 target_cflags.
6797
6798Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
6799
6800 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
6801 ptrace with case insensitivity
6802 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
6803 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
6804 New files.
6805
6806Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
6807
6808 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6809 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
6810 (all, install, *clean): Use new multilib support.
6811 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6812
6813Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
6814
6815 * libc/include/sys/signal.h (__WIN32__): New.
6816
6817 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
6818
6819 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
6820 (ulp, b2d): Handle 32 bit doubles.
6821 * libc/stdlib/mprec.h: Handle 32 bit doubles.
6822 * libc/stdlib/strtod.c (_strtod_r): Ditto.
6823
6824Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
6825
6826 from medp@primag.co.uk:
6827 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
6828 dynamically allocated buffers.
6829
6830Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
6831
6832 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
6833 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
6834
6835Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6836
6837 * configure.in (powerpc): Fix previous fix.
6838
6839Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6840
6841 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
6842 directories for this target.
6843
6844Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6845
6846 * configure.in (hppa): Add machine_dir definition.
6847 * libc/machine/hppa: New directory with PA specific implementations
6848 of the basic memory/string functions.
6849
6850Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6851
6852 * configure.in: Update current PowerPC multilib directories.
6853 Split big and little endian configurations.
6854
6855Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
6856
6857 * configure.in: Add --enable-single-float option to configure to
6858 control use of MIPS single-float directories. Default to yes.
6859
6860 * Makefile.in (all): Don't recurse into multilib directory if it
6861 does not exist.
6862
6863Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6864
6865 * libc/sys/sh/syscalls.c: Fix typo.
6866
6867Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
6868
6869 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
6870 Pass down DLLTOOL.
6871 * libc/include/process.h: Define WAIT_CHILD.
6872 * libc/include/types.h: Get sizes right for win32.
6873 * configure.in (i386-*-pe): Becomes i386-win32.
6874 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6875 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
6876 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
6877 is defined.
6878
6879Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
6880
6881 * configure.in (i[345]86-*-pe): New target (NT).
6882 * host/any: DLLTOOL new.
6883 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6884 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
6885 WIN32 (just enough to cross host the comp-tools).
6886
6887Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
6888
6889 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
6890 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
6891
6892Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
6893
6894 * libc/include/machine/ieeefp.h (arm): Change to always be
6895 __IEEE_BIG_ENDIAN (even on little endian ARM's).
6896
6897Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
6898
6899 * libc/sys/crt0.S: Initialze sp, and call exit after main.
6900 * libc/sys/syscalls.c (abort): New.
6901 * configure.in (arm): Define ABORT_PROVIDED.
6902
6903Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6904
6905 * configure.in (powerpc): Define multidirs.
6906
6907Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
6908
6909 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
6910
6911Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
6912
6913 * configure.in (sparclite): Delete target_cflags. Define multidirs.
6914
6915Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
6916
6917 * configure.in, libc/include/machine/ieeefp.h: Modified
6918 for arm:
6919 libc/machine/arm/*, libc/sys/arm/*: New
6920
6921Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6922
6923 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
6924 __powerpc__ when determining endianness.
6925
6926Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6927
6928 * configure.in (m68*): Add multidir for the m68332.
6929
6930 * host/any (CC): Fix typo in last change.
6931
6932Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
6933
6934 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
6935 when determining endianness.
6936 * libc/include/machine/ieeefp.h: Ditto.
6937 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
6938 operands.
6939
6940Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
6941
6942 * libc/include/errno.h (ENOTEMPTY): Define.
6943
6944Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6945
6946 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
6947 target_cflags.
6948
6949 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
6950 and umultiply.o.
6951
6952 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
6953 instead of only when open succeeds. ANSI requires that multiple
6954 calls to tmpnam() result in different files.
6955
6956 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
6957 objects pulled in from /lib/libc.a that must be renamed before
6958 being pulled into newlib. /lib/libc.a's div.o conflicted with
6959 newlib's file with the same name.
6960
6961 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
6962
6963 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
6964 the build tree will only be used if the executables are present
6965 (instead of just the Makefiles).
6966
6967 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
6968 wcstombs): Define.
6969 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
6970 versions of these functions that I orignally wrote for the
6971 NetBSD C library.
6972 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
6973 versions I wrote for NetBSD.
6974
6975Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
6976
6977 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
6978 * libc/sys/sparclite/crt0.s: ditto.
6979
6980Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
6981
6982 * configure.in: Add soft-float for proelf.
6983
6984Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
6985
6986 * libc/stdlib/mprec.h (Bcopy): Copy the right number
6987 of bytes.
6988
6989Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
6990
6991 * Makefile.in (all): Depend on `force'.
6992 * configure.in (syscall_dir): Renamed from fake_sys_dir.
6993 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
6994 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
6995 * libc/Makefile.in: Likewise.
6996 * libc/include/reent.h: Update syscall references.
6997 (_fcntl_r): Add prototype.
6998 * libc/syscalls/*.c #include <reent.h>.
6999 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7000
7001Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
7002
7003 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7004 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7005 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7006 (time.h, sys/types.h): Always include (even if MSDOS).
7007 (stat): Fix prototype.
7008
7009Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
7010
7011 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7012
7013Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7014
7015 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7016
7017Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
7018
7019 * libc/include/regdef.h: New file.
7020 * libc/machine/mips/machine/regdef.h: New file.
7021
7022Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
7023
7024 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7025
7026Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
7027
7028 * libc/sys/sh/crt0.S: Pass main's return to exit.
7029 * libc/sys/sh/trap.S: Put errno in the right place.
7030
7031Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7032
7033 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7034 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7035 * libm/math/ef_rem_pio2.c: Likewise.
7036 * libm/math/e_log10.c: Remove unused static one.
7037 * libm/math/ef_log10.c: Likewise.
7038 * libm/math/s_frexp.c: Likewise.
7039 * libm/math/sf_frexp.c: Likewise.
7040
7041Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
7042
7043 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7044 longjmp.S: Upgraded.
7045 * libc/sys/go32/sys/setjmp.h: Upgraded.
7046 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7047
7048Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7049
7050 * configure.in: Add many entries to multidirs for mips targets.
7051
7052Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7053
7054 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7055 5.2 which fixes bug where jn(-1,x) is three times larger than
7056 the actual answer.
7057 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7058
7059Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
7060
7061 * libc/sys/w65/sys/syscalls.h: New file
7062 * libc/include/machine/ieeefp.h: W65 support.
7063 * libc/include/sys/config.h: Ditto.
7064 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7065 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7066 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7067
7068Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7069
7070 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7071
7072Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
7073
7074 * Makefile.in, configure.in: Remove any references to the old
7075 "stub" dir.
7076
7077Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7078
7079 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7080 uses ... in prototype.
7081
7082
7083Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7084
7085 * libc/sys/a29khif/sys/libconfig.h: Remove.
7086 * libc/sys/go32/sys/libconfig.h: Remove.
7087 * libc/sys/sun4/sys/libconfig.h: Remove.
7088 * libc/sys/sysvi386/sys/libconfig.h: Remove.
7089 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7090 * libc/sys/sparc64/sys/libconfig.h: Remove.
7091
7092 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7093 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7094 * libc/include/math.h: Change all uses of _FLOAT_RET and
7095 _FLOAT_ARG to float.
7096 * libm/test/math.c: Likewise.
7097 * testsuite/libm.sac/math.c: Likewise.
7098 * testsuite/libm.sac/working/math.c: Likewise.
7099
7100Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7101
7102 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7103 gcc calls gas with endian option.
7104 * configure.in (sh): Build little endian version too.
7105
7106Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7107
7108 * configure.in: Configure big and little endian versions for MIPS
7109 targets.
7110
7111Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
7112
7113 * libc/include/limits.h: Deleted.
7114 * libc/include/machine/limits.h: Deleted.
7115
7116Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
7117
7118 * ChangeLog: Remove stub directory. This has all been rewritten
7119 and moved to devo/libgloss.
7120
7121Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7122
7123 * Makefile.in (dvi): Add to info target, use $@ in sub make.
7124 (docs): Merge into info target.
7125 * libm/Makefile.in (dvi): Add $(srcdir).
7126 * libm/math/Makefile.in (chobjs): Remove underscores from file
7127 names. Texinfo doesn't like them.
7128 (wacos.def, ...): Add explicit targets for all .def files.
7129 * libm/math/math.tex: Remove underscores from @include file names.
7130 * doc/Makefile.in (dvi): Add dummy target.
7131 * testsuite/Makefile.in (dvi): Add dummy target.
7132
7133Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
7134
7135 * Makefile.in (VERSION): Define. For net newlib releases.
7136
7137Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
7138
7139 * README: New file.
7140
7141Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7142
7143 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7144
7145Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7146
7147 * libc/stdlib/setenv.c (_findenv): Declare.
7148
7149 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7150 fcntl to not use _EXFUN, and change string parameters to open and
7151 creat to be ``const char *''.
7152 * libc/sys/sparc64/sys/fcntl.h: Likewise.
7153 * libc/sys/sparc64/creat.c (creat): Make PATH const.
7154 * libc/syscalls/sysopen.c: Include <fcntl.h>.
7155 (open) Make _FILE const.
7156 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7157 (_creat): Make PATH const.
7158 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7159 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7160 * libc/sys/m88kbug/syscalls.c (open): Likewise.
7161 * libc/sys/sh/syscalls.c (_open): Likewise.
7162 * stub/shared/glue.c (open): Make BUF const.
7163 * stub/ex93x/syscalls.c (open): Make FILENAME const.
7164
7165Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7166
7167 * libc/include/errno.h: Add ENMFILE
7168 * libc/include/sys/config.h: Support Z8000.
7169 * libc/include/sys/signal.h: New signals for go32.
7170 * libc/machine/h8500/psi.S (__addpsir0r0): New function
7171 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7172 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7173 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7174 size is variable, depending upon CHUNK_POWER.
7175 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7176
7177Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7178
7179 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7180
7181Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7182
7183 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7184
7185Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7186
7187 * configure.in: Change i[34]86 to i[345]86.
7188
7189 * libc/include/math.h: Don't define HUGE_VAL if it is already
7190 defined.
7191
7192Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7193
7194 * testsuite/libm.sac/test_erfc.c: Correct some result values.
7195 * testsuite/libm.sac/test_gammaf.c: Likewise.
7196 * testsuite/libm.sac/test_sin.c: Likewise.
7197 * testsuite/libm.sac/test_tanh.c: Likewise.
7198
7199Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7200
7201 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7202 already set. Define typedefs __int32_t and __uint32_t.
7203 * libc/include/math.h: Include <machine/ieeefp.h>.
7204 (union __dmath): Use __uint32_t.
7205 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7206 instead of int and unsigned int.
7207
7208Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7209
7210 Replace the math library with the SunPRO fdlibm package.
7211 * libm/math: Completely changed all files.
7212 * libm/ieeefp: Remove contents and directory.
7213 * libm/Makefile.in (LIBM_FP_LIB): Remove.
7214 (SUBDIRS): Just set to math/lib.a.
7215 * libm/libm.texinfo: Updated for new library.
7216 * libc/include/math.h: Extensive changes for new math library.
7217 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7218 from _FLOAT_ARG to float.
7219 (maxpowtwo, maxpowtwof): Don't declare.
7220 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7221 (libm_fp_lib): Removed.
7222 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7223 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7224 argument to ${RUNTEST}.
7225 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7226 (.c.o): New rule.
7227 (RUNTESTFLAGS): Set CC and CFLAGS.
7228 (TESTS): Remove test_log2 and test_log2f.
7229 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7230 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7231 _FLOAT_ARG, for single precision argument type.
7232 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7233 expected failure. Close the input pipe.
7234 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7235 Correct misspelling of inaccurate.
7236 (test_mok): Use ``inaccurate'', not ``wrong''.
7237 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7238 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7239 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7240 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7241 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7242 test_yn.c): Correct many result values. Many are still wrong.
7243
7244 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7245 just copy the string.
7246 (_gcvt): Always return the buffer.
7247
7248Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7249
7250 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7251
7252Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7253
7254 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7255 structure.
7256 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7257 (_reclaim_reent): declare new entry point.
7258 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7259 functions.
7260
7261 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7262 ever allocated, so that we can later reclaim them all.
7263 (pow5mult): make reentrant.
7264
7265 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7266 so that when given NULL as a buffer, return a pointer to static
7267 space in the rent structure. This is not documented behaviour;
7268 it's only to support ecvt and fcvt, which aren't ANSI anyway.
7269 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7270 therefore become reentrant).
7271
7272 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7273
7274Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7275
7276 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7277
7278Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7279
7280 * Makefile.in: Make link to libg.a after libc.a; this is needed
7281 for the testsuites to build executables when everything comes
7282 from the tree.
7283
7284Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
7285
7286 * libc/Makefile.in: Add a VERSION variable so we can keep track.
7287 * libm/Makefile.in: Add a VERSION variable so we can keep track.
7288
7289Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7290
7291 * libc/include/stdio.h: Use __VALIST, not va_list.
7292
7293Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
7294
7295 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7296 testsuite/libm.sac/execute.exp:
7297 Replace error proc calls with perror calls.
7298
7299Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
7300
7301 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7302 * libc/include/time.h: #define NULL as 0L.
7303
7304Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
7305
7306 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7307 care of it.
7308
7309Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7310
7311 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7312 not __unix__.
7313
7314Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
7315
7316 * configure.in (TARGET_CFLAGS): Set -O2 as default.
7317 (z8k-*-*): Use syscalls fake sys dir.
7318 * libc/sys/z8k/glue.c: Rename syscalls.
7319 * libc/sys/go32/Makefile.in: Use new routines.
7320 * libc/machine/Makefile.in: Fix typo in ln stuff.
7321
7322Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7323
7324 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7325 * libc/Makefile.in (crt0.o): Likewise.
7326 * libc/machine/Makefile.in (lib.a): Likewise.
7327 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7328
7329 All Makefile.in files: Added mostlyclean, realclean and distclean
7330 targets.
7331
7332 * Makefile.in: Don't bother to unexport XTRAFLAGS or
7333 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7334 the top level Makefile.
7335
7336Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
7337
7338 * libc/sys/sparc64/sys/stat.h: New file.
7339 * libc/sys/sparc64/sys/time.h: New file.
7340 * libc/sys/sparc64/sys/types.h: New file.
7341
7342Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
7343
7344 * stub/ex93x/crt0.s (start): Add code to clear bss.
7345
7346Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
7347
7348 * libc/include/sys/types.h (time_t): Properly protect inside
7349 #ifndef __time_t_defined.
7350
7351 * libc/stdio/fileno.c: New file.
7352 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7353 (fileno.o): Add dependency.
7354 * libc/include/stdio.h (__sgetc): Rename never to _never.
7355 (fileno macro): Disable, needs to do CHECK_INIT first.
7356
7357Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
7358
7359 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7360 goal.
7361
7362 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7363 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7364 runtest.
7365 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7366 runtest.
7367
7368Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
7369
7370 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7371 of the various constants.
7372
7373Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
7374
7375 * libc/include/math.h: #ifndef __math_68881 around things which
7376 conflict with the (gcc-provided) inline functions in
7377 gcc/ginclude/math-68881.h.
7378
7379Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
7380
7381 * libc/include/_syslist.h (_gettimeofday): Define.
7382 (_times): Ditto.
7383 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7384 (struct tms, timeval, timezone): Declare.
7385 (_gettimeofday_r, _times_r): Declare.
7386 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
7387 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7388 (time_t): Add multiple definition protection, __time_t_defined.
7389 * libc/include/sys/time.h: Don't #include <time.h>.
7390 Always define struct timezone (remove #ifndef _TIME_H_).
7391 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
7392 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7393 * libc/reent/Makefile.in (OFILES): Add timer.o.
7394 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
7395 * libc/reent/timer.c: New file.
7396 * libc/time/clock.c: #include <reent.h>.
7397 (clock): Call _times_r instead of times.
7398 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7399 HAVE_GET_TIME_OF_DAY.
7400 Add comment regarding supporting OS routine(s) required (for docs).
7401 #include <reent.h>.
7402 (time): Call _gettimeofday_r instead of gettimeofday.
7403 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7404 * libc/time/ctime.c: Ditto.
7405 * libc/time/strftime.c: Ditto.
7406 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7407 (TEMPLATE_SFILES_R): Define here. Also define times.
7408 Add times_r.o/times.S dependence.
7409 (time2.c, junk.c): Deleted.
7410 * libc/sys/sparc64/time2.c: Deleted.
7411 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7412
7413 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7414 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7415 * libc/sys/sparc64/junk.c: Deleted.
7416
7417Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
7418
7419 * libc/sys/sparc64/Makefile.in: Add times syscall.
7420 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7421 be used with and without it. Add comment clarifying Medium/Anywhere
7422 model requirements.
7423 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7424 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7425 even if obsolete.
7426
7427Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
7428
7429 * configure.in (target_cflags): Move init.
7430 (sparc64-*-*): Define HAVE_BLKSIZE.
7431
7432Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
7433
7434 * libc/include/sys/_types.h: New file.
7435 * libc/include/reent.h: #include it.
7436 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7437 MISSING_SYSCALL_NAMES.
7438 Sort syscalls.
7439 * libc/include/_syslist.h: Remove _raise.
7440 * libc/reent/signalr.c: New file.
7441 * libc/reent/Makefile.in: Compile it.
7442 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7443 Add doc for raise and _raise_r.
7444 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7445 (raise): Call _raise_r.
7446 (_raise_r): Call _getpid_r and _kill_r.
7447 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7448 (abort): Loop forever calling raise and _exit.
7449
7450Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7451
7452 * configure.in: Remove extraneous echo.
7453
7454Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
7455
7456 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7457 collision with unistd.h, and fix for svr4.
7458
7459Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
7460
7461 * libc/stdio/local.h (_llicvt): Declare.
7462 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7463 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7464 (_llicvt): Define.
7465 (_sicvt): Fix function header (`value' is short).
7466 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7467 Add printing of long long's support.
7468 Add printing of 8 byte pointer support.
7469
7470Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
7471
7472 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7473 stat, chmod): New hooks.
7474 (sbrk): Abort if stack and heap collide.
7475 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7476 shortcut when given small args.
7477 * libc/machine/sh/setjmp.s: Rewritten.
7478 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7479 of cmp/str instruction.
7480
7481Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7482
7483 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7484 and machine_dir powerpc.
7485 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7486 Add cases for __powerpc__.
7487 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7488 New files.
7489
7490 * libc/include/stdio.h (_iprintf_r): Declare correctly.
7491
7492Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
7493
7494 * libc/stdlib/callocr.c: New file with _calloc_r in it.
7495 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7496
7497Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
7498
7499 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7500 (print_e): More comments to describe args, etc.
7501 "type" arg may now be 'g' or 'G' for %g/G format --> remove
7502 trailing blanks.
7503 (_gcvt): Remove locals decpt, sign, end, p, done.
7504 More comments for print_e invocation.
7505 Pass "type" to print_e as is (g/G).
7506
7507Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
7508
7509 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7510 stock m68000.
7511
7512Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
7513
7514 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7515 works with any sized pointer, including ones bigger than ints and
7516 longs.
7517
7518Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
7519
7520 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7521
7522Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7523
7524 * libc/include/stdlib.h (_calloc_r): Add prototype.
7525 * libc/machine/h8500/negsi2.c: New file.
7526 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7527 large unsigned numbers.
7528 * libc/machine/h8500/cmpsi.c: Add cmppsi.
7529 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
7530 works when sizeof(size_t) != sizeof(char *).
7531 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
7532 get play area
7533 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
7534
7535Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
7536
7537 * libc/include/assert.h (assert): Handle -traditional.
7538
7539Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
7540
7541 * Makefile.in: added ; after every "fi" and "done" that wasn't at
7542 the end of a line (ie. anything before a backslash continuation)
7543 so that bash handles them.
7544
7545Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7546
7547 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
7548 stat to lstat
7549
7550Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
7551
7552 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
7553 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
7554 libc/machine/sh/udivsi3.s: Use new calling convention.
7555
7556Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
7557
7558 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
7559 chmod, access, chdir, chown by making _path const. Also fix _amode
7560 param of access.
7561
7562Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
7563
7564 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
7565 _khif_tmpnam, because it doesn't comply with ANSI but may be
7566 useful anyway. Real tmpnam was already in libc/stdio, and was
7567 colliding with this one (pr 2176.)
7568 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
7569 the wrong idea anyhow.
7570
7571Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
7572
7573 * configure.in: Remove h8300h, we have multilib now.
7574
7575Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
7576
7577 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
7578 functions, to get preference over the ones in libiberty (since we
7579 provide correct declarations in <string.h>.
7580 * libc/string/Makefile.in: add support for strncasecmp,
7581 strcasecmp.
7582
7583Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
7584
7585 * Change netware config not to look for cpu explicitly.
7586
7587Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
7588
7589 * libc/sys/sparc64/{creat.c,junk.c}: New files.
7590 * libc/sys/sparc64/Makefile.in: Add dependencies.
7591
7592Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
7593
7594 * configure.in: Clean up v9 a bit, new "os" aoutv8.
7595
7596Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
7597
7598 * libc/include/sys/reent.h: make structure smaller by allocating
7599 some stuff when needed.
7600 * libc/signal/signal.c: allocate as needed
7601 * libc/stdio/findfp.c,stdio/local.h: ditto
7602 * libc/stdlib/mprec.c: ditto
7603
7604 * libc/time/localtime.c: don't return a dangling stack ptr.
7605
7606Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
7607
7608 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
7609
7610Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7611
7612 * libc/include/stdio.h (__sputc): comment out static inline which
7613 confuses coff toolchains.
7614
7615Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
7616
7617 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
7618 _write.s, getpid.c, kill.c, read.s}:
7619 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
7620 through the syscalls directory.
7621
7622Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
7623
7624 * configure.in: fixed double quote gotcha.
7625
7626Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
7627
7628 * stub/ex931: stub library for sparclite board.
7629 * stub/idp: Renamed from mc68ec. Added contructor table
7630 stuff to linker script.
7631 * stub/mvme135: Renamed from m68kmvme. Added contructor table
7632 stuff to linker script.
7633
7634Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7635
7636 * configure.in: Configure testsuites only if they exist.
7637
7638Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7639
7640 * configure.in: Don't set machine_dir for i386 until there is
7641 something in libc/machine/i386 to compile. For i[34]86-*-netware*
7642 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
7643 CLOCK_PROVIDED and MALLOC_PROVIDED.
7644
7645 * libc/sys/netware: New directory. Contains simplistic and
7646 probably incorrect stubs for NetWare. Should be enough to load
7647 the library.
7648 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
7649 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
7650 stub files.
7651
7652 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
7653 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
7654 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
7655 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
7656
7657Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
7658
7659 * testsuite/Makefile.in: add "docs" dummy target for consistency
7660 with rest of newlib; turn "info" and "install-info" into dummy
7661 targets, since they wouldn't have worked. (Depended on
7662 nonexistent "doc" subdir.)
7663
7664Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7665
7666 * configure.in: handle mips* instead of mips
7667
7668Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
7669
7670 * libc/include/sys/dirent.h: New file. If it is not overridden by
7671 a version of libc/sys/*/sys/dirent.h, it includes the next
7672 <dirent.h> file in case there is one lurking somewhere.
7673
7674Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7675
7676 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
7677 compliance, namely: Accept a minus sign. Consider a single 0 with
7678 a radix of 0 as being a conversion. Determine overflow correctly.
7679 If an overflow occurs, set *ptr to the end of the number, not the
7680 middle.
7681 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
7682
7683Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
7684
7685 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
7686
7687Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
7688
7689 * Makefile.in (INSTALL): Use $srcrootpre.
7690 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
7691 can't handle it.
7692 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
7693 it.
7694 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
7695 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
7696 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
7697 * libm/math/Makefile.in (matherr.o): Ditto.
7698
7699Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
7700
7701 * configure.in: Build multidirs for z8k.
7702 * libc/include/stdlib.h (_strtoul_r): add prototype.
7703 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
7704 * libc/include/machine/setjmp.h: Add for z8k.
7705 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
7706 * libc/sys/z8ksim/glue.c: tidy up.
7707
7708Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
7709
7710 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
7711 New files. Requires execve system call.
7712 * libc/unix/Makefile.in: Use them.
7713 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
7714 Deleted, moved to libc/unix.
7715 * libc/sys/sparc64/Makefile.in: Remove them.
7716
7717Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
7718
7719 * libc/sys/sparc64/{template.S template_r.S}: New files.
7720 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
7721 from templates.
7722 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
7723 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
7724 umask.S unlink.S wait4.S write.S}: Removed, now built from
7725 templates.
7726
7727Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
7728
7729 * libc/time/time.c: #include <_ansi.h>.
7730
7731Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
7732
7733 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
7734
7735Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7736
7737 * configure.in: match m8* rather than m88k so that m88110 is
7738 recognized as well.
7739
7740Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
7741
7742 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
7743 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
7744 misc.c: New file.
7745
7746 * configure.in: Add multilib support to h8300.
7747
7748Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
7749
7750 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
7751 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
7752 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
7753
7754Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7755
7756 * configure.in: Corrected multidirs for sparc target.
7757
7758Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7759
7760 Support for building newlib multiple times with different
7761 compilation flags.
7762 * configure.in: Only configure doc at top level. Set multidirs
7763 when appropriate for target, unless not at top level. If
7764 multidirs is set, independently configure each subdirectory.
7765 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
7766 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
7767 automagically set by configure.in.
7768 (all): If MULTIDIRS is set, build multiple copies of libraries.
7769 (install): If MULTIDIRS is set, install multiple copies of
7770 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
7771 MULTISUBDIR is set, don't bother to install header files.
7772 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
7773 ${srcrootpre}.
7774 * stub/configure.in: Set MULTISUBDIR appropriately.
7775 * stub/Makefile.in (install): Install in
7776 $(tooldir)/lib/$(MULTISUBDIR).
7777 * All Makefile.in files: Define SRCTOP as well as TOP.
7778
7779Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
7780
7781 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
7782 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
7783
7784Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
7785
7786 * libc/sys/h8300hms/exit.c (_exit): New function.
7787
7788Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7789
7790 * configure.in: recognize m88110.
7791
7792Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7793
7794 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
7795 prototype main and call with args.
7796
7797Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
7798
7799 First real try at system traps for m88k-bug.
7800 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
7801 to real trap calls.
7802 * libc/sys/m88kbug/sys/systraps.h: new file.
7803
7804Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7805
7806 Patches to fix info building when target does not use sys
7807 directory.
7808 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
7809 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
7810 libc/sys.tex.
7811 * libc/sys/Makefile.in (doc): do nothing.
7812
7813Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7814
7815 * libc/Makefile.in (CRT0): new macro.
7816 (all): depend on $(CRT0) rather than crt0.o.
7817
7818 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
7819 do not default crt0, instead, set crt0 and crt0_dir based on
7820 sys_dir and stub_dir.
7821
7822 * Makefile.in (CRT0_DIR): new macro.
7823 (all): depend on $(CRT0) rather than crt0.o which may not exist.
7824 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
7825 $(CRT0).
7826 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
7827
7828Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7829
7830 * testsuite/lib/libm.exp:
7831 added code to support compiling and linking of tests for
7832 libm.sac (paranoia to be added next) and processing the
7833 pass or failure of the tests.
7834
7835 * testsuite/config/unix-libm.exp:
7836 platform specific proc's for dealing with compiler, linker
7837 and the way we execute and process the test results.
7838
7839 * testsuite/libm.sac/execute.exp:
7840 generic framework for the sac tests. the config and lib
7841 expect code for specific platforms tie it all together.
7842
7843 * testsuite/libm.sac/test_is.c:
7844 changed the output of the test to be consistant with the
7845 other tests. parsing of pass nad fail messages is now fixed.
7846
7847Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
7848
7849 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
7850 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
7851 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
7852 #ifdef __cplusplus, surround by extern ""C { ... }.
7853 * libc/include/assert.h: Do *not* protect assert.h against
7854 multiple inclusion! Also, #undef it before #define, to allow
7855 redefinition.
7856 * libc/include/stdio.h (getlogin, cuserid): Removed. These
7857 should be only in unistd.h.
7858
7859 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
7860 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
7861 ... }.
7862
7863Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
7864
7865 * libc/machine/sparc/Makefile.in: Must create a library, even
7866 if empty.
7867
7868Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7869
7870 * configure.in: set machine_dir for m88k. edit crt0 definition
7871 into makefiles.
7872
7873 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
7874
7875 * libc/Makefile.in (all): also build crt0.o.
7876
7877 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
7878 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
7879 to remove CRT0.
7880
7881 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
7882 (all): reworked to build in place.
7883 (clean): remove lib.a
7884 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
7885
7886 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
7887 (_start): key off edata rather than _start_bss.
7888
7889Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
7890
7891 * libc/include/sys/unistd.h, libc/include/reent.h,
7892 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
7893
7894Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7895
7896 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
7897
7898 * Makefile.in (libc.a): break into two rules, one for libc.a and
7899 one for libc/libc.a. Force subdirs current before rebuilding
7900 library.
7901 (libm.a): break into two rules, one for libm.a and one for
7902 libm/libm.a. Force subdirs current before rebuilding library.
7903
7904 * libc/Makefile.in (SUBLIBS): fix typo.
7905
7906 * libc/sys/Makefile.in (all): force descent into subdirs, then
7907 rebuild library iff out of of date.
7908
7909Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7910
7911 Rework so that library is built and then finished rather than
7912 being built on each invocation of make.
7913
7914 * host/any (machine_dir, sys_dir, signal_dir): these are not
7915 shared and have been moved to their associated Makefile.in's.
7916 (AR_FLAGS): switch to qc which is faster.
7917 * configure.in: no longer assign machine_dir for m88k. set
7918 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
7919 stub_dir set, then add to configdirs. add comment about silly
7920 configuration.
7921 (configdirs): drop stub. It will be added only
7922 when needed.
7923 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
7924 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
7925 stub_lib, crt0): new variables for tailoring lower level
7926 makefiles. Assign accordingly and edit into makefiles.
7927 * libm/Makefile.in: updated copyright.
7928 (TARGETLIB): removed.
7929 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
7930 (SUBDIRS): removed TARGETDEP_DIRS.
7931 (LIBM_FP_LIB, SUBLIBS): new macros.
7932 (all): reworked.
7933 (force): new target to force rebuilds.
7934 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7935 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
7936 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
7937 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
7938 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
7939 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
7940 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
7941 stub/m68kmvme/Makefile.in: updated copyright.
7942 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
7943 (all): reworked. made this the default rule.
7944 (clean): also remove lib.a.
7945 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7946 * stub/Makefile.in: updated copyright.
7947 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
7948 (stub_lib): new macro.
7949 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
7950 RANLIB.
7951 (all): reworked.
7952 (clean, install): assume stub_dir exists.
7953 (Makefile): depend on configure.in. call $(SHELL) rather than
7954 sh. drop redundant ./
7955 * stub/configure.in (stublib): new macro, assign it, edit it into
7956 makefiles.
7957 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
7958 updated copyright.
7959 (all): reworked.
7960 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7961 * libc/Makefile.in (TARGETCRT0): removed.
7962 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
7963 TARGETCRT0.
7964 (SUBDIRS): drop TARGETDEP_DIRS.
7965 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
7966 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
7967 (force): new target to force rebuilds.
7968 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
7969 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
7970 removed.
7971 (clean): assume sys_dir always exists.
7972 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
7973 drop redundant ./
7974 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
7975 libc/locale/Makefile.in, libc/machine/Makefile.in,
7976 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
7977 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
7978 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
7979 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
7980 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
7981 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
7982 libc/signal/Makefile.in, libc/stdio/Makefile.in,
7983 libc/stdlib/Makefile.in, libc/string/Makefile.in,
7984 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
7985 libc/time/Makefile.in, libc/unix/Makefile.in,
7986 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
7987 (TARGETLIB): removed.
7988 (all): reworked.
7989 (clean): also remove lib.a.
7990 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7991 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
7992 new macros.
7993 (SUBDIRS): moved to follow frag inclusion, change stub to
7994 stub_dir.
7995 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
7996 are now set in the libc Makefile.
7997 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
7998 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
7999 TARGETCRT0.
8000 (force): new target to force rebuilds.
8001 * stub/configure.in: determine and set stub_lib for for Makefile.
8002
8003Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
8004
8005 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8006 crt0.s renamed to crt0.S.
8007 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8008
8009 * libc/machine/h8300/Makefile.in: Make `all' the default target.
8010 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8011 h8300h.
8012 * libc/machine/h8300/defines.h: Add macros to handle pointers for
8013 h8300 (16 bits) and h8300h (32 bits).
8014 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8015 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8016
8017Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
8018
8019 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8020 implementation of setjmp and longjmp for the m88k.
8021 * libc/include/machine/setjmp.h: Added __m88000__ case.
8022
8023Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
8024
8025 * configure.in: Recognize h8300h as variant of h8300.
8026
8027Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8028
8029 * libc/include/sys/unistd.h (read, write): get prototypes right.
8030 (sbrk): New prototype.
8031 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8032 * libc/stdio/local.h: Include unistd.h.
8033 * libc/machine/h8300/syscalls.c: Names have changed.
8034
8035Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
8036
8037 * configure.in: add sys_dir assignment for m88k-bug.
8038
8039Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
8040
8041 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8042 a.out or elf.
8043 * libc/sys/sparc64: all *.S files: Use new macros.
8044 * libc/sys/sparc64/isatty.c: New file.
8045 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8046 functions beyond what newlib provides.
8047
8048Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
8049
8050 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8051 svr4.
8052
8053Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
8054
8055 * libc/include/machine/ieeefp.h: Add support for h8/300h.
8056
8057Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
8058
8059 * configure.in: add m88k.
8060 * libc/include/machine/ieeefp.h: add case for m88k. Also add
8061 sanity check so no one else need ever chase what I did to find
8062 this.
8063
8064 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8065
8066Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
8067
8068 * doc/makedoc.c: Include <ctype.h>.
8069
8070Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
8071
8072 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8073 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8074 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8075
8076 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8077
8078Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
8079
8080 * libc/include/errno.h (ENOSYS): Added.
8081
8082 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8083
8084Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8085
8086 * libc/stdio/fflush.c (fflush): Check for reent struct
8087 initialization.
8088 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8089
8090Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
8091
8092 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8093 out of dtoa.c so it doesn't pollute the namespace.
8094 * libc/include/_syslist.h: new file -- mappings from _function to
8095 function, for systems where we can't win (by default, all of them,
8096 until we start updating system calls.)
8097 * libc/syscalls: new directory -- stubs for exporting _function
8098 names as unmodified function names.
8099 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8100 _syslist.h on all platforms by default, but put hooks in for
8101 fake_sys_dir so we can include it when we've renamed the system
8102 calls.
8103 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8104 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8105 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8106 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8107 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8108 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8109 non ANSI functions to call _function.
8110
8111Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
8112
8113 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8114 when base 16 is specified. Don't accept non-digits if radix > 10.
8115
8116Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
8117
8118 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8119
8120Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8121
8122 * libc/include/sys/stat.h: Surround text after #endif with
8123 comments.
8124
8125Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
8126
8127 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8128 _malloc_r, _realloc_r, and free_r call the corresponding
8129 non-reentrant functions.
8130
8131 * libm/math/modf.c (modf): We now take the address of ipart, so
8132 don't make it a register variable.
8133
8134Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
8135
8136 * libm/math/*: Rename all xxx_r fns to _xxx_r.
8137
8138Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
8139
8140 * libc/libc.texinfo and embedded docn throughout: formatting
8141 improvements, minor rephrasing for clarity, and improved
8142 reentrancy docn.
8143
8144Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8145
8146 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8147
8148 * libc/stdio/cvt.c (_licvt): Print the right value on machines
8149 where sizeof(int) != sizeof(long).
8150
8151Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8152
8153 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8154 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8155 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8156 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8157 libm/math/matherr.c: changes for better docn formatting (info).
8158
8159 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8160 libc/reent/reent.tex, libc/signal/signal.tex,
8161 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8162 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8163 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8164 makeinfo node defaulting to get better Info file node structure.
8165 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8166 Also include a few formerly missing sections (subroutines).
8167
8168 * doc/doc.str: delete fossil expansion for "func"
8169
8170 * default.menu, no-signal.menu: delete.
8171
8172 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8173 method used to adjust doc for missing "signals" chapter when
8174 signal_dir is empty.
8175
8176Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8177
8178 * configure.in: added testsuite/libm.sac
8179
8180Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
8181
8182 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8183 code model).
8184
8185Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
8186
8187 * libm/Makefile.in: Use $(MAKE) rather than make, and define
8188 MAKEOVERRIDES to be empty.
8189
8190Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
8191
8192 * configure.in: Don't build mips-*-* with -msoft-float, since that
8193 makes it incompatible with hard floating point.
8194
8195Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8196
8197 * Makefile.in: added recursive 'make check'
8198
8199Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8200
8201 * configure.in: added ./testsuite ./testsuite/libm.paranoia
8202 * ./testsuite/Makefile.in: created
8203 * ./testsuite/libm.paranoia: paranoia tests added
8204
8205Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
8206
8207 * configure.in: For mips-*-* set machine_dir to mips.
8208
8209 * libc/machine/mips: New directory.
8210 * libc/machine/mips/Makefile.in: New file.
8211 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8212 setjmp and longjmp.
8213 * libc/include/machine/setjmp.h: Added __mips__ case.
8214
8215 * libc/machine/lmips: Removed unused and useless directory.
8216
8217Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
8218
8219 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8220
8221Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
8222
8223 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8224 start up).
8225
8226Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
8227
8228 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8229 SETJMP_H.
8230
8231Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
8232
8233 * libm/test/convert.c: structure member errno -> errno_val.
8234 Must include <errno.h> to use errno, it's a macro now.
8235 * libm/test/math.c: Ditto.
8236 * libm/test/math2.c: Include errno.h.
8237 * libm/test/string.c: Ditto.
8238 * libm/test/test.h: structure member errno -> errno_val.
8239 Remove extern int errno decl.
8240
8241Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
8242
8243 * libc/stdio/Makefile.in: Added dependencies on local header
8244 files.
8245 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8246 files.
8247
8248Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
8249
8250 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8251
8252Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
8253
8254 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8255 Initialize _data.
8256
8257 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8258 * libc/stdio/local.h: Add prototype for _licvt.
8259
8260 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8261 instead of malloc,reealloc.
8262
8263 * libc/stdlib/local.h: New file.
8264 * libc/stdlib/efgcvt.c: #include local.h.
8265 (gcvt): Fix call to _gcvt.
8266 * libc/stdlib/ecvtbuf.c: #include local.h.
8267
8268 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8269 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8270 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8271
8272 * libc/stdlib/atexit.c: moved global data to struct _reent.
8273 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8274
8275 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8276
8277Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
8278
8279 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8280 here from ../reent.h.
8281
8282Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
8283
8284 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8285 should be provided in both libc.a and libm.a.
8286 (libc.a): Depend on targ-include and libm.a. Copy
8287 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8288 (libm.a): Depend on targ-include.
8289 * configure.in (subdirs): Removed libc/math.
8290
8291Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8292
8293 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8294
8295Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
8296
8297 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8298 sys/reent.h instead of reent.h.
8299 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8300 headers moved to sys/reent.h.
8301 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8302 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8303 __need__MAX_SIGNALS defined.
8304 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8305 std{in,out,err} refer to new _std{in,out,err} members.
8306
8307Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
8308
8309 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8310 case.
8311
8312Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
8313
8314 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8315 rather than whatever macro seterrno() has.
8316
8317Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
8318
8319 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8320 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8321
8322 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8323 __STDC__.
8324
8325 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8326 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8327 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8328
8329 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8330 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8331
8332 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8333 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8334 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8335 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8336 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8337 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8338 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8339 renamed to _xxx_r. struct reent_struct renamed to struct _reent
8340 for ANSI. structure members given leading "_" for ANSI. Use
8341 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8342
8343 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8344 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8345 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
8346 reent_struct renamed to struct _reent for ANSI.
8347 Structure members given leading "_" for ANSI.
8348 _CONST --> const in prototypes.
8349 Use _HAVE_STDC instead of __STDC__.
8350
8351 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8352 _xxx_r.
8353 struct reent_struct renamed to struct _reent for ANSI.
8354 Structure members given leading "_" for ANSI.
8355
8356 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8357 _xxx_r.
8358 struct reent_struct renamed to struct _reent for ANSI.
8359
8360 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8361 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8362 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8363 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8364 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8365
8366 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8367 signal.h, stdio.h, stdlib.h, string.h, time.h}:
8368 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8369 #ifndef _STRICT_ANSI non-ANSI routines.
8370 Reentrant routines renamed from _r_xxx to _xxx_r.
8371 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8372 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8373 Clean up namespace (structure members have leading "_").
8374 struct reent_struct renamed to struct _reent for ANSI compliance.
8375 _CONST --> const in function prototypes.
8376
8377 * libc/include/string.h: Add NULL and size_t.
8378
8379 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8380 unlink, wait, wait4. Reentrant syscall routines close, fork,
8381 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8382 write.
8383 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8384 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8385 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8386 write.S}: Define reentrant versions.
8387 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8388 reentrant syscalls.
8389
8390 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8391
8392 * libc/include/stdlib.h (RAND_MAX): Fix value.
8393
8394Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
8395
8396 * libc/sys/a29khif/_main.c: Removed unnecessary file.
8397 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8398 VPATH support targets after all: target.
8399
8400 * stub/mvme135/mvme.S: Renamed exceptionhandler to
8401 exceptionHandler, which is what mvme135-stub.c expects.
8402
8403Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
8404
8405 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8406
8407 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8408 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8409 compliant).
8410
8411Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
8412
8413 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8414 first.
8415 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8416 _r_write): Ditto.
8417 libc/reent/fstatr.c (_r_fstat): Ditto.
8418 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8419 libc/reent/sbrkr.c (_r_sbrk): Ditto.
8420 libc/reent/statr.c (_r_stat): Ditto.
8421
8422 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8423 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8424 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8425 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8426 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8427 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8428 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8429 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8430 (__swrite): Ditto for _r_lseek, _r_write.
8431 (__sseek): Ditto for _r_lseek.
8432 (__close): Ditto for _r_close.
8433 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8434
8435 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8436 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8437
8438 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8439 to make reent_struct the first argument (and thus consistent with
8440 the rest of newlib).
8441
8442 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8443 reference to __STDC__.
8444
8445Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
8446
8447 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8448 global __cleanup.
8449
8450Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
8451
8452 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8453 first.
8454 libc/stdio/fclose.c (fclose): Ditto.
8455
8456Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
8457
8458 * Run through indent and rename reentrant routines for ANSI.
8459 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8460 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8461 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8462 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8463 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8464 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8465 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8466 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8467 vsprintf.c wbuf.c wsetup.c local.h}
8468
8469 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8470
8471 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8472 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8473 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8474 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8475 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8476 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8477
8478 * Run through indent.
8479 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8480 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8481 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8482 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8483 strxfrm.c}
8484
8485 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8486 localtime.c mktime.c strftime.c time.c}:
8487 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8488
8489 * Reformatting + renaming (for ANSI, GNU style, consistency).
8490 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8491 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8492 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8493
8494Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
8495
8496 * libc/include/stdio.h (stdin_r): Fix.
8497
8498Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
8499
8500 * Makefile.in: Unexport some variables to keep GNU make from
8501 putting them in the environment and using up needed ARG_MAX space
8502 (a hack is used to let this work with older makes as well).
8503
8504Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
8505
8506 * Makefile.in: Use $(MAKE) rather than make.
8507 (MAKEOVERRIDES): Define to be empty.
8508 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8509 (libc.a, libm.a): Depend on targ-include.
8510 * host/any (LD): Don't define.
8511 (INCLUDES): Use targ-include.
8512 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8513 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8514 * libc/Makefile.in: Use $(MAKE) rather than make.
8515 (MAKEOVERRIDES): Define to be empty.
8516 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8517 (all): Rewrote to be slightly smaller.
8518 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8519 Define to be empty.
8520 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8521 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8522
8523Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
8524
8525 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8526 with errno/errno.c.
8527
8528Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
8529
8530 * Changes for reentrancy.
8531 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
8532 Use ptr->_errno, not errno.
8533 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
8534 libc/stdio/remove.c (remove_r): New function.
8535 libc/stdio/rename.c (rename_r): New function.
8536 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8537 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
8538 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
8539 reentrant versions of system calls.
8540 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
8541 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
8542 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
8543 libc/stdio/findfp.c: Include <string.h>.
8544 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
8545 "local.h".
8546 libc/stdio/wbuf.c: Include "fvwrite.h"
8547
8548 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
8549 <string.h>.
8550 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
8551 (NULL): Don't define if already defined.
8552 libc/stdlib/system.c: Call reentrant versions of system calls.
8553 (system_r): New function.
8554
8555 * Changes for reentrancy.
8556 libc/include/_ansi.h (_PARAMS): New macro.
8557 libc/include/errno.h: Define errno as a macro that calls __errno.
8558 (__errno_r): New macro for reentrant code.
8559 libc/include/math.h: Include reent.h. Declare many reentrant
8560 functions.
8561 (signgam): Now a macro, not a variable.
8562 (struct exception): Added err field.
8563 libc/include/reent.h: Don't declare __sglue. Added function
8564 declarations.
8565 (struct reent_struct): Moved errno to beginning. Added _signgam.
8566 libc/include/stdio.h, libc/include/stdlib.h: Added function
8567 declarations.
8568
8569 * More reentrancy hacking.
8570 libc/errno/errno.c (__errno): New function.
8571 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
8572 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
8573 files.
8574
8575 * Added many new reentrant functions to libm/math/*.
8576 libm/math/error.c (__matherror): Added reent_struct pointer
8577 argument. Changed all callers.
8578 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
8579 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
8580 libm/math/tan.h: Removed obsolete unused header files.
8581
8582 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
8583
8584 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
8585
8586Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8587
8588 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
8589 delay slots.
8590
8591Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8592
8593 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8594
8595Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8596
8597 * libc/reent/reent.tex: New file. (text from
8598 newlib/libc/libc.texinfo)
8599 * libc/stdio/tmpnam.c: fixed doc typo
8600 * libc/stdlib/rand.c: fixed doc typo
8601
8602Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8603
8604 * libc/reent/reent.tex: New file. (text from
8605 newlib/libc/libc.texinfo)
8606
8607Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8608
8609 support for reentrancy
8610 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
8611 new files
8612 * libc/errno/errno.c, libc/include/ieeefp.h,
8613 libc/include/locale.h, libc/include/reent.h,
8614 libc/include/signal.h, libc/include/stdio.h,
8615 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
8616 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
8617 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
8618 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
8619 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8620 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
8621 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
8622 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
8623 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
8624 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
8625 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
8626 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
8627 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
8628 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
8629 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
8630 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
8631 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
8632 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
8633 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
8634 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
8635 libc/time/strftime.c: modify to provide reentracy.
8636
8637 new routines:
8638 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
8639 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
8640 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
8641 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
8642 mstats_r, realloc_r, localeconv_r, setlocale_r
8643
8644Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
8645
8646 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
8647 libc/include/sys/config.h, libc/include/sys/signal.h,
8648 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
8649 provided macros (such as m68000), use the ansi version
8650 (__m68000__) so that the library can be used with code compiled
8651 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
8652 and sparc.
8653
8654Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8655
8656 * configure.in (sparc*): Don't set -fsoft-float for sparc
8657 configurations. Do set -fsoft-float for sparclite configurations.
8658
8659Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8660
8661 * default.menu, no-signal.menu: alternate forms of libc main menu
8662 (in newlib rather than newlib/libc due to configuration restrictions)
8663
8664 * configure.in: select one of the two menus above, link to
8665 libc.menu
8666
8667 * libc/libc.texinfo: include menu from separate file
8668
8669Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
8670
8671 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
8672 (info): Split long shell command in half.
8673 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
8674 sub-makes, just CHEW and TARGETDOC.
8675 (targetdep.tex): Removed now special handling of sys and machine
8676 subdirectories, made obsolete some time ago.
8677 * libc/machine/Makefile.in (doc): Don't pass everything to
8678 sub-make, just CHEW and TARGETDOC.
8679 (Makefile): New target.
8680 * libc/sys/Makefile.in (Makefile): New target.
8681
8682Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
8683
8684 * Makefile.in (here and most subdirectories): Only pass down CHEW
8685 and TARGETDOC when making info, not for other targets.
8686
8687 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
8688 $(AR_FLAGS) rather than $(ARUPDATE).
8689
8690Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
8691
8692 * Try to reduce command line length:
8693 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
8694 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
8695 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
8696 (info): Pass CHEW to other subdirs.
8697
8698Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
8699
8700 * configure.in: add signal_dir, like unix_dir, but by default it
8701 is set to "signal" so that a29khif can turn it off (since a29khif
8702 has raise() as part of machine-specific signal.s.)
8703
8704Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8705
8706 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
8707 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
8708 correctly.
8709 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
8710 libc/stdio/vfprintf: type lint.
8711 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
8712 initialzation code.
8713 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
8714
8715Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
8716
8717 * stub/mvme135/mvme135-asm.S: new file.
8718 stub/mvme135mvme135-stub.c: moved all assembler routines into
8719 mvme135-asm.S.
8720 stub/mvme135/Makefile.in: build mvme135-stub.o.
8721
8722Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
8723
8724 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
8725 sub-Makefiles instead, to try to avoid line length limitations.
8726
8727Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
8728
8729 * libc/include/unistd.h (read, write): Use void* instead of
8730 char*.
8731
8732Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
8733
8734 * stub/go32/resetpc: sample script to send a reset packet to the
8735 stub
8736
8737 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
8738 DOS environment, which compiles with Turbo C.
8739
8740 * stub/go32/DSER32.LNK: new file, linker commands for serial
8741 remote stub.
8742
8743 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
8744 start up message to identify version; call set_debug_traps.
8745
8746 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
8747 keyboard interaction); call handle_exception() in go_til_stop,
8748 rather than return, so that the remote stub gets control.
8749
8750 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
8751 rename, rather than mv), set flags that work with current Turbo C,
8752 including using the /3 flag; also, add commands to build dser32.
8753
8754 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
8755 default Turbo C installation (\tc rather than \usr)
8756
8757 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
8758 "&..."
8759
8760Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8761
8762 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
8763
8764Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8765
8766 * libc/stdio/cvt.c (licvt): new function to convert ints when
8767 sizeof(int) != sizeof(long).
8768
8769 * libc/include/stdio.h: added prototype for iprintf.
8770 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
8771
8772Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
8773
8774 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
8775 __REGISTER_PREFIX__.
8776
8777Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
8778
8779 * libc/sys/m68kbare: moved into stub directory.
8780
8781Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
8782
8783 * configure.in, Makefile.in: created new directory stub, to hold
8784 sample code for specific targets.
8785
8786Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
8787
8788 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
8789 in the unified libc/include/sys/fcntl.h.
8790
8791Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
8792
8793 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
8794 printed .01, not 0.01.
8795
8796Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
8797
8798 * configure.in: compile with -m68000 for m68* targets.
8799
8800Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
8801
8802 * libm/math/remainder.c (remainder): document the svr4 and sunos
8803 references used to construct the function.
8804
8805Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
8806
8807 * libm/math/remainder.c (rint, remainder): fix old typos.
8808 * libm/math/Makefile.in: actually build remainder.c (functions
8809 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
8810 page.)
8811
8812Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
8813
8814 * libc/string/bcopy.c: BSD version works on overlapping strings,
8815 so ours should too.
8816
8817 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
8818 ("SHELL").
8819
8820Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
8821
8822 * Makefile.in (docs): new target.
8823
8824Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
8825
8826 * libc/include/sys/times.h: define clock_t as required by POSIX.
8827 libc/include/time.h: protect clock_t from multiple definitions.
8828
8829Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8830
8831 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
8832 does not need more than the original three iterations to get
8833 within 1 ulp. (Paranoia tests for rounding to better than that,
8834 but further iterations *don't* help, only more subtle changes
8835 can.)
8836
8837Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
8838
8839 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
8840 were doing nothing useful.
8841
8842Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
8843
8844 * configure.in: define MALLOC_PROVIDED for vxworks targets;
8845 removed sys_dir settings of vxworks68 and vxworks960.
8846 host/any: don't pass -nostdinc to gcc, since newlib no longer
8847 provides all required header files.
8848
8849 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
8850 is not defined; this provides a hook for VxWorks.
8851
8852Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8853
8854 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
8855 buffer if buf is NULL, don't do it here -- it is already being
8856 done by makebuf elsewhere in stdio.
8857
8858Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
8859
8860 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
8861 that C programs can call functions without using initial
8862 underscores.
8863
8864Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
8865
8866 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
8867
8868Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
8869
8870 * configure.in: set TARGET_CFLAGS for certain CPU types to
8871 -msoft-float.
8872
8873Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8874
8875 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
8876
8877Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
8878
8879 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
8880 m68k*-unknown-coff.
8881
8882Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
8883
8884 * libc/include/stdio.h: define __need___va_list before including
8885 <stdarg.h>, to avoid defining va_arg, et. al.
8886
8887Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
8888
8889 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
8890 (don't cd to the user's home directory).
8891
8892 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
8893 In general this is the wrong thing to do, but I can't get around
8894 GNU make's insistence on passing command line arguments any other
8895 way.
8896
8897Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
8898
8899 * configure.in: always configure the libc/sys directory, since it
8900 now provides a required documentation file.
8901
8902 * Makefile.in: replaced all instances of $(MAKE) with make. In
8903 general this is the wrong thing to do, but I can't get around GNU
8904 make's insistence on passing command line arguments any other way.
8905
8906Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
8907
8908 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
8909 terminated.
8910
8911 * libc/stdio/local.h: include <stdarg.h> to define va_list.
8912 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
8913
8914 * libc/include/float.h, libc/include/stdarg.h,
8915 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
8916 versions instead.
8917 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
8918 <stdarg.h>, not from <machine/types.h>. Protect definition of
8919 NULL.
8920 libc/include/time.h: get size_t from stddef.h. Protect definition
8921 of NULL.
8922 libc/include/machine/limits.h: override gcc <limits.h> by defining
8923 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
8924 get correct INT_MIN and LONG_LONG values.
8925 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
8926 size_t or va_list at all; they're now gotten from stddef.h
8927 instead.
8928 libc/include/machine/varargs.h: removed; use gcc version instead.
8929 libc/include/sys/types.h: explicitly include <machine/types.h>.
8930
8931 * libm/math/sqrt.h: using the fp-bit routines appears to require
8932 more iterations.
8933
8934 * Makefile.in, host/any: let system include files override machine
8935 include files.
8936
8937Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8938
8939 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
8940 override _*_T_ definitions defaulted here.
8941
8942Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
8943
8944 * Makefile.in (install): install the include files in
8945 $(tooldir)/include, not $(exec_prefix)/include.
8946
8947Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
8948
8949 * Makefile.in (install): fixed typo, and changed install to not
8950 force rebuild of libc.a and libm.a.
8951
8952Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
8953
8954 * libc/sys/a29khif/*: Changed all .include's to include
8955 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
8956 that they will be installed for the user.
8957
8958 * Makefile.in (all): create targ-include, a directory holding the
8959 machine and system specific header files during the build.
8960 (install): fixed installation of machine and system specific
8961 header files.
8962
8963 * Makefile.in: fixed comment.
8964 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
8965 we can pass $(INCLUDES) to it.
8966
8967Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
8968
8969 * libc/include/sys/param.h: new generic file, which may be
8970 overridden for specific systems.
8971
8972 * libc/include/sys/signal.h: define all ANSI signal names, and
8973 NSIG (which is not ANSI) for a29k.
8974
8975Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
8976
8977 * Makefile.in: don't pass down arguments the lower level makes
8978 will not need.
8979 * libc/Makefile.in: recurse directly, rather than using subdir_do,
8980 in hopes of avoiding argument length limits.
8981 * libm/Makefile.in: recurse directly, rather using subdir_do, in
8982 hopes of avoiding argument length limits.
8983
8984Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
8985
8986 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
8987 mode_t is defined.
8988
8989Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
8990
8991 * Fixed make info and make install-info for newlib, changing most
8992 Makefile.in and several *.tex files. Moved doc directory from
8993 libc to top level.
8994
8995 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
8996 Should be rewritten.
8997
8998 * libc/string/strings.tex: renamed node index to node index
8999 function, so that it does not conflict with the top level index
9000 node.
9001
9002 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9003
9004Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
9005
9006 * Overhauled general configuration for newlib. Eliminated all
9007 target dependent Makefile fragments. Create libraries in newlib
9008 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
9009 than CROSS_CC, et. al. Broke make docs; will fix later.
9010
9011 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9012 Should be rewritten.
9013
9014Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
9015
9016 * libc/configure.in: cleaned up somewhat; switch on ${target}
9017 rather than ${target_alias}.
9018 * libm/configure.in: cleaned up somewhat; switch on ${target}
9019 rather than ${target_alias}.
9020
9021 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9022 * libc/include/ctype.h: marked _ctype_ as _CONST.
9023
9024 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9025 _CONST.
9026
9027 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9028 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9029 libc/stdio/gets.c (gets): removed non-ANSI warning message.
9030 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9031
9032 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9033 bigtens, tinytens): marked arrays _CONST.
9034 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9035 rather than a static variable.
9036
9037 * libc/time/asctime.c (asctime), libc/time/localtime.c
9038 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9039 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9040 mname_len, mname): Marked static arrays _CONST.
9041
9042 * libm/math/gamma.h: made local variables non-static.
9043
9044 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9045 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9046 _CONST.
9047
9048 * libm/math/constants.c: removed file, because the constants it
9049 defined were never referenced.
9050 libm/math/Makefile.in: removed references to constants.c.
9051 libm/math/mathimpl.h: removed declarations of constants.
9052
9053Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
9054
9055 * libc/include/machine/varargs.h: only call __builtin_saveregs if
9056 it is sensibly defined in libgcc2. Checks preprocessor defines,
9057 which is not a good solution.
9058
9059 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9060
9061 * libm/frexp.c: handle denormalized numbers as arguments.
9062
9063 * libm/math/Makefile.in: added some dependencies for .c files
9064 which include local .h files.
9065
9066Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
9067
9068 * libc/configure.in: set target_alias for OSE*. Replace
9069 target_makefile_frag if it is blank.
9070
9071 * libc/Makefile.in: make sure everything is passed to subsidiary
9072 makes; create all directories when installing.
9073
9074 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9075 CROSS_ARUPDATE instead of AR.
9076
9077 * libm/configure.in: set target_alias for OSE*. Replace
9078 target_makefile_frag if it is blank.
9079
9080 * libm/Makefile.in: make sure everything is passed to subsidiary
9081 makes; create all directories when installing.
9082
9083Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
9084
9085 * add following change from libc copy.
9086
9087Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9088
9089 * libc/libc.texinfo: make copyright disclaimers appear on back of
9090 title page; make format of same slightly less ugly; avoid using
9091 underbars in section headings (avoids nasty texinfo bug in table
9092 of contents).
9093
9094 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9095 comments only) avoid using underbars in section headings
9096
9097 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9098 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9099 changes in comments only): shorten headings ieeefp/infinity.c,
9100 ieeefp/isnan.c: (doc, comments only) more informative headings
9101
9102 * libc/math/bessel.c: (doc, comments only) shorten heading
9103
9104 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9105 (doc, comments only) shorten headings
9106
9107 * libc/time/localtime.c (doc, comments only): shorten headings
9108
9109 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9110 isnan
9111 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9112 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9113 headings
9114 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9115 only) more informative headings
9116 * libm/math/bessel.c: (doc, comments only) shorten heading
9117
9118Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9119
9120 * .../Makefile.in: use CROSS_ARUPDATE consistently.
9121 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9122 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9123 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9124 defined, the one from the .mt file will be correct.
9125 * libc/include/machine, libc/include/sys: created, and populated
9126 with common files from machine/*/machine. ifdefs were used for
9127 most, typically by handling exceptions first and then filling in
9128 defaults. Files with D.J. Delorie copyright #included rather than
9129 copied. Most files in include/sys really were the same in the
9130 original.
9131 * libc/include/...: cleaned up use of _EXFUN.
9132 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9133 it with double quotes, not angles.
9134
9135Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
9136
9137 * libc/Makefile.in: always create installation directories.
9138
9139Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9140
9141 * libc/configure.in: handle host properly (using canonical
9142 triples), better error message for the case of target not found
9143
9144Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
9145
9146 * libc/Makefile.in (insincdir): Ensure this directory exists
9147 before attempting installation.
9148
9149Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9150
9151 * libc/stdlib/assert.c: now calls abort like it should
9152 * libc/sys/a29khif: many many patches for 29khif work
9153 * libc/machine/i386: gnulib2 expanded there.
9154
9155Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9156
9157 Added accurate fp conversion routines to stdlib, moved dcvt from
9158 stdio to stdlib and called it ecvtbuf:
9159 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9160 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9161 routines
9162 * libc/libc.texinfo: Modifed to include the copyright info from
9163 the mprec files
9164 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9165 * libc/test/ : many vector which tested for the implementation
9166 defined returns of strange conversion requests have been updated
9167 to relflect the new implementation
9168
9169Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9170
9171 * libc/libc.texinfo: new chapter on variable arg lists
9172 (stdarg.h/varargs.h)
9173 * libc/libc.texinfo: new title
9174 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9175 (doc only) shorter headings for better formatting.
9176
9177Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9178
9179 * libc/libc.texinfo: three more info menu entries
9180 * libc/locale/locale.tex: new chapter
9181 * libc/locale/locale.c: new doc for setlocale, localeconv
9182 * libc/locale/Makefile.in: use new locale doc
9183 * libc/signal/signal.tex: new chapter
9184 * libc/signal/raise.c, libc/signal/signal.c: new doc
9185 * libc/signal/Makefile.in: use new doc
9186 * libc/time/time.tex: new chapter
9187 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9188 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9189 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9190 * libc/time/Makefile.in: use new doc
9191
9192Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9193
9194 * libm/math/log1p.c: split to use the new function way of float
9195 function definition. math/log1p.h deleted
9196 * libm/math/scalb.c: obsolete and deleted
9197 * libm/math/scalbn.c: created from part log1p.c
9198 * libm/math/Makefile.in: know about log1p and scalbn
9199
9200Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9201
9202 * libc/ctype/isupper.c: revise doc;
9203 libc/ctype/ctype.tex: use doc from isupper.c
9204
9205 * libc/string/bzero.c: new doc
9206
9207Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9208
9209 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9210 new doc
9211 * libc/stdlib/Makefile.in: extract new doc
9212 * libc/stdlib/stdlib.tex: use new doc
9213
9214 * libc/string/strerror.c: expanded doc.
9215
9216 * libc/stdio/Makefile.in: extract doc from more files
9217 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9218 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9219 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9220 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9221 libc/stdio/vsprintf.c: new doc
9222 * libc/stdio/stdio.tex: use new doc
9223
9224Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9225
9226 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9227 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9228 finitef functions.
9229 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9230 time ago.
9231
9232 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9233 * libc/stdio/setbuf.c: added ansi style definition.
9234 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9235 buffer if none provided.
9236 * libc/stdio/tmpfile.c: lint
9237 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9238 rather than using static, also make sure file isn't already
9239 present. Uses P_tmpdir. (tempnam): rewritten to use new
9240 subroutine, and uses P_tmpdir.
9241 * libc/stdio/siprintf.c: created
9242
9243Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9244
9245 Release 1.03 for NEC, major mods. Main differences from release
9246 1.02::
9247
9248 More tests in test/:
9249 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9250 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9251 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9252 get/set mask, get/set sticky and get/set roundtoi. Tests
9253 that setting the bits changes the way arithmetic is done.
9254 * string.c: added test to make sure memcmp does it with unsigned
9255 chars.
9256 * test.c: cleaned up and removed lint.
9257 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9258 dvec.c: tests for string to value conversions, sprintf, scanf,
9259 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9260 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
9261 rounding in sprintf too.
9262 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
9263 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9264 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9265 and function form.
9266 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9267 powf
9268
9269 In the library:
9270 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9271 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9272 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9273 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9274 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9275 than sprintf.
9276 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
9277 * Method of producting float versions of double functions has
9278 changed, functions will be modified gradually. So far:
9279 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9280 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9281 altered
9282 * libc/string/memcmp.c: now uses unsigned chars
9283 * libc/string/bcmp.c, libc/string/strcpy.c,
9284 libc/stsring/strxfrm.c: fixed doc
9285 * libc/sys/sysvnecv70.tex: fix example of sbrk code
9286\f
9287Local Variables:
9288version-control: never
9289End:
This page took 0.869397 seconds and 5 git commands to generate.