]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
f78e59a8
JJ
12002-05-06 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/unix/pread.c: Fix typo for _pread_r.
4 * libc/unix/pwrite.c: Fix type for _pwrite_r.
5 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
7
4b3f6588
CF
82002-05-03 Christopher Faylor <cgf@redhat.com>
9
10 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
11
e911832c
TF
122002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
13
14 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
15
0d0fdc8d
CF
162002-05-01 Christopher Faylor <cgf@redhat.com>
17
18 * utmp.h: Define more UNIX constants.
19
1e997c56
TF
202002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
21
0717f01c
TF
22 * Makefile.am: Add support for checking multilibs.
23
09841445
TF
24 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
25 (SUBDEFS): Add LIBC_EXTRA_DEF.
26 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
27 (LIBC_EXTRA_DEF): Likewise.
28 (extra_dir): Likewise.
29 * libc/machine/xscale/machine: New directory.
30 * libc/machine/xscale/machine/profile.h: New file.
31
1e997c56
TF
32 * Makefile.am (site.exp): Remove newlib_cflags. Add
33 multibuildtop.
34 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
35 * testsuite/lib/flags.exp: New file.
36 * testsuite/lib/newlib.exp: Load flags.exp.
37 (newlib_target_compile): Remove libgloss directory references.
38 (newlib_init): Remove newlib_cflags references.
39
4cf4f010
TF
402002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
41
f6bdb6f9
TF
42 * testsuite/lib/newlib.exp (newlib_target_compile): Change
43 method of finding libgloss_target_dir.
44
4cf4f010
TF
45 * Makefile.am (site.exp): Change host_alias, host_triplet,
46 target_alias, target_triplet to refer to gcc's host and target
47 variables (newlib's build and host variables).
48 * testsuite/lib/newlib.exp (newlib_init): Change build
49 references to host references, host references to target
50 references to reflect Makefile.am changes.
51 (newlib_target_compile): Likewise.
52 (newlib_finish): Likewise.
53
83096ae8
JJ
542002-04-29 Jeff Johnston <jjohnstn@redhat.com>
55
56 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
57
822afa53
JL
582002-04-29 Jonathan Larmour <jlarmour@redhat.com>
59
60 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
61 (_system): New function. Ditto.
62 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
63 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
64 targets.
65
29798f0d
JJ
662002-04-29 Jeff Johnston <jjohnstn@redhat.com>
67
68 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
69 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
70 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
71 * libc/sys/linux/Makefile.in: Regenerated.
72 * libc/unix/Makefile.in: Ditto.
73 * libc/sys/linux/pread64.c: New file.
74 * libc/sys/linux/pwrite64.c: Ditto.
75 * libc/unix/pread.c: Ditto.
76 * libc/unix/pwrite.c: Ditto.
77
557856bd
JJ
782002-04-26 Jeff Johnston <jjohnstn@redhat.com>
79
80 * libc/sys/linux/Makefile.am: Add io64.c.
81 * libc/sys/linux/Makefile.in: Regenerated.
82 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
83 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
84 * libc/sys/linux/io64.c: New file.
85
7b2b12d5
JJ
862002-04-26 Jeff Johnston <jjohnstn@redhat.com>
87
88 * configure.in (CC_FOR_NEWLIB): New variable that
89 bases on $(CC) and adds targ-include and libc/include as
90 -isystem directives if they are not already part of $(CC).
91 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
92 $(CC_FOR_NEWLIB).
93 * configure: Regenerated.
94 * Makefile.in: Ditto.
95
c62adacc
JJ
962002-04-25 Jeff Johnston <jjohnstn@redhat.com>
97
98 * libc/sys/linux/Makefile.am: Add support for sched.c.
99 * libc/sys/linux/Makefile.in: Regenerated.
100 * libc/sys/linux/sched.c: New file.
101 * libc/sys/linux/sys/types.h: Add struct timespec.
102
217ad4a0
TF
1032002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
104
105 * configure.in (CC_FOR_BUILD): Set to gcc whether
106 cross-compiling or not.
107 (CC): Add -isystem's for targ-include and libc/include when they
108 do not already appear in CC.
109
eaa75b70
TF
1102002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
111
112 * Makefile.am (check-DEJAGNU): New target.
113 (site.exp): Likewise.
114 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
115 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
116 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
117 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
118 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
119 * testsuite: New directory.
120 * testsuite/config: Likewise.
121 * testsuite/lib: Likewise.
122 * testsuite/newlib.locale: Likewise.
123 * testsuite/newlib.string: Likewise.
124 * testsuite/config/default.exp: New file.
125 * testsuite/lib/checkoutput.exp: New file.
126 * testsuite/lib/newlib.exp: New file.
127 * testsuite/lib/passfail.exp: New file.
128 * testsuite/newlib.locale/UTF-8.c: New file.
129 * testsuite/newlib.locale/UTF-8.exp: New file.
130 * testsuite/newlib.locale/locale.exp: New file.
131 * testsuite/newlib.string/string.exp: New file.
132 * testsuite/newlib.string/tstring.c: New file.
133
b9f9f699
JJ
1342002-04-23 Jeff Johnston <jjohnstn@redhat.com>
135
136 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
137 * libc/sys/linux/Makefile.am: Add support for mmap.c.
138 * libc/sys/linux/Makefile.in: Regenerated.
139 * libc/sys/linux/mmap.c: New file.
140 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
141 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
142
7394edbb
TF
1432002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
144
145 * acinclude.m4 (newlib_cflags): Remove include directories that
146 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
147
b9f9f699 1482002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
149
150 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
151 * libc/machine/xscale/memcmp.c: Ditto.
152 * libc/machine/xscale/memcpy.c: Ditto.
153 * libc/machine/xscale/memmove.c: Ditto.
154 * libc/machine/xscale/memset.c: Ditto.
155 * libc/machine/xscale/strchr.c: Ditto.
156 * libc/machine/xscale/strcmp.c: Ditto.
157 * libc/machine/xscale/strcpy.c: Ditto.
158 * libc/machine/xscale/strlen.c: Ditto.
159
2dd4c4dc
JJ
1602002-04-19 Alexandre Oliva <aoliva@redhat.com>
161
162 * libc/include/sys/config.h: Remove include of <limits.h>.
163 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
164 define INT_MAX and LONG_MAX. Use them in tests.
165
0d844014
JJ
1662002-04-19 Jeff Johnston <jjohnstn@redhat.com>
167
168 * configure.host: Add support for powerpc-eabialtivec*.
169 * libc/include/malloc.h: Add include of <machine/malloc.h>.
170 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
171 * libc/include/machine/malloc.h: New file.
172 * libc/include/machine/stdlib.h: Ditto.
173 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
174 * libc/machine/powerpc/Makefile.am: Add conditional objects and
175 sources based on configuration.
176 * libc/machine/powerpc/Makefile.in: Regenerated.
177 * libc/machine/powerpc/configure: Ditto.
178 * libc/machine/powerpc/configure.in: Add check for
179 powerpc-eabialtivec* in which case add in additional source files.
180 * libc/machine/powerpc/setjmp.S: Add altivec support.
181 * libc/machine/powerpc/vec_calloc.c: New file.
182 * libc/machine/powerpc/vec_free.c: Ditto.
183 * libc/machine/powerpc/vec_malloc.c: Ditto.
184 * libc/machine/powerpc/vec_mallocr.c: Ditto.
185 * libc/machine/powerpc/vec_realloc.c: Ditto.
186 * libc/machine/powerpc/machine/malloc.h: Ditto.
187 * libc/machine/powerpc/machine/stdlib.h: Ditto.
188 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
189 with added altivec format specifiers.
190 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
191 added altivec format specifiers.
192
d413aadc
JS
1932002-04-19 Joel Sherrill <joel@OARcorp.com>
194
195 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
196 while autoconf is trying to link main(){}.
197
27193895
JJ
1982002-04-17 Jeff Johnston <jjohnstn@redhat.com>
199
200 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
201 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
202
10d00216
JJ
2032002-04-17 Jeff Johnston <jjohnstn@redhat.com>
204
6b0f808e
JJ
205 * libc/time/time.tex: Add tzset info.
206
2072002-04-17 Jeff Johnston <jjohnstn@redhat.com>
208
209 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
210 (strptime): Moved prototype to be within !__STRICT_ANSI__.
211 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
212 (tzname): Defined for all platforms.
213 (daylight, timezone): Defined only for CYGWIN.
214 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
215 environment set up.
216 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
217 environment variable is set.
218 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
219 tzset_r.c.
220 * libc/time/Makefile.in: Regenerated.
221 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
222 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
223 * libc/time/lcltime_r.c (lcltime_r): Ditto.
224 * libc/time/local.h: New local header file.
225 * libc/time/mktime.c (mktime): Add timezone support.
226 * libc/time/mktm_r.c: New file which is the common engine
227 for gmtime_r and lcltime_r. This code has timezone support.
228 * libc/time/strftime.c (strftime): Add %Z timezone support.
229 * libc/time/tzlock.c: New file containing timezone lock stubs.
230 * libc/time/tzset.c: New file containing tzset() routine.
231 * libc/time/tzset_r.c: New file containing _tzset_r and
232 internal routine for calculating timezone changes for specified year.
233
2342002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
235
236 * configure.in (CRT0_DIR): Set to libc/.
237 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
238 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
239 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
240 $(CRT1_DIR)/$(CRT1).
241 * libc/machine/xstormy16/Makefile.in: Regenerated.
242 * libc/machine/xstormy16/aclocal.m4: Regenerated.
243 * libc/machine/xstormy16/configure: Regenerated.
244
2452002-04-13 Alexandre Oliva <aoliva@redhat.com>
246
247 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
248 fails, don't bail out, and try to correct next time.
249
250 * libc/include/sys/config.h: Include limits.h.
251
2522002-04-12 Eric Norum <eric.norum@usask.com>
253
254 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
255 routine to allow autoconf to determine that building executables
256 for rtems works.
257 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
258 (rtems_gxx_mutex_once): Ditto.
259
2602002-04-09 Tom Rix <trix@redhat.com>
261
262 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
263
2642002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
265
266 * libc/include/time.h: Fix strptime declaration.
267 * libc/time/Makefile.am: Add strptime.c.
268 * libc/time/Makefile.in: Regenerated.
269 * libc/time/strptime.c: New file.
270
2712002-04-08 Jeff Johnston <jjohnstn@redhat.com>
272
273 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
274 siglongjmp prototype, and sigsetjmp macro definition.
275 * libc/sys/linux/siglongjmp.c: New file.
276 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
277 * libc/sys/linux/Makefile.in: Regenerated.
278
2792002-04-04 Jeff Johnston <jjohnstn@redhat.com>
280
281 * Makefile.am: Add support for installing crt1.o if one exists.
282 * configure.host: Specify crt1.o for linux.
283 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
284 * Makefile.in: Regenerated.
285 * configure: Ditto.
286 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
287 Added for non-Cygwin, non-RTEMS configurations.
288 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
289 * libc/sys/linux/Makefile.in: Regenerated.
290 * libc/sys/linux/crt1.c: New empty file to override one defaulted
291 by gcc. This fixes problem with reconfiguring linux newlib build.
292 * libc/sys/linux/sysconf.c: New file.
293
2942002-04-03 Jeff Johnston <jjohnstn@redhat.com>
295
296 * configure.host: Add support for machine subdirectory of
297 sys subdirectory.
298 * configure.in: Add check for sys machine subdirectory.
299 * Makefile.am: Ditto.
300 * configure: Regenerated.
301 * Makefile.in: Ditto.
302 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
303 * libc/sys/linux/sys/syscall.h: Ditto.
304 * libc/sys/linux/sleep.c: New file.
305 * libc/sys/linux/socket.c: Ditto.
306 * libc/sys/linux/sockops.h: Ditto.
307 * libc/sys/linux/stack.c: Ditto.
308 * libc/sys/linux/usleep.c: Ditto.
309 * libc/sys/linux/machine/Makefile.am: Ditto.
310 * libc/sys/linux/machine/Makefile.in: Ditto.
311 * libc/sys/linux/machine/aclocal.m4: Ditto.
312 * libc/sys/linux/machine/configure: Ditto.
313 * libc/sys/linux/machine/configure.in: Ditto.
314 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
315 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
316 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
317 * libc/sys/linux/machine/i386/configure: Ditto.
318 * libc/sys/linux/machine/i386/configure.in: Ditto.
319 * libc/sys/linux/machine/i386/crt0.c: Ditto.
320 * libc/sys/linux/machine/i386/sigset.c: Ditto.
321 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
322 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
323 * libc/sys/linux/machine/i386/syscall.h: Ditto.
324 * libc/sys/linux/sys/select.h: Ditto.
325 * libc/sys/linux/configure.in: Add support for machine directory.
326 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
327 * libc/sys/linux/Makefile.in: Regenerated.
328 * libc/sys/linux/configure: Ditto.
329 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
330 * libc/sys/linux/inode.c: Ditto.
331 * libc/sys/linux/linux.c: Ditto.
332 * libc/sys/linux/process.c: Ditto.
333 * libc/sys/linux/systat.c: Ditto.
334 * libc/sys/linux/time.c: Ditto.
335 * libc/sys/linux/wait.c: Ditto.
336 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
337 * libc/sys/linux/io.c: Change header plus add readv/writev.
338 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
339 use __sigsuspend syscall.
340 * libc/sys/linux/select.c: Change header plus change select to
341 use _newselect syscall.
342 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
343 used by glibc header files.
344 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
345 types.
346
3472002-04-01 Jeff Johnston <jjohnstn@redhat.com>
348
349 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
350 initializing a struct _reent that has been dynamically allocated.
351 (_REENT_CHECK_MISC): New macro that checks _misc struct for
352 _REENT_SMALL and does nothing otherwise.
353 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
354 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
355 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
356 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
357 [_REENT_SMALL](struct _misc_reent): New structure containing
358 miscellaneous reentrant areas needed by newlib.
359 [_REENT_SMALL](struct _reent): Add _misc pointer.
360 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
361 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
362 and _REENT_STRTOK_LAST macros.
363 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
364 and _REENT_MBLEN_STATE macros.
365 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
366 and _REENT_MBTOWC_STATE macros.
367 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
368 and _REENT_WCTOMB_STATE macros.
369
3702002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
371
372 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
373
374Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
375
376 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
377
378Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
379
380 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
381 Store high part of leading bytes too.
382
3832002-03-22 Richard Sandiford <rsandifo@redhat.com>
384
385 * libm/math/ef_hypot.c: Increase scale factor to 68.
386
3872002-03-13 Alexandre Oliva <aoliva@redhat.com>
388
389 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
390 error.
391
3922002-03-12 Jeff Johnston <jjohnstn@redhat.com>
393
394 * libc/sys/go32/access.c: Change license to relaxed license
395 used in identical file throughout newlib/libgloss.
396
3972002-03-12 Richard Earnshaw <rearnsha@arm.com>
398
399 * libc/sys/arm/access.c: New file.
400 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
401 * libc/sys/arm/Makefile.in: Regenerate.
402 * libc/sys/arm/syscalls.c (_stat): New function.
403
4042002-03-11 Michael Meissner <meissner@redhat.com>
405
406 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
407 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
408 * libc/machine/mips/Makefile.in: Regenerate.
409 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
410 * libc/machine/mips/memset.c: Dito.
411 * libc/machine/mips/strcmp.c: Dito.
412 * libc/machine/mips/strlen.c: Dito.
413 * libc/machine/mips/strncmp.c: Dito.
414
4152002-03-06 Jeff Johnston <jjohnstn@redhat.com>
416
417 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
418 object so it works for shared library or statici library.
4192002-04-17 Jeff Johnston <jjohnstn@redhat.com>
420
10d00216
JJ
421 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
422 (strptime): Moved prototype to be within !__STRICT_ANSI__.
423 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
424 (tzname): Defined for all platforms.
425 (daylight, timezone): Defined only for CYGWIN.
426 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
427 environment set up.
428 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
429 environment variable is set.
430 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
431 tzset_r.c.
432 * libc/time/Makefile.in: Regenerated.
433 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
434 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
435 * libc/time/lcltime_r.c (lcltime_r): Ditto.
436 * libc/time/local.h: New local header file.
437 * libc/time/mktime.c (mktime): Add timezone support.
438 * libc/time/mktm_r.c: New file which is the common engine
439 for gmtime_r and lcltime_r. This code has timezone support.
440 * libc/time/strftime.c (strftime): Add %Z timezone support.
441 * libc/time/tzlock.c: New file containing timezone lock stubs.
442 * libc/time/tzset.c: New file containing tzset() routine.
443 * libc/time/tzset_r.c: New file containing _tzset_r and
444 internal routine for calculating timezone changes for specified year.
445
5f1c13c6
TF
4462002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
447
448 * configure.in (CRT0_DIR): Set to libc/.
449 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
450 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
451 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
452 $(CRT1_DIR)/$(CRT1).
453 * libc/machine/xstormy16/Makefile.in: Regenerated.
454 * libc/machine/xstormy16/aclocal.m4: Regenerated.
455 * libc/machine/xstormy16/configure: Regenerated.
456
0cc261b1
AO
4572002-04-13 Alexandre Oliva <aoliva@redhat.com>
458
2f3009bd
AO
459 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
460 fails, don't bail out, and try to correct next time.
461
0cc261b1
AO
462 * libc/include/sys/config.h: Include limits.h.
463
26116455
JJ
4642002-04-12 Eric Norum <eric.norum@usask.com>
465
466 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
467 routine to allow autoconf to determine that building executables
468 for rtems works.
469 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
470 (rtems_gxx_mutex_once): Ditto.
471
4608280d
TR
4722002-04-09 Tom Rix <trix@redhat.com>
473
474 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
475
dea7e25c
JJ
4762002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
477
478 * libc/include/time.h: Fix strptime declaration.
479 * libc/time/Makefile.am: Add strptime.c.
480 * libc/time/Makefile.in: Regenerated.
481 * libc/time/strptime.c: New file.
482
c5ef1e95
JJ
4832002-04-08 Jeff Johnston <jjohnstn@redhat.com>
484
485 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
486 siglongjmp prototype, and sigsetjmp macro definition.
487 * libc/sys/linux/siglongjmp.c: New file.
488 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
489 * libc/sys/linux/Makefile.in: Regenerated.
490
6e6cd5bd
JJ
4912002-04-04 Jeff Johnston <jjohnstn@redhat.com>
492
493 * Makefile.am: Add support for installing crt1.o if one exists.
494 * configure.host: Specify crt1.o for linux.
495 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
496 * Makefile.in: Regenerated.
497 * configure: Ditto.
498 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
499 Added for non-Cygwin, non-RTEMS configurations.
500 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
501 * libc/sys/linux/Makefile.in: Regenerated.
502 * libc/sys/linux/crt1.c: New empty file to override one defaulted
503 by gcc. This fixes problem with reconfiguring linux newlib build.
504 * libc/sys/linux/sysconf.c: New file.
505
fa4a16a1
JJ
5062002-04-03 Jeff Johnston <jjohnstn@redhat.com>
507
508 * configure.host: Add support for machine subdirectory of
509 sys subdirectory.
510 * configure.in: Add check for sys machine subdirectory.
511 * Makefile.am: Ditto.
512 * configure: Regenerated.
513 * Makefile.in: Ditto.
514 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
515 * libc/sys/linux/sys/syscall.h: Ditto.
516 * libc/sys/linux/sleep.c: New file.
517 * libc/sys/linux/socket.c: Ditto.
518 * libc/sys/linux/sockops.h: Ditto.
519 * libc/sys/linux/stack.c: Ditto.
520 * libc/sys/linux/usleep.c: Ditto.
521 * libc/sys/linux/machine/Makefile.am: Ditto.
522 * libc/sys/linux/machine/Makefile.in: Ditto.
523 * libc/sys/linux/machine/aclocal.m4: Ditto.
524 * libc/sys/linux/machine/configure: Ditto.
525 * libc/sys/linux/machine/configure.in: Ditto.
526 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
527 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
528 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
529 * libc/sys/linux/machine/i386/configure: Ditto.
530 * libc/sys/linux/machine/i386/configure.in: Ditto.
531 * libc/sys/linux/machine/i386/crt0.c: Ditto.
532 * libc/sys/linux/machine/i386/sigset.c: Ditto.
533 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
534 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
535 * libc/sys/linux/machine/i386/syscall.h: Ditto.
536 * libc/sys/linux/sys/select.h: Ditto.
537 * libc/sys/linux/configure.in: Add support for machine directory.
538 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
539 * libc/sys/linux/Makefile.in: Regenerated.
540 * libc/sys/linux/configure: Ditto.
541 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
542 * libc/sys/linux/inode.c: Ditto.
543 * libc/sys/linux/linux.c: Ditto.
544 * libc/sys/linux/process.c: Ditto.
545 * libc/sys/linux/systat.c: Ditto.
546 * libc/sys/linux/time.c: Ditto.
547 * libc/sys/linux/wait.c: Ditto.
548 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
549 * libc/sys/linux/io.c: Change header plus add readv/writev.
550 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
551 use __sigsuspend syscall.
552 * libc/sys/linux/select.c: Change header plus change select to
553 use _newselect syscall.
554 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
555 used by glibc header files.
556 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
557 types.
558
d4dca0e4
JJ
5592002-04-01 Jeff Johnston <jjohnstn@redhat.com>
560
561 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
562 initializing a struct _reent that has been dynamically allocated.
563 (_REENT_CHECK_MISC): New macro that checks _misc struct for
564 _REENT_SMALL and does nothing otherwise.
565 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
566 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
567 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
568 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
569 [_REENT_SMALL](struct _misc_reent): New structure containing
570 miscellaneous reentrant areas needed by newlib.
571 [_REENT_SMALL](struct _reent): Add _misc pointer.
572 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
573 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
574 and _REENT_STRTOK_LAST macros.
575 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
576 and _REENT_MBLEN_STATE macros.
577 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
578 and _REENT_MBTOWC_STATE macros.
579 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
580 and _REENT_WCTOMB_STATE macros.
581
54a7c6d2
JJ
5822002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
583
584 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
585
c82479b1
CF
586Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
587
588 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
589
43ecf6e8
JR
590Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
591
592 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
593 Store high part of leading bytes too.
594
a485d93f
RS
5952002-03-22 Richard Sandiford <rsandifo@redhat.com>
596
597 * libm/math/ef_hypot.c: Increase scale factor to 68.
598
62a963ee
AO
5992002-03-13 Alexandre Oliva <aoliva@redhat.com>
600
601 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
602 error.
603
c53d8453
JJ
6042002-03-12 Jeff Johnston <jjohnstn@redhat.com>
605
606 * libc/sys/go32/access.c: Change license to relaxed license
607 used in identical file throughout newlib/libgloss.
608
d2a246ad
JJ
6092002-03-12 Richard Earnshaw <rearnsha@arm.com>
610
611 * libc/sys/arm/access.c: New file.
612 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
613 * libc/sys/arm/Makefile.in: Regenerate.
614 * libc/sys/arm/syscalls.c (_stat): New function.
615
eabb48d5
MM
6162002-03-11 Michael Meissner <meissner@redhat.com>
617
618 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
619 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
620 * libc/machine/mips/Makefile.in: Regenerate.
621 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
622 * libc/machine/mips/memset.c: Dito.
623 * libc/machine/mips/strcmp.c: Dito.
624 * libc/machine/mips/strlen.c: Dito.
625 * libc/machine/mips/strncmp.c: Dito.
626
2a606041
JJ
6272002-03-06 Jeff Johnston <jjohnstn@redhat.com>
628
eabb48d5
MM
629 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
630 object so it works for shared library or statici library.
631 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 632
55f26f11
JR
633Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
634
635 * Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.S
636 and strcpy.S.
637 * Makefile.in: Regenerate.
638 * asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
639 (SHHI, SHLO): Define.
640 * memcpy.S: Add code for SH5.
641 * memset.S: Likewise.
642 * strcpy.S: Likewise.
643
afecf2fa
JJ
6442002-02-27 Jeff Johnston <jjohnstn@redhat.com>
645
646 * configure.host: Add check for --disable-newlib-io-float
647 configuration option and add -DNO_FLOATING_POINT to newlib cflags
648 if appropriate.
649 * acinclude.m4: Added --disable-newlib-io-float option.
650 * aclocal.m4: Regenerated.
651 * configure: Ditto.
652 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
653 * libc/*/aclocal.m4 libc/*/configure
654 * libm/*/aclocal.m4 libm/*/configure: Ditto.
655 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
656 if NO_FLOATING_POINT flag is not defined.
657
c1010a63
JJ
6582002-02-25 Jeff Johnston <jjohnstn@redhat.com>
659
660 * libc/include/sys/config.h: Add __extension__ in front of
661 long long references.
662
630c657e
CV
6632002-02-23 Corinna Vinschen <corinna@vinschen.de>
664
665 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
666 (_stat): Ditto.
667
59ee2e20
CV
6682002-02-23 Corinna Vinschen <corinna@vinschen.de>
669
670 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
671 of off_t.
672
2dd68dc2
NC
6732002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
674
675 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
676 clobbered registers.
677
55500bf1
TF
6782002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
679
680 * configure.host (newlib_cflags): When host is in m68* add
681 -DCOMPACT_CTYPE.
682
ba0173f0
JJ
6832002-02-15 Jeff Johnston <jjohnstn@redhat.com>
684
685 * libc/include/sys/config.h: Add definitions for
686 __int16_t, __uint16_t, __int64_t, and __uint64_t.
687
7b61d0c5
JJ
6882002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
689
690 * libc/sys/mmixware/link.c: New.
691 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
692 volatile.
693 * libc/sys/mmixware/times.c (_times): Renamed from times.
694 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
695 properly by reading previous contents, not through BinaryReadWrite.
696 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
697 * libc/sys/mmixware/Makefile.in: Regenerate.
698
a505db65
CV
6992002-02-10 Corinna Vinschen <corinna@vinschen.de>
700
701 * libc/include/grp.h: Don't declare group functions when compiling
702 Cygwin.
703
f3b39c45
CV
7042002-02-09 Corinna Vinschen <corinna@vinschen.de>
705
706 * libc/include/grp.h: Include Cygwin specific header.
707 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
708 when compiling for Cygwin.
709 * libc/include/sys/types.h: Don't define off_t, uid_t
710 and gid_t when compiling for Cygwin.
711
82b3ac56
MG
7122002-02-08 matthew green <mrg@redhat.com>
713
714 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
715 _REENT_EMERGENCY_SIZE, not sizeof(char *).
716
9f25eed9
AO
7172002-02-08 Alexandre Oliva <aoliva@redhat.com>
718
719 Contribute sh64-elf.
720 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
721 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
722 support in printf.
723 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
724 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
725 any labels.
726 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
727 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
728 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
729 * libc/machine/sh/configure.in: Rework conditionals.
730 * libc/machine/sh/Makefile.am: Likewise.
731 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
732 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
733 * configure.host: Match `sh*'.
734 * libc/include/machine/setjmp.h: Define for SH5.
735 * libc/machine/sh/configure.in: Detect SH5.
736 * libc/machine/sh/configure: Rebuilt.
737 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
738 * libc/machine/sh/Makefile.in: Rebuilt.
739 * libc/machine/sh/asm.h: Adjust for SH5.
740 * libc/machine/sh/setjmp.S: Implement in SHmedia.
741 * libc/sys/sh/crt0.S: Likewise.
742 * libc/sys/sh/trap.S: Likewise.
743
a2a405ae
JJ
7442002-02-07 Jeff Johnston <jjohnstn@redhat.com>
745
746 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
747 (mach_add_obj): Conditionally set to setjmp.o or nothing.
748 (LIB_SOURCES): Remove $(mach_add_src).
749 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
750 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
751 * libc/machine/i386/Makefile.in: Regenerate.
752
27478365
JJ
7532002-02-05 Manik Raina <manik@cisco.com>
754
994fa212 755 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
756 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
757 s, p, k, and outstr.
758 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
759
815a37f7
JJ
7602002-02-04 Jeff Johnston <jjohnstn@redhat.com>
761
762 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
763 _REENT_CHECK_EMERGENCY macro.
764
a4139c12
MG
7652002-02-03 matthew green <mrg@redhat.com>
766
767 * libc/reent/signgam.c (__signgam): Fix error in previous.
768
8195aff7
MG
7692002-02-02 matthew green <mrg@redhat.com>
770
771 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
772
773 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
774 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
775 * libc/include/sys/reent.h (struct _reent): Completely new version
776 for _REENT_SMALL.
777 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
778 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
779 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
780 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
781 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
782 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
783 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
784 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
785 (_REENT_EMERGENCY): Likewise.
786
787 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
788 the start of the real __sFILE, used for stdin, stdout and stderr until
789 they are setup properly.
790 (struct __sFILE): Move location of _data in _REENT_SMALL case.
791 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
792 allocated stdin, stdout and stderr.
793 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
794 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
795 * libc/stdio/perror.c (_perror_r): Likewise.
796 * libc/stdio/printf.c (printf, _printf_r): Likewise.
797 * libc/stdio/putchar.c (_putchar_r): Likewise.
798 * libc/stdio/puts.c (_puts_r): Likewise.
799 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
800 * libc/stdio/vprintf.c (vprintf): Likewise.
801 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
802
803 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
804
805 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
806 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
807 for _REENT_SMALL.
808 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
809 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
810
811 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
812 _REENT_SMALL.
813 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
814 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
815 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
816 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
817 * libc/stdlib/rand48.c (__dorand48): Likewise.
818 * libc/stdlib/seed48.c (_seed48_r): Likewise.
819 * libc/stdlib/srand48.c (_srand48_r): Likewise.
820 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
821 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
822 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
823 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
824 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
825 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
826 * libc/stdlib/rand.c (rand): Likewise.
827
828 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
829 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
830
831 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
832 _REENT_MP_FREELIST() and _REENT_MP_P5S.
833 * libc/include/sys/reent.h (struct _mprec): New structure.
834
835 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
836 _unused_strtok_last.
837 * libc/string/strtok.c (strtok): Use a local static variable.
838
839 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
840 (_REENT_EMERGENCY_SIZE): Likewise.
841 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
842 _REENT_ASCTIME_BUF().
843 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
844 _REENT_TM().
845
846 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
847 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
848 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
849 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
850 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
851 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
852
9c2e7642
GK
8532002-02-01 Geoffrey Keating <geoffk@redhat.com>
854
855 * configure.host (xstormy16): Don't use the generic malloc.
856 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
857 * libc/machine/xstormy16/Makefile.in: Regenerate.
858 * libc/machine/xstormy16/mallocr.c: New file.
859 * libc/machine/xstormy16/tiny-malloc.c: New file.
860
4bb6112f
TF
8612002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
862
863 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
864 when _CYGWIN_TYPES_H is not defined.
865
8d345552
TF
8662002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
867
868 * libc/include/sys/signal.h: Revert 2002-01-23 change.
869
bcc49082
TF
8702002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
871
872 * libc/include/sys/signal.h: Remove pthread_kill declaration
873 when __CYGWIN__ is defined.
874
13baedeb
CF
8752002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
876
877 * libc/include/time.h: Add prototype for strptime for Cygwin.
878
b2db0ebc
NC
8792002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
880
ebf139fb
NC
881 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
882 dst was not word aligned.
883
b2db0ebc
NC
884 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
885 if too much memory is requested.
886
798c015d
JJ
8872002-01-11 Jeff Johnston <jjohnstn@redhat.com>
888
889 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
890 reads blanks from the input file to break if EOF reached
891 rather than end processing.
892
46ad2ef4
JJ
8932002-01-07 Jeff Johnston <jjohnstn@redhat.com>
894
895 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
896
86b06396
JJ
8972002-01-07 Alan Matsuoka <alanm@redhat.com>
898
899 * libc/include/machine/ieeefp.h: Configure d10v doubles to
900 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
901 libc/include/sys/config.h: Ditto.
902
423d5064
CV
9032001-12-28 Corinna Vinschen <corinna@vinschen.de>
904
905 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
906
f6eff1c0
GK
9072001-12-22 Geoffrey Keating <geoffk@redhat.com>
908 Catherine Moore <clm@redhat.com>
909 Richard Henderson <rth@redhat.com>
910 Corinna Vinschen <vinschen@redhat.com>
911
912 * configure.host: Add support for xstormy16.
913 * libc/include/machine/ieeefp.h: Add support for xstormy16.
914 * libc/include/machine/setjmp.h: Add support for xstormy16.
915 * libc/include/sys/config.h: Add support for xstormy16.
916 * libc/machine/xstormy16/Makefile.am: New file.
917 * libc/machine/xstormy16/Makefile.in: New file.
918 * libc/machine/xstormy16/aclocal.m4: New file.
919 * libc/machine/xstormy16/configure: New file.
920 * libc/machine/xstormy16/configure.in: New file.
921 * libc/machine/xstormy16/setjmp.S: New file.
922
1f93c55f
TF
9232001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
924
925 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
926 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
927
13b918be
CV
9282001-12-19 Corinna Vinschen <corinna@vinschen.de>
929
930 * libm/machine/Makefile.am: Change rules to create correct lib.a.
931 * libm/machine/Makefile.in: Regenerated through automake.
932
08e857b4
TF
9332001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
934
935 * Makefile.am (DOCDIR): Force to empty string when doc
936 directory is not present.
937
60565ed6
TF
9382001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
939
940 * libc/machine/i386/f_*: Move to libm/machine/i386.
941
9422001-12-18 Joel Sherrill <joel@OARcorp.com>
943
944 * libm/machine/Makefile.am: Add dummy doc stub so
945 "make info" works.
946
9472001-12-17 Joel Sherrill <joel@OARcorp.com>
948
949 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
950
fc504135
TF
9512001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
952
953 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
954 $(COMPILE) rather than $(CC).
955 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
956 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
957 $(LIB_COMPILE) change.
958 (vfiprintf.$(oext)): Likewise.
959
efeae9a3
CV
9602001-12-17 Corinna Vinschen <vinschen@redhat.de>
961
962 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
963 conditionalized including of getopt stuff.
964
cdf7120d
TF
9652001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
966
967 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
968 compile line.
f85be99c 969 (vfiprintf.$(oext)): Likewise.
cdf7120d 970
2e1a7175
TF
9712001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
972
973 * Makefile.shared: New file.
974 * libc/sys/linux/shared.ld: New file.
975 * libm/machine/*: New files.
976 * libm/machine/i386/*: New files.
977 * Makefile.am: Add libtool support. Change math and mathfp
978 references to variables.
979 * configure.host: Add variables for libtool support. Add
980 libm_machine_dir variable.
981 * configure.in: Add objectlist variables, for libtool
982 support. Add CC_FOR_BUILD tests.
983 * libc/Makefile.am: Add libtool support. Change crt0.o
984 reference to be a variable reference.
985 * libc/configure.in: Add libtool support. Change sublib
986 names to be lib${subdir}.la when using libtool.
987 * libc/ctype/Makefile.am: Add libtool support.
988 * libc/errno/Makefile.am: Likewise.
989 * libc/locale/Makefile.am: Likewise.
990 * libc/machine/Makefile.am: Likewise.
991 * libc/machine/configure.in: Likewise.
992 * libc/machine/i386/Makefile.am: Likewise.
993 * libc/machine/i386/configure.in: Likewise.
994 * libc/misc/Makefile.am: Likewise.
995 * libc/posix/Makefile.am: Likewise.
996 * libc/reent/Makefile.am: Likewise.
997 * libc/signal/Makefile.am: Likewise.
998 * libc/stdio/Makefile.am: Likewise.
999 * libc/stdlib/Makefile.am: Likewise.
1000 * libc/string/Makefile.am: Likewise.
1001 * libc/sys/Makefile.am: Likewise.
1002 * libc/sys/configure.in: Likewise.
1003 * libc/sys/linux/Makefile.am: Add libtool support. Change
1004 awk reference to a variable reference. Change signal.h
1005 reference to a variable reference.
1006 * libc/sys/linux/configure.in: Add libtool support.
1007 * libc/syscalls/Makefile.am: Likewise.
1008 * libc/time/Makefile.am: Likewise.
1009 * libc/unix/Makefile.am: Likewise.
1010 * libm/Makefile.am: Add libtool support. Change math and
1011 mathfp references to variables.
1012 * libm/configure.in: Add libtool support. Add
1013 LIBM_MACHINE_LIB variable.
1014 * libm/common/Makefile.am: Add libtool support.
1015 * libm/math/Makefile.am: Likewise.
1016 * libm/mathfp/Makefile.am: Likewise.
1017 Regenerate all Makefile.in, aclocal.m4, and configure.
1018
b92591a1
JJ
10192001-12-13 Anita Kulkarni <anitak@kpit.com>
1020
1021 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1022
355b664e
CF
10232001-12-06 John Peacock <jpeacock@rowman.com>
1024
1025 * libc/include/sys/unistd.h: Correct ualarm declaration.
1026
e9853806
NC
10272001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1028
1029 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1030 vector before calling the initialisation functions.
1031
a8e091b0
CF
10322001-11-29 Christopher Faylor <cgf@redhat.com>
1033
1034 * libc/include/dirent.h: Protect against multiple inclusion.
1035
ab634123
CF
10362001-11-27 Christopher Faylor <cgf@redhat.com>
1037
1038 * libc/include/sys/types.h: Define useconds_t.
1039 * libc/include/sys/ulimit.h: Declare ualarm.
1040
d37e401e
CF
10412001-11-21 Christopher Faylor <cgf@redhat.com>
1042
1043 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1044
8ac90051
HPN
10452001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
1046
1047 * libc/sys/mmixware/*: Tweak license header in all source files.
1048
d7ca37e4
CV
10492001-11-12 Corinna Vinschen <vinschen@redhat.com>
1050
1051 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1052 to here. Rearrange for general inclusion by stdlib.h.
1053 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1054 isn't defined.
1055 * libc/sys/linux/include/alloca.h: Move to libc/include.
1056
28f8744e
AG
10572001-11-12 Anthony Green <green@redhat.com>
1058
1059 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1060
4cede8c4
HPN
10612001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
1062
1063 * libc/sys/mmixware/*: Correct spacing in all source files.
1064 * libc/sys/mmixware/syscall.h: Move misplaced file...
1065 * libc/sys/mmixware/sys/syscall.h: ...here.
1066
8be9b48b
JJ
10672001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
1068
1069 * libc/include/machine/ieeefp.h: Add support for mmix target.
1070 * libc/include/machine/setjmp.h: Ditto.
1071 * configure.host: Ditto.
1072 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1073 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1074 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1075 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1076 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1077 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1078 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1079 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1080 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1081 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1082 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1083 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1084 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1085 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1086 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1087 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1088 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1089 libc/sys/mmixware/aclocal.m4: Generate.
1090
c7dd4f95
CV
10912001-11-05 Corinna Vinschen <corinna@vinschen.de>
1092
1093 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1094 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1095 when __CYGWIN__ is defined.
1096 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1097 logwtmp().
1098
a6a6f9fe
JJ
10992001-11-01 Arati Dikey <aratidikey@hotmail.com>
1100
1101 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1102 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1103 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1104 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1105
d0504c35
JJ
11062001-10-24 Christopher Faylor <cgf@redhat.com>
1107
1108 * libc/stdio/fseek.c: Reset pointer to buffer base
1109 when forced to seek outside of current buffer contents.
1110 This prevents the code from erroneously thinking there is
1111 anything in the current buffer.
1112
0280c8c0
GK
11132001-10-22 Geoffrey Keating <geoffk@redhat.com>
1114
1115 * libc/include/math.h: The C++ standard adds the single-precision
1116 versions of the elementary functions.
1117
333d6098
CF
11182001-10-22 Christopher Faylor <cgf@redhat.com>
1119
1120 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1121 throughout.
1122 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1123 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1124 * system.c (_system_r): Ditto.
1125
c7118319
CV
11262001-10-17 Corinna Vinschen <corinna@vinschen.de>
1127
1128 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 1129 __CYGWIN__ or __rtems__ is defined.
c7118319 1130
5665b0e1
JJ
11312001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
1132
1133 * libc/include/stdlib.h: add declarations for
1134 _strtoull_r, _strtoll_r, strtoull, and strtoll.
1135 * libc/stdio/local.h: remove declarations of
1136 __strtoull_r and __strtoll_r.
1137 * libc/stdio/vfscanf.c(__svfscanf_r): call
1138 _strtoull_r instead of __strtoull_r. Ditto
1139 _strtoll_r vs. __strtoll_r.
1140 * libc/stdlib/Makefile.am: add new files to
1141 .c list and .def list
1142 * libc/stdlib/Makefile.in: regenerate
1143 * libc/stdlib/strtoll_r.c: rename __strtoll_r
1144 as _strtoll_r
1145 * libc/stdlib/strtoull_r.c: rename __strtoull_r
1146 as _strtoull_r
1147 * libc/stdlib/strtoull.c: new file
1148 * libc/stdlib/strtoll.c: new file
1149
d2d5eb41
CF
1150Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
1151
1152 * libc/include/process.h: Add getpid() declaration.
1153
448e3c14
NC
11542001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1155
1156 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1157 for new style arm/elf ctor/dtor handling.
1158 Minor formatting tidy up.
1159
7a2afbbb
JJ
11602001-09-13 Jeff Johnston <jjohnstn@redhat.com>
1161
1162 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1163 and strtoull_r.c.
1164 * libc/stdlib/Makefile.in: Regenerated.
1165 * libc/stdlib/strtoll_r.c: New file.
1166 * libc/stdlib/strtoull_r.c: New file.
1167 * libc/stdio/local.h: Add prototypes for long long string
1168 conversion routines.
1169 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1170 tied to %L integer conversion specifier.
1171
6342caa4
JJ
1172Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
1173
1174 * strftime.c (strftime): Fix "%W" implementation to properly handle
1175 Mondays too.
1176
b2d319cb
JJ
11772001-09-07 Jeff Law <law@redhat.com>
1178
1179 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1180 __fini with "mov.l" instead of "mov.w".
1181
233823ba
CV
11822001-09-05 Corinna Vinschen <corinna@vinschen.de>
1183
1184 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1185 and getopt.h.
1186
63c17b54
JJ
11872001-09-04 Jason Merrill <jason_merrill@redhat.com>
1188
1189 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1190
a3e67ddf
CV
11912001-09-03 Corinna Vinschen <corinna@vinschen.de>
1192
1193 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1194 field.
1195 (__DIRENT_VERSION): New define.
1196
6d47f33a
CV
11972001-09-03 Corinna Vinschen <corinna@vinschen.de>
1198
1199 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
1200 Shrink __d_reserved accordingly to keep structure size.
1201 (dirfd): Declare external.
6d47f33a 1202
348c5e06
JJ
12032001-08-29 Joel Sherrill <joel@OARcorp.com>
1204
1205 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1206
12072001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1208
1209 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1210 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1211 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1212 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1213 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1214 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1215 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1216 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1217 Add conditional compilation to avoid HW FPU instructions
1218 when compiled for soft-float.
1219
f29865c5
JJ
12202001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1221
1222 * Makefile.am: Add check for ln failing when creating libg.a
1223 so that cp gets used as a backup.
1224 * Makefile.in: Regenerated.
1225
9e2a4ef8
JJ
12262001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1227
1228 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1229 No longer include time.h. Add struct __tm to use for
1230 _localtime_buf in the reentrant structure. Add a
1231 _NULL definition to use in initializing the reentrant struct.
1232 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1233 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1234 <sys/_types.h>.
1235 * libc/include/sys/unistd.h: Include <sys/_types.h>.
1236 * libc/time/lcltime.c (localtime): Cast the reentrant struct
1237 _localtime_buf to be struct tm *.
1238
1ae900d6
JR
1239Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
1240
1241 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1242 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1243 __ctors_end.
1244 * libc/sys/h8300hms/syscalls.c: Include errno.h.
1245 (_unlink): New stub function.
1246
8e26d5b5
CF
1247Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
1248
1249 * libc/include/sys/errno.h: Add a cautionary comment.
1250
e8267664
JJ
12512001-08-21 Jeff Johnston <jjohnstn@redhat.com>
1252
1253 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1254 for SIZE_SZ so that alignment ends up a minimum of 8.
1255
4acf3edf
CF
1256Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
1257
1258 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1259 arguments.
1260
1261 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1262 Cygwin.
1263
52c80be8
JJ
12642001-08-13 Jeff Johnston <jjohnstn@redhat.com>
1265
1266 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1267 macro constants for mallopt options.
1268 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1269
a7061f7f
JJ
12702001-08-02 Jeff Johnston <jjohnstn@redhat.com>
1271
1272 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1273 otherwise default.
1274
0b4bfdd5
AH
12752001-07-12 Aldy Hernandez <aldyh@redhat.com>
1276
1277 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1278
2b6b730c
NC
12792001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1280
1281 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1282 Define for little endian ARMs.
1283
1284 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1285 __IEEE_BYTES_LITTLE_ENDIAN is defined.
1286
25842b68
JJ
12872001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1288
1289 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1290
371b76ef
JJ
12912001-06-11 Egor Duda <deo@logos-m.ru>
1292
1293 * libc/ctype/ctype_.c: When compiled with gcc on platforms
1294 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1295 initialized memory region. Platform can define COMPACT_CTYPE
1296 to avoid allocation of the additional 128 bytes of data.
1297 Add pointer to _ctype_ array. Always initialize all _ctype_
1298 array elements.
1299
43b44bc5
JL
13002001-06-08 Jonathan Larmour <jlarmour@redhat.com>
1301
1302 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1303 NULL pointer.
1304
188bc140
NC
13052001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1306
1307 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1308
2ce88418
NC
13092001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
1310
1311 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1312 matching, non-word alignment, and the length is <= 4 but more than
1313 enough to move them over a word boundary.
1314 Add comments explaining what each instruction does.
1315
ca60ed47
CF
1316Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
1317
1318 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 1319 * libc/include/sys/unistd.h: Ditto.
ca60ed47 1320
8b3bcfba
JJ
13212001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
1322
1323 * libc/string/strrchr.c: Use strchr for the speed improvements.
1324
b09e3cf8
JJ
13252001-05-01 Jeff Johnston <jjohnstn@redhat.com>
1326
1327 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1328 real file systems, let __smakebuf() determine if line buffering
1329 should be used for stdout.
1330
0ca66974
JJ
13312001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1332
1333 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1334
7cb7017a
JJ
13352001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1336
1337 * libc/include/stdlib.h: Add prototype for _strtod_r.
1338
a874cd21
JJ
13392001-04-24 Charles Wilson <cwilson@ece.gatech.edu
1340
1341 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1342 * libc/stdio/vprintf.c (_vprintf_r): new function
1343 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1344 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1345 _DEFUN, and call _vfprintf_r, not vfprintf.
1346 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1347 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1348 _DEFUN, and call _vfprintf_r, not vfprintf.
1349
cb4cc283
CF
13502001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
1351
1352 * libc/include/sys/unistd.h [X_OK]: Use better protection against
1353 Cygwin X_OK definitions in sys/file.h.
1354
8c9df1d5
CF
1355Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
1356
1357 * libc/include/sys/time.h: Define timercmp and other macros for
1358 __CYGWIN__, too.
1359
3ac6f3a7
JJ
13602001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1361
1362 * acinclude.m4: Added --enable-malloc-debugging configure flag.
1363 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1364 --enable-malloc-debugging selected.
1365 * aclocal.m4 configure: Regenerated.
1366 libm/aclocal.m4 libm/configure: Ditto.
1367 * libc/aclocal.m4 libc/configure: Ditto.
1368 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1369 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1370 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1371 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1372 * doc/aclocal.m4 doc/configure: Ditto.
1373
52cb9e69
JJ
13742001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1375
1376 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1377 into one list.
1378 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1379 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1380 function prototypes.
1381 (_fscanf_r, _sscanf_r): Ditto.
1382 * libc/include/stdlib.h: Added _strtod_r prototype.
1383 * libc/stdio/Makefile.am: Add new v*scanf functions.
1384 * libc/stdio/Makefile.in: Regenerate.
1385 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1386 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
1387 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1388 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1389 (sscanf): Changed to call __svfscanf_r with _REENT argument.
1390 (_sscanf_r): New routine.
1391 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1392 with __svfscanf_r prototype.
1393 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1394 routines.
1395 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1396 structure as argument as calls reentrant versions of helper functions
1397 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1398 to _strtol_r and _strtod_r respectively.
1399 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1400 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1401 _REENT argument.
1402 * libc/stdio/vscanf.c: New file.
1403 * libc/stdio/vsscanf.c: Ditto.
1404
ee9f39fb
JJ
14052001-04-19 Robert Collins <rbtcollins@hotmail.com>
1406
1407 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
1408 Define daylight to _daylight if it is not defined
1409 Prepare a variable export of timezone based on timezonevariable.
1410 (Cannot be used with the timezone() function.)
1411
273861e3
JJ
14122001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
1413
1414 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1415 Correct the numerical values.
1416
a25b8414
CF
14172001-04-13 Robert Collins <rbtcollins@hotmail.com>
1418
1419 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1420
b8a8c59d
CV
1421Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
1422
1423 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1424 on case insensitve file systems.
1425
74f8cc63
CF
14262001-04-12 Robert Collins <rbtcollins@hotmail.com>
1427
1428 * libc/include/sys/features.h: Add appropriate defines for Cygwin
1429 pthread support.
1430 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1431 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1432 types. Include <cygwin/types.h> for the cygwin specific typedefs.
1433
16740220
RS
14342001-04-04 Richard Sandiford <rsandifo@redhat.com>
1435
1436 * libc/include/machine/ieeefp.h: Comment about new configuration
1437 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1438 * libm/common/fdlib.h: Define new macros for testing floats.
1439 * libm/common/sf_*: Use them.
1440 * libm/math/ef_*: Likewise.
1441 * libm/math/sf_*: Likewise.
1442
0694d8d3
JJ
14432001-03-29 Jeff Johnston <jjohnstn@redhat.com>
1444
1445 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1446 prolog to by-pass possible assembler error.
1447
4833b38c
JJ
14482001-03-21 Egor Duda <deo@logos-m.ru>
1449
1450 Allow building internal stubs for non-reentrant syscalls
1451 if target provides its own malloc
1452 * libc/reent/reent.c (errno): Move definition here.
1453 * libc/reent/sbrkr.c: From here.
1454
d17d6d42
CF
14552001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
1456
1457 * libc/include/sys/types.h (BSD int typedefs): Guard with
1458 _BSDTYPES_DEFINED rather than _WINSOCK_H.
1459 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1460 _SYS_TYPES_FD_SET.
1461 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1462 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1463
c7ee75cd
CV
1464Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
1465
1466 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1467 _PC_POSIX_SECURITY constants for Cygwin.
1468
63dc5d80
CV
1469Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
1470
1471 * libc/sys/cygwin/crt0.c: Add copyright hint.
1472 * libc/sys/cygwin/sys/dirent.h: Ditto.
1473 * libc/sys/cygwin/sys/param.h: Ditto.
1474 * libc/sys/cygwin/sys/utime.h: Ditto.
1475 * libc/sys/cygwin/sys/utmp.h: Ditto.
1476
6f637037
AO
14772001-03-13 Alexandre Oliva <aoliva@redhat.com>
1478
1479 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1480 equivalent to LONGINT.
1481
e69b6f73
JJ
14822001-03-08 Richard Sandiford <rsandifo@redhat.com>
1483
1484 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1485 jmpbuf on MIPS64 targets.
1486 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1487
6198dece
CF
1488Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
1489
e69b6f73
JJ
1490 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
1491 declarations.
6198dece 1492
cfc05d96
JJ
1493Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
1494
1495 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1496 For RTEMS, define to be ssize_t. Default to int if not defined.
1497 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1498 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1499 * libc/stdio/local.h (__sread, __swrite): Likewise.
1500 * libc/include/sys/reent.h (_read, _write): Likewise.
1501 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1502 * libc/syscalls/sysread.c (read): Likewise.
1503 * libc/syscalls/syswrite.c (write): Likewise.
1504
6249353a
JJ
15052001-03-05 Jeff Johnston <jjohnstn@redhat.com>
1506
1507 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1508
658b5db9
CF
1509Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
1510
1511 * libc/include/sys/stat.h: Use special defines for executable stat bits
1512 when compiling for Cygwin.
1513 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1514 for Cygwin.
1515
19ca46d5
JJ
15162001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1517
1518 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1519 of strtok_r is always defined.
1520
b73ed85e
JJ
15212001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1522
1523 * libc/include/machine/ansi.h: New dummy header file.
1524
ee37ede1
JJ
15252001-02-22 Jeff Johnston <jjohnstn@redhat.com>
1526
1527 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1528 changed the copyright information to allow free modification of the
1529 file with no reference to "copying.dj".
1530 * libc/include/sys/stat-dj.h: Ditto.
1531 * libc/machine/i386/setjmp.S: Ditto.
1532 * libc/sys/h8300hms/sys/file.h: Ditto.
1533 * libc/sys/sysmec/access.c: Ditto.
1534 * libc/sys/sysnecv850/access.c: Ditto.
1535 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1536 * libc/stdlib/getenv_r.c: Ditto.
1537 * libc/stdlib/putenv_r.c: Ditto.
1538 * libc/stdlib/setenv_r.c: Ditto.
1539 * libc/stdlib/getenv.c: Removed DJ reference since any possible
1540 modifications will now be in the _r version of this file.
1541 * libc/stdlib/putenv.c: Ditto.
1542 * libc/stdlib/setenv.c: Ditto.
1543 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1544 valid. Added a reference to DJ's web page that contains his address.
1545 * libc/sys/go32/*.s: Removed references to DJ's old address.
1546 * libc/sys/go32/*.c: Ditto.
1547 * libc/sys/go32/*.h: Ditto.
1548 * libc/sys/go32/*.S: Ditto.
1549 * libc/sys/go32/sys/*.h: Ditto.
1550
3a8fc0e4
JJ
15512001-02-21 Jeff Johnston <jjohnstn@redhat.com>
1552
1553 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1554 HAVE_FCNTL flag check.
1555 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1556 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1557
b24ee749
CF
1558Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
1559
1560 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1561
ab4745dc
JJ
15622001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1563
1564 * libc/include/stdlib.h: Add declarations of rand48 functions and
1565 their reentrant versions.
1566 * libc/include/sys/reent.h: Move macros from rand48.h. Add
1567 struct _rand48 for shared parameters of rand48 functions.
1568 (struct _reent): Add a variable _r48 of struct _rand48.
1569 (_REENT_INIT): Add _r48 initialization.
1570 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1571 (CHEWOUT_FILES): Add rand48.def.
1572 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1573 * libc/stdlib/Makefile.in: Regenerated.
1574 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1575 NetBSD C library.
1576 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1577 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1578 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1579 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1580 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1581 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1582 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1583 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1584 * libc/stdlib/rand48.c (__dorand48): Ditto.
1585 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1586 parameters into macros referring them in the reentrant structure.
1587
a34c461f
JJ
15882001-02-12 Jeff Johnston <jjohnstn@redhat.com>
1589
1590 * libc/include/sys/stat.h: Add mknod for Cygwin now that
1591 Cygwin definition has correct prototype.
1592
34f31ff2
JJ
15932001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1594
1595 * libc/include/sys/stat.h: Must revert change for mknod
1596 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1597 prototype.
1598
5336d6de
JJ
15992001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1600
1601 * libc/include/stdio.h: Revert putw prototype.
1602
8915d10a
JJ
16032001-02-08 Edward M. Lee <tailbert@yahoo.com>
1604
1605 * libc/include/grp.h: add prototype for initgroups.
1606 * libc/include/stdio.h: fix prototype for putw.
1607 * libc/include/sys/signal.h: add prototype for killpg.
1608 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1609 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1610 vhangup and remove duplicate sysconf prototype.
1611
93ac4487
JJ
16122001-02-07 Jeff Johnston <jjohnstn@redhat.com>
1613
1614 * libc/sys/rtems/sys/types.h: Removed.
1615
31f5feea
JJ
16162001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
1617
1618 * libc/include/locale.h: add LC_MESSAGES definition
1619
b5139f59
AO
16202001-02-01 Alexandre Oliva <aoliva@redhat.com>
1621
1622 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1623 SYS_get_argN):
1624 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1625 __setup_argv_and_call_main): New.
1626
e29d8355
JJ
16272001-01-31 Jeff Johnston <jjohnstn@redhat.com>
1628
1629 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1630 if defined.
1631 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1632 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1633 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1634 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1635
82ea92f3
CF
1636Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
1637
1638 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1639 compiling under Cygwin.
1640
3aaa66f8
JJ
16412001-01-29 Jeff Johnston <jjohnstn@redhat.com>
1642
1643 * libc/include/math.h (signgam): Change to errno-like solution
1644 using a function to return the address of the real signgam.
1645 * libc/reent/signgam.c: New file containing __signgam().
1646 * libc/reent/Makefile.am: Added signgam.c to list of files.
1647 * libc/reent/Makefile.in: Regenerated.
1648
610b895a
AO
16492001-01-25 Alexandre Oliva <aoliva@redhat.com>
1650
b0913397
AO
1651 * libc/sys/sh/syscalls.c (_times): New.
1652
610b895a
AO
1653 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1654 * libc/sys/sh/syscalls.c (_gettimeofday): New.
1655
3643210e
JJ
16562001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1657
1658 * libc/include/math.h (signgam): Regress previous fix as
1659 it does not handle programs with extern int signgam in them.
1660
841081c9
JJ
16612001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1662
1663 * libc/include/math.h (signgam): Changed to a macro refering to
1664 its location in the reentrant structure.
1665
e9cd87b8
JJ
16662001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1667
1668 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
1669 that suppressed . for %.0f, 0.1. Check now looks if there
1670 are padding zeroes (expt) in addition to any digits (ndig) to
1671 print.
1672
a302b48c
JJ
16732001-01-18 Jeff Johnston <jjohnstn@redhat.com>
1674
1675 * libc/sys/arc/Makefile.am: New file.
1676 * libc/sys/arc/Makefile.in: Ditto.
1677 * libc/sys/arc/aclocal.m4: Ditto.
1678 * libc/sys/arc/configure: Ditto.
1679 * libc/sys/arc/configure.in: Ditto.
1680 * libc/sys/arc/crt0.S: Ditto.
1681 * libc/sys/arc/isatty.c: Ditto.
1682 * libc/sys/arc/mem-layout.c: Ditto.
1683 * libc/sys/arc/sbrk.c: Ditto.
1684 * libc/sys/arc/syscalls.c: Ditto.
1685 * libc/sys/arc/sys/syscall.h: Ditto.
1686
d0319c3b
CF
1687Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
1688
1689 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
1690
e45ab890
CF
1691Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
1692
1693 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
1694
1376245a
DD
1695Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
1696
1697 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
1698
92b57543
NC
16992001-01-09 Nick Clifton <nickc@redhat.com>
1700
1701 * configure.host (v859): Remove unsupported compiler options.
1702
7d6d33d4
JJ
1703Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
1704
1705 * src/newlib/configure.host (*-*-rtems*): add printf long long
1706 support for RTEMS.
1707
602f8b5a 17082000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
1709
1710 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
1711
9c2b8183
JJ
1712Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1713
1714 * configure.host: Turn on long double I/O for Cygwin.
1715
804368d3
JJ
1716Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1717
1718 * MAINTAINERS: Removed Ranjith.
1719 * NEWS: Updated for 1.9.0.
1720 * README: Updated.
1721 * acinclude.m4: Updated to release 1.9.0.
1722 * aclocal.m4 configure
1723 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1724 libc/machine/aclocal.m4 libc/machine/configure
1725 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
1726 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
1727 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
1728 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
1729 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
1730 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
1731 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
1732 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
1733 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
1734 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
1735 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
1736 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
1737 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
1738 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
1739 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
1740 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
1741 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
1742 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
1743 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
1744 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
1745 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1746 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1747 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1748 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
1749 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1750 libc/sys/aclocal.m4 libc/sys/configure
1751 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1752 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1753 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1754 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1755 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1756 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1757 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1758 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1759 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
1760 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1761 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1762 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1763 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1764 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1765 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1766 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1767 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1768 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1769 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1770 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1771 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1772 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1773 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1774 libm/aclocal.m4 libm/configure: Regenerated.
1775
0985d43f
CV
1776Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1777
1778 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
1779 when __CYGWIN__ is defined.
1780
b6182a09
JJ
17812000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1782
1783 * libc/stdlib/ldtoa.c (_ldcheck): New routine
1784 that categorizes a long double as NaN, Infinity, or other.
1785 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
1786 isinfl and isnanl static routines which were i386-specific. Changed
1787 calls to the two removed routines to a single _ldcheck call.
1788 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
1789
adbbb034
JJ
17902000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1791
1792 * Makefile.am: Fixed install-data-local target to use
1793 $(mkinstalldirs) for the installed header files to ensure
1794 the directories exist before copying.
1795 * Makefile.in: Regenerated.
1796
cbd19336
JJ
17972000-12-12 Jeff Johnston <jjohnstn@redhat.com>
1798
1799 * libc/include/sys/unistd.h: Restored Cygwin _SC
1800 constants and moved new constants appropriately
1801 so Cygwin will build.
1802
8fb37963
JJ
18032000-12-11 Joel Sherrill <joel@OARcorp.com>
1804
1805 * Merge RTEMS specific .h files into main libc/include.
1806 * libc/sys/rtems/include/signal.h: Removed.
1807 * libc/sys/rtems/include/time.h: Removed.
1808 * libc/sys/rtems/sys/features.h: Removed.
1809 * libc/sys/rtems/sys/sched.h: Removed.
1810 * libc/sys/rtems/sys/siginfo.h: Removed.
1811 * libc/sys/rtems/sys/signal.h: Removed.
1812 * libc/sys/rtems/sys/time.h: Removed.
1813 * libc/sys/rtems/sys/times.h: Removed.
1814 definitions for time_t and clock_t since these are
1815 no longer in time.h.
1816 * libc/include/pthread.h: New file.
1817 * libc/include/sys/sched.h: New file.
1818 * libc/include/sys/features.h: New file.
1819 * libc/include/time.h: Removed duplicate definition of clock_t
1820 and time_t, get them from <sys/types.h> instead. Add prototypes
1821 for POSIX clock and timer functionality.
1822 * libc/sys/linux/sys/types.h: Changed to include
1823 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
1824 * libc/include/sys/signal.h: Add more complete set of POSIX
1825 signal functionality including real-time and threaded signals.
1826 * libc/include/sys/types.h: Add clock_t, time_t, struct
1827 timespec, and struct itimerspec. Centralizing these makes
1828 things cleaner. RTEMS uses 64-bit dev_t.
1829 Added numerous primitive definitions
1830 for pthreads including macros, pthread_attr_t,
1831 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
1832 pthread_once_t, and pthread_t.
1833 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
1834 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
1835 Feature flags removed and moved to new file <sys/features.h>.
1836 Full set of POSIX sysconf() constants
1837
2efbc2a7
JJ
18382000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
1839
1840 * configure.host: Added x86 linux target.
1841 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
1842 definitions provided if not already defined.
1843 * libc/sys/linux/crt0.c: New file.
1844 * libc/sys/linux/Makefile.am: Ditto.
1845 * libc/sys/linux/Makefile.in: Ditto.
1846 * libc/sys/linux/aclocal.m4: Ditto.
1847 * libc/sys/linux/brk.c: Ditto.
1848 * libc/sys/linux/configure: Ditto.
1849 * libc/sys/linux/configure.in: Ditto.
1850 * libc/sys/linux/getoptlong.c: Ditto.
1851 * libc/sys/linux/ids.c: Ditto.
1852 * libc/sys/linux/inode.c: Ditto.
1853 * libc/sys/linux/io.c: Ditto.
1854 * libc/sys/linux/linux.c: Ditto.
1855 * libc/sys/linux/process.c: Ditto.
1856 * libc/sys/linux/realpath.c: Ditto.
1857 * libc/sys/linux/select.c: Ditto.
1858 * libc/sys/linux/signal.c: Ditto.
1859 * libc/sys/linux/systat.c: Ditto.
1860 * libc/sys/linux/termios.c: Ditto.
1861 * libc/sys/linux/time.c: Ditto.
1862 * libc/sys/linux/wait.c: Ditto.
1863 * libc/sys/linux/include/alloca.h: Ditto.
1864 * libc/sys/linux/include/getopt.h: Ditto.
1865 * libc/sys/linux/include/stdint.h: Ditto.
1866 * libc/sys/linux/include/unistd.h: Ditto.
1867 * libc/sys/linux/sys/cdefs.h: Ditto.
1868 * libc/sys/linux/sys/dirent.h: Ditto.
1869 * libc/sys/linux/sys/errno.h: Ditto.
1870 * libc/sys/linux/sys/fcntl.h: Ditto.
1871 * libc/sys/linux/sys/file.h: Ditto.
1872 * libc/sys/linux/sys/ioctl.h: Ditto.
1873 * libc/sys/linux/sys/resource.h: Ditto.
1874 * libc/sys/linux/sys/signal.h: Ditto.
1875 * libc/sys/linux/sys/stat.h: Ditto.
1876 * libc/sys/linux/sys/syscall.h: Ditto.
1877 * libc/sys/linux/sys/termios.h: Ditto.
1878 * libc/sys/linux/sys/time.h: Ditto.
1879 * libc/sys/linux/sys/types.h: Ditto.
1880 * libc/sys/linux/sys/utmp.h: Ditto.
1881 * libc/sys/linux/sys/utsname.h: Ditto.
1882 * libc/sys/linux/sys/wait.h: Ditto.
1883
a08c98bb
JJ
18842000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1885
1886 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
1887 can be a relative path to $(top_srcdir)/install.sh so ensure the
1888 autoconf detected settings are properly passed recursively.
1889 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
1890 properly to subdirectories.
1891 * Makefile.in: Regenerated.
1892
b294082c
JJ
18932000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
1894
1895 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
1896 a floating point register unless really printing a floating
1897 point number.
1898
2005ab6b
JJ
18992000-12-07 Jeff Johnston <jjohnstn@redhat.com>
1900
1901 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
1902 Also removed \r's.
1903 (asctoeg): Replaced alloca call with stack array and malloc
1904 when storage exceeds reasonable limit.
1905 (e53toe): Fixed einfin calls missing ldp parameter.
1906 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
1907
9f6e8f1b
JJ
19082000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1909
2005ab6b 1910
9f6e8f1b
JJ
1911 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
1912
6bdac416
JJ
19132000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1914
1915 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
1916 * libc/stdlib/Makefile.in: Regenerated.
1917 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
1918 * libc/stdio/vfieeefp.h: Added long double bit structures.
1919 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
1920 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
1921 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
1922 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
1923 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
1924 _strtold routines used for conversions between character
1925 and long double.
1926
ec270d31
CV
1927Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1928
1929 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
1930
db2d9549
JJ
19312000-12-04 Joel Sherrill <joel@OARcorp.com>
1932
1933 * libc/include/machine/time.h: RTEMS systems can configure clock
1934 tick rate so use sysconf() to ask.
1935
6ba54a15
JJ
19362000-12-04 Joel Sherrill <joel@OARcorp.com>
1937
1938 * libc/include/sys/times.h: Add reference to POSIX standard.
1939
8677b819
JJ
19402000-12-04 Joel Sherrill <joel@OARcorp.com>
1941
1942 * libc/include/sys/time.h: Added BSD timer manipulation macros
1943 used by RTEMS code.
1944
1b61a706
JJ
19452000-12-04 Joel Sherrill <joel@OARcorp.com>
1946
1947 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
1948 referenced by code generated by gcc 2.8.1.
1949 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1950 satisfy gcc.
1951
f5e7c124
JJ
19522000-12-04 Joel Sherrill <joel@OARcorp.com>
1953
1954 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
1955
768abc9c
JJ
19562000-12-04 Joel Sherrill <joel@OARcorp.com>
1957
1958 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
1959
9e5dd5ea
JJ
19602000-12-04 Joel Sherrill <joel@OARcorp.com>
1961
1962 * configure.host (or16, or32): New entries for OpenCores
1963 OpenRisc CPUs.
1964 (*-*-rtems*): Add -DNO_EXEC.
1965
768abc9c 19662000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
1967
1968 * libc/include/sys/errno.h: Added comments on many error numbers.
1969 * libc/string/strerror.c: Added some more strings.
1970
b273323f
JJ
19712000-11-30 Jeff Johnston <jjohnstn@redhat.com>
1972
1973 * libc/sys/sh/syscalls.c (_link): New stub.
1974
0ffc3b94
NC
19752000-11-29 Nick Clifton <nickc@redhat.com>
1976
1977 * configure.host: Add xscale target.
1978 * libc/machine/xscale: New directory.
1979 * libc/machine/xscale/Makefile.am: New file.
1980 * libc/machine/xscale/Makefile.in: New file.
1981 * libc/machine/xscale/aclocal.m4: New file.
1982 * libc/machine/xscale/configure: New file.
1983 * libc/machine/xscale/configure.in: New file.
1984 * libc/machine/xscale/memchr.S: New file.
1985 * libc/machine/xscale/memcmp.S: New file.
1986 * libc/machine/xscale/memcpy.S: New file.
1987 * libc/machine/xscale/memmove.S: New file.
1988 * libc/machine/xscale/memset.S: New file.
1989 * libc/machine/xscale/strchr.S: New file.
1990 * libc/machine/xscale/strcmp.S: New file.
1991 * libc/machine/xscale/strcpy.S: New file.
1992 * libc/machine/xscale/strlen.S: New file.
1993
cbbf0f96
CV
1994Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1995
1996 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
1997 avoid compiler warnings.
1998
73dea790
MM
19992000-11-22 Michael Meissner <meissner@redhat.com>
2000
2001 * libc/posix/execl.c (execl): Don't reference environ directly,
2002 reference it only via a static pointer to avoid problems with some
2003 shared library systems and with different uses of small data where
2004 the user specifies his own version of environ.
2005 * libc/posix/execv.c (execv): Ditto.
2006 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2007 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2008 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2009
2010 * libc/stdlib/getenv.c (environ): Delete unused reference to
2011 environ.
2012
2013 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2014 colorization.
2015 * libc/stdlib/system.c: Ditto.
2016
08eac2ae
CF
2017Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
2018
2019 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2020 including windows headers.
2021
5478bf37
JJ
20222000-11-20 Jeff Johnston <jjohnstn@redhat.com>
2023
2024 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2025 * libc/include/dirent.h: Added definition of MAXNAMLEN if
2026 not defined by sys/dirent.h.
2027 * libc/posix/execvp.c: Added include of dirent.h to get
2028 MAXNAMLEN value which used to be in unistd.h.
2029
3a760728
CV
2030Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2031
2032 * libc/include/sys/types.h: Change type of i to `size_t' in
2033 FD_ZERO macro to avoid compiler warnings.
2034
86fff69f
CF
2035Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
2036
2037 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2038 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2039
ba9e88d2
CV
2040Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2041
2042 * libc/include/sys/unistd.h: Add defines for sysconf values
2043 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2044 _SC_AVPHYS_PAGES.
2045
a8018ef3
CF
2046Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
2047
2048 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2049 declarations for __CYGWIN__.
2050
b944c6f6
GK
20512000-09-19 Geoffrey Keating <geoffk@cygnus.com>
2052
2053 * libc/signal/signal.c (__sigtramp_r): ISO C requires
2054 case labels to be integral constant expressions, so
2055 use an if/else tree instead.
2056 (_raise_r): Likewise.
2057
7f18fcb4
JJ
20582000-09-13 Jeff Johnston <jjohnstn@redhat.com>
2059
2060 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2061 clipping patch from e-mail reader.
2062
242361df
JJ
20632000-09-13 Will Cohen <wcohen@redhat.com>
2064
2065 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2066 Added return value 0.
2067 (_longjmp): Allow longjmp to return value of second argument
2068 passed to it.
2069
8a8c59b9
JJ
20702000-09-06 Jeff Johnston <jjohnstn@redhat.com>
2071
2072 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2073 inline code to prevent having to include another header file.
2074
a385ae75
CF
2075Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
2076
2077 * Makefile.am: Fix space vs. tab problem in install-data-local.
2078 * Makefile.in: Regenerate.
2079
2080Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
2081
2082 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2083 (_EXPARM): New macro for defining a function parameter.
2084 * libc/include/stdlib.h: Use _EXPARM.
2085 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2086
a36cd013
JJ
20872000-09-05 Manfred Hollstein <manfredh@redhat.com>
2088
2089 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2090 required, as documented in the gnu coding standards.
2091 * Makefile.in: Regenerate.
2092
f825dfda
JJ
20932000-09-05 Jeff Johnston <jjohnstn@redhat.com>
2094
2095 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2096 make O_NDELAY and O_NONBLOCK have the same value.
2097
4ba9aab7
JJ
20982000-08-30 Kazu Hirata <kazu@hxi.com>
2099
2100 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2101
db7acc38
JJ
21022000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
2103
2104 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2105 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2106 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2107 everywhere else.
2108
44e36af4
GK
21092000-08-30 Geoffrey Keating <geoffk@cygnus.com>
2110
2111 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2112 * libc/include/string.h: Don't include <sys/types.h>,
2113 as it causes really bad namespace pollution. Don't declare
2114 swab(), it is properly declared in unistd.h.
2115
00a2f168
JJ
21162000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
2117
2118 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2119 (broken) support for non-existent /etc/passwd field "comment".
2120
6beeb240
JJ
21212000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2122
2123 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2124 only if _DIRENT_HAVE_D_NAMLEN is defined.
2125 (alphasort): aligned prototype with
2126 libc/sys/cygwin/sys/dirent.h and simplified function body.
2127 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2128 long telldir (DIR *) as mentioned in annex B of POSIX.1
2129
ef44da42
JJ
21302000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2131
2132 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2133 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2134 Added __CLI and __STI macros (controlled via
2135 _I386MACH_ALLOW_HW_INTERRUPTS macro).
2136 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2137 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2138 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2139 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2140 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2141 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2142 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2143 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2144 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2145 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2146 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2147 for all global entry points.
2148 * libc/machine/i386/setjmp.S: removed code replicated in
2149 libc/machine/i386/i386mach.h and included i386mach.h instead;
2150 Use __CLI and __STI instead of cli and sti.
2151
14d3488d
DD
21522000-08-25 DJ Delorie <dj@redhat.com>
2153
2154 * libc/include/sys/unistd.h (environ): this one isn't from the
2155 DLL, no __IMPORT
2156
c9ca4412
CF
2157Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
2158
2159 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2160 environ when compiling under cygwin since it is already declared in
2161 unistd.h.
2162
2d5862de
JJ
21632000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2164
2165 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2166 like x << y-z to the equivalent x << (y-z).
2167 (d2b): changed if statements with assignment to perform the
2168 assignment prior to the if check.
2169 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2170 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2171 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2172 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2173 precedence.
2174 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2175 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2176 execve.c).
2177 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2178 precedence.
2179 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2180 clarify && and || precendence (and to remove pascalism).
2181 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2182 * libm/math/s_infconst.c: added another pair of braces to all
2183 initializers for __infinity (need three: for __infinity[1] array,
2184 for union __dmath, and for i[2]).
2185
0888fedd
JJ
21862000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2187
199359f0
JJ
2188 * libc/stdlib/abort.c: changed description: uses "raise" instead of
2189 "getpid" and "kill"; added: uses "write" and "_exit".
2190 Also included unistd.h for "_exit" prototype.
2191 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2192 reent.h for "_fork_r" and "_wait_r" prototypes.
2193 (do_system): changed extern char *environ[] to POSIX-friendly
2194 extern char **environ.
2195 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2196 prototypes.
2197 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2198 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2199 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2200 * libc/reent/openr.c: included fcntl.h for "open" prototype.
2201 * libc/reent/signalr.c: included signal.h for "kill" prototype,
2202 unistd.h for "getpid" prototype.
2203 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2204 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2205 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2206 prototype. Also included stdlib.h for "abort", string.h for
2207 "strdup" and "strncmp" prototypes.
2208 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2209 "strncpy", unistd.h for "read" and "close" prototypes.
2210 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2211 "strcat" prototypes.
2212
22132000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
2214
0888fedd
JJ
2215 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2216 used later (ifdef __SCLE)
2217 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2218 used later (ifdef MB_CAPABLE)
2219 * libc/string/memset.c (memset): removed unused variables "count"
2220 and "unaligned_addr"
2221 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2222 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2223 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2224 and "gid"
2225
a334e5ef
JJ
22262000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2227
2228 * libc/stdlib/envlock.c: changed documented "__env_lock" and
2229 "__env_unlock" prototype from "void *" or "char *" to
2230 "struct _reent *" to match real function. Also added include
2231 of envlock.h.
2232 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2233 "__malloc_unlock" prototype from "void *" or "char *" to
2234 "struct _reent *" to match real function.
2235 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2236 prototypes (for getenv_r.c and setenv_r.c).
2237
644b7f26
DD
22382000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
2239
2240 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2241 and prototype in cygwin's utmp.h
2242
5bacbf10
JJ
22432000-08-16 Eric Fifer <efifer@sanwaint.com>
2244
2245 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2246
38a6bf98
NC
22472000-08-09 Nick Clifton <nickc@cygnus.com>
2248
2249 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2250 epilogue and to allow the functions to be used in a Thumb based
2251 toolchain.
2252
befe0fb3
JJ
22532000-08-08 Jeff Johnston <jjohnstn@redhat.com>
2254
2255 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2256 so size of 0 results in nothing being written to string.
2257 Also fixed code so that when size is non-zero, there is only
2258 a maximum of size - 1 characters written to the array and
2259 a nul terminator is appended at the end.
2260 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2261
749d9bcd
DD
22622000-08-01 DJ Delorie <dj@redhat.com>
2263
2264 * libc/include/sys/config.h: define __IMPORT appropriately
2265 * libc/include/ctype.h (_ctype_): use __IMPORT
2266 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2267 * libc/include/math.h (__mb_cur_max): ditto
2268 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2269 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2270 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2271 * libc/include/unistd.h (environ): ditto
2272
7c110b17
MM
22732000-07-28 Michael Meissner <meissner@redhat.com>
2274
2275 * libc/include/math.h (__infinity): Declare as an array without
2276 bounds to get around small data support. Rewrite Cygwin support
2277 to be more general.
2278 * libm/math/s_infconst.c (__infinity): Ditto.
2279 * libm/mathfp/s_infconst.c (__infinity): Ditto.
2280
bf7be721
CF
2281Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
2282
2283 * libc/include/math.h: Use appropriate dll import linkage for
2284 __infinity under Cygwin.
2285
91a8d90b
DD
22862000-07-13 DJ Delorie <dj@cygnus.com>
2287
2288 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2289
ba2048d3
JJ
2290Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
2291
2292 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2293 to argument list for AngelSWI_Reason_GetCmdLine.
2294
4634da64
JJ
2295Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2296
2297 * configure.host: Add support for AVR target.
2298 * libc/include/machine/ieeefp.h: Likewise.
2299 * libc/include/sys/config.h: Likewise.
2300
b19f72a2
RK
2301Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2302
2303 * README: Newlib 1.8.2 must be built in a separate directory
2304 than the sources.
2305
a704d94a
JJ
2306Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2307
2308 * libc/include/sys/reent.h (_rand_next): Added __extension__
2309 qualifier as long long type is not strict ANSI.
2310 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2311 to long long constant.
2312
b585720b
CV
2313Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
2314
2315 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2316 `setegid' provided by Cygwin.
2317
01c327ba
CV
2318Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
2319
2320 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2321 account for Cygwin.
2322
46a43a99
JJ
2323Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2324
2325 * libc/include/sys/reent.h (_rand_next): Changed to
2326 unsigned long long and moved to end of _reent struct in _new union.
2327 (_REENT_INIT): Changed to move _rand_next initialization.
2328 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2329 linear congruential algorithm that is used by DJGPP.
2330
a68078cb
RK
2331Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2332
2333 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2334 * libc/include/sys/config.h: Define __RAND_MAX.
2335
518882f3
JJ
2336Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2337
2338 * libc/stdlib/rand_r.c: New algorithm that meets minimal
2339 standard.
2340
d51d968a
CF
2341Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
2342
2343 * libc/include/string.h: Work around problem with strsignal and gdb.
2344
d2dd5765
CF
2345Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
2346
2347 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2348 * libc/include/malloc.h: Ditto.
2349 * libc/include/process.h: Ditto.
2350 * libc/include/stdio.h: Ditto.
2351 * libc/include/stdlib.h: Ditto.
2352 * libc/include/time.h: Ditto.
2353 * libc/include/machine/setjmp.h: Ditto.
2354 * libc/include/sys/errno.h: Ditto.
2355 * libc/include/sys/signal.h: Ditto.
2356 * libc/include/sys/stat.h: Ditto.
2357 * libc/include/sys/time.h: Ditto.
2358 * libc/include/sys/unistd.h: Ditto.
2359 * libc/include/string.h: Ditto. strsignal should return a const char *.
2360
88870218
JJ
23612000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
2362
2363 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2364 * libm/common/s_log1p.c (log1p): Likewise.
2365 * libm/common/s_scalbn.c (scalbn): Likewise.
2366 * libm/math/e_log.c: Likewise.
2367 * libm/math/e_asin.c: Likewise.
2368 * libm/math/ef_asin.c: Likewise.
2369 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2370 * libm/math/e_j1.c (pone, qone): Likewise.
2371 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2372 * libm/math/ef_j1.c (ponef, qonef): Likewise.
2373 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2374 * libm/mathfp/e_j1.c (pone, qone): Likewise.
2375 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2376 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2377
c4e1aa01
DD
23782000-05-19 DJ Delorie <dj@cygnus.com>
2379
2380 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2381 (__sread): always read in binary mode
2382 (__swrite): always write in binary mode
2383 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2384 compatibility issues with different dll versions
2385 * libc/stdio/fopen.c: use __stextmode
2386 * libc/stdio/fdopen.c: ditto
2387 * libc/stdio/freopen.c: ditto
2388 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2389 * libc/stdio/local.h: declare __stextmode
2390
f4393261
DD
23912000-05-18 DJ Delorie <dj@cygnus.com>
2392
2393 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2394
2b533fac
JJ
2395Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2396
2397 * libc/include/ctype.h: Changed tolower and toupper macros
2398 to use __extension__ to prevent pedantic warnings.
2399
75362a76
RK
2400Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
2401
2402 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2403 structures.
2404
ec463fc7
JW
2405Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
2406
2407 * libc/include/machine/ieeefp.h: Add ia64 support.
2408 * configure.host: Likewise.
2409
f35ceefa
JJ
2410Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
2411
2412 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2413 month is now padded with space, not zero. This now conforms to
2414 ANSI standard.
2415
b96fca8c
CV
2416Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
2417
2418 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2419 host or network path") used by cygwin. Add some comments.
2420
49d64538
JJ
2421Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
2422
2423 * libc/include/stdio.h (FILE): define __SCLE for "convert line
2424 endings" for Cygwin.
2425 (__sgetc): convert line endings if needed
2426 (__sputc): ditto
2427 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2428 * libc/stdio/fopen.c (_fopen_r): ditto
2429 * libc/stdio/freopen.c (freopen): ditto
2430 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2431 * libc/stdio/fvwrite.c (__sfvwrite): ditto
2432
91fb1e7f
AO
2433Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
2434
2435 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2436 post-increment when it is worth it, spacewise.
2437
c87be3e4
JJ
2438Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2439
2440 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2441 * libc/stdio/findfp.c (std): Added declaration of flags and file.
2442 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
2443 return type.
2444 * libc/stdio/putchar.c (putchar): Added return statement.
2445 * libc/stdio/refill.c (lflush): Added correct parentheses.
2446 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2447 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
2448 prints long value to use l qualifier.
2449 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2450 messages and initialized local values: ilim, ilim1, and spec_case.
2451 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2452 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2453 * libc/stdlib/mprec.c: Ditto.
2454 * libc/stdlib/setenv_r.c: Ditto.
2455 * libc/stdlib/strtod.c: Ditto.
2456 * libc/stdlib/strtol.c: Ditto.
2457 * libc/stdlib/strtoul.c: Ditto.
2458 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2459 * libm/common/sf_log1p.c: Ditto.
2460 * libm/common/sf_scalbn.c: Ditto.
2461 * libm/math/ef_log.c: Ditto.
2462
11f5b065
CV
2463Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
2464
2465 * libc/posix/execvp.c (execvp): Check path for
2466 trailing slash.
2467
796e3b20
CV
2468Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
2469
2470 * libc/include/sys/unistd.h: Add prototypes for
2471 fchmod, fchown, lchown.
2472
b489803a
JJ
2473Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2474
2475 * acinclude.m4: Changed release to 1.8.2.
2476 * aclocal.m4 configure doc/aclocal.m4 doc/configure
2477 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2478 libc/machine/configure libc/machine/a29k/aclocal.m4
2479 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2480 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2481 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2482 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2483 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2484 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2485 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2486 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2487 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2488 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2489 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2490 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2491 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2492 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2493 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2494 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2495 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2496 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2497 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2498 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2499 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2500 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2501 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2502 libc/machine/z8k/configure libc/sys/aclocal.m4
2503 libc/sys/aclocal.m4 libc/sys/configure
2504 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2505 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2506 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2507 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2508 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2509 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2510 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2511 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2512 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2513 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2514 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2515 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2516 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2517 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2518 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2519 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2520 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2521 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2522 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2523 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2524 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2525 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2526 libm/aclocal.m4 libm/configure: Regenerated.
2527
79908d67
NC
25282000-03-24 Nick Clifton <nickc@cygnus.com>
2529
2530 * libc/sys/arm/syscalls.c: Fix compile time warnings.
2531 (do_AngelSWI): Add "cc" to list o registers clobbered.
2532
7684ddaf
FN
2533Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2534
2535 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2536 information to be clobbered by an Angel C library support syscall.
2537
b8ec20c8
JJ
2538Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2539
2540 * libc/stdlib/envlock.c: Fixed comment typo.
2541
fae4c299
JJ
2542Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2543
2544 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2545 code to update nread as each character is processed instead
2546 of using buffer contents which throw away leading zeroes.
2547
dc98804b
RK
2548Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
2549
2550 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2551
5ed2f523
JJ
2552Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
2553
2554 * libc/include/string.h: Include <sys/types.h>.
2555
1cf0ee34
AO
2556Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2557
2558 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2559 with XSH5, not SVID.
2560
e9c94978
JJ
2561Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2562
2563 * libc/include/string.h: Changed last argument back to ssize_t
2564 to make it compatible with XPG4 definition which is
2565 defined in <unistd.h>. There is a conflict in the SVID 3
2566 and XPG4 definitions and newlib will settle with XPG4.
2567 * libc/string/swab.c: Ditto.
2568
3072163c
JJ
2569Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2570
2571 * libc/include/string.h: Changed last argument to size_t.
2572 * libc/string/swab.c: Changed last argument to size_t.
2573
f205ea7a
AO
2574Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2575
2576 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2577 (CHEWOUT_FILES): Added unlinkr.def.
2578 * libc/reent/Makefile.in: Rebuilt.
2579 * libc/sys.tex: Include unlinkr.def.
2580 * libc/reent/linkr.c (_unlink_r): Moved to...
2581 * libc/reent/unlinkr.c: ... new file.
2582
85dd2e5b
AO
2583Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2584
2585 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2586 (CHEWOUT_FILES): Added swab.def.
2587 * libc/string/Makefile.in: Rebuilt.
2588 * libc/string/string.tex: Include swab.def.
2589 * libc/include/string.h (swab): Declare.
2590 * libc/string/swab.c: New file.
2591
c5053058
AO
2592Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2593
2594 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2595 (CHEWOUT_FILES): Added getw.def and putw.def.
2596 * libc/stdio/Makefile.in: Rebuilt.
2597 * libc/stdio/stdio.tex: Include getw.def and putw.def.
2598 * libc/stdio/getw.c: New file.
2599 * libc/stdio/putw.c: New file.
2600
dbaf37cf
JJ
2601Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2602
2603 * libc/stdio/flags.c (__sflags): Added check that mode[1]
2604 is non-null before looking at mode[2].
2605
bc019ef2
RK
2606Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2607
2608 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2609 * libm/mathfp/sf_atan.c: Ditto.
2610
2611Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
2612
2613 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2614
cd641b2d
RK
2615Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2616
2617 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2618 _DOUBLE_IS_32BITS.
2619
b0ba0ac2
JJ
2620Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2621
2622 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2623 call prior to calling _VFPRINTF_R so reentrant data area is set.
2624 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2625
8a0efa53
CF
2626Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2627
2628 * libc/stdio/vfscanf.c (limits.h): #include.
2629 (MAX_LONG_LEN): #define.
2630 (__svfscanf): Handle floating point numbers with arbitrary amounts
2631 of leading zeroes.
2632
26332000-02-15 Nick Clifton <nickc@cygnus.com>
2634
2635 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2636 zero. Set the blocksize to 1024/
2637
2638Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2639
2640 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
2641 with line buffering.
2642
2643Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2644
2645 * acinclude.m4: Changed include directory for winsup headers.
2646 * aclocal.m4 configure libc/aclocal.m4
2647 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2648 libc/locale/Makefile.in libc/machine/aclocal.m4
2649 libc/machine/configure libc/machine/a29k/aclocal.m4
2650 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2651 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2652 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2653 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2654 libc/machine/fr30/configure
2655 libc/machine/h8300/aclocal.m4
2656 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2657 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2658 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2659 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2660 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2661 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2662 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2663 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2664 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2665 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2666 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2667 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2668 libc/machine/powerpc/configure
2669 libc/machine/sh/aclocal.m4
2670 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2671 libc/machine/sparc/configure
2672 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2673 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2674 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2675 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2676 libc/misc/Makefile.in libc/posix/Makefile.in
2677 libc/reent/Makefile.in
2678 libc/signal/Makefile.in
2679 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
2680 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2681 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
2682 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2683 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
2684 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2685 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2686 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2687 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2688 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2689 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2690 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2691 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2692 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
2693 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
2694 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
2695 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
2696 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
2697 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
2698 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
2699 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
2700 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
2701 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
2702 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
2703 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
2704 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
2705 libm/configure: Regenerated.
2706
2707Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
2708
2709 * libc/stdlib/putenv_r.c (_putenv_r): New file.
2710 * libc/stdlib/strdup_r.c (_strdup_r): New file.
2711 * libc/include/string.h: Added _strdup_r.
2712 * libc/stdlib/putenv.c: Added call to reentrant version.
2713 * libc/stdlib/strdup.c: Ditto.
2714 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
2715 * libc/include/stdlib.h: Ditto.
2716 * libc/stdlib/Makefile.in: Regenerated.
2717 * libc/string/Makefile.in: Regenerated.
2718 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
2719 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
2720 management calls to reentrant versions.
2721 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
2722 * libc/stdlib/wctomb.c: Ditto.
2723 * libc/stdlib/mblen.c: Ditto.
2724 * libc/stdlib/mbstowcs.c: Ditto.
2725 * libc/stdlib/mbtowc.c: Ditto.
2726 * libc/stdlib/getenv.c: Ditto.
2727 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
2728 and _strdup_r.
2729
2730Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
2731
2732 patch from Corinna Vinschen <corinna@vinschen.de>
2733 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
2734
bc019ef2 2735Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
2736
2737 * libm/mathfp/s_atangent.c: Fix exponent calculation.
2738 * libm/mathfp/s_ldexp.c: Ditto.
2739 * libm/mathfp/sf_atangent.c: Ditto.
2740 * libm/mathfp/sf_ldexp.c: Ditto.
2741
2742Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2743
2744 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
2745 * libc/include/locale.h: define NULL to be 0.
2746
2747Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
2748
2749 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
2750 function.
2751
2752Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
2753
2754 * libc/machine/mn10300/setjmp.S: Handle am33.
2755
27561999-11-26 Nick Clifton <nickc@cygnus.com>
2757
2758 * libc/sys/arm/syscalls.c: Add function prototypes.
2759 (stack_ptr): Move declaration before function definitions.
2760
2761Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2762
2763 * NEWS: Updated version information.
2764 * README: Ditto.
2765
2766Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
2767
2768 * libc/machine/i386/strchr.S: Fixed alignment test.
2769
2770Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
2771
2772 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
2773
2774Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
2775
2776 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
2777 ensuring that there is space between the two.
2778
2779Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
2780
2781 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
2782 only.
2783
27841999-10-08 Vadim Egorov <egorovv@1c.ru>
2785
2786 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
2787 section
2788
2789Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2790
2791 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
2792 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
2793
2794Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
2795 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
2796 per POSIX 1003.1b.
2797 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
2798 per POSIX 1003.1b.
2799
28001999-09-13 DJ Delorie <dj@cygnus.com>
2801
2802 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
2803 also.
2804
2805Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2806
2807 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
2808 also note BUFSIZ as its size.
2809
2810Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
2811
2812 * configure.host: Corrected feature defines for RTEMS.
2813 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
2814 * libc/include/sys/stat.h: mkfifo() should take const path arg.
2815 * libc/include/sys/unistd.h: pathconf() should take const path arg.
2816 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
2817 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
2818 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
2819 _PC_PRIO_IO, and _PC_SYNC_IO.
2820 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
2821 * libc/machine/m68k/Makefile.in: Regenerated.
2822 * libc/machine/m68k/strcpy.c: New file.
2823 * libc/machine/m68k/strlen.c: New file.
2824 * libc/stdio/tmpnam.c: Always make the returned name usable.
2825 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
2826 * libc/sys/rtems/sys/dirent.h: New file.
2827 * libc/sys/rtems/sys/types.h: Added dev_t.
2828
2829Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
2830
2831 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
2832
2833Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
2834
2835 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
2836 my patch.
2837
2838Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
2839
2840 patch from Jeff Johnston <jjohnstn@cygnus.com>
2841 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
2842 buffer is not in a useful state.
2843
28441999-09-01 Nick Clifton <nickc@cygnus.com>
2845
2846 * libc/sys/arm/syscalls.c (_link): Add stub.
2847
2848Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2849
2850 * ftell.c (ftell): Use actual position within buffer for text mode.
2851 * findfp.c (std): Initialize ptr->_bf._size.
2852
2853Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
2854
2855 * libc/include/sys/unistd.h: Add nice() declaration.
2856
28571999-08-09 Nick Clifton <nickc@cygnus.com>
2858
2859 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
2860 declare as a thumb function so that the disassembler will see the
2861 mode change.
2862
2863Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2864
2865 * libc/reent/reent.tex: Updated list of reentrant functions.
2866
28671999-07-09 Michael Meissner <meissner@cygnus.com>
2868
2869 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
2870
2871Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
2872
2873 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
2874 separate file.
2875 * libc/stdio/snprintf.c: New file.
2876 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
2877 separate file.
2878 * libc/stdio/vsnprintf.c: New file.
2879 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
2880 * libc/stdio/Makefile.in: Regenerated.
2881
2882Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
2883
2884 Patch submitted by Egor Duda <deo@logos-m.ru>:
2885 * libc/include/stdio.h: Add declarations for *nprintf.
2886 * libc/stdio/sprintf.c (snprintf): New function.
2887 (_snprintf_r): New function.
2888 * libc/stdio/vsprintf.c (vsnprintf): New function.
2889 (_vnsprintf_r): New function.
2890
2891Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2892
2893 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
2894 * libm/Makefile.am (stmp-targetdep): Ditto.
2895 * libc/Makefile.in: Regenerated.
2896 * libm/Makefile.in: Ditto.
2897
2898Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2899
2900 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
2901 * libm/Makefile.am (stmp-targetdep): Ditto.
2902 * libc/Makefile.in: Regenerated.
2903 * libm/Makefile.in: Ditto.
2904
2905Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2906
2907 * Makefile.am: Removed dependencies on all-recursive and added "."
2908 to the SUBDIRS list to prevent infinite recursion from occurring.
2909 Also removed any references to EXTRA_DATA.
2910 * libc/Makefile.am: Ditto.
2911 * libc/machine/Makefile.am: Ditto.
2912 * libc/machine/i386/Makefile.am: Ditto.
2913 * libm/Makefile.am: Ditto.
2914 * libc/sys/Makefile.am: Ditto.
2915 * Makefile.in: Regenerated.
2916 * aclocal.m4: Ditto.
2917 * configure: Ditto.
2918 * doc/Makefile.in: Ditto.
2919 * doc/aclocal.m4: Ditto.
2920 * doc/configure: Ditto.
2921 * libc/Makefile.in: Ditto.
2922 * libc/aclocal.m4: Ditto.
2923 * libc/configure: Ditto.
2924 * libc/machine/Makefile.in: Ditto.
2925 * libc/machine/aclocal.m4: Ditto.
2926 * libc/machine/configure: Ditto.
2927 * libc/machine/mn10300/Makefile.in: Ditto.
2928 * libc/machine/mn10300/aclocal.m4: Ditto.
2929 * libc/machine/mn10300/configure: Ditto.
2930 * libc/sys/Makefile.in: Ditto.
2931 * libc/sys/aclocal.m4: Ditto.
2932 * libc/sys/configure: Ditto.
2933 * libm/Makefile.in: Ditto.
2934 * libm/aclocal.m4: Ditto.
2935 * libm/configure: Ditto.
2936
2937Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2938
2939 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
2940
2941Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2942
2943 * libc/include/stdlib.h: Add reentrant routines.
2944 * libc/stdlib/Makefile.am: Add reentrant routines.
2945 * libc/stdlib/Makefile.in: Ditto.
2946 * libc/stdlib/envlock.c: New file.
2947 * libc/stdlib/envlock.h: New file.
2948 * libc/stdlib/getenv.c: Modify to call reentrant routine.
2949 * libc/stdlib/getenv_r.c: New file.
2950 * libc/stdlib/mblen.c: Modify to call reentrant routine.
2951 * libc/stdlib/mblen_r.c: New file.
2952 * libc/stdlib/setenv.c: Modify to call reentrant routine.
2953 * libc/stdlib/setenv_r.c: New file.
2954 * libc/stdlib/stdlib.tex: Add reentrant routines.
2955
2956Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
2957
2958 * libc/include/sys/types.h: Define __MS_types__ whenever
2959 cygwin or win32.
2960
2961Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
2962
2963 * libc/include/machine/ieeefp.h: Always default to little
2964 endian if Windows, regardless of architecture.
2965 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
2966 regardless of architecture.
2967
2968Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
2969
2970 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
2971 _WIN32 isn't defined.
2972
2973Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
2974
2975 * libm/common/s_rint.c (rint): Add volatile qualifier for
2976 intermediate value w.
2977 * libm/common/sf_rint.c (rintf): Ditto.
2978
2979Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2980
2981 * libc/sys/arm/syscalls.c (remap_handle): Added check to
2982 ensure that std streams are initialized before being referenced.
2983
29841999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
2985
2986 * README: Update reference to newlib@cygnus.com new
2987 newlib@sourceware.cygnus.com address.
2988
2989Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
2990
2991 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
2992 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
2993 defined, even if _WIN32 isn't defined.
2994
2995Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
2996
2997 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
2998
2999Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3000
3001 * libc/include/sys/reent.h: Change Long and ULong to __Long and
3002 __ULong.
3003 * libc/stdlib/dtoa.c: Ditto.
3004 * libc/stdlib/mprec.c: Ditto.
3005 * libc/stdlib/mprec.h: Ditto.
3006 * libc/stdlib/strtod.c: Ditto.
3007
30081999-04-21 Nick Clifton <nickc@cygnus.com>
3009
3010 * configure.host (mcore): Remove mcore machine directory.
3011
30121999-04-18 Nick Clifton <nickc@cygnus.com>
3013
3014 * libc/include/machine/ieeefp.h: Add support for mcore target.
3015 * libc/include/machine/setjmp.h: Add support for mcore target.
3016 * configure.host: Add support for mcore target.
3017
30181999-04-13 Mark Salter <msalter@cygnus.com>
3019
3020 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3021 * libc/sys/arm/syscalls.c: Added isatty.
3022
3023Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3024
3025 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3026 insert zeroes after significant digits.
3027
3028Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3029
3030 * libc/stdio/vfprintf.c (cvt): Changed floating point
3031 cvt routine to use union used by dtoa to properly determine
3032 if the sign bit is on or not.
3033 * libc/stdio/vfieeefp.h: New file
3034
3035Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3036
3037 * aclocal.m4: Regenerated.
3038 * configure: Regenerated.
3039
3040Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3041
3042 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3043 f_tanf reference.
3044 * libc/machine/i386/Makefile.in: Regenerated.
3045
3046Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
3047
3048 * acinclude.m4: Changed to work with new automake.
3049 * configure: Regenerated.
3050 * libc/machine/i386/aclocal.m4: Regenerated.
3051 * libc/machine/i386/configure: Regenerated.
3052
3053Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
3054
3055 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3056 for telldir() and seekdir(). Rename unused structure element
3057 for use with these two routines.
3058
3059Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
3060
3061 * libc/time/mktime.c (validate_structure): Multiple fixes to
3062 code to handle cases where input fields are outside valid ranges.
3063 * libc/stdlib/div.c (div): Modified invalid rounding check.
3064 * libc/stdlib/ldiv.c (ldiv): Ditto.
3065
3066Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
3067
3068 * libc/machine/i386/memcpy.S: Performance rewrite.
3069 * libc/machine/i386/memmove.S: Ditto.
3070 * libc/machine/i386/i386mach.h: Added more register definitions.
3071 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3072 option used.
3073 * libc/include/machine/fastmath.h: Add definitions for x86
3074 fast-math routines.
3075
3076Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3077
3078 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3079
3080Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
3081
3082 Adjust newlib headers for new Cygwin Win32 API header files:
3083 * libc/include/sys/time.h: Check _WINSOCK_H rather than
3084 _GNU_H_WINDOWS32_SOCKETS.
3085 * libc/include/sys/types.h: Ditto.
3086
3087Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3088
3089 *include/sys/reent.h: Add checks for size of Bigint element Long.
3090 *libc/dtoa.c: Change routines to use generic Long type.
3091 *libc/mprec.c: Change routines to use generic Long type.
3092 *libc/mprec.h: Change routines to use generic Long type.
3093
3094Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
3095
3096 * libc/Makefile.am: Add .def files.
3097 * libc/Makefile.in: Regenerate.
3098 * libc/e_acosh.c: Documentation update.
3099 * libc/e_atanh.c: Documentation update.
3100 * libc/e_hypot.c: Documentation update.
3101 * libc/e_remainder.c: Documentation update.
3102 * libc/er_lgamma.c: Documentation update.
3103 * libc/mathfp.tex: Documentation update.
3104 * libc/s_acos.c: Documentation update.
3105 * libc/s_atan.c: Documentation update.
3106 * libc/s_atan2.c: Documentation update.
3107 * libc/s_cosh.c: Documentation update.
3108 * libc/s_fmod.c: Documentation update.
3109 * libc/s_isnan.c: Documentation update.
3110 * libc/s_log10.c: Documentation update.
3111 * libc/s_pow.c: Documentation update.
3112 * libc/w_jn.c: Documentation update.
3113
3114Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
3115
3116 * aclocal.m4: Regenerate.
3117 * configure: Regenerate.
3118
3119Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
3120
3121 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3122 to return 1 if user specified return code is 0.
3123 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3124
3125Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
3126
3127 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3128 to save the return address. Fixed longjmp to return to the original
3129 calling address of setjmp and to return the user specified return code
3130 rather than default to 1.
3131 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3132
3133Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
3134
3135 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3136
31371999-02-10 Nick Clifton <nickc@cygnus.com>
3138
3139 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3140 volatile so that its assignments will not be discarded.
3141
3142Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
3143
3144 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3145 be __STRICT_ANSI__ which is generated by compiler.
3146 * libc/include/ctype.h: Ditto.
3147 * libc/include/math.h: Ditto.
3148 * libc/include/stdio.h: Ditto.
3149 * libc/include/stdlib.h: Ditto.
3150 * libc/include/string.h: Ditto.
3151 * libc/include/sys/signal.h: Ditto.
3152
31531999-02-08 Nick Clifton <nickc@cygnus.com>
3154
3155 * configure.host: Add support for StrongARM target.
3156
3157Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
3158
3159 * libc/string/strncpy.c (strncpy): Removed redundant code
3160 that was copying bytes if data unaligned.
3161
31621999-02-02 Brendan Kehoe <brendan@cygnus.com>
3163
3164 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3165 mbstowcs.def, and wcstombs.def.
3166
3167Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
3168
3169 * libc/include/sys/errno.h: Add Cygwin errno.
3170 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3171 is specified.
3172
31731999-01-29 Nick Clifton <nickc@cygnus.com>
3174
3175 * libc/sys/arm/syscalls.c: Move C library functions into seperate
3176 file.
3177
3178 * libc/sys/arm/libcfunc.c: New file containing C library functions
3179 from syscalls.c
3180
3181 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3182 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3183
3184
31851999-01-27 Michael Meissner <meissner@cygnus.com>
3186
3187 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3188 type, and cut size in half so that the jmp_buf array is guaranteed
3189 to be aligned on a 64-bit boundary.
3190
3191Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
3192
3193 * libc/string/strings.tex: Added information about
3194 strcasecmp and strncasecmp.
3195 * libc/stdlib/stdlib.tex: Added missing information
3196 about mblen, mbstowcs, and wcstombs.
3197 * libc/string/strchr.c: Changed how mask is built to use
3198 shift operators so register will be used instead of storage.
3199
32001999-01-22 DJ Delorie <dj@cygnus.com>
3201
3202 * libc/include/stdlib.h: don't use dllimport if we're building
3203 newlib, since it's inside cygwin.dll
3204
3205Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
3206
3207 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3208 _ctype_ under cygwin.
3209
3210Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
3211
3212 * include/stdlib.h: Fix typo from previous checkin.
3213
3214Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
3215
3216 * include/ctype.h: Use __declspec(dllimport) method for exporting
3217 variable from cygwin DLL.
3218 * include/time.h: Ditto.
3219 * sys/errno.h: Ditto.
3220 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3221 * libc/locale/locale.c: Use __declspec(dllexport) method for
3222 exporting variable from cygwin DLL.
3223
3224Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
3225
3226 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3227 access of bogus pointer will result in SIGSEGV.
3228
32291999-01-07 Nick Clifton <nickc@cygnus.com>
3230
3231 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3232 of an underscore prefix to function names.
3233
3234Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
3235
3236 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3237 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3238
32391998-12-31 Michael Meissner <meissner@cygnus.com>
3240
3241 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3242 to `%' if not already defined.
3243
32441998-12-30 Michael Meissner <meissner@cygnus.com>
3245
3246 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3247 arguments const char *, not char *.
3248 * libc/include/stdio.h (_tempnam_r): Ditto.
3249
3250 * libc/include/sys/reent.h (struct _reent): The _sig_func type
3251 points to a function taking an integer, not void.
3252
3253Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
3254
3255 * configure.host: Add a define for Cygwin builds.
3256 * libc/include/ctype.h: Don't use dll imported variables in newlib.
3257
3258Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
3259
3260 * libc/include/ctype.h: Define _ctype_ as dll imported variable
3261 for use with Cygwin.
3262 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3263 dll imported variables for use with Cygwin.
3264 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3265 as a dll imported variable for Cygwin.
3266
3267Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
3268
3269 * libc/include/sys/unistd.h: Add proto for getpass.
3270
3271Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
3272
3273 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3274 alphasort.
3275
3276Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
3277
3278 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3279 not posix_path_list_p.
3280
32811998-12-15 Nick Clifton <nickc@cygnus.com>
3282
3283 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3284 a signed int.
3285
32861998-12-13 Nick Clifton <nickc@cygnus.com>
3287
3288 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3289
32901998-12-12 Nick Clifton <nickc@cygnus.com>
3291
3292 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3293 <msalter@cygnus.com>
3294 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3295 * libc/machine/fr30/Makefile.in: Regenerated.
3296
32971998-12-11 Nick Clifton <nickc@cygnus.com>
3298
3299 * configure.host: Remove use of libc/sys for FR30 port.
3300 * libc/sys/fr30: Remove directory (replaced by libgloss).
3301
33021998-12-10 Ken Raeburn <raeburn@cygnus.com>
3303
3304 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3305 * libc/string/strncat.c (ALIGNED): Ditto.
3306
3307Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
3308
3309 * libc/include/sys/time.h: include sys/types.h
3310
3311Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
3312
3313 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3314 comparison found when checking word at a time.
3315
33161998-12-04 Nick Clifton <nickc@cygnus.com>
3317
3318 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3319
33201998-12-03 Nick Clifton <nickc@cygnus.com>
3321
3322 * libc/sys/fr30/syscalls.c (_times): New function stub.
3323
3324Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3325
3326 * configure.host (mach_add_setjmp): Replaced mach_add_objs
3327 with mach_add_setjmp flag which indicates if setjmp should
3328 be added to the machine directory objects.
3329 * acinclude.m4: Removed reference to mach_add_objs.
3330 * aclocal.m4: Regenerated.
3331 * Makefile.in: Regenerated.
3332 * configure: Regenerated.
3333 * libc/aclocal.m4: Regenerated.
3334 * libc/Makefile.in: Regenerated.
3335 * libc/configure: Regenerated.
3336 * libc/machine/aclocal.m4: Regenerated.
3337 * libc/machine/Makefile.in: Regenerated.
3338 * libc/machine/configure: Regenerated.
3339 * libc/machine/i386/aclocal.m4: Regenerated.
3340 * libc/machine/i386/Makefile.am: Altered to selectively add
3341 setjmp.S to the src files list.
3342 * libc/machine/i386/Makefile.in: Regenerated.
3343 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3344 * libc/machine/i386/configure: Regenerated.
3345
33461998-12-02 Nick Clifton <nickc@cygnus.com>
3347
3348 * libc/sys/fr30/crt0.s (_start): Fix function names.
3349
3350 * libc/machine/fr30: New directory
3351 * libc/machine/fr30/Makefile.am: New file.
3352 * libc/machine/fr30/Makefile.in: New generated file.
3353 * libc/machine/fr30/configure.in: New file.
3354 * libc/machine/fr30/configure: New generated file.
3355 * libc/machine/fr30/aclocal.m4: New generated file.
3356 * libc/sys/fr30/Makefile.am: New file.
3357 * libc/sys/fr30/Makefile.in: New generated file.
3358 * libc/sys/fr30/configure.in: New file.
3359 * libc/sys/fr30/configure: New generated file.
3360 * libc/sys/fr30/syscalls.c: New file.
3361
3362Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
3363
3364 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3365
33661998-12-01 Ken Raeburn <raeburn@cygnus.com>
3367
3368 * libc/time/strftime.c (strftime): Also handle %y for years before
3369 1900.
3370
3371Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
3372
3373 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3374 UNIX convention. Perform tolower on characters before comparing
3375 them rather than use toupper.
3376 * libc/string/strncasecmp.c (strncasecmp): Ditto.
3377
3378Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3379
3380 * configure.host: Added using i386 machine directory
3381 for all x86 cross-compiler and configuring
3382 which added object files to use via new "mach_add_objs" variable.
3383 * configure: Regenerated.
3384 * libc/configure: Regenerated.
3385 * libc/Makefile.in: Regenerated.
3386 * libc/aclocal.m4: Regenerated.
3387 * libc/ctype/Makefile.in: Regenerated.
3388 * libc/errno/Makefile.in: Regenerated.
3389 * libc/locale/Makefile.in: Regenerated.
3390 * libc/machine/Makefile.in: Regenerated.
3391 * libc/machine/aclocal.m4: Regenerated.
3392 * libc/machine/configure: Regenerated.
3393 * libc/posix/Makefile.in: Regenerated.
3394 * libc/reent/Makefile.in: Regenerated.
3395 * libc/signal/Makefile.in: Regenerated.
3396 * libc/stdio/Makefile.in: Regenerated.
3397 * libc/stdlib/Makefile.in: Regenerated.
3398 * libc/string/Makefile.in: Regenerated.
3399 * libc/string/memmove.c: Optimized code to use memcpy
3400 logic when performing a non-destructive copy.
3401 * libc/string/strncmp.c: Altered code to allow building
3402 optimized for size or speed.
3403 * libc/syscalls/Makefile.in: Regenerated.
3404 * libc/time/Makefile.in: Regenerated.
3405 * libc/unix/Makefile.in: Regenerated.
3406 * libc/machine/i386/Makefile.am: Added new files and reference
3407 to "mach_add_objs" to indicate optional object files.
3408 * libc/machine/i386/Makefile.in: Regenerated.
3409 * libc/machine/i386/aclocal.m4: Regenerated.
3410 * libc/machine/i386/configure: Regenerated.
3411 * libc/machine/i386/memchr.S: New file that implements
3412 function in Intel assembler.
3413 * libc/machine/i386/memcmp.S: ditto.
3414 * libc/machine/i386/memcpy.S: ditto.
3415 * libc/machine/i386/memmove.S: ditto.
3416 * libc/machine/i386/memset.S: ditto.
3417 * libc/machine/i386/strchr.S: ditto.
3418 * libc/machine/i386/strlen.S: ditto.
3419 * libc/machine/i386/f_atan2.S: New file that implements
3420 fast version of math function to be used by compiler when
3421 --ffast_math compile option is used.
3422 * libc/machine/i386/f_atan2f.S: ditto.
3423 * libc/machine/i386/f_exp.c: ditto.
3424 * libc/machine/i386/f_expf.c: ditto.
3425 * libc/machine/i386/f_frexp.S: ditto.
3426 * libc/machine/i386/f_frexpf.S: ditto.
3427 * libc/machine/i386/f_ldexp.S: ditto.
3428 * libc/machine/i386/f_ldexpf.S: ditto.
3429 * libc/machine/i386/f_log.S: ditto.
3430 * libc/machine/i386/f_logf.S: ditto.
3431 * libc/machine/i386/f_log10.S: ditto.
3432 * libc/machine/i386/f_log10f.S: ditto.
3433 * libc/machine/i386/f_math.h: New file.
3434 * libc/machine/i386/f_pow.c: ditto.
3435 * libc/machine/i386/f_powf.S: ditto.
3436 * libc/machine/i386/f_tan.S: ditto.
3437 * libc/machine/i386/f_tan.S: ditto.
3438 * libc/machine/i386/i386mach.h: New file.
3439
3440Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
3441
3442 patch from Mumit Khan <khan@xraylith.wisc.edu>
3443 * libc/include/stdio.h (tempnam): Add prototype.
3444 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3445 (tempnam): Adhere to prototype.
3446
3447Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
3448
3449 * Makefile.am: Add default for AR_FLAGS.
3450 * Makefile.in: Regenerate.
3451
3452Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3453
3454 * libc/include/time.h: move __cplusplus wrapper after includes
3455 * libc/include/sys/time.h: ditto. If Cygwin, include
3456 sys/select.h.
3457 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3458
34591998-11-23 Ken Raeburn <raeburn@cygnus.com>
3460
3461 * libc/time/strftime.c (strftime): Handle %y after year 2000.
3462
3463Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
3464
3465 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3466 abnormnal end-of-crt0 marker.
3467
3468Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
3469
3470 * libc/sys/fr30/crt0.s: New file/directory.
3471 * libc/include/machine/setjmp.h: Add FR30 target.
3472 * libc/include/machine/ieeefp.h: Add FR30 target.
3473 * configure.host: Add FR30 target.
3474
3475Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3476
3477 * libm/math: Files that are duplicated in common directory removed.
3478 * libm/math/fdlibm.h: Removed.
3479 * libm/math/s_cbrt.c: Removed.
3480 * libm/math/s_copysign.c: Removed.
3481 * libm/math/s_expm1.c: Removed.
3482 * libm/math/s_finite.c: Removed.
3483 * libm/math/s_ilogb.c: Removed.
3484 * libm/math/s_infinity.c: Removed.
3485 * libm/math/s_lib_ver.c: Removed.
3486 * libm/math/s_log1p.c: Removed.
3487 * libm/math/s_logb.c: Removed.
3488 * libm/math/s_matherr.c: Removed.
3489 * libm/math/s_modf.c: Removed.
3490 * libm/math/s_nan.c: Removed.
3491 * libm/math/s_nextafter.c: Removed.
3492 * libm/math/s_rint.c: Removed.
3493 * libm/math/s_scalbn.c: Removed.
3494 * libm/math/sf_cbrt.c: Removed.
3495 * libm/math/sf_copysign.c: Removed.
3496 * libm/math/sf_expm1.c: Removed.
3497 * libm/math/sf_finite.c: Removed.
3498 * libm/math/sf_ilogb.c: Removed.
3499 * libm/math/sf_infinity.c: Removed.
3500 * libm/math/sf_log1p.c: Removed.
3501 * libm/math/sf_logb.c: Removed.
3502 * libm/math/sf_modf.c: Removed.
3503 * libm/math/sf_nan.c: Removed.
3504 * libm/math/sf_nextafter.c: Removed.
3505 * libm/math/sf_rint.c: Removed.
3506 * libm/math/sf_scalbn.c: Removed.
3507 * libm/math/Makefile.am: Removed references to deleted files (above).
3508 * libm/math/Makefile.in: Regenerated.
3509 * libm/Makefile.am: Added common directory to math.
3510 * libm/Makefile.in: Regenerated.
3511
3512Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3513
3514 * libm/mathfp: Add non-ANSI functions.
3515 * libm/mathfp/e_acosh.c acosh(): New file.
3516 * libm/mathfp/e_atanh.c atanh(): New file.
3517 * libm/mathfp/e_hypot.c hypot(): New file.
3518 * libm/mathfp/e_j0.c j0(): New file.
3519 * libm/mathfp/e_j1.c j1(): New file.
3520 * libm/mathfp/e_remainder.c remainder(): New file.
3521 * libm/mathfp/e_scalb.c scalb(): New file.
3522 * libm/mathfp/ef_acosh.c acoshf(): New file.
3523 * libm/mathfp/ef_atanh.c atanhf(): New file.
3524 * libm/mathfp/ef_hypot.c hypotf(): New file.
3525 * libm/mathfp/ef_j0.c j0f(): New file.
3526 * libm/mathfp/ef_j1.c j1f(): New file.
3527 * libm/mathfp/ef_remainder.c remainderf(): New file.
3528 * libm/mathfp/ef_scalb.c scalbf(): New file.
3529 * libm/mathfp/er_gamma.c gamma_r: New file.
3530 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3531 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3532 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3533 * libm/mathfp/w_cabs.c cabs(): New file.
3534 * libm/mathfp/w_drem.c drem(): New file.
3535 * libm/mathfp/w_jn.c jn(): New file.
3536 * libm/mathfp/wf_cabs.c cabsf(): New file.
3537 * libm/mathfp/wf_drem.c dremf(): New file.
3538 * libm/mathfp/wf_jn.c jnf(): New file.
3539
3540Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
3541
3542 * libc/sys/cygwin32: remove directory and contents
3543 * libc/sys/cygwin: and add back, losing the "32".
3544 * configure.host: check for cygwin* instead of cygwin32.
3545 * acinclude.m4: ditto.
3546 * aclocal.m4: regenerate with aclocal
3547 * configure: regenerate with autoconf
3548
3549Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
3550
3551 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3552 for length
3553
3554Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3555
3556 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3557 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3558 to make rand/srand, strtok, asctime, localtime, w_gamma,
3559 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
3560 time.h to bring in struct tm definition.
3561 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3562 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3563 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3564 instead of static variable.
3565 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3566 struct reent instead of static variable.
3567 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3568 struct reent instead of static variable.
3569 * libm/math/Makefile.am: Removed s_signgam.o.
3570 * libm/math/Makefile.in: Regenerated.
3571 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3572 struct reent instead of global variable 'signgam'.
3573 * libm/math/w_lgamma.c (lgamma): Likewise.
3574 * libm/math/wf_gamma.c (gammaf): Likewise.
3575 * libm/math/wf_lgamma.c (lgammaf): Likewise.
3576 * libm/math/s_signgam.c: Removed.
3577 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3578 to be const.
3579 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3580 to be const.
3581 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3582 libc/include/reent.h.
3583 * libc/reent/Makefile.in: Regenerated.
3584 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3585 to be const.
3586 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3587 'JIS_action_table' to be const.
3588 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3589
3590Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
3591
3592 * acinclude.m4: $with_target_subdir should default to '.'
3593 or confusion results when configuring in same directory as sources.
3594 * Regenerate all aclocal.m4 and configure files.
3595
3596Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
3597
3598 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3599 can be set by defining MALLOC_ALIGNMENT=16. Also added support
3600 for platforms where sizeof(size_t) < sizeof(long) via
3601 SIZE_T_SMALLER_THAN_LONG macro.
3602
3603Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
3604
3605 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3606 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3607 which sets _CLOCKS_PER_SEC_ for selected machines.
3608 * libc/include/machine/time.h: New file.
3609
3610Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3611
3612 * libc/syscalls/sysexecve.c: New file.
3613 * libc/syscalls/sysgettod.c: New file.
3614 * libc/syscalls/systimes.c: New file.
3615 * libc/syscalls/Makefile.am: Added new objects.
3616 * libc/syscalls/Makefile.in: Regenerated.
3617 * libc/include/_syslist.h (_execve): Moved define in file.
3618 * libc/include/reent.h: Added _execve_r declaration.
3619 * libc/Makefile.in: Regenerated.
3620 * libc/ctype/Makefile.in: Regenerated.
3621 * libc/errno/Makefile.in: Regenerated.
3622 * libc/locale/Makefile.in: Regenerated.
3623 * libc/machine/Makefile.in: Regenerated.
3624 * libc/misc/Makefile.in: Regenerated.
3625 * libc/posix/Makefile.in: Regenerated.
3626 * libc/reent/Makefile.in: Regenerated.
3627 * libc/reent/execr.c (_execve_r): Added _execve_r function.
3628 * libc/signal/Makefile.in: Regenerated.
3629 * libc/stdio/Makefile.in: Regenerated.
3630 * libc/time/Makefile.in: Regenerated.
3631 * libc/unix/Makefile.in: Regenerated.
3632 * libm/mathfp/Makefile.in: Regenerated.
3633
3634Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3635
3636 * libc/string/Makefile.in: Regenerated.
3637 * libc/string/memchr.c (memchr): Moved code to reduce object size.
3638 * libc/string/memcpy.c (memcpy): Ditto.
3639 * libc/string/memcmp.c (memcmp): Ditto.
3640 * libc/string/memset.c (memset): Ditto.
3641 * libc/string/strchr.c (strchr): Ditto.
3642 * libc/string/strcmp.c (strcmp): Ditto.
3643 * libc/string/strcpy.c (strcpy): Ditto.
3644 * libc/string/strlen.c (strlen): Ditto.
3645
3646Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3647
3648 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3649 to generate aclocal.m4.
3650 * libm/Makefile.in: Regenerated.
3651 * libm/aclocal.m4: Regenerated.
3652 * libm/configure: Regenerated.
3653 * libm/math/Makefile.in: Regenerated.
3654 * libm/mathfp/Makefile.in: Regenerated.
3655
36561998-09-25 Mark Salter <msalter@cygnus.com>
3657
3658 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3659 by adding leading and trailing underscores to symbol names.
3660
3661Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
3662
3663 * Makefile.in: Add default for AR_FLAGS.
3664
3665Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
3666
3667 patch from ian@airs.com (Ian Taylor):
3668 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
3669 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
3670 is needed for detecting the build machine. Required for
3671 cygwin native builds.
3672
3673 * Regenerate all aclocal.m4 and configure files.
3674
3675Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
3676
3677 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
3678 used to start with LC.
3679
3680Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3681
3682 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
3683 (longjmp): Likewise.
3684
3685Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3686
3687 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
3688 the test for small number of bytes.
3689
3690Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3691
3692 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
3693 math library that uses floating point algorithms instead of the old
3694 libm.
3695 * Makefile.in: Regenerate with automake version 1.3b.
3696 * configure: Rebuild.
3697 * libm/Makefile.in: Regenerate with automake version 1.3b.
3698 * libm/aclocal.m4: Regenerate.
3699 * libm/configure: Rebuild.
3700 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
3701 * libm/acinclude.m4: Define macros for configure.in.
3702 * libm/config.h.in: Generate.
3703 * libm/mathfp/Makefile.am: New file.
3704 * libm/mathfp/Makefile.in: Generate.
3705 * libm/mathfp/s_acos.c (acos): New file.
3706 * libm/mathfp/s_asin.c (asin): New file.
3707 * libm/mathfp/s_asine.c (asine): New file.
3708 * libm/mathfp/s_atan.c (atan): New file.
3709 * libm/mathfp/s_atan2.c (atan2): New file.
3710 * libm/mathfp/s_atangent.c (atangent): New file.
3711 * libm/mathfp/s_ceil.c (ceil): New file.
3712 * libm/mathfp/s_copysign.c (copysign): New file.
3713 * libm/mathfp/s_cos.c (cos): New file.
3714 * libm/mathfp/s_cosh.c (cosh): New file.
3715 * libm/mathfp/s_exp.c (exp): New file.
3716 * libm/mathfp/s_fabs.c (fabs): New file.
3717 * libm/mathfp/s_finite.c (finite): New file.
3718 * libm/mathfp/s_floor.c (floor): New file.
3719 * libm/mathfp/s_fmod.c (fmod): New file.
3720 * libm/mathfp/s_frexp.c (frexp): New file.
3721 * libm/mathfp/s_infconst.c: New file.
3722 * libm/mathfp/s_isinf (isinf).c: New file.
3723 * libm/mathfp/s_isnan.c (isnan): New file.
3724 * libm/mathfp/s_ispos.c (ispos): New file.
3725 * libm/mathfp/s_ldexp.c (ldexp): New file.
3726 * libm/mathfp/s_log.c (log): New file.
3727 * libm/mathfp/s_log10.c (log10): New file.
3728 * libm/mathfp/s_logarithm.c (logarithm): New file.
3729 * libm/mathfp/s_mathcnst.c: New file.
3730 * libm/mathfp/s_modf (modf).c: New file.
3731 * libm/mathfp/s_numtest.c (numtest): New file.
3732 * libm/mathfp/s_pow.c (pow): New file.
3733 * libm/mathfp/s_scalbn.c (scalbn): New file.
3734 * libm/mathfp/s_sin (sin).c: New file.
3735 * libm/mathfp/s_sine.c (sine): New file.
3736 * libm/mathfp/s_sineh.c (sineh): New file.
3737 * libm/mathfp/s_sinf.c (sinf): New file.
3738 * libm/mathfp/s_sinh.c (sinh): New file.
3739 * libm/mathfp/s_sqrt.c (sqrt): New file.
3740 * libm/mathfp/s_tan.c (tan): New file.
3741 * libm/mathfp/s_tanh.c (tanh): New file.
3742 * libm/mathfp/sf_acos.c (acosf): New file.
3743 * libm/mathfp/sf_asin.c (asinf): New file.
3744 * libm/mathfp/sf_asine.c (asinef): New file.
3745 * libm/mathfp/sf_atan.c (atanf): New file.
3746 * libm/mathfp/sf_atan2.c (atan2f): New file.
3747 * libm/mathfp/sf_atangent.c (atangent): New file.
3748 * libm/mathfp/sf_ceil.c (ceilf): New file.
3749 * libm/mathfp/sf_copysign.c (copysignf): New file.
3750 * libm/mathfp/sf_cos.c (cosf): New file.
3751 * libm/mathfp/sf_cosh.c (coshf): New file.
3752 * libm/mathfp/sf_exp.c (expf): New file.
3753 * libm/mathfp/sf_fabs.c (fabsf): New file.
3754 * libm/mathfp/sf_finite.c (finitef): New file.
3755 * libm/mathfp/sf_floor.c (floorf): New file.
3756 * libm/mathfp/sf_fmod.c (fmodf): New file.
3757 * libm/mathfp/sf_frexp.c (frexpf): New file.
3758 * libm/mathfp/sf_isinf.c (isinff): New file.
3759 * libm/mathfp/sf_isnan.c (isnanf): New file.
3760 * libm/mathfp/sf_ispos.c (isposf): New file.
3761 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
3762 * libm/mathfp/sf_log.c (logf): New file.
3763 * libm/mathfp/sf_log10.c (log10f): New file.
3764 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
3765 * libm/mathfp/sf_modf.c (modff): New file.
3766 * libm/mathfp/sf_numtest.c (numtestf): New file.
3767 * libm/mathfp/sf_pow.c (powf): New file.
3768 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
3769 * libm/mathfp/sf_sin.c (sinf): New file.
3770 * libm/mathfp/sf_sine.c (sinef): New file.
3771 * libm/mathfp/sf_sineh.c (sinehf): New file.
3772 * libm/mathfp/sf_sinh.c (sinhf): New file.
3773 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
3774 * libm/mathfp/sf_tan.c (tanf): New file.
3775 * libm/mathfp/sf_tanh.c (tanhf): New file.
3776 * libm/mathfp/zmath.h: New file.
3777
3778Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3779
3780 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
3781 exit if it has been overwritten by pre-fetching in delay slot.
3782
37831998-09-01 Michael Meissner <meissner@cygnus.com>
3784
3785 * Makefile.am (tooldir): Add in host_alias, so that multilib
3786 libraries are installed in the directory the compiler looks in.
3787 * Makefile.in: Regenerate.
3788
3789 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
3790
3791Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
3792
3793 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
3794 ahead of test for number of bytes being moved.
3795
3796Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
3797
3798 * libc/include/sys/unistd.h: Nothing special needed for
3799 _exit under cygwin.
3800
3801Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
3802
3803 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
3804 conform to user label naming conventions.
3805
3806Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
3807
3808 * libc/sys/cygwin32/sys/utime.h: variable names in
3809 protos should start with two leading underscores
3810 * libc/include/string.h: ditto
3811 * libc/include/sys/signal.h: ditto
3812 * libc/include/sys/stat.h: ditto
3813 * libc/include/sys/time.h: ditto
3814 * libc/include/sys/unistd.h: ditto
3815 * libc/include/ctype.h: ditto
3816 * libc/include/stdlib.h: ditto
3817 * libc/include/sys/reent.h: struct _atexit function ptr takes a
3818 void, same with _sig_func.
3819
3820Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
3821
3822 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
3823 for MB_CAPABLE to reduce code size when newlib is not configured
3824 with --enable-newlib-mb.
3825 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
3826 mbtowc_r.o to minimize size.
3827 * libc/stdlib/Makefile.in: Rebuild.
3828
3829Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
3830
3831 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
3832 to -DREENT.
3833 * libc/sys/sparc64/Makefile.in: Rebuild.
3834
3835Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
3836
3837 * Makefile.am (MAKEOVERRIDES): Define.
3838 * Makefile.in: Rebuild.
3839
3840Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
3841
3842 * libc/sys/sparc64/sys/stat.h (stat): Add const.
3843
3844Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
3845
3846 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
3847 newlib_cflags when looking for targ-include.
3848 * */aclocal.m4, */configure: Rebuild.
3849
3850Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
3851
3852 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
3853 to "_end".
3854
3855Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
3856
3857 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
3858 on SPARCs with little-endian data.
3859 * libc/include/machine/ieeefp.h: Ditto.
3860
3861Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
3862
3863 * acinclude.m4: Handle a relative srcdir correctly when setting
3864 newlib_cflags.
3865 * */aclocal.m4, */configure: Rebuild.
3866
3867Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
3868
3869 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
3870 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
3871 * libm/math/wrf_gamma.c (gammaf_r): ditto
3872 * libm/math/wr_lgamma.c (lgamma_r): ditto
3873 * libm/math/wr_gamma.c (gamma_r): ditto
3874 * libm/math/wf_sqrt.c (sqrtf): ditto
3875 * libm/math/wf_sinh.c (sinhf): ditto
3876 * libm/math/wf_scalb.c (scalbf): ditto
3877 * libm/math/wf_remainder.c (remainderf): ditto
3878 * libm/math/wf_pow.c (powf): ditto
3879 * libm/math/wf_log10.c (log10f): ditto
3880 * libm/math/wf_log.c (logf): ditto
3881 * libm/math/wf_lgamma.c (lgammaf): ditto
3882 * libm/math/wf_jn.c (jnf, ynf): ditto
3883 * libm/math/wf_j1.c (j1f, y1f): ditto
3884 * libm/math/wf_j0.c (j0f, y0f): ditto
3885 * libm/math/wf_hypot.c (hypotf): ditto
3886 * libm/math/wf_gamma.c (gammaf): ditto
3887 * libm/math/wf_fmod.c (fmodf): ditto
3888 * libm/math/wf_exp.c (expf): ditto
3889 * libm/math/wf_cosh.c (coshf): ditto
3890 * libm/math/wf_atanh.c (atanhf): ditto
3891 * libm/math/wf_atan2f.c (atan2f): ditto
3892 * libm/math/wf_asin.c (asinf): ditto
3893 * libm/math/wf_acosh.c (acoshf): ditto
3894 * libm/math/wf_acos.c (acosf): ditto
3895 * libm/math/w_sqrt.c (sqrt): ditto
3896 * libm/math/w_sinh.c (sinh): ditto
3897 * libm/math/w_scalb.c (scalb): ditto
3898 * libm/math/w_remainder.c (remainder): ditto
3899 * libm/math/w_pow.c (pow): ditto
3900 * libm/math/w_log10.c (log10): ditto
3901 * libm/math/w_log.c (log): ditto
3902 * libm/math/w_lgamma.c (lgamma): ditto
3903 * libm/math/w_jn.c (jn, yn): ditto
3904 * libm/math/w_j1.c (j1, y1): ditto
3905 * libm/math/w_j0.c (j0, y0): ditto
3906 * libm/math/w_hypot.c (hypot): ditto
3907 * libm/math/w_gamma.c (gamma): ditto
3908 * libm/math/w_fmod.c (fmod): ditto
3909 * libm/math/w_exp.c (exp): ditto
3910 * libm/math/w_cosh.c (cosh): ditto
3911 * libm/math/w_atanh.c (atanh): ditto
3912 * libm/math/w_atan2f.c (atan2): ditto
3913 * libm/math/w_asin.c (asin): ditto
3914 * libm/math/w_acosh.c (acosh): ditto
3915 * libm/math/w_acos.c (acos): ditto
3916
3917Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
3918
3919 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
3920 (fsrc): Add wf_cabs.c and wf_drem.c.
3921 * libm/math/Makefile.in: Rebuild.
3922
3923 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
3924 unused directory variables. Remove duplicate CFLAGS.
3925 * Makefile.in: Rebuild.
3926
3927 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
3928 with $(CC_FOR_BUILD).
3929 (makedoc.o): Likewise.
3930 * doc/Makefile.in: Rebuild.
3931
3932 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
3933 force a definition of COMPILE.
3934 (libfoo_a_SOURCES): Define.
3935 * libc/sys/cygwin32/Makefile.in: Rebuild.
3936 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
3937 force a definition of COMPILE.
3938 (libfoo_a_SOURCES): Define.
3939 * libc/sys/tic80/Makefile.in: Rebuild.
3940
3941Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
3942
3943 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
3944 flag.
3945
3946Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
3947
3948 * Build using autoconf and automake. Added many Makefile.am and
3949 configure.in files, plus generated files. Old configure.in files
3950 and all old Makefile.in files completely replaced. Removed
3951 host/any. Added acinclude.m4 and configure.host.
3952
3953Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
3954
3955 * libc/stdio/vfprintf.c: enable long long support, sometimes.
3956 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
3957
3958Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3959
3960 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
3961 * libc/machine/sh/Makefile.in: Add rules for new files.
3962
3963Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3964
3965 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
3966 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
3967 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
3968
3969Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
3970
3971 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
3972 code is ignored.
3973
3974Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
3975
3976 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
3977 internal static buffer when s is NULL, as prescribed by ANSI.
3978
39791998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
3980
3981 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
3982 removed.
3983 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
3984 libc/stdlib will be used for h8300hms.
3985
3986Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3987
3988 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
3989 version that can be built either for speed or size.
3990 * libc/machine/mn10300/memset.S (_memset): ditto
3991 * libc/machine/mn10300/memchr.S (_memchr): ditto
3992 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
3993 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
3994 * libc/machine/mn10300/strchr.S (_strchr): ditto
3995 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
3996 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
3997 * libc/machine/mn10300/Makefile.in: Added entries for
3998 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
3999 strcmp.o, strcpy.o, and strlen.o.
4000
4001Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
4002
4003 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4004 been replaced with libgloss/mn10200.
4005
4006Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
4007
4008 * libc/string/strchr.c (strchr): Make s a constant pointer to
4009 avoid warning.
4010
4011Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
4012
4013 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4014 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4015 board SWIs instead of Demon board SWIs).
4016
4017Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
4018
4019 * libc/string/strncat.c (strncat): Make -Os act the same as
4020 PREFER_SIZE_OVER_SPEED being defined.
4021
4022Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
4023
4024 * libc/string/memchr.c (memchr): Make -Os act the same as
4025 PREFER_SIZE_OVER_SPEED being defined.
4026 * libc/string/memcmp.c (memcmp): Ditto.
4027 * libc/string/memcpy.c (memcpy): Ditto.
4028 * libc/string/memset.c (memset): Ditto.
4029 * libc/string/strcat.c (strcat): Ditto.
4030 * libc/string/strchr.c (strchr): Ditto.
4031 * libc/string/strcmp.c (strcmp): Ditto.
4032 * libc/string/strcpy.c (strcpy): Ditto.
4033 * libc/string/strlen.c (strlen): Ditto.
4034 * libc/string/strncat.c (strncat): Ditto.
4035 * libc/string/strncmp.c (strncmp): Ditto.
4036 * libc/string/strncpy.c (strncpy): Ditto.
4037
4038Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
4039
4040 * libc/include/sys/itimer.h: remove
4041 * libc/include/sys/time.h: itimer stuff should be here
4042
4043Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
4044
4045 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4046 bit instead of comparing to 0 so -0.0 can be printed correctly.
4047
4048Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4049
4050 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4051
4052Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
4053
4054 * libc/include/sys/unistd.h: fix sync() proto
4055 * libc/include/sys/fcntl.h: remove _close which is already
4056 defined in unistd.h.
4057 * libc/include/sys/time.h: add getitimer proto
4058
4059Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
4060
4061 * libc/string/strchr.c: convert arg to unsigned char
4062 * libc/include/stdlib.h: add protos for random, srandom
4063 * libc/include/sys/stat.h: add lstat proto
4064 * libc/include/sys/time.h: add setitimer proto
4065 * libc/include/sys/unistd.h: add readlink, symlink protos
4066 * libc/include/process.h: instead of including windows.h and using
4067 HANDLEs in sexec protos, just use void *s. Need to include
4068 sys/types.h.
4069
4070Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
4071
4072 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4073
4074Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
4075
4076 * libc/include/process.h: add secure exec protos
4077
4078Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
4079
4080 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4081 which are accessed as both doubles and integers.
4082 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4083 * libc/stdlib/strtod.c (_strtod_r): Likewise.
4084 * libc/stdlib/mprec.h: Add "union double_union" and change
4085 word0/word1 macros to use it.
4086
4087Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
4088
4089 * libc/include/sys/signal.h: add __cplusplus wrapper
4090
4091Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
4092
4093 * libc/include/sys/utime.h: new generic file that gets replaced by
4094 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4095 function.
4096 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4097 * libc/include/time.h: remove duplicate utime proto
4098 * libc/include/utime.h: add comment
4099
4100Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
4101
4102 * libc/include/sys/time.h: Add missing include to
4103 allow use of _EXFUN. Remove times function that is
4104 already defined in times.h.
4105
4106Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
4107
4108 * libc/include/time.h: Fix typo in tzset.
4109
4110Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
4111
4112 * libc/include/sys/time.h: add missing Cygwin32 function protos
4113 * libc/include/sys/unistd.h: ditto
4114 * libc/include/time.h: ditto
4115
4116Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
4117
4118 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4119 FIXME.
4120 * libc/include/sys/types.h: add a new __MS_types__ section
4121 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4122 __BIT_TYPES_DEFINED__.
4123
4124Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
4125
4126 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4127 since it overrides the one in libc/include/sys. Also, start
4128 including types.h.
4129
4130Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
4131
4132 * libm/math/Makefile.in: add s_signgam.o to obj list
4133
4134Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
4135
4136 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4137
4138Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
4139
4140 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4141 so don't use defines.
4142
4143Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
4144
4145 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4146
4147Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
4148
4149 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4150 _current_locale as default locale.
4151
4152Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
4153
4154 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4155 insufficient space in a chunk.
4156
4157Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
4158
4159 * configure.in (links): Added check for --enable-newlib-mb configure
4160 option which defines the MB_CAPABLE macro.
4161 * libc/locale/locale.c (_setlocale_r): Added support for setting
4162 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4163 defined.
4164 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4165 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4166 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4167 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4168 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4169 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4170 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4171 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4172 * libc/stdlib/Makefile.in: Added new multibyte
4173 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4174 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4175 _mbstowcs_r(), and _wcstombs_r().
4176 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4177 for JIS, SJIS, and EUC-JP characters.
4178 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4179 MB_CAPABLE defined.
4180 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4181 MB_CAPABLE defined.
4182 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4183 MB_CAPABLE defined.
4184 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4185 if MB_CAPABLE defined.
4186 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4187 if MB_CAPABLE defined.
4188 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4189 to the format string processing when MB_CAPABLE.
4190 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4191 call _mbtowc_r().
4192
4193Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
4194
4195 The following modifications are courtesy of Anthony Thompson,
4196 athompson@cambridge.arm.com:
4197 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4198 boith RDI and RDP monitors.
4199 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4200 RDI and RDP monitors.
4201
4202Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
4203
4204 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4205 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4206 (_swiopen): Fixed open flags to treat write with append as just append.
4207 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4208 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4209
4210Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4211
4212 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4213 When needing to transfer an initial 2-byte-word, store as
4214 two single bytes.
4215
4216Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4217
4218 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4219 __SH3E__ .
4220 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4221 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4222
4223Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
4224
4225 * configure.in (target_cflags): If --enable-target-optspace, use
4226 -Os to compile newlib rather than -O2. Default to using -Os for
4227 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4228 used.
4229
4230Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
4231
4232 * libc/include/machine/setjmp.h: change sigsetjmp and
4233 siglongjmp definitions to use an array instead of a struct
4234 for __CYGWIN32__
4235
4236Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
4237
4238 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4239
4240Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
4241
4242 * libc/string/strxfrm.c: fix to get correct return value
4243
4244Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
4245
4246 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4247 builds. Make mode change labels global so that they will be seen
4248 by the debugger.
4249
4250Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
4251
4252 * configure.in (links): Do not use ARM debiugging protocols for PE
4253 builds.
4254
4255 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4256 message.
4257
4258Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4259
4260 * libc/stdio/findfp.c (__sinit): Made stdout default to
4261 line buffered mode as defined by ANSI.
4262
4263Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
4264
4265 * libc/include/sys/itimer.h: New file.
4266
4267 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4268
4269Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4270
4271 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4272 failure.
4273
4274Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
4275
4276 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4277 insns.
4278
4279Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
4280
4281 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4282
4283Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
4284
4285 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4286 support.
4287
4288 * libc/include/machine/setjmp.h: Add D30V support.
4289
4290 * configure.in (d30v-*): Add d30v machine directory.
4291
4292Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
4293
4294 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4295 been replaced with libgloss/mn10300.
4296
4297Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
4298
4299 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4300 it is no longer needed.
4301
4302Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4303
4304 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4305
4306Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
4307
4308 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4309 the file when O_APPEND is set, wherever the EOF happens to be at
4310 that time.
4311
4312Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
4313
4314 patch from cgf@bbc.com (Christopher Faylor):
4315 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4316 convention of closing fp prior to attempting to open the file
4317 argument. This allows correct operation when reopening
4318 stdin/stdout/stderr. Replaces last freopen.c patch.
4319
4320Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
4321
4322 patch from cgf@bbc.com (Christopher Faylor):
4323 * libc/stdio/freopen.c: freopen was not preserving the fd
4324 of the stream being operated on. This confuses programs that
4325 expect that the handles for stdout and stderr will be 1 and 2.
4326
4327Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
4328
4329 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4330
4331Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
4332
4333 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4334
4335Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
4336
4337 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4338 altered to not use a branch. Also added hint that last
4339 bclr in longjmp will likely result in branch.
4340
4341
4342Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
4343
4344 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4345
4346Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
4347
4348 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4349 v850 builds.
4350
4351 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
4352
4353Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
4354
4355 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4356 that loads FR14 to specify offset of 8 rather than 4
4357 so it loads from offset 96 (where setjmp stored it).
4358
4359Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4360
4361 * libc/machine/sh/memcpy.S: (_memcpy): Update to
4362 latest version supplied by customer.
4363 * libc/machine/sh/memset.S (_memset): Ditto.
4364
4365Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
4366
4367 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4368 PR14730).
4369
4370Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
4371
4372 * libc/include/string.h: remove redefinition of ffs
4373
4374Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
4375
4376 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4377 defined
4378
4379Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4380
4381 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4382 TI Libraries to link to libc.a
4383
4384Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
4385
4386 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4387 * libc/include/sys/stat.h (_{,f}stat): Ditto.
4388 * libc/include/sys/wait.h (_wait): Ditto.
4389 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4390 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4391
4392Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
4393
4394 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
4395 minded stabs so function name shows up when running the simulator
4396 with -t.
4397 * libc/sys/d10v/{crt0,trap}.S: Ditto.
4398
4399Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
4400
4401 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
4402 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4403 Use R5 where we used to use R3.
4404
4405Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
4406
4407 * libc/stdlib/getopt.c (getopt): replaced __progname
4408 with nargv[0] to improve portability to imbedded systems.
4409
4410Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
4411
4412 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4413 patch supplied by Tont.Thompson@arm.com to fix the creation of the
4414 stdout file.
4415
4416Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
4417
4418 * libc/stdio/tmpnam.c (worker): Generate a different file name
4419 each time.
4420
4421 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4422 fails, try an execlp for sh.
4423
4424 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4425 option for the winsup include directory.
4426
4427Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
4428
4429 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4430 debugging interface from Tony.Thompson@arm.com.
4431
4432 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4433 * libc/sys/arm/swi.h: ditto.
4434
4435Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4436
4437 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4438 DIR struct used for readdir hashes.
4439
4440Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
4441
4442 * libc/string/strchr.c: Use "unsigned chars" as necessary.
4443
4444Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
4445
4446 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4447 integer targets.
4448
4449Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
4450
4451 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4452 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4453 * libc/include/malloc.h: Add extern "C" if __cplusplus.
4454 (__malloc_copy): Declare.
4455
4456Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
4457
4458 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4459 <sys/config.h>.
4460 (POINTER_UINT): Define.
4461 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4462 (MALLOC_ALIGNMENT): Don't define if already defined.
4463 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4464 long.
4465
4466Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
4467
4468 * libc/string/memset.c (memset): Fiddle with code so that the long
4469 value being stored is not a stack value. Unroll storing longs 4
4470 times.
4471
4472Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
4473
4474 * Reduce code size for libm modules.
4475 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4476 and simply move code into sqrt.
4477 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4478 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4479 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4480 * libm/math/wr_gamma.c (gamma_r): Likewise.
4481 * libm/math/wf_sinh.c (sinfh): Likewise.
4482 * libm/math/w_sinh.c (sinh): Likewise.
4483 * libm/math/wf_scalb.c (scalbf): Likewise.
4484 * libm/math/w_scalb.c (scalb): Likewise.
4485 * libm/math/wf_remainder.c (remainderf): Likewise.
4486 * libm/math/w_remainder.c (remainder): Likewise.
4487 * libm/math/wf_pow.c (powf): Likewise.
4488 * libm/math/w_pow.c (pow): Likewise.
4489 * libm/math/wf_log10.c (log10f): Likewise.
4490 * libm/math/w_log10.c (log10): Likewise.
4491 * libm/math/wf_log.c (logf): Likewise.
4492 * libm/math/w_log.c (log): Likewise.
4493 * libm/math/w_lgamma.c (lgamma): Likewise.
4494 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4495 * libm/math/wf_jn.c (jnf): Likewise.
4496 * libm/math/w_jn.c (jn): Likewise.
4497 * libm/math/wf_j1.c (j1f): Likewise.
4498 * libm/math/w_j1.c (j1): Likewise.
4499 * libm/math/wf_j0.c (j0f): Likewise.
4500 * libm/math/w_j0.c (j0): Likewise.
4501 * libm/math/wf_hypot.c (hypotf): Likewise.
4502 * libm/math/w_hypot.c (hypot): Likewise.
4503 * libm/math/wf_gamma.c (gammaf): Likewise.
4504 * libm/math/w_gamma.c (gamma): Likewise.
4505 * libm/math/wf_fmod.c (fmodf): Likewise.
4506 * libm/math/w_fmod.c (fmod): Likewise.
4507 * libm/math/wf_exp.c (expf): Likewise.
4508 * libm/math/w_exp.c (exp): Likewise.
4509 * libm/math/wf_cosh.c (coshf): Likewise.
4510 * libm/math/w_cosh.c (cosh): Likewise.
4511 * libm/math/wf_atanh.c (atanhf): Likewise.
4512 * libm/math/w_atanh.c (atanh): Likewise.
4513 * libm/math/wf_atan2.c (atan2f): Likewise.
4514 * libm/math/w_atan2.c (atan2): Likewise.
4515 * libm/math/wf_asin.c (asinf): Likewise.
4516 * libm/math/w_asin.c (asin): Likewise.
4517 * libm/math/wf_acosh.c (acoshf): Likewise.
4518 * libm/math/w_acosh.c (acosh): Likewise.
4519 * libm/math/wf_acos.c (asocf): Likewise.
4520 * libm/math/w_acos.c (acos): Likewise.
4521 * libm/math/wf_sqrt.c (sqrtf): Likewise.
4522 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4523 for embedded systems.
4524
4525Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
4526
4527 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4528 Lea in case of a foreign sbrk.
4529
4530Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
4531
4532 Incorporate Doug Lea's malloc:
4533 * libc/stdlib/mallocr.c: Completely replaced.
4534 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4535 (realloc): Remove.
4536 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4537 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4538 mallopt.
4539 (mallinfo, malloc_stats, mallopt): New functions.
4540 (_mstats_r): Just call _malloc_stats_r.
4541 * libc/stdlib/malign.c: New file.
4542 * libc/stdlib/mlock.c: New file.
4543 * libc/stdlib/msize.c: New file.
4544 * libc/stdlib/mtrim.c: New file.
4545 * libc/stdlib/realloc.c: New file.
4546 * libc/stdlib/valloc.c: New file.
4547 * libc/stdlib/malloc.h: Remove.
4548 * libc/stdlib/callocr.c: Remove.
4549 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4550 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4551 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4552 reallocr.o, valloc.o, vallocr.o.
4553 (CHEWOUT_FILES): Add mlock.def, mstats.def.
4554 (MALLOC_CFLAGS): New variable.
4555 (mallocr.o): New target, build from mallocr.c.
4556 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4557 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4558 (msizer.o, malloptr.o): Likewise.
4559 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4560 (valloc.o): New target.
4561 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4562 * libc/include/malloc.h: Declare struct mallinfo, and new
4563 routines.
4564 * libc/include/stdlib.h (cfree): Correct declaration.
4565
4566Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
4567
4568 * libc/include/machine/setjmp.h: Add support for Thumb target.
4569
4570 * libc/include/machine/ieeefp.h: Add support for Thumb target.
4571
4572 * configure.in (links): Add support for Thumb target.
4573
4574Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
4575
4576 * libc/sys/arm/setjmp.S: Updated with version from branch.
4577
4578Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
4579
4580 * libc/include/stdio.h: add POSIX-required define L_ctermid
4581 for ctermid
4582
4583Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
4584
4585 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4586 addition to MISSING_SYSCALL_NAMES.
4587
4588Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4589
4590 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
4591
4592Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
4593
4594 * libc/include/string.h: change strsignal proto to return
4595 a char *. This eliminates compile problems in gdb resulting
4596 from gdb's definition of strsignal in defs.h.
4597
4598Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
4599
4600 * libc/sys/cygwin32/sys/utime.h: new (moved here from
4601 winsup/include) so as not to conflict with the one in
4602 libc/include.
4603 * libc/include/string.h: add protos for strsignal, strtosigno
4604
4605Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
4606
4607 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4608
4609 * configure.in (d30v-*-*): Add configuration.
4610
4611Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
4612
4613 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4614 to select which kind of debug monitor is in use for an ARM target.
4615
4616 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4617 Angel and Demon debug monitors. Part of this code was supplied by
4618 Tony Thompson at ARM: athompso@arm.com.
4619
4620Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
4621
4622 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4623 semantics when the count is greater than the length of the second
4624 source string.
4625
4626Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
4627
4628 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4629 * libc/include/sys/unistd.h: add protos for usleep, truncate,
4630 truncate and ftruncate take off_t, not size_t
4631
4632Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
4633
4634 * libc/string/strcat.c (strcat): Add missing comment end.
4635 * libc/string/strncat.c (strncat): Likewise.
4636
4637Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
4638
4639 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4640 targets.
4641 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
4642 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4643 defined.
4644 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4645 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4646 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4647
4648Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
4649
4650 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4651 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4652
4653Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
4654
4655 * libc/machine/i386/setjmp.S: New file.
4656 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4657 (OFILES): Add setjmp.o.
4658 (setjmp.o): Add rule for.
4659 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4660
4661Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
4662 Jeffrey A Law (law@cygnus.com)
4663
4664 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
4665 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4666 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4667 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4668
4669Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
4670
4671 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
4672 rules.
4673
4674 * libc/include/sys/config.h: Use __v850 to select v850
4675 endianness.
4676
4677 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
4678 buffer size.
4679
4680 * libc/include/machine/ieeefp.h: Use __v850 to select v850
4681 endianness.
4682
4683Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
4684
4685 * libc/stdlib/setenv.c: change unsetenv definition to match
4686 style of setenv (with _DEFUN). The string should be a const.
4687 * libc/include/stdlib.h: unsetenv proto should return void.
4688
4689Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
4690
4691 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
4692
4693Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
4694
4695 * libc/stdio/glue.h: remove.
4696 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
4697 * libc/stdio/Makefile.in: remove glue.h dependencies
4698
4699Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
4700
4701 * libc/sys/sysnecv850/crt0.S: Created V850e version.
4702
4703Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
4704
4705 * configure.in (target_cpu): Add `arc'.
4706
4707Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
4708
4709 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
4710 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
4711 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
4712 * newlib/libc/reent/reent.c: Add _wrapup_reent.
4713 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
4714
4715Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
4716
4717 * libc/machine/mips/setjmp.S: Handle mips16 builds.
4718
4719Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
4720
4721 * libc/include/stdio.h (siprintf): Declare.
4722
4723Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
4724
4725 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
4726 TARGET_CFLAGS and NEWLIB_FLAGS.
4727
4728Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4729
4730 * configure.in (links): Add support for v850ea target.
4731
4732Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4733
4734 * configure.in (links): Add support for v850e target.
4735
4736Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
4737
4738 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
4739
4740Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
4741
4742 * configure.in (arc-*-*): Add support for.
4743 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
4744
4745Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4746
4747 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
4748
4749Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
4750
4751 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
4752 comparison which accesses invalid memory when the key is
4753 larger than the last member of the array.
4754 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
4755 for CYGWIN32
4756 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
4757
4758Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
4759
4760 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
4761 not _STRICT_ANSI.
4762
4763Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
4764
4765 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
4766 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
4767
4768Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
4769
4770 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
4771 to load/store memory.
4772
4773Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
4774
4775 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
4776 underscores if _WIN32.
4777
4778Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
4779
4780 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
4781 support ifdef _USE_WRITE missed in last change.
4782 From Anders Blomdell <anders.blomdell@control.lth.se>.
4783
4784Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
4785
4786 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
4787 (_tmpnam_r, _tempnam_r): Update.
4788
4789Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
4790
4791 * libc/machine/sparc/setjmp.S: New file.
4792 * libc/machine/sparc/Makefile.in: Add setjmp.
4793 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
4794
4795Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
4796
4797 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
4798
4799Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
4800
4801 From Joel Sherrill <joel@oarcorp.com>.
4802 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
4803
4804 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
4805 * configure.in: Recognize *-*-rtems*.
4806 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
4807 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
4808 time.h,times.h,types.h}: New files.
4809 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
4810
4811Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
4812
4813 patch from sos@prospect.com.ru (Sergey Okhapkin):
4814 * include/sys/wait.h: correct operator precidence bug
4815 in WIFSIGNALED
4816
4817Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
4818
4819 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
4820 with newlib's unsetenv function
4821 * libc/sys/cygwin32/sys: new directory for includes
4822 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
4823 here from winsup/include/sys
4824
4825Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
4826
4827 * libc/include/sys/unistd.h: _exit should only be
4828 labelled noreturn when not __CYGWIN32__
4829 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
4830 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
4831 increment NSIG
4832
4833Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
4834
4835 * libc/include/sys/time.h: Only define timeval and timezone if
4836 _GNU_H_WINDOWS32_SOCKETS is not defined.
4837 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
4838
4839Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
4840
4841 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
4842 * libc/machine/mn10300/setjmp.S: Likewise.
4843
4844 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
4845 the mn10300 (more relaxing opportunities).
4846
4847Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
4848
4849 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
4850 Build libraries with -mstrict-align.
4851
4852Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
4853
4854 * libc/string/strlwr.c: New file.
4855 * libc/string/strupr.c: New file.
4856 * libc/include/string.h: Declare strlwr and strupr.
4857 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
4858 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
4859 (strlwr.o, strupr.o): New targets.
4860 * libc/string/strings.tex: Include strlwr and strupr docs.
4861
4862 * libc/include/sys/types.h: Don't define u_char, et. al., if
4863 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
4864 et. al. Make FD_SETSIZE default 64 rather than 60. Define
4865 _types_fd_set rather than fd_set, and define fd_set as a macro.
4866
4867 * libc/include/malloc.h: New file.
4868
4869 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
4870 strnicmp if they are not already defined.
4871
4872 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
4873 _timezone, _daylight, and _tzname.
4874
4875Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
4876
4877 * configure.in: Sort all configuration tables.
4878
4879 From Joel Sherrill <joel@oarcorp.com>
4880 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
4881
4882Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
4883
4884 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
4885 use int when declaring kill.
4886
4887 * libc/include/sys/timeb.h: New file.
4888
4889Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
4890
4891 * libc/include/sys/time.h: add itimer support for Cygwin32
4892
4893Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
4894
4895 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
4896 out a message that abort was called to stderr.
4897
4898Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
4899
4900 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
4901 so that libio doesn't freak.
4902
4903 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
4904 int.
4905
4906 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
4907 memory sizes, not int.
4908
4909Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
4910
4911 * libm/math/ef_hypot.c: Use long constants where
4912 appropriate.
4913 * libm/math/ef_sqrt.c: Ditto.
4914
4915 * libc/sys/sysmec/times.c(_times): Change to times.
4916
4917 * libc/sys/sysmec/read.c(_read): The third argument is
4918 size_t.
4919 * libc/sys/sysmec/write.c (_write): Ditto.
4920
4921 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
4922 (_lseek): It's off_t for the second argument.
4923
4924Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
4925
4926 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
4927 as well as machine/ieeefp.h.
4928
4929Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
4930
4931 * libc/include/sys/signal.h: add signal protos for winsup
4932 functions (when __CYGWIN32__), include types.h
4933 * libc/include/sys/types.h: Change __go32_types__ internal
4934 define to __MS_types__ since it's used for more than just
4935 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
4936 defined.
4937 * libc/include/sys/unistd.h: add ftruncate proto for
4938 winsup functions (when __CYGWIN32__)
4939
4940Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
4941
4942 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
4943
4944Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
4945
4946 * libc/include/machine/setjmp.h: Add tic80 support.
4947 * libc/machine/tic80/setjmp.S: Likewise.
4948
4949Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
4950
4951 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
4952 link programs from libraries only (such as in the X11
4953 distribution)
4954
4955Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
4956
4957 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
4958 supplied elsewhere in newlib.
4959
4960Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
4961
4962 * Makefile.in (INSTALL): Change install.sh to install-sh.
4963
4964Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
4965
4966 * README: update WWW address for on-line documentation.
4967
4968Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
4969
4970 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
4971 increment NSIG
4972
4973Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
4974
4975 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
4976 mn10300.
4977 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
4978
4979Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
4980
4981 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
4982 * libc/sys/d10v/syscalls.c: Likewise.
4983 * libc/sys/h8300hms/sbrk.c: Likewise.
4984 * libc/sys/h8500hms/syscalls.c: Likewise.
4985 * libc/sys/m88kbug/syscalls.c: Likewise.
4986 * libc/sys/sh/syscalls.c: Likewise.
4987 * libc/sys/sysmec/sbrk.c: Likewise.
4988 * libc/sys/sysnecv850/sbrk.c: Likewise.
4989 * libc/sys/w65/syscalls.c: Likewise.
4990 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
4991
4992Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
4993
4994 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
4995 emulated syscall instead of "trap".
4996
4997Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
4998
4999 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5000 not trap 0.
5001
5002Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
5003
5004 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5005
5006Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
5007
5008 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5009 not "sh".
5010 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5011 not "d10v".
5012 * libc/sys/tic80/crt0.c: New file for TIc80.
5013 * libc/sys/tic80/Makefile.in: New file for TIc80.
5014 * libc/machine/tic80/Makefile.in: New file for TIc80.
5015
5016Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
5017
5018 * libc/machine/sh/memcpy.S: New file.
5019 * libc/machine/sh/memset.S: New file.
5020 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5021
5022Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
5023
5024 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5025 for TIc80.
5026
5027Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
5028
5029 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5030 the mn10200.
5031
5032Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
5033
5034 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5035 (patch from andrew@pogo.WV.TEK.COM).
5036
5037Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
5038
5039 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5040 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5041
5042Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
5043
5044 * configure.in: Add cases for "tic80" to set machine_dir,
5045 sys_dir, and syscall_dir.
5046
5047Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
5048
5049 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5050
5051Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
5052
5053 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5054
5055Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
5056
5057 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5058 Use proper constant prefix.
5059
5060Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
5061
5062 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5063 that loses on the mn10200 where ints and pointers are different
5064 sizes.
5065
5066Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
5067
5068 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5069 target as signal is provided in winsup.
5070
5071Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
5072
5073 * libc/include/sys/process.h: Corrected const definitions
5074 in spawn functions. Added cwait.
5075
5076Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
5077
5078 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5079 doubles.
5080 * libc/include/sys/config.h: Similarly.
5081
5082Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5083
5084 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5085 target_cflags.
5086 (i[3456]86-*-sco*): Ditto.
5087
5088 * libc/signal/Makefile.in (OFILES): Add signal.o.
5089 (CFILES): Add signal.c.
5090
5091 * libc/signal/raise.c (_raise_r): Only compile code if
5092 SIGNAL_PROVIDED is defined.
5093
5094 * libc/signal/signal.c: Redo whole file so that it works with
5095 current newlib. Use _kill_r if no signal handler provided.
5096
5097 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5098 signal stubs.
5099 * libc/sys/sysvnecv70/Makefile.in: Ditto.
5100 * libc/sys/sysnecv850/Makefile.in: Ditto.
5101
5102 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5103 * libc/sys/sysmec/{raise,signal}.c: Ditto.
5104 * libc/sys/sysvnecv70/signal.s: Ditto.
5105 * libc/sys/sysnecv850/raise.c: Ditto.
5106
5107 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5108 simulator and debugger can tell the difference between a signal
5109 being raised and an exit system call.
5110
5111 * NEWS: Document software signals being provided.
5112
5113Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5114
5115 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5116 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
5117 include/sys/config.h.
5118 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5119 Change from 'inpure_data'.
5120 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
5121 &impure_data, not &inpure_data.
5122
5123 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5124 and and System V ABI, define so that _impure_ptr lives in the
5125 .sdata section.
5126
5127Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5128
5129 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5130 nothing if not defined.
5131 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5132 its attributes.
5133
5134 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
5135
5136Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
5137
5138 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5139 * libc/sys/sysmec/trap.s: Handle mn10200 too.
5140 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5141
5142Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
5143
5144 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5145
5146Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
5147
5148 * libc/include/sys/errno.h: Added net errno's.
5149
5150Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5151
5152 * libc/misc/ffs.c: New file to support ffs function for GCC test
5153 gcc.c-torture/execute/960909-1.c.
5154
5155 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5156
5157Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
5158
5159 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5160 * libc/sys/sysmec/trap.S: Likewise.
5161
5162Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
5163
5164 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5165 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5166
5167Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
5168
5169 * libc/sys/sysmec/signal.c: Dummy file.
5170 * libc/sys/sysmec/Makefile.in: Build it.
5171
5172Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
5173
5174 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5175 mips16.
5176
5177Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
5178
5179 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5180 c-startup and simulator traps.
5181
5182
5183 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5184 * libc/sys/sysmec/trap0.S: Likewise.
5185
5186Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5187
5188 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5189 round to double word alignment.
5190 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5191 byte alignment.
5192
5193 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5194
5195 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5196 out of memory.
5197
5198Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
5199
5200 * configure.in: Handle mn10200 and mn10300.
5201 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5202 * libc/include/sys/config.h: Likewise.
5203 * libc/sys/sysmec: New directory for mec stuff.
5204 * libc/machine/mn10300: New directory for mn10300 stuff.
5205 * libc/machine/mn10200: Similarly for mn10200 stuff.
5206
5207Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
5208
5209 * libc/sys/arm/crt0.S: Use .text, not .section .text.
5210 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5211
5212 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5213 (nlink_t): Change type from unsigned int to unsigned short.
5214 (mode_t): Ensure size is 32 bits even if int is 16.
5215 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5216 (st_spare[123]): Change type from int to long.
5217
5218Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5219
5220 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5221 byte boundary.
5222
5223 * configure.in (d10v*): Define SMALL_MEMORY.
5224
5225Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5226
5227 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5228 -mrelocatable-lib and -mno-eabi flags.
5229
5230Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
5231
5232 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5233 Fix handling of mis-aligned source operand when both the
5234 destination & length are properly aligned.
5235
5236Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
5237
5238 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5239 times.o, time.o and gettime.o
5240 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5241 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5242 SYS_gettimeofday.
5243
5244Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
5245
5246 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5247 * libc/sys/sysnecv850/access.c: New file.
5248
5249Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
5250
5251 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5252
5253 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5254 long.
5255
5256Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
5257
5258 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5259
5260Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
5261
5262 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5263 * libc/include/sys/config.h: Add m32r support.
5264
5265Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
5266
5267 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
5268 here.
5269
5270Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
5271
5272 * libc/include/machine/setjmp.h: Add D10v support.
5273
5274Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
5275
5276 * configure.in: Configure the "libc/syscalls" directory for
5277 the v850.
5278
5279 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5280 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5281 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5282 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5283 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5284
5285Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
5286
5287 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
5288 stack for args for main and other routines. Zero out args for
5289 main.
5290
5291 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
5292 correctly.
5293
5294Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5295
5296 * libc/stdio/findfp.c (std): Remove extraneous ';' after
5297 function.
5298
5299 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5300
5301 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5302 real system calls now.
5303
5304 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5305 before casting them to int.
5306 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5307
5308 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5309 aligning pointer.
5310 * libc/string/memset.c (memset): Ditto.
5311
5312 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5313 first convert ints to _POINTER_INT to eliminate GCC warning.
5314
5315 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5316 processing %p.
5317
5318 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5319 from 65000 if ints are only 16 bits.
5320
5321 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5322 from 50000 if ints are only 16 bits.
5323
5324 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5325 int type that is the same size as a pointer.
5326
5327 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5328 processing %p.
5329 (get_number): Explicitly cast number to long before shifting by 16
5330 or 24, in case ints are short.
5331
5332 * libc/include/sys/config.h (_POINTER_INT): Define as short.
5333
5334Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
5335
5336 * libc/string.h: Added ffs, removed swab.
5337 * libc/sys/errno.h: Added EOPNOTSUPP.
5338 * libc/sys/unistd.h: Added swab.
5339
5340Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
5341
5342 * libc/include/sys/stat.h: Added fchmod.
5343 * libc/include/sys/unistd.h: Added fsync.
5344
5345Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
5346
5347 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5348 and ECONNRESET (104) for cygwin32.
5349
5350Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
5351
5352 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5353 do the static destructors.
5354
5355Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
5356
5357 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
5358
5359Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
5360
5361 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5362 * configure.in: Recognize m32r-*-*.
5363
5364Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
5365
5366 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5367 __rt_stkovf_split_small): Added default software stack overflow
5368 handlers, which just call SWI_Exit.
5369 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5370 limit initialisation.
5371
5372Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
5373
5374 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5375
5376Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
5377
5378 * libc/include/sys/types.h: Added ssize_t definition.
5379
5380Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5381
5382 * libc/machine/d10v/setjmp.S: Use ';' for comments.
5383 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5384
5385 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5386 branch around a single ldi instruction.
5387
5388 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5389 Call exit, instead of just issuing a stop instruction.
5390
5391Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5392
5393 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5394
5395Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5396
5397 * libc/stdlib/mprec.h: Explicitly declare all large constants as
5398 longs, and then cast them to __uint32_t.
5399
5400 * libc/include/sys/config.h: Protect against multiple inclusions.
5401
5402Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
5403
5404 * configure.in (d10v*): Set syscall_dir.
5405
5406Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
5407
5408 * libc/sys/d10v/crt0.S: Set stack pointer.
5409
5410Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
5411
5412 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5413 in assembly for efficiency. Change calling convention to allow
5414 long ints to be returned.
5415
5416Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5417
5418 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5419
5420Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
5421
5422 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5423 Handle empty entries in $PATH.
5424
5425Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
5426
5427 * libc/machine/d10v/setjmp.S: Make it really work.
5428
5429Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
5430
5431 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5432 the .stack section.
5433
5434Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
5435
5436 * sys/sysnecv850/sys/file.h: Remove.
5437 * sys/sysnecv850/sys/syscall.h: New file.
5438 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5439 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5440 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5441 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5442 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5443 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5444 * sys/sysnec850/trap.S: New file.
5445 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5446 syscalls.
5447 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5448 * sys/sysnec850/sbrk.c: New version.
5449
5450Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
5451
5452 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
5453 as long as r6 is less than r7.
5454
5455Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
5456
5457 * Makefile.in (mostlyclean): Separate from clean target. Don't
5458 remove *.a or targ-include.
5459 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5460
5461Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5462
5463 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5464 d10v.
5465 (__SMALL_BITFIELDS): Ditto.
5466
5467 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5468
5469Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
5470
5471 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5472 prefix.
5473
5474 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5475 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5476 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5477 * libc/sys/sysnecv850/write.c (write): Likewise.
5478
5479 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5480 .bss.
5481
5482Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5483
5484 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5485 appropriately for D10V, depending on -mint16/-mint32.
5486
5487Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
5488
5489 * configure.in: Add cases for D10V.
5490
5491Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5492
5493 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5494
5495Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
5496
5497 * libc/include/machine/ieeefp.h: Fix typo.
5498
5499Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
5500
5501 * libc/sys/d10v: New directory for D10V stuff.
5502 * libc/include/machine/ieeefp.h: Add D10V defines.
5503
5504Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
5505
5506 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5507 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5508 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5509 * libc/string/strerror.c (strerror): Add them.
5510
5511Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
5512
5513 * libc/sys/sysnecv850: New directory for v850 stuff.
5514
5515 * libc/machine/v850: New directory for v850 stuff.
5516 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5517
5518 * configure.in: Add support for the v850.
5519
5520 * libc/include/machine/ieeefp.h: Add v850 defines.
5521 * libc/include/machine/setjmp.h: Likewise.
5522 * libc/include/sys/config.h: Add v850 defines.
5523
5524Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
5525
5526 * libc/include/machine/ieeefp.h
5527 * libc/include/machine/setjmp.h
5528 * libc/include/sys/fcntl.h
5529 * libc/include/sys/signal.h
5530 * libc/include/sys/types.h
5531 * libc/stdlib/system.c:
5532 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5533 API availability, __CYGWIN32__ for cygwin32 environment specific).
5534
5535Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
5536
5537 * libc/include/stdlib.h: add multibyte character functions. Add
5538 __eprintf for assert.
5539
5540Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5541
5542 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5543 arithmetic or __alignof__ to properly get the alignment, instead
5544 of hardwiring it to 4.
5545
5546Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
5547
5548 * libc/stdio/fseek.c: add fflush call to adjust seek offset
5549 on append stream (fix from NetBSD sources), adjust curoff offset
5550 for ungetc's benefit.
5551 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5552 * libc/stdio/rewind.c: replace code with up to date NetBSD
5553 code to undo hacks made to work around above problem of not
5554 having fflush call mentioned above
5555
5556Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5557
5558 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5559 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5560 Partially revert last changes. The thread specific errno is set
5561 iff if the underlying syscall fails and the global errno is not
5562 zero.
5563
5564Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5565
5566 * libc/reent/filer.c: Removed files, all functions have split out
5567 into their own files.
5568 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
5569 New files containing functions formally in filer.c
5570 * libc/reent/Makefile.in: Updated for above change.
5571
5572 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5573 syscall fails, not if errno is changed.
5574 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
5575 _write_r): Likewise.
5576 * libc/reent/fstatr.c (_fstat_r): Likewise.
5577 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5578 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5579 * libc/reent/signalr.c (_kill_r): Likewise.
5580 * libc/reent/statr.c (_stat_r): Likewise.
5581 * libc/reent/timer.c (_gettimeofday_r): Likewise.
5582
5583 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5584 signalr.c, statr.c, timer.c} (errno): declare extern rather
5585 than as a common.
5586
5587 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5588 instead of calling vfprintf so that i*printf will not require
5589 floating point support code.
5590
5591Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
5592
5593 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5594 path delimiter.
5595 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5596 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5597
5598Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
5599
5600 * libc/include/signal.h: _sig_func_ptr function takes an int
5601 * libc/include/sys/signal.h: sa_handler function takes an int
5602
5603Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
5604
5605 * libc/include/machine/ieeefp.h: Simplify H8/S support.
5606 * libc/include/sys/config.h: Add missing H8/S conditional.
5607
5608Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
5609
5610 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5611
5612Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
5613
5614 * libc/include/machine/setjmp.h: Handle H8/S.
5615 * libc/include/machine/ieeefp.h: Likewise.
5616 * libc/include/sys/config.h: Likewise.
5617 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5618 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5619 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5620 * libc/sys/h8300hms/crt0.S: Likewise.
5621
5622Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5623
5624 * Makefile.in (datadir): Set to $(prefix)/share.
5625 (oldincludedir, docdir): Removed.
5626 * doc/Makefile.in (datadir): Set to $(prefix)/share.
5627 (oldincludedir, docdir): Removed.
5628 * libc/Makefile.in (datadir): Set to $(prefix)/share.
5629 (oldincludedir, docdir): Removed.
5630 * libm/Makefile.in (datadir): Set to $(prefix)/share.
5631 (oldincludedir, docdir): Removed.
5632
5633Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
5634
5635 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5636 _reent struct.
5637
5638Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
5639
5640 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
5641 fetch current path rules with sysconf and handler posix/win32
5642 appropriately.
5643
5644 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5645
5646 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5647 (WAIT_CHILD): Always define.
5648
5649Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
5650
5651 * libc/stdlib/eprintf.c: New file.
5652 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5653 (eprintf.o): New target.
5654
5655Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
5656
5657 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5658 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5659
5660Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
5661
5662 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
5663 NT in PowerPC endianess cases.
5664
5665Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5666
5667 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
5668
5669Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5670
5671 * libc/string/strtok.c: Fix doc typo.
5672
5673Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5674
5675 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
5676 _next, _scanpoint, _signgam fields.
5677
5678 * libc/include/stdlib.h (rand_r): Added new declaration.
5679 (_rand_r, _srand_r): Removed declarations.
5680 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
5681 have been made obsolete by rand_r.
5682 * libc/stdlib/rand_r.c: New file, rand_r function as specified
5683 by POSIX.1c.
5684
5685 * libc/string/strtok.c: Update documentation to describe
5686 strtok_r().
5687
5688Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
5689
5690 * libc/include/sys/stat.h (stat structure): Use the expanded stat
5691 structure on Solaris, and PowerPC systems even though __svr4__ is
5692 defined.
5693
5694Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
5695
5696 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
5697
5698Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
5699
5700 * host/any: Use ../.. rather than .. to get to the main build
5701 directory. This matches the current layout of the build
5702 directory.
5703
5704Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
5705
5706 * libc/machine/h8300/__main.S: Delete. No longer needed.
5707 * libc/machine/h8300/Makefile.in: Corresponding changes.
5708 * libc/sys/h8300hms/crt1.c: New file.
5709 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
5710 * libc/sys/h8300hms/crt0.s: Call __main.
5711
5712 * libc/sys/h8300hms/crt0.S: Use temporary label names
5713 for branch targets.
5714
5715Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
5716
5717 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
5718
5719Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5720
5721 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
5722 .sdata on the PowerPC so that we can link newlib with code
5723 compiled with -msdata.
5724
5725Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
5726
5727 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
5728
5729Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
5730
5731 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
5732 exception handler to __cygwin_exception_handler.
5733
5734Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
5735
5736 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
5737
5738Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
5739
5740 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
5741 SunOS VPATH.
5742 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
5743 wcstombs.o): Likewise.
5744
5745Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
5746
5747 * libc/stdlib/environ.c (initial_env): New static local.
5748 (environ): Point to `initial_env'.
5749
5750 * libc/include/machine/setjmp.h: Clean up.
5751 (__H8300H__,__PPC__): Define _JBTYPE.
5752 (__arm__): Provide entry for.
5753 (sigjmp_buf): Delete.
5754 (jmp_buf): Use _JBTYPE if defined, otherwise int.
5755
5756Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
5757
5758 * libc/machine/h8300/strcmp.S: Sign extend the result to
5759 32bits so we don't lose with -mint32.
5760
5761Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
5762
5763 * libc/sys/go32/sys/errno.h: New file.
5764 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
5765 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
5766 errno's address (make compatible with rest of newlib).
5767 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
5768 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
5769
5770Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
5771
5772 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
5773 * libc/machine/sparc/Makefile.in: Build them.
5774 * libc/machine/sparc/machine/sparclet.h: New file.
5775
5776Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5777
5778 * libc/machine/sh/asm.h: New file.
5779 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
5780 support for SH3e's FP registers. Use asm.h.
5781
5782Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
5783
5784 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
5785 as first argument. Call _dtoa_r and pass the reent structure
5786 instead of calling __dtoa.
5787
5788Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
5789
5790 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
5791 the h8300, h8500, and others. Add comments for some rather
5792 dubious code.
5793
5794Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
5795
5796 * Makefile.in (check): Check that testsuite exists before cd.
5797
5798Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5799
5800 * libc/include/string.h (strsep): Correct prototype.
5801
5802Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
5803
5804 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
5805 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
5806 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
5807
5808Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
5809
5810 * libc/posix/{creat.c,isatty.c}: New files.
5811 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
5812
5813 * libc/sys/sparc64/crt0.S (environ): Delete.
5814 (.LHaveBias): Renamed from HaveBias.
5815
5816Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
5817
5818 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
5819 (_morecore_r): Delete SBRK_IS_ALLOC support.
5820
5821Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5822
5823 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
5824 module rather than touch, so we don't get warning messages when
5825 all of the libraries are combined into libc.a.
5826
5827Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
5828
5829 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
5830 crt0.s replaced by version in libgloss.
5831
5832Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5833
5834 * libc/reent/Makefile.in (OFILES): Add impure.o.
5835 * libc/reent/impure.o: New file, define initial reentrancy struct.
5836 * libc/reent/reent.c: Remove above definition.
5837
5838 * libm/math/sf_asinh.c: Fix typo.
5839
5840 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
5841 srf_ldexp.o.
5842
5843 * libm/libm.texinfo: Change documentation to reflect changes
5844 in reentrancy model.
5845 * libm/math/w_gamma.c: Likewise.
5846
5847Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
5848
5849 * configure.in (*-*-cygwin32): New.
5850 (*-*-win32): Deleted.
5851 * libc/sys/win32 renamed libc/sys/cygwin32.
5852
5853Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5854
5855 * libc/include/sys/file.h: New include file.
5856
5857Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
5858
5859 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
5860
5861Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
5862
5863 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
5864
5865Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5866
5867 * doc/makedoc.c (realloc): Declare at file scope.
5868 (catchar): Not here.
5869
5870Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
5871
5872 * Makefile.in (VERSION): Update to 1.7.0.
5873 * {libc,libm}/Makefile.in (VERSION): Likewise.
5874 * configure.in: Minor clean up of multilib stuff.
5875
5876 From David Johnson <davidj@ICSI.Berkeley.EDU>
5877 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
5878
5879 * libc/stdlib/environ.c: New file.
5880 * libc/stdlib/Makefile.in (OFILES): Build it.
5881 * libc/sys/h8500hms/crt0.c (environ): Deleted.
5882 * libc/sys/m88kbug/crt0.c (environ): Deleted.
5883 * libc/sys/z8ksim/crt0.c (environ): Deleted.
5884 * libc/sys/netware/environ.c: Deleted.
5885
5886Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
5887
5888 * configure.in (links): set sys_dir, posix_dir, syscall_dir
5889
5890Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5891
5892 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
5893 declaration out to external scope and declare it PTR, not char *.
5894
5895Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
5896
5897 * libc/include/sys/unistd.h (getpagesize): New declaration.
5898 (_SC_PAGESIZE): New definition.
5899 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
5900 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
5901
5902Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
5903
5904 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
5905 addressing. System call returns size, not (last address + 1).
5906
5907Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5908
5909 * libm/math/*.c: Removed _foo_r() reentrancy API.
5910 * libc/include/math.h: Removed _foo_r prototypes and macros.
5911
5912 * libm/math/*.c: On systems with IEEE single precision "doubles"
5913 move foo() -> foof() wrapper code from the files that implement
5914 the standard IEEE double precision functions to the files that
5915 implement IEEE single precision functions. (ie. On those systems
5916 sin is moved from s_sin.c to sf_sin.c). There should eventually
5917 be use of a C extension (like gcc's alias attribute) so that the
5918 wrappers are not needed at all.
5919
5920 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
5921 strict NEC V810 compiler.
5922 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
5923 for same reason.
5924
5925Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5926
5927 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
5928 from NetBSD C library.
5929 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
5930
5931 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
5932 and adapted from implementation I wrote for NetBSD C library.
5933 The difference is __assert doesn't take a format argument,
5934 so that there won't be multiple copies of the same string
5935 constant in the executable if assertions are enabled in
5936 more than one source module.
5937 * libc/include/assert.h (assert): Changed to call __assert.
5938
5939Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5940
5941 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
5942 word1 on systems with 32 bit doubles.
5943 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
5944 so that we can do arithmetic on them.
5945 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
5946 compilers.
5947
5948Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
5949
5950 * libc/sys/arm/crt0.S: Zero bss.
5951
5952Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
5953
5954 * libc/include/unctrl.h: New file.
5955 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
5956 * configure.in (subdirs): Add libc/misc.
5957 * libc/Makefile.in (SUBDIRS): Add misc.
5958 (SUBLIBS): Add misc/lib.a.
5959
5960 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
5961
5962Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
5963
5964 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
5965 (_vfprintf_r): Call CHECK_INIT.
5966
5967Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
5968
5969 * Makefile.in (MULTITOP): Delete.
5970 (MULTISRCTOP, MULTIBUILDTOP): Add.
5971 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
5972 instead of cfg-ml-pos.in.
5973
5974Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5975
5976 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
5977 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
5978 presence.
5979
5980Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5981
5982 * libc/string/strtok.c: Include string.h to pick up strtok_r
5983 prototype.
5984
5985Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5986
5987 * libc/string/strtok.c: include <_ansi.h>.
5988 * libc/time/asctime_r.c: `reresult' -> `result'.
5989
5990Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5991
5992 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
5993 in #ifndef _REENT_ONLY ... #endif conditional.
5994
5995 * libc/include/string.h (_strtok_r): Remove declaration.
5996 * libc/include/time.h (_asctime_r): Remove declaration.
5997 * libc/string/strtok.c (_strtok_r): Removed.
5998 * libc/time/asctime.c (_asctime_r): Removed.
5999
6000 * libc/string/Makefile.in (OFILES): Add new object.
6001 * libc/string/strtok_r.c: New file. strtok_r function as
6002 specified by POSIX.1c, adapted from strtok implementation
6003 from NetBSD C library.
6004 * libc/string/strtok.c (strtok): Reimplemented in terms of
6005 strtok_r.
6006
6007 * libc/time/Makefile.in (OFILES): Add new objects.
6008 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6009 New files, reentrant time functions specified by POSIX.1c.
6010 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6011 reentrant time functions re-written in terms of reentrant
6012 functions.
6013 * libc/time/lcltime.c: Renamed from localtime.c
6014
6015 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6016 gmtime_r, and localtime_r.
6017
6018Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
6019
6020 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6021 * libc/include/sys/unistd.h (getlogin): Revert change of
6022 Oct 19.
6023 * libc/include/sys/signal.h (sigprocmask): Change prototype
6024 so it compiles with c++.
6025
6026Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
6027
6028 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6029 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
6030 to give some room in case we need to align the jmp_buf.
6031
6032 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6033 the new ppc-asm.h include file the compiler provides to specify
6034 function prologue/epilogue. Eliminate saves of the xer and ctr
6035 registers, which are volatile. Before starting to save registers,
6036 align to 8 byte boundary.
6037
6038Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6039
6040 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6041 referenced by standard libraries.
6042
6043Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
6044
6045 * libc/unix/Makefile.in, libc/string/Makefile.in,
6046 libc/stdio/Makefile.in, libc/reent/Makefile.in,
6047 libc/posix/Makefile.in:
6048 Remove tabs from otherwise empty line. Confuses some
6049 older non-GNU versions of "make".
6050
6051Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
6052
6053 * libc/sys/unistd.h (getlogin): Returns const char *.
6054
6055Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
6056
6057 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6058 * libc/include/errno.h: Moved into and include...
6059 * libc/include/sys/errno.h: New file.
6060 * libc/include/sys/wait.h: New file.
6061 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6062 * libc/sys/win32/*: Moved out.
6063 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6064 * configure.in (i[345]86-*-win32): HAVE_RENAME
6065
6066Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6067
6068 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6069 avoid macro expansion for these two names.
6070
6071Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
6072
6073 * libc/machine/h8500/psi.S: r6 renamed to fp.
6074
6075Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6076
6077 * configure.in (powerpc*): No longer need to define
6078 NO_LONGLONG_POINTERS to supress warnings.
6079
6080Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6081
6082 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6083 through PTR instead of directly.
6084
6085 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
6086 non-standard constructor support.
6087
6088Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6089
6090 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6091 address of the Bigint instead of the address of its _x field,
6092 as the size the result buffer was calculated accordingly.
6093 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6094
6095 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6096 from NetBSD C library. No longer special cases division by
6097 zero (which needs to be done by the application anyway), but
6098 it doesn't need to call abs() (or labs()) four times either.
6099
6100 * libc/stdlib/qsort.c: Replaced with implementation from
6101 NetBSD C library.
6102
6103Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6104
6105 * libc/stdio/vfprintf.c: Replaced with implementation from
6106 NetBSD C library (which is derived from the 4.4BSD C library).
6107 * libc/stdio/cvt.c: Removed.
6108 * libc/stdio/Makefile: Updated.
6109
6110Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
6111
6112 * libc/sys/win32/syscalls.c (rename): New.
6113 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6114
6115Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6116
6117 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6118 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6119
6120 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6121 (setjmp.o): Delete rule to build setjmp.o.
6122 * libc/sys/sh/setjmp.S: Delete file.
6123
6124Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6125
6126 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6127 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6128 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
6129 pow5mult and s2b to identifiers with leading underscores.
6130 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6131 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
6132
6133Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
6134
6135 * libc/sys/posix/popen.c (sys/types.h): Include.
6136
6137Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
6138
6139 * libc/sys/win32/syscalls.h (fhandler): New struct.
6140 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6141 (__fhandler_normal): Declare.
6142 (hinfo): New member op_handlers.
6143 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6144 (__write): Likewise.
6145 (_read, _write, _open, _close, _lseek): Validate fd here.
6146 Move file type specific stuff to foo_normal.
6147 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6148 New functions.
6149 (__lookup_fhandler): New function.
6150 (__lookup_fhandler_hook, __fhandler_normal): New variables.
6151
6152 From anders.blomdell@control.lth.se (Anders Blomdell)
6153 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6154 Don't touch standard handles.
6155 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6156 (_execve): Only create __FD_TABLE__ if necessary.
6157 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6158
6159Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
6160
6161 * libc/sys/win32/sys/termios.h (FLUSHO): New.
6162 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6163 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6164 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6165 without a handler is received.
6166 * libc/sys/win32/Makefile.in: Remove --nodelete.
6167 * libc/sys/win32/resouce.c (gettimeofday): New.
6168 * libc/sys/win32/syscalls.c (path_to_real_path): New.
6169 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6170
6171Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
6172
6173 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6174 Don't append "/*" to search pattern if trailing '/' already there,
6175 append "*".
6176 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6177 like /'s, convert them to \'s. Handle //<drive>/ path names.
6178 Add space for quoted \'s in arg string. Print translated prog name
6179 and original prog name.
6180 (_execve): Handle parent doing exec a teensy bit better.
6181 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6182 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6183 path needs conversion, handle both cases. Delete `const' from result.
6184 (hash_path_name): New function.
6185 (_open): Call it.
6186 (_stat): Likewise. Fill in more fields for directories.
6187 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6188 (wait_for_any): Fix trace message.
6189 (waitpid): Explicitly test for intpid == 0.
6190
6191 From anders.blomdell@control.lth.se (Anders Blomdell)
6192 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6193 so `next' is valid.
6194
6195Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
6196
6197 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6198 complicated.
6199
6200Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6201
6202 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6203 at all, not just == 1.
6204 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6205
6206Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6207
6208 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6209 * libc/sys/win32/include/wintypes.h: include <winnt.h>
6210 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6211 file.
6212
6213Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6214
6215 * libc/sys/syscalls.c (getcwd): Fix off by one error.
6216
6217 * libc/sys/signal.c (sleep): Fill it in.
6218 * libc/sys/termios.c (tcflush): Use PurgeComm
6219 (tcsetattr): Set some more of the bits.
6220 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6221
6222Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
6223
6224 * libc/sys/arm/crt0.S (fp): Initialize to 0.
6225 Conditionally include .idata$3 stuff ifdef __pe__.
6226
6227Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6228
6229 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6230 * libc/sys/win32/pipe.c (pipe): Ditto.
6231 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
6232 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6233 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6234 (tcgetattr): Contents are new.
6235 * libc/sys/win32/include/winkernel.h (DCB): New.
6236 (GetCommState, SetCommState): New.
6237
6238Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
6239
6240 * libc/sys/arm/crt0.S (_start): Define.
6241
6242Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
6243
6244 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6245 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6246
6247 * libc/sys/win32/sysconf.c: New
6248 * libc/sys/win32/sys/winadvapi.h: New
6249 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6250 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6251 * libc/sys/win32/pipe.c (pipe): Ditto.
6252 * libc/sys/win32/signal.c (_raise): New.
6253 (_kill): Moved from spawn.c
6254 * libc/sys/win32/spawn.c (kill): Moved to signal.c
6255 * libc/sys/win32/syscalls.c (__read): Use new fields.
6256 (_open): Ditto.
6257 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6258 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6259 * libc/include/sys/unistd.h (rmdir): Takes const path.
6260 * libc/include/sys/stat.h (mkdir): Takes const path.
6261 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6262
6263Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
6264
6265 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6266
6267 Add support for specifying paths as //<drive>/foo/bar.
6268 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6269 (__path_to_real_path): Declare.
6270 (PATH_TO_REAL_PATH): New macro.
6271 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6272 (__path_needs_conversion_p, __path_to_real_path): New functions.
6273 (_open): Fix test for error return from CreateFileA.
6274 Handle new path syntax.
6275 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6276 * libc/sys/win32/dirsearch.c (opendir): Likewise.
6277
6278Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
6279
6280 * libc/sys/win32/include/*.h: Reorganized
6281 * libc/sys/win32/include/WINREADME: New.
6282 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6283 * libc/sys/win32/*.c: Fix for new include scheme.
6284 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6285 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6286 * libc/sys/win32/passwd.c (*): Fix.
6287 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6288 (_stat): Get directory owner and permissions right.
6289 * libc/sys/win32/syscalls.h (uinfo): New.
6290 * libc/sys/win32/version.def: Remove leading underscores.
6291
6292Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6293
6294 * libc/sys/win32/key.c: include "include/wincon.h".
6295
6296Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
6297
6298 * libc/sys/win32/{key, stubs}.c: New.
6299 * libc/sys/win32/Makefile: Adjust to cope.
6300 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6301 (environ_init): Change env names to upper case.
6302 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6303 * libc/sys/win32/passwd.c (*): Fill in the functions.
6304 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6305 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6306 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6307 (_open): Initialze hmap->execable_p too.
6308 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6309 (_fstat): Fill in permissions.
6310 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6311
6312Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
6313
6314 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6315 if defined.
6316 (cfg-ml-pos.in invocation): Likewise.
6317
6318Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6319
6320 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6321 s_isnan.o and sf_isnan.o.
6322
6323Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
6324
6325 * All Makefile.in files: added maintainer-clean target as a
6326 synonym for realclean.
6327
6328Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
6329
6330 * libc/include/machine/setjmp.h: Add hppa support.
6331 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6332 support.
6333 * libc/machine/hppa/Makefile.in: Related changes.
6334
6335Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
6336
6337 * configure.in (machine_dir): Don't set for v810-*-*.
6338
6339Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6340
6341 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6342 conventions correctly.
6343
6344Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
6345
6346 * libc/stdio/puts.c: Update documentation of return value to match
6347 ANSI standard.
6348
6349Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
6350
6351 Fix file descriptor inheritance.
6352 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6353 (NOT_OPEN_FD): Fix.
6354 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6355 close-on-exec flag not set. Initialize child's entire fd table.
6356 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6357 CHILD_P.
6358 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6359 if CHILD_P. Initialize entire hmap entry.
6360 (dup): Only create new handle as inheritable if CHILD_P.
6361 (dup2): Likewise. Properly initialize hmap entry.
6362
6363 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6364 _spawn.
6365 (_exit): Use CHILD_P.
6366 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6367 (_stat): Likewise.
6368
6369Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6370
6371 * libc/sys/win32/crt0.c (passover): fix up the state table.
6372 * libc/posix/popen.c: Added.
6373 * libc/posix/Makefile.in: compile popen.c.
6374
6375Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
6376
6377 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6378 h8/500 define _DOUBLE_IS_32BITS.
6379
6380Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
6381
6382 Get vfork/exec/spawn/cwait/wait working again.
6383 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6384 (procinfo): New member vfork_level.
6385 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6386 (vfork_init_first): Use GetCurrentProcessId to get pid.
6387 Initialize vfork_level.
6388 (vfork_init): Delete __PID__.
6389 (environ_init): New function. Undo patch of Aug 19, Posix says
6390 environment variables are case sensitive.
6391 (mainCRTStartup): Call it.
6392 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6393 (my_longjump: Make static.
6394 (_spawn): New argument `h'. Delete setting of __PID__.
6395 Delete local `idx'. Look for chars that need quotes, rather than
6396 ones that don't. Set handle of created process in `h'.
6397 Result is process id if created task.
6398 (allocate_spawn_entry): New function.
6399 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
6400 (_execve): Set __FD_TABLE__ before spawning child.
6401 Scan our fd table when passing fds, not our parent's.
6402 Store handle and pid in procinfo entry.
6403 (vfork0): Ensure strace message always printed.
6404 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6405 (vfork): Don't clobber result of vfork0.
6406 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6407 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6408
6409 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6410 and `exit_code'.
6411 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6412 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
6413 adding vfork level to pseudo-pid.
6414 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6415 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6416 (_exit): If child, set exit code.
6417 (__vfork_record_death): Only close process handle if valid.
6418 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6419 didn't exec.
6420 (wait_for_any): Likewise. Start scan after root entry.
6421
6422Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6423
6424 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6425 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6426 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6427 of actual file length.
6428
6429 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6430 * libc/include/paths.h: _PATH_BSHELL added.
6431 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6432 and STDERR_FILENO.
6433
6434Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6435
6436 * libc/include/ar.h: Added.
6437 * libc/include/sys/types.h: ino_t goes back to 32-bits.
6438 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6439 * libc/sys/win32/syscalls.c (_open): compute .namehash based
6440 on filename.
6441 (_fstat): use .namehash for inode number of the fd.
6442
6443Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
6444
6445 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6446 Change hinfo to __this_procinfo.
6447 * libc/sys/win32/crt0.c: Remove procinfo_list.
6448
6449Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6450
6451 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6452 win32 environment.
6453
6454Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6455
6456 * libc/sys/win32/include/grp.h: Removed.
6457 * libc/sys/include/grp.h: Added.
6458 * libc/sys/win32/grp.c: Include <grp.h>.
6459
6460Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
6461
6462 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6463 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6464 Defined for all but strict ANSI.
6465 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6466 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6467 * libc/signal/signal.c (_signal_r): Changed from using
6468 _MAX_SIGNALS to NSIG.
6469 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6470 __hmap): Deleted.
6471 (__strace, __vfork_next_pid): New.
6472 (__exe_suffix): Default to 1.
6473 (passover, table): Understand quoted arguments.
6474 (vfork_init_first): New.
6475 (vfork_init): Initialize new process structure.
6476 (mainCRTStartup): Pass environ to main.
6477 * exceptions.c (__sig_mask): New
6478 (ehandler3): Ignore signals in mask.
6479 (really_exit): Remove CHILD_P test.
6480 * pipe.c (pipe, dup, dup2): Use new process and file structure.
6481 * resource.c (getrusage): Ditto.
6482 * signal.c (sigprocmask): New.
6483 * spawn.c (*): Rewritten.
6484 * syscalls.c (*): Use new process and file structure.
6485 (find_unused_handle): New.
6486 * syscalls.h (MAX_HANDLES): Deleted.
6487 (hinfo): Removed child_created_p.
6488 (MAX_CHILDREN): Deleted.
6489 (vfork_jmp_info, procinfo): New.
6490 * wait.c (*): Mostly new.
6491 * sys/strace.h (_STRACE_PARANOID): New.
6492 * sys/param.h: New file.
6493
6494Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6495
6496 * libc/include/sys/stat.h: add S_BLKSIZE.
6497 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6498 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6499 types under win32.
6500 (mode_t): add a #else to avoid multiple definitons.
6501
6502 * libc/sys/win32/Makefile.in: add grp.c.
6503 * libc/sys/win32/grp.c: include grp.h correctly.
6504 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6505 of the st structure with real information.
6506 * libc/sys/win32 (dirent): d_ino is of type ino_t.
6507
6508Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
6509
6510 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6511 and (maybe) sparc64.
6512 (nlink_t): Provide typedef.
6513
6514Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6515
6516 * libc/sys/win32/grp.c: New file.
6517 * libc/sys/win32/include/grp.h: New file.
6518
6519Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6520
6521 * libc/include/machine/ieeefp.h: Added whitespace to make this
6522 file easier to maintain.
6523 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6524 depending on the value of __LITTLE_ENDIAN__.
6525 On the sh3e, define _DOUBLE_IS_32BITS.
6526
6527Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
6528
6529 * libc/sys/vr4300/syscalls.c: Added missing support
6530 routines. _raise() and getpid().
6531
6532Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
6533
6534 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6535
6536Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
6537
6538 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6539 and VR4300 processor.
6540 * libc/sys/vr4300: Add directory.
6541 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6542 monitor run-time support.
6543
6544Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6545
6546 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6547 * libc/stdlib/stdlib.tex: Don't include atol.def.
6548
6549Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6550
6551 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6552
6553Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
6554
6555 * libc/ctype/Makefile.in: Fill in _to* dependencies.
6556
6557Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
6558
6559 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6560 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6561 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6562 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6563 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6564
6565Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6566
6567 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6568
6569Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6570
6571 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6572 * libc/stdlib/atoff.c: New file.
6573 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6574 * libc/stdlib/atoi.c (atol): Removed.
6575 * libc/stdlib/atol.c: Removed duplicate documentation.
6576
6577 * libc/include/ctype.h (_tolower, _toupper): Moved inside
6578 #ifndef _STRICT_ANSI conditional.
6579 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6580 * libc/ctype/_tolower.c: New file.
6581 * libc/ctype/_toupper.c: New file.
6582 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6583 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6584 * libc/ctype/toascii.c (_toascii): Removed.
6585
6586Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
6587
6588 * libc/sys/sparc64/sys/types.h: Deleted.
6589
6590Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6591
6592 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6593 and recognize Windows_95 systems.
6594
6595Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6596
6597 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6598 and passed fds should be opened in text mode.
6599
6600Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6601
6602 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6603 in __hmap, set to binary mode by default.
6604
6605Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6606
6607 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6608 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
6609 vector 34.
6610
6611Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
6612
6613 * Makefile.in (install): Install all libraries found in the
6614 top level. If there's a sys/<type>/include directory,
6615 install those headers into include.
6616
6617 * libc/sys/win32/kernel.def351: Delete
6618 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6619 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6620 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6621 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6622 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6623 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6624 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6625 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6626
6627 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6628 * libc/sys/win32/crt0.c: Force all env names to upper case.
6629 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6630 * libc/sys/win32/*.c: Headers have moved.
6631 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6632 __vfork_child_idx is now __vfork_child_ptr.
6633
6634 * posix/execvp (execvp): Don't crash if no PATH envname.
6635
6636Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6637
6638 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6639 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6640 through the _freelist instead of through the _reclaim list.
6641 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6642 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6643 sources.
6644
6645Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6646
6647 * libc/machine/h8500/setjmp.S: New file.
6648 * libc/include/machine/setjmp.h: Updated for H8/500.
6649
6650Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
6651
6652 * libc/sys/win32/syscalls.c (_open): More stracing.
6653 (_stat): Open the file in O_BINARY.
6654
6655Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6656
6657 * libc/machine/h8300/setjmp.S: New file.
6658 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6659
6660Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
6661
6662 * libc/sys/win32/crt0.c (__exe_suffix): New global.
6663 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
6664 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
6665 __exe_suffix. Free fd_tab after setting env variable.
6666 (spawnv,_execve): Update.
6667 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
6668 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
6669 (__small_vfprintf): New function.
6670 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
6671 * libc/sys/win32/wait.c (cwait): Validate argument.
6672
6673 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
6674 (process_deletion_queue): Likewise.
6675
6676 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
6677
6678Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
6679
6680 * libc/sys/win32: Copyrights and gratuitous indenting.
6681
6682Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
6683
6684 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
6685 (process_deletion_queue): Likewise.
6686 (__close_all_files): New function.
6687 (_close): Only queue file deletion if really a file.
6688 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
6689 _P_APPEND_EXE.
6690 (_exit): Call __close_all_files.
6691
6692 * libc/stdlib/system.c: #include <errno.h>.
6693 (_system_r): Fix results in -DNO_EXEC case.
6694
6695 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
6696 Reorganize structure.
6697 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
6698 if argument is valid. Save directory name in DIR. malloc space
6699 for dirent struct separately.
6700 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
6701
6702 * libc/include/errno.h (ENAMETOOLONG): Define.
6703 * libc/string/strerror.c (strerror): Reword ENFILE.
6704 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
6705
6706Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
6707
6708 * libc/sys/win32/crt0.c (__progname): New global.
6709 (mainCRTStartup): Support strace=bitmask,filename.
6710 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
6711 * libc/sys/win32/syscalls.c (_write): Print parent trace message
6712 if error.
6713 (getcwd): Handle len too small. Convert '\\' to '/'.
6714 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
6715 Add prototypes for open, creat, fcntl.
6716 (O_APPEND): Change value to conform to Microsoft's value.
6717 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
6718
6719 * libc/stdlib/getopt.c: New file.
6720 * libc/stdlib/Makefile.in: Build it.
6721
6722Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
6723
6724 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
6725 Fix scanning of $PATH.
6726 * libc/posix/exec*.c: Call _execve, not execve.
6727 * libc/posix/execve.c: New file.
6728 * libc/posix/Makefile.in (OFILES): Add execve.o.
6729
6730 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
6731 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
6732 (_STRACE): If level==0, always print. Handle new bit mask scheme.
6733 * libc/sys/win32/crt0.c: Update _STRACE calls.
6734 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
6735
6736 * libc/sys/win32/smallprint.c (rn): Fix digit list.
6737
6738 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
6739 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
6740 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
6741 Print __seterrno trace message first.
6742 (_execve): Renamed from execve.
6743 (vfork): Update __strace usage.
6744 (__vfork_child_pid): Deleted.
6745 (__vfork_children, __vfork_child_idx): New globals.
6746 (_spawnvp): New function.
6747 (spawnvp, spawnv, _execve): Call _spawnvp.
6748 (init_child): Record child in __vfork_children.
6749 (__vfork_get_entry, __vfork_record_death): New functions.
6750 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
6751 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
6752 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
6753 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
6754 (children): New typedef.
6755 (__vfork_children,__vfork_child_idx): Declare.
6756 (__vfork_get_entry,__vfork_record_death): Declare.
6757 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
6758 (waitpid): Handle pid == -1.
6759 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
6760 * configure.in (i386-win32): Add -DNO_FORK.
6761 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
6762 * libc/reent/execr.c (_fork_r): Likewise.
6763 * libc/stdlib/system.c (do_system): New function.
6764 If WIN32, try to get shell path from $SH_PATH, use vfork.
6765 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
6766 otherwise return 0.
6767
6768Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
6769
6770 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
6771 * libc/sys/win32/fcntl.h: Don't include self.
6772 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
6773 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
6774 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
6775 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
6776 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
6777 Correct prototypes.
6778 * libc/sys/win32/strace.c: New file.
6779 * libc/sys/win32/smallprint.c: New file.
6780 * libc/sys/win32/crt0.c (func): Delete.
6781 (mainCRTStartup): Fix alloca usage. Set handles explictly.
6782 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
6783 * libc/sys/win32/exceptions.c: Lint.
6784 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
6785 Clean up handle usage.
6786 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
6787 (open.c): Default file type is text.
6788 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
6789 * libc/sys/win32/advapi32.def: New
6790
6791Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
6792
6793 * configure.in (posix_dir, libc_posix_lib): New variables.
6794 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
6795 (i[345]86-*-win32): Define posix_dir.
6796 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
6797 (if unix_dir): Fix typo.
6798 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
6799 scandir,seekdir,telldir}: New files.
6800 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
6801 from libc/unix.
6802 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
6803 (SUBDIRS): Add posix.
6804 (SUBLIBS): Add $(LIBC_POSIX_LIB).
6805
6806 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
6807 (NSIG): Increase to 21.
6808 * libc/include/sys/unistd.h (pid_t): Move from here,
6809 * libc/include/sys/types.h (pid_t): to here.
6810
6811 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
6812 (__ptrace): Delete.
6813 (hinfo): New members close_exec_p, child_created_p.
6814 (struct exception_list): Define.
6815 (__hmap): Redefine as pointer to table.
6816 (__parent_hmap, __child_hmap): New globals.
6817 (__set_errno, __really_exit): Declare.
6818 (__vfork_child_pid): Declare.
6819 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
6820 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
6821 (__parent_hmap, __child_hmap): New globals.
6822 (__hmap): Redefine as pointer to active map.
6823 (__get_console): New function.
6824 (mainCRTStartup): Change leading '=' in environ vars to '!'.
6825 (env __FD_TABLE__): Watch for this and initialize our fd/handle
6826 mapping table from it if defined.
6827 (argv, envp): Dump if __strace >= 4.
6828 (main): Call here.
6829 * libc/sys/win32/exceptions.c (myp): Redefine.
6830 (__syscalls_b): Delete.
6831 (__stack_trace): New function.
6832 (ehandler3): Update to use _STRACE. Print stack trace.
6833 Call __really_exit instead of exit.
6834 (init_exceptions): Delete args argc,argv. New arg mine.
6835 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
6836 FindFirstFileA, FindNextFileA, GetComputerNameA,
6837 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
6838 * libc/sys/win32/signal.c (signal): Validate arg.
6839 (alarm, sleep): Define as stubs for now.
6840 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
6841 (__syscalls_b, errno): Delete.
6842 (__vfork_child_pid, __vfork_jmp_buf): New globals.
6843 (__seterrno): Handle more errors.
6844 (__sys_printf): Renamed from _ptrace.
6845 (__really_exit): New function.
6846 (queue_file_deletion, process_deletion_queue): New functions.
6847 (__resume_parent): New function.
6848 (_unlink): Handle trying to delete open file.
6849 (__totime_t): Renamed from totime_t.
6850 (setsid, __read, __write): New functions.
6851 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
6852 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
6853 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
6854 * libc/sys/win32/console.c: Update to new definition of __hmap.
6855 * libc/sys/win32/Makefile.in: Build new files.
6856 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
6857 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
6858 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
6859 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
6860
6861Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
6862
6863 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
6864
6865Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6866
6867 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
6868 have been made to the master dtoa.c sources (from netlib.att.com)
6869 since they were integrated into newlib in early 1992. Fixes
6870 problems with storage leaks and handling of numbers with very
6871 negative exponents.
6872
6873Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6874
6875 * Makefile.in (all): set rootpre and srcrootpre before calling
6876 sub-makes.
6877
6878Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
6879
6880 * libc/sys/win32/crt0.c: Change __hmap usage.
6881 * libc/sys/win32/exceptions.c: Use _ptrace call.
6882 * libc/sys/win32/syscalls.c: Use _ptrace call.
6883 (read, write): Cope with DOS style CRLF when in TEXT mode.
6884 * libc/sys/win32/syscalls.h: Declare hinfo struct.
6885 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
6886 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
6887 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
6888 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
6889
6890Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6891
6892 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
6893
6894 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
6895 wrappers for hypot() and remainder() for BSD libm compatibility.
6896 These are public domain implementations written by me for the
6897 NetBSD libm some time ago. Note cabs() is required by ucbtest.
6898 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
6899 (fobj): Added wf_cabs.o and wf_drem.o.
6900
6901Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6902
6903 * libc/sys/h8500hms/misc.c: New file.
6904 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
6905
6906Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6907
6908 * libc/time/localtime.c (localtime): Fix problem with leap year
6909 handling. Stole algorithm from Arthur David Olson's tz code.
6910
6911Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
6912
6913 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
6914
6915 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
6916 (_exit): Use argument.
6917
6918Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
6919
6920 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
6921
6922Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
6923
6924 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
6925
6926Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6927
6928 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
6929 target_cflags.
6930
6931Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
6932
6933 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
6934 ptrace with case insensitivity
6935 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
6936 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
6937 New files.
6938
6939Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
6940
6941 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6942 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
6943 (all, install, *clean): Use new multilib support.
6944 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6945
6946Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
6947
6948 * libc/include/sys/signal.h (__WIN32__): New.
6949
6950 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
6951
6952 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
6953 (ulp, b2d): Handle 32 bit doubles.
6954 * libc/stdlib/mprec.h: Handle 32 bit doubles.
6955 * libc/stdlib/strtod.c (_strtod_r): Ditto.
6956
6957Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
6958
6959 from medp@primag.co.uk:
6960 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
6961 dynamically allocated buffers.
6962
6963Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
6964
6965 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
6966 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
6967
6968Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6969
6970 * configure.in (powerpc): Fix previous fix.
6971
6972Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6973
6974 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
6975 directories for this target.
6976
6977Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6978
6979 * configure.in (hppa): Add machine_dir definition.
6980 * libc/machine/hppa: New directory with PA specific implementations
6981 of the basic memory/string functions.
6982
6983Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6984
6985 * configure.in: Update current PowerPC multilib directories.
6986 Split big and little endian configurations.
6987
6988Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
6989
6990 * configure.in: Add --enable-single-float option to configure to
6991 control use of MIPS single-float directories. Default to yes.
6992
6993 * Makefile.in (all): Don't recurse into multilib directory if it
6994 does not exist.
6995
6996Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6997
6998 * libc/sys/sh/syscalls.c: Fix typo.
6999
7000Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
7001
7002 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7003 Pass down DLLTOOL.
7004 * libc/include/process.h: Define WAIT_CHILD.
7005 * libc/include/types.h: Get sizes right for win32.
7006 * configure.in (i386-*-pe): Becomes i386-win32.
7007 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7008 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7009 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7010 is defined.
7011
7012Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
7013
7014 * configure.in (i[345]86-*-pe): New target (NT).
7015 * host/any: DLLTOOL new.
7016 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7017 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7018 WIN32 (just enough to cross host the comp-tools).
7019
7020Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
7021
7022 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7023 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
7024
7025Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
7026
7027 * libc/include/machine/ieeefp.h (arm): Change to always be
7028 __IEEE_BIG_ENDIAN (even on little endian ARM's).
7029
7030Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
7031
7032 * libc/sys/crt0.S: Initialze sp, and call exit after main.
7033 * libc/sys/syscalls.c (abort): New.
7034 * configure.in (arm): Define ABORT_PROVIDED.
7035
7036Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7037
7038 * configure.in (powerpc): Define multidirs.
7039
7040Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
7041
7042 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7043
7044Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
7045
7046 * configure.in (sparclite): Delete target_cflags. Define multidirs.
7047
7048Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
7049
7050 * configure.in, libc/include/machine/ieeefp.h: Modified
7051 for arm:
7052 libc/machine/arm/*, libc/sys/arm/*: New
7053
7054Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7055
7056 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7057 __powerpc__ when determining endianness.
7058
7059Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7060
7061 * configure.in (m68*): Add multidir for the m68332.
7062
7063 * host/any (CC): Fix typo in last change.
7064
7065Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
7066
7067 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7068 when determining endianness.
7069 * libc/include/machine/ieeefp.h: Ditto.
7070 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7071 operands.
7072
7073Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
7074
7075 * libc/include/errno.h (ENOTEMPTY): Define.
7076
7077Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7078
7079 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7080 target_cflags.
7081
7082 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7083 and umultiply.o.
7084
7085 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7086 instead of only when open succeeds. ANSI requires that multiple
7087 calls to tmpnam() result in different files.
7088
7089 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7090 objects pulled in from /lib/libc.a that must be renamed before
7091 being pulled into newlib. /lib/libc.a's div.o conflicted with
7092 newlib's file with the same name.
7093
7094 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7095
7096 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7097 the build tree will only be used if the executables are present
7098 (instead of just the Makefiles).
7099
7100 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7101 wcstombs): Define.
7102 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7103 versions of these functions that I orignally wrote for the
7104 NetBSD C library.
7105 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7106 versions I wrote for NetBSD.
7107
7108Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
7109
7110 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7111 * libc/sys/sparclite/crt0.s: ditto.
7112
7113Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
7114
7115 * configure.in: Add soft-float for proelf.
7116
7117Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
7118
7119 * libc/stdlib/mprec.h (Bcopy): Copy the right number
7120 of bytes.
7121
7122Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
7123
7124 * Makefile.in (all): Depend on `force'.
7125 * configure.in (syscall_dir): Renamed from fake_sys_dir.
7126 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7127 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7128 * libc/Makefile.in: Likewise.
7129 * libc/include/reent.h: Update syscall references.
7130 (_fcntl_r): Add prototype.
7131 * libc/syscalls/*.c #include <reent.h>.
7132 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7133
7134Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
7135
7136 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7137 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7138 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7139 (time.h, sys/types.h): Always include (even if MSDOS).
7140 (stat): Fix prototype.
7141
7142Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
7143
7144 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7145
7146Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7147
7148 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7149
7150Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
7151
7152 * libc/include/regdef.h: New file.
7153 * libc/machine/mips/machine/regdef.h: New file.
7154
7155Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
7156
7157 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7158
7159Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
7160
7161 * libc/sys/sh/crt0.S: Pass main's return to exit.
7162 * libc/sys/sh/trap.S: Put errno in the right place.
7163
7164Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7165
7166 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7167 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7168 * libm/math/ef_rem_pio2.c: Likewise.
7169 * libm/math/e_log10.c: Remove unused static one.
7170 * libm/math/ef_log10.c: Likewise.
7171 * libm/math/s_frexp.c: Likewise.
7172 * libm/math/sf_frexp.c: Likewise.
7173
7174Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
7175
7176 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7177 longjmp.S: Upgraded.
7178 * libc/sys/go32/sys/setjmp.h: Upgraded.
7179 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7180
7181Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7182
7183 * configure.in: Add many entries to multidirs for mips targets.
7184
7185Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7186
7187 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7188 5.2 which fixes bug where jn(-1,x) is three times larger than
7189 the actual answer.
7190 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7191
7192Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
7193
7194 * libc/sys/w65/sys/syscalls.h: New file
7195 * libc/include/machine/ieeefp.h: W65 support.
7196 * libc/include/sys/config.h: Ditto.
7197 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7198 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7199 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7200
7201Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7202
7203 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7204
7205Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
7206
7207 * Makefile.in, configure.in: Remove any references to the old
7208 "stub" dir.
7209
7210Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7211
7212 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7213 uses ... in prototype.
7214
7215
7216Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7217
7218 * libc/sys/a29khif/sys/libconfig.h: Remove.
7219 * libc/sys/go32/sys/libconfig.h: Remove.
7220 * libc/sys/sun4/sys/libconfig.h: Remove.
7221 * libc/sys/sysvi386/sys/libconfig.h: Remove.
7222 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7223 * libc/sys/sparc64/sys/libconfig.h: Remove.
7224
7225 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7226 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7227 * libc/include/math.h: Change all uses of _FLOAT_RET and
7228 _FLOAT_ARG to float.
7229 * libm/test/math.c: Likewise.
7230 * testsuite/libm.sac/math.c: Likewise.
7231 * testsuite/libm.sac/working/math.c: Likewise.
7232
7233Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7234
7235 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7236 gcc calls gas with endian option.
7237 * configure.in (sh): Build little endian version too.
7238
7239Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7240
7241 * configure.in: Configure big and little endian versions for MIPS
7242 targets.
7243
7244Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
7245
7246 * libc/include/limits.h: Deleted.
7247 * libc/include/machine/limits.h: Deleted.
7248
7249Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
7250
7251 * ChangeLog: Remove stub directory. This has all been rewritten
7252 and moved to devo/libgloss.
7253
7254Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7255
7256 * Makefile.in (dvi): Add to info target, use $@ in sub make.
7257 (docs): Merge into info target.
7258 * libm/Makefile.in (dvi): Add $(srcdir).
7259 * libm/math/Makefile.in (chobjs): Remove underscores from file
7260 names. Texinfo doesn't like them.
7261 (wacos.def, ...): Add explicit targets for all .def files.
7262 * libm/math/math.tex: Remove underscores from @include file names.
7263 * doc/Makefile.in (dvi): Add dummy target.
7264 * testsuite/Makefile.in (dvi): Add dummy target.
7265
7266Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
7267
7268 * Makefile.in (VERSION): Define. For net newlib releases.
7269
7270Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
7271
7272 * README: New file.
7273
7274Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7275
7276 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7277
7278Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7279
7280 * libc/stdlib/setenv.c (_findenv): Declare.
7281
7282 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7283 fcntl to not use _EXFUN, and change string parameters to open and
7284 creat to be ``const char *''.
7285 * libc/sys/sparc64/sys/fcntl.h: Likewise.
7286 * libc/sys/sparc64/creat.c (creat): Make PATH const.
7287 * libc/syscalls/sysopen.c: Include <fcntl.h>.
7288 (open) Make _FILE const.
7289 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7290 (_creat): Make PATH const.
7291 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7292 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7293 * libc/sys/m88kbug/syscalls.c (open): Likewise.
7294 * libc/sys/sh/syscalls.c (_open): Likewise.
7295 * stub/shared/glue.c (open): Make BUF const.
7296 * stub/ex93x/syscalls.c (open): Make FILENAME const.
7297
7298Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7299
7300 * libc/include/errno.h: Add ENMFILE
7301 * libc/include/sys/config.h: Support Z8000.
7302 * libc/include/sys/signal.h: New signals for go32.
7303 * libc/machine/h8500/psi.S (__addpsir0r0): New function
7304 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7305 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7306 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7307 size is variable, depending upon CHUNK_POWER.
7308 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7309
7310Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7311
7312 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7313
7314Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7315
7316 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7317
7318Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7319
7320 * configure.in: Change i[34]86 to i[345]86.
7321
7322 * libc/include/math.h: Don't define HUGE_VAL if it is already
7323 defined.
7324
7325Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7326
7327 * testsuite/libm.sac/test_erfc.c: Correct some result values.
7328 * testsuite/libm.sac/test_gammaf.c: Likewise.
7329 * testsuite/libm.sac/test_sin.c: Likewise.
7330 * testsuite/libm.sac/test_tanh.c: Likewise.
7331
7332Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7333
7334 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7335 already set. Define typedefs __int32_t and __uint32_t.
7336 * libc/include/math.h: Include <machine/ieeefp.h>.
7337 (union __dmath): Use __uint32_t.
7338 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7339 instead of int and unsigned int.
7340
7341Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7342
7343 Replace the math library with the SunPRO fdlibm package.
7344 * libm/math: Completely changed all files.
7345 * libm/ieeefp: Remove contents and directory.
7346 * libm/Makefile.in (LIBM_FP_LIB): Remove.
7347 (SUBDIRS): Just set to math/lib.a.
7348 * libm/libm.texinfo: Updated for new library.
7349 * libc/include/math.h: Extensive changes for new math library.
7350 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7351 from _FLOAT_ARG to float.
7352 (maxpowtwo, maxpowtwof): Don't declare.
7353 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7354 (libm_fp_lib): Removed.
7355 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7356 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7357 argument to ${RUNTEST}.
7358 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7359 (.c.o): New rule.
7360 (RUNTESTFLAGS): Set CC and CFLAGS.
7361 (TESTS): Remove test_log2 and test_log2f.
7362 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7363 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7364 _FLOAT_ARG, for single precision argument type.
7365 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7366 expected failure. Close the input pipe.
7367 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7368 Correct misspelling of inaccurate.
7369 (test_mok): Use ``inaccurate'', not ``wrong''.
7370 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7371 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7372 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7373 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7374 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7375 test_yn.c): Correct many result values. Many are still wrong.
7376
7377 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7378 just copy the string.
7379 (_gcvt): Always return the buffer.
7380
7381Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7382
7383 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7384
7385Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7386
7387 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7388 structure.
7389 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7390 (_reclaim_reent): declare new entry point.
7391 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7392 functions.
7393
7394 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7395 ever allocated, so that we can later reclaim them all.
7396 (pow5mult): make reentrant.
7397
7398 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7399 so that when given NULL as a buffer, return a pointer to static
7400 space in the rent structure. This is not documented behaviour;
7401 it's only to support ecvt and fcvt, which aren't ANSI anyway.
7402 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7403 therefore become reentrant).
7404
7405 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7406
7407Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7408
7409 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7410
7411Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7412
7413 * Makefile.in: Make link to libg.a after libc.a; this is needed
7414 for the testsuites to build executables when everything comes
7415 from the tree.
7416
7417Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
7418
7419 * libc/Makefile.in: Add a VERSION variable so we can keep track.
7420 * libm/Makefile.in: Add a VERSION variable so we can keep track.
7421
7422Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7423
7424 * libc/include/stdio.h: Use __VALIST, not va_list.
7425
7426Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
7427
7428 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7429 testsuite/libm.sac/execute.exp:
7430 Replace error proc calls with perror calls.
7431
7432Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
7433
7434 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7435 * libc/include/time.h: #define NULL as 0L.
7436
7437Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
7438
7439 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7440 care of it.
7441
7442Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7443
7444 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7445 not __unix__.
7446
7447Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
7448
7449 * configure.in (TARGET_CFLAGS): Set -O2 as default.
7450 (z8k-*-*): Use syscalls fake sys dir.
7451 * libc/sys/z8k/glue.c: Rename syscalls.
7452 * libc/sys/go32/Makefile.in: Use new routines.
7453 * libc/machine/Makefile.in: Fix typo in ln stuff.
7454
7455Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7456
7457 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7458 * libc/Makefile.in (crt0.o): Likewise.
7459 * libc/machine/Makefile.in (lib.a): Likewise.
7460 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7461
7462 All Makefile.in files: Added mostlyclean, realclean and distclean
7463 targets.
7464
7465 * Makefile.in: Don't bother to unexport XTRAFLAGS or
7466 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7467 the top level Makefile.
7468
7469Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
7470
7471 * libc/sys/sparc64/sys/stat.h: New file.
7472 * libc/sys/sparc64/sys/time.h: New file.
7473 * libc/sys/sparc64/sys/types.h: New file.
7474
7475Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
7476
7477 * stub/ex93x/crt0.s (start): Add code to clear bss.
7478
7479Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
7480
7481 * libc/include/sys/types.h (time_t): Properly protect inside
7482 #ifndef __time_t_defined.
7483
7484 * libc/stdio/fileno.c: New file.
7485 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7486 (fileno.o): Add dependency.
7487 * libc/include/stdio.h (__sgetc): Rename never to _never.
7488 (fileno macro): Disable, needs to do CHECK_INIT first.
7489
7490Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
7491
7492 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7493 goal.
7494
7495 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7496 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7497 runtest.
7498 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7499 runtest.
7500
7501Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
7502
7503 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7504 of the various constants.
7505
7506Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
7507
7508 * libc/include/math.h: #ifndef __math_68881 around things which
7509 conflict with the (gcc-provided) inline functions in
7510 gcc/ginclude/math-68881.h.
7511
7512Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
7513
7514 * libc/include/_syslist.h (_gettimeofday): Define.
7515 (_times): Ditto.
7516 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7517 (struct tms, timeval, timezone): Declare.
7518 (_gettimeofday_r, _times_r): Declare.
7519 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
7520 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7521 (time_t): Add multiple definition protection, __time_t_defined.
7522 * libc/include/sys/time.h: Don't #include <time.h>.
7523 Always define struct timezone (remove #ifndef _TIME_H_).
7524 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
7525 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7526 * libc/reent/Makefile.in (OFILES): Add timer.o.
7527 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
7528 * libc/reent/timer.c: New file.
7529 * libc/time/clock.c: #include <reent.h>.
7530 (clock): Call _times_r instead of times.
7531 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7532 HAVE_GET_TIME_OF_DAY.
7533 Add comment regarding supporting OS routine(s) required (for docs).
7534 #include <reent.h>.
7535 (time): Call _gettimeofday_r instead of gettimeofday.
7536 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7537 * libc/time/ctime.c: Ditto.
7538 * libc/time/strftime.c: Ditto.
7539 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7540 (TEMPLATE_SFILES_R): Define here. Also define times.
7541 Add times_r.o/times.S dependence.
7542 (time2.c, junk.c): Deleted.
7543 * libc/sys/sparc64/time2.c: Deleted.
7544 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7545
7546 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7547 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7548 * libc/sys/sparc64/junk.c: Deleted.
7549
7550Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
7551
7552 * libc/sys/sparc64/Makefile.in: Add times syscall.
7553 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7554 be used with and without it. Add comment clarifying Medium/Anywhere
7555 model requirements.
7556 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7557 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7558 even if obsolete.
7559
7560Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
7561
7562 * configure.in (target_cflags): Move init.
7563 (sparc64-*-*): Define HAVE_BLKSIZE.
7564
7565Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
7566
7567 * libc/include/sys/_types.h: New file.
7568 * libc/include/reent.h: #include it.
7569 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7570 MISSING_SYSCALL_NAMES.
7571 Sort syscalls.
7572 * libc/include/_syslist.h: Remove _raise.
7573 * libc/reent/signalr.c: New file.
7574 * libc/reent/Makefile.in: Compile it.
7575 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7576 Add doc for raise and _raise_r.
7577 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7578 (raise): Call _raise_r.
7579 (_raise_r): Call _getpid_r and _kill_r.
7580 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7581 (abort): Loop forever calling raise and _exit.
7582
7583Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7584
7585 * configure.in: Remove extraneous echo.
7586
7587Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
7588
7589 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7590 collision with unistd.h, and fix for svr4.
7591
7592Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
7593
7594 * libc/stdio/local.h (_llicvt): Declare.
7595 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7596 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7597 (_llicvt): Define.
7598 (_sicvt): Fix function header (`value' is short).
7599 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7600 Add printing of long long's support.
7601 Add printing of 8 byte pointer support.
7602
7603Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
7604
7605 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7606 stat, chmod): New hooks.
7607 (sbrk): Abort if stack and heap collide.
7608 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7609 shortcut when given small args.
7610 * libc/machine/sh/setjmp.s: Rewritten.
7611 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7612 of cmp/str instruction.
7613
7614Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7615
7616 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7617 and machine_dir powerpc.
7618 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7619 Add cases for __powerpc__.
7620 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7621 New files.
7622
7623 * libc/include/stdio.h (_iprintf_r): Declare correctly.
7624
7625Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
7626
7627 * libc/stdlib/callocr.c: New file with _calloc_r in it.
7628 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7629
7630Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
7631
7632 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7633 (print_e): More comments to describe args, etc.
7634 "type" arg may now be 'g' or 'G' for %g/G format --> remove
7635 trailing blanks.
7636 (_gcvt): Remove locals decpt, sign, end, p, done.
7637 More comments for print_e invocation.
7638 Pass "type" to print_e as is (g/G).
7639
7640Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
7641
7642 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7643 stock m68000.
7644
7645Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
7646
7647 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7648 works with any sized pointer, including ones bigger than ints and
7649 longs.
7650
7651Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
7652
7653 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7654
7655Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7656
7657 * libc/include/stdlib.h (_calloc_r): Add prototype.
7658 * libc/machine/h8500/negsi2.c: New file.
7659 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7660 large unsigned numbers.
7661 * libc/machine/h8500/cmpsi.c: Add cmppsi.
7662 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
7663 works when sizeof(size_t) != sizeof(char *).
7664 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
7665 get play area
7666 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
7667
7668Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
7669
7670 * libc/include/assert.h (assert): Handle -traditional.
7671
7672Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
7673
7674 * Makefile.in: added ; after every "fi" and "done" that wasn't at
7675 the end of a line (ie. anything before a backslash continuation)
7676 so that bash handles them.
7677
7678Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7679
7680 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
7681 stat to lstat
7682
7683Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
7684
7685 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
7686 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
7687 libc/machine/sh/udivsi3.s: Use new calling convention.
7688
7689Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
7690
7691 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
7692 chmod, access, chdir, chown by making _path const. Also fix _amode
7693 param of access.
7694
7695Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
7696
7697 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
7698 _khif_tmpnam, because it doesn't comply with ANSI but may be
7699 useful anyway. Real tmpnam was already in libc/stdio, and was
7700 colliding with this one (pr 2176.)
7701 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
7702 the wrong idea anyhow.
7703
7704Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
7705
7706 * configure.in: Remove h8300h, we have multilib now.
7707
7708Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
7709
7710 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
7711 functions, to get preference over the ones in libiberty (since we
7712 provide correct declarations in <string.h>.
7713 * libc/string/Makefile.in: add support for strncasecmp,
7714 strcasecmp.
7715
7716Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
7717
7718 * Change netware config not to look for cpu explicitly.
7719
7720Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
7721
7722 * libc/sys/sparc64/{creat.c,junk.c}: New files.
7723 * libc/sys/sparc64/Makefile.in: Add dependencies.
7724
7725Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
7726
7727 * configure.in: Clean up v9 a bit, new "os" aoutv8.
7728
7729Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
7730
7731 * libc/include/sys/reent.h: make structure smaller by allocating
7732 some stuff when needed.
7733 * libc/signal/signal.c: allocate as needed
7734 * libc/stdio/findfp.c,stdio/local.h: ditto
7735 * libc/stdlib/mprec.c: ditto
7736
7737 * libc/time/localtime.c: don't return a dangling stack ptr.
7738
7739Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
7740
7741 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
7742
7743Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7744
7745 * libc/include/stdio.h (__sputc): comment out static inline which
7746 confuses coff toolchains.
7747
7748Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
7749
7750 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
7751 _write.s, getpid.c, kill.c, read.s}:
7752 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
7753 through the syscalls directory.
7754
7755Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
7756
7757 * configure.in: fixed double quote gotcha.
7758
7759Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
7760
7761 * stub/ex931: stub library for sparclite board.
7762 * stub/idp: Renamed from mc68ec. Added contructor table
7763 stuff to linker script.
7764 * stub/mvme135: Renamed from m68kmvme. Added contructor table
7765 stuff to linker script.
7766
7767Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7768
7769 * configure.in: Configure testsuites only if they exist.
7770
7771Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7772
7773 * configure.in: Don't set machine_dir for i386 until there is
7774 something in libc/machine/i386 to compile. For i[34]86-*-netware*
7775 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
7776 CLOCK_PROVIDED and MALLOC_PROVIDED.
7777
7778 * libc/sys/netware: New directory. Contains simplistic and
7779 probably incorrect stubs for NetWare. Should be enough to load
7780 the library.
7781 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
7782 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
7783 stub files.
7784
7785 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
7786 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
7787 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
7788 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
7789
7790Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
7791
7792 * testsuite/Makefile.in: add "docs" dummy target for consistency
7793 with rest of newlib; turn "info" and "install-info" into dummy
7794 targets, since they wouldn't have worked. (Depended on
7795 nonexistent "doc" subdir.)
7796
7797Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7798
7799 * configure.in: handle mips* instead of mips
7800
7801Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
7802
7803 * libc/include/sys/dirent.h: New file. If it is not overridden by
7804 a version of libc/sys/*/sys/dirent.h, it includes the next
7805 <dirent.h> file in case there is one lurking somewhere.
7806
7807Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7808
7809 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
7810 compliance, namely: Accept a minus sign. Consider a single 0 with
7811 a radix of 0 as being a conversion. Determine overflow correctly.
7812 If an overflow occurs, set *ptr to the end of the number, not the
7813 middle.
7814 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
7815
7816Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
7817
7818 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
7819
7820Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
7821
7822 * Makefile.in (INSTALL): Use $srcrootpre.
7823 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
7824 can't handle it.
7825 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
7826 it.
7827 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
7828 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
7829 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
7830 * libm/math/Makefile.in (matherr.o): Ditto.
7831
7832Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
7833
7834 * configure.in: Build multidirs for z8k.
7835 * libc/include/stdlib.h (_strtoul_r): add prototype.
7836 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
7837 * libc/include/machine/setjmp.h: Add for z8k.
7838 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
7839 * libc/sys/z8ksim/glue.c: tidy up.
7840
7841Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
7842
7843 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
7844 New files. Requires execve system call.
7845 * libc/unix/Makefile.in: Use them.
7846 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
7847 Deleted, moved to libc/unix.
7848 * libc/sys/sparc64/Makefile.in: Remove them.
7849
7850Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
7851
7852 * libc/sys/sparc64/{template.S template_r.S}: New files.
7853 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
7854 from templates.
7855 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
7856 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
7857 umask.S unlink.S wait4.S write.S}: Removed, now built from
7858 templates.
7859
7860Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
7861
7862 * libc/time/time.c: #include <_ansi.h>.
7863
7864Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
7865
7866 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
7867
7868Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7869
7870 * configure.in: match m8* rather than m88k so that m88110 is
7871 recognized as well.
7872
7873Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
7874
7875 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
7876 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
7877 misc.c: New file.
7878
7879 * configure.in: Add multilib support to h8300.
7880
7881Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
7882
7883 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
7884 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
7885 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
7886
7887Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7888
7889 * configure.in: Corrected multidirs for sparc target.
7890
7891Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7892
7893 Support for building newlib multiple times with different
7894 compilation flags.
7895 * configure.in: Only configure doc at top level. Set multidirs
7896 when appropriate for target, unless not at top level. If
7897 multidirs is set, independently configure each subdirectory.
7898 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
7899 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
7900 automagically set by configure.in.
7901 (all): If MULTIDIRS is set, build multiple copies of libraries.
7902 (install): If MULTIDIRS is set, install multiple copies of
7903 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
7904 MULTISUBDIR is set, don't bother to install header files.
7905 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
7906 ${srcrootpre}.
7907 * stub/configure.in: Set MULTISUBDIR appropriately.
7908 * stub/Makefile.in (install): Install in
7909 $(tooldir)/lib/$(MULTISUBDIR).
7910 * All Makefile.in files: Define SRCTOP as well as TOP.
7911
7912Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
7913
7914 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
7915 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
7916
7917Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
7918
7919 * libc/sys/h8300hms/exit.c (_exit): New function.
7920
7921Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7922
7923 * configure.in: recognize m88110.
7924
7925Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7926
7927 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
7928 prototype main and call with args.
7929
7930Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
7931
7932 First real try at system traps for m88k-bug.
7933 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
7934 to real trap calls.
7935 * libc/sys/m88kbug/sys/systraps.h: new file.
7936
7937Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7938
7939 Patches to fix info building when target does not use sys
7940 directory.
7941 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
7942 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
7943 libc/sys.tex.
7944 * libc/sys/Makefile.in (doc): do nothing.
7945
7946Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7947
7948 * libc/Makefile.in (CRT0): new macro.
7949 (all): depend on $(CRT0) rather than crt0.o.
7950
7951 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
7952 do not default crt0, instead, set crt0 and crt0_dir based on
7953 sys_dir and stub_dir.
7954
7955 * Makefile.in (CRT0_DIR): new macro.
7956 (all): depend on $(CRT0) rather than crt0.o which may not exist.
7957 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
7958 $(CRT0).
7959 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
7960
7961Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7962
7963 * testsuite/lib/libm.exp:
7964 added code to support compiling and linking of tests for
7965 libm.sac (paranoia to be added next) and processing the
7966 pass or failure of the tests.
7967
7968 * testsuite/config/unix-libm.exp:
7969 platform specific proc's for dealing with compiler, linker
7970 and the way we execute and process the test results.
7971
7972 * testsuite/libm.sac/execute.exp:
7973 generic framework for the sac tests. the config and lib
7974 expect code for specific platforms tie it all together.
7975
7976 * testsuite/libm.sac/test_is.c:
7977 changed the output of the test to be consistant with the
7978 other tests. parsing of pass nad fail messages is now fixed.
7979
7980Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
7981
7982 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
7983 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
7984 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
7985 #ifdef __cplusplus, surround by extern ""C { ... }.
7986 * libc/include/assert.h: Do *not* protect assert.h against
7987 multiple inclusion! Also, #undef it before #define, to allow
7988 redefinition.
7989 * libc/include/stdio.h (getlogin, cuserid): Removed. These
7990 should be only in unistd.h.
7991
7992 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
7993 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
7994 ... }.
7995
7996Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
7997
7998 * libc/machine/sparc/Makefile.in: Must create a library, even
7999 if empty.
8000
8001Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8002
8003 * configure.in: set machine_dir for m88k. edit crt0 definition
8004 into makefiles.
8005
8006 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8007
8008 * libc/Makefile.in (all): also build crt0.o.
8009
8010 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8011 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8012 to remove CRT0.
8013
8014 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8015 (all): reworked to build in place.
8016 (clean): remove lib.a
8017 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8018
8019 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8020 (_start): key off edata rather than _start_bss.
8021
8022Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
8023
8024 * libc/include/sys/unistd.h, libc/include/reent.h,
8025 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8026
8027Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8028
8029 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8030
8031 * Makefile.in (libc.a): break into two rules, one for libc.a and
8032 one for libc/libc.a. Force subdirs current before rebuilding
8033 library.
8034 (libm.a): break into two rules, one for libm.a and one for
8035 libm/libm.a. Force subdirs current before rebuilding library.
8036
8037 * libc/Makefile.in (SUBLIBS): fix typo.
8038
8039 * libc/sys/Makefile.in (all): force descent into subdirs, then
8040 rebuild library iff out of of date.
8041
8042Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8043
8044 Rework so that library is built and then finished rather than
8045 being built on each invocation of make.
8046
8047 * host/any (machine_dir, sys_dir, signal_dir): these are not
8048 shared and have been moved to their associated Makefile.in's.
8049 (AR_FLAGS): switch to qc which is faster.
8050 * configure.in: no longer assign machine_dir for m88k. set
8051 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
8052 stub_dir set, then add to configdirs. add comment about silly
8053 configuration.
8054 (configdirs): drop stub. It will be added only
8055 when needed.
8056 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8057 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8058 stub_lib, crt0): new variables for tailoring lower level
8059 makefiles. Assign accordingly and edit into makefiles.
8060 * libm/Makefile.in: updated copyright.
8061 (TARGETLIB): removed.
8062 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8063 (SUBDIRS): removed TARGETDEP_DIRS.
8064 (LIBM_FP_LIB, SUBLIBS): new macros.
8065 (all): reworked.
8066 (force): new target to force rebuilds.
8067 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8068 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8069 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8070 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8071 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8072 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8073 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8074 stub/m68kmvme/Makefile.in: updated copyright.
8075 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8076 (all): reworked. made this the default rule.
8077 (clean): also remove lib.a.
8078 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8079 * stub/Makefile.in: updated copyright.
8080 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8081 (stub_lib): new macro.
8082 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
8083 RANLIB.
8084 (all): reworked.
8085 (clean, install): assume stub_dir exists.
8086 (Makefile): depend on configure.in. call $(SHELL) rather than
8087 sh. drop redundant ./
8088 * stub/configure.in (stublib): new macro, assign it, edit it into
8089 makefiles.
8090 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8091 updated copyright.
8092 (all): reworked.
8093 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8094 * libc/Makefile.in (TARGETCRT0): removed.
8095 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8096 TARGETCRT0.
8097 (SUBDIRS): drop TARGETDEP_DIRS.
8098 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8099 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8100 (force): new target to force rebuilds.
8101 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8102 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8103 removed.
8104 (clean): assume sys_dir always exists.
8105 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8106 drop redundant ./
8107 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8108 libc/locale/Makefile.in, libc/machine/Makefile.in,
8109 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8110 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8111 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8112 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8113 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8114 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8115 libc/signal/Makefile.in, libc/stdio/Makefile.in,
8116 libc/stdlib/Makefile.in, libc/string/Makefile.in,
8117 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8118 libc/time/Makefile.in, libc/unix/Makefile.in,
8119 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8120 (TARGETLIB): removed.
8121 (all): reworked.
8122 (clean): also remove lib.a.
8123 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8124 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8125 new macros.
8126 (SUBDIRS): moved to follow frag inclusion, change stub to
8127 stub_dir.
8128 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8129 are now set in the libc Makefile.
8130 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8131 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8132 TARGETCRT0.
8133 (force): new target to force rebuilds.
8134 * stub/configure.in: determine and set stub_lib for for Makefile.
8135
8136Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
8137
8138 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8139 crt0.s renamed to crt0.S.
8140 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8141
8142 * libc/machine/h8300/Makefile.in: Make `all' the default target.
8143 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8144 h8300h.
8145 * libc/machine/h8300/defines.h: Add macros to handle pointers for
8146 h8300 (16 bits) and h8300h (32 bits).
8147 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8148 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8149
8150Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
8151
8152 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8153 implementation of setjmp and longjmp for the m88k.
8154 * libc/include/machine/setjmp.h: Added __m88000__ case.
8155
8156Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
8157
8158 * configure.in: Recognize h8300h as variant of h8300.
8159
8160Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8161
8162 * libc/include/sys/unistd.h (read, write): get prototypes right.
8163 (sbrk): New prototype.
8164 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8165 * libc/stdio/local.h: Include unistd.h.
8166 * libc/machine/h8300/syscalls.c: Names have changed.
8167
8168Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
8169
8170 * configure.in: add sys_dir assignment for m88k-bug.
8171
8172Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
8173
8174 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8175 a.out or elf.
8176 * libc/sys/sparc64: all *.S files: Use new macros.
8177 * libc/sys/sparc64/isatty.c: New file.
8178 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8179 functions beyond what newlib provides.
8180
8181Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
8182
8183 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8184 svr4.
8185
8186Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
8187
8188 * libc/include/machine/ieeefp.h: Add support for h8/300h.
8189
8190Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
8191
8192 * configure.in: add m88k.
8193 * libc/include/machine/ieeefp.h: add case for m88k. Also add
8194 sanity check so no one else need ever chase what I did to find
8195 this.
8196
8197 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8198
8199Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
8200
8201 * doc/makedoc.c: Include <ctype.h>.
8202
8203Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
8204
8205 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8206 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8207 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8208
8209 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8210
8211Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
8212
8213 * libc/include/errno.h (ENOSYS): Added.
8214
8215 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8216
8217Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8218
8219 * libc/stdio/fflush.c (fflush): Check for reent struct
8220 initialization.
8221 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8222
8223Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
8224
8225 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8226 out of dtoa.c so it doesn't pollute the namespace.
8227 * libc/include/_syslist.h: new file -- mappings from _function to
8228 function, for systems where we can't win (by default, all of them,
8229 until we start updating system calls.)
8230 * libc/syscalls: new directory -- stubs for exporting _function
8231 names as unmodified function names.
8232 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8233 _syslist.h on all platforms by default, but put hooks in for
8234 fake_sys_dir so we can include it when we've renamed the system
8235 calls.
8236 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8237 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8238 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8239 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8240 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8241 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8242 non ANSI functions to call _function.
8243
8244Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
8245
8246 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8247 when base 16 is specified. Don't accept non-digits if radix > 10.
8248
8249Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
8250
8251 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8252
8253Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8254
8255 * libc/include/sys/stat.h: Surround text after #endif with
8256 comments.
8257
8258Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
8259
8260 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8261 _malloc_r, _realloc_r, and free_r call the corresponding
8262 non-reentrant functions.
8263
8264 * libm/math/modf.c (modf): We now take the address of ipart, so
8265 don't make it a register variable.
8266
8267Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
8268
8269 * libm/math/*: Rename all xxx_r fns to _xxx_r.
8270
8271Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
8272
8273 * libc/libc.texinfo and embedded docn throughout: formatting
8274 improvements, minor rephrasing for clarity, and improved
8275 reentrancy docn.
8276
8277Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8278
8279 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8280
8281 * libc/stdio/cvt.c (_licvt): Print the right value on machines
8282 where sizeof(int) != sizeof(long).
8283
8284Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8285
8286 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8287 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8288 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8289 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8290 libm/math/matherr.c: changes for better docn formatting (info).
8291
8292 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8293 libc/reent/reent.tex, libc/signal/signal.tex,
8294 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8295 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8296 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8297 makeinfo node defaulting to get better Info file node structure.
8298 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8299 Also include a few formerly missing sections (subroutines).
8300
8301 * doc/doc.str: delete fossil expansion for "func"
8302
8303 * default.menu, no-signal.menu: delete.
8304
8305 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8306 method used to adjust doc for missing "signals" chapter when
8307 signal_dir is empty.
8308
8309Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8310
8311 * configure.in: added testsuite/libm.sac
8312
8313Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
8314
8315 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8316 code model).
8317
8318Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
8319
8320 * libm/Makefile.in: Use $(MAKE) rather than make, and define
8321 MAKEOVERRIDES to be empty.
8322
8323Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
8324
8325 * configure.in: Don't build mips-*-* with -msoft-float, since that
8326 makes it incompatible with hard floating point.
8327
8328Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8329
8330 * Makefile.in: added recursive 'make check'
8331
8332Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8333
8334 * configure.in: added ./testsuite ./testsuite/libm.paranoia
8335 * ./testsuite/Makefile.in: created
8336 * ./testsuite/libm.paranoia: paranoia tests added
8337
8338Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
8339
8340 * configure.in: For mips-*-* set machine_dir to mips.
8341
8342 * libc/machine/mips: New directory.
8343 * libc/machine/mips/Makefile.in: New file.
8344 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8345 setjmp and longjmp.
8346 * libc/include/machine/setjmp.h: Added __mips__ case.
8347
8348 * libc/machine/lmips: Removed unused and useless directory.
8349
8350Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
8351
8352 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8353
8354Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
8355
8356 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8357 start up).
8358
8359Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
8360
8361 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8362 SETJMP_H.
8363
8364Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
8365
8366 * libm/test/convert.c: structure member errno -> errno_val.
8367 Must include <errno.h> to use errno, it's a macro now.
8368 * libm/test/math.c: Ditto.
8369 * libm/test/math2.c: Include errno.h.
8370 * libm/test/string.c: Ditto.
8371 * libm/test/test.h: structure member errno -> errno_val.
8372 Remove extern int errno decl.
8373
8374Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
8375
8376 * libc/stdio/Makefile.in: Added dependencies on local header
8377 files.
8378 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8379 files.
8380
8381Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
8382
8383 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8384
8385Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
8386
8387 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8388 Initialize _data.
8389
8390 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8391 * libc/stdio/local.h: Add prototype for _licvt.
8392
8393 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8394 instead of malloc,reealloc.
8395
8396 * libc/stdlib/local.h: New file.
8397 * libc/stdlib/efgcvt.c: #include local.h.
8398 (gcvt): Fix call to _gcvt.
8399 * libc/stdlib/ecvtbuf.c: #include local.h.
8400
8401 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8402 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8403 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8404
8405 * libc/stdlib/atexit.c: moved global data to struct _reent.
8406 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8407
8408 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8409
8410Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
8411
8412 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8413 here from ../reent.h.
8414
8415Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
8416
8417 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8418 should be provided in both libc.a and libm.a.
8419 (libc.a): Depend on targ-include and libm.a. Copy
8420 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8421 (libm.a): Depend on targ-include.
8422 * configure.in (subdirs): Removed libc/math.
8423
8424Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8425
8426 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8427
8428Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
8429
8430 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8431 sys/reent.h instead of reent.h.
8432 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8433 headers moved to sys/reent.h.
8434 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8435 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8436 __need__MAX_SIGNALS defined.
8437 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8438 std{in,out,err} refer to new _std{in,out,err} members.
8439
8440Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
8441
8442 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8443 case.
8444
8445Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
8446
8447 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8448 rather than whatever macro seterrno() has.
8449
8450Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
8451
8452 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8453 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8454
8455 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8456 __STDC__.
8457
8458 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8459 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8460 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8461
8462 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8463 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8464
8465 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8466 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8467 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8468 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8469 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8470 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8471 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8472 renamed to _xxx_r. struct reent_struct renamed to struct _reent
8473 for ANSI. structure members given leading "_" for ANSI. Use
8474 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8475
8476 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8477 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8478 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
8479 reent_struct renamed to struct _reent for ANSI.
8480 Structure members given leading "_" for ANSI.
8481 _CONST --> const in prototypes.
8482 Use _HAVE_STDC instead of __STDC__.
8483
8484 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8485 _xxx_r.
8486 struct reent_struct renamed to struct _reent for ANSI.
8487 Structure members given leading "_" for ANSI.
8488
8489 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8490 _xxx_r.
8491 struct reent_struct renamed to struct _reent for ANSI.
8492
8493 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8494 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8495 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8496 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8497 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8498
8499 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8500 signal.h, stdio.h, stdlib.h, string.h, time.h}:
8501 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8502 #ifndef _STRICT_ANSI non-ANSI routines.
8503 Reentrant routines renamed from _r_xxx to _xxx_r.
8504 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8505 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8506 Clean up namespace (structure members have leading "_").
8507 struct reent_struct renamed to struct _reent for ANSI compliance.
8508 _CONST --> const in function prototypes.
8509
8510 * libc/include/string.h: Add NULL and size_t.
8511
8512 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8513 unlink, wait, wait4. Reentrant syscall routines close, fork,
8514 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8515 write.
8516 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8517 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8518 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8519 write.S}: Define reentrant versions.
8520 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8521 reentrant syscalls.
8522
8523 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8524
8525 * libc/include/stdlib.h (RAND_MAX): Fix value.
8526
8527Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
8528
8529 * libc/sys/a29khif/_main.c: Removed unnecessary file.
8530 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8531 VPATH support targets after all: target.
8532
8533 * stub/mvme135/mvme.S: Renamed exceptionhandler to
8534 exceptionHandler, which is what mvme135-stub.c expects.
8535
8536Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
8537
8538 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8539
8540 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8541 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8542 compliant).
8543
8544Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
8545
8546 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8547 first.
8548 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8549 _r_write): Ditto.
8550 libc/reent/fstatr.c (_r_fstat): Ditto.
8551 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8552 libc/reent/sbrkr.c (_r_sbrk): Ditto.
8553 libc/reent/statr.c (_r_stat): Ditto.
8554
8555 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8556 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8557 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8558 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8559 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8560 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8561 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8562 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8563 (__swrite): Ditto for _r_lseek, _r_write.
8564 (__sseek): Ditto for _r_lseek.
8565 (__close): Ditto for _r_close.
8566 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8567
8568 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8569 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8570
8571 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8572 to make reent_struct the first argument (and thus consistent with
8573 the rest of newlib).
8574
8575 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8576 reference to __STDC__.
8577
8578Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
8579
8580 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8581 global __cleanup.
8582
8583Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
8584
8585 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8586 first.
8587 libc/stdio/fclose.c (fclose): Ditto.
8588
8589Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
8590
8591 * Run through indent and rename reentrant routines for ANSI.
8592 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8593 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8594 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8595 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8596 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8597 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8598 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8599 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8600 vsprintf.c wbuf.c wsetup.c local.h}
8601
8602 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8603
8604 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8605 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8606 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8607 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8608 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8609 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8610
8611 * Run through indent.
8612 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8613 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8614 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8615 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8616 strxfrm.c}
8617
8618 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8619 localtime.c mktime.c strftime.c time.c}:
8620 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8621
8622 * Reformatting + renaming (for ANSI, GNU style, consistency).
8623 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8624 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8625 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8626
8627Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
8628
8629 * libc/include/stdio.h (stdin_r): Fix.
8630
8631Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
8632
8633 * Makefile.in: Unexport some variables to keep GNU make from
8634 putting them in the environment and using up needed ARG_MAX space
8635 (a hack is used to let this work with older makes as well).
8636
8637Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
8638
8639 * Makefile.in: Use $(MAKE) rather than make.
8640 (MAKEOVERRIDES): Define to be empty.
8641 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8642 (libc.a, libm.a): Depend on targ-include.
8643 * host/any (LD): Don't define.
8644 (INCLUDES): Use targ-include.
8645 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8646 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8647 * libc/Makefile.in: Use $(MAKE) rather than make.
8648 (MAKEOVERRIDES): Define to be empty.
8649 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8650 (all): Rewrote to be slightly smaller.
8651 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8652 Define to be empty.
8653 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8654 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8655
8656Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
8657
8658 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8659 with errno/errno.c.
8660
8661Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
8662
8663 * Changes for reentrancy.
8664 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
8665 Use ptr->_errno, not errno.
8666 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
8667 libc/stdio/remove.c (remove_r): New function.
8668 libc/stdio/rename.c (rename_r): New function.
8669 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8670 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
8671 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
8672 reentrant versions of system calls.
8673 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
8674 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
8675 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
8676 libc/stdio/findfp.c: Include <string.h>.
8677 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
8678 "local.h".
8679 libc/stdio/wbuf.c: Include "fvwrite.h"
8680
8681 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
8682 <string.h>.
8683 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
8684 (NULL): Don't define if already defined.
8685 libc/stdlib/system.c: Call reentrant versions of system calls.
8686 (system_r): New function.
8687
8688 * Changes for reentrancy.
8689 libc/include/_ansi.h (_PARAMS): New macro.
8690 libc/include/errno.h: Define errno as a macro that calls __errno.
8691 (__errno_r): New macro for reentrant code.
8692 libc/include/math.h: Include reent.h. Declare many reentrant
8693 functions.
8694 (signgam): Now a macro, not a variable.
8695 (struct exception): Added err field.
8696 libc/include/reent.h: Don't declare __sglue. Added function
8697 declarations.
8698 (struct reent_struct): Moved errno to beginning. Added _signgam.
8699 libc/include/stdio.h, libc/include/stdlib.h: Added function
8700 declarations.
8701
8702 * More reentrancy hacking.
8703 libc/errno/errno.c (__errno): New function.
8704 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
8705 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
8706 files.
8707
8708 * Added many new reentrant functions to libm/math/*.
8709 libm/math/error.c (__matherror): Added reent_struct pointer
8710 argument. Changed all callers.
8711 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
8712 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
8713 libm/math/tan.h: Removed obsolete unused header files.
8714
8715 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
8716
8717 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
8718
8719Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8720
8721 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
8722 delay slots.
8723
8724Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8725
8726 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8727
8728Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8729
8730 * libc/reent/reent.tex: New file. (text from
8731 newlib/libc/libc.texinfo)
8732 * libc/stdio/tmpnam.c: fixed doc typo
8733 * libc/stdlib/rand.c: fixed doc typo
8734
8735Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8736
8737 * libc/reent/reent.tex: New file. (text from
8738 newlib/libc/libc.texinfo)
8739
8740Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8741
8742 support for reentrancy
8743 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
8744 new files
8745 * libc/errno/errno.c, libc/include/ieeefp.h,
8746 libc/include/locale.h, libc/include/reent.h,
8747 libc/include/signal.h, libc/include/stdio.h,
8748 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
8749 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
8750 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
8751 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
8752 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8753 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
8754 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
8755 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
8756 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
8757 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
8758 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
8759 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
8760 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
8761 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
8762 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
8763 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
8764 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
8765 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
8766 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
8767 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
8768 libc/time/strftime.c: modify to provide reentracy.
8769
8770 new routines:
8771 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
8772 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
8773 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
8774 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
8775 mstats_r, realloc_r, localeconv_r, setlocale_r
8776
8777Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
8778
8779 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
8780 libc/include/sys/config.h, libc/include/sys/signal.h,
8781 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
8782 provided macros (such as m68000), use the ansi version
8783 (__m68000__) so that the library can be used with code compiled
8784 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
8785 and sparc.
8786
8787Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8788
8789 * configure.in (sparc*): Don't set -fsoft-float for sparc
8790 configurations. Do set -fsoft-float for sparclite configurations.
8791
8792Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8793
8794 * default.menu, no-signal.menu: alternate forms of libc main menu
8795 (in newlib rather than newlib/libc due to configuration restrictions)
8796
8797 * configure.in: select one of the two menus above, link to
8798 libc.menu
8799
8800 * libc/libc.texinfo: include menu from separate file
8801
8802Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
8803
8804 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
8805 (info): Split long shell command in half.
8806 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
8807 sub-makes, just CHEW and TARGETDOC.
8808 (targetdep.tex): Removed now special handling of sys and machine
8809 subdirectories, made obsolete some time ago.
8810 * libc/machine/Makefile.in (doc): Don't pass everything to
8811 sub-make, just CHEW and TARGETDOC.
8812 (Makefile): New target.
8813 * libc/sys/Makefile.in (Makefile): New target.
8814
8815Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
8816
8817 * Makefile.in (here and most subdirectories): Only pass down CHEW
8818 and TARGETDOC when making info, not for other targets.
8819
8820 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
8821 $(AR_FLAGS) rather than $(ARUPDATE).
8822
8823Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
8824
8825 * Try to reduce command line length:
8826 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
8827 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
8828 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
8829 (info): Pass CHEW to other subdirs.
8830
8831Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
8832
8833 * configure.in: add signal_dir, like unix_dir, but by default it
8834 is set to "signal" so that a29khif can turn it off (since a29khif
8835 has raise() as part of machine-specific signal.s.)
8836
8837Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8838
8839 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
8840 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
8841 correctly.
8842 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
8843 libc/stdio/vfprintf: type lint.
8844 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
8845 initialzation code.
8846 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
8847
8848Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
8849
8850 * stub/mvme135/mvme135-asm.S: new file.
8851 stub/mvme135mvme135-stub.c: moved all assembler routines into
8852 mvme135-asm.S.
8853 stub/mvme135/Makefile.in: build mvme135-stub.o.
8854
8855Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
8856
8857 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
8858 sub-Makefiles instead, to try to avoid line length limitations.
8859
8860Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
8861
8862 * libc/include/unistd.h (read, write): Use void* instead of
8863 char*.
8864
8865Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
8866
8867 * stub/go32/resetpc: sample script to send a reset packet to the
8868 stub
8869
8870 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
8871 DOS environment, which compiles with Turbo C.
8872
8873 * stub/go32/DSER32.LNK: new file, linker commands for serial
8874 remote stub.
8875
8876 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
8877 start up message to identify version; call set_debug_traps.
8878
8879 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
8880 keyboard interaction); call handle_exception() in go_til_stop,
8881 rather than return, so that the remote stub gets control.
8882
8883 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
8884 rename, rather than mv), set flags that work with current Turbo C,
8885 including using the /3 flag; also, add commands to build dser32.
8886
8887 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
8888 default Turbo C installation (\tc rather than \usr)
8889
8890 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
8891 "&..."
8892
8893Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8894
8895 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
8896
8897Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8898
8899 * libc/stdio/cvt.c (licvt): new function to convert ints when
8900 sizeof(int) != sizeof(long).
8901
8902 * libc/include/stdio.h: added prototype for iprintf.
8903 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
8904
8905Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
8906
8907 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
8908 __REGISTER_PREFIX__.
8909
8910Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
8911
8912 * libc/sys/m68kbare: moved into stub directory.
8913
8914Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
8915
8916 * configure.in, Makefile.in: created new directory stub, to hold
8917 sample code for specific targets.
8918
8919Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
8920
8921 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
8922 in the unified libc/include/sys/fcntl.h.
8923
8924Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
8925
8926 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
8927 printed .01, not 0.01.
8928
8929Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
8930
8931 * configure.in: compile with -m68000 for m68* targets.
8932
8933Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
8934
8935 * libm/math/remainder.c (remainder): document the svr4 and sunos
8936 references used to construct the function.
8937
8938Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
8939
8940 * libm/math/remainder.c (rint, remainder): fix old typos.
8941 * libm/math/Makefile.in: actually build remainder.c (functions
8942 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
8943 page.)
8944
8945Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
8946
8947 * libc/string/bcopy.c: BSD version works on overlapping strings,
8948 so ours should too.
8949
8950 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
8951 ("SHELL").
8952
8953Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
8954
8955 * Makefile.in (docs): new target.
8956
8957Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
8958
8959 * libc/include/sys/times.h: define clock_t as required by POSIX.
8960 libc/include/time.h: protect clock_t from multiple definitions.
8961
8962Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8963
8964 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
8965 does not need more than the original three iterations to get
8966 within 1 ulp. (Paranoia tests for rounding to better than that,
8967 but further iterations *don't* help, only more subtle changes
8968 can.)
8969
8970Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
8971
8972 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
8973 were doing nothing useful.
8974
8975Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
8976
8977 * configure.in: define MALLOC_PROVIDED for vxworks targets;
8978 removed sys_dir settings of vxworks68 and vxworks960.
8979 host/any: don't pass -nostdinc to gcc, since newlib no longer
8980 provides all required header files.
8981
8982 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
8983 is not defined; this provides a hook for VxWorks.
8984
8985Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8986
8987 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
8988 buffer if buf is NULL, don't do it here -- it is already being
8989 done by makebuf elsewhere in stdio.
8990
8991Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
8992
8993 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
8994 that C programs can call functions without using initial
8995 underscores.
8996
8997Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
8998
8999 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9000
9001Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
9002
9003 * configure.in: set TARGET_CFLAGS for certain CPU types to
9004 -msoft-float.
9005
9006Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9007
9008 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9009
9010Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
9011
9012 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9013 m68k*-unknown-coff.
9014
9015Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
9016
9017 * libc/include/stdio.h: define __need___va_list before including
9018 <stdarg.h>, to avoid defining va_arg, et. al.
9019
9020Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
9021
9022 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9023 (don't cd to the user's home directory).
9024
9025 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9026 In general this is the wrong thing to do, but I can't get around
9027 GNU make's insistence on passing command line arguments any other
9028 way.
9029
9030Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
9031
9032 * configure.in: always configure the libc/sys directory, since it
9033 now provides a required documentation file.
9034
9035 * Makefile.in: replaced all instances of $(MAKE) with make. In
9036 general this is the wrong thing to do, but I can't get around GNU
9037 make's insistence on passing command line arguments any other way.
9038
9039Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
9040
9041 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9042 terminated.
9043
9044 * libc/stdio/local.h: include <stdarg.h> to define va_list.
9045 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9046
9047 * libc/include/float.h, libc/include/stdarg.h,
9048 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9049 versions instead.
9050 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9051 <stdarg.h>, not from <machine/types.h>. Protect definition of
9052 NULL.
9053 libc/include/time.h: get size_t from stddef.h. Protect definition
9054 of NULL.
9055 libc/include/machine/limits.h: override gcc <limits.h> by defining
9056 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
9057 get correct INT_MIN and LONG_LONG values.
9058 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9059 size_t or va_list at all; they're now gotten from stddef.h
9060 instead.
9061 libc/include/machine/varargs.h: removed; use gcc version instead.
9062 libc/include/sys/types.h: explicitly include <machine/types.h>.
9063
9064 * libm/math/sqrt.h: using the fp-bit routines appears to require
9065 more iterations.
9066
9067 * Makefile.in, host/any: let system include files override machine
9068 include files.
9069
9070Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9071
9072 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9073 override _*_T_ definitions defaulted here.
9074
9075Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
9076
9077 * Makefile.in (install): install the include files in
9078 $(tooldir)/include, not $(exec_prefix)/include.
9079
9080Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
9081
9082 * Makefile.in (install): fixed typo, and changed install to not
9083 force rebuild of libc.a and libm.a.
9084
9085Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
9086
9087 * libc/sys/a29khif/*: Changed all .include's to include
9088 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
9089 that they will be installed for the user.
9090
9091 * Makefile.in (all): create targ-include, a directory holding the
9092 machine and system specific header files during the build.
9093 (install): fixed installation of machine and system specific
9094 header files.
9095
9096 * Makefile.in: fixed comment.
9097 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9098 we can pass $(INCLUDES) to it.
9099
9100Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
9101
9102 * libc/include/sys/param.h: new generic file, which may be
9103 overridden for specific systems.
9104
9105 * libc/include/sys/signal.h: define all ANSI signal names, and
9106 NSIG (which is not ANSI) for a29k.
9107
9108Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
9109
9110 * Makefile.in: don't pass down arguments the lower level makes
9111 will not need.
9112 * libc/Makefile.in: recurse directly, rather than using subdir_do,
9113 in hopes of avoiding argument length limits.
9114 * libm/Makefile.in: recurse directly, rather using subdir_do, in
9115 hopes of avoiding argument length limits.
9116
9117Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
9118
9119 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9120 mode_t is defined.
9121
9122Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
9123
9124 * Fixed make info and make install-info for newlib, changing most
9125 Makefile.in and several *.tex files. Moved doc directory from
9126 libc to top level.
9127
9128 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9129 Should be rewritten.
9130
9131 * libc/string/strings.tex: renamed node index to node index
9132 function, so that it does not conflict with the top level index
9133 node.
9134
9135 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9136
9137Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
9138
9139 * Overhauled general configuration for newlib. Eliminated all
9140 target dependent Makefile fragments. Create libraries in newlib
9141 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
9142 than CROSS_CC, et. al. Broke make docs; will fix later.
9143
9144 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9145 Should be rewritten.
9146
9147Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
9148
9149 * libc/configure.in: cleaned up somewhat; switch on ${target}
9150 rather than ${target_alias}.
9151 * libm/configure.in: cleaned up somewhat; switch on ${target}
9152 rather than ${target_alias}.
9153
9154 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9155 * libc/include/ctype.h: marked _ctype_ as _CONST.
9156
9157 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9158 _CONST.
9159
9160 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9161 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9162 libc/stdio/gets.c (gets): removed non-ANSI warning message.
9163 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9164
9165 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9166 bigtens, tinytens): marked arrays _CONST.
9167 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9168 rather than a static variable.
9169
9170 * libc/time/asctime.c (asctime), libc/time/localtime.c
9171 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9172 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9173 mname_len, mname): Marked static arrays _CONST.
9174
9175 * libm/math/gamma.h: made local variables non-static.
9176
9177 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9178 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9179 _CONST.
9180
9181 * libm/math/constants.c: removed file, because the constants it
9182 defined were never referenced.
9183 libm/math/Makefile.in: removed references to constants.c.
9184 libm/math/mathimpl.h: removed declarations of constants.
9185
9186Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
9187
9188 * libc/include/machine/varargs.h: only call __builtin_saveregs if
9189 it is sensibly defined in libgcc2. Checks preprocessor defines,
9190 which is not a good solution.
9191
9192 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9193
9194 * libm/frexp.c: handle denormalized numbers as arguments.
9195
9196 * libm/math/Makefile.in: added some dependencies for .c files
9197 which include local .h files.
9198
9199Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
9200
9201 * libc/configure.in: set target_alias for OSE*. Replace
9202 target_makefile_frag if it is blank.
9203
9204 * libc/Makefile.in: make sure everything is passed to subsidiary
9205 makes; create all directories when installing.
9206
9207 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9208 CROSS_ARUPDATE instead of AR.
9209
9210 * libm/configure.in: set target_alias for OSE*. Replace
9211 target_makefile_frag if it is blank.
9212
9213 * libm/Makefile.in: make sure everything is passed to subsidiary
9214 makes; create all directories when installing.
9215
9216Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
9217
9218 * add following change from libc copy.
9219
9220Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9221
9222 * libc/libc.texinfo: make copyright disclaimers appear on back of
9223 title page; make format of same slightly less ugly; avoid using
9224 underbars in section headings (avoids nasty texinfo bug in table
9225 of contents).
9226
9227 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9228 comments only) avoid using underbars in section headings
9229
9230 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9231 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9232 changes in comments only): shorten headings ieeefp/infinity.c,
9233 ieeefp/isnan.c: (doc, comments only) more informative headings
9234
9235 * libc/math/bessel.c: (doc, comments only) shorten heading
9236
9237 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9238 (doc, comments only) shorten headings
9239
9240 * libc/time/localtime.c (doc, comments only): shorten headings
9241
9242 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9243 isnan
9244 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9245 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9246 headings
9247 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9248 only) more informative headings
9249 * libm/math/bessel.c: (doc, comments only) shorten heading
9250
9251Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9252
9253 * .../Makefile.in: use CROSS_ARUPDATE consistently.
9254 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9255 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9256 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9257 defined, the one from the .mt file will be correct.
9258 * libc/include/machine, libc/include/sys: created, and populated
9259 with common files from machine/*/machine. ifdefs were used for
9260 most, typically by handling exceptions first and then filling in
9261 defaults. Files with D.J. Delorie copyright #included rather than
9262 copied. Most files in include/sys really were the same in the
9263 original.
9264 * libc/include/...: cleaned up use of _EXFUN.
9265 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9266 it with double quotes, not angles.
9267
9268Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
9269
9270 * libc/Makefile.in: always create installation directories.
9271
9272Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9273
9274 * libc/configure.in: handle host properly (using canonical
9275 triples), better error message for the case of target not found
9276
9277Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
9278
9279 * libc/Makefile.in (insincdir): Ensure this directory exists
9280 before attempting installation.
9281
9282Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9283
9284 * libc/stdlib/assert.c: now calls abort like it should
9285 * libc/sys/a29khif: many many patches for 29khif work
9286 * libc/machine/i386: gnulib2 expanded there.
9287
9288Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9289
9290 Added accurate fp conversion routines to stdlib, moved dcvt from
9291 stdio to stdlib and called it ecvtbuf:
9292 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9293 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9294 routines
9295 * libc/libc.texinfo: Modifed to include the copyright info from
9296 the mprec files
9297 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9298 * libc/test/ : many vector which tested for the implementation
9299 defined returns of strange conversion requests have been updated
9300 to relflect the new implementation
9301
9302Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9303
9304 * libc/libc.texinfo: new chapter on variable arg lists
9305 (stdarg.h/varargs.h)
9306 * libc/libc.texinfo: new title
9307 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9308 (doc only) shorter headings for better formatting.
9309
9310Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9311
9312 * libc/libc.texinfo: three more info menu entries
9313 * libc/locale/locale.tex: new chapter
9314 * libc/locale/locale.c: new doc for setlocale, localeconv
9315 * libc/locale/Makefile.in: use new locale doc
9316 * libc/signal/signal.tex: new chapter
9317 * libc/signal/raise.c, libc/signal/signal.c: new doc
9318 * libc/signal/Makefile.in: use new doc
9319 * libc/time/time.tex: new chapter
9320 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9321 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9322 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9323 * libc/time/Makefile.in: use new doc
9324
9325Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9326
9327 * libm/math/log1p.c: split to use the new function way of float
9328 function definition. math/log1p.h deleted
9329 * libm/math/scalb.c: obsolete and deleted
9330 * libm/math/scalbn.c: created from part log1p.c
9331 * libm/math/Makefile.in: know about log1p and scalbn
9332
9333Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9334
9335 * libc/ctype/isupper.c: revise doc;
9336 libc/ctype/ctype.tex: use doc from isupper.c
9337
9338 * libc/string/bzero.c: new doc
9339
9340Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9341
9342 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9343 new doc
9344 * libc/stdlib/Makefile.in: extract new doc
9345 * libc/stdlib/stdlib.tex: use new doc
9346
9347 * libc/string/strerror.c: expanded doc.
9348
9349 * libc/stdio/Makefile.in: extract doc from more files
9350 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9351 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9352 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9353 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9354 libc/stdio/vsprintf.c: new doc
9355 * libc/stdio/stdio.tex: use new doc
9356
9357Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9358
9359 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9360 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9361 finitef functions.
9362 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9363 time ago.
9364
9365 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9366 * libc/stdio/setbuf.c: added ansi style definition.
9367 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9368 buffer if none provided.
9369 * libc/stdio/tmpfile.c: lint
9370 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9371 rather than using static, also make sure file isn't already
9372 present. Uses P_tmpdir. (tempnam): rewritten to use new
9373 subroutine, and uses P_tmpdir.
9374 * libc/stdio/siprintf.c: created
9375
9376Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9377
9378 Release 1.03 for NEC, major mods. Main differences from release
9379 1.02::
9380
9381 More tests in test/:
9382 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9383 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9384 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9385 get/set mask, get/set sticky and get/set roundtoi. Tests
9386 that setting the bits changes the way arithmetic is done.
9387 * string.c: added test to make sure memcmp does it with unsigned
9388 chars.
9389 * test.c: cleaned up and removed lint.
9390 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9391 dvec.c: tests for string to value conversions, sprintf, scanf,
9392 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9393 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
9394 rounding in sprintf too.
9395 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
9396 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9397 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9398 and function form.
9399 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9400 powf
9401
9402 In the library:
9403 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9404 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9405 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9406 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9407 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9408 than sprintf.
9409 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
9410 * Method of producting float versions of double functions has
9411 changed, functions will be modified gradually. So far:
9412 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9413 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9414 altered
9415 * libc/string/memcmp.c: now uses unsigned chars
9416 * libc/string/bcmp.c, libc/string/strcpy.c,
9417 libc/stsring/strxfrm.c: fixed doc
9418 * libc/sys/sysvnecv70.tex: fix example of sbrk code
9419\f
9420Local Variables:
9421version-control: never
9422End:
This page took 1.076706 seconds and 5 git commands to generate.