]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* thread.cc (verifyable_object_isvalid): Test for a valid object pointer before
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
ccdae543
RS
12002-10-11 Graham Stott <graham.stott@btinternet.com>
2 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3
4 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
5 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7
73972116
JS
82002-10-07 Joel Sherrill <joel@OARcorp.com>
9
10 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
11 dummy programs.
12
89e3fcba
JS
132002-10-07 Joel Sherrill <joel@OARcorp.com>
14
15 * libc/include/pthread.h: Define PTHREAD_CANCELED.
16
54ec52e4
JS
172002-10-07 Joel Sherrill <joel@OARcorp.com>
18
19 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
20 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
21 compile with current GNU tools.
22
d389acba
JJ
232002-10-07 Jeff Johnston <jjohnstn@redhat.com>
24
25 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
26 the build library.
27 * configure.in: Ditto.
28 * Makefile.in: Regenerated.
29 * configure: Ditto.
30 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
31 for specifying configured libraries/directories.
32 * libc/sys/linux/configure.in: Ditto.
33 * libc/sys/linux/Makefile.in: Regenerated.
34 * libc/sys/linux/configure: Ditto.
35
af5a221f
JJ
362002-10-03 Jeff Johnston <jjohnstn@redhat.com>
37
38 * libc/include/reent.h: Update documentation at start of file.
39
59a758bd
JW
402002-09-27 Jim Wilson <wilson@redhat.com>
41
42 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
43 the ctbp register.
44
1ed3c86d
JJ
452002-09-27 Jeff Johnston <jjohnstn@redhat.com>
46
47 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
48 Also convert to EUCJP before using arrays. For values not in
49 the conversion arrays, return WEOF.
50 * libc/ctype/jp2uc.h: Change from one array to a number of
51 arrays to account for the fact that the originating table
52 is not contiguous for the input values since some are invalid.
53
6e1dfd2d
JJ
542002-09-24 Jeff Johnston <jjohnstn@redhat.com>
55
56 * libc/time/ctime.c: Fix prototype documentation.
57
06f1353a
CV
582002-09-24 Corinna Vinschen <corinna@vinschen.de>
59
60 * libc/include/sys/errno.h: Add EOVERFLOW.
61
1e0e64c9
JJ
622002-09-20 Jeff Johnston <jjohnstn@redhat.com>
63
64 * libc/include/wctype.h: New file.
65
1525d127
JJ
662002-09-20 Jeff Johnston <jjohnstn@redhat.com>
67
68 * libc/ctype/Makefile.am: Add new files.
69 * libc/ctype/Makefile.in: Regenerated.
70 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
71 and wctrans functions to documentation index.
72 * libc/ctype/iswalnum.c: New file.
73 * libc/ctype/iswalpha.c: Ditto.
74 * libc/ctype/iswblank.c: Ditto.
75 * libc/ctype/iswcntrl.c: Ditto.
76 * libc/ctype/iswctype.c: Ditto.
77 * libc/ctype/iswdigit.c: Ditto.
78 * libc/ctype/iswgraph.c: Ditto.
79 * libc/ctype/iswlower.c: Ditto.
80 * libc/ctype/iswprint.c: Ditto.
81 * libc/ctype/iswpunct.c: Ditto.
82 * libc/ctype/iswspace.c: Ditto.
83 * libc/ctype/iswupper.c: Ditto.
84 * libc/ctype/iswxdigit.c: Ditto.
85 * libc/ctype/jp2uc.c: Ditto.
86 * libc/ctype/jp2uc.h: Ditto.
87 * libc/ctype/local.h: Ditto.
88 * libc/ctype/towctrans.c: Ditto.
89 * libc/ctype/towlower.c: Ditto.
90 * libc/ctype/towupper.c: Ditto.
91 * libc/ctype/utf8alpha.h: Ditto.
92 * libc/ctype/utf8print.h: Ditto.
93 * libc/ctype/utf8punct.h: Ditto.
94 * libc/ctype/wctrans.c: Ditto.
95 * libc/ctype/wctype.c: Ditto.
96 * libc/locale/locale.c (__lc_ctype): New external array to
97 replace static lc_ctype array.
98 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
99 rather than reentrancy structure's _current_locale field.
100 * libc/stdlib/wctomb_r.c: Ditto.
101
da25e61f
JJ
1022002-09-20 Jeff Johnston <jjohnstn@redhat.com>
103
104 * configure.host: Minor comment and formatting changes.
105 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
106 * libc/Makefile.in: Regenerated.
107 * libc/include/sys/config.h: Minor format change.
108
5b9ee539
JJ
1092002-09-19 Jeff Johnston <jjohnstn@redhat.com>
110
111 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
112 statement comment.
113
50558bf3
JJ
1142002-09-19 Jeff Johnston <jjohnstn@redhat.com>
115
116 * libc/posix/opendir.c (opendir): Change code to check
117 for HAVE_FCNTL before calling fcntl.
118 * libc/search/hash.c (hash_open): Ditto.
119 * libc/search/hash_page.c (open_tmp): Ditto.
120 * libc/reent/Makefile.am: Add fcntlr.c.
121 * libc/reent/Makefile.in: Regenerated.
122 * libc/reent/fcntlr.c: New file.
123 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
124 instead of _fcntl when HAVE_FCNTL flag is set.
125 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
126 to see if _fcntl or _fcntl_r should be called. If flag is not
127 set, default to ENOSYS stub.
128
9211a1ad
JJ
1292002-09-16 Jeff Johnston <jjohnstn@redhat.com>
130
131 * libc/include/wchar.h (mbstate_t): Change protective flag to
132 be _MBSTATE_T.
133 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
134 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
135 for Cygwin.
136 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
137
a8615092
JJ
1382002-09-11 Jeff Johnston <jjohnstn@redhat.com>
139
140 * acinclude.m4 (enable-newlib-mb): Change check to
141 default newlib_mb variable to empty string rather than "no".
142 * configure.host: Remove hard-coding of -DMB_CAPABLE for
143 x86-linux and Cygwin. Add code to check for newlib_mb
144 being unset in which case set to "yes" for x86-linux and
145 Cygwin. Change check for newlib_mb being "yes" to allow
146 for an empty string.
147 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
148 * newlib.hin (_MB_LEN_MAX): New define to configure.
149 * aclocal.m4: Regenerated.
150 * configure: Ditto.
151 * libc/include/limits.h: New file.
152 * libc/sys/linux/include/limits.h: Ditto.
153 * doc/aclocal.m4 doc/configure libc/aclocal.m4
154 libc/configure libc/include/%redact libc/machine/aclocal.m4
155 libc/machine/configure libc/machine/a29k/aclocal.m4
156 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
157 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
158 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
159 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
160 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
161 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
162 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
163 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
164 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
165 libc/machine/i386/configure libc/machine/i960/aclocal.m4
166 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
167 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
168 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
169 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
170 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
171 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
172 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
173 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
174 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
175 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
176 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
177 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
178 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
179 libc/machine/v850/configure libc/machine/w65/aclocal.m4
180 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
181 libc/machine/xscale/configure
182 libc/machine/xstormy16/aclocal.m4
183 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
184 libc/machine/z8k/configure libc/sys/aclocal.m4
185 libc/sys/configure libc/sys/a29khif/aclocal.m4
186 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
187 libc/sys/arc/configure libc/sys/arm/aclocal.m4
188 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
189 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
190 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
191 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
192 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
193 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
194 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
195 libc/sys/idt/configure libc/sys/linux/aclocal.m4
196 libc/sys/linux/configure libc/sys/linux/include/%redact
197 libc/sys/linux/machine/aclocal.m4
198 libc/sys/linux/machine/configure
199 libc/sys/linux/machine/i386/aclocal.m4
200 libc/sys/linux/machine/i386/configure
201 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
202 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
203 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
204 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
205 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
206 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
207 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
208 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
209 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
210 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
211 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
212 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
213 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
214 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
215 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
216 libm/aclocal.m4 libm/configure: Regenerated.
217
be83844e
JJ
2182002-09-09 Jeff Johnston <jjohnstn@redhat.com>
219
220 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
221 code that clears the .bss section.
222
9c64d2a7
JJ
2232002-09-09 Jeff Johnston <jjohnstn@redhat.com>
224
225 * libc/include/sys/_types.h (_mbstate_t): Changed to use
226 unsigned char internally.
227 * libc/sys/linux/sys/_types.h: Ditto.
228 * libc/include/sys/reent.h
229 * libc/stdlib/mblen.c (mblen): Use function-specific state
230 value from default reentrancy structure.
231 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
232 _mbtowc_r is less than 0, reset state __count value and
233 return -1.
234 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
235 is NULL, use the function-specific pointer provided in the
236 default reentrancy structure.
237 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
238 If input state pointer is NULL, use function-specific area
239 provided in reentrancy structure.
240 * libc/stdlib/mbsrtowcs.c: Ditto.
241 * libc/stdlib/wcrtomb.c: Ditto.
242 * libc/stdlib/wcsrtombs.c: Ditto.
243 * libc/stdlib/mbstowcs.c: Reformat.
244 * libc/stdlib/wcstombs.c: Ditto.
245 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
246 reset the state's __count value and return -1.
247 * libc/stdlib/mbtowc.c: Ditto.
248 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
249 If number of bytes is used up before completing a valid multibyte
250 character, return -2 and save the state.
251 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
252 and change some __count references to __state for clarity.
253
218b7a56
JJ
2542002-09-06 Jeff Johnston <jjohnstn@redhat.com>
255
256 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
257 is defined by <limits.h>.
258
c210a6ea
JJ
2592002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
260
261 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
262 defined.
263
efa077ce
JJ
2642002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
265
266 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
267 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
268 __WCHAR_MAX__ or 0x7fffffffu.
269 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
270 * libc/string/wcsncmp.c: Ditto.
271
e4b0ebc1
JJ
2722002-09-03 Jeff Johnston <jjohnstn@redhat.com>
273
274 * libc/string/wcschr.c: Add include of <stddef.h>.
275 * libc/string/wcspbrk.c: Ditto.
276 * libc/string/wcsrchr.c: Ditto.
277 * libc/string/wcsstr.c: Ditto.
278
3db40db7
JJ
2792002-09-03 Jeff Johnston <jjohnstn@redhat.com>
280
281 * libc/include/sys/_types.h (_flock_t): Added.
282 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
283 (__lock_try_acquire_recursive): Ditto.
284 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
285 _lock field.
286 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
287 field.
288 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
289 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
290 * libc/sys/linux/include/time.h (struct timespec): Moved from
291 <sys/types.h> and added check for __need_timespec flag so type
292 can be defined by itself.
293 * libc/sys/linux/sys/_types.h (_flock_t): New type.
294 * libc/sys/linux/sys/types.h (struct timespec): Moved to
295 <time.h>.
296
cd45f029
TF
2972002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
298
299 * libc/sys/linux/argp: New directory.
300 * libc/sys/linux/getopt.c: New file.
301 * libc/sys/linux/getopt1.c: New file.
302 * libc/sys/linux/getoptlong.c: Remove file.
303 * libc/sys/linux/include/argp.h: New file.
304 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
305 based on ELIX level.
306 (SUBDIRS): Add argp_dir.
307 (SUBLIBS): Add ARGP_LIB.
308 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
309 getopt_long.$(oext).
310 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
311
3c689185
JJ
3122002-08-29 Jeff Johnston <jjohnstn@redhat.com>
313
314 * libc/libc.texinfo: Add node reference to wide-character strings.
315 * libc/string/wcstrings.tex: New file.
316 * libc/string/strtok_r.c: Remove outdated advertising clause.
317 * libc/string/Makefile.am (doc): Add wide-character string
318 chapter to documentation.
319 * libc/string/Makefile.in: Regenerated.
320
890e7a1d
JJ
3212002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
322
323 * libc/include/wchar.h: Define NULL. Define WEOF more general
324 way. Declare functions in newlib manner.
325 * libc/stdlib/Makefile.am: Delete wmem*.c
326 * libc/stdlib/Makefile.in: Regenerated.
327 * libc/stdlib/wmemchr.c: Delete.
328 * libc/stdlib/wmemcmp.c: Ditto.
329 * libc/stdlib/wmemcpy.c: Ditto.
330 * libc/stdlib/wmemmove.c: Ditto.
331 * libc/stdlib/wmemset.c: Ditto.
332 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
333 * libc/string/Makefile.in: Regenerated.
334 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
335 * libc/string/wcschr.c: Ditto.
336 * libc/string/wcscmp.c: Ditto.
337 * libc/string/wcscpy.c: Ditto.
338 * libc/string/wcscspn.c: Ditto.
339 * libc/string/wcslcat.c: Ditto.
340 * libc/string/wcslcpy.c: Ditto.
341 * libc/string/wcslen.c: Ditto.
342 * libc/string/wcsncat.c: Ditto.
343 * libc/string/wcsncmp.c: Ditto.
344 * libc/string/wcsncpy.c: Ditto.
345 * libc/string/wcspbrk.c: Ditto.
346 * libc/string/wcsrchr.c: Ditto.
347 * libc/string/wcsspn.c: Ditto.
348 * libc/string/wcsstr.c: Ditto.
349 * libc/string/wmemchr.c: Ditto.
350 * libc/string/wmemcmp.c: Ditto.
351 * libc/string/wmemcpy.c: Ditto.
352 * libc/string/wmemmove.c: Ditto.
353 * libc/string/wmemset.c: Ditto.
354
86620e21
JJ
3552002-08-29 Jeff Johnston <jjohnstn@redhat.com>
356
357 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
358 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
359 and is treated as if "C" was specified.
360
f3741c27
JJ
3612002-08-28 Jeff Johnston <jjohnstn@redhat.com>
362
363 * Makefile.am (install-data-local): Move install of build
364 newlib.h after installing headers in libc/include so as to
365 overwrite default newlib.h.
366 * Makefile.in: Regenerated.
367
48da61f5
JJ
3682002-08-28 Jeff Johnston <jjohnstn@redhat.com>
369
370 * libc/include/newlib.h: New file for tools that use newlib
371 headers but don't build newlib first (e.g. gcc).
372
d82a94ac
JJ
3732002-08-28 Jeff Johnston <jjohnstn@redhat.com>
374
375 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
376 * libc/stdlib/wmemcmp.c: Ditto.
377 * libc/stdlib/wmemcpy.c: Ditto.
378 * libc/stdlib/wmemmove.c: Ditto.
379 * libc/stdlib/wmemset.c: Ditto.
380
7d08241b
JJ
3812002-08-27 Egor Duda <deo@logos-m.ru>
382
383 * libc/stdlib/wmemchr.c: New file.
384 * libc/stdlib/wmemcmp.c: Ditto.
385 * libc/stdlib/wmemcpy.c: Ditto.
386 * libc/stdlib/wmemmove.c: Ditto.
387 * libc/stdlib/wmemset.c: Ditto.
388 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
389 * configure.host: Default -DMB_CAPABLE for cygwin.
390 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
391 wmemmove() and wmemset(). Add include of <_ansi.h>.
392 * libc/stdlib/Makefile.in: Regenerate.
393
8da1639b
JJ
3942002-08-27 Jeff Johnston <jjohnstn@redhat.com>
395
ff2bf852 396 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
397 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
398 (install-data-local): Install newlib.h.
399 * Makefile.in: Regenerated.
400 * aclocal.m4: Ditto.
401 * configure: Ditto.
402 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
403 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
404 and _NEWLIB_VERSION to fill in newlib.h header file entries.
405 In AC_OUTPUT statement, unset ac_file so multilib support does
406 not use last ac_file temporary used in newlib.h configuration.
407 * libc/include/_ansi.h: Include <newlib.h>.
408 * newlib.hin: New template file for newlib.h.
409 * stamp-h.in: New file.
410
a4421c11
JJ
4112002-08-26 Wu Yongwei <adah@netstd.com>
412
413 * time.h (timezonevar): Change "#if" to "#ifdef".
414
90b65e2d
JJ
4152002-08-26 Jeff Johnston <jjohnstn@redhat.com>
416
417 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
418 * Makefile.in: Regenerated.
419 * acinclude.m4: Add support for --enable-newlib-elix-level option.
420 * aclocal.m4: Regenerated.
421 * configure: Ditto.
422 * configure.host: Add code to define _ELIX_LEVEL if
423 --enable-newlib-elix-level option is used.
424 * configure.in:
425 * libc/aclocal.m4: Regenerated.
426 * libc/configure: Ditto.
427 * libc/argz/Makefile.am: Add EL/IX level checking.
428 * libc/argz/Makefile.in: Regenerated.
429 * libc/argz/dummy.c: New file.
430 * libc/ctype/Makefile.am: Add EL/IX level checking.
431 * libc/ctype/Makefile.in: Regenerated.
432 * libc/locale/Makefile.am: Add EL/IX level checking.
433 * libc/locale/Makefile.in: Regenerated.
434 * libc/posix/Makefile.am: Add EL/IX level checking.
435 * libc/posix/Makefile.in: Regenerated.
436 * libc/posix/telldir.c: Add EL/IX level checking.
437 * libc/reent/Makefile.am: Ditto.
438 * libc/reent/fstat64r.c: Ditto.
439 * libc/reent/lseek64r.c: Ditto.
440 * libc/reent/open64r.c: Ditto.
441 * libc/reent/Makefile.in: Regenerated.
442 * libc/search/Makefile.am: Add EL/IX level checking.
443 * libc/search/Makefile.in: Regenerated.
444 * libc/stdio/Makefile.am: Add EL/IX level checking.
445 * libc/stdio/Makefile.in: Regenerated.
446 * libc/stdio64/Makefile.am: Add EL/IX level checking.
447 * libc/stdio64/Makefile.in: Regenerated.
448 * libc/stdio64/dummy.c: New file.
9b487837 449 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
450 after first include.
451 * libc/stdio64/fopen64.c: Ditto.
452 * libc/stdio64/freopen64.c: Ditto.
453 * libc/stdio64/fseeko64.c: Ditto.
454 * libc/stdio64/fsetpos64.c: Ditto.
455 * libc/stdio64/ftello64.c: Ditto.
456 * libc/stdio64/tmpfile64.c: Ditto.
457 * libc/stdlib/Makefile.am: Add EL/IX level checking.
458 * libc/stdlib/Makefile.in: Regenerated.
459 * libc/stdlib/mstats.c: Add EL/IX level checking.
460 * libc/string/Makefile.am: Ditto.
461 * libc/string/Makefile.in: Regenerated.
462 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
463 * libc/sys/linux/Makefile.in: Regenerated.
464 * libc/sys/linux/aclocal.m4: Ditto.
465 * libc/sys/linux/configure: Ditto.
466 * libc/sys/linux/aio.c: Add EL/IX level checking.
467 * libc/sys/linux/ftok.c: Ditto.
468 * libc/sys/linux/getdate.c: Ditto.
469 * libc/sys/linux/ids.c: Ditto.
470 * libc/sys/linux/inode.c: Ditto.
471 * libc/sys/linux/io.c: Ditto.
472 * libc/sys/linux/process.c: Ditto.
473 * libc/sys/linux/resource.c: Ditto.
474 * libc/sys/linux/sched.c: Ditto.
475 * libc/sys/linux/sig.c: Ditto.
476 * libc/sys/linux/termios.c: Ditto.
477 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
478 __libc___waitpid weak aliases.
479 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
480 that generate the code for a syscall, but do not create a
481 weak alias.
482 * libc/syscalls/Makefile.am: Add EL/IX level checking.
483 * libc/syscalls/Makefile.in: Regenerated.
484 * libc/time/tzset_r.c: Change to replace strdup with equivalent
485 functionality.
486 * libc/unix/Makefile.am: Add EL/IX level checking.
487 * libc/unix/Makefile.in: Regenerated.
488
2e2b268c
CF
4892002-08-26 Christopher Faylor <cgf@redhat.com>
490
491 * libc/include/malloc.h: On cygwin, define malloc _r functions as
492 wrapper macros to standard malloc functions.
493 * libc/include/stdlib.h: Ditto.
494 * configure.host: Always define MALLOC_PROVIDED on cygwin.
495
8d9112f2
TF
4962002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
497
498 * libc/include/langinfo.h: New file.
499 * libc/include/wchar.h: Likewise.
500 * libc/include/sys/syslimits.h: Likewise.
501 * libc/locale/fix_grouping.c: Likewise.
502 * libc/locale/ldpart.c: Likewise.
503 * libc/locale/ldpart.h: Likewise.
504 * libc/locale/lmessages.c: Likewise.
505 * libc/locale/lmessages.h: Likewise.
506 * libc/locale/lmonetary.c: Likewise.
507 * libc/locale/lmonetary.h: Likewise.
508 * libc/locale/lnumeric.c: Likewise.
509 * libc/locale/lnumeric.h: Likewise.
510 * libc/locale/nl_langinfo.3: Likewise.
511 * libc/locale/nl_langinfo.c: Likewise.
512 * libc/locale/timelocal.c: Likewise.
513 * libc/locale/timelocal.h: Likewise.
514 * libc/stdlib/btowc.c: Likewise.
515 * libc/stdlib/mbrlen.c: Likewise.
516 * libc/stdlib/mbrtowc.c: Likewise.
517 * libc/stdlib/mbsinit.c: Likewise.
518 * libc/stdlib/mbsrtowcs.c: Likewise.
519 * libc/stdlib/wcrtomb.c: Likewise.
520 * libc/stdlib/wcsrtombs.c: Likewise.
521 * libc/stdlib/wctob.c: Likewise.
522 * libc/sys/linux/prof-freq.c: Likewise.
523 * libc/sys/linux/profile.c: Likewise.
524 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
525 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
526 * libc/include/stdlib.h: Change re-entrant functions to take
527 mbstate_t pointers.
528 * libc/include/sys/_types.h: Define _mbstate_t.
529 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
530 * libc/include/sys/errno.h (EILSEQ): New error code.
531 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
532 structure to use mbstate_t.
533 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
534 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
535 * libc/machine/powerpc/vfscanf.c: Likewise.
536 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
537 * libc/stdio/vfprintf.c: Likewise.
538 * libc/stdio/vfscanf.c: Likewise.
539 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
540 * libc/stdlib/mblen.c: Use mbstate_t.
541 * libc/stdlib/mblen_r.c: Likewise.
542 * libc/stdlib/mbstowcs.c: Likewise.
543 * libc/stdlib/mbstowcs_r.c: Likewise.
544 * libc/stdlib/mbtowc.c: Likewise.
545 * libc/stdlib/mbtowc_r.c: Likewise.
546 * libc/stdlib/wcstombs.c: Likewise.
547 * libc/stdlib/wcstombs_r.c: Likewise.
548 * libc/stdlib/wctomb_r.c: Likewise.
549 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
550 profile.c.
551 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
552 dl-procinfo.c.
553 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
554 * libc/sys/linux/sys/types.h (off_t): Define type.
555 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
556 to C-UTF-8.
557 * testsuite/newlib.locale/UTF-8.exp: Likewise.
558
fe47ea33
JJ
5592002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
560
561 * libc/stdlib/mallocr.c: #include windows.h on Win32.
562 (AlignPage): Continue macro on next line.
563
ada73509
JJ
5642002-08-19 Jeff Johnston <jjohnstn@redhat.com>
565
566 * libc/sys/linux/include/pthread.h: New file.
567
64b5e8f2
JJ
5682002-08-19 Jeff Johnston <jjohnstn@redhat.com>
569
570 * libc/include/sys/types.h: Support __need_inttypes macro
571 that only sets the __intxx and __uintxx types.
572 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
573 to get mprec.h.
574 * libc/machine/powerpc/Makefile.in: Regenerated.
575 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
576 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
577 redundant fixed-point conversion prototypes.
578 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
579 after setting __need_inttypes.
580
a94b60ce
CF
5812002-08-18 Christopher Faylor <cgf@redhat.com>
582
583 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
584
29e17a86
JJ
5852002-08-17 Jeff Johnston <jjohnstn@redhat.com>
586
587 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
588 _LONG_DOUBLE to double.
589
936b520f
JJ
5902002-08-17 Jeff Johnston <jjohnstn@redhat.com>
591
592 * configure.host: Add powerpc*-*-eabispe* configuration.
593 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
594 * libc/machine/powerpc/atosfix32.c: Ditto.
595 * libc/machine/powerpc/atosfix64.c: Ditto.
596 * libc/machine/powerpc/atoufix16.c: Ditto.
597 * libc/machine/powerpc/atoufix32.c: Ditto.
598 * libc/machine/powerpc/atoufix64.c: Ditto.
599 * libc/machine/powerpc/fix64.h: Ditto.
600 * libc/machine/powerpc/simdldtoa.c: Ditto.
601 * libc/machine/powerpc/strtosfix16.c: Ditto.
602 * libc/machine/powerpc/strtosfix32.c: Ditto.
603 * libc/machine/powerpc/strtosfix64.c: Ditto.
604 * libc/machine/powerpc/strtoufix16.c: Ditto.
605 * libc/machine/powerpc/strtoufix32.c: Ditto.
606 * libc/machine/powerpc/strtoufix64.c: Ditto.
607 * libc/machine/powerpc/ufix64toa.c: Ditto.
608 * libc/machine/powerpc/configure.in: Add check for
609 powerpc*-eabispe and add fixed-point conversion functions.
610 * libc/machine/powerpc/configure: Regenerated.
611 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
612 %r and %R format specifiers which handle fixed-point data.
613 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
614 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
615 function prototypes.
616
ad552766
JJ
6172002-08-17 Jeff Johnston <jjohnstn@redhat.com>
618
619 * Makefile.am: Move cmath stuff into libc/sys/linux.
620 * Makefile.in: Regenerated.
621 * configure.host: Default -DMB_CAPABLE for x86-linux.
622 * libc/include/reent.h: Define _sbrk to take signed int argument.
623 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
624 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
625 make locale name checking more efficient. Also allow "C-ISO-8859-1"
626 locale for LC_CTYPE and LC_MESSAGES.
627 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
628 * libc/sys/linux/brk.c: Change sbrk prototype.
629 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
630 include <sys/features.h>.
631 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
632 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
633 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
634 with a few local additions.
635 * libc/sys/linux/sys/features.h: New file.
636 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
637 to take signed argument.
638 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
639 prototypes to take signed size argument.
640
d3bd3632
TF
6412002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
642
643 * libc/sys/linux/cmath: New directory.
644 * libc/sys/linux/include/cmathcalls.h: New file.
645 * libc/sys/linux/include/complex.h: New file.
646 * libc/sys/linux/machine/i386/huge_val.h: New file
647 * libm/math/w_sincos.c: New file
648 * libm/math/wf_sincos.c: New file
649 * libm/mathfp/s_sincos.c: New file
650 * libm/mathfp/sf_sincos.c: New file
651 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
652 * libc/include/math.h: Add sincos and sincosf declarations.
653 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
654 (SUBLIBS): Likewise.
655 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
656 * libm/math/Makefile.am (src): Add w_sincos.c.
657 (fsrc): Add wf_sincos.c.
658 * libm/mathfp/Makefile.am (src): Add s_sincos.c
659 (fsrc): Add sf_sincos.c.
660
b3a9676b
JJ
6612002-08-12 Jeff Johnston <jjohnstn@redhat.com>
662
663 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
664 Declare as extern chars and use the address operator to
665 properly use values set in linker script.
666
659e7062
JJ
6672002-08-09 Jason Tishler <jason@tishler.net>
668
669 * libc/stdlib/mallocr.c: Include <limits.h>.
670 (request2size): Change macro to do
671 unsigned long comparisons and avoid signed overflow.
672 (mALLOc): Add overflow check for the number of bytes to allocate.
673 (rEALLOc): Ditto.
674
037240a2
JJ
6752002-08-09 Jeff Johnston <jjohnstn@redhat.com>
676
677 * configure.host: Add check for --enable-newlib-io-pos-args
678 and define WANT_IO_POS_ARGS flag if enabled. Define
679 the flag by default for x86-linux configurations.
680 * configure.in: Add support for --enable-newlib-io-pos-args.
681 * libc/configure.in: Ditto.
682 * configure: Regenerated.
683 * libc/configure: Ditto.
684 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
685 vfprintf.c and vfiprintf.c.
686 * libc/stdio/Makefile.in: Regenerated.
687 * libc/stdio/vfprintf.c: Add positional argument support that
688 is enabled by compiling with -DWANT_IO_POS_ARGS.
689
172fda76
RS
6902002-08-07 Richard Sandiford <rsandifo@redhat.com>
691
692 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
693 based on __mips_soft_float rather than __mips64.
694 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
695 of both 32-bit and 64-bit code.
696
4866247e
CF
6972002-08-04 Christopher Faylor <cgf@redhat.com>
698
699 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
700 arguments for popen to match similar functionality in fopen.
701
b96332ce
CV
7022002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
703
704 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
705
60d99bce
JJ
7062002-07-29 Jeff Johnston <jjohnstn@redhat.com>
707
708 * libc/sys/linux/Makefile.am: Add aio64.c.
709 * libc/sys/linux/Makefile.in: Regenerated.
710 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
711 * libc/sys/linux/aio64.c: New file.
712
80a21be0
JJ
7132002-07-26 Jeff Johnston <jjohnstn@redhat.com>
714
715 * libc/include/sys/param.h (MAX, MIN): Added macros.
716 * libc/sys/linux/Makefile.am: Add new files.
717 * libc/sys/linux/Makefile.in: Regenerated.
718 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
719 * libc/sys/linux/inode.c (fchdir): Added syscall.
720 * libc/sys/linux/ftw.c: New file.
721 * libc/sys/linux/ftw64.c: Ditto.
722 * libc/sys/linux/getwd.c: Ditto.
723 * libc/sys/linux/scandir64.c: Ditto.
724 * libc/sys/linux/strverscmp.c: Ditto.
725 * libc/sys/linux/versionsort.c: Ditto.
726 * libc/sys/linux/versionsort64.c: Ditto.
727
6b6425cb
JJ
7282002-07-26 Jeff Johnston <jjohnstn@redhat.com>
729
730 * libc/string/strings.tex: Fix typo for memccpy.
731
dc8ac8e6
JJ
7322002-07-25 Jeff Johnston <jjohnstn@redhat.com>
733
734 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
735 * libc/sys/linux/sys/types.h (off64_t): Definition added.
736
aa0ca6fd
JJ
7372002-07-25 Jeff Johnston <jjohnstn@redhat.com>
738
739 * libc/sys/linux/Makefile.am: Add fclean.c.
740 * libc/sys/linux/Makefile.in: Regenerated.
741 * libc/sys/linux/fclean.c: New file.
742
61921945
JJ
7432002-07-25 Jeff Johnston <jjohnstn@redhat.com>
744
745 * libc/sys/linux/Makefile.am: Add confstr.c.
746 * libc/sys/linux/Makefile.in: Regenerated.
747 * libc/sys/linux/confstr.c: New file.
748 * libc/sys/linux/confstr.h: Ditto.
749 * libc/sys/linux/sys/unistd.h: Include <features.h> and
750 <bits/environments.h>.
751
3d966a92
JJ
7522002-07-25 Jeff Johnston <jjohnstn@redhat.com>
753
754 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
755 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
756 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
757 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
758 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
759 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
760
53b5bff7
JJ
7612002-07-24 Jeff Johnston <jjohnstn@redhat.com>
762
763 * libc/sys/linux/Makefile.am: Add new files.
764 * libc/sys/linux/Makefile.in: Regenerated.
765 * libc/sys/linux/fstab.c: New file.
766 * libc/sys/linux/fstatvfs.c: Ditto.
767 * libc/sys/linux/fstatvfs64.c: Ditto.
768 * libc/sys/linux/internal_statvfs.c: Ditto.
769 * libc/sys/linux/mntent.c: Ditto.
770 * libc/sys/linux/mntent_r.c: Ditto.
771 * libc/sys/linux/statvfs.c: Ditto.
772 * libc/sys/linux/statvfs64.c: Ditto.
773 * libc/sys/linux/include/paths.h: Ditto.
774 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
775 with double-underscore weak-aliases.
776 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
777
9cef8ef5
JJ
7782002-07-24 Jeff Johnston <jjohnstn@redhat.com>
779
780 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
781 to use _sig_func_ptr type casted constants.
782 (_sig_func_ptr): Typedef moved to sys/signal.h.
783 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
784 For __rtems, use POSIX definition, otherwise default to ANSI.
785 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
786
a703e0f2
JJ
7872002-07-24 Stephane Carrez <stcarrez@nerim.fr>
788
789 * configure.host: Recognize m6811-elf and m6812-elf targets.
790 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
791 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
792 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
793 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
794 according to __INT_MAX__.
795 (_POINTER_INT): Define to short.
796 * libc/machine/m68hc11/Makefile.am: New file.
797 * libc/machine/m68hc11/Makefile.in: New file.
798 * libc/machine/m68hc11/configure.in: New file.
799 * libc/machine/m68hc11/configure: New file.
800 * libc/machine/m68hc11/aclocal.m4: New file.
801 * libc/machine/m68hc11/setjmp.S: New file.
802
d254189b
JJ
8032002-07-23 Jeff Johnston <jjohnstn@redhat.com>
804
805 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
806 prototypes.
807 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
808 * libc/stdlib/Makefile.in: Regenerated.
809 * libc/stdlib/strdup.c: Removed.
810 * libc/stdlib/strdup_r.c: Removed.
811 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
812 mempcpy.c, strndup.c, and strndup_r.c.
813 * libc/string/Makefile.in: Regenerated.
814 * libc/string/memccpy.c: New file.
815 * libc/string/mempcpy.c: Ditto.
816 * libc/string/strndup.c: Ditto.
817 * libc/string/strndup_r.c: Ditto.
818 * libc/string/strdup.c: New file moved from stdlib.
819 * libc/string/strdup_r.c: Ditto.
820 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
821
bc100655
JJ
8222002-07-23 Jeff Johnston <jjohnstn@redhat.com>
823
824 * libc/include/stdio.h: Move fcloseall prototype within
825 #ifndef _REENT_ONLY section.
826 * libc/sys/linux/Makefile.am: Add new files.
827 * libc/sys/linux/Makefile.in: Regenerated.
828 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
829 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
830 * libc/sys/linux/sys/types.h: Add ino64_t type.
831 * libc/sys/linux/ctermid.c: New file.
832 * libc/sys/linux/ttyname_r.c: Ditto.
833 * libc/sys/linux/readdir64.c: Ditto.
834
f5f27f07
JJ
8352002-07-22 Jeff Johnston <jjohnstn@redhat.com>
836
837 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
838 * libc/stdio/Makefile.am: Added fcloseall.c support.
839 * libc/stdio/Makefile.in: Regenerated.
840 * libc/stdio/fcloseall.c: New file.
841 * libc/stdio64/Makefile.am: Remove missing .def references.
842 * libc/stdio64/Makefile.in: Regenerated.
843
d541ba3e
JJ
8442002-07-22 Jeff Johnston <jjohnstn@redhat.com>
845
846 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
847 * libc/machine/powerpc/times.c: New file.
848 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
849 * libc/machine/powerpc/Makefile.in: Regenerated.
850
8512002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
852
853 * libc/machine/powerpc/time.c: New file.
854 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
855 time.c.
856 * libc/machine/powerpc/Makefile.in: Regenerated.
857
5e7d0a55
TF
8582002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
859
860 * libc/libc.texinfo: Change copyright notices to Red Hat from
861 Cygnus.
862 * libm/libm.texinfo: Likewise.
863 * README: Change docs URL to
864 http://sources.redhat.com/newlib/docs.html.
865
504628e7
JJ
8662002-07-19 Jeff Johnston <jjohnstn@redhat.com>
867
868 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
869 * libc/sys/linux/Makefile.in: Regenerated.
870 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
871 * libc/sys/linux/io.c: Add ftruncate syscall.
872 * libc/sys/linux/fpathconf.c: New file.
873 * libc/sys/linux/pathconf.c: Ditto.
874 * libc/sys/linux/linux_fsinfo.h: Ditto.
875 * libc/sys/linux/sys/unistd.h: Ditto.
876
b155ad9f
JJ
8772002-07-19 Jeff Johnston <jjohnstn@redhat.com>
878
879 * libc/stdio64/Makefile.am: Remove missing files.
880 * libc/stdio64/Makefile.in: Regenerated.
881
c119e0ab
JJ
8822002-07-19 Jeff Johnston <jjohnstn@redhat.com>
883
884 * libc/include/sys/config.h[__i386__][__linux__]: Define
885 _LARGE64FILE_SOURCE to 1.
886 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
887 * libc/sys/linux/Makefile.in: Regenerated.
888 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
889 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
890 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
891 of <linux/resource.h>.
892 * libc/sys/linux/getrlimit64.c: New file.
893 * libc/sys/linux/setrlimit64.c: Ditto.
894
9b022d6d
TF
8952002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
896
897 * libc/argz/argz_replace.c: Include buf_findstr.h.
898 * libc/argz/buf_findstr.c: Likewise.
899 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
900 value to (char *).
901 * libc/argz/envz_get.c: Likewise.
902 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
903 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
904 * libc/stdlib/getsubopt.3: New file.
905 * libc/stdlib/getsubopt.c: New file.
906 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
907 Change esp to ebp.
908
dee51391
JJ
9092002-07-17 Jeff Johnston <jjohnstn@redhat.com>
910
911 * configure.host(stdio64_dir): New setting that is used to
912 enable building of new stdio64 directory.
913 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
914 large files.
915 (stmp-stdio64,stdio64.texi): New targets to optionally add in
916 stdio64 info to info files.
917 * libc/Makefile.in: Regenerated.
918 * libc/configure: Ditto.
919 * libc/configure.in: Add configuration variables that are set
920 when stdio64 is selected as subdir in configure.host.
921 * libc/libc.texinfo: Add optional menu item for Stdio64, based
922 on whether STDIO64 flag is set or not.
923 * libc/sys.tex: Add optional stdio64 syscalls based on whether
924 STDIO64 flag is set or not.
925 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
926 _r sycall routines.
927 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
928 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
929 (__SL64): New file flag indicating file is opened via fopen64.
930 * libc/include/sys/_types.h(_off64_t): Added.
931 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
932 * libc/include/sys/reent.h(struct __sFILE64): New file structure
933 for 64-bit offset large file support.
934 (__FILE): New intermediate type either set to struct __sFILE64 or
935 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
936 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
937 * libc/reent/Makefile.in: Regenerated.
938 * libc/reent/fstat64r.c: New file.
939 * libc/reent/lseek64r.c: Ditto.
940 * libc/reent/open64r.c: Ditto.
941 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
942 based on whether STDIO64 flag is set.
943 * libc/stdio/stdio.tex: Add blank line.
944 * libc/stdio64/Makefile.am: New file.
945 * libc/stdio64/Makefile.in: Ditto.
946 * libc/stdio64/fgetpos64.c: Ditto.
947 * libc/stdio64/fopen64.: Ditto.
948 * libc/stdio64/freopen64.c: Ditto.
949 * libc/stdio64/fseeko64.c: Ditto.
950 * libc/stdio64/fsetpos64.c: Ditto.
951 * libc/stdio64/ftello64.c: Ditto.
952 * libc/stdio64/local64.h: Ditto.
953 * libc/stdio64/stdio64.c: Ditto.
954 * libc/stdio64/stdio64.tex: Ditto.
955 * libc/stdio64/tmpfile64.c: Ditto.
956 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
957 open64.
958
778876f6
JJ
9592002-07-16 Jeff Johnston <jjohnstn@redhat.com>
960
961 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
962 if LIBC_EXTRA_LIB is present.
963 * libc/Makefile.in: Regenerated.
964 * libc/libc.texinfo: Add blank line.
965 * libc/argz/Makefile.am: Add doc support.
966 * libc/search/Makefile.am: Ditto.
967 * libc/argz/Makefile.in: Regenerated.
968 * libc/search/Makefile.in: Ditto.
969 * libc/misc/misc.tex: Add ffs function.
970 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
971
37981145
JJ
9722002-07-15 Jeff Johnston <jjohnstn@redhat.com>
973
974 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
975 definition that was removed in error.
976
38b5dc59
JJ
9772002-07-15 Jeff Johnston <jjohnstn@redhat.com>
978
979 * libc/include/machine/ieeefp.h: Change to only define
980 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
981 __IEEE_LITTLE_ENDIAN must be defined for each platform).
982 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
983 remove redundant floating point definitions.
984
8cb61a96
JJ
9852002-07-15 Jeff Johnston <jjohnstn@redhat.com>
986
987 * libc/sys/linux/callocr.c: Fix so code references
988 calloc.
989
edba3282
JJ
9902002-07-15 Jeff Johnston <jjohnstn@redhat.com>
991
992 * libc/sys/linux/Makefile.am: Add new files.
993 * libc/sys/linux/Makefile.in: Regenerated.
994 * libc/sys/linux/bp-sym.h: Moved to include directory.
995 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
996 * libc/sys/linux/inode.c: Set _LIBC to 1.
997 * libc/sys/linux/mq_close.c: Ditto.
998 * libc/sys/linux/mq_getattr.c: Ditto.
999 * libc/sys/linux/mq_open.c: Ditto.
1000 * libc/sys/linux/mq_receive.c: Ditto.
1001 * libc/sys/linux/mq_send.c: Ditto.
1002 * libc/sys/linux/mq_setattr.c: Ditto.
1003 * libc/sys/linux/mq_unlink.c: Ditto.
1004 * libc/sys/linux/calloc.c: New file.
1005 * libc/sys/linux/callocr.c: Ditto.
1006 * libc/sys/linux/cfreer.c: Ditto.
1007 * libc/sys/linux/config.h: Ditto.
1008 * libc/sys/linux/free.c: Ditto.
1009 * libc/sys/linux/freer.c: Ditto.
1010 * libc/sys/linux/msize.c: Ditto.
1011 * libc/sys/linux/msizer.c: Ditto.
1012 * libc/sys/linux/mstats.c: Ditto.
1013 * libc/sys/linux/mtrim.c: Ditto.
1014 * libc/sys/linux/mtrimr.c: Ditto.
1015 * libc/sys/linux/pvallocr.c: Ditto.
1016 * libc/sys/linux/realloc.c: Ditto.
1017 * libc/sys/linux/reallocr.c: Ditto.
1018 * libc/sys/linux/thread-m.h: Ditto.
1019 * libc/sys/linux/vallocr.c: Ditto.
1020 * libc/sys/linux/bp-checks.h: Ditto.
1021 * libc/sys/linux/libc-symbols.h: Ditto.
1022 * libc/sys/linux/libc-tsd.h: Ditto.
1023 * libc/sys/linux/libintl.h: Ditto.
1024 * libc/sys/linux/malign.c: Ditto.
1025 * libc/sys/linux/malignr.c: Ditto.
1026 * libc/sys/linux/mallinfor.c: Ditto.
1027 * libc/sys/linux/malloc.c: Ditto.
1028 * libc/sys/linux/mallocr.c: Ditto.
1029 * libc/sys/linux/malloptr.c: Ditto.
1030 * libc/sys/linux/mallstatsr.c: Ditto.
1031 * libc/sys/linux/mcheck.c: Ditto.
1032 * libc/sys/linux/mhooks.h: Ditto.
1033 * libc/sys/linux/include/bp-sym.h: Ditto.
1034 * libc/sys/linux/include/malloc.h: Ditto.
1035 * libc/sys/linux/include/mcheck.h: Ditto.
1036 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
1037 getpagesize.c.
1038 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
1039 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
1040 * libc/sys/linux/machine/i386/getpagesize.c: New file.
1041 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
1042 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1043 * libc/sys/linux/machine/i386/sysdep.h: New file.
1044 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
1045 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
1046 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
1047
ea20b60a
JJ
10482002-07-12 Jeff Johnston <jjohnstn@redhat.com>
1049
1050 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
1051 instead of <asm/siginfo.h>.
1052 * libc/sys/linux/sys/signal.h: Change to include various linux
1053 <bits/xxx.h> header files, rather than <linux/signal.h> so as
1054 to work with multiple releases of glibc header files.
1055
2fc82912
JJ
10562002-07-11 Chris Demetriou <cgd@broadcom.com>
1057
1058 * testsuite/newlib.search/hsearchtest.c: New file to test
1059 newlib/libc/search.
1060 * testsuite/newlib.search/hsearchtest.exp: Likewise.
1061
4a404e97 10622002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
1063
1064 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
1065 a terminal.
1066 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
1067
6aec558e
JJ
10682002-07-08 Jeff Johnston <jjohnstn@redhat.com>
1069
1070 * libc/include/math.h (MAXFLOAT): Added.
1071
e47e6f0e 1072Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
1073
1074 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
1075 Make strcmp.S unconditional.
1076 * libc/machine/sh/Makefile.in: Regenerate.
1077 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
1078 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
1079 for SHcompact.
1080
89ffbd66
JJ
10812002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1082
1083 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
1084 define before including <sys/lock.h>.
1085
ae6c4c84
JJ
10862002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1087
1088 * libc/include/utime.h: Add include of <_ansi.h>.
1089 * libc/sys/linux/Makefile.am: Add utimes.c.
1090 * libc/sys/linux/Makefile.in: Regenerated.
1091 * libc/sys/linux/inode.c(__umask): New static routine.
1092 (umask): Written to use __umask and attempt to thread lock.
1093 (getumask): New function written to use __umask and thread lock.
1094 * libc/sys/linux/utimes.c: New file.
1095 * libc/sys/linux/sys/time.h: Fix utimes prototype.
1096 * libc/sys/linux/sys/utime.h: New file.
1097
a6cac46c
TF
10982002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1099
1100 * libtool.m4: New file.
1101 * libc/sys/linux/process.c: Implement vfork in terms of fork,
1102 rather than as a syscall.
1103
30b2092f
JJ
11042002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1105
1106 * libc/include/stdio.h: Add new prototypes.
1107 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
1108 * libc/stdio/Makefile.in: Regenerated.
1109 * libc/stdio/fseek.c: Add fseeko documentation.
1110 * libc/stdio/ftell.c: Add ftello documentation.
1111 * libc/stdio/fseeko.c: New file.
1112 * libc/stdio/ftello.c: New file.
1113
7501704d
JJ
11142002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1115
1116 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
1117 * libc/stdio/Makefile.in: Regenerated.
1118 * libc/stdio/asprintf.c: New file.
1119 * libc/stdio/vasprintf.c: Ditto.
1120 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
1121 the buffer for asprintf support.
1122 * libc/stdio/sprintf.c: Add asprintf documentation.
1123 * libc/stdio/vfprintf.c: Add vasprintf documentation.
1124 * libc/include/stdio.h: Add new prototypes.
1125
66eee32b
TF
11262002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1127
1128 * libc/search/hcreate.c: Remove advertising clause from license.
1129 * libc/search/hcreate_r.c: Likewise.
1130
cec4a9f8
JJ
11312002-07-02 Chris Demetriou <cgd@broadcom.com>
1132
1133 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
1134 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
1135 Check that one of them is defined and error out if not.
1136 Add any platforms defined in <machine/ieeefp.h> that are missing.
1137 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
1138 (DB_LITTLE_ENDIAN): New defines.
1139 * libc/search/hash.c: Replace all incorrect checks for
1140 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
1141 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
1142 * libc/search/hash_page.c: Likewise.
1143
2d5eb17e
TF
11442002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1145
1146 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
1147
c1a3171f
JJ
11482002-06-27 Benjamin Kosnik <bkoz@redhat.com>
1149
1150 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
1151 * libc/include/time.h: Same.
1152 * libc/include/string.h: Same.
1153 * libc/include/stdlib.h: Same.
1154 * libc/include/signal.h: Same.
1155 * libc/include/setjmp.h: Same.
1156 * libc/include/math.h: Same.
1157 * libc/include/locale.h: Same.
1158 * libc/include/ctype.h: Same.
1159 * libc/include/machine/setjmp.h: Same.
1160 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
1161 (_END_STD_C): Add.
1162
533b4e66
JJ
11632002-06-27 Jeff Johnston <jjohnstn@redhat.com>
1164
1165 * libc/include/sys/_types.h: Define _ssize_t as int if int is
1166 32-bits, otherwise define it as long.
1167 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
1168 and define ssize_t as _ssize_t.
1169 * libc/reent/readr.c: Change return type to _ssize_t.
1170 * libc/reent/writer.c: Ditto.
1171 * libc/sys/linux/Makefile.am: Add aio.c.
1172 * libc/sys/linux/Makefile.in: Regenerated.
1173 * libc/sys/linux/aio.c: New file.
1174 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
1175 * libm/common/fdlibm.h: Undef __P before defining it.
1176
c36e6dd7
TF
11772002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1178
54be629f
TF
1179 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
1180 exponent_is_even_int variable. Handle case where x is
1181 negative, and y is an odd integer.
1182 * libm/mathfp/sf_pow.c (powf): Likewise.
1183
c36e6dd7
TF
1184 * libm/mathfp/er_lgamma.c: Remove __kernel references.
1185 * libm/mathfp/erf_lgamma.c: Likewise.
1186 * libm/mathfp/s_tgamma.c: Likewise.
1187 * libm/mathfp/sf_tgamma.c: Likewise.
1188
baf051ca
JJ
11892002-06-27 Jeff Johnston <jjohnstn@redhat.com>
1190
1191 * libc/sys/linux/Makefile.am: Add new clock routines.
1192 * libc/sys/linux/Makefile.in: Regenerated.
1193 * libc/sys/linux/clock_getres.c: New file.
1194 * libc/sys/linux/clock_gettime.c: Ditto.
1195 * libc/sys/linux/clock_settime.c: Ditto.
1196 * libc/sys/linux/hp-timing.h: Ditto.
1197 * libc/sys/linux/libc-internal.h: Ditto.
1198 * libc/sys/linux/sysconf.c: Fix typo.
1199 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
1200 * libc/sys/linux/machine/hp-timing.h: New file.
1201 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
1202 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1203 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
1204 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
1205 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
1206 * libc/sys/linux/sys/linux_time.h: New file.
1207 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
1208 replace with <sys/linux_time.h>.
1209
0431ed4e
JR
1210Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
1211
1212 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
1213
fc067ba5
JJ
12142002-06-25 Jeff Johnston <jjohnstn@redhat.com>
1215
1216 * libc/sys/linux/Makefile.am: Consolidate additional items under
1217 ADD_OBJS.
1218 * libc/sys/linux/Makefile.in: Regenerated.
1219
ffddf61e
JJ
12202002-06-25 Jeff Johnston <jjohnstn@redhat.com>
1221
1222 * libc/sys/linux/sethostname.c: New file.
1223 * libc/sys/linux/Makefile.am: Add sethostname.c support.
1224 * libc/sys/linux/Makefile.in: Regenerated.
1225
d5487d3f
TF
12262002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1227
1228 * libc/search/db_local.h: New file.
1229 * libc/include/db.h: Remove.
1230 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
1231 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
1232 "db_local.h".
1233 * libc/search/hash_bigkey.c: Likewise.
1234 * libc/search/hash_buf.c: Likewise.
1235 * libc/search/hash_func.c: Likewise.
1236 * libc/search/hash_log2.c: Likewise.
1237 * libc/search/hash_page.c: Likewise.
1238
12392002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 1240
1e7ca711 1241 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
1242 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
1243 * libc/machine/sh/Makefile.am: Regenerate.
1244
59c6d6c4
JJ
12452002-06-24 Jeff Johnston <jjohnstn@redhat.com>
1246
1247 * libc/sys/linux/gethostname.c: Change name to __gethostname and
1248 add gethostname alias.
1249
a70486d7
JJ
12502002-06-24 Jeff Johnston <jjohnstn@redhat.com>
1251
1252 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 1253 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 1254 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 1255 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
1256 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
1257 * libm/common/fdlibm.h: Ditto.
1258
3118725a
TF
12592002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1260
1261 * libc/include/ndbm.h: Remove.
1262 * libc/search/ndbm.c: Remove.
1263
30a06168
TF
12642002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
1265
1266 * libc/stdio/fseek.c (fseek): Fix braces.
1267
01f5155e
CV
12682002-06-21 Corinna Vinschen <corinna@vinschen.de>
1269
1270 * libc/time/strftime.c (strftime): Add %e format specifier.
1271
930bc96b
TF
12722002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1273
1274 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
1275 previously defined.
1276
55105f86
JJ
12772002-06-21 Richard Earnshaw (rearnsha@arm.com)
1278
1279 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
1280 (BYTE_ORDER): Define as appropriate for the target.
1281
2e78444a
JJ
12822002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1283
1284 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
1285 to _ssize_t.
1286 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
1287
d427d092
JJ
12882002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1289
1290 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
1291 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
1292 [HAVE_GETDATE](getdate_err): New error code.
1293 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
1294 * libc/stdio/Makefile.in: Regenerated.
1295 * libc/stdio/getdelim.c: New file.
1296 * libc/stdio/getline.c: Ditto.
1297 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
1298 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
1299 * libc/sys/linux/Makefile.in: Regenerated.
1300 * libc/sys/linux/getdate.c: New file.
1301 * libc/sys/linux/getdate_err.c: Ditto.
1302 * libc/sys/linux/ntp_gettime.c: Ditto.
1303 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
1304 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
1305
35728d4f
JJ
13062002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1307
1308 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
1309 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
1310 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
1311 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
1312 * libc/include/sys/param.h: Remove i386 case which is handled
1313 by default case.
1314 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
1315 definitions in case they are already defined.
1316 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
1317 _IEEE_LITTLE_ENDIAN flags.
1318 * libc/include/sys/reent.h: Change __uint32_t references to
1319 use _ULong instead.
1320 (_REENT_GETDATE_REENT_P): New macro.
1321 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
1322 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
1323 * libc/search/hash.h: Add default setting of BYTE_ORDER,
1324 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
1325 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
1326 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
1327 pid_t, off_t, loff_t, caddr_t, and daddr_t type
1328 definitions which are done by subsequent glibc headers.
1329 Add macro definitions to prevent subsequent header files from
1330 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
1331 intptr_t to after glibc definitions of types they are based on.
1332
4a2bfab7
JJ
13332002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1334
1335 * libc/include/errno.h: Protect from multiple inclusion.
1336
f42d18ea
NC
13372002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
1338
1339 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
1340
a7b23a8f
TF
13412002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
1342
1343 * Makefile.am (LIB_OBJECTLISTS): Add
1344 libc/search/objectlist.awk.in.
1345 * libc/Makefile.am (SUBDIRS): Add search.
1346 (SUBLIBS): Add search/libsearch.la.
1347 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
1348 * libc/search: New directory.
1349 * libc/search/Makefile.am: New file.
1350 * libc/search/extern.h: New file.
1351 * libc/search/hash.c: New file.
1352 * libc/search/hash.h: New file.
1353 * libc/search/hash_bigkey.c: New file.
1354 * libc/search/hash_buf.c: New file.
1355 * libc/search/hash_func.c: New file.
1356 * libc/search/hash_log2.c: New file.
1357 * libc/search/hash_page.c: New file.
1358 * libc/search/hcreate.3: New file.
1359 * libc/search/hcreate.c: New file.
a7b23a8f
TF
1360 * libc/search/hcreate_r.c: New file.
1361 * libc/search/ndbm.c: New file.
1362 * libc/search/page.h: New file.
1363 * libc/search/tdelete.c: New file.
1364 * libc/search/tdestroy.c: New file.
1365 * libc/search/tfind.c: New file.
1366 * libc/search/tsearch.3: New file.
1367 * libc/search/tsearch.c: New file.
1368 * libc/search/twalk.c: New file.
1369 * libc/include/db.h: New file.
1370 * libc/include/ndbm.h: New file.
1371 * libc/include/search.h: New file.
1372 * libc/include/sys/queue.h: New file.
1373 * libc/include/sys/cdefs.h: New file.
1374 * libc/include/sys/param.h
1375 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
1376 LITTLE_ENDIAN or BIG_ENDIAN.
1377 * libc/include/sys/errno.h (EFTYPE): New macro.
1378 * libc/search/bsearch.c: Move from libc/stdlib.
1379 * libc/search/qsort.c: Likewise.
1380 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
1381 qsort.c.
1382 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
1383 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
1384
ef467338
JJ
13852002-06-19 Jeff Johnston <jjohnstn@redhat.com>
1386
1387 * libc/sys/linux/Makefile.am: Add support for message queue routines,
1388 ipc routines, and ftok.
1389 * libc/sys/linux/Makefile.in: Regenerated.
1390 * libc/sys/linux/ftok.c: New file.
1391 * libc/sys/linux/ipc.c: Ditto.
1392 * libc/sys/linux/mq_close.c: Ditto.
1393 * libc/sys/linux/mq_getattr.c: Ditto.
1394 * libc/sys/linux/mq_notify.c: Ditto.
1395 * libc/sys/linux/mq_open.c: Ditto.
1396 * libc/sys/linux/mq_receive.c: Ditto.
1397 * libc/sys/linux/mq_send.c: Ditto.
1398 * libc/sys/linux/mq_setattr.c: Ditto.
1399 * libc/sys/linux/mq_unlink.c: Ditto.
1400 * libc/sys/linux/mqlocal.h: Ditto.
1401 * libc/sys/linux/include/mqueue.h: Ditto.
1402 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
1403 __uid_t_defined.
1404
7f55c08c
TF
14052002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
1406
1407 * libm/common/sf_lround.c (round): Change name to: (lround).
1408 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
1409 remquof.
1410
c9ca68d7
TF
14112002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1412
1413 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
1414 procedure.
1415 (newlib_pass_fail): Change to compile and run only one file.
1416 * testsuite/newlib.locale/locale.exp: Use new
1417 newlib_pass_fail_all procedure.
1418 * testsuite/newlib.string/string.exp: Likewise.
1419
4ecedd09
DB
14202002-06-18 Dave Brolley <brolley@redhat.com>
1421
1422 From Catherine Moore, Michael Meissner, Richard Sandiford:
1423 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
1424 (_JBTYPE): Ditto.
1425 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
1426 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
1427 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
1428 * configure.host: Support frv-*-*.
1429 * libc/machine/frv/Makefile.am: New file.
1430 * libc/machine/frv/configure.in: New file.
1431 * libc/machine/frv/setjmp.S: New file.
1432
af1c257a
TF
14332002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1434
1435 * libc/include/ctype.h: Remove isblank macro.
1436
1437 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
1438 * libc/ctype/isblank.c: New file.
1439 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
1440 declaration. Add isblank macro.
1441
4e04fa90
JJ
14422002-06-18 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * testsuite/newlib.stdlib/atexit.c: New file.
1445 * testsuite/newlib.stdlib/atexit.exp: Ditto.
1446 * testsuite/newlib.string/tstring.c: Change default start size
1447 to something more reasonable for embedded platforms.
1448
b56d7e79
TF
14492002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1450
ece3c72f
TF
1451 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
1452
b56d7e79
TF
1453 * libc/argz: New directory.
1454 * libc/argz/*: New files.
1455 * libc/argz/argz_add.c: New file.
1456 * libc/argz/argz_add_sep.c: New file.
1457 * libc/argz/argz_append.c: New file.
1458 * libc/argz/argz_count.c: New file.
1459 * libc/argz/argz_create.c: New file.
1460 * libc/argz/argz_create_sep.c: New file.
1461 * libc/argz/argz_delete.c: New file.
1462 * libc/argz/argz_extract.c: New file.
1463 * libc/argz/argz_insert.c: New file.
1464 * libc/argz/argz_next.c: New file.
1465 * libc/argz/argz_replace.c: New file.
1466 * libc/argz/argz_stringify.c: New file.
1467 * libc/argz/buf_findstr.c: New file.
1468 * libc/argz/envz_add.c: New file.
1469 * libc/argz/envz_entry.c: New file.
1470 * libc/argz/envz_get.c: New file.
1471 * libc/argz/envz_merge.c: New file.
1472 * libc/argz/envz_remove.c: New file.
1473 * libc/argz/envz_strip.c: New file.
1474 * libc/include/argz.h: New file.
1475 * libc/include/envz.h: New file.
1476 * Makefile.am (LIBC_OBJECTLISTS): Add
1477 libc/argz/objectlist.awk.in.
1478 * libc/Makefile.am (SUBDIRS): Add argz.
1479 (SUBLIBS): Add argz/libargz.la.
1480 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
1481 * libc/include/errno.h: Add error_t typedef.
1482
d062d3dd
JJ
14832002-06-13 Jeff Johnston <jjohnstn@redhat.com>
1484
1485 * libc/include/stdlib.h: Add _Exit prototype.
1486 * libc/stdlib/Makefile.am: Add _Exit.c support.
1487 * libc/stdlib/Makefile.in: Ditto.
1488 * libc/stdlib/_Exit.c: New file.
1489
a47e66ae
JJ
14902002-06-13 Stephen L. Moshier <steve@moshier.net>
1491
1492 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
1493 x is close to -1.0 and y is very large to use ax (absolute value)
1494 instead of x.
1495 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
1496
13f7d71f
JR
1497Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
1498
1499 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
1500 Fix clobbering bytes before destination if src and dst have same
1501 non-zero misalignment.
1f1fb421
JR
1502
1503 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1504 Fixed bug in writing end of set region.
1505
b2e8018f
CF
15062002-06-10 Christopher Faylor <cgf@redhat.com>
1507
1508 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
1509 spawnve declaration.
1510
0953fe64
TF
15112002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1512
1513 * libm/common/s_fdim.c: New file.
1514 * libm/common/s_fma.c: Likewise.
1515 * libm/common/s_fmax.c: Likewise.
1516 * libm/common/s_fmin.c: Likewise.
1517 * libm/common/s_fpclassify.c: Likewise.
1518 * libm/common/s_lrint.c: Likewise.
1519 * libm/common/s_lround.c: Likewise.
1520 * libm/common/s_nearbyint.c: Likewise.
1521 * libm/common/s_remquo.c: Likewise.
1522 * libm/common/s_round.c: Likewise.
1523 * libm/common/s_scalbln.c: Likewise.
1524 * libm/common/s_signbit.c: Likewise.
1525 * libm/common/s_trunc.c: Likewise.
1526 * libm/common/sf_fdim.c: Likewise.
1527 * libm/common/sf_fma.c: Likewise.
1528 * libm/common/sf_fmax.c: Likewise.
1529 * libm/common/sf_fmin.c: Likewise.
1530 * libm/common/sf_lrint.c: Likewise.
1531 * libm/common/sf_lround.c: Likewise.
1532 * libm/common/sf_nearbyint.c: Likewise.
1533 * libm/common/sf_remquo.c: Likewise.
1534 * libm/common/sf_round.c: Likewise.
1535 * libm/common/sf_scalbln.c: Likewise.
1536 * libm/common/sf_trunc.c: Likewise.
1537 * libm/math/w_exp2.c: Likewise.
1538 * libm/math/w_tgamma.c: Likewise.
1539 * libm/math/wf_exp2.c: Likewise.
1540 * libm/math/wf_tgamma.c: Likewise.
1541 * libm/mathfp/s_exp2.c: Likewise.
1542 * libm/mathfp/s_tgamma.c: Likewise.
1543 * libm/mathfp/sf_exp2.c: Likewise.
1544 * libm/mathfp/sf_tgamma.c: Likewise.
1545 * libm/math/er_gamma.c: Fix return value.
1546 * libm/math/erf_gamma.c: Likewise.
1547 * libm/mathfp/er_gamma.c: Likewise.
1548 * libm/mathfp/erf_gamma.c: Likewise.
1549 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
1550 declarations and macros.
1551 Regenerated all Makefile.in, aclocal.m4 and configure files to
1552 use new libtool macros in top-level libtool.m4
1553
39e65e01
JJ
15542002-06-05 Jeff Johnston <jjohnstn@redhat.com>
1555
1556 * libc/include/string.h[__linux__]: Add strsignal prototype.
1557 * libc/include/sys/lock.h: New file with default locking support.
1558 * libc/include/sys/reent.h: Add signal buffer support for strsignal
1559 and psignal.
1560 * libc/posix/Makefile.am: Add support for readdir_r.c.
1561 * libc/posix/Makefile.in: Regenerated.
1562 * libc/posix/closedir.c: Add locking support and hash table cleanup.
1563 * libc/posix/opendir.c: Add lock support.
1564 * libc/posix/readdir.c: Ditto.
1565 * libc/posix/rewinddir.c: Ditto.
1566 * libc/posix/scandir.c: Ditto.
1567 * libc/posix/seekdir.c: Ditto.
1568 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
1569 clean up leftover hash table entries.
1570 * libc/posix/readdir_r.c: New file.
1571 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
1572 * libc/sys/linux/Makefile.in: Regenerated.
1573 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
1574 * libc/sys/linux/sys/signal.h: Add psignal prototype.
1575 * libc/sys/linux/psignal.c: New file.
1576 * libc/sys/linux/strsignal.c: Ditto.
1577
cc890e89
CV
15782002-06-03 Corinna Vinschen <corinna@vinschen.de>
1579
1580 * libc/include/sys/types.h: Don't define dev_t when compiling for
1581 Cygwin.
1582
ea55e3f7
JJ
15832002-05-31 Jeff Johnston <jjohnstn@redhat.com>
1584
1585 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
1586 make siglist.inc dependent on sig.c instead of signal.c.
1587 * libc/sys/linux/Makefile.in: Regenerated.
1588 * libc/sys/linux/sig.c: Rename from signal.c and change code to
1589 use NSIG instead of _NSIG.
1590 * libc/sys/linux/sigaction.c: New file.
1591 * libc/sys/linux/signal.c: Changed to be linux signal() function
1592 so as to override regular newlib default signal.c.
ea55e3f7
JJ
1593 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
1594 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1595 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
1596 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
1597 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
1598 default linux sigset_t typedef by defining it equal to __sigset_t.
1599 * libc/unix/sigset.c: Add check so code isn't compiled on systems
1600 with a sigset_t that isn't implemented with a single int.
1601
9d362914
JJ
16022002-05-30 Jeff Johnston <jjohnstn@redhat.com>
1603
1604 * libc/sys/linux/Makefile.am: Add support for new files.
1605 * libc/sys/linux/Makefile.in: Regenerated.
1606 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
1607 * libc/sys/linux/signal.c: Change to use real-time syscalls for
1608 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
1609 it is in a separate file now.
1610 * libc/sys/linux/machine/i386/Makefile.am
1611 * libc/sys/linux/machine/i386/Makefile.in
1612 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
1613 * libc/sys/linux/sigaction.c: New file.
1614 * libc/sys/linux/sigqueue.c: Ditto.
1615 * libc/sys/linux/sigwait.c: Ditto.
1616 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
1617 * libc/sys/linux/kernel_sigaction.h: Ditto.
1618
b1f07180
JJ
16192002-05-28 Jeff Johnston <jjohnstn@redhat.com>
1620
1621 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
1622 tcsendbrk.c.
1623 * libc/sys/linux/Makefile.in: Regenerated.
1624 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
1625 tcgetpgrp(), and tcsetpgrp() functions.
1626 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
1627 to get __MAX_BAUD rate.
1628 * libc/sys/linux/machine/i386/include/termios.h: New file.
1629 * libc/include/machine/termios.h: Ditto.
1630 * libc/sys/linux/cfspeed.c: Ditto.
1631 * libc/sys/linux/tcsendbrk.c: Ditto.
1632
d29587b4
JJ
16332002-05-24 Jeff Johnston <jjohnstn@redhat.com>
1634
1635 * libc/include/string.h: Add strnlen and strerror_r prototypes.
1636 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
1637 * libc/string/Makefile.in: Regenerated.
1638 * libc/string/strerror_r.c: New file.
1639 * libc/string/strnlen.c: New file.
1640 * libc/sys/linux/Makefile.am: Add rename.c.
1641 * libc/sys/linux/Makefile.in: Regenerated.
1642 * libc/sys/linux/rename.c: New file to override default rename.
1643
9a292385
TF
16442002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1645
1646 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
1647 * libc/sys/linux/sys/time.h: Add conversion macros.
1648 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
1649 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
1650 * libc/sys/linux/gethostname.c: New file.
1651 * libc/sys/linux/seteuid.c: New file.
1652 * libc/sys/linux/sysctl.c: New file.
1653
7a364eb3
JJ
16542002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1655
1656 * libc/string/Makefile.am: Add support for strsep.c.
1657 * libc/string/Makefile.in: Regenerated.
1658 * libc/string/strsep.c: New file.
1659 * libc/string/strtok.c: Change to call __strtok_r service routine.
1660 * libc/string/strtok_r.c: Add __strtok_r routine which takes
1661 additional flag parameter regarding whether to skip leading delimeters.
1662 Change strtok_r to call __strtok_r.
1663
164ee5b0
JJ
16642002-05-23 Gareth Pearce <tilps@hotmail.com>
1665
1666 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
1667 * libc/stdio/Makefile.in: Regenerated.
1668 * libc/stdio/setbuffer.c: New file.
1669 * libc/stdio/setlinebuf.c: New file.
1670
f6b2b567
JJ
16712002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1672
1673 * libc/sys/linux/Makefile.am: Add resource.c.
1674 * libc/sys/linux/Makefile.in: Regenerated.
1675 * libc/sys/linux/resource.c: New file.
1676 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
1677 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
1678 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1679 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
1680 are now found in libc/sys/linux/resource.c.
1681
afe56517
JJ
16822002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1683
1684 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
1685 to use void * pointers and comply with Single Unix spec.
1686 * libc/string/bcmp.c: Change to use void * instead of char *.
1687 * libc/string/bcopy.c: Ditto.
1688 * libc/string/bzero.c: Ditto.
1689
7736feb2
JJ
16902002-05-22 Jeff Johnston <jjohnstn@redhat.com>
1691
1692 * libc/sys/linux/shm_open.c: New file.
1693 * libc/sys/linux/shm_unlink.c: Ditto.
1694 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
1695 shm_unlink.c.
1696 * libc/sys/linux/Makefile.in: Regenerated.
1697 * libc/sys/linux/sys/types.h: Add some additional checks to see
1698 if clock_t or time_t is already defined.
1699
19f111bd
JJ
17002002-05-22 Jeff Johnston <jjohnstn@redhat.com>
1701
1702 * Makefile.am: Don't pass $toollibdir down directly in
1703 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
1704 Pass it under the name: top_toollibdir.
1705 * Makefile.in: Regenerated.
1706
c811b1ee
CV
17072002-05-22 Corinna Vinschen <vinschen@redhat.com>
1708
1709 * libc/include/sys/types.h: Revert previous patch.
1710
2b43ad33
CV
17112002-05-22 Corinna Vinschen <vinschen@redhat.com>
1712
1713 * libc/include/sys/types.h: Include cygwin/types.h always under
1714 Cygwin, not only if _POSIX_THREADS is defined.
1715
dd671cde
TF
17162002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
1717
1718 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
1719
5e2cbfb6
JJ
17202002-05-17 Jeff Johnston <jjohnstn@redhat.com>
1721
1722 * Makefile.am: Copy and install headers from sys/machine/include
1723 directory. Also pass $toollibdir to lower-level directories.
1724 * Makefile.in: Regenerated.
1725 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
1726 stderr to use _REENT macro instead of _impure_ptr directly.
1727 * libc/include/sys/config.h[__i386__][__linux__]: Define
1728 __DYNAMIC_REENT__.
1729 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
1730 call to __getreent() function if !__SINGLE_THREAD__ and
1731 __DYNAMIC_REENT__ is set.
1732 * libc/reent/Makefile.am: Add support for getreent.c.
1733 * libc/reent/Makefile.in: Regenerated.
1734 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
1735 * libc/sys/linux/Makefile.am: Add support for new files.
1736 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
1737 * libc/sys/linux/Makefile.in: Regenerated.
1738 * libc/sys/linux/configure: Ditto.
1739 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
1740 __close, __read, __write, __poll, __open, __lseek, __fcntl from
1741 their __libc_ counterparts.
1742 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
1743 and weak-alias to regular names.
1744 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
1745 to pread64 and __pread64.
1746 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
1747 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
1748 weak-alias to pwrite64.
1749 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
1750 __libc_sched_getscheduler, __libc_sched_get_priority_max,
1751 __libc_sched_get_priority_min, and __libc_sched_setschedule to
1752 name with __ instead of __libc_.
1753 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
1754 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
1755 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
1756 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
1757 to raise.
1758 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
1759 __libc_send to __send.
1760 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
1761 __gettimeofday.
1762 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
1763 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
1764 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
1765 type and typedef __jmp_buf to jmp_buf.
1766 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
1767 setjmp.S.
1768 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1769 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
1770 section.
1771 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
1772 prefix for function macros and then use weak_alias() to regular names.
1773 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1774 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
1775 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
1776 to be flockfile() and funlockfile() respectively.
1777 * libc/sys/linux/sys/types.h
1778 * libc/reent/getreent.c: New file.
1779 * libc/sys/linux/flockfile.c: Ditto.
1780 * libc/sys/linux/funlockfile.c: Ditto.
1781 * libc/sys/linux/getreent.c: Ditto.
1782 * libc/sys/linux/pread.c: Ditto.
1783 * libc/sys/linux/pwrite.c: Ditto.
1784 * libc/sys/linux/raise.c: Ditto.
1785 * libc/sys/linux/system.c: Ditto.
1786 * libc/sys/linux/tcdrain.c: Ditto.
1787 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
1788 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
1789 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
1790 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
1791 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
1792
7fc85bd1
TF
17932002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
1794
1795 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
1796 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
1797 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
1798 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
1799
6935231f 1800Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
1801
1802 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
1803 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
1804 exit point.
d7a2f413 1805
3a6cb01b
TF
18062002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1807
a68fa571
TF
1808 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
1809 options when testing natively on i[3456]86-*-linux.
1810
3a6cb01b
TF
1811 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
1812 only one pass or fail per test file. Trim \r's from output
1813 values received from test programs. Remove support for named
1814 tests.
1815 * testsuite/newlib.locale/UTF-8.exp: Update to support new
1816 newlib_check_output behaviour.
1817 * testsuite/newlib.locale/UTF-8.c: Likewise.
1818
dc824ef7
JJ
18192002-05-15 Jeff Johnston <jjohnstn@redhat.com>
1820
1821 * libc/include/stdlib.h: Add on_exit prototype.
1822 * libc/include/sys/reent.h (struct _atexit): Add argument array
1823 and bits to track type of exit routine to support both on_exit
1824 and atexit.
1825 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
1826 by default and change the setting of the atexit structure.
1827 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
1828 * libc/stdlib/on_exit.c: New file.
1829 * libc/stdlib/Makefile.am: Add support for on_exit.
1830 * libc/stdlib/Makefile.in: Regenerated.
1831 * libc/stdlib/atexit.c: Change to initialize types field.
1832 * libc/stdlib/exit.c: Change to look at types field for each
1833 exit routine and either call an atexit-style or an on_exit-style
1834 routine accordingly.
1835
48d91b4a
JJ
18362002-05-13 Jeff Johnston <jjohnstn@redhat.com>
1837
1838 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
1839 allow v specifier with n or L specifiers. For vector c format,
1840 move tmp declaration to the top.
1841
024739eb
JJ
18422002-05-13 Jeff Johnston <jjohnstn@redhat.com>
1843
1844 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
1845 the original format specifier when looping for vectors to compensate
1846 for any changes made in vector %g format processing.
1847 Also add syntax checking for various invalid scenarios
1848 involving vector format extensions.
1849 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
1850 return code setting for vector formats. Also treat vector
1851 separator mismatch as a match error instead of an input error.
1852 Perform some syntax checking for vector formats.
1853
7d2ce898
TF
18542002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1855
1856 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
1857 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
1858 * libc/string/strlcat.c: New file.
1859 * libc/string/strlcpy.c: New file.
1860
809b6ce7
JJ
18612002-05-10 Jeff Johnston <jjohnstn@redhat.com>
1862
1863 * libc/string/strchr.c: Fix comment typo.
1864
76490806
TF
18652002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1866
0c048a9a
TF
1867 * acinclude.m4: Add support for --enable-newlib-multithread.
1868 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
1869 --enable-newlib-multithread=no.
1870
76490806
TF
1871 * libc/stdio/getc_u.c: New file.
1872 * libc/stdio/getchar_u.c: New file.
1873 * libc/stdio/putc_u.c: New file.
1874 * libc/stdio/putchar_u.c: New file.
1875 * libc/include/stdio.h: Add declarations for getc_unlocked,
1876 getchar_unlocked, putc_unlocked and putchar_unlocked.
1877 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
1878 (CHEWOUT_FILES): Add new files' .def's.
1879 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
1880
96bff22c
JR
1881Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
1882
1883 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1884 Also handle as single quad word when destination ends at last
1885 byte of first quad word. Fix byte selection in single quad code.
1886
e71372fa
TF
18872002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1888
1889 * libc/include/sys/stdio.h: New file.
1890 * libc/sys/linux/sys/stdio.h: New file.
1891 * libc/include/stdio.h: Add declarations for flockfile,
1892 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
1893 * libc/stdio/clearerr.c: Add file locking.
1894 * libc/stdio/fclose.c: Likewise.
1895 * libc/stdio/feof.c: Likewise.
1896 * libc/stdio/ferror.c: Likewise.
1897 * libc/stdio/fflush.c: Likewise.
1898 * libc/stdio/fgetc.c: Likewise.
1899 * libc/stdio/fgetpos.c: Likewise.
1900 * libc/stdio/fgets.c: Likewise.
1901 * libc/stdio/fileno.c: Likewise.
1902 * libc/stdio/fputc.c: Likewise.
1903 * libc/stdio/fputs.c: Likewise.
1904 * libc/stdio/fread.c: Likewise.
1905 * libc/stdio/freopen.c: Likewise.
1906 * libc/stdio/fseek.c: Likewise.
1907 * libc/stdio/ftell.c: Likewise.
1908 * libc/stdio/fwrite.c: Likewise.
1909 * libc/stdio/getc.c: Likewise.
1910 * libc/stdio/putc.c: Likewise.
1911 * libc/stdio/setvbuf.c: Likewise.
1912 * libc/stdio/ungetc.c: Likewise.
1913 * libc/stdio/vfprintf.c: Likewise.
1914
a03790e4
JJ
19152002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1916
60b2107c
TF
1917 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
1918 support for 'p' format. Fix code to print bytes for vector
1919 integer formats that do not specify 'h' or 'l'.
1920 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
1921 for 'p' specifier. Fix code to scan 16 bytes for vector integer
1922 formats that do not specify 'h' or 'l'.
1923
1924 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
1925
9c7d6a9d
TF
19262002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1927
1928 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
1929 (_sbrk): Add cast of return value.
1930
c33c3635
JJ
19312002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1932
1933 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
1934 (_REENT_L64A_BUF): New macro for accessing area.
1935 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
1936 * libc/stdlib/Makefile.in: Regenerated.
1937 * libc/stdlib/a64l.c: New file.
1938 * libc/stdlib/l64a.c: New file.
1939
f78e59a8
JJ
19402002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1941
1942 * libc/unix/pread.c: Fix typo for _pread_r.
1943 * libc/unix/pwrite.c: Fix type for _pwrite_r.
1944 * libc/sys/linux/pread64.c: Fix typo for read syscall.
1945 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
1946
4b3f6588
CF
19472002-05-03 Christopher Faylor <cgf@redhat.com>
1948
1949 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
1950
e911832c
TF
19512002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1952
1953 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
1954
0d0fdc8d
CF
19552002-05-01 Christopher Faylor <cgf@redhat.com>
1956
1957 * utmp.h: Define more UNIX constants.
1958
1e997c56
TF
19592002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1960
0717f01c
TF
1961 * Makefile.am: Add support for checking multilibs.
1962
09841445
TF
1963 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1964 (SUBDEFS): Add LIBC_EXTRA_DEF.
1965 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1966 (LIBC_EXTRA_DEF): Likewise.
1967 (extra_dir): Likewise.
1968 * libc/machine/xscale/machine: New directory.
1969 * libc/machine/xscale/machine/profile.h: New file.
1970
1e997c56
TF
1971 * Makefile.am (site.exp): Remove newlib_cflags. Add
1972 multibuildtop.
1973 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1974 * testsuite/lib/flags.exp: New file.
1975 * testsuite/lib/newlib.exp: Load flags.exp.
1976 (newlib_target_compile): Remove libgloss directory references.
1977 (newlib_init): Remove newlib_cflags references.
1978
4cf4f010
TF
19792002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1980
f6bdb6f9
TF
1981 * testsuite/lib/newlib.exp (newlib_target_compile): Change
1982 method of finding libgloss_target_dir.
1983
4cf4f010
TF
1984 * Makefile.am (site.exp): Change host_alias, host_triplet,
1985 target_alias, target_triplet to refer to gcc's host and target
1986 variables (newlib's build and host variables).
1987 * testsuite/lib/newlib.exp (newlib_init): Change build
1988 references to host references, host references to target
1989 references to reflect Makefile.am changes.
1990 (newlib_target_compile): Likewise.
1991 (newlib_finish): Likewise.
1992
83096ae8
JJ
19932002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1994
1995 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1996
822afa53
JL
19972002-04-29 Jonathan Larmour <jlarmour@redhat.com>
1998
1999 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
2000 (_system): New function. Ditto.
2001 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
2002 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
2003 targets.
2004
29798f0d
JJ
20052002-04-29 Jeff Johnston <jjohnstn@redhat.com>
2006
2007 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
2008 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
2009 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
2010 * libc/sys/linux/Makefile.in: Regenerated.
2011 * libc/unix/Makefile.in: Ditto.
2012 * libc/sys/linux/pread64.c: New file.
2013 * libc/sys/linux/pwrite64.c: Ditto.
2014 * libc/unix/pread.c: Ditto.
2015 * libc/unix/pwrite.c: Ditto.
2016
557856bd
JJ
20172002-04-26 Jeff Johnston <jjohnstn@redhat.com>
2018
2019 * libc/sys/linux/Makefile.am: Add io64.c.
2020 * libc/sys/linux/Makefile.in: Regenerated.
2021 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
2022 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
2023 * libc/sys/linux/io64.c: New file.
2024
7b2b12d5
JJ
20252002-04-26 Jeff Johnston <jjohnstn@redhat.com>
2026
2027 * configure.in (CC_FOR_NEWLIB): New variable that
2028 bases on $(CC) and adds targ-include and libc/include as
2029 -isystem directives if they are not already part of $(CC).
2030 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
2031 $(CC_FOR_NEWLIB).
2032 * configure: Regenerated.
2033 * Makefile.in: Ditto.
2034
c62adacc
JJ
20352002-04-25 Jeff Johnston <jjohnstn@redhat.com>
2036
2037 * libc/sys/linux/Makefile.am: Add support for sched.c.
2038 * libc/sys/linux/Makefile.in: Regenerated.
2039 * libc/sys/linux/sched.c: New file.
2040 * libc/sys/linux/sys/types.h: Add struct timespec.
2041
217ad4a0
TF
20422002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
2043
2044 * configure.in (CC_FOR_BUILD): Set to gcc whether
2045 cross-compiling or not.
2046 (CC): Add -isystem's for targ-include and libc/include when they
2047 do not already appear in CC.
2048
eaa75b70
TF
20492002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2050
2051 * Makefile.am (check-DEJAGNU): New target.
2052 (site.exp): Likewise.
2053 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
2054 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
2055 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
2056 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
2057 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
2058 * testsuite: New directory.
2059 * testsuite/config: Likewise.
2060 * testsuite/lib: Likewise.
2061 * testsuite/newlib.locale: Likewise.
2062 * testsuite/newlib.string: Likewise.
2063 * testsuite/config/default.exp: New file.
2064 * testsuite/lib/checkoutput.exp: New file.
2065 * testsuite/lib/newlib.exp: New file.
2066 * testsuite/lib/passfail.exp: New file.
2067 * testsuite/newlib.locale/UTF-8.c: New file.
2068 * testsuite/newlib.locale/UTF-8.exp: New file.
2069 * testsuite/newlib.locale/locale.exp: New file.
2070 * testsuite/newlib.string/string.exp: New file.
2071 * testsuite/newlib.string/tstring.c: New file.
2072
b9f9f699
JJ
20732002-04-23 Jeff Johnston <jjohnstn@redhat.com>
2074
2075 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
2076 * libc/sys/linux/Makefile.am: Add support for mmap.c.
2077 * libc/sys/linux/Makefile.in: Regenerated.
2078 * libc/sys/linux/mmap.c: New file.
2079 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
2080 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
2081
7394edbb
TF
20822002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2083
2084 * acinclude.m4 (newlib_cflags): Remove include directories that
2085 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
2086
b9f9f699 20872002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
2088
2089 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
2090 * libc/machine/xscale/memcmp.c: Ditto.
2091 * libc/machine/xscale/memcpy.c: Ditto.
2092 * libc/machine/xscale/memmove.c: Ditto.
2093 * libc/machine/xscale/memset.c: Ditto.
2094 * libc/machine/xscale/strchr.c: Ditto.
2095 * libc/machine/xscale/strcmp.c: Ditto.
2096 * libc/machine/xscale/strcpy.c: Ditto.
2097 * libc/machine/xscale/strlen.c: Ditto.
2098
2dd4c4dc
JJ
20992002-04-19 Alexandre Oliva <aoliva@redhat.com>
2100
2101 * libc/include/sys/config.h: Remove include of <limits.h>.
2102 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
2103 define INT_MAX and LONG_MAX. Use them in tests.
2104
0d844014
JJ
21052002-04-19 Jeff Johnston <jjohnstn@redhat.com>
2106
2107 * configure.host: Add support for powerpc-eabialtivec*.
2108 * libc/include/malloc.h: Add include of <machine/malloc.h>.
2109 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
2110 * libc/include/machine/malloc.h: New file.
2111 * libc/include/machine/stdlib.h: Ditto.
2112 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
2113 * libc/machine/powerpc/Makefile.am: Add conditional objects and
2114 sources based on configuration.
2115 * libc/machine/powerpc/Makefile.in: Regenerated.
2116 * libc/machine/powerpc/configure: Ditto.
2117 * libc/machine/powerpc/configure.in: Add check for
2118 powerpc-eabialtivec* in which case add in additional source files.
2119 * libc/machine/powerpc/setjmp.S: Add altivec support.
2120 * libc/machine/powerpc/vec_calloc.c: New file.
2121 * libc/machine/powerpc/vec_free.c: Ditto.
2122 * libc/machine/powerpc/vec_malloc.c: Ditto.
2123 * libc/machine/powerpc/vec_mallocr.c: Ditto.
2124 * libc/machine/powerpc/vec_realloc.c: Ditto.
2125 * libc/machine/powerpc/machine/malloc.h: Ditto.
2126 * libc/machine/powerpc/machine/stdlib.h: Ditto.
2127 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
2128 with added altivec format specifiers.
2129 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
2130 added altivec format specifiers.
2131
d413aadc
JS
21322002-04-19 Joel Sherrill <joel@OARcorp.com>
2133
2134 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
2135 while autoconf is trying to link main(){}.
2136
27193895
JJ
21372002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2138
2139 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
2140 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
2141
10d00216
JJ
21422002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2143
6b0f808e
JJ
2144 * libc/time/time.tex: Add tzset info.
2145
21462002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2147
2148 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
2149 (strptime): Moved prototype to be within !__STRICT_ANSI__.
2150 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
2151 (tzname): Defined for all platforms.
2152 (daylight, timezone): Defined only for CYGWIN.
2153 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
2154 environment set up.
2155 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2156 environment variable is set.
2157 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
2158 tzset_r.c.
2159 * libc/time/Makefile.in: Regenerated.
2160 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
2161 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
2162 * libc/time/lcltime_r.c (lcltime_r): Ditto.
2163 * libc/time/local.h: New local header file.
2164 * libc/time/mktime.c (mktime): Add timezone support.
2165 * libc/time/mktm_r.c: New file which is the common engine
2166 for gmtime_r and lcltime_r. This code has timezone support.
2167 * libc/time/strftime.c (strftime): Add %Z timezone support.
2168 * libc/time/tzlock.c: New file containing timezone lock stubs.
2169 * libc/time/tzset.c: New file containing tzset() routine.
2170 * libc/time/tzset_r.c: New file containing _tzset_r and
2171 internal routine for calculating timezone changes for specified year.
2172
21732002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2174
2175 * configure.in (CRT0_DIR): Set to libc/.
2176 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
2177 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
2178 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
2179 $(CRT1_DIR)/$(CRT1).
2180 * libc/machine/xstormy16/Makefile.in: Regenerated.
2181 * libc/machine/xstormy16/aclocal.m4: Regenerated.
2182 * libc/machine/xstormy16/configure: Regenerated.
2183
21842002-04-13 Alexandre Oliva <aoliva@redhat.com>
2185
2186 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
2187 fails, don't bail out, and try to correct next time.
2188
2189 * libc/include/sys/config.h: Include limits.h.
2190
21912002-04-12 Eric Norum <eric.norum@usask.com>
2192
2193 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
2194 routine to allow autoconf to determine that building executables
2195 for rtems works.
2196 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
2197 (rtems_gxx_mutex_once): Ditto.
2198
21992002-04-09 Tom Rix <trix@redhat.com>
2200
2201 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
2202
22032002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2204
2205 * libc/include/time.h: Fix strptime declaration.
2206 * libc/time/Makefile.am: Add strptime.c.
2207 * libc/time/Makefile.in: Regenerated.
2208 * libc/time/strptime.c: New file.
2209
22102002-04-08 Jeff Johnston <jjohnstn@redhat.com>
2211
2212 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
2213 siglongjmp prototype, and sigsetjmp macro definition.
2214 * libc/sys/linux/siglongjmp.c: New file.
2215 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
2216 * libc/sys/linux/Makefile.in: Regenerated.
2217
22182002-04-04 Jeff Johnston <jjohnstn@redhat.com>
2219
2220 * Makefile.am: Add support for installing crt1.o if one exists.
2221 * configure.host: Specify crt1.o for linux.
2222 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
2223 * Makefile.in: Regenerated.
2224 * configure: Ditto.
2225 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
2226 Added for non-Cygwin, non-RTEMS configurations.
2227 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
2228 * libc/sys/linux/Makefile.in: Regenerated.
2229 * libc/sys/linux/crt1.c: New empty file to override one defaulted
2230 by gcc. This fixes problem with reconfiguring linux newlib build.
2231 * libc/sys/linux/sysconf.c: New file.
2232
22332002-04-03 Jeff Johnston <jjohnstn@redhat.com>
2234
2235 * configure.host: Add support for machine subdirectory of
2236 sys subdirectory.
2237 * configure.in: Add check for sys machine subdirectory.
2238 * Makefile.am: Ditto.
2239 * configure: Regenerated.
2240 * Makefile.in: Ditto.
2241 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
2242 * libc/sys/linux/sys/syscall.h: Ditto.
2243 * libc/sys/linux/sleep.c: New file.
2244 * libc/sys/linux/socket.c: Ditto.
2245 * libc/sys/linux/sockops.h: Ditto.
2246 * libc/sys/linux/stack.c: Ditto.
2247 * libc/sys/linux/usleep.c: Ditto.
2248 * libc/sys/linux/machine/Makefile.am: Ditto.
2249 * libc/sys/linux/machine/Makefile.in: Ditto.
2250 * libc/sys/linux/machine/aclocal.m4: Ditto.
2251 * libc/sys/linux/machine/configure: Ditto.
2252 * libc/sys/linux/machine/configure.in: Ditto.
2253 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2254 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2255 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2256 * libc/sys/linux/machine/i386/configure: Ditto.
2257 * libc/sys/linux/machine/i386/configure.in: Ditto.
2258 * libc/sys/linux/machine/i386/crt0.c: Ditto.
2259 * libc/sys/linux/machine/i386/sigset.c: Ditto.
2260 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
2261 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
2262 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2263 * libc/sys/linux/sys/select.h: Ditto.
2264 * libc/sys/linux/configure.in: Add support for machine directory.
2265 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
2266 * libc/sys/linux/Makefile.in: Regenerated.
2267 * libc/sys/linux/configure: Ditto.
2268 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
2269 * libc/sys/linux/inode.c: Ditto.
2270 * libc/sys/linux/linux.c: Ditto.
2271 * libc/sys/linux/process.c: Ditto.
2272 * libc/sys/linux/systat.c: Ditto.
2273 * libc/sys/linux/time.c: Ditto.
2274 * libc/sys/linux/wait.c: Ditto.
2275 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
2276 * libc/sys/linux/io.c: Change header plus add readv/writev.
2277 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
2278 use __sigsuspend syscall.
2279 * libc/sys/linux/select.c: Change header plus change select to
2280 use _newselect syscall.
2281 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
2282 used by glibc header files.
2283 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
2284 types.
2285
22862002-04-01 Jeff Johnston <jjohnstn@redhat.com>
2287
2288 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
2289 initializing a struct _reent that has been dynamically allocated.
2290 (_REENT_CHECK_MISC): New macro that checks _misc struct for
2291 _REENT_SMALL and does nothing otherwise.
2292 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
2293 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
2294 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
2295 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
2296 [_REENT_SMALL](struct _misc_reent): New structure containing
2297 miscellaneous reentrant areas needed by newlib.
2298 [_REENT_SMALL](struct _reent): Add _misc pointer.
2299 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
2300 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
2301 and _REENT_STRTOK_LAST macros.
2302 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
2303 and _REENT_MBLEN_STATE macros.
2304 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
2305 and _REENT_MBTOWC_STATE macros.
2306 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
2307 and _REENT_WCTOMB_STATE macros.
2308
23092002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
2310
2311 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
2312
2313Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
2314
2315 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
2316
2317Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
2318
2319 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
2320 Store high part of leading bytes too.
2321
23222002-03-22 Richard Sandiford <rsandifo@redhat.com>
2323
2324 * libm/math/ef_hypot.c: Increase scale factor to 68.
2325
23262002-03-13 Alexandre Oliva <aoliva@redhat.com>
2327
2328 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
2329 error.
2330
23312002-03-12 Jeff Johnston <jjohnstn@redhat.com>
2332
2333 * libc/sys/go32/access.c: Change license to relaxed license
2334 used in identical file throughout newlib/libgloss.
2335
23362002-03-12 Richard Earnshaw <rearnsha@arm.com>
2337
2338 * libc/sys/arm/access.c: New file.
2339 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
2340 * libc/sys/arm/Makefile.in: Regenerate.
2341 * libc/sys/arm/syscalls.c (_stat): New function.
2342
23432002-03-11 Michael Meissner <meissner@redhat.com>
2344
2345 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
2346 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
2347 * libc/machine/mips/Makefile.in: Regenerate.
2348 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
2349 * libc/machine/mips/memset.c: Dito.
2350 * libc/machine/mips/strcmp.c: Dito.
2351 * libc/machine/mips/strlen.c: Dito.
2352 * libc/machine/mips/strncmp.c: Dito.
2353
23542002-03-06 Jeff Johnston <jjohnstn@redhat.com>
2355
2356 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
2357 object so it works for shared library or statici library.
23582002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2359
10d00216
JJ
2360 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
2361 (strptime): Moved prototype to be within !__STRICT_ANSI__.
2362 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
2363 (tzname): Defined for all platforms.
2364 (daylight, timezone): Defined only for CYGWIN.
2365 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
2366 environment set up.
2367 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2368 environment variable is set.
2369 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
2370 tzset_r.c.
2371 * libc/time/Makefile.in: Regenerated.
2372 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
2373 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
2374 * libc/time/lcltime_r.c (lcltime_r): Ditto.
2375 * libc/time/local.h: New local header file.
2376 * libc/time/mktime.c (mktime): Add timezone support.
2377 * libc/time/mktm_r.c: New file which is the common engine
2378 for gmtime_r and lcltime_r. This code has timezone support.
2379 * libc/time/strftime.c (strftime): Add %Z timezone support.
2380 * libc/time/tzlock.c: New file containing timezone lock stubs.
2381 * libc/time/tzset.c: New file containing tzset() routine.
2382 * libc/time/tzset_r.c: New file containing _tzset_r and
2383 internal routine for calculating timezone changes for specified year.
2384
5f1c13c6
TF
23852002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2386
2387 * configure.in (CRT0_DIR): Set to libc/.
2388 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
2389 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
2390 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
2391 $(CRT1_DIR)/$(CRT1).
2392 * libc/machine/xstormy16/Makefile.in: Regenerated.
2393 * libc/machine/xstormy16/aclocal.m4: Regenerated.
2394 * libc/machine/xstormy16/configure: Regenerated.
2395
0cc261b1
AO
23962002-04-13 Alexandre Oliva <aoliva@redhat.com>
2397
2f3009bd
AO
2398 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
2399 fails, don't bail out, and try to correct next time.
2400
0cc261b1
AO
2401 * libc/include/sys/config.h: Include limits.h.
2402
26116455
JJ
24032002-04-12 Eric Norum <eric.norum@usask.com>
2404
2405 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
2406 routine to allow autoconf to determine that building executables
2407 for rtems works.
2408 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
2409 (rtems_gxx_mutex_once): Ditto.
2410
4608280d
TR
24112002-04-09 Tom Rix <trix@redhat.com>
2412
2413 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
2414
dea7e25c
JJ
24152002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2416
2417 * libc/include/time.h: Fix strptime declaration.
2418 * libc/time/Makefile.am: Add strptime.c.
2419 * libc/time/Makefile.in: Regenerated.
2420 * libc/time/strptime.c: New file.
2421
c5ef1e95
JJ
24222002-04-08 Jeff Johnston <jjohnstn@redhat.com>
2423
2424 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
2425 siglongjmp prototype, and sigsetjmp macro definition.
2426 * libc/sys/linux/siglongjmp.c: New file.
2427 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
2428 * libc/sys/linux/Makefile.in: Regenerated.
2429
6e6cd5bd
JJ
24302002-04-04 Jeff Johnston <jjohnstn@redhat.com>
2431
2432 * Makefile.am: Add support for installing crt1.o if one exists.
2433 * configure.host: Specify crt1.o for linux.
2434 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
2435 * Makefile.in: Regenerated.
2436 * configure: Ditto.
2437 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
2438 Added for non-Cygwin, non-RTEMS configurations.
2439 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
2440 * libc/sys/linux/Makefile.in: Regenerated.
2441 * libc/sys/linux/crt1.c: New empty file to override one defaulted
2442 by gcc. This fixes problem with reconfiguring linux newlib build.
2443 * libc/sys/linux/sysconf.c: New file.
2444
fa4a16a1
JJ
24452002-04-03 Jeff Johnston <jjohnstn@redhat.com>
2446
2447 * configure.host: Add support for machine subdirectory of
2448 sys subdirectory.
2449 * configure.in: Add check for sys machine subdirectory.
2450 * Makefile.am: Ditto.
2451 * configure: Regenerated.
2452 * Makefile.in: Ditto.
2453 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
2454 * libc/sys/linux/sys/syscall.h: Ditto.
2455 * libc/sys/linux/sleep.c: New file.
2456 * libc/sys/linux/socket.c: Ditto.
2457 * libc/sys/linux/sockops.h: Ditto.
2458 * libc/sys/linux/stack.c: Ditto.
2459 * libc/sys/linux/usleep.c: Ditto.
2460 * libc/sys/linux/machine/Makefile.am: Ditto.
2461 * libc/sys/linux/machine/Makefile.in: Ditto.
2462 * libc/sys/linux/machine/aclocal.m4: Ditto.
2463 * libc/sys/linux/machine/configure: Ditto.
2464 * libc/sys/linux/machine/configure.in: Ditto.
2465 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2466 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2467 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2468 * libc/sys/linux/machine/i386/configure: Ditto.
2469 * libc/sys/linux/machine/i386/configure.in: Ditto.
2470 * libc/sys/linux/machine/i386/crt0.c: Ditto.
2471 * libc/sys/linux/machine/i386/sigset.c: Ditto.
2472 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
2473 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
2474 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2475 * libc/sys/linux/sys/select.h: Ditto.
2476 * libc/sys/linux/configure.in: Add support for machine directory.
2477 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
2478 * libc/sys/linux/Makefile.in: Regenerated.
2479 * libc/sys/linux/configure: Ditto.
2480 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
2481 * libc/sys/linux/inode.c: Ditto.
2482 * libc/sys/linux/linux.c: Ditto.
2483 * libc/sys/linux/process.c: Ditto.
2484 * libc/sys/linux/systat.c: Ditto.
2485 * libc/sys/linux/time.c: Ditto.
2486 * libc/sys/linux/wait.c: Ditto.
2487 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
2488 * libc/sys/linux/io.c: Change header plus add readv/writev.
2489 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
2490 use __sigsuspend syscall.
2491 * libc/sys/linux/select.c: Change header plus change select to
2492 use _newselect syscall.
2493 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
2494 used by glibc header files.
2495 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
2496 types.
2497
d4dca0e4
JJ
24982002-04-01 Jeff Johnston <jjohnstn@redhat.com>
2499
2500 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
2501 initializing a struct _reent that has been dynamically allocated.
2502 (_REENT_CHECK_MISC): New macro that checks _misc struct for
2503 _REENT_SMALL and does nothing otherwise.
2504 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
2505 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
2506 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
2507 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
2508 [_REENT_SMALL](struct _misc_reent): New structure containing
2509 miscellaneous reentrant areas needed by newlib.
2510 [_REENT_SMALL](struct _reent): Add _misc pointer.
2511 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
2512 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
2513 and _REENT_STRTOK_LAST macros.
2514 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
2515 and _REENT_MBLEN_STATE macros.
2516 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
2517 and _REENT_MBTOWC_STATE macros.
2518 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
2519 and _REENT_WCTOMB_STATE macros.
2520
54a7c6d2
JJ
25212002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
2522
2523 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
2524
c82479b1
CF
2525Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
2526
2527 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
2528
43ecf6e8
JR
2529Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
2530
2531 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
2532 Store high part of leading bytes too.
2533
a485d93f
RS
25342002-03-22 Richard Sandiford <rsandifo@redhat.com>
2535
2536 * libm/math/ef_hypot.c: Increase scale factor to 68.
2537
62a963ee
AO
25382002-03-13 Alexandre Oliva <aoliva@redhat.com>
2539
2540 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
2541 error.
2542
c53d8453
JJ
25432002-03-12 Jeff Johnston <jjohnstn@redhat.com>
2544
2545 * libc/sys/go32/access.c: Change license to relaxed license
2546 used in identical file throughout newlib/libgloss.
2547
d2a246ad
JJ
25482002-03-12 Richard Earnshaw <rearnsha@arm.com>
2549
2550 * libc/sys/arm/access.c: New file.
2551 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
2552 * libc/sys/arm/Makefile.in: Regenerate.
2553 * libc/sys/arm/syscalls.c (_stat): New function.
2554
eabb48d5
MM
25552002-03-11 Michael Meissner <meissner@redhat.com>
2556
2557 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
2558 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
2559 * libc/machine/mips/Makefile.in: Regenerate.
2560 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
2561 * libc/machine/mips/memset.c: Dito.
2562 * libc/machine/mips/strcmp.c: Dito.
2563 * libc/machine/mips/strlen.c: Dito.
2564 * libc/machine/mips/strncmp.c: Dito.
2565
2a606041
JJ
25662002-03-06 Jeff Johnston <jjohnstn@redhat.com>
2567
eabb48d5
MM
2568 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
2569 object so it works for shared library or statici library.
2570 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 2571
55f26f11
JR
2572Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
2573
96bff22c
JR
2574 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
2575 Add memcpy.S, memset.S and strcpy.S.
2576 * libc/machine/sh/Makefile.in: Regenerate.
2577 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 2578 (SHHI, SHLO): Define.
96bff22c
JR
2579 * libc/machine/sh/memset.S: Add code for SH5.
2580 * libc/machine/sh/memset.S: Likewise.
2581 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 2582
afecf2fa
JJ
25832002-02-27 Jeff Johnston <jjohnstn@redhat.com>
2584
2585 * configure.host: Add check for --disable-newlib-io-float
2586 configuration option and add -DNO_FLOATING_POINT to newlib cflags
2587 if appropriate.
2588 * acinclude.m4: Added --disable-newlib-io-float option.
2589 * aclocal.m4: Regenerated.
2590 * configure: Ditto.
2591 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2592 * libc/*/aclocal.m4 libc/*/configure
2593 * libm/*/aclocal.m4 libm/*/configure: Ditto.
2594 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
2595 if NO_FLOATING_POINT flag is not defined.
2596
c1010a63
JJ
25972002-02-25 Jeff Johnston <jjohnstn@redhat.com>
2598
2599 * libc/include/sys/config.h: Add __extension__ in front of
2600 long long references.
2601
630c657e
CV
26022002-02-23 Corinna Vinschen <corinna@vinschen.de>
2603
2604 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
2605 (_stat): Ditto.
2606
59ee2e20
CV
26072002-02-23 Corinna Vinschen <corinna@vinschen.de>
2608
2609 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
2610 of off_t.
2611
2dd68dc2
NC
26122002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2613
2614 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
2615 clobbered registers.
2616
55500bf1
TF
26172002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2618
2619 * configure.host (newlib_cflags): When host is in m68* add
2620 -DCOMPACT_CTYPE.
2621
ba0173f0
JJ
26222002-02-15 Jeff Johnston <jjohnstn@redhat.com>
2623
2624 * libc/include/sys/config.h: Add definitions for
2625 __int16_t, __uint16_t, __int64_t, and __uint64_t.
2626
7b61d0c5
JJ
26272002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
2628
2629 * libc/sys/mmixware/link.c: New.
2630 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
2631 volatile.
2632 * libc/sys/mmixware/times.c (_times): Renamed from times.
2633 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
2634 properly by reading previous contents, not through BinaryReadWrite.
2635 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
2636 * libc/sys/mmixware/Makefile.in: Regenerate.
2637
a505db65
CV
26382002-02-10 Corinna Vinschen <corinna@vinschen.de>
2639
2640 * libc/include/grp.h: Don't declare group functions when compiling
2641 Cygwin.
2642
f3b39c45
CV
26432002-02-09 Corinna Vinschen <corinna@vinschen.de>
2644
2645 * libc/include/grp.h: Include Cygwin specific header.
2646 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
2647 when compiling for Cygwin.
2648 * libc/include/sys/types.h: Don't define off_t, uid_t
2649 and gid_t when compiling for Cygwin.
2650
82b3ac56
MG
26512002-02-08 matthew green <mrg@redhat.com>
2652
2653 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
2654 _REENT_EMERGENCY_SIZE, not sizeof(char *).
2655
9f25eed9
AO
26562002-02-08 Alexandre Oliva <aoliva@redhat.com>
2657
2658 Contribute sh64-elf.
2659 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
2660 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
2661 support in printf.
2662 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
2663 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
2664 any labels.
2665 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
2666 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
2667 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
2668 * libc/machine/sh/configure.in: Rework conditionals.
2669 * libc/machine/sh/Makefile.am: Likewise.
2670 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
2671 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2672 * configure.host: Match `sh*'.
2673 * libc/include/machine/setjmp.h: Define for SH5.
2674 * libc/machine/sh/configure.in: Detect SH5.
2675 * libc/machine/sh/configure: Rebuilt.
2676 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
2677 * libc/machine/sh/Makefile.in: Rebuilt.
2678 * libc/machine/sh/asm.h: Adjust for SH5.
2679 * libc/machine/sh/setjmp.S: Implement in SHmedia.
2680 * libc/sys/sh/crt0.S: Likewise.
2681 * libc/sys/sh/trap.S: Likewise.
2682
a2a405ae
JJ
26832002-02-07 Jeff Johnston <jjohnstn@redhat.com>
2684
2685 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
2686 (mach_add_obj): Conditionally set to setjmp.o or nothing.
2687 (LIB_SOURCES): Remove $(mach_add_src).
2688 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
2689 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
2690 * libc/machine/i386/Makefile.in: Regenerate.
2691
27478365
JJ
26922002-02-05 Manik Raina <manik@cisco.com>
2693
994fa212 2694 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
2695 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
2696 s, p, k, and outstr.
2697 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
2698
815a37f7
JJ
26992002-02-04 Jeff Johnston <jjohnstn@redhat.com>
2700
2701 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
2702 _REENT_CHECK_EMERGENCY macro.
2703
a4139c12
MG
27042002-02-03 matthew green <mrg@redhat.com>
2705
2706 * libc/reent/signgam.c (__signgam): Fix error in previous.
2707
8195aff7
MG
27082002-02-02 matthew green <mrg@redhat.com>
2709
2710 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
2711
2712 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
2713 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
2714 * libc/include/sys/reent.h (struct _reent): Completely new version
2715 for _REENT_SMALL.
2716 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
2717 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
2718 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
2719 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
2720 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
2721 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
2722 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
2723 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
2724 (_REENT_EMERGENCY): Likewise.
2725
2726 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
2727 the start of the real __sFILE, used for stdin, stdout and stderr until
2728 they are setup properly.
2729 (struct __sFILE): Move location of _data in _REENT_SMALL case.
2730 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
2731 allocated stdin, stdout and stderr.
2732 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
2733 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
2734 * libc/stdio/perror.c (_perror_r): Likewise.
2735 * libc/stdio/printf.c (printf, _printf_r): Likewise.
2736 * libc/stdio/putchar.c (_putchar_r): Likewise.
2737 * libc/stdio/puts.c (_puts_r): Likewise.
2738 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
2739 * libc/stdio/vprintf.c (vprintf): Likewise.
2740 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
2741
2742 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
2743
2744 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
2745 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
2746 for _REENT_SMALL.
2747 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
2748 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
2749
2750 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
2751 _REENT_SMALL.
2752 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
2753 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
2754 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
2755 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
2756 * libc/stdlib/rand48.c (__dorand48): Likewise.
2757 * libc/stdlib/seed48.c (_seed48_r): Likewise.
2758 * libc/stdlib/srand48.c (_srand48_r): Likewise.
2759 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
2760 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
2761 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
2762 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
2763 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
2764 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
2765 * libc/stdlib/rand.c (rand): Likewise.
2766
2767 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
2768 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
2769
2770 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
2771 _REENT_MP_FREELIST() and _REENT_MP_P5S.
2772 * libc/include/sys/reent.h (struct _mprec): New structure.
2773
2774 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
2775 _unused_strtok_last.
2776 * libc/string/strtok.c (strtok): Use a local static variable.
2777
2778 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
2779 (_REENT_EMERGENCY_SIZE): Likewise.
2780 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
2781 _REENT_ASCTIME_BUF().
2782 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
2783 _REENT_TM().
2784
2785 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
2786 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
2787 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
2788 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
2789 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
2790 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
2791
9c2e7642
GK
27922002-02-01 Geoffrey Keating <geoffk@redhat.com>
2793
2794 * configure.host (xstormy16): Don't use the generic malloc.
2795 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
2796 * libc/machine/xstormy16/Makefile.in: Regenerate.
2797 * libc/machine/xstormy16/mallocr.c: New file.
2798 * libc/machine/xstormy16/tiny-malloc.c: New file.
2799
4bb6112f
TF
28002002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
2801
2802 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
2803 when _CYGWIN_TYPES_H is not defined.
2804
8d345552
TF
28052002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2806
2807 * libc/include/sys/signal.h: Revert 2002-01-23 change.
2808
bcc49082
TF
28092002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2810
2811 * libc/include/sys/signal.h: Remove pthread_kill declaration
2812 when __CYGWIN__ is defined.
2813
13baedeb
CF
28142002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2815
2816 * libc/include/time.h: Add prototype for strptime for Cygwin.
2817
b2db0ebc
NC
28182002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2819
ebf139fb
NC
2820 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
2821 dst was not word aligned.
2822
b2db0ebc
NC
2823 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
2824 if too much memory is requested.
2825
798c015d
JJ
28262002-01-11 Jeff Johnston <jjohnstn@redhat.com>
2827
2828 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
2829 reads blanks from the input file to break if EOF reached
2830 rather than end processing.
2831
46ad2ef4
JJ
28322002-01-07 Jeff Johnston <jjohnstn@redhat.com>
2833
2834 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
2835
86b06396
JJ
28362002-01-07 Alan Matsuoka <alanm@redhat.com>
2837
2838 * libc/include/machine/ieeefp.h: Configure d10v doubles to
2839 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
2840 libc/include/sys/config.h: Ditto.
2841
423d5064
CV
28422001-12-28 Corinna Vinschen <corinna@vinschen.de>
2843
2844 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
2845
f6eff1c0
GK
28462001-12-22 Geoffrey Keating <geoffk@redhat.com>
2847 Catherine Moore <clm@redhat.com>
2848 Richard Henderson <rth@redhat.com>
2849 Corinna Vinschen <vinschen@redhat.com>
2850
2851 * configure.host: Add support for xstormy16.
2852 * libc/include/machine/ieeefp.h: Add support for xstormy16.
2853 * libc/include/machine/setjmp.h: Add support for xstormy16.
2854 * libc/include/sys/config.h: Add support for xstormy16.
2855 * libc/machine/xstormy16/Makefile.am: New file.
2856 * libc/machine/xstormy16/Makefile.in: New file.
2857 * libc/machine/xstormy16/aclocal.m4: New file.
2858 * libc/machine/xstormy16/configure: New file.
2859 * libc/machine/xstormy16/configure.in: New file.
2860 * libc/machine/xstormy16/setjmp.S: New file.
2861
1f93c55f
TF
28622001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2863
2864 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
2865 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
2866
13b918be
CV
28672001-12-19 Corinna Vinschen <corinna@vinschen.de>
2868
2869 * libm/machine/Makefile.am: Change rules to create correct lib.a.
2870 * libm/machine/Makefile.in: Regenerated through automake.
2871
08e857b4
TF
28722001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2873
2874 * Makefile.am (DOCDIR): Force to empty string when doc
2875 directory is not present.
2876
60565ed6
TF
28772001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2878
2879 * libc/machine/i386/f_*: Move to libm/machine/i386.
2880
28812001-12-18 Joel Sherrill <joel@OARcorp.com>
2882
2883 * libm/machine/Makefile.am: Add dummy doc stub so
2884 "make info" works.
2885
28862001-12-17 Joel Sherrill <joel@OARcorp.com>
2887
2888 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
2889
fc504135
TF
28902001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2891
2892 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
2893 $(COMPILE) rather than $(CC).
2894 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
2895 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
2896 $(LIB_COMPILE) change.
2897 (vfiprintf.$(oext)): Likewise.
2898
efeae9a3
CV
28992001-12-17 Corinna Vinschen <vinschen@redhat.de>
2900
2901 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
2902 conditionalized including of getopt stuff.
2903
cdf7120d
TF
29042001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2905
2906 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
2907 compile line.
f85be99c 2908 (vfiprintf.$(oext)): Likewise.
cdf7120d 2909
2e1a7175
TF
29102001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2911
2912 * Makefile.shared: New file.
2913 * libc/sys/linux/shared.ld: New file.
2914 * libm/machine/*: New files.
2915 * libm/machine/i386/*: New files.
2916 * Makefile.am: Add libtool support. Change math and mathfp
2917 references to variables.
2918 * configure.host: Add variables for libtool support. Add
2919 libm_machine_dir variable.
2920 * configure.in: Add objectlist variables, for libtool
2921 support. Add CC_FOR_BUILD tests.
2922 * libc/Makefile.am: Add libtool support. Change crt0.o
2923 reference to be a variable reference.
2924 * libc/configure.in: Add libtool support. Change sublib
2925 names to be lib${subdir}.la when using libtool.
2926 * libc/ctype/Makefile.am: Add libtool support.
2927 * libc/errno/Makefile.am: Likewise.
2928 * libc/locale/Makefile.am: Likewise.
2929 * libc/machine/Makefile.am: Likewise.
2930 * libc/machine/configure.in: Likewise.
2931 * libc/machine/i386/Makefile.am: Likewise.
2932 * libc/machine/i386/configure.in: Likewise.
2933 * libc/misc/Makefile.am: Likewise.
2934 * libc/posix/Makefile.am: Likewise.
2935 * libc/reent/Makefile.am: Likewise.
2936 * libc/signal/Makefile.am: Likewise.
2937 * libc/stdio/Makefile.am: Likewise.
2938 * libc/stdlib/Makefile.am: Likewise.
2939 * libc/string/Makefile.am: Likewise.
2940 * libc/sys/Makefile.am: Likewise.
2941 * libc/sys/configure.in: Likewise.
2942 * libc/sys/linux/Makefile.am: Add libtool support. Change
2943 awk reference to a variable reference. Change signal.h
2944 reference to a variable reference.
2945 * libc/sys/linux/configure.in: Add libtool support.
2946 * libc/syscalls/Makefile.am: Likewise.
2947 * libc/time/Makefile.am: Likewise.
2948 * libc/unix/Makefile.am: Likewise.
2949 * libm/Makefile.am: Add libtool support. Change math and
2950 mathfp references to variables.
2951 * libm/configure.in: Add libtool support. Add
2952 LIBM_MACHINE_LIB variable.
2953 * libm/common/Makefile.am: Add libtool support.
2954 * libm/math/Makefile.am: Likewise.
2955 * libm/mathfp/Makefile.am: Likewise.
2956 Regenerate all Makefile.in, aclocal.m4, and configure.
2957
b92591a1
JJ
29582001-12-13 Anita Kulkarni <anitak@kpit.com>
2959
2960 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2961
355b664e
CF
29622001-12-06 John Peacock <jpeacock@rowman.com>
2963
2964 * libc/include/sys/unistd.h: Correct ualarm declaration.
2965
e9853806
NC
29662001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2967
2968 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2969 vector before calling the initialisation functions.
2970
a8e091b0
CF
29712001-11-29 Christopher Faylor <cgf@redhat.com>
2972
2973 * libc/include/dirent.h: Protect against multiple inclusion.
2974
ab634123
CF
29752001-11-27 Christopher Faylor <cgf@redhat.com>
2976
2977 * libc/include/sys/types.h: Define useconds_t.
2978 * libc/include/sys/ulimit.h: Declare ualarm.
2979
d37e401e
CF
29802001-11-21 Christopher Faylor <cgf@redhat.com>
2981
2982 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2983
8ac90051
HPN
29842001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
2985
2986 * libc/sys/mmixware/*: Tweak license header in all source files.
2987
d7ca37e4
CV
29882001-11-12 Corinna Vinschen <vinschen@redhat.com>
2989
2990 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2991 to here. Rearrange for general inclusion by stdlib.h.
2992 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2993 isn't defined.
2994 * libc/sys/linux/include/alloca.h: Move to libc/include.
2995
28f8744e
AG
29962001-11-12 Anthony Green <green@redhat.com>
2997
2998 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2999
4cede8c4
HPN
30002001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
3001
3002 * libc/sys/mmixware/*: Correct spacing in all source files.
3003 * libc/sys/mmixware/syscall.h: Move misplaced file...
3004 * libc/sys/mmixware/sys/syscall.h: ...here.
3005
8be9b48b
JJ
30062001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
3007
3008 * libc/include/machine/ieeefp.h: Add support for mmix target.
3009 * libc/include/machine/setjmp.h: Ditto.
3010 * configure.host: Ditto.
3011 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
3012 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
3013 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
3014 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
3015 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
3016 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
3017 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
3018 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
3019 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
3020 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
3021 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
3022 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
3023 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
3024 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
3025 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
3026 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
3027 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
3028 libc/sys/mmixware/aclocal.m4: Generate.
3029
c7dd4f95
CV
30302001-11-05 Corinna Vinschen <corinna@vinschen.de>
3031
3032 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
3033 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
3034 when __CYGWIN__ is defined.
3035 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
3036 logwtmp().
3037
a6a6f9fe
JJ
30382001-11-01 Arati Dikey <aratidikey@hotmail.com>
3039
3040 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
3041 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
3042 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
3043 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
3044
d0504c35
JJ
30452001-10-24 Christopher Faylor <cgf@redhat.com>
3046
3047 * libc/stdio/fseek.c: Reset pointer to buffer base
3048 when forced to seek outside of current buffer contents.
3049 This prevents the code from erroneously thinking there is
3050 anything in the current buffer.
3051
0280c8c0
GK
30522001-10-22 Geoffrey Keating <geoffk@redhat.com>
3053
3054 * libc/include/math.h: The C++ standard adds the single-precision
3055 versions of the elementary functions.
3056
333d6098
CF
30572001-10-22 Christopher Faylor <cgf@redhat.com>
3058
3059 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
3060 throughout.
3061 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
3062 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
3063 * system.c (_system_r): Ditto.
3064
c7118319
CV
30652001-10-17 Corinna Vinschen <corinna@vinschen.de>
3066
3067 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 3068 __CYGWIN__ or __rtems__ is defined.
c7118319 3069
5665b0e1
JJ
30702001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
3071
3072 * libc/include/stdlib.h: add declarations for
3073 _strtoull_r, _strtoll_r, strtoull, and strtoll.
3074 * libc/stdio/local.h: remove declarations of
3075 __strtoull_r and __strtoll_r.
3076 * libc/stdio/vfscanf.c(__svfscanf_r): call
3077 _strtoull_r instead of __strtoull_r. Ditto
3078 _strtoll_r vs. __strtoll_r.
3079 * libc/stdlib/Makefile.am: add new files to
3080 .c list and .def list
3081 * libc/stdlib/Makefile.in: regenerate
3082 * libc/stdlib/strtoll_r.c: rename __strtoll_r
3083 as _strtoll_r
3084 * libc/stdlib/strtoull_r.c: rename __strtoull_r
3085 as _strtoull_r
3086 * libc/stdlib/strtoull.c: new file
3087 * libc/stdlib/strtoll.c: new file
3088
d2d5eb41
CF
3089Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
3090
3091 * libc/include/process.h: Add getpid() declaration.
3092
448e3c14
NC
30932001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
3094
3095 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
3096 for new style arm/elf ctor/dtor handling.
3097 Minor formatting tidy up.
3098
7a2afbbb
JJ
30992001-09-13 Jeff Johnston <jjohnstn@redhat.com>
3100
3101 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
3102 and strtoull_r.c.
3103 * libc/stdlib/Makefile.in: Regenerated.
3104 * libc/stdlib/strtoll_r.c: New file.
3105 * libc/stdlib/strtoull_r.c: New file.
3106 * libc/stdio/local.h: Add prototypes for long long string
3107 conversion routines.
3108 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
3109 tied to %L integer conversion specifier.
3110
6342caa4
JJ
3111Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
3112
3113 * strftime.c (strftime): Fix "%W" implementation to properly handle
3114 Mondays too.
3115
b2d319cb
JJ
31162001-09-07 Jeff Law <law@redhat.com>
3117
3118 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
3119 __fini with "mov.l" instead of "mov.w".
3120
233823ba
CV
31212001-09-05 Corinna Vinschen <corinna@vinschen.de>
3122
3123 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
3124 and getopt.h.
3125
63c17b54
JJ
31262001-09-04 Jason Merrill <jason_merrill@redhat.com>
3127
3128 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
3129
a3e67ddf
CV
31302001-09-03 Corinna Vinschen <corinna@vinschen.de>
3131
3132 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
3133 field.
3134 (__DIRENT_VERSION): New define.
3135
6d47f33a
CV
31362001-09-03 Corinna Vinschen <corinna@vinschen.de>
3137
3138 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
3139 Shrink __d_reserved accordingly to keep structure size.
3140 (dirfd): Declare external.
6d47f33a 3141
348c5e06
JJ
31422001-08-29 Joel Sherrill <joel@OARcorp.com>
3143
3144 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
3145
31462001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3147
3148 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
3149 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
3150 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
3151 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
3152 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
3153 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
3154 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
3155 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
3156 Add conditional compilation to avoid HW FPU instructions
3157 when compiled for soft-float.
3158
f29865c5
JJ
31592001-08-29 Jeff Johnston <jjohnstn@redhat.com>
3160
3161 * Makefile.am: Add check for ln failing when creating libg.a
3162 so that cp gets used as a backup.
3163 * Makefile.in: Regenerated.
3164
9e2a4ef8
JJ
31652001-08-29 Jeff Johnston <jjohnstn@redhat.com>
3166
3167 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
3168 No longer include time.h. Add struct __tm to use for
3169 _localtime_buf in the reentrant structure. Add a
3170 _NULL definition to use in initializing the reentrant struct.
3171 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
3172 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
3173 <sys/_types.h>.
3174 * libc/include/sys/unistd.h: Include <sys/_types.h>.
3175 * libc/time/lcltime.c (localtime): Cast the reentrant struct
3176 _localtime_buf to be struct tm *.
3177
1ae900d6
JR
3178Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
3179
3180 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
3181 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
3182 __ctors_end.
3183 * libc/sys/h8300hms/syscalls.c: Include errno.h.
3184 (_unlink): New stub function.
3185
8e26d5b5
CF
3186Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
3187
3188 * libc/include/sys/errno.h: Add a cautionary comment.
3189
e8267664
JJ
31902001-08-21 Jeff Johnston <jjohnstn@redhat.com>
3191
3192 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
3193 for SIZE_SZ so that alignment ends up a minimum of 8.
3194
4acf3edf
CF
3195Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
3196
3197 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
3198 arguments.
3199
3200 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
3201 Cygwin.
3202
52c80be8
JJ
32032001-08-13 Jeff Johnston <jjohnstn@redhat.com>
3204
3205 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
3206 macro constants for mallopt options.
3207 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
3208
a7061f7f
JJ
32092001-08-02 Jeff Johnston <jjohnstn@redhat.com>
3210
3211 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
3212 otherwise default.
3213
0b4bfdd5
AH
32142001-07-12 Aldy Hernandez <aldyh@redhat.com>
3215
3216 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
3217
2b6b730c
NC
32182001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
3219
3220 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
3221 Define for little endian ARMs.
3222
3223 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
3224 __IEEE_BYTES_LITTLE_ENDIAN is defined.
3225
25842b68
JJ
32262001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3227
3228 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
3229
371b76ef
JJ
32302001-06-11 Egor Duda <deo@logos-m.ru>
3231
3232 * libc/ctype/ctype_.c: When compiled with gcc on platforms
3233 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
3234 initialized memory region. Platform can define COMPACT_CTYPE
3235 to avoid allocation of the additional 128 bytes of data.
3236 Add pointer to _ctype_ array. Always initialize all _ctype_
3237 array elements.
3238
43b44bc5
JL
32392001-06-08 Jonathan Larmour <jlarmour@redhat.com>
3240
3241 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
3242 NULL pointer.
3243
188bc140
NC
32442001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
3245
3246 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
3247
2ce88418
NC
32482001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
3249
3250 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
3251 matching, non-word alignment, and the length is <= 4 but more than
3252 enough to move them over a word boundary.
3253 Add comments explaining what each instruction does.
3254
ca60ed47
CF
3255Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
3256
3257 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 3258 * libc/include/sys/unistd.h: Ditto.
ca60ed47 3259
8b3bcfba
JJ
32602001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
3261
3262 * libc/string/strrchr.c: Use strchr for the speed improvements.
3263
b09e3cf8
JJ
32642001-05-01 Jeff Johnston <jjohnstn@redhat.com>
3265
3266 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
3267 real file systems, let __smakebuf() determine if line buffering
3268 should be used for stdout.
3269
0ca66974
JJ
32702001-04-27 Jeff Johnston <jjohnstn@redhat.com>
3271
3272 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
3273
7cb7017a
JJ
32742001-04-27 Jeff Johnston <jjohnstn@redhat.com>
3275
3276 * libc/include/stdlib.h: Add prototype for _strtod_r.
3277
a874cd21
JJ
32782001-04-24 Charles Wilson <cwilson@ece.gatech.edu
3279
3280 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
3281 * libc/stdio/vprintf.c (_vprintf_r): new function
3282 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
3283 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
3284 _DEFUN, and call _vfprintf_r, not vfprintf.
3285 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
3286 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
3287 _DEFUN, and call _vfprintf_r, not vfprintf.
3288
cb4cc283
CF
32892001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
3290
3291 * libc/include/sys/unistd.h [X_OK]: Use better protection against
3292 Cygwin X_OK definitions in sys/file.h.
3293
8c9df1d5
CF
3294Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
3295
3296 * libc/include/sys/time.h: Define timercmp and other macros for
3297 __CYGWIN__, too.
3298
3ac6f3a7
JJ
32992001-04-20 Jeff Johnston <jjohnstn@redhat.com>
3300
3301 * acinclude.m4: Added --enable-malloc-debugging configure flag.
3302 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
3303 --enable-malloc-debugging selected.
3304 * aclocal.m4 configure: Regenerated.
3305 libm/aclocal.m4 libm/configure: Ditto.
3306 * libc/aclocal.m4 libc/configure: Ditto.
3307 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
3308 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
3309 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
3310 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
3311 * doc/aclocal.m4 doc/configure: Ditto.
3312
52cb9e69
JJ
33132001-04-20 Jeff Johnston <jjohnstn@redhat.com>
3314
3315 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
3316 into one list.
3317 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
3318 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
3319 function prototypes.
3320 (_fscanf_r, _sscanf_r): Ditto.
3321 * libc/include/stdlib.h: Added _strtod_r prototype.
3322 * libc/stdio/Makefile.am: Add new v*scanf functions.
3323 * libc/stdio/Makefile.in: Regenerate.
3324 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
3325 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
3326 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
3327 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
3328 (sscanf): Changed to call __svfscanf_r with _REENT argument.
3329 (_sscanf_r): New routine.
3330 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
3331 with __svfscanf_r prototype.
3332 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
3333 routines.
3334 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
3335 structure as argument as calls reentrant versions of helper functions
3336 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
3337 to _strtol_r and _strtod_r respectively.
3338 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
3339 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
3340 _REENT argument.
3341 * libc/stdio/vscanf.c: New file.
3342 * libc/stdio/vsscanf.c: Ditto.
3343
ee9f39fb
JJ
33442001-04-19 Robert Collins <rbtcollins@hotmail.com>
3345
3346 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
3347 Define daylight to _daylight if it is not defined
3348 Prepare a variable export of timezone based on timezonevariable.
3349 (Cannot be used with the timezone() function.)
3350
273861e3
JJ
33512001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
3352
3353 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
3354 Correct the numerical values.
3355
a25b8414
CF
33562001-04-13 Robert Collins <rbtcollins@hotmail.com>
3357
3358 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
3359
b8a8c59d
CV
3360Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
3361
3362 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
3363 on case insensitve file systems.
3364
74f8cc63
CF
33652001-04-12 Robert Collins <rbtcollins@hotmail.com>
3366
3367 * libc/include/sys/features.h: Add appropriate defines for Cygwin
3368 pthread support.
3369 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
3370 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
3371 types. Include <cygwin/types.h> for the cygwin specific typedefs.
3372
16740220
RS
33732001-04-04 Richard Sandiford <rsandifo@redhat.com>
3374
3375 * libc/include/machine/ieeefp.h: Comment about new configuration
3376 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
3377 * libm/common/fdlib.h: Define new macros for testing floats.
3378 * libm/common/sf_*: Use them.
3379 * libm/math/ef_*: Likewise.
3380 * libm/math/sf_*: Likewise.
3381
0694d8d3
JJ
33822001-03-29 Jeff Johnston <jjohnstn@redhat.com>
3383
3384 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
3385 prolog to by-pass possible assembler error.
3386
4833b38c
JJ
33872001-03-21 Egor Duda <deo@logos-m.ru>
3388
3389 Allow building internal stubs for non-reentrant syscalls
3390 if target provides its own malloc
3391 * libc/reent/reent.c (errno): Move definition here.
3392 * libc/reent/sbrkr.c: From here.
3393
d17d6d42
CF
33942001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
3395
3396 * libc/include/sys/types.h (BSD int typedefs): Guard with
3397 _BSDTYPES_DEFINED rather than _WINSOCK_H.
3398 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
3399 _SYS_TYPES_FD_SET.
3400 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
3401 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
3402
c7ee75cd
CV
3403Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
3404
3405 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
3406 _PC_POSIX_SECURITY constants for Cygwin.
3407
63dc5d80
CV
3408Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
3409
3410 * libc/sys/cygwin/crt0.c: Add copyright hint.
3411 * libc/sys/cygwin/sys/dirent.h: Ditto.
3412 * libc/sys/cygwin/sys/param.h: Ditto.
3413 * libc/sys/cygwin/sys/utime.h: Ditto.
3414 * libc/sys/cygwin/sys/utmp.h: Ditto.
3415
6f637037
AO
34162001-03-13 Alexandre Oliva <aoliva@redhat.com>
3417
3418 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
3419 equivalent to LONGINT.
3420
e69b6f73
JJ
34212001-03-08 Richard Sandiford <rsandifo@redhat.com>
3422
3423 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
3424 jmpbuf on MIPS64 targets.
3425 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
3426
6198dece
CF
3427Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
3428
e69b6f73
JJ
3429 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
3430 declarations.
6198dece 3431
cfc05d96
JJ
3432Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
3433
3434 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
3435 For RTEMS, define to be ssize_t. Default to int if not defined.
3436 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
3437 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
3438 * libc/stdio/local.h (__sread, __swrite): Likewise.
3439 * libc/include/sys/reent.h (_read, _write): Likewise.
3440 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
3441 * libc/syscalls/sysread.c (read): Likewise.
3442 * libc/syscalls/syswrite.c (write): Likewise.
3443
6249353a
JJ
34442001-03-05 Jeff Johnston <jjohnstn@redhat.com>
3445
3446 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
3447
658b5db9
CF
3448Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
3449
3450 * libc/include/sys/stat.h: Use special defines for executable stat bits
3451 when compiling for Cygwin.
3452 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
3453 for Cygwin.
3454
19ca46d5
JJ
34552001-03-02 Jeff Johnston <jjohnstn@redhat.com>
3456
3457 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
3458 of strtok_r is always defined.
3459
b73ed85e
JJ
34602001-03-02 Jeff Johnston <jjohnstn@redhat.com>
3461
3462 * libc/include/machine/ansi.h: New dummy header file.
3463
ee37ede1
JJ
34642001-02-22 Jeff Johnston <jjohnstn@redhat.com>
3465
3466 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
3467 changed the copyright information to allow free modification of the
3468 file with no reference to "copying.dj".
3469 * libc/include/sys/stat-dj.h: Ditto.
3470 * libc/machine/i386/setjmp.S: Ditto.
3471 * libc/sys/h8300hms/sys/file.h: Ditto.
3472 * libc/sys/sysmec/access.c: Ditto.
3473 * libc/sys/sysnecv850/access.c: Ditto.
3474 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
3475 * libc/stdlib/getenv_r.c: Ditto.
3476 * libc/stdlib/putenv_r.c: Ditto.
3477 * libc/stdlib/setenv_r.c: Ditto.
3478 * libc/stdlib/getenv.c: Removed DJ reference since any possible
3479 modifications will now be in the _r version of this file.
3480 * libc/stdlib/putenv.c: Ditto.
3481 * libc/stdlib/setenv.c: Ditto.
3482 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
3483 valid. Added a reference to DJ's web page that contains his address.
3484 * libc/sys/go32/*.s: Removed references to DJ's old address.
3485 * libc/sys/go32/*.c: Ditto.
3486 * libc/sys/go32/*.h: Ditto.
3487 * libc/sys/go32/*.S: Ditto.
3488 * libc/sys/go32/sys/*.h: Ditto.
3489
3a8fc0e4
JJ
34902001-02-21 Jeff Johnston <jjohnstn@redhat.com>
3491
3492 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
3493 HAVE_FCNTL flag check.
3494 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
3495 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
3496
b24ee749
CF
3497Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
3498
3499 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
3500
ab4745dc
JJ
35012001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3502
3503 * libc/include/stdlib.h: Add declarations of rand48 functions and
3504 their reentrant versions.
3505 * libc/include/sys/reent.h: Move macros from rand48.h. Add
3506 struct _rand48 for shared parameters of rand48 functions.
3507 (struct _reent): Add a variable _r48 of struct _rand48.
3508 (_REENT_INIT): Add _r48 initialization.
3509 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
3510 (CHEWOUT_FILES): Add rand48.def.
3511 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
3512 * libc/stdlib/Makefile.in: Regenerated.
3513 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
3514 NetBSD C library.
3515 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
3516 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
3517 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
3518 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
3519 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
3520 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
3521 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
3522 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
3523 * libc/stdlib/rand48.c (__dorand48): Ditto.
3524 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
3525 parameters into macros referring them in the reentrant structure.
3526
a34c461f
JJ
35272001-02-12 Jeff Johnston <jjohnstn@redhat.com>
3528
3529 * libc/include/sys/stat.h: Add mknod for Cygwin now that
3530 Cygwin definition has correct prototype.
3531
34f31ff2
JJ
35322001-02-08 Jeff Johnston <jjohnstn@redhat.com>
3533
3534 * libc/include/sys/stat.h: Must revert change for mknod
3535 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
3536 prototype.
3537
5336d6de
JJ
35382001-02-08 Jeff Johnston <jjohnstn@redhat.com>
3539
3540 * libc/include/stdio.h: Revert putw prototype.
3541
8915d10a
JJ
35422001-02-08 Edward M. Lee <tailbert@yahoo.com>
3543
3544 * libc/include/grp.h: add prototype for initgroups.
3545 * libc/include/stdio.h: fix prototype for putw.
3546 * libc/include/sys/signal.h: add prototype for killpg.
3547 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
3548 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
3549 vhangup and remove duplicate sysconf prototype.
3550
93ac4487
JJ
35512001-02-07 Jeff Johnston <jjohnstn@redhat.com>
3552
3553 * libc/sys/rtems/sys/types.h: Removed.
3554
31f5feea
JJ
35552001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
3556
3557 * libc/include/locale.h: add LC_MESSAGES definition
3558
b5139f59
AO
35592001-02-01 Alexandre Oliva <aoliva@redhat.com>
3560
3561 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
3562 SYS_get_argN):
3563 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
3564 __setup_argv_and_call_main): New.
3565
e29d8355
JJ
35662001-01-31 Jeff Johnston <jjohnstn@redhat.com>
3567
3568 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
3569 if defined.
3570 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
3571 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
3572 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
3573 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
3574
82ea92f3
CF
3575Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
3576
3577 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
3578 compiling under Cygwin.
3579
3aaa66f8
JJ
35802001-01-29 Jeff Johnston <jjohnstn@redhat.com>
3581
3582 * libc/include/math.h (signgam): Change to errno-like solution
3583 using a function to return the address of the real signgam.
3584 * libc/reent/signgam.c: New file containing __signgam().
3585 * libc/reent/Makefile.am: Added signgam.c to list of files.
3586 * libc/reent/Makefile.in: Regenerated.
3587
610b895a
AO
35882001-01-25 Alexandre Oliva <aoliva@redhat.com>
3589
b0913397
AO
3590 * libc/sys/sh/syscalls.c (_times): New.
3591
610b895a
AO
3592 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
3593 * libc/sys/sh/syscalls.c (_gettimeofday): New.
3594
3643210e
JJ
35952001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3596
3597 * libc/include/math.h (signgam): Regress previous fix as
3598 it does not handle programs with extern int signgam in them.
3599
841081c9
JJ
36002001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3601
3602 * libc/include/math.h (signgam): Changed to a macro refering to
3603 its location in the reentrant structure.
3604
e9cd87b8
JJ
36052001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3606
3607 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
3608 that suppressed . for %.0f, 0.1. Check now looks if there
3609 are padding zeroes (expt) in addition to any digits (ndig) to
3610 print.
3611
a302b48c
JJ
36122001-01-18 Jeff Johnston <jjohnstn@redhat.com>
3613
3614 * libc/sys/arc/Makefile.am: New file.
3615 * libc/sys/arc/Makefile.in: Ditto.
3616 * libc/sys/arc/aclocal.m4: Ditto.
3617 * libc/sys/arc/configure: Ditto.
3618 * libc/sys/arc/configure.in: Ditto.
3619 * libc/sys/arc/crt0.S: Ditto.
3620 * libc/sys/arc/isatty.c: Ditto.
3621 * libc/sys/arc/mem-layout.c: Ditto.
3622 * libc/sys/arc/sbrk.c: Ditto.
3623 * libc/sys/arc/syscalls.c: Ditto.
3624 * libc/sys/arc/sys/syscall.h: Ditto.
3625
d0319c3b
CF
3626Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
3627
3628 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
3629
e45ab890
CF
3630Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
3631
3632 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
3633
1376245a
DD
3634Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
3635
3636 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
3637
92b57543
NC
36382001-01-09 Nick Clifton <nickc@redhat.com>
3639
3640 * configure.host (v859): Remove unsupported compiler options.
3641
7d6d33d4
JJ
3642Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
3643
3644 * src/newlib/configure.host (*-*-rtems*): add printf long long
3645 support for RTEMS.
3646
602f8b5a 36472000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
3648
3649 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
3650
9c2b8183
JJ
3651Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
3652
3653 * configure.host: Turn on long double I/O for Cygwin.
3654
804368d3
JJ
3655Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
3656
3657 * MAINTAINERS: Removed Ranjith.
3658 * NEWS: Updated for 1.9.0.
3659 * README: Updated.
3660 * acinclude.m4: Updated to release 1.9.0.
3661 * aclocal.m4 configure
3662 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
3663 libc/machine/aclocal.m4 libc/machine/configure
3664 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
3665 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
3666 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
3667 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
3668 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
3669 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
3670 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
3671 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
3672 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
3673 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
3674 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
3675 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
3676 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
3677 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
3678 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
3679 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
3680 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
3681 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
3682 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
3683 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
3684 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3685 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3686 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3687 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
3688 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3689 libc/sys/aclocal.m4 libc/sys/configure
3690 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3691 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3692 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3693 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3694 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3695 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3696 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3697 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3698 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
3699 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3700 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3701 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3702 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3703 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3704 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3705 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3706 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3707 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3708 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3709 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3710 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3711 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3712 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3713 libm/aclocal.m4 libm/configure: Regenerated.
3714
0985d43f
CV
3715Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3716
3717 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
3718 when __CYGWIN__ is defined.
3719
b6182a09
JJ
37202000-12-13 Jeff Johnston <jjohnstn@redhat.com>
3721
3722 * libc/stdlib/ldtoa.c (_ldcheck): New routine
3723 that categorizes a long double as NaN, Infinity, or other.
3724 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
3725 isinfl and isnanl static routines which were i386-specific. Changed
3726 calls to the two removed routines to a single _ldcheck call.
3727 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
3728
adbbb034
JJ
37292000-12-13 Jeff Johnston <jjohnstn@redhat.com>
3730
3731 * Makefile.am: Fixed install-data-local target to use
3732 $(mkinstalldirs) for the installed header files to ensure
3733 the directories exist before copying.
3734 * Makefile.in: Regenerated.
3735
cbd19336
JJ
37362000-12-12 Jeff Johnston <jjohnstn@redhat.com>
3737
3738 * libc/include/sys/unistd.h: Restored Cygwin _SC
3739 constants and moved new constants appropriately
3740 so Cygwin will build.
3741
8fb37963
JJ
37422000-12-11 Joel Sherrill <joel@OARcorp.com>
3743
3744 * Merge RTEMS specific .h files into main libc/include.
3745 * libc/sys/rtems/include/signal.h: Removed.
3746 * libc/sys/rtems/include/time.h: Removed.
3747 * libc/sys/rtems/sys/features.h: Removed.
3748 * libc/sys/rtems/sys/sched.h: Removed.
3749 * libc/sys/rtems/sys/siginfo.h: Removed.
3750 * libc/sys/rtems/sys/signal.h: Removed.
3751 * libc/sys/rtems/sys/time.h: Removed.
3752 * libc/sys/rtems/sys/times.h: Removed.
3753 definitions for time_t and clock_t since these are
3754 no longer in time.h.
3755 * libc/include/pthread.h: New file.
3756 * libc/include/sys/sched.h: New file.
3757 * libc/include/sys/features.h: New file.
3758 * libc/include/time.h: Removed duplicate definition of clock_t
3759 and time_t, get them from <sys/types.h> instead. Add prototypes
3760 for POSIX clock and timer functionality.
3761 * libc/sys/linux/sys/types.h: Changed to include
3762 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
3763 * libc/include/sys/signal.h: Add more complete set of POSIX
3764 signal functionality including real-time and threaded signals.
3765 * libc/include/sys/types.h: Add clock_t, time_t, struct
3766 timespec, and struct itimerspec. Centralizing these makes
3767 things cleaner. RTEMS uses 64-bit dev_t.
3768 Added numerous primitive definitions
3769 for pthreads including macros, pthread_attr_t,
3770 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
3771 pthread_once_t, and pthread_t.
3772 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
3773 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
3774 Feature flags removed and moved to new file <sys/features.h>.
3775 Full set of POSIX sysconf() constants
3776
2efbc2a7
JJ
37772000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
3778
3779 * configure.host: Added x86 linux target.
3780 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
3781 definitions provided if not already defined.
3782 * libc/sys/linux/crt0.c: New file.
3783 * libc/sys/linux/Makefile.am: Ditto.
3784 * libc/sys/linux/Makefile.in: Ditto.
3785 * libc/sys/linux/aclocal.m4: Ditto.
3786 * libc/sys/linux/brk.c: Ditto.
3787 * libc/sys/linux/configure: Ditto.
3788 * libc/sys/linux/configure.in: Ditto.
3789 * libc/sys/linux/getoptlong.c: Ditto.
3790 * libc/sys/linux/ids.c: Ditto.
3791 * libc/sys/linux/inode.c: Ditto.
3792 * libc/sys/linux/io.c: Ditto.
3793 * libc/sys/linux/linux.c: Ditto.
3794 * libc/sys/linux/process.c: Ditto.
3795 * libc/sys/linux/realpath.c: Ditto.
3796 * libc/sys/linux/select.c: Ditto.
3797 * libc/sys/linux/signal.c: Ditto.
3798 * libc/sys/linux/systat.c: Ditto.
3799 * libc/sys/linux/termios.c: Ditto.
3800 * libc/sys/linux/time.c: Ditto.
3801 * libc/sys/linux/wait.c: Ditto.
3802 * libc/sys/linux/include/alloca.h: Ditto.
3803 * libc/sys/linux/include/getopt.h: Ditto.
3804 * libc/sys/linux/include/stdint.h: Ditto.
3805 * libc/sys/linux/include/unistd.h: Ditto.
3806 * libc/sys/linux/sys/cdefs.h: Ditto.
3807 * libc/sys/linux/sys/dirent.h: Ditto.
3808 * libc/sys/linux/sys/errno.h: Ditto.
3809 * libc/sys/linux/sys/fcntl.h: Ditto.
3810 * libc/sys/linux/sys/file.h: Ditto.
3811 * libc/sys/linux/sys/ioctl.h: Ditto.
3812 * libc/sys/linux/sys/resource.h: Ditto.
3813 * libc/sys/linux/sys/signal.h: Ditto.
3814 * libc/sys/linux/sys/stat.h: Ditto.
3815 * libc/sys/linux/sys/syscall.h: Ditto.
3816 * libc/sys/linux/sys/termios.h: Ditto.
3817 * libc/sys/linux/sys/time.h: Ditto.
3818 * libc/sys/linux/sys/types.h: Ditto.
3819 * libc/sys/linux/sys/utmp.h: Ditto.
3820 * libc/sys/linux/sys/utsname.h: Ditto.
3821 * libc/sys/linux/sys/wait.h: Ditto.
3822
a08c98bb
JJ
38232000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3824
3825 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
3826 can be a relative path to $(top_srcdir)/install.sh so ensure the
3827 autoconf detected settings are properly passed recursively.
3828 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
3829 properly to subdirectories.
3830 * Makefile.in: Regenerated.
3831
b294082c
JJ
38322000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
3833
3834 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
3835 a floating point register unless really printing a floating
3836 point number.
3837
2005ab6b
JJ
38382000-12-07 Jeff Johnston <jjohnstn@redhat.com>
3839
3840 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
3841 Also removed \r's.
3842 (asctoeg): Replaced alloca call with stack array and malloc
3843 when storage exceeds reasonable limit.
3844 (e53toe): Fixed einfin calls missing ldp parameter.
3845 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
3846
9f6e8f1b
JJ
38472000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3848
2005ab6b 3849
9f6e8f1b
JJ
3850 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
3851
6bdac416
JJ
38522000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3853
3854 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
3855 * libc/stdlib/Makefile.in: Regenerated.
3856 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
3857 * libc/stdio/vfieeefp.h: Added long double bit structures.
3858 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
3859 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
3860 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
3861 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
3862 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
3863 _strtold routines used for conversions between character
3864 and long double.
3865
ec270d31
CV
3866Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3867
3868 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
3869
db2d9549
JJ
38702000-12-04 Joel Sherrill <joel@OARcorp.com>
3871
3872 * libc/include/machine/time.h: RTEMS systems can configure clock
3873 tick rate so use sysconf() to ask.
3874
6ba54a15
JJ
38752000-12-04 Joel Sherrill <joel@OARcorp.com>
3876
3877 * libc/include/sys/times.h: Add reference to POSIX standard.
3878
8677b819
JJ
38792000-12-04 Joel Sherrill <joel@OARcorp.com>
3880
3881 * libc/include/sys/time.h: Added BSD timer manipulation macros
3882 used by RTEMS code.
3883
1b61a706
JJ
38842000-12-04 Joel Sherrill <joel@OARcorp.com>
3885
3886 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
3887 referenced by code generated by gcc 2.8.1.
3888 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
3889 satisfy gcc.
3890
f5e7c124
JJ
38912000-12-04 Joel Sherrill <joel@OARcorp.com>
3892
3893 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
3894
768abc9c
JJ
38952000-12-04 Joel Sherrill <joel@OARcorp.com>
3896
3897 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
3898
9e5dd5ea
JJ
38992000-12-04 Joel Sherrill <joel@OARcorp.com>
3900
3901 * configure.host (or16, or32): New entries for OpenCores
3902 OpenRisc CPUs.
3903 (*-*-rtems*): Add -DNO_EXEC.
3904
768abc9c 39052000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
3906
3907 * libc/include/sys/errno.h: Added comments on many error numbers.
3908 * libc/string/strerror.c: Added some more strings.
3909
b273323f
JJ
39102000-11-30 Jeff Johnston <jjohnstn@redhat.com>
3911
3912 * libc/sys/sh/syscalls.c (_link): New stub.
3913
0ffc3b94
NC
39142000-11-29 Nick Clifton <nickc@redhat.com>
3915
3916 * configure.host: Add xscale target.
3917 * libc/machine/xscale: New directory.
3918 * libc/machine/xscale/Makefile.am: New file.
3919 * libc/machine/xscale/Makefile.in: New file.
3920 * libc/machine/xscale/aclocal.m4: New file.
3921 * libc/machine/xscale/configure: New file.
3922 * libc/machine/xscale/configure.in: New file.
3923 * libc/machine/xscale/memchr.S: New file.
3924 * libc/machine/xscale/memcmp.S: New file.
3925 * libc/machine/xscale/memcpy.S: New file.
3926 * libc/machine/xscale/memmove.S: New file.
3927 * libc/machine/xscale/memset.S: New file.
3928 * libc/machine/xscale/strchr.S: New file.
3929 * libc/machine/xscale/strcmp.S: New file.
3930 * libc/machine/xscale/strcpy.S: New file.
3931 * libc/machine/xscale/strlen.S: New file.
3932
cbbf0f96
CV
3933Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3934
3935 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
3936 avoid compiler warnings.
3937
73dea790
MM
39382000-11-22 Michael Meissner <meissner@redhat.com>
3939
3940 * libc/posix/execl.c (execl): Don't reference environ directly,
3941 reference it only via a static pointer to avoid problems with some
3942 shared library systems and with different uses of small data where
3943 the user specifies his own version of environ.
3944 * libc/posix/execv.c (execv): Ditto.
3945 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
3946 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
3947 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
3948
3949 * libc/stdlib/getenv.c (environ): Delete unused reference to
3950 environ.
3951
3952 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
3953 colorization.
3954 * libc/stdlib/system.c: Ditto.
3955
08eac2ae
CF
3956Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
3957
3958 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3959 including windows headers.
3960
5478bf37
JJ
39612000-11-20 Jeff Johnston <jjohnstn@redhat.com>
3962
3963 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3964 * libc/include/dirent.h: Added definition of MAXNAMLEN if
3965 not defined by sys/dirent.h.
3966 * libc/posix/execvp.c: Added include of dirent.h to get
3967 MAXNAMLEN value which used to be in unistd.h.
3968
3a760728
CV
3969Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3970
3971 * libc/include/sys/types.h: Change type of i to `size_t' in
3972 FD_ZERO macro to avoid compiler warnings.
3973
86fff69f
CF
3974Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
3975
3976 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3977 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
3978
ba9e88d2
CV
3979Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3980
3981 * libc/include/sys/unistd.h: Add defines for sysconf values
3982 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3983 _SC_AVPHYS_PAGES.
3984
a8018ef3
CF
3985Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
3986
3987 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3988 declarations for __CYGWIN__.
3989
b944c6f6
GK
39902000-09-19 Geoffrey Keating <geoffk@cygnus.com>
3991
3992 * libc/signal/signal.c (__sigtramp_r): ISO C requires
3993 case labels to be integral constant expressions, so
3994 use an if/else tree instead.
3995 (_raise_r): Likewise.
3996
7f18fcb4
JJ
39972000-09-13 Jeff Johnston <jjohnstn@redhat.com>
3998
3999 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
4000 clipping patch from e-mail reader.
4001
242361df
JJ
40022000-09-13 Will Cohen <wcohen@redhat.com>
4003
4004 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
4005 Added return value 0.
4006 (_longjmp): Allow longjmp to return value of second argument
4007 passed to it.
4008
8a8c59b9
JJ
40092000-09-06 Jeff Johnston <jjohnstn@redhat.com>
4010
4011 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
4012 inline code to prevent having to include another header file.
4013
a385ae75
CF
4014Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
4015
4016 * Makefile.am: Fix space vs. tab problem in install-data-local.
4017 * Makefile.in: Regenerate.
4018
4019Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
4020
4021 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
4022 (_EXPARM): New macro for defining a function parameter.
4023 * libc/include/stdlib.h: Use _EXPARM.
4024 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
4025
a36cd013
JJ
40262000-09-05 Manfred Hollstein <manfredh@redhat.com>
4027
4028 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
4029 required, as documented in the gnu coding standards.
4030 * Makefile.in: Regenerate.
4031
f825dfda
JJ
40322000-09-05 Jeff Johnston <jjohnstn@redhat.com>
4033
4034 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
4035 make O_NDELAY and O_NONBLOCK have the same value.
4036
4ba9aab7
JJ
40372000-08-30 Kazu Hirata <kazu@hxi.com>
4038
4039 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4040
db7acc38
JJ
40412000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
4042
4043 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
4044 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
4045 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
4046 everywhere else.
4047
44e36af4
GK
40482000-08-30 Geoffrey Keating <geoffk@cygnus.com>
4049
4050 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
4051 * libc/include/string.h: Don't include <sys/types.h>,
4052 as it causes really bad namespace pollution. Don't declare
4053 swab(), it is properly declared in unistd.h.
4054
00a2f168
JJ
40552000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
4056
4057 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
4058 (broken) support for non-existent /etc/passwd field "comment".
4059
6beeb240
JJ
40602000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
4061
4062 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
4063 only if _DIRENT_HAVE_D_NAMLEN is defined.
4064 (alphasort): aligned prototype with
4065 libc/sys/cygwin/sys/dirent.h and simplified function body.
4066 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
4067 long telldir (DIR *) as mentioned in annex B of POSIX.1
4068
ef44da42
JJ
40692000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
4070
4071 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
4072 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
4073 Added __CLI and __STI macros (controlled via
4074 _I386MACH_ALLOW_HW_INTERRUPTS macro).
4075 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
4076 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
4077 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
4078 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
4079 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
4080 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
4081 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
4082 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
4083 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
4084 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
4085 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
4086 for all global entry points.
4087 * libc/machine/i386/setjmp.S: removed code replicated in
4088 libc/machine/i386/i386mach.h and included i386mach.h instead;
4089 Use __CLI and __STI instead of cli and sti.
4090
14d3488d
DD
40912000-08-25 DJ Delorie <dj@redhat.com>
4092
4093 * libc/include/sys/unistd.h (environ): this one isn't from the
4094 DLL, no __IMPORT
4095
c9ca4412
CF
4096Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
4097
4098 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
4099 environ when compiling under cygwin since it is already declared in
4100 unistd.h.
4101
2d5862de
JJ
41022000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4103
4104 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
4105 like x << y-z to the equivalent x << (y-z).
4106 (d2b): changed if statements with assignment to perform the
4107 assignment prior to the if check.
4108 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
4109 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
4110 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
4111 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
4112 precedence.
4113 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
4114 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
4115 execve.c).
4116 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
4117 precedence.
4118 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
4119 clarify && and || precendence (and to remove pascalism).
4120 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
4121 * libm/math/s_infconst.c: added another pair of braces to all
4122 initializers for __infinity (need three: for __infinity[1] array,
4123 for union __dmath, and for i[2]).
4124
0888fedd
JJ
41252000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4126
199359f0
JJ
4127 * libc/stdlib/abort.c: changed description: uses "raise" instead of
4128 "getpid" and "kill"; added: uses "write" and "_exit".
4129 Also included unistd.h for "_exit" prototype.
4130 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
4131 reent.h for "_fork_r" and "_wait_r" prototypes.
4132 (do_system): changed extern char *environ[] to POSIX-friendly
4133 extern char **environ.
4134 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
4135 prototypes.
4136 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
4137 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
4138 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
4139 * libc/reent/openr.c: included fcntl.h for "open" prototype.
4140 * libc/reent/signalr.c: included signal.h for "kill" prototype,
4141 unistd.h for "getpid" prototype.
4142 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
4143 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
4144 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
4145 prototype. Also included stdlib.h for "abort", string.h for
4146 "strdup" and "strncmp" prototypes.
4147 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
4148 "strncpy", unistd.h for "read" and "close" prototypes.
4149 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
4150 "strcat" prototypes.
4151
41522000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
4153
0888fedd
JJ
4154 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
4155 used later (ifdef __SCLE)
4156 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
4157 used later (ifdef MB_CAPABLE)
4158 * libc/string/memset.c (memset): removed unused variables "count"
4159 and "unaligned_addr"
4160 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
4161 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
4162 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
4163 and "gid"
4164
a334e5ef
JJ
41652000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4166
4167 * libc/stdlib/envlock.c: changed documented "__env_lock" and
4168 "__env_unlock" prototype from "void *" or "char *" to
4169 "struct _reent *" to match real function. Also added include
4170 of envlock.h.
4171 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
4172 "__malloc_unlock" prototype from "void *" or "char *" to
4173 "struct _reent *" to match real function.
4174 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
4175 prototypes (for getenv_r.c and setenv_r.c).
4176
644b7f26
DD
41772000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
4178
4179 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
4180 and prototype in cygwin's utmp.h
4181
5bacbf10
JJ
41822000-08-16 Eric Fifer <efifer@sanwaint.com>
4183
4184 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
4185
38a6bf98
NC
41862000-08-09 Nick Clifton <nickc@cygnus.com>
4187
4188 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
4189 epilogue and to allow the functions to be used in a Thumb based
4190 toolchain.
4191
befe0fb3
JJ
41922000-08-08 Jeff Johnston <jjohnstn@redhat.com>
4193
4194 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
4195 so size of 0 results in nothing being written to string.
4196 Also fixed code so that when size is non-zero, there is only
4197 a maximum of size - 1 characters written to the array and
4198 a nul terminator is appended at the end.
4199 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4200
749d9bcd
DD
42012000-08-01 DJ Delorie <dj@redhat.com>
4202
4203 * libc/include/sys/config.h: define __IMPORT appropriately
4204 * libc/include/ctype.h (_ctype_): use __IMPORT
4205 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
4206 * libc/include/math.h (__mb_cur_max): ditto
4207 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
4208 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
4209 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
4210 * libc/include/unistd.h (environ): ditto
4211
7c110b17
MM
42122000-07-28 Michael Meissner <meissner@redhat.com>
4213
4214 * libc/include/math.h (__infinity): Declare as an array without
4215 bounds to get around small data support. Rewrite Cygwin support
4216 to be more general.
4217 * libm/math/s_infconst.c (__infinity): Ditto.
4218 * libm/mathfp/s_infconst.c (__infinity): Ditto.
4219
bf7be721
CF
4220Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
4221
4222 * libc/include/math.h: Use appropriate dll import linkage for
4223 __infinity under Cygwin.
4224
91a8d90b
DD
42252000-07-13 DJ Delorie <dj@cygnus.com>
4226
4227 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
4228
ba2048d3
JJ
4229Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
4230
4231 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
4232 to argument list for AngelSWI_Reason_GetCmdLine.
4233
4634da64
JJ
4234Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
4235
4236 * configure.host: Add support for AVR target.
4237 * libc/include/machine/ieeefp.h: Likewise.
4238 * libc/include/sys/config.h: Likewise.
4239
b19f72a2
RK
4240Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
4241
4242 * README: Newlib 1.8.2 must be built in a separate directory
4243 than the sources.
4244
a704d94a
JJ
4245Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4246
4247 * libc/include/sys/reent.h (_rand_next): Added __extension__
4248 qualifier as long long type is not strict ANSI.
4249 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
4250 to long long constant.
4251
b585720b
CV
4252Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
4253
4254 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
4255 `setegid' provided by Cygwin.
4256
01c327ba
CV
4257Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
4258
4259 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
4260 account for Cygwin.
4261
46a43a99
JJ
4262Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4263
4264 * libc/include/sys/reent.h (_rand_next): Changed to
4265 unsigned long long and moved to end of _reent struct in _new union.
4266 (_REENT_INIT): Changed to move _rand_next initialization.
4267 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
4268 linear congruential algorithm that is used by DJGPP.
4269
a68078cb
RK
4270Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
4271
4272 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
4273 * libc/include/sys/config.h: Define __RAND_MAX.
4274
518882f3
JJ
4275Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4276
4277 * libc/stdlib/rand_r.c: New algorithm that meets minimal
4278 standard.
4279
d51d968a
CF
4280Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
4281
4282 * libc/include/string.h: Work around problem with strsignal and gdb.
4283
d2dd5765
CF
4284Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
4285
4286 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
4287 * libc/include/malloc.h: Ditto.
4288 * libc/include/process.h: Ditto.
4289 * libc/include/stdio.h: Ditto.
4290 * libc/include/stdlib.h: Ditto.
4291 * libc/include/time.h: Ditto.
4292 * libc/include/machine/setjmp.h: Ditto.
4293 * libc/include/sys/errno.h: Ditto.
4294 * libc/include/sys/signal.h: Ditto.
4295 * libc/include/sys/stat.h: Ditto.
4296 * libc/include/sys/time.h: Ditto.
4297 * libc/include/sys/unistd.h: Ditto.
4298 * libc/include/string.h: Ditto. strsignal should return a const char *.
4299
88870218
JJ
43002000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
4301
4302 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
4303 * libm/common/s_log1p.c (log1p): Likewise.
4304 * libm/common/s_scalbn.c (scalbn): Likewise.
4305 * libm/math/e_log.c: Likewise.
4306 * libm/math/e_asin.c: Likewise.
4307 * libm/math/ef_asin.c: Likewise.
4308 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
4309 * libm/math/e_j1.c (pone, qone): Likewise.
4310 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
4311 * libm/math/ef_j1.c (ponef, qonef): Likewise.
4312 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
4313 * libm/mathfp/e_j1.c (pone, qone): Likewise.
4314 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
4315 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
4316
c4e1aa01
DD
43172000-05-19 DJ Delorie <dj@cygnus.com>
4318
4319 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
4320 (__sread): always read in binary mode
4321 (__swrite): always write in binary mode
4322 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
4323 compatibility issues with different dll versions
4324 * libc/stdio/fopen.c: use __stextmode
4325 * libc/stdio/fdopen.c: ditto
4326 * libc/stdio/freopen.c: ditto
4327 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
4328 * libc/stdio/local.h: declare __stextmode
4329
f4393261
DD
43302000-05-18 DJ Delorie <dj@cygnus.com>
4331
4332 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
4333
2b533fac
JJ
4334Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4335
4336 * libc/include/ctype.h: Changed tolower and toupper macros
4337 to use __extension__ to prevent pedantic warnings.
4338
75362a76
RK
4339Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
4340
4341 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
4342 structures.
4343
ec463fc7
JW
4344Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
4345
4346 * libc/include/machine/ieeefp.h: Add ia64 support.
4347 * configure.host: Likewise.
4348
f35ceefa
JJ
4349Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
4350
4351 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
4352 month is now padded with space, not zero. This now conforms to
4353 ANSI standard.
4354
b96fca8c
CV
4355Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
4356
4357 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
4358 host or network path") used by cygwin. Add some comments.
4359
49d64538
JJ
4360Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
4361
4362 * libc/include/stdio.h (FILE): define __SCLE for "convert line
4363 endings" for Cygwin.
4364 (__sgetc): convert line endings if needed
4365 (__sputc): ditto
4366 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
4367 * libc/stdio/fopen.c (_fopen_r): ditto
4368 * libc/stdio/freopen.c (freopen): ditto
4369 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
4370 * libc/stdio/fvwrite.c (__sfvwrite): ditto
4371
91fb1e7f
AO
4372Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
4373
4374 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
4375 post-increment when it is worth it, spacewise.
4376
c87be3e4
JJ
4377Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
4378
4379 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
4380 * libc/stdio/findfp.c (std): Added declaration of flags and file.
4381 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
4382 return type.
4383 * libc/stdio/putchar.c (putchar): Added return statement.
4384 * libc/stdio/refill.c (lflush): Added correct parentheses.
4385 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4386 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
4387 prints long value to use l qualifier.
4388 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
4389 messages and initialized local values: ilim, ilim1, and spec_case.
4390 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
4391 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
4392 * libc/stdlib/mprec.c: Ditto.
4393 * libc/stdlib/setenv_r.c: Ditto.
4394 * libc/stdlib/strtod.c: Ditto.
4395 * libc/stdlib/strtol.c: Ditto.
4396 * libc/stdlib/strtoul.c: Ditto.
4397 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
4398 * libm/common/sf_log1p.c: Ditto.
4399 * libm/common/sf_scalbn.c: Ditto.
4400 * libm/math/ef_log.c: Ditto.
4401
11f5b065
CV
4402Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
4403
4404 * libc/posix/execvp.c (execvp): Check path for
4405 trailing slash.
4406
796e3b20
CV
4407Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
4408
4409 * libc/include/sys/unistd.h: Add prototypes for
4410 fchmod, fchown, lchown.
4411
b489803a
JJ
4412Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4413
4414 * acinclude.m4: Changed release to 1.8.2.
4415 * aclocal.m4 configure doc/aclocal.m4 doc/configure
4416 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
4417 libc/machine/configure libc/machine/a29k/aclocal.m4
4418 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4419 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4420 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4421 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4422 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
4423 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4424 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4425 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4426 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4427 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4428 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
4429 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4430 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4431 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4432 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4433 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4434 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4435 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4436 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4437 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4438 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4439 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4440 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
4441 libc/machine/z8k/configure libc/sys/aclocal.m4
4442 libc/sys/aclocal.m4 libc/sys/configure
4443 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4444 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
4445 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
4446 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4447 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4448 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4449 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4450 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4451 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4452 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4453 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4454 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4455 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4456 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4457 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4458 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4459 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4460 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4461 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4462 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4463 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4464 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4465 libm/aclocal.m4 libm/configure: Regenerated.
4466
79908d67
NC
44672000-03-24 Nick Clifton <nickc@cygnus.com>
4468
4469 * libc/sys/arm/syscalls.c: Fix compile time warnings.
4470 (do_AngelSWI): Add "cc" to list o registers clobbered.
4471
7684ddaf
FN
4472Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
4473
4474 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
4475 information to be clobbered by an Angel C library support syscall.
4476
b8ec20c8
JJ
4477Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4478
4479 * libc/stdlib/envlock.c: Fixed comment typo.
4480
fae4c299
JJ
4481Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4482
4483 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
4484 code to update nread as each character is processed instead
4485 of using buffer contents which throw away leading zeroes.
4486
dc98804b
RK
4487Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
4488
4489 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
4490
5ed2f523
JJ
4491Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
4492
4493 * libc/include/string.h: Include <sys/types.h>.
4494
1cf0ee34
AO
4495Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4496
4497 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
4498 with XSH5, not SVID.
4499
e9c94978
JJ
4500Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
4501
4502 * libc/include/string.h: Changed last argument back to ssize_t
4503 to make it compatible with XPG4 definition which is
4504 defined in <unistd.h>. There is a conflict in the SVID 3
4505 and XPG4 definitions and newlib will settle with XPG4.
4506 * libc/string/swab.c: Ditto.
4507
3072163c
JJ
4508Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
4509
4510 * libc/include/string.h: Changed last argument to size_t.
4511 * libc/string/swab.c: Changed last argument to size_t.
4512
f205ea7a
AO
4513Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4514
4515 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
4516 (CHEWOUT_FILES): Added unlinkr.def.
4517 * libc/reent/Makefile.in: Rebuilt.
4518 * libc/sys.tex: Include unlinkr.def.
4519 * libc/reent/linkr.c (_unlink_r): Moved to...
4520 * libc/reent/unlinkr.c: ... new file.
4521
85dd2e5b
AO
4522Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4523
4524 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
4525 (CHEWOUT_FILES): Added swab.def.
4526 * libc/string/Makefile.in: Rebuilt.
4527 * libc/string/string.tex: Include swab.def.
4528 * libc/include/string.h (swab): Declare.
4529 * libc/string/swab.c: New file.
4530
c5053058
AO
4531Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4532
4533 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
4534 (CHEWOUT_FILES): Added getw.def and putw.def.
4535 * libc/stdio/Makefile.in: Rebuilt.
4536 * libc/stdio/stdio.tex: Include getw.def and putw.def.
4537 * libc/stdio/getw.c: New file.
4538 * libc/stdio/putw.c: New file.
4539
dbaf37cf
JJ
4540Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
4541
4542 * libc/stdio/flags.c (__sflags): Added check that mode[1]
4543 is non-null before looking at mode[2].
4544
bc019ef2
RK
4545Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
4546
4547 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
4548 * libm/mathfp/sf_atan.c: Ditto.
4549
4550Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
4551
4552 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
4553
cd641b2d
RK
4554Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
4555
4556 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
4557 _DOUBLE_IS_32BITS.
4558
b0ba0ac2
JJ
4559Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
4560
4561 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
4562 call prior to calling _VFPRINTF_R so reentrant data area is set.
4563 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
4564
8a0efa53
CF
4565Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4566
4567 * libc/stdio/vfscanf.c (limits.h): #include.
4568 (MAX_LONG_LEN): #define.
4569 (__svfscanf): Handle floating point numbers with arbitrary amounts
4570 of leading zeroes.
4571
45722000-02-15 Nick Clifton <nickc@cygnus.com>
4573
4574 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
4575 zero. Set the blocksize to 1024/
4576
4577Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
4578
4579 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
4580 with line buffering.
4581
4582Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4583
4584 * acinclude.m4: Changed include directory for winsup headers.
4585 * aclocal.m4 configure libc/aclocal.m4
4586 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
4587 libc/locale/Makefile.in libc/machine/aclocal.m4
4588 libc/machine/configure libc/machine/a29k/aclocal.m4
4589 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4590 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4591 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4592 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4593 libc/machine/fr30/configure
4594 libc/machine/h8300/aclocal.m4
4595 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4596 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4597 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4598 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4599 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4600 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
4601 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4602 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4603 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4604 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4605 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4606 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4607 libc/machine/powerpc/configure
4608 libc/machine/sh/aclocal.m4
4609 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4610 libc/machine/sparc/configure
4611 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
4612 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
4613 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
4614 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
4615 libc/misc/Makefile.in libc/posix/Makefile.in
4616 libc/reent/Makefile.in
4617 libc/signal/Makefile.in
4618 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
4619 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4620 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
4621 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4622 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
4623 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4624 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4625 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4626 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4627 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4628 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4629 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4630 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4631 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
4632 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
4633 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
4634 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
4635 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
4636 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
4637 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
4638 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
4639 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
4640 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
4641 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
4642 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
4643 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
4644 libm/configure: Regenerated.
4645
4646Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
4647
4648 * libc/stdlib/putenv_r.c (_putenv_r): New file.
4649 * libc/stdlib/strdup_r.c (_strdup_r): New file.
4650 * libc/include/string.h: Added _strdup_r.
4651 * libc/stdlib/putenv.c: Added call to reentrant version.
4652 * libc/stdlib/strdup.c: Ditto.
4653 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
4654 * libc/include/stdlib.h: Ditto.
4655 * libc/stdlib/Makefile.in: Regenerated.
4656 * libc/string/Makefile.in: Regenerated.
4657 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
4658 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
4659 management calls to reentrant versions.
4660 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
4661 * libc/stdlib/wctomb.c: Ditto.
4662 * libc/stdlib/mblen.c: Ditto.
4663 * libc/stdlib/mbstowcs.c: Ditto.
4664 * libc/stdlib/mbtowc.c: Ditto.
4665 * libc/stdlib/getenv.c: Ditto.
4666 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
4667 and _strdup_r.
4668
4669Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
4670
4671 patch from Corinna Vinschen <corinna@vinschen.de>
4672 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
4673
bc019ef2 4674Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
4675
4676 * libm/mathfp/s_atangent.c: Fix exponent calculation.
4677 * libm/mathfp/s_ldexp.c: Ditto.
4678 * libm/mathfp/sf_atangent.c: Ditto.
4679 * libm/mathfp/sf_ldexp.c: Ditto.
4680
4681Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4682
4683 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
4684 * libc/include/locale.h: define NULL to be 0.
4685
4686Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
4687
4688 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
4689 function.
4690
4691Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
4692
4693 * libc/machine/mn10300/setjmp.S: Handle am33.
4694
46951999-11-26 Nick Clifton <nickc@cygnus.com>
4696
4697 * libc/sys/arm/syscalls.c: Add function prototypes.
4698 (stack_ptr): Move declaration before function definitions.
4699
4700Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4701
4702 * NEWS: Updated version information.
4703 * README: Ditto.
4704
4705Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
4706
4707 * libc/machine/i386/strchr.S: Fixed alignment test.
4708
4709Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
4710
4711 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
4712
4713Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
4714
4715 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
4716 ensuring that there is space between the two.
4717
4718Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
4719
4720 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
4721 only.
4722
47231999-10-08 Vadim Egorov <egorovv@1c.ru>
4724
4725 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
4726 section
4727
4728Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4729
4730 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
4731 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
4732
4733Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
4734 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
4735 per POSIX 1003.1b.
4736 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
4737 per POSIX 1003.1b.
4738
47391999-09-13 DJ Delorie <dj@cygnus.com>
4740
4741 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
4742 also.
4743
4744Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
4745
4746 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
4747 also note BUFSIZ as its size.
4748
4749Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
4750
4751 * configure.host: Corrected feature defines for RTEMS.
4752 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
4753 * libc/include/sys/stat.h: mkfifo() should take const path arg.
4754 * libc/include/sys/unistd.h: pathconf() should take const path arg.
4755 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
4756 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
4757 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
4758 _PC_PRIO_IO, and _PC_SYNC_IO.
4759 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
4760 * libc/machine/m68k/Makefile.in: Regenerated.
4761 * libc/machine/m68k/strcpy.c: New file.
4762 * libc/machine/m68k/strlen.c: New file.
4763 * libc/stdio/tmpnam.c: Always make the returned name usable.
4764 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
4765 * libc/sys/rtems/sys/dirent.h: New file.
4766 * libc/sys/rtems/sys/types.h: Added dev_t.
4767
4768Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
4769
4770 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
4771
4772Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
4773
4774 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
4775 my patch.
4776
4777Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
4778
4779 patch from Jeff Johnston <jjohnstn@cygnus.com>
4780 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
4781 buffer is not in a useful state.
4782
47831999-09-01 Nick Clifton <nickc@cygnus.com>
4784
4785 * libc/sys/arm/syscalls.c (_link): Add stub.
4786
4787Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4788
4789 * ftell.c (ftell): Use actual position within buffer for text mode.
4790 * findfp.c (std): Initialize ptr->_bf._size.
4791
4792Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
4793
4794 * libc/include/sys/unistd.h: Add nice() declaration.
4795
47961999-08-09 Nick Clifton <nickc@cygnus.com>
4797
4798 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
4799 declare as a thumb function so that the disassembler will see the
4800 mode change.
4801
4802Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4803
4804 * libc/reent/reent.tex: Updated list of reentrant functions.
4805
48061999-07-09 Michael Meissner <meissner@cygnus.com>
4807
4808 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
4809
4810Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
4811
4812 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
4813 separate file.
4814 * libc/stdio/snprintf.c: New file.
4815 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
4816 separate file.
4817 * libc/stdio/vsnprintf.c: New file.
4818 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
4819 * libc/stdio/Makefile.in: Regenerated.
4820
4821Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
4822
4823 Patch submitted by Egor Duda <deo@logos-m.ru>:
4824 * libc/include/stdio.h: Add declarations for *nprintf.
4825 * libc/stdio/sprintf.c (snprintf): New function.
4826 (_snprintf_r): New function.
4827 * libc/stdio/vsprintf.c (vsnprintf): New function.
4828 (_vnsprintf_r): New function.
4829
4830Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4831
4832 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
4833 * libm/Makefile.am (stmp-targetdep): Ditto.
4834 * libc/Makefile.in: Regenerated.
4835 * libm/Makefile.in: Ditto.
4836
4837Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4838
4839 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
4840 * libm/Makefile.am (stmp-targetdep): Ditto.
4841 * libc/Makefile.in: Regenerated.
4842 * libm/Makefile.in: Ditto.
4843
4844Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
4845
4846 * Makefile.am: Removed dependencies on all-recursive and added "."
4847 to the SUBDIRS list to prevent infinite recursion from occurring.
4848 Also removed any references to EXTRA_DATA.
4849 * libc/Makefile.am: Ditto.
4850 * libc/machine/Makefile.am: Ditto.
4851 * libc/machine/i386/Makefile.am: Ditto.
4852 * libm/Makefile.am: Ditto.
4853 * libc/sys/Makefile.am: Ditto.
4854 * Makefile.in: Regenerated.
4855 * aclocal.m4: Ditto.
4856 * configure: Ditto.
4857 * doc/Makefile.in: Ditto.
4858 * doc/aclocal.m4: Ditto.
4859 * doc/configure: Ditto.
4860 * libc/Makefile.in: Ditto.
4861 * libc/aclocal.m4: Ditto.
4862 * libc/configure: Ditto.
4863 * libc/machine/Makefile.in: Ditto.
4864 * libc/machine/aclocal.m4: Ditto.
4865 * libc/machine/configure: Ditto.
4866 * libc/machine/mn10300/Makefile.in: Ditto.
4867 * libc/machine/mn10300/aclocal.m4: Ditto.
4868 * libc/machine/mn10300/configure: Ditto.
4869 * libc/sys/Makefile.in: Ditto.
4870 * libc/sys/aclocal.m4: Ditto.
4871 * libc/sys/configure: Ditto.
4872 * libm/Makefile.in: Ditto.
4873 * libm/aclocal.m4: Ditto.
4874 * libm/configure: Ditto.
4875
4876Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4877
4878 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
4879
4880Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4881
4882 * libc/include/stdlib.h: Add reentrant routines.
4883 * libc/stdlib/Makefile.am: Add reentrant routines.
4884 * libc/stdlib/Makefile.in: Ditto.
4885 * libc/stdlib/envlock.c: New file.
4886 * libc/stdlib/envlock.h: New file.
4887 * libc/stdlib/getenv.c: Modify to call reentrant routine.
4888 * libc/stdlib/getenv_r.c: New file.
4889 * libc/stdlib/mblen.c: Modify to call reentrant routine.
4890 * libc/stdlib/mblen_r.c: New file.
4891 * libc/stdlib/setenv.c: Modify to call reentrant routine.
4892 * libc/stdlib/setenv_r.c: New file.
4893 * libc/stdlib/stdlib.tex: Add reentrant routines.
4894
4895Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
4896
4897 * libc/include/sys/types.h: Define __MS_types__ whenever
4898 cygwin or win32.
4899
4900Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
4901
4902 * libc/include/machine/ieeefp.h: Always default to little
4903 endian if Windows, regardless of architecture.
4904 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
4905 regardless of architecture.
4906
4907Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
4908
4909 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
4910 _WIN32 isn't defined.
4911
4912Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
4913
4914 * libm/common/s_rint.c (rint): Add volatile qualifier for
4915 intermediate value w.
4916 * libm/common/sf_rint.c (rintf): Ditto.
4917
4918Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4919
4920 * libc/sys/arm/syscalls.c (remap_handle): Added check to
4921 ensure that std streams are initialized before being referenced.
4922
49231999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
4924
4925 * README: Update reference to newlib@cygnus.com new
4926 newlib@sourceware.cygnus.com address.
4927
4928Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
4929
4930 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
4931 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
4932 defined, even if _WIN32 isn't defined.
4933
4934Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
4935
4936 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
4937
4938Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4939
4940 * libc/include/sys/reent.h: Change Long and ULong to __Long and
4941 __ULong.
4942 * libc/stdlib/dtoa.c: Ditto.
4943 * libc/stdlib/mprec.c: Ditto.
4944 * libc/stdlib/mprec.h: Ditto.
4945 * libc/stdlib/strtod.c: Ditto.
4946
49471999-04-21 Nick Clifton <nickc@cygnus.com>
4948
4949 * configure.host (mcore): Remove mcore machine directory.
4950
49511999-04-18 Nick Clifton <nickc@cygnus.com>
4952
4953 * libc/include/machine/ieeefp.h: Add support for mcore target.
4954 * libc/include/machine/setjmp.h: Add support for mcore target.
4955 * configure.host: Add support for mcore target.
4956
49571999-04-13 Mark Salter <msalter@cygnus.com>
4958
4959 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4960 * libc/sys/arm/syscalls.c: Added isatty.
4961
4962Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4963
4964 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4965 insert zeroes after significant digits.
4966
4967Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4968
4969 * libc/stdio/vfprintf.c (cvt): Changed floating point
4970 cvt routine to use union used by dtoa to properly determine
4971 if the sign bit is on or not.
4972 * libc/stdio/vfieeefp.h: New file
4973
4974Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4975
4976 * aclocal.m4: Regenerated.
4977 * configure: Regenerated.
4978
4979Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4980
4981 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4982 f_tanf reference.
4983 * libc/machine/i386/Makefile.in: Regenerated.
4984
4985Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
4986
4987 * acinclude.m4: Changed to work with new automake.
4988 * configure: Regenerated.
4989 * libc/machine/i386/aclocal.m4: Regenerated.
4990 * libc/machine/i386/configure: Regenerated.
4991
4992Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
4993
4994 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4995 for telldir() and seekdir(). Rename unused structure element
4996 for use with these two routines.
4997
4998Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
4999
5000 * libc/time/mktime.c (validate_structure): Multiple fixes to
5001 code to handle cases where input fields are outside valid ranges.
5002 * libc/stdlib/div.c (div): Modified invalid rounding check.
5003 * libc/stdlib/ldiv.c (ldiv): Ditto.
5004
5005Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
5006
5007 * libc/machine/i386/memcpy.S: Performance rewrite.
5008 * libc/machine/i386/memmove.S: Ditto.
5009 * libc/machine/i386/i386mach.h: Added more register definitions.
5010 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
5011 option used.
5012 * libc/include/machine/fastmath.h: Add definitions for x86
5013 fast-math routines.
5014
5015Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5016
5017 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
5018
5019Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
5020
5021 Adjust newlib headers for new Cygwin Win32 API header files:
5022 * libc/include/sys/time.h: Check _WINSOCK_H rather than
5023 _GNU_H_WINDOWS32_SOCKETS.
5024 * libc/include/sys/types.h: Ditto.
5025
5026Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5027
5028 *include/sys/reent.h: Add checks for size of Bigint element Long.
5029 *libc/dtoa.c: Change routines to use generic Long type.
5030 *libc/mprec.c: Change routines to use generic Long type.
5031 *libc/mprec.h: Change routines to use generic Long type.
5032
5033Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
5034
5035 * libc/Makefile.am: Add .def files.
5036 * libc/Makefile.in: Regenerate.
5037 * libc/e_acosh.c: Documentation update.
5038 * libc/e_atanh.c: Documentation update.
5039 * libc/e_hypot.c: Documentation update.
5040 * libc/e_remainder.c: Documentation update.
5041 * libc/er_lgamma.c: Documentation update.
5042 * libc/mathfp.tex: Documentation update.
5043 * libc/s_acos.c: Documentation update.
5044 * libc/s_atan.c: Documentation update.
5045 * libc/s_atan2.c: Documentation update.
5046 * libc/s_cosh.c: Documentation update.
5047 * libc/s_fmod.c: Documentation update.
5048 * libc/s_isnan.c: Documentation update.
5049 * libc/s_log10.c: Documentation update.
5050 * libc/s_pow.c: Documentation update.
5051 * libc/w_jn.c: Documentation update.
5052
5053Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
5054
5055 * aclocal.m4: Regenerate.
5056 * configure: Regenerate.
5057
5058Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
5059
5060 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
5061 to return 1 if user specified return code is 0.
5062 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
5063
5064Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
5065
5066 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
5067 to save the return address. Fixed longjmp to return to the original
5068 calling address of setjmp and to return the user specified return code
5069 rather than default to 1.
5070 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
5071
5072Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
5073
5074 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
5075
50761999-02-10 Nick Clifton <nickc@cygnus.com>
5077
5078 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
5079 volatile so that its assignments will not be discarded.
5080
5081Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
5082
5083 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
5084 be __STRICT_ANSI__ which is generated by compiler.
5085 * libc/include/ctype.h: Ditto.
5086 * libc/include/math.h: Ditto.
5087 * libc/include/stdio.h: Ditto.
5088 * libc/include/stdlib.h: Ditto.
5089 * libc/include/string.h: Ditto.
5090 * libc/include/sys/signal.h: Ditto.
5091
50921999-02-08 Nick Clifton <nickc@cygnus.com>
5093
5094 * configure.host: Add support for StrongARM target.
5095
5096Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
5097
5098 * libc/string/strncpy.c (strncpy): Removed redundant code
5099 that was copying bytes if data unaligned.
5100
51011999-02-02 Brendan Kehoe <brendan@cygnus.com>
5102
5103 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
5104 mbstowcs.def, and wcstombs.def.
5105
5106Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
5107
5108 * libc/include/sys/errno.h: Add Cygwin errno.
5109 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
5110 is specified.
5111
51121999-01-29 Nick Clifton <nickc@cygnus.com>
5113
5114 * libc/sys/arm/syscalls.c: Move C library functions into seperate
5115 file.
5116
5117 * libc/sys/arm/libcfunc.c: New file containing C library functions
5118 from syscalls.c
5119
5120 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
5121 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
5122
5123
51241999-01-27 Michael Meissner <meissner@cygnus.com>
5125
5126 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
5127 type, and cut size in half so that the jmp_buf array is guaranteed
5128 to be aligned on a 64-bit boundary.
5129
5130Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
5131
5132 * libc/string/strings.tex: Added information about
5133 strcasecmp and strncasecmp.
5134 * libc/stdlib/stdlib.tex: Added missing information
5135 about mblen, mbstowcs, and wcstombs.
5136 * libc/string/strchr.c: Changed how mask is built to use
5137 shift operators so register will be used instead of storage.
5138
51391999-01-22 DJ Delorie <dj@cygnus.com>
5140
5141 * libc/include/stdlib.h: don't use dllimport if we're building
5142 newlib, since it's inside cygwin.dll
5143
5144Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
5145
5146 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
5147 _ctype_ under cygwin.
5148
5149Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
5150
5151 * include/stdlib.h: Fix typo from previous checkin.
5152
5153Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
5154
5155 * include/ctype.h: Use __declspec(dllimport) method for exporting
5156 variable from cygwin DLL.
5157 * include/time.h: Ditto.
5158 * sys/errno.h: Ditto.
5159 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
5160 * libc/locale/locale.c: Use __declspec(dllexport) method for
5161 exporting variable from cygwin DLL.
5162
5163Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
5164
5165 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
5166 access of bogus pointer will result in SIGSEGV.
5167
51681999-01-07 Nick Clifton <nickc@cygnus.com>
5169
5170 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
5171 of an underscore prefix to function names.
5172
5173Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
5174
5175 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
5176 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
5177
51781998-12-31 Michael Meissner <meissner@cygnus.com>
5179
5180 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
5181 to `%' if not already defined.
5182
51831998-12-30 Michael Meissner <meissner@cygnus.com>
5184
5185 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
5186 arguments const char *, not char *.
5187 * libc/include/stdio.h (_tempnam_r): Ditto.
5188
5189 * libc/include/sys/reent.h (struct _reent): The _sig_func type
5190 points to a function taking an integer, not void.
5191
5192Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
5193
5194 * configure.host: Add a define for Cygwin builds.
5195 * libc/include/ctype.h: Don't use dll imported variables in newlib.
5196
5197Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
5198
5199 * libc/include/ctype.h: Define _ctype_ as dll imported variable
5200 for use with Cygwin.
5201 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
5202 dll imported variables for use with Cygwin.
5203 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
5204 as a dll imported variable for Cygwin.
5205
5206Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
5207
5208 * libc/include/sys/unistd.h: Add proto for getpass.
5209
5210Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
5211
5212 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
5213 alphasort.
5214
5215Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
5216
5217 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
5218 not posix_path_list_p.
5219
52201998-12-15 Nick Clifton <nickc@cygnus.com>
5221
5222 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
5223 a signed int.
5224
52251998-12-13 Nick Clifton <nickc@cygnus.com>
5226
5227 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
5228
52291998-12-12 Nick Clifton <nickc@cygnus.com>
5230
5231 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
5232 <msalter@cygnus.com>
5233 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
5234 * libc/machine/fr30/Makefile.in: Regenerated.
5235
52361998-12-11 Nick Clifton <nickc@cygnus.com>
5237
5238 * configure.host: Remove use of libc/sys for FR30 port.
5239 * libc/sys/fr30: Remove directory (replaced by libgloss).
5240
52411998-12-10 Ken Raeburn <raeburn@cygnus.com>
5242
5243 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
5244 * libc/string/strncat.c (ALIGNED): Ditto.
5245
5246Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
5247
5248 * libc/include/sys/time.h: include sys/types.h
5249
5250Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
5251
5252 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
5253 comparison found when checking word at a time.
5254
52551998-12-04 Nick Clifton <nickc@cygnus.com>
5256
5257 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
5258
52591998-12-03 Nick Clifton <nickc@cygnus.com>
5260
5261 * libc/sys/fr30/syscalls.c (_times): New function stub.
5262
5263Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
5264
5265 * configure.host (mach_add_setjmp): Replaced mach_add_objs
5266 with mach_add_setjmp flag which indicates if setjmp should
5267 be added to the machine directory objects.
5268 * acinclude.m4: Removed reference to mach_add_objs.
5269 * aclocal.m4: Regenerated.
5270 * Makefile.in: Regenerated.
5271 * configure: Regenerated.
5272 * libc/aclocal.m4: Regenerated.
5273 * libc/Makefile.in: Regenerated.
5274 * libc/configure: Regenerated.
5275 * libc/machine/aclocal.m4: Regenerated.
5276 * libc/machine/Makefile.in: Regenerated.
5277 * libc/machine/configure: Regenerated.
5278 * libc/machine/i386/aclocal.m4: Regenerated.
5279 * libc/machine/i386/Makefile.am: Altered to selectively add
5280 setjmp.S to the src files list.
5281 * libc/machine/i386/Makefile.in: Regenerated.
5282 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
5283 * libc/machine/i386/configure: Regenerated.
5284
52851998-12-02 Nick Clifton <nickc@cygnus.com>
5286
5287 * libc/sys/fr30/crt0.s (_start): Fix function names.
5288
5289 * libc/machine/fr30: New directory
5290 * libc/machine/fr30/Makefile.am: New file.
5291 * libc/machine/fr30/Makefile.in: New generated file.
5292 * libc/machine/fr30/configure.in: New file.
5293 * libc/machine/fr30/configure: New generated file.
5294 * libc/machine/fr30/aclocal.m4: New generated file.
5295 * libc/sys/fr30/Makefile.am: New file.
5296 * libc/sys/fr30/Makefile.in: New generated file.
5297 * libc/sys/fr30/configure.in: New file.
5298 * libc/sys/fr30/configure: New generated file.
5299 * libc/sys/fr30/syscalls.c: New file.
5300
5301Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
5302
5303 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
5304
53051998-12-01 Ken Raeburn <raeburn@cygnus.com>
5306
5307 * libc/time/strftime.c (strftime): Also handle %y for years before
5308 1900.
5309
5310Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
5311
5312 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
5313 UNIX convention. Perform tolower on characters before comparing
5314 them rather than use toupper.
5315 * libc/string/strncasecmp.c (strncasecmp): Ditto.
5316
5317Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
5318
5319 * configure.host: Added using i386 machine directory
5320 for all x86 cross-compiler and configuring
5321 which added object files to use via new "mach_add_objs" variable.
5322 * configure: Regenerated.
5323 * libc/configure: Regenerated.
5324 * libc/Makefile.in: Regenerated.
5325 * libc/aclocal.m4: Regenerated.
5326 * libc/ctype/Makefile.in: Regenerated.
5327 * libc/errno/Makefile.in: Regenerated.
5328 * libc/locale/Makefile.in: Regenerated.
5329 * libc/machine/Makefile.in: Regenerated.
5330 * libc/machine/aclocal.m4: Regenerated.
5331 * libc/machine/configure: Regenerated.
5332 * libc/posix/Makefile.in: Regenerated.
5333 * libc/reent/Makefile.in: Regenerated.
5334 * libc/signal/Makefile.in: Regenerated.
5335 * libc/stdio/Makefile.in: Regenerated.
5336 * libc/stdlib/Makefile.in: Regenerated.
5337 * libc/string/Makefile.in: Regenerated.
5338 * libc/string/memmove.c: Optimized code to use memcpy
5339 logic when performing a non-destructive copy.
5340 * libc/string/strncmp.c: Altered code to allow building
5341 optimized for size or speed.
5342 * libc/syscalls/Makefile.in: Regenerated.
5343 * libc/time/Makefile.in: Regenerated.
5344 * libc/unix/Makefile.in: Regenerated.
5345 * libc/machine/i386/Makefile.am: Added new files and reference
5346 to "mach_add_objs" to indicate optional object files.
5347 * libc/machine/i386/Makefile.in: Regenerated.
5348 * libc/machine/i386/aclocal.m4: Regenerated.
5349 * libc/machine/i386/configure: Regenerated.
5350 * libc/machine/i386/memchr.S: New file that implements
5351 function in Intel assembler.
5352 * libc/machine/i386/memcmp.S: ditto.
5353 * libc/machine/i386/memcpy.S: ditto.
5354 * libc/machine/i386/memmove.S: ditto.
5355 * libc/machine/i386/memset.S: ditto.
5356 * libc/machine/i386/strchr.S: ditto.
5357 * libc/machine/i386/strlen.S: ditto.
5358 * libc/machine/i386/f_atan2.S: New file that implements
5359 fast version of math function to be used by compiler when
5360 --ffast_math compile option is used.
5361 * libc/machine/i386/f_atan2f.S: ditto.
5362 * libc/machine/i386/f_exp.c: ditto.
5363 * libc/machine/i386/f_expf.c: ditto.
5364 * libc/machine/i386/f_frexp.S: ditto.
5365 * libc/machine/i386/f_frexpf.S: ditto.
5366 * libc/machine/i386/f_ldexp.S: ditto.
5367 * libc/machine/i386/f_ldexpf.S: ditto.
5368 * libc/machine/i386/f_log.S: ditto.
5369 * libc/machine/i386/f_logf.S: ditto.
5370 * libc/machine/i386/f_log10.S: ditto.
5371 * libc/machine/i386/f_log10f.S: ditto.
5372 * libc/machine/i386/f_math.h: New file.
5373 * libc/machine/i386/f_pow.c: ditto.
5374 * libc/machine/i386/f_powf.S: ditto.
5375 * libc/machine/i386/f_tan.S: ditto.
5376 * libc/machine/i386/f_tan.S: ditto.
5377 * libc/machine/i386/i386mach.h: New file.
5378
5379Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
5380
5381 patch from Mumit Khan <khan@xraylith.wisc.edu>
5382 * libc/include/stdio.h (tempnam): Add prototype.
5383 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
5384 (tempnam): Adhere to prototype.
5385
5386Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
5387
5388 * Makefile.am: Add default for AR_FLAGS.
5389 * Makefile.in: Regenerate.
5390
5391Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
5392
5393 * libc/include/time.h: move __cplusplus wrapper after includes
5394 * libc/include/sys/time.h: ditto. If Cygwin, include
5395 sys/select.h.
5396 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
5397
53981998-11-23 Ken Raeburn <raeburn@cygnus.com>
5399
5400 * libc/time/strftime.c (strftime): Handle %y after year 2000.
5401
5402Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
5403
5404 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
5405 abnormnal end-of-crt0 marker.
5406
5407Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
5408
5409 * libc/sys/fr30/crt0.s: New file/directory.
5410 * libc/include/machine/setjmp.h: Add FR30 target.
5411 * libc/include/machine/ieeefp.h: Add FR30 target.
5412 * configure.host: Add FR30 target.
5413
5414Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5415
5416 * libm/math: Files that are duplicated in common directory removed.
5417 * libm/math/fdlibm.h: Removed.
5418 * libm/math/s_cbrt.c: Removed.
5419 * libm/math/s_copysign.c: Removed.
5420 * libm/math/s_expm1.c: Removed.
5421 * libm/math/s_finite.c: Removed.
5422 * libm/math/s_ilogb.c: Removed.
5423 * libm/math/s_infinity.c: Removed.
5424 * libm/math/s_lib_ver.c: Removed.
5425 * libm/math/s_log1p.c: Removed.
5426 * libm/math/s_logb.c: Removed.
5427 * libm/math/s_matherr.c: Removed.
5428 * libm/math/s_modf.c: Removed.
5429 * libm/math/s_nan.c: Removed.
5430 * libm/math/s_nextafter.c: Removed.
5431 * libm/math/s_rint.c: Removed.
5432 * libm/math/s_scalbn.c: Removed.
5433 * libm/math/sf_cbrt.c: Removed.
5434 * libm/math/sf_copysign.c: Removed.
5435 * libm/math/sf_expm1.c: Removed.
5436 * libm/math/sf_finite.c: Removed.
5437 * libm/math/sf_ilogb.c: Removed.
5438 * libm/math/sf_infinity.c: Removed.
5439 * libm/math/sf_log1p.c: Removed.
5440 * libm/math/sf_logb.c: Removed.
5441 * libm/math/sf_modf.c: Removed.
5442 * libm/math/sf_nan.c: Removed.
5443 * libm/math/sf_nextafter.c: Removed.
5444 * libm/math/sf_rint.c: Removed.
5445 * libm/math/sf_scalbn.c: Removed.
5446 * libm/math/Makefile.am: Removed references to deleted files (above).
5447 * libm/math/Makefile.in: Regenerated.
5448 * libm/Makefile.am: Added common directory to math.
5449 * libm/Makefile.in: Regenerated.
5450
5451Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5452
5453 * libm/mathfp: Add non-ANSI functions.
5454 * libm/mathfp/e_acosh.c acosh(): New file.
5455 * libm/mathfp/e_atanh.c atanh(): New file.
5456 * libm/mathfp/e_hypot.c hypot(): New file.
5457 * libm/mathfp/e_j0.c j0(): New file.
5458 * libm/mathfp/e_j1.c j1(): New file.
5459 * libm/mathfp/e_remainder.c remainder(): New file.
5460 * libm/mathfp/e_scalb.c scalb(): New file.
5461 * libm/mathfp/ef_acosh.c acoshf(): New file.
5462 * libm/mathfp/ef_atanh.c atanhf(): New file.
5463 * libm/mathfp/ef_hypot.c hypotf(): New file.
5464 * libm/mathfp/ef_j0.c j0f(): New file.
5465 * libm/mathfp/ef_j1.c j1f(): New file.
5466 * libm/mathfp/ef_remainder.c remainderf(): New file.
5467 * libm/mathfp/ef_scalb.c scalbf(): New file.
5468 * libm/mathfp/er_gamma.c gamma_r: New file.
5469 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
5470 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
5471 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
5472 * libm/mathfp/w_cabs.c cabs(): New file.
5473 * libm/mathfp/w_drem.c drem(): New file.
5474 * libm/mathfp/w_jn.c jn(): New file.
5475 * libm/mathfp/wf_cabs.c cabsf(): New file.
5476 * libm/mathfp/wf_drem.c dremf(): New file.
5477 * libm/mathfp/wf_jn.c jnf(): New file.
5478
5479Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
5480
5481 * libc/sys/cygwin32: remove directory and contents
5482 * libc/sys/cygwin: and add back, losing the "32".
5483 * configure.host: check for cygwin* instead of cygwin32.
5484 * acinclude.m4: ditto.
5485 * aclocal.m4: regenerate with aclocal
5486 * configure: regenerate with autoconf
5487
5488Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
5489
5490 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
5491 for length
5492
5493Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5494
5495 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
5496 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
5497 to make rand/srand, strtok, asctime, localtime, w_gamma,
5498 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
5499 time.h to bring in struct tm definition.
5500 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
5501 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
5502 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
5503 instead of static variable.
5504 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
5505 struct reent instead of static variable.
5506 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
5507 struct reent instead of static variable.
5508 * libm/math/Makefile.am: Removed s_signgam.o.
5509 * libm/math/Makefile.in: Regenerated.
5510 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
5511 struct reent instead of global variable 'signgam'.
5512 * libm/math/w_lgamma.c (lgamma): Likewise.
5513 * libm/math/wf_gamma.c (gammaf): Likewise.
5514 * libm/math/wf_lgamma.c (lgammaf): Likewise.
5515 * libm/math/s_signgam.c: Removed.
5516 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
5517 to be const.
5518 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
5519 to be const.
5520 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
5521 libc/include/reent.h.
5522 * libc/reent/Makefile.in: Regenerated.
5523 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
5524 to be const.
5525 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
5526 'JIS_action_table' to be const.
5527 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
5528
5529Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
5530
5531 * acinclude.m4: $with_target_subdir should default to '.'
5532 or confusion results when configuring in same directory as sources.
5533 * Regenerate all aclocal.m4 and configure files.
5534
5535Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
5536
5537 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
5538 can be set by defining MALLOC_ALIGNMENT=16. Also added support
5539 for platforms where sizeof(size_t) < sizeof(long) via
5540 SIZE_T_SMALLER_THAN_LONG macro.
5541
5542Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
5543
5544 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
5545 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
5546 which sets _CLOCKS_PER_SEC_ for selected machines.
5547 * libc/include/machine/time.h: New file.
5548
5549Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5550
5551 * libc/syscalls/sysexecve.c: New file.
5552 * libc/syscalls/sysgettod.c: New file.
5553 * libc/syscalls/systimes.c: New file.
5554 * libc/syscalls/Makefile.am: Added new objects.
5555 * libc/syscalls/Makefile.in: Regenerated.
5556 * libc/include/_syslist.h (_execve): Moved define in file.
5557 * libc/include/reent.h: Added _execve_r declaration.
5558 * libc/Makefile.in: Regenerated.
5559 * libc/ctype/Makefile.in: Regenerated.
5560 * libc/errno/Makefile.in: Regenerated.
5561 * libc/locale/Makefile.in: Regenerated.
5562 * libc/machine/Makefile.in: Regenerated.
5563 * libc/misc/Makefile.in: Regenerated.
5564 * libc/posix/Makefile.in: Regenerated.
5565 * libc/reent/Makefile.in: Regenerated.
5566 * libc/reent/execr.c (_execve_r): Added _execve_r function.
5567 * libc/signal/Makefile.in: Regenerated.
5568 * libc/stdio/Makefile.in: Regenerated.
5569 * libc/time/Makefile.in: Regenerated.
5570 * libc/unix/Makefile.in: Regenerated.
5571 * libm/mathfp/Makefile.in: Regenerated.
5572
5573Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5574
5575 * libc/string/Makefile.in: Regenerated.
5576 * libc/string/memchr.c (memchr): Moved code to reduce object size.
5577 * libc/string/memcpy.c (memcpy): Ditto.
5578 * libc/string/memcmp.c (memcmp): Ditto.
5579 * libc/string/memset.c (memset): Ditto.
5580 * libc/string/strchr.c (strchr): Ditto.
5581 * libc/string/strcmp.c (strcmp): Ditto.
5582 * libc/string/strcpy.c (strcpy): Ditto.
5583 * libc/string/strlen.c (strlen): Ditto.
5584
5585Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5586
5587 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
5588 to generate aclocal.m4.
5589 * libm/Makefile.in: Regenerated.
5590 * libm/aclocal.m4: Regenerated.
5591 * libm/configure: Regenerated.
5592 * libm/math/Makefile.in: Regenerated.
5593 * libm/mathfp/Makefile.in: Regenerated.
5594
55951998-09-25 Mark Salter <msalter@cygnus.com>
5596
5597 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
5598 by adding leading and trailing underscores to symbol names.
5599
5600Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
5601
5602 * Makefile.in: Add default for AR_FLAGS.
5603
5604Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
5605
5606 patch from ian@airs.com (Ian Taylor):
5607 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
5608 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
5609 is needed for detecting the build machine. Required for
5610 cygwin native builds.
5611
5612 * Regenerate all aclocal.m4 and configure files.
5613
5614Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
5615
5616 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
5617 used to start with LC.
5618
5619Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5620
5621 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
5622 (longjmp): Likewise.
5623
5624Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5625
5626 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
5627 the test for small number of bytes.
5628
5629Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5630
5631 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
5632 math library that uses floating point algorithms instead of the old
5633 libm.
5634 * Makefile.in: Regenerate with automake version 1.3b.
5635 * configure: Rebuild.
5636 * libm/Makefile.in: Regenerate with automake version 1.3b.
5637 * libm/aclocal.m4: Regenerate.
5638 * libm/configure: Rebuild.
5639 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
5640 * libm/acinclude.m4: Define macros for configure.in.
5641 * libm/config.h.in: Generate.
5642 * libm/mathfp/Makefile.am: New file.
5643 * libm/mathfp/Makefile.in: Generate.
5644 * libm/mathfp/s_acos.c (acos): New file.
5645 * libm/mathfp/s_asin.c (asin): New file.
5646 * libm/mathfp/s_asine.c (asine): New file.
5647 * libm/mathfp/s_atan.c (atan): New file.
5648 * libm/mathfp/s_atan2.c (atan2): New file.
5649 * libm/mathfp/s_atangent.c (atangent): New file.
5650 * libm/mathfp/s_ceil.c (ceil): New file.
5651 * libm/mathfp/s_copysign.c (copysign): New file.
5652 * libm/mathfp/s_cos.c (cos): New file.
5653 * libm/mathfp/s_cosh.c (cosh): New file.
5654 * libm/mathfp/s_exp.c (exp): New file.
5655 * libm/mathfp/s_fabs.c (fabs): New file.
5656 * libm/mathfp/s_finite.c (finite): New file.
5657 * libm/mathfp/s_floor.c (floor): New file.
5658 * libm/mathfp/s_fmod.c (fmod): New file.
5659 * libm/mathfp/s_frexp.c (frexp): New file.
5660 * libm/mathfp/s_infconst.c: New file.
5661 * libm/mathfp/s_isinf (isinf).c: New file.
5662 * libm/mathfp/s_isnan.c (isnan): New file.
5663 * libm/mathfp/s_ispos.c (ispos): New file.
5664 * libm/mathfp/s_ldexp.c (ldexp): New file.
5665 * libm/mathfp/s_log.c (log): New file.
5666 * libm/mathfp/s_log10.c (log10): New file.
5667 * libm/mathfp/s_logarithm.c (logarithm): New file.
5668 * libm/mathfp/s_mathcnst.c: New file.
5669 * libm/mathfp/s_modf (modf).c: New file.
5670 * libm/mathfp/s_numtest.c (numtest): New file.
5671 * libm/mathfp/s_pow.c (pow): New file.
5672 * libm/mathfp/s_scalbn.c (scalbn): New file.
5673 * libm/mathfp/s_sin (sin).c: New file.
5674 * libm/mathfp/s_sine.c (sine): New file.
5675 * libm/mathfp/s_sineh.c (sineh): New file.
5676 * libm/mathfp/s_sinf.c (sinf): New file.
5677 * libm/mathfp/s_sinh.c (sinh): New file.
5678 * libm/mathfp/s_sqrt.c (sqrt): New file.
5679 * libm/mathfp/s_tan.c (tan): New file.
5680 * libm/mathfp/s_tanh.c (tanh): New file.
5681 * libm/mathfp/sf_acos.c (acosf): New file.
5682 * libm/mathfp/sf_asin.c (asinf): New file.
5683 * libm/mathfp/sf_asine.c (asinef): New file.
5684 * libm/mathfp/sf_atan.c (atanf): New file.
5685 * libm/mathfp/sf_atan2.c (atan2f): New file.
5686 * libm/mathfp/sf_atangent.c (atangent): New file.
5687 * libm/mathfp/sf_ceil.c (ceilf): New file.
5688 * libm/mathfp/sf_copysign.c (copysignf): New file.
5689 * libm/mathfp/sf_cos.c (cosf): New file.
5690 * libm/mathfp/sf_cosh.c (coshf): New file.
5691 * libm/mathfp/sf_exp.c (expf): New file.
5692 * libm/mathfp/sf_fabs.c (fabsf): New file.
5693 * libm/mathfp/sf_finite.c (finitef): New file.
5694 * libm/mathfp/sf_floor.c (floorf): New file.
5695 * libm/mathfp/sf_fmod.c (fmodf): New file.
5696 * libm/mathfp/sf_frexp.c (frexpf): New file.
5697 * libm/mathfp/sf_isinf.c (isinff): New file.
5698 * libm/mathfp/sf_isnan.c (isnanf): New file.
5699 * libm/mathfp/sf_ispos.c (isposf): New file.
5700 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
5701 * libm/mathfp/sf_log.c (logf): New file.
5702 * libm/mathfp/sf_log10.c (log10f): New file.
5703 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
5704 * libm/mathfp/sf_modf.c (modff): New file.
5705 * libm/mathfp/sf_numtest.c (numtestf): New file.
5706 * libm/mathfp/sf_pow.c (powf): New file.
5707 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
5708 * libm/mathfp/sf_sin.c (sinf): New file.
5709 * libm/mathfp/sf_sine.c (sinef): New file.
5710 * libm/mathfp/sf_sineh.c (sinehf): New file.
5711 * libm/mathfp/sf_sinh.c (sinhf): New file.
5712 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
5713 * libm/mathfp/sf_tan.c (tanf): New file.
5714 * libm/mathfp/sf_tanh.c (tanhf): New file.
5715 * libm/mathfp/zmath.h: New file.
5716
5717Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5718
5719 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
5720 exit if it has been overwritten by pre-fetching in delay slot.
5721
57221998-09-01 Michael Meissner <meissner@cygnus.com>
5723
5724 * Makefile.am (tooldir): Add in host_alias, so that multilib
5725 libraries are installed in the directory the compiler looks in.
5726 * Makefile.in: Regenerate.
5727
5728 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
5729
5730Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
5731
5732 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
5733 ahead of test for number of bytes being moved.
5734
5735Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
5736
5737 * libc/include/sys/unistd.h: Nothing special needed for
5738 _exit under cygwin.
5739
5740Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
5741
5742 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
5743 conform to user label naming conventions.
5744
5745Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
5746
5747 * libc/sys/cygwin32/sys/utime.h: variable names in
5748 protos should start with two leading underscores
5749 * libc/include/string.h: ditto
5750 * libc/include/sys/signal.h: ditto
5751 * libc/include/sys/stat.h: ditto
5752 * libc/include/sys/time.h: ditto
5753 * libc/include/sys/unistd.h: ditto
5754 * libc/include/ctype.h: ditto
5755 * libc/include/stdlib.h: ditto
5756 * libc/include/sys/reent.h: struct _atexit function ptr takes a
5757 void, same with _sig_func.
5758
5759Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
5760
5761 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
5762 for MB_CAPABLE to reduce code size when newlib is not configured
5763 with --enable-newlib-mb.
5764 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
5765 mbtowc_r.o to minimize size.
5766 * libc/stdlib/Makefile.in: Rebuild.
5767
5768Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
5769
5770 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
5771 to -DREENT.
5772 * libc/sys/sparc64/Makefile.in: Rebuild.
5773
5774Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
5775
5776 * Makefile.am (MAKEOVERRIDES): Define.
5777 * Makefile.in: Rebuild.
5778
5779Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
5780
5781 * libc/sys/sparc64/sys/stat.h (stat): Add const.
5782
5783Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
5784
5785 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
5786 newlib_cflags when looking for targ-include.
5787 * */aclocal.m4, */configure: Rebuild.
5788
5789Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
5790
5791 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
5792 to "_end".
5793
5794Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
5795
5796 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
5797 on SPARCs with little-endian data.
5798 * libc/include/machine/ieeefp.h: Ditto.
5799
5800Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
5801
5802 * acinclude.m4: Handle a relative srcdir correctly when setting
5803 newlib_cflags.
5804 * */aclocal.m4, */configure: Rebuild.
5805
5806Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
5807
5808 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
5809 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
5810 * libm/math/wrf_gamma.c (gammaf_r): ditto
5811 * libm/math/wr_lgamma.c (lgamma_r): ditto
5812 * libm/math/wr_gamma.c (gamma_r): ditto
5813 * libm/math/wf_sqrt.c (sqrtf): ditto
5814 * libm/math/wf_sinh.c (sinhf): ditto
5815 * libm/math/wf_scalb.c (scalbf): ditto
5816 * libm/math/wf_remainder.c (remainderf): ditto
5817 * libm/math/wf_pow.c (powf): ditto
5818 * libm/math/wf_log10.c (log10f): ditto
5819 * libm/math/wf_log.c (logf): ditto
5820 * libm/math/wf_lgamma.c (lgammaf): ditto
5821 * libm/math/wf_jn.c (jnf, ynf): ditto
5822 * libm/math/wf_j1.c (j1f, y1f): ditto
5823 * libm/math/wf_j0.c (j0f, y0f): ditto
5824 * libm/math/wf_hypot.c (hypotf): ditto
5825 * libm/math/wf_gamma.c (gammaf): ditto
5826 * libm/math/wf_fmod.c (fmodf): ditto
5827 * libm/math/wf_exp.c (expf): ditto
5828 * libm/math/wf_cosh.c (coshf): ditto
5829 * libm/math/wf_atanh.c (atanhf): ditto
5830 * libm/math/wf_atan2f.c (atan2f): ditto
5831 * libm/math/wf_asin.c (asinf): ditto
5832 * libm/math/wf_acosh.c (acoshf): ditto
5833 * libm/math/wf_acos.c (acosf): ditto
5834 * libm/math/w_sqrt.c (sqrt): ditto
5835 * libm/math/w_sinh.c (sinh): ditto
5836 * libm/math/w_scalb.c (scalb): ditto
5837 * libm/math/w_remainder.c (remainder): ditto
5838 * libm/math/w_pow.c (pow): ditto
5839 * libm/math/w_log10.c (log10): ditto
5840 * libm/math/w_log.c (log): ditto
5841 * libm/math/w_lgamma.c (lgamma): ditto
5842 * libm/math/w_jn.c (jn, yn): ditto
5843 * libm/math/w_j1.c (j1, y1): ditto
5844 * libm/math/w_j0.c (j0, y0): ditto
5845 * libm/math/w_hypot.c (hypot): ditto
5846 * libm/math/w_gamma.c (gamma): ditto
5847 * libm/math/w_fmod.c (fmod): ditto
5848 * libm/math/w_exp.c (exp): ditto
5849 * libm/math/w_cosh.c (cosh): ditto
5850 * libm/math/w_atanh.c (atanh): ditto
5851 * libm/math/w_atan2f.c (atan2): ditto
5852 * libm/math/w_asin.c (asin): ditto
5853 * libm/math/w_acosh.c (acosh): ditto
5854 * libm/math/w_acos.c (acos): ditto
5855
5856Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
5857
5858 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
5859 (fsrc): Add wf_cabs.c and wf_drem.c.
5860 * libm/math/Makefile.in: Rebuild.
5861
5862 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
5863 unused directory variables. Remove duplicate CFLAGS.
5864 * Makefile.in: Rebuild.
5865
5866 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
5867 with $(CC_FOR_BUILD).
5868 (makedoc.o): Likewise.
5869 * doc/Makefile.in: Rebuild.
5870
5871 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
5872 force a definition of COMPILE.
5873 (libfoo_a_SOURCES): Define.
5874 * libc/sys/cygwin32/Makefile.in: Rebuild.
5875 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
5876 force a definition of COMPILE.
5877 (libfoo_a_SOURCES): Define.
5878 * libc/sys/tic80/Makefile.in: Rebuild.
5879
5880Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
5881
5882 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
5883 flag.
5884
5885Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
5886
5887 * Build using autoconf and automake. Added many Makefile.am and
5888 configure.in files, plus generated files. Old configure.in files
5889 and all old Makefile.in files completely replaced. Removed
5890 host/any. Added acinclude.m4 and configure.host.
5891
5892Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
5893
5894 * libc/stdio/vfprintf.c: enable long long support, sometimes.
5895 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
5896
5897Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5898
5899 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
5900 * libc/machine/sh/Makefile.in: Add rules for new files.
5901
5902Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5903
5904 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
5905 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
5906 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
5907
5908Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
5909
5910 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
5911 code is ignored.
5912
5913Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
5914
5915 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
5916 internal static buffer when s is NULL, as prescribed by ANSI.
5917
59181998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
5919
5920 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
5921 removed.
5922 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
5923 libc/stdlib will be used for h8300hms.
5924
5925Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5926
5927 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
5928 version that can be built either for speed or size.
5929 * libc/machine/mn10300/memset.S (_memset): ditto
5930 * libc/machine/mn10300/memchr.S (_memchr): ditto
5931 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
5932 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
5933 * libc/machine/mn10300/strchr.S (_strchr): ditto
5934 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
5935 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
5936 * libc/machine/mn10300/Makefile.in: Added entries for
5937 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
5938 strcmp.o, strcpy.o, and strlen.o.
5939
5940Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
5941
5942 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
5943 been replaced with libgloss/mn10200.
5944
5945Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
5946
5947 * libc/string/strchr.c (strchr): Make s a constant pointer to
5948 avoid warning.
5949
5950Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
5951
5952 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
5953 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
5954 board SWIs instead of Demon board SWIs).
5955
5956Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
5957
5958 * libc/string/strncat.c (strncat): Make -Os act the same as
5959 PREFER_SIZE_OVER_SPEED being defined.
5960
5961Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
5962
5963 * libc/string/memchr.c (memchr): Make -Os act the same as
5964 PREFER_SIZE_OVER_SPEED being defined.
5965 * libc/string/memcmp.c (memcmp): Ditto.
5966 * libc/string/memcpy.c (memcpy): Ditto.
5967 * libc/string/memset.c (memset): Ditto.
5968 * libc/string/strcat.c (strcat): Ditto.
5969 * libc/string/strchr.c (strchr): Ditto.
5970 * libc/string/strcmp.c (strcmp): Ditto.
5971 * libc/string/strcpy.c (strcpy): Ditto.
5972 * libc/string/strlen.c (strlen): Ditto.
5973 * libc/string/strncat.c (strncat): Ditto.
5974 * libc/string/strncmp.c (strncmp): Ditto.
5975 * libc/string/strncpy.c (strncpy): Ditto.
5976
5977Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
5978
5979 * libc/include/sys/itimer.h: remove
5980 * libc/include/sys/time.h: itimer stuff should be here
5981
5982Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
5983
5984 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5985 bit instead of comparing to 0 so -0.0 can be printed correctly.
5986
5987Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5988
5989 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5990
5991Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
5992
5993 * libc/include/sys/unistd.h: fix sync() proto
5994 * libc/include/sys/fcntl.h: remove _close which is already
5995 defined in unistd.h.
5996 * libc/include/sys/time.h: add getitimer proto
5997
5998Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
5999
6000 * libc/string/strchr.c: convert arg to unsigned char
6001 * libc/include/stdlib.h: add protos for random, srandom
6002 * libc/include/sys/stat.h: add lstat proto
6003 * libc/include/sys/time.h: add setitimer proto
6004 * libc/include/sys/unistd.h: add readlink, symlink protos
6005 * libc/include/process.h: instead of including windows.h and using
6006 HANDLEs in sexec protos, just use void *s. Need to include
6007 sys/types.h.
6008
6009Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
6010
6011 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
6012
6013Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
6014
6015 * libc/include/process.h: add secure exec protos
6016
6017Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
6018
6019 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
6020 which are accessed as both doubles and integers.
6021 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
6022 * libc/stdlib/strtod.c (_strtod_r): Likewise.
6023 * libc/stdlib/mprec.h: Add "union double_union" and change
6024 word0/word1 macros to use it.
6025
6026Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
6027
6028 * libc/include/sys/signal.h: add __cplusplus wrapper
6029
6030Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
6031
6032 * libc/include/sys/utime.h: new generic file that gets replaced by
6033 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
6034 function.
6035 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
6036 * libc/include/time.h: remove duplicate utime proto
6037 * libc/include/utime.h: add comment
6038
6039Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
6040
6041 * libc/include/sys/time.h: Add missing include to
6042 allow use of _EXFUN. Remove times function that is
6043 already defined in times.h.
6044
6045Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
6046
6047 * libc/include/time.h: Fix typo in tzset.
6048
6049Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
6050
6051 * libc/include/sys/time.h: add missing Cygwin32 function protos
6052 * libc/include/sys/unistd.h: ditto
6053 * libc/include/time.h: ditto
6054
6055Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
6056
6057 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
6058 FIXME.
6059 * libc/include/sys/types.h: add a new __MS_types__ section
6060 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
6061 __BIT_TYPES_DEFINED__.
6062
6063Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
6064
6065 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
6066 since it overrides the one in libc/include/sys. Also, start
6067 including types.h.
6068
6069Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
6070
6071 * libm/math/Makefile.in: add s_signgam.o to obj list
6072
6073Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
6074
6075 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
6076
6077Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
6078
6079 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
6080 so don't use defines.
6081
6082Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
6083
6084 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
6085
6086Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
6087
6088 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
6089 _current_locale as default locale.
6090
6091Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
6092
6093 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
6094 insufficient space in a chunk.
6095
6096Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
6097
6098 * configure.in (links): Added check for --enable-newlib-mb configure
6099 option which defines the MB_CAPABLE macro.
6100 * libc/locale/locale.c (_setlocale_r): Added support for setting
6101 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
6102 defined.
6103 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
6104 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
6105 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
6106 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
6107 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
6108 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
6109 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
6110 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
6111 * libc/stdlib/Makefile.in: Added new multibyte
6112 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
6113 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
6114 _mbstowcs_r(), and _wcstombs_r().
6115 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
6116 for JIS, SJIS, and EUC-JP characters.
6117 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
6118 MB_CAPABLE defined.
6119 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
6120 MB_CAPABLE defined.
6121 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
6122 MB_CAPABLE defined.
6123 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
6124 if MB_CAPABLE defined.
6125 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
6126 if MB_CAPABLE defined.
6127 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
6128 to the format string processing when MB_CAPABLE.
6129 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
6130 call _mbtowc_r().
6131
6132Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
6133
6134 The following modifications are courtesy of Anthony Thompson,
6135 athompson@cambridge.arm.com:
6136 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
6137 boith RDI and RDP monitors.
6138 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
6139 RDI and RDP monitors.
6140
6141Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
6142
6143 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
6144 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
6145 (_swiopen): Fixed open flags to treat write with append as just append.
6146 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
6147 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
6148
6149Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6150
6151 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
6152 When needing to transfer an initial 2-byte-word, store as
6153 two single bytes.
6154
6155Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6156
6157 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
6158 __SH3E__ .
6159 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
6160 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
6161
6162Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
6163
6164 * configure.in (target_cflags): If --enable-target-optspace, use
6165 -Os to compile newlib rather than -O2. Default to using -Os for
6166 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
6167 used.
6168
6169Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
6170
6171 * libc/include/machine/setjmp.h: change sigsetjmp and
6172 siglongjmp definitions to use an array instead of a struct
6173 for __CYGWIN32__
6174
6175Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
6176
6177 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
6178
6179Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
6180
6181 * libc/string/strxfrm.c: fix to get correct return value
6182
6183Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
6184
6185 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
6186 builds. Make mode change labels global so that they will be seen
6187 by the debugger.
6188
6189Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
6190
6191 * configure.in (links): Do not use ARM debiugging protocols for PE
6192 builds.
6193
6194 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
6195 message.
6196
6197Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6198
6199 * libc/stdio/findfp.c (__sinit): Made stdout default to
6200 line buffered mode as defined by ANSI.
6201
6202Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
6203
6204 * libc/include/sys/itimer.h: New file.
6205
6206 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
6207
6208Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6209
6210 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
6211 failure.
6212
6213Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
6214
6215 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
6216 insns.
6217
6218Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
6219
6220 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
6221
6222Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
6223
6224 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
6225 support.
6226
6227 * libc/include/machine/setjmp.h: Add D30V support.
6228
6229 * configure.in (d30v-*): Add d30v machine directory.
6230
6231Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
6232
6233 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
6234 been replaced with libgloss/mn10300.
6235
6236Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
6237
6238 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
6239 it is no longer needed.
6240
6241Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
6242
6243 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
6244
6245Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
6246
6247 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
6248 the file when O_APPEND is set, wherever the EOF happens to be at
6249 that time.
6250
6251Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
6252
6253 patch from cgf@bbc.com (Christopher Faylor):
6254 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
6255 convention of closing fp prior to attempting to open the file
6256 argument. This allows correct operation when reopening
6257 stdin/stdout/stderr. Replaces last freopen.c patch.
6258
6259Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
6260
6261 patch from cgf@bbc.com (Christopher Faylor):
6262 * libc/stdio/freopen.c: freopen was not preserving the fd
6263 of the stream being operated on. This confuses programs that
6264 expect that the handles for stdout and stderr will be 1 and 2.
6265
6266Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
6267
6268 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
6269
6270Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
6271
6272 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
6273
6274Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
6275
6276 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
6277 altered to not use a branch. Also added hint that last
6278 bclr in longjmp will likely result in branch.
6279
6280
6281Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
6282
6283 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
6284
6285Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
6286
6287 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
6288 v850 builds.
6289
6290 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
6291
6292Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
6293
6294 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
6295 that loads FR14 to specify offset of 8 rather than 4
6296 so it loads from offset 96 (where setjmp stored it).
6297
6298Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6299
6300 * libc/machine/sh/memcpy.S: (_memcpy): Update to
6301 latest version supplied by customer.
6302 * libc/machine/sh/memset.S (_memset): Ditto.
6303
6304Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
6305
6306 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
6307 PR14730).
6308
6309Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
6310
6311 * libc/include/string.h: remove redefinition of ffs
6312
6313Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
6314
6315 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
6316 defined
6317
6318Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6319
6320 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
6321 TI Libraries to link to libc.a
6322
6323Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
6324
6325 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
6326 * libc/include/sys/stat.h (_{,f}stat): Ditto.
6327 * libc/include/sys/wait.h (_wait): Ditto.
6328 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
6329 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
6330
6331Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
6332
6333 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
6334 minded stabs so function name shows up when running the simulator
6335 with -t.
6336 * libc/sys/d10v/{crt0,trap}.S: Ditto.
6337
6338Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
6339
6340 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
6341 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
6342 Use R5 where we used to use R3.
6343
6344Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
6345
6346 * libc/stdlib/getopt.c (getopt): replaced __progname
6347 with nargv[0] to improve portability to imbedded systems.
6348
6349Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
6350
6351 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
6352 patch supplied by Tont.Thompson@arm.com to fix the creation of the
6353 stdout file.
6354
6355Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
6356
6357 * libc/stdio/tmpnam.c (worker): Generate a different file name
6358 each time.
6359
6360 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
6361 fails, try an execlp for sh.
6362
6363 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
6364 option for the winsup include directory.
6365
6366Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
6367
6368 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
6369 debugging interface from Tony.Thompson@arm.com.
6370
6371 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
6372 * libc/sys/arm/swi.h: ditto.
6373
6374Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
6375
6376 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
6377 DIR struct used for readdir hashes.
6378
6379Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
6380
6381 * libc/string/strchr.c: Use "unsigned chars" as necessary.
6382
6383Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
6384
6385 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
6386 integer targets.
6387
6388Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
6389
6390 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
6391 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
6392 * libc/include/malloc.h: Add extern "C" if __cplusplus.
6393 (__malloc_copy): Declare.
6394
6395Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
6396
6397 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
6398 <sys/config.h>.
6399 (POINTER_UINT): Define.
6400 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
6401 (MALLOC_ALIGNMENT): Don't define if already defined.
6402 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
6403 long.
6404
6405Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
6406
6407 * libc/string/memset.c (memset): Fiddle with code so that the long
6408 value being stored is not a stack value. Unroll storing longs 4
6409 times.
6410
6411Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
6412
6413 * Reduce code size for libm modules.
6414 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
6415 and simply move code into sqrt.
6416 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
6417 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
6418 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
6419 * libm/math/wr_gamma.c (gamma_r): Likewise.
6420 * libm/math/wf_sinh.c (sinfh): Likewise.
6421 * libm/math/w_sinh.c (sinh): Likewise.
6422 * libm/math/wf_scalb.c (scalbf): Likewise.
6423 * libm/math/w_scalb.c (scalb): Likewise.
6424 * libm/math/wf_remainder.c (remainderf): Likewise.
6425 * libm/math/w_remainder.c (remainder): Likewise.
6426 * libm/math/wf_pow.c (powf): Likewise.
6427 * libm/math/w_pow.c (pow): Likewise.
6428 * libm/math/wf_log10.c (log10f): Likewise.
6429 * libm/math/w_log10.c (log10): Likewise.
6430 * libm/math/wf_log.c (logf): Likewise.
6431 * libm/math/w_log.c (log): Likewise.
6432 * libm/math/w_lgamma.c (lgamma): Likewise.
6433 * libm/math/wf_lgamma.c (lgammaf): Likewise.
6434 * libm/math/wf_jn.c (jnf): Likewise.
6435 * libm/math/w_jn.c (jn): Likewise.
6436 * libm/math/wf_j1.c (j1f): Likewise.
6437 * libm/math/w_j1.c (j1): Likewise.
6438 * libm/math/wf_j0.c (j0f): Likewise.
6439 * libm/math/w_j0.c (j0): Likewise.
6440 * libm/math/wf_hypot.c (hypotf): Likewise.
6441 * libm/math/w_hypot.c (hypot): Likewise.
6442 * libm/math/wf_gamma.c (gammaf): Likewise.
6443 * libm/math/w_gamma.c (gamma): Likewise.
6444 * libm/math/wf_fmod.c (fmodf): Likewise.
6445 * libm/math/w_fmod.c (fmod): Likewise.
6446 * libm/math/wf_exp.c (expf): Likewise.
6447 * libm/math/w_exp.c (exp): Likewise.
6448 * libm/math/wf_cosh.c (coshf): Likewise.
6449 * libm/math/w_cosh.c (cosh): Likewise.
6450 * libm/math/wf_atanh.c (atanhf): Likewise.
6451 * libm/math/w_atanh.c (atanh): Likewise.
6452 * libm/math/wf_atan2.c (atan2f): Likewise.
6453 * libm/math/w_atan2.c (atan2): Likewise.
6454 * libm/math/wf_asin.c (asinf): Likewise.
6455 * libm/math/w_asin.c (asin): Likewise.
6456 * libm/math/wf_acosh.c (acoshf): Likewise.
6457 * libm/math/w_acosh.c (acosh): Likewise.
6458 * libm/math/wf_acos.c (asocf): Likewise.
6459 * libm/math/w_acos.c (acos): Likewise.
6460 * libm/math/wf_sqrt.c (sqrtf): Likewise.
6461 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
6462 for embedded systems.
6463
6464Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
6465
6466 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
6467 Lea in case of a foreign sbrk.
6468
6469Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
6470
6471 Incorporate Doug Lea's malloc:
6472 * libc/stdlib/mallocr.c: Completely replaced.
6473 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
6474 (realloc): Remove.
6475 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
6476 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
6477 mallopt.
6478 (mallinfo, malloc_stats, mallopt): New functions.
6479 (_mstats_r): Just call _malloc_stats_r.
6480 * libc/stdlib/malign.c: New file.
6481 * libc/stdlib/mlock.c: New file.
6482 * libc/stdlib/msize.c: New file.
6483 * libc/stdlib/mtrim.c: New file.
6484 * libc/stdlib/realloc.c: New file.
6485 * libc/stdlib/valloc.c: New file.
6486 * libc/stdlib/malloc.h: Remove.
6487 * libc/stdlib/callocr.c: Remove.
6488 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
6489 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
6490 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
6491 reallocr.o, valloc.o, vallocr.o.
6492 (CHEWOUT_FILES): Add mlock.def, mstats.def.
6493 (MALLOC_CFLAGS): New variable.
6494 (mallocr.o): New target, build from mallocr.c.
6495 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
6496 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
6497 (msizer.o, malloptr.o): Likewise.
6498 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
6499 (valloc.o): New target.
6500 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
6501 * libc/include/malloc.h: Declare struct mallinfo, and new
6502 routines.
6503 * libc/include/stdlib.h (cfree): Correct declaration.
6504
6505Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
6506
6507 * libc/include/machine/setjmp.h: Add support for Thumb target.
6508
6509 * libc/include/machine/ieeefp.h: Add support for Thumb target.
6510
6511 * configure.in (links): Add support for Thumb target.
6512
6513Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
6514
6515 * libc/sys/arm/setjmp.S: Updated with version from branch.
6516
6517Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
6518
6519 * libc/include/stdio.h: add POSIX-required define L_ctermid
6520 for ctermid
6521
6522Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
6523
6524 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
6525 addition to MISSING_SYSCALL_NAMES.
6526
6527Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6528
6529 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
6530
6531Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
6532
6533 * libc/include/string.h: change strsignal proto to return
6534 a char *. This eliminates compile problems in gdb resulting
6535 from gdb's definition of strsignal in defs.h.
6536
6537Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
6538
6539 * libc/sys/cygwin32/sys/utime.h: new (moved here from
6540 winsup/include) so as not to conflict with the one in
6541 libc/include.
6542 * libc/include/string.h: add protos for strsignal, strtosigno
6543
6544Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
6545
6546 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
6547
6548 * configure.in (d30v-*-*): Add configuration.
6549
6550Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
6551
6552 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
6553 to select which kind of debug monitor is in use for an ARM target.
6554
6555 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
6556 Angel and Demon debug monitors. Part of this code was supplied by
6557 Tony Thompson at ARM: athompso@arm.com.
6558
6559Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
6560
6561 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
6562 semantics when the count is greater than the length of the second
6563 source string.
6564
6565Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
6566
6567 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
6568 * libc/include/sys/unistd.h: add protos for usleep, truncate,
6569 truncate and ftruncate take off_t, not size_t
6570
6571Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
6572
6573 * libc/string/strcat.c (strcat): Add missing comment end.
6574 * libc/string/strncat.c (strncat): Likewise.
6575
6576Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
6577
6578 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
6579 targets.
6580 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
6581 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
6582 defined.
6583 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
6584 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
6585 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
6586
6587Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
6588
6589 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
6590 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
6591
6592Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
6593
6594 * libc/machine/i386/setjmp.S: New file.
6595 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
6596 (OFILES): Add setjmp.o.
6597 (setjmp.o): Add rule for.
6598 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
6599
6600Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
6601 Jeffrey A Law (law@cygnus.com)
6602
6603 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
6604 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
6605 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
6606 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
6607
6608Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
6609
6610 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
6611 rules.
6612
6613 * libc/include/sys/config.h: Use __v850 to select v850
6614 endianness.
6615
6616 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
6617 buffer size.
6618
6619 * libc/include/machine/ieeefp.h: Use __v850 to select v850
6620 endianness.
6621
6622Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
6623
6624 * libc/stdlib/setenv.c: change unsetenv definition to match
6625 style of setenv (with _DEFUN). The string should be a const.
6626 * libc/include/stdlib.h: unsetenv proto should return void.
6627
6628Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
6629
6630 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
6631
6632Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
6633
6634 * libc/stdio/glue.h: remove.
6635 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
6636 * libc/stdio/Makefile.in: remove glue.h dependencies
6637
6638Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
6639
6640 * libc/sys/sysnecv850/crt0.S: Created V850e version.
6641
6642Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
6643
6644 * configure.in (target_cpu): Add `arc'.
6645
6646Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
6647
6648 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
6649 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
6650 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
6651 * newlib/libc/reent/reent.c: Add _wrapup_reent.
6652 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
6653
6654Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
6655
6656 * libc/machine/mips/setjmp.S: Handle mips16 builds.
6657
6658Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
6659
6660 * libc/include/stdio.h (siprintf): Declare.
6661
6662Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
6663
6664 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
6665 TARGET_CFLAGS and NEWLIB_FLAGS.
6666
6667Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
6668
6669 * configure.in (links): Add support for v850ea target.
6670
6671Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
6672
6673 * configure.in (links): Add support for v850e target.
6674
6675Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
6676
6677 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
6678
6679Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
6680
6681 * configure.in (arc-*-*): Add support for.
6682 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
6683
6684Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6685
6686 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
6687
6688Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
6689
6690 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
6691 comparison which accesses invalid memory when the key is
6692 larger than the last member of the array.
6693 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
6694 for CYGWIN32
6695 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
6696
6697Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
6698
6699 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
6700 not _STRICT_ANSI.
6701
6702Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
6703
6704 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
6705 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
6706
6707Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
6708
6709 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
6710 to load/store memory.
6711
6712Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
6713
6714 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
6715 underscores if _WIN32.
6716
6717Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
6718
6719 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
6720 support ifdef _USE_WRITE missed in last change.
6721 From Anders Blomdell <anders.blomdell@control.lth.se>.
6722
6723Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
6724
6725 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
6726 (_tmpnam_r, _tempnam_r): Update.
6727
6728Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
6729
6730 * libc/machine/sparc/setjmp.S: New file.
6731 * libc/machine/sparc/Makefile.in: Add setjmp.
6732 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
6733
6734Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
6735
6736 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
6737
6738Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
6739
6740 From Joel Sherrill <joel@oarcorp.com>.
6741 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
6742
6743 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
6744 * configure.in: Recognize *-*-rtems*.
6745 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
6746 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
6747 time.h,times.h,types.h}: New files.
6748 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
6749
6750Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
6751
6752 patch from sos@prospect.com.ru (Sergey Okhapkin):
6753 * include/sys/wait.h: correct operator precidence bug
6754 in WIFSIGNALED
6755
6756Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
6757
6758 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
6759 with newlib's unsetenv function
6760 * libc/sys/cygwin32/sys: new directory for includes
6761 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
6762 here from winsup/include/sys
6763
6764Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
6765
6766 * libc/include/sys/unistd.h: _exit should only be
6767 labelled noreturn when not __CYGWIN32__
6768 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
6769 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
6770 increment NSIG
6771
6772Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
6773
6774 * libc/include/sys/time.h: Only define timeval and timezone if
6775 _GNU_H_WINDOWS32_SOCKETS is not defined.
6776 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
6777
6778Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
6779
6780 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
6781 * libc/machine/mn10300/setjmp.S: Likewise.
6782
6783 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
6784 the mn10300 (more relaxing opportunities).
6785
6786Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
6787
6788 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
6789 Build libraries with -mstrict-align.
6790
6791Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
6792
6793 * libc/string/strlwr.c: New file.
6794 * libc/string/strupr.c: New file.
6795 * libc/include/string.h: Declare strlwr and strupr.
6796 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
6797 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
6798 (strlwr.o, strupr.o): New targets.
6799 * libc/string/strings.tex: Include strlwr and strupr docs.
6800
6801 * libc/include/sys/types.h: Don't define u_char, et. al., if
6802 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
6803 et. al. Make FD_SETSIZE default 64 rather than 60. Define
6804 _types_fd_set rather than fd_set, and define fd_set as a macro.
6805
6806 * libc/include/malloc.h: New file.
6807
6808 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
6809 strnicmp if they are not already defined.
6810
6811 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
6812 _timezone, _daylight, and _tzname.
6813
6814Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
6815
6816 * configure.in: Sort all configuration tables.
6817
6818 From Joel Sherrill <joel@oarcorp.com>
6819 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
6820
6821Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
6822
6823 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
6824 use int when declaring kill.
6825
6826 * libc/include/sys/timeb.h: New file.
6827
6828Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
6829
6830 * libc/include/sys/time.h: add itimer support for Cygwin32
6831
6832Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
6833
6834 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
6835 out a message that abort was called to stderr.
6836
6837Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
6838
6839 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
6840 so that libio doesn't freak.
6841
6842 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
6843 int.
6844
6845 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
6846 memory sizes, not int.
6847
6848Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
6849
6850 * libm/math/ef_hypot.c: Use long constants where
6851 appropriate.
6852 * libm/math/ef_sqrt.c: Ditto.
6853
6854 * libc/sys/sysmec/times.c(_times): Change to times.
6855
6856 * libc/sys/sysmec/read.c(_read): The third argument is
6857 size_t.
6858 * libc/sys/sysmec/write.c (_write): Ditto.
6859
6860 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
6861 (_lseek): It's off_t for the second argument.
6862
6863Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
6864
6865 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
6866 as well as machine/ieeefp.h.
6867
6868Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
6869
6870 * libc/include/sys/signal.h: add signal protos for winsup
6871 functions (when __CYGWIN32__), include types.h
6872 * libc/include/sys/types.h: Change __go32_types__ internal
6873 define to __MS_types__ since it's used for more than just
6874 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
6875 defined.
6876 * libc/include/sys/unistd.h: add ftruncate proto for
6877 winsup functions (when __CYGWIN32__)
6878
6879Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
6880
6881 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
6882
6883Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
6884
6885 * libc/include/machine/setjmp.h: Add tic80 support.
6886 * libc/machine/tic80/setjmp.S: Likewise.
6887
6888Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
6889
6890 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
6891 link programs from libraries only (such as in the X11
6892 distribution)
6893
6894Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
6895
6896 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
6897 supplied elsewhere in newlib.
6898
6899Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
6900
6901 * Makefile.in (INSTALL): Change install.sh to install-sh.
6902
6903Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
6904
6905 * README: update WWW address for on-line documentation.
6906
6907Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
6908
6909 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
6910 increment NSIG
6911
6912Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
6913
6914 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
6915 mn10300.
6916 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
6917
6918Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
6919
6920 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
6921 * libc/sys/d10v/syscalls.c: Likewise.
6922 * libc/sys/h8300hms/sbrk.c: Likewise.
6923 * libc/sys/h8500hms/syscalls.c: Likewise.
6924 * libc/sys/m88kbug/syscalls.c: Likewise.
6925 * libc/sys/sh/syscalls.c: Likewise.
6926 * libc/sys/sysmec/sbrk.c: Likewise.
6927 * libc/sys/sysnecv850/sbrk.c: Likewise.
6928 * libc/sys/w65/syscalls.c: Likewise.
6929 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
6930
6931Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
6932
6933 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
6934 emulated syscall instead of "trap".
6935
6936Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
6937
6938 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
6939 not trap 0.
6940
6941Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
6942
6943 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
6944
6945Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
6946
6947 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
6948 not "sh".
6949 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
6950 not "d10v".
6951 * libc/sys/tic80/crt0.c: New file for TIc80.
6952 * libc/sys/tic80/Makefile.in: New file for TIc80.
6953 * libc/machine/tic80/Makefile.in: New file for TIc80.
6954
6955Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
6956
6957 * libc/machine/sh/memcpy.S: New file.
6958 * libc/machine/sh/memset.S: New file.
6959 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6960
6961Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
6962
6963 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6964 for TIc80.
6965
6966Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
6967
6968 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6969 the mn10200.
6970
6971Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
6972
6973 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6974 (patch from andrew@pogo.WV.TEK.COM).
6975
6976Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
6977
6978 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6979 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6980
6981Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
6982
6983 * configure.in: Add cases for "tic80" to set machine_dir,
6984 sys_dir, and syscall_dir.
6985
6986Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
6987
6988 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6989
6990Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
6991
6992 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6993
6994Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
6995
6996 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6997 Use proper constant prefix.
6998
6999Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
7000
7001 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
7002 that loses on the mn10200 where ints and pointers are different
7003 sizes.
7004
7005Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
7006
7007 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
7008 target as signal is provided in winsup.
7009
7010Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
7011
7012 * libc/include/sys/process.h: Corrected const definitions
7013 in spawn functions. Added cwait.
7014
7015Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
7016
7017 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
7018 doubles.
7019 * libc/include/sys/config.h: Similarly.
7020
7021Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7022
7023 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
7024 target_cflags.
7025 (i[3456]86-*-sco*): Ditto.
7026
7027 * libc/signal/Makefile.in (OFILES): Add signal.o.
7028 (CFILES): Add signal.c.
7029
7030 * libc/signal/raise.c (_raise_r): Only compile code if
7031 SIGNAL_PROVIDED is defined.
7032
7033 * libc/signal/signal.c: Redo whole file so that it works with
7034 current newlib. Use _kill_r if no signal handler provided.
7035
7036 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
7037 signal stubs.
7038 * libc/sys/sysvnecv70/Makefile.in: Ditto.
7039 * libc/sys/sysnecv850/Makefile.in: Ditto.
7040
7041 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
7042 * libc/sys/sysmec/{raise,signal}.c: Ditto.
7043 * libc/sys/sysvnecv70/signal.s: Ditto.
7044 * libc/sys/sysnecv850/raise.c: Ditto.
7045
7046 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
7047 simulator and debugger can tell the difference between a signal
7048 being raised and an exit system call.
7049
7050 * NEWS: Document software signals being provided.
7051
7052Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7053
7054 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
7055 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
7056 include/sys/config.h.
7057 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
7058 Change from 'inpure_data'.
7059 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
7060 &impure_data, not &inpure_data.
7061
7062 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
7063 and and System V ABI, define so that _impure_ptr lives in the
7064 .sdata section.
7065
7066Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7067
7068 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
7069 nothing if not defined.
7070 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
7071 its attributes.
7072
7073 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
7074
7075Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
7076
7077 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
7078 * libc/sys/sysmec/trap.s: Handle mn10200 too.
7079 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
7080
7081Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
7082
7083 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
7084
7085Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
7086
7087 * libc/include/sys/errno.h: Added net errno's.
7088
7089Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7090
7091 * libc/misc/ffs.c: New file to support ffs function for GCC test
7092 gcc.c-torture/execute/960909-1.c.
7093
7094 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
7095
7096Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
7097
7098 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
7099 * libc/sys/sysmec/trap.S: Likewise.
7100
7101Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
7102
7103 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
7104 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
7105
7106Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
7107
7108 * libc/sys/sysmec/signal.c: Dummy file.
7109 * libc/sys/sysmec/Makefile.in: Build it.
7110
7111Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
7112
7113 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
7114 mips16.
7115
7116Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
7117
7118 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
7119 c-startup and simulator traps.
7120
7121
7122 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
7123 * libc/sys/sysmec/trap0.S: Likewise.
7124
7125Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7126
7127 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
7128 round to double word alignment.
7129 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
7130 byte alignment.
7131
7132 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
7133
7134 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
7135 out of memory.
7136
7137Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
7138
7139 * configure.in: Handle mn10200 and mn10300.
7140 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
7141 * libc/include/sys/config.h: Likewise.
7142 * libc/sys/sysmec: New directory for mec stuff.
7143 * libc/machine/mn10300: New directory for mn10300 stuff.
7144 * libc/machine/mn10200: Similarly for mn10200 stuff.
7145
7146Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
7147
7148 * libc/sys/arm/crt0.S: Use .text, not .section .text.
7149 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
7150
7151 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
7152 (nlink_t): Change type from unsigned int to unsigned short.
7153 (mode_t): Ensure size is 32 bits even if int is 16.
7154 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
7155 (st_spare[123]): Change type from int to long.
7156
7157Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7158
7159 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
7160 byte boundary.
7161
7162 * configure.in (d10v*): Define SMALL_MEMORY.
7163
7164Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7165
7166 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
7167 -mrelocatable-lib and -mno-eabi flags.
7168
7169Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
7170
7171 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
7172 Fix handling of mis-aligned source operand when both the
7173 destination & length are properly aligned.
7174
7175Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
7176
7177 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
7178 times.o, time.o and gettime.o
7179 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
7180 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
7181 SYS_gettimeofday.
7182
7183Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
7184
7185 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
7186 * libc/sys/sysnecv850/access.c: New file.
7187
7188Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
7189
7190 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
7191
7192 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
7193 long.
7194
7195Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
7196
7197 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
7198
7199Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
7200
7201 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
7202 * libc/include/sys/config.h: Add m32r support.
7203
7204Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
7205
7206 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
7207 here.
7208
7209Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
7210
7211 * libc/include/machine/setjmp.h: Add D10v support.
7212
7213Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
7214
7215 * configure.in: Configure the "libc/syscalls" directory for
7216 the v850.
7217
7218 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
7219 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
7220 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
7221 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
7222 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
7223
7224Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
7225
7226 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
7227 stack for args for main and other routines. Zero out args for
7228 main.
7229
7230 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
7231 correctly.
7232
7233Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7234
7235 * libc/stdio/findfp.c (std): Remove extraneous ';' after
7236 function.
7237
7238 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
7239
7240 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
7241 real system calls now.
7242
7243 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
7244 before casting them to int.
7245 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
7246
7247 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
7248 aligning pointer.
7249 * libc/string/memset.c (memset): Ditto.
7250
7251 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
7252 first convert ints to _POINTER_INT to eliminate GCC warning.
7253
7254 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
7255 processing %p.
7256
7257 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
7258 from 65000 if ints are only 16 bits.
7259
7260 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
7261 from 50000 if ints are only 16 bits.
7262
7263 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
7264 int type that is the same size as a pointer.
7265
7266 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
7267 processing %p.
7268 (get_number): Explicitly cast number to long before shifting by 16
7269 or 24, in case ints are short.
7270
7271 * libc/include/sys/config.h (_POINTER_INT): Define as short.
7272
7273Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
7274
7275 * libc/string.h: Added ffs, removed swab.
7276 * libc/sys/errno.h: Added EOPNOTSUPP.
7277 * libc/sys/unistd.h: Added swab.
7278
7279Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
7280
7281 * libc/include/sys/stat.h: Added fchmod.
7282 * libc/include/sys/unistd.h: Added fsync.
7283
7284Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
7285
7286 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
7287 and ECONNRESET (104) for cygwin32.
7288
7289Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
7290
7291 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
7292 do the static destructors.
7293
7294Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
7295
7296 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
7297
7298Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
7299
7300 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
7301 * configure.in: Recognize m32r-*-*.
7302
7303Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
7304
7305 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
7306 __rt_stkovf_split_small): Added default software stack overflow
7307 handlers, which just call SWI_Exit.
7308 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
7309 limit initialisation.
7310
7311Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
7312
7313 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
7314
7315Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
7316
7317 * libc/include/sys/types.h: Added ssize_t definition.
7318
7319Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7320
7321 * libc/machine/d10v/setjmp.S: Use ';' for comments.
7322 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
7323
7324 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
7325 branch around a single ldi instruction.
7326
7327 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
7328 Call exit, instead of just issuing a stop instruction.
7329
7330Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7331
7332 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
7333
7334Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7335
7336 * libc/stdlib/mprec.h: Explicitly declare all large constants as
7337 longs, and then cast them to __uint32_t.
7338
7339 * libc/include/sys/config.h: Protect against multiple inclusions.
7340
7341Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
7342
7343 * configure.in (d10v*): Set syscall_dir.
7344
7345Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
7346
7347 * libc/sys/d10v/crt0.S: Set stack pointer.
7348
7349Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
7350
7351 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
7352 in assembly for efficiency. Change calling convention to allow
7353 long ints to be returned.
7354
7355Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7356
7357 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
7358
7359Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
7360
7361 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
7362 Handle empty entries in $PATH.
7363
7364Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
7365
7366 * libc/machine/d10v/setjmp.S: Make it really work.
7367
7368Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
7369
7370 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
7371 the .stack section.
7372
7373Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
7374
7375 * sys/sysnecv850/sys/file.h: Remove.
7376 * sys/sysnecv850/sys/syscall.h: New file.
7377 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
7378 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
7379 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
7380 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
7381 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
7382 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
7383 * sys/sysnec850/trap.S: New file.
7384 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
7385 syscalls.
7386 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
7387 * sys/sysnec850/sbrk.c: New version.
7388
7389Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
7390
7391 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
7392 as long as r6 is less than r7.
7393
7394Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
7395
7396 * Makefile.in (mostlyclean): Separate from clean target. Don't
7397 remove *.a or targ-include.
7398 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
7399
7400Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7401
7402 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
7403 d10v.
7404 (__SMALL_BITFIELDS): Ditto.
7405
7406 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
7407
7408Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
7409
7410 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
7411 prefix.
7412
7413 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
7414 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
7415 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
7416 * libc/sys/sysnecv850/write.c (write): Likewise.
7417
7418 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
7419 .bss.
7420
7421Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7422
7423 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
7424 appropriately for D10V, depending on -mint16/-mint32.
7425
7426Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
7427
7428 * configure.in: Add cases for D10V.
7429
7430Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7431
7432 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
7433
7434Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
7435
7436 * libc/include/machine/ieeefp.h: Fix typo.
7437
7438Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
7439
7440 * libc/sys/d10v: New directory for D10V stuff.
7441 * libc/include/machine/ieeefp.h: Add D10V defines.
7442
7443Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
7444
7445 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
7446 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
7447 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
7448 * libc/string/strerror.c (strerror): Add them.
7449
7450Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
7451
7452 * libc/sys/sysnecv850: New directory for v850 stuff.
7453
7454 * libc/machine/v850: New directory for v850 stuff.
7455 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
7456
7457 * configure.in: Add support for the v850.
7458
7459 * libc/include/machine/ieeefp.h: Add v850 defines.
7460 * libc/include/machine/setjmp.h: Likewise.
7461 * libc/include/sys/config.h: Add v850 defines.
7462
7463Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
7464
7465 * libc/include/machine/ieeefp.h
7466 * libc/include/machine/setjmp.h
7467 * libc/include/sys/fcntl.h
7468 * libc/include/sys/signal.h
7469 * libc/include/sys/types.h
7470 * libc/stdlib/system.c:
7471 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
7472 API availability, __CYGWIN32__ for cygwin32 environment specific).
7473
7474Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
7475
7476 * libc/include/stdlib.h: add multibyte character functions. Add
7477 __eprintf for assert.
7478
7479Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7480
7481 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
7482 arithmetic or __alignof__ to properly get the alignment, instead
7483 of hardwiring it to 4.
7484
7485Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
7486
7487 * libc/stdio/fseek.c: add fflush call to adjust seek offset
7488 on append stream (fix from NetBSD sources), adjust curoff offset
7489 for ungetc's benefit.
7490 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
7491 * libc/stdio/rewind.c: replace code with up to date NetBSD
7492 code to undo hacks made to work around above problem of not
7493 having fflush call mentioned above
7494
7495Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7496
7497 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
7498 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
7499 Partially revert last changes. The thread specific errno is set
7500 iff if the underlying syscall fails and the global errno is not
7501 zero.
7502
7503Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7504
7505 * libc/reent/filer.c: Removed files, all functions have split out
7506 into their own files.
7507 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
7508 New files containing functions formally in filer.c
7509 * libc/reent/Makefile.in: Updated for above change.
7510
7511 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
7512 syscall fails, not if errno is changed.
7513 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
7514 _write_r): Likewise.
7515 * libc/reent/fstatr.c (_fstat_r): Likewise.
7516 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
7517 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
7518 * libc/reent/signalr.c (_kill_r): Likewise.
7519 * libc/reent/statr.c (_stat_r): Likewise.
7520 * libc/reent/timer.c (_gettimeofday_r): Likewise.
7521
7522 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
7523 signalr.c, statr.c, timer.c} (errno): declare extern rather
7524 than as a common.
7525
7526 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
7527 instead of calling vfprintf so that i*printf will not require
7528 floating point support code.
7529
7530Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
7531
7532 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
7533 path delimiter.
7534 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
7535 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
7536
7537Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
7538
7539 * libc/include/signal.h: _sig_func_ptr function takes an int
7540 * libc/include/sys/signal.h: sa_handler function takes an int
7541
7542Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
7543
7544 * libc/include/machine/ieeefp.h: Simplify H8/S support.
7545 * libc/include/sys/config.h: Add missing H8/S conditional.
7546
7547Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
7548
7549 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
7550
7551Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
7552
7553 * libc/include/machine/setjmp.h: Handle H8/S.
7554 * libc/include/machine/ieeefp.h: Likewise.
7555 * libc/include/sys/config.h: Likewise.
7556 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
7557 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
7558 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
7559 * libc/sys/h8300hms/crt0.S: Likewise.
7560
7561Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7562
7563 * Makefile.in (datadir): Set to $(prefix)/share.
7564 (oldincludedir, docdir): Removed.
7565 * doc/Makefile.in (datadir): Set to $(prefix)/share.
7566 (oldincludedir, docdir): Removed.
7567 * libc/Makefile.in (datadir): Set to $(prefix)/share.
7568 (oldincludedir, docdir): Removed.
7569 * libm/Makefile.in (datadir): Set to $(prefix)/share.
7570 (oldincludedir, docdir): Removed.
7571
7572Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
7573
7574 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
7575 _reent struct.
7576
7577Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
7578
7579 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
7580 fetch current path rules with sysconf and handler posix/win32
7581 appropriately.
7582
7583 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
7584
7585 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
7586 (WAIT_CHILD): Always define.
7587
7588Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
7589
7590 * libc/stdlib/eprintf.c: New file.
7591 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
7592 (eprintf.o): New target.
7593
7594Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
7595
7596 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
7597 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
7598
7599Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
7600
7601 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
7602 NT in PowerPC endianess cases.
7603
7604Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7605
7606 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
7607
7608Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7609
7610 * libc/string/strtok.c: Fix doc typo.
7611
7612Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7613
7614 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
7615 _next, _scanpoint, _signgam fields.
7616
7617 * libc/include/stdlib.h (rand_r): Added new declaration.
7618 (_rand_r, _srand_r): Removed declarations.
7619 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
7620 have been made obsolete by rand_r.
7621 * libc/stdlib/rand_r.c: New file, rand_r function as specified
7622 by POSIX.1c.
7623
7624 * libc/string/strtok.c: Update documentation to describe
7625 strtok_r().
7626
7627Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
7628
7629 * libc/include/sys/stat.h (stat structure): Use the expanded stat
7630 structure on Solaris, and PowerPC systems even though __svr4__ is
7631 defined.
7632
7633Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
7634
7635 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
7636
7637Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
7638
7639 * host/any: Use ../.. rather than .. to get to the main build
7640 directory. This matches the current layout of the build
7641 directory.
7642
7643Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
7644
7645 * libc/machine/h8300/__main.S: Delete. No longer needed.
7646 * libc/machine/h8300/Makefile.in: Corresponding changes.
7647 * libc/sys/h8300hms/crt1.c: New file.
7648 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
7649 * libc/sys/h8300hms/crt0.s: Call __main.
7650
7651 * libc/sys/h8300hms/crt0.S: Use temporary label names
7652 for branch targets.
7653
7654Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
7655
7656 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
7657
7658Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7659
7660 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
7661 .sdata on the PowerPC so that we can link newlib with code
7662 compiled with -msdata.
7663
7664Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
7665
7666 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
7667
7668Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
7669
7670 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
7671 exception handler to __cygwin_exception_handler.
7672
7673Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
7674
7675 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
7676
7677Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
7678
7679 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
7680 SunOS VPATH.
7681 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
7682 wcstombs.o): Likewise.
7683
7684Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
7685
7686 * libc/stdlib/environ.c (initial_env): New static local.
7687 (environ): Point to `initial_env'.
7688
7689 * libc/include/machine/setjmp.h: Clean up.
7690 (__H8300H__,__PPC__): Define _JBTYPE.
7691 (__arm__): Provide entry for.
7692 (sigjmp_buf): Delete.
7693 (jmp_buf): Use _JBTYPE if defined, otherwise int.
7694
7695Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
7696
7697 * libc/machine/h8300/strcmp.S: Sign extend the result to
7698 32bits so we don't lose with -mint32.
7699
7700Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
7701
7702 * libc/sys/go32/sys/errno.h: New file.
7703 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
7704 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
7705 errno's address (make compatible with rest of newlib).
7706 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
7707 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
7708
7709Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
7710
7711 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
7712 * libc/machine/sparc/Makefile.in: Build them.
7713 * libc/machine/sparc/machine/sparclet.h: New file.
7714
7715Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7716
7717 * libc/machine/sh/asm.h: New file.
7718 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
7719 support for SH3e's FP registers. Use asm.h.
7720
7721Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
7722
7723 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
7724 as first argument. Call _dtoa_r and pass the reent structure
7725 instead of calling __dtoa.
7726
7727Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
7728
7729 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
7730 the h8300, h8500, and others. Add comments for some rather
7731 dubious code.
7732
7733Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
7734
7735 * Makefile.in (check): Check that testsuite exists before cd.
7736
7737Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7738
7739 * libc/include/string.h (strsep): Correct prototype.
7740
7741Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
7742
7743 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
7744 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
7745 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
7746
7747Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
7748
7749 * libc/posix/{creat.c,isatty.c}: New files.
7750 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
7751
7752 * libc/sys/sparc64/crt0.S (environ): Delete.
7753 (.LHaveBias): Renamed from HaveBias.
7754
7755Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
7756
7757 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
7758 (_morecore_r): Delete SBRK_IS_ALLOC support.
7759
7760Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7761
7762 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
7763 module rather than touch, so we don't get warning messages when
7764 all of the libraries are combined into libc.a.
7765
7766Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
7767
7768 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
7769 crt0.s replaced by version in libgloss.
7770
7771Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7772
7773 * libc/reent/Makefile.in (OFILES): Add impure.o.
7774 * libc/reent/impure.o: New file, define initial reentrancy struct.
7775 * libc/reent/reent.c: Remove above definition.
7776
7777 * libm/math/sf_asinh.c: Fix typo.
7778
7779 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
7780 srf_ldexp.o.
7781
7782 * libm/libm.texinfo: Change documentation to reflect changes
7783 in reentrancy model.
7784 * libm/math/w_gamma.c: Likewise.
7785
7786Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
7787
7788 * configure.in (*-*-cygwin32): New.
7789 (*-*-win32): Deleted.
7790 * libc/sys/win32 renamed libc/sys/cygwin32.
7791
7792Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7793
7794 * libc/include/sys/file.h: New include file.
7795
7796Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
7797
7798 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
7799
7800Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
7801
7802 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
7803
7804Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7805
7806 * doc/makedoc.c (realloc): Declare at file scope.
7807 (catchar): Not here.
7808
7809Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
7810
7811 * Makefile.in (VERSION): Update to 1.7.0.
7812 * {libc,libm}/Makefile.in (VERSION): Likewise.
7813 * configure.in: Minor clean up of multilib stuff.
7814
7815 From David Johnson <davidj@ICSI.Berkeley.EDU>
7816 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
7817
7818 * libc/stdlib/environ.c: New file.
7819 * libc/stdlib/Makefile.in (OFILES): Build it.
7820 * libc/sys/h8500hms/crt0.c (environ): Deleted.
7821 * libc/sys/m88kbug/crt0.c (environ): Deleted.
7822 * libc/sys/z8ksim/crt0.c (environ): Deleted.
7823 * libc/sys/netware/environ.c: Deleted.
7824
7825Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
7826
7827 * configure.in (links): set sys_dir, posix_dir, syscall_dir
7828
7829Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7830
7831 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
7832 declaration out to external scope and declare it PTR, not char *.
7833
7834Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
7835
7836 * libc/include/sys/unistd.h (getpagesize): New declaration.
7837 (_SC_PAGESIZE): New definition.
7838 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
7839 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
7840
7841Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
7842
7843 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
7844 addressing. System call returns size, not (last address + 1).
7845
7846Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7847
7848 * libm/math/*.c: Removed _foo_r() reentrancy API.
7849 * libc/include/math.h: Removed _foo_r prototypes and macros.
7850
7851 * libm/math/*.c: On systems with IEEE single precision "doubles"
7852 move foo() -> foof() wrapper code from the files that implement
7853 the standard IEEE double precision functions to the files that
7854 implement IEEE single precision functions. (ie. On those systems
7855 sin is moved from s_sin.c to sf_sin.c). There should eventually
7856 be use of a C extension (like gcc's alias attribute) so that the
7857 wrappers are not needed at all.
7858
7859 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
7860 strict NEC V810 compiler.
7861 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
7862 for same reason.
7863
7864Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7865
7866 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
7867 from NetBSD C library.
7868 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
7869
7870 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
7871 and adapted from implementation I wrote for NetBSD C library.
7872 The difference is __assert doesn't take a format argument,
7873 so that there won't be multiple copies of the same string
7874 constant in the executable if assertions are enabled in
7875 more than one source module.
7876 * libc/include/assert.h (assert): Changed to call __assert.
7877
7878Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7879
7880 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
7881 word1 on systems with 32 bit doubles.
7882 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
7883 so that we can do arithmetic on them.
7884 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
7885 compilers.
7886
7887Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
7888
7889 * libc/sys/arm/crt0.S: Zero bss.
7890
7891Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
7892
7893 * libc/include/unctrl.h: New file.
7894 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
7895 * configure.in (subdirs): Add libc/misc.
7896 * libc/Makefile.in (SUBDIRS): Add misc.
7897 (SUBLIBS): Add misc/lib.a.
7898
7899 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
7900
7901Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
7902
7903 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
7904 (_vfprintf_r): Call CHECK_INIT.
7905
7906Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
7907
7908 * Makefile.in (MULTITOP): Delete.
7909 (MULTISRCTOP, MULTIBUILDTOP): Add.
7910 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
7911 instead of cfg-ml-pos.in.
7912
7913Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7914
7915 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
7916 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
7917 presence.
7918
7919Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7920
7921 * libc/string/strtok.c: Include string.h to pick up strtok_r
7922 prototype.
7923
7924Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7925
7926 * libc/string/strtok.c: include <_ansi.h>.
7927 * libc/time/asctime_r.c: `reresult' -> `result'.
7928
7929Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7930
7931 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
7932 in #ifndef _REENT_ONLY ... #endif conditional.
7933
7934 * libc/include/string.h (_strtok_r): Remove declaration.
7935 * libc/include/time.h (_asctime_r): Remove declaration.
7936 * libc/string/strtok.c (_strtok_r): Removed.
7937 * libc/time/asctime.c (_asctime_r): Removed.
7938
7939 * libc/string/Makefile.in (OFILES): Add new object.
7940 * libc/string/strtok_r.c: New file. strtok_r function as
7941 specified by POSIX.1c, adapted from strtok implementation
7942 from NetBSD C library.
7943 * libc/string/strtok.c (strtok): Reimplemented in terms of
7944 strtok_r.
7945
7946 * libc/time/Makefile.in (OFILES): Add new objects.
7947 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
7948 New files, reentrant time functions specified by POSIX.1c.
7949 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
7950 reentrant time functions re-written in terms of reentrant
7951 functions.
7952 * libc/time/lcltime.c: Renamed from localtime.c
7953
7954 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
7955 gmtime_r, and localtime_r.
7956
7957Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
7958
7959 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7960 * libc/include/sys/unistd.h (getlogin): Revert change of
7961 Oct 19.
7962 * libc/include/sys/signal.h (sigprocmask): Change prototype
7963 so it compiles with c++.
7964
7965Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
7966
7967 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7968 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
7969 to give some room in case we need to align the jmp_buf.
7970
7971 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7972 the new ppc-asm.h include file the compiler provides to specify
7973 function prologue/epilogue. Eliminate saves of the xer and ctr
7974 registers, which are volatile. Before starting to save registers,
7975 align to 8 byte boundary.
7976
7977Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7978
7979 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7980 referenced by standard libraries.
7981
7982Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
7983
7984 * libc/unix/Makefile.in, libc/string/Makefile.in,
7985 libc/stdio/Makefile.in, libc/reent/Makefile.in,
7986 libc/posix/Makefile.in:
7987 Remove tabs from otherwise empty line. Confuses some
7988 older non-GNU versions of "make".
7989
7990Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
7991
7992 * libc/sys/unistd.h (getlogin): Returns const char *.
7993
7994Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
7995
7996 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7997 * libc/include/errno.h: Moved into and include...
7998 * libc/include/sys/errno.h: New file.
7999 * libc/include/sys/wait.h: New file.
8000 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
8001 * libc/sys/win32/*: Moved out.
8002 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
8003 * configure.in (i[345]86-*-win32): HAVE_RENAME
8004
8005Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8006
8007 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
8008 avoid macro expansion for these two names.
8009
8010Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
8011
8012 * libc/machine/h8500/psi.S: r6 renamed to fp.
8013
8014Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
8015
8016 * configure.in (powerpc*): No longer need to define
8017 NO_LONGLONG_POINTERS to supress warnings.
8018
8019Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8020
8021 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
8022 through PTR instead of directly.
8023
8024 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
8025 non-standard constructor support.
8026
8027Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8028
8029 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
8030 address of the Bigint instead of the address of its _x field,
8031 as the size the result buffer was calculated accordingly.
8032 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
8033
8034 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
8035 from NetBSD C library. No longer special cases division by
8036 zero (which needs to be done by the application anyway), but
8037 it doesn't need to call abs() (or labs()) four times either.
8038
8039 * libc/stdlib/qsort.c: Replaced with implementation from
8040 NetBSD C library.
8041
8042Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8043
8044 * libc/stdio/vfprintf.c: Replaced with implementation from
8045 NetBSD C library (which is derived from the 4.4BSD C library).
8046 * libc/stdio/cvt.c: Removed.
8047 * libc/stdio/Makefile: Updated.
8048
8049Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
8050
8051 * libc/sys/win32/syscalls.c (rename): New.
8052 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
8053
8054Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8055
8056 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
8057 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
8058
8059 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
8060 (setjmp.o): Delete rule to build setjmp.o.
8061 * libc/sys/sh/setjmp.S: Delete file.
8062
8063Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8064
8065 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
8066 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
8067 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
8068 pow5mult and s2b to identifiers with leading underscores.
8069 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
8070 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
8071
8072Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
8073
8074 * libc/sys/posix/popen.c (sys/types.h): Include.
8075
8076Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
8077
8078 * libc/sys/win32/syscalls.h (fhandler): New struct.
8079 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
8080 (__fhandler_normal): Declare.
8081 (hinfo): New member op_handlers.
8082 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
8083 (__write): Likewise.
8084 (_read, _write, _open, _close, _lseek): Validate fd here.
8085 Move file type specific stuff to foo_normal.
8086 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
8087 New functions.
8088 (__lookup_fhandler): New function.
8089 (__lookup_fhandler_hook, __fhandler_normal): New variables.
8090
8091 From anders.blomdell@control.lth.se (Anders Blomdell)
8092 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
8093 Don't touch standard handles.
8094 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
8095 (_execve): Only create __FD_TABLE__ if necessary.
8096 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
8097
8098Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
8099
8100 * libc/sys/win32/sys/termios.h (FLUSHO): New.
8101 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
8102 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
8103 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
8104 without a handler is received.
8105 * libc/sys/win32/Makefile.in: Remove --nodelete.
8106 * libc/sys/win32/resouce.c (gettimeofday): New.
8107 * libc/sys/win32/syscalls.c (path_to_real_path): New.
8108 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
8109
8110Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
8111
8112 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
8113 Don't append "/*" to search pattern if trailing '/' already there,
8114 append "*".
8115 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
8116 like /'s, convert them to \'s. Handle //<drive>/ path names.
8117 Add space for quoted \'s in arg string. Print translated prog name
8118 and original prog name.
8119 (_execve): Handle parent doing exec a teensy bit better.
8120 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
8121 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
8122 path needs conversion, handle both cases. Delete `const' from result.
8123 (hash_path_name): New function.
8124 (_open): Call it.
8125 (_stat): Likewise. Fill in more fields for directories.
8126 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
8127 (wait_for_any): Fix trace message.
8128 (waitpid): Explicitly test for intpid == 0.
8129
8130 From anders.blomdell@control.lth.se (Anders Blomdell)
8131 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
8132 so `next' is valid.
8133
8134Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
8135
8136 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
8137 complicated.
8138
8139Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8140
8141 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
8142 at all, not just == 1.
8143 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8144
8145Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8146
8147 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
8148 * libc/sys/win32/include/wintypes.h: include <winnt.h>
8149 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
8150 file.
8151
8152Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
8153
8154 * libc/sys/syscalls.c (getcwd): Fix off by one error.
8155
8156 * libc/sys/signal.c (sleep): Fill it in.
8157 * libc/sys/termios.c (tcflush): Use PurgeComm
8158 (tcsetattr): Set some more of the bits.
8159 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
8160
8161Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
8162
8163 * libc/sys/arm/crt0.S (fp): Initialize to 0.
8164 Conditionally include .idata$3 stuff ifdef __pe__.
8165
8166Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
8167
8168 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
8169 * libc/sys/win32/pipe.c (pipe): Ditto.
8170 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
8171 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
8172 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
8173 (tcgetattr): Contents are new.
8174 * libc/sys/win32/include/winkernel.h (DCB): New.
8175 (GetCommState, SetCommState): New.
8176
8177Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
8178
8179 * libc/sys/arm/crt0.S (_start): Define.
8180
8181Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
8182
8183 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
8184 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
8185
8186 * libc/sys/win32/sysconf.c: New
8187 * libc/sys/win32/sys/winadvapi.h: New
8188 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
8189 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
8190 * libc/sys/win32/pipe.c (pipe): Ditto.
8191 * libc/sys/win32/signal.c (_raise): New.
8192 (_kill): Moved from spawn.c
8193 * libc/sys/win32/spawn.c (kill): Moved to signal.c
8194 * libc/sys/win32/syscalls.c (__read): Use new fields.
8195 (_open): Ditto.
8196 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
8197 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
8198 * libc/include/sys/unistd.h (rmdir): Takes const path.
8199 * libc/include/sys/stat.h (mkdir): Takes const path.
8200 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
8201
8202Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
8203
8204 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
8205
8206 Add support for specifying paths as //<drive>/foo/bar.
8207 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
8208 (__path_to_real_path): Declare.
8209 (PATH_TO_REAL_PATH): New macro.
8210 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
8211 (__path_needs_conversion_p, __path_to_real_path): New functions.
8212 (_open): Fix test for error return from CreateFileA.
8213 Handle new path syntax.
8214 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
8215 * libc/sys/win32/dirsearch.c (opendir): Likewise.
8216
8217Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
8218
8219 * libc/sys/win32/include/*.h: Reorganized
8220 * libc/sys/win32/include/WINREADME: New.
8221 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
8222 * libc/sys/win32/*.c: Fix for new include scheme.
8223 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
8224 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
8225 * libc/sys/win32/passwd.c (*): Fix.
8226 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
8227 (_stat): Get directory owner and permissions right.
8228 * libc/sys/win32/syscalls.h (uinfo): New.
8229 * libc/sys/win32/version.def: Remove leading underscores.
8230
8231Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8232
8233 * libc/sys/win32/key.c: include "include/wincon.h".
8234
8235Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
8236
8237 * libc/sys/win32/{key, stubs}.c: New.
8238 * libc/sys/win32/Makefile: Adjust to cope.
8239 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
8240 (environ_init): Change env names to upper case.
8241 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
8242 * libc/sys/win32/passwd.c (*): Fill in the functions.
8243 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
8244 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
8245 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
8246 (_open): Initialze hmap->execable_p too.
8247 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
8248 (_fstat): Fill in permissions.
8249 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
8250
8251Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
8252
8253 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
8254 if defined.
8255 (cfg-ml-pos.in invocation): Likewise.
8256
8257Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8258
8259 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
8260 s_isnan.o and sf_isnan.o.
8261
8262Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
8263
8264 * All Makefile.in files: added maintainer-clean target as a
8265 synonym for realclean.
8266
8267Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
8268
8269 * libc/include/machine/setjmp.h: Add hppa support.
8270 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
8271 support.
8272 * libc/machine/hppa/Makefile.in: Related changes.
8273
8274Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
8275
8276 * configure.in (machine_dir): Don't set for v810-*-*.
8277
8278Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8279
8280 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
8281 conventions correctly.
8282
8283Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
8284
8285 * libc/stdio/puts.c: Update documentation of return value to match
8286 ANSI standard.
8287
8288Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
8289
8290 Fix file descriptor inheritance.
8291 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
8292 (NOT_OPEN_FD): Fix.
8293 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
8294 close-on-exec flag not set. Initialize child's entire fd table.
8295 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
8296 CHILD_P.
8297 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
8298 if CHILD_P. Initialize entire hmap entry.
8299 (dup): Only create new handle as inheritable if CHILD_P.
8300 (dup2): Likewise. Properly initialize hmap entry.
8301
8302 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
8303 _spawn.
8304 (_exit): Use CHILD_P.
8305 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
8306 (_stat): Likewise.
8307
8308Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8309
8310 * libc/sys/win32/crt0.c (passover): fix up the state table.
8311 * libc/posix/popen.c: Added.
8312 * libc/posix/Makefile.in: compile popen.c.
8313
8314Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
8315
8316 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
8317 h8/500 define _DOUBLE_IS_32BITS.
8318
8319Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
8320
8321 Get vfork/exec/spawn/cwait/wait working again.
8322 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
8323 (procinfo): New member vfork_level.
8324 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
8325 (vfork_init_first): Use GetCurrentProcessId to get pid.
8326 Initialize vfork_level.
8327 (vfork_init): Delete __PID__.
8328 (environ_init): New function. Undo patch of Aug 19, Posix says
8329 environment variables are case sensitive.
8330 (mainCRTStartup): Call it.
8331 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
8332 (my_longjump: Make static.
8333 (_spawn): New argument `h'. Delete setting of __PID__.
8334 Delete local `idx'. Look for chars that need quotes, rather than
8335 ones that don't. Set handle of created process in `h'.
8336 Result is process id if created task.
8337 (allocate_spawn_entry): New function.
8338 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
8339 (_execve): Set __FD_TABLE__ before spawning child.
8340 Scan our fd table when passing fds, not our parent's.
8341 Store handle and pid in procinfo entry.
8342 (vfork0): Ensure strace message always printed.
8343 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
8344 (vfork): Don't clobber result of vfork0.
8345 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
8346 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
8347
8348 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
8349 and `exit_code'.
8350 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
8351 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
8352 adding vfork level to pseudo-pid.
8353 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
8354 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
8355 (_exit): If child, set exit code.
8356 (__vfork_record_death): Only close process handle if valid.
8357 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
8358 didn't exec.
8359 (wait_for_any): Likewise. Start scan after root entry.
8360
8361Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8362
8363 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
8364 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
8365 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
8366 of actual file length.
8367
8368 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
8369 * libc/include/paths.h: _PATH_BSHELL added.
8370 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
8371 and STDERR_FILENO.
8372
8373Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8374
8375 * libc/include/ar.h: Added.
8376 * libc/include/sys/types.h: ino_t goes back to 32-bits.
8377 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
8378 * libc/sys/win32/syscalls.c (_open): compute .namehash based
8379 on filename.
8380 (_fstat): use .namehash for inode number of the fd.
8381
8382Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
8383
8384 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
8385 Change hinfo to __this_procinfo.
8386 * libc/sys/win32/crt0.c: Remove procinfo_list.
8387
8388Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8389
8390 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
8391 win32 environment.
8392
8393Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8394
8395 * libc/sys/win32/include/grp.h: Removed.
8396 * libc/sys/include/grp.h: Added.
8397 * libc/sys/win32/grp.c: Include <grp.h>.
8398
8399Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
8400
8401 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
8402 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
8403 Defined for all but strict ANSI.
8404 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
8405 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
8406 * libc/signal/signal.c (_signal_r): Changed from using
8407 _MAX_SIGNALS to NSIG.
8408 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
8409 __hmap): Deleted.
8410 (__strace, __vfork_next_pid): New.
8411 (__exe_suffix): Default to 1.
8412 (passover, table): Understand quoted arguments.
8413 (vfork_init_first): New.
8414 (vfork_init): Initialize new process structure.
8415 (mainCRTStartup): Pass environ to main.
8416 * exceptions.c (__sig_mask): New
8417 (ehandler3): Ignore signals in mask.
8418 (really_exit): Remove CHILD_P test.
8419 * pipe.c (pipe, dup, dup2): Use new process and file structure.
8420 * resource.c (getrusage): Ditto.
8421 * signal.c (sigprocmask): New.
8422 * spawn.c (*): Rewritten.
8423 * syscalls.c (*): Use new process and file structure.
8424 (find_unused_handle): New.
8425 * syscalls.h (MAX_HANDLES): Deleted.
8426 (hinfo): Removed child_created_p.
8427 (MAX_CHILDREN): Deleted.
8428 (vfork_jmp_info, procinfo): New.
8429 * wait.c (*): Mostly new.
8430 * sys/strace.h (_STRACE_PARANOID): New.
8431 * sys/param.h: New file.
8432
8433Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8434
8435 * libc/include/sys/stat.h: add S_BLKSIZE.
8436 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
8437 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
8438 types under win32.
8439 (mode_t): add a #else to avoid multiple definitons.
8440
8441 * libc/sys/win32/Makefile.in: add grp.c.
8442 * libc/sys/win32/grp.c: include grp.h correctly.
8443 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
8444 of the st structure with real information.
8445 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8446
8447Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
8448
8449 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
8450 and (maybe) sparc64.
8451 (nlink_t): Provide typedef.
8452
8453Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8454
8455 * libc/sys/win32/grp.c: New file.
8456 * libc/sys/win32/include/grp.h: New file.
8457
8458Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8459
8460 * libc/include/machine/ieeefp.h: Added whitespace to make this
8461 file easier to maintain.
8462 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
8463 depending on the value of __LITTLE_ENDIAN__.
8464 On the sh3e, define _DOUBLE_IS_32BITS.
8465
8466Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
8467
8468 * libc/sys/vr4300/syscalls.c: Added missing support
8469 routines. _raise() and getpid().
8470
8471Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
8472
8473 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
8474
8475Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
8476
8477 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
8478 and VR4300 processor.
8479 * libc/sys/vr4300: Add directory.
8480 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
8481 monitor run-time support.
8482
8483Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8484
8485 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
8486 * libc/stdlib/stdlib.tex: Don't include atol.def.
8487
8488Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8489
8490 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
8491
8492Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
8493
8494 * libc/ctype/Makefile.in: Fill in _to* dependencies.
8495
8496Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
8497
8498 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
8499 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
8500 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
8501 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
8502 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
8503
8504Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8505
8506 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
8507
8508Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8509
8510 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
8511 * libc/stdlib/atoff.c: New file.
8512 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
8513 * libc/stdlib/atoi.c (atol): Removed.
8514 * libc/stdlib/atol.c: Removed duplicate documentation.
8515
8516 * libc/include/ctype.h (_tolower, _toupper): Moved inside
8517 #ifndef _STRICT_ANSI conditional.
8518 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
8519 * libc/ctype/_tolower.c: New file.
8520 * libc/ctype/_toupper.c: New file.
8521 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
8522 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
8523 * libc/ctype/toascii.c (_toascii): Removed.
8524
8525Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
8526
8527 * libc/sys/sparc64/sys/types.h: Deleted.
8528
8529Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8530
8531 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
8532 and recognize Windows_95 systems.
8533
8534Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8535
8536 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
8537 and passed fds should be opened in text mode.
8538
8539Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8540
8541 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
8542 in __hmap, set to binary mode by default.
8543
8544Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8545
8546 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
8547 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
8548 vector 34.
8549
8550Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
8551
8552 * Makefile.in (install): Install all libraries found in the
8553 top level. If there's a sys/<type>/include directory,
8554 install those headers into include.
8555
8556 * libc/sys/win32/kernel.def351: Delete
8557 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
8558 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
8559 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
8560 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
8561 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
8562 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
8563 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
8564 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
8565
8566 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
8567 * libc/sys/win32/crt0.c: Force all env names to upper case.
8568 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
8569 * libc/sys/win32/*.c: Headers have moved.
8570 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
8571 __vfork_child_idx is now __vfork_child_ptr.
8572
8573 * posix/execvp (execvp): Don't crash if no PATH envname.
8574
8575Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8576
8577 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
8578 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
8579 through the _freelist instead of through the _reclaim list.
8580 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
8581 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
8582 sources.
8583
8584Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8585
8586 * libc/machine/h8500/setjmp.S: New file.
8587 * libc/include/machine/setjmp.h: Updated for H8/500.
8588
8589Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
8590
8591 * libc/sys/win32/syscalls.c (_open): More stracing.
8592 (_stat): Open the file in O_BINARY.
8593
8594Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8595
8596 * libc/machine/h8300/setjmp.S: New file.
8597 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
8598
8599Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
8600
8601 * libc/sys/win32/crt0.c (__exe_suffix): New global.
8602 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
8603 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
8604 __exe_suffix. Free fd_tab after setting env variable.
8605 (spawnv,_execve): Update.
8606 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
8607 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
8608 (__small_vfprintf): New function.
8609 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
8610 * libc/sys/win32/wait.c (cwait): Validate argument.
8611
8612 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
8613 (process_deletion_queue): Likewise.
8614
8615 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
8616
8617Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
8618
8619 * libc/sys/win32: Copyrights and gratuitous indenting.
8620
8621Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
8622
8623 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
8624 (process_deletion_queue): Likewise.
8625 (__close_all_files): New function.
8626 (_close): Only queue file deletion if really a file.
8627 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
8628 _P_APPEND_EXE.
8629 (_exit): Call __close_all_files.
8630
8631 * libc/stdlib/system.c: #include <errno.h>.
8632 (_system_r): Fix results in -DNO_EXEC case.
8633
8634 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
8635 Reorganize structure.
8636 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
8637 if argument is valid. Save directory name in DIR. malloc space
8638 for dirent struct separately.
8639 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
8640
8641 * libc/include/errno.h (ENAMETOOLONG): Define.
8642 * libc/string/strerror.c (strerror): Reword ENFILE.
8643 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
8644
8645Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
8646
8647 * libc/sys/win32/crt0.c (__progname): New global.
8648 (mainCRTStartup): Support strace=bitmask,filename.
8649 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
8650 * libc/sys/win32/syscalls.c (_write): Print parent trace message
8651 if error.
8652 (getcwd): Handle len too small. Convert '\\' to '/'.
8653 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
8654 Add prototypes for open, creat, fcntl.
8655 (O_APPEND): Change value to conform to Microsoft's value.
8656 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
8657
8658 * libc/stdlib/getopt.c: New file.
8659 * libc/stdlib/Makefile.in: Build it.
8660
8661Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
8662
8663 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
8664 Fix scanning of $PATH.
8665 * libc/posix/exec*.c: Call _execve, not execve.
8666 * libc/posix/execve.c: New file.
8667 * libc/posix/Makefile.in (OFILES): Add execve.o.
8668
8669 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
8670 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
8671 (_STRACE): If level==0, always print. Handle new bit mask scheme.
8672 * libc/sys/win32/crt0.c: Update _STRACE calls.
8673 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
8674
8675 * libc/sys/win32/smallprint.c (rn): Fix digit list.
8676
8677 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
8678 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
8679 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
8680 Print __seterrno trace message first.
8681 (_execve): Renamed from execve.
8682 (vfork): Update __strace usage.
8683 (__vfork_child_pid): Deleted.
8684 (__vfork_children, __vfork_child_idx): New globals.
8685 (_spawnvp): New function.
8686 (spawnvp, spawnv, _execve): Call _spawnvp.
8687 (init_child): Record child in __vfork_children.
8688 (__vfork_get_entry, __vfork_record_death): New functions.
8689 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
8690 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
8691 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
8692 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
8693 (children): New typedef.
8694 (__vfork_children,__vfork_child_idx): Declare.
8695 (__vfork_get_entry,__vfork_record_death): Declare.
8696 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
8697 (waitpid): Handle pid == -1.
8698 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
8699 * configure.in (i386-win32): Add -DNO_FORK.
8700 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
8701 * libc/reent/execr.c (_fork_r): Likewise.
8702 * libc/stdlib/system.c (do_system): New function.
8703 If WIN32, try to get shell path from $SH_PATH, use vfork.
8704 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
8705 otherwise return 0.
8706
8707Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
8708
8709 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
8710 * libc/sys/win32/fcntl.h: Don't include self.
8711 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
8712 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
8713 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
8714 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
8715 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
8716 Correct prototypes.
8717 * libc/sys/win32/strace.c: New file.
8718 * libc/sys/win32/smallprint.c: New file.
8719 * libc/sys/win32/crt0.c (func): Delete.
8720 (mainCRTStartup): Fix alloca usage. Set handles explictly.
8721 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
8722 * libc/sys/win32/exceptions.c: Lint.
8723 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
8724 Clean up handle usage.
8725 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
8726 (open.c): Default file type is text.
8727 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
8728 * libc/sys/win32/advapi32.def: New
8729
8730Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
8731
8732 * configure.in (posix_dir, libc_posix_lib): New variables.
8733 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
8734 (i[345]86-*-win32): Define posix_dir.
8735 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
8736 (if unix_dir): Fix typo.
8737 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
8738 scandir,seekdir,telldir}: New files.
8739 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
8740 from libc/unix.
8741 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
8742 (SUBDIRS): Add posix.
8743 (SUBLIBS): Add $(LIBC_POSIX_LIB).
8744
8745 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
8746 (NSIG): Increase to 21.
8747 * libc/include/sys/unistd.h (pid_t): Move from here,
8748 * libc/include/sys/types.h (pid_t): to here.
8749
8750 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
8751 (__ptrace): Delete.
8752 (hinfo): New members close_exec_p, child_created_p.
8753 (struct exception_list): Define.
8754 (__hmap): Redefine as pointer to table.
8755 (__parent_hmap, __child_hmap): New globals.
8756 (__set_errno, __really_exit): Declare.
8757 (__vfork_child_pid): Declare.
8758 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
8759 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
8760 (__parent_hmap, __child_hmap): New globals.
8761 (__hmap): Redefine as pointer to active map.
8762 (__get_console): New function.
8763 (mainCRTStartup): Change leading '=' in environ vars to '!'.
8764 (env __FD_TABLE__): Watch for this and initialize our fd/handle
8765 mapping table from it if defined.
8766 (argv, envp): Dump if __strace >= 4.
8767 (main): Call here.
8768 * libc/sys/win32/exceptions.c (myp): Redefine.
8769 (__syscalls_b): Delete.
8770 (__stack_trace): New function.
8771 (ehandler3): Update to use _STRACE. Print stack trace.
8772 Call __really_exit instead of exit.
8773 (init_exceptions): Delete args argc,argv. New arg mine.
8774 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
8775 FindFirstFileA, FindNextFileA, GetComputerNameA,
8776 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
8777 * libc/sys/win32/signal.c (signal): Validate arg.
8778 (alarm, sleep): Define as stubs for now.
8779 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
8780 (__syscalls_b, errno): Delete.
8781 (__vfork_child_pid, __vfork_jmp_buf): New globals.
8782 (__seterrno): Handle more errors.
8783 (__sys_printf): Renamed from _ptrace.
8784 (__really_exit): New function.
8785 (queue_file_deletion, process_deletion_queue): New functions.
8786 (__resume_parent): New function.
8787 (_unlink): Handle trying to delete open file.
8788 (__totime_t): Renamed from totime_t.
8789 (setsid, __read, __write): New functions.
8790 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
8791 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
8792 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
8793 * libc/sys/win32/console.c: Update to new definition of __hmap.
8794 * libc/sys/win32/Makefile.in: Build new files.
8795 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
8796 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
8797 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
8798 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
8799
8800Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
8801
8802 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
8803
8804Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8805
8806 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
8807 have been made to the master dtoa.c sources (from netlib.att.com)
8808 since they were integrated into newlib in early 1992. Fixes
8809 problems with storage leaks and handling of numbers with very
8810 negative exponents.
8811
8812Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8813
8814 * Makefile.in (all): set rootpre and srcrootpre before calling
8815 sub-makes.
8816
8817Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
8818
8819 * libc/sys/win32/crt0.c: Change __hmap usage.
8820 * libc/sys/win32/exceptions.c: Use _ptrace call.
8821 * libc/sys/win32/syscalls.c: Use _ptrace call.
8822 (read, write): Cope with DOS style CRLF when in TEXT mode.
8823 * libc/sys/win32/syscalls.h: Declare hinfo struct.
8824 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
8825 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
8826 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
8827 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
8828
8829Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8830
8831 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
8832
8833 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
8834 wrappers for hypot() and remainder() for BSD libm compatibility.
8835 These are public domain implementations written by me for the
8836 NetBSD libm some time ago. Note cabs() is required by ucbtest.
8837 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
8838 (fobj): Added wf_cabs.o and wf_drem.o.
8839
8840Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8841
8842 * libc/sys/h8500hms/misc.c: New file.
8843 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
8844
8845Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8846
8847 * libc/time/localtime.c (localtime): Fix problem with leap year
8848 handling. Stole algorithm from Arthur David Olson's tz code.
8849
8850Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
8851
8852 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
8853
8854 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
8855 (_exit): Use argument.
8856
8857Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
8858
8859 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
8860
8861Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
8862
8863 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
8864
8865Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8866
8867 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
8868 target_cflags.
8869
8870Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
8871
8872 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
8873 ptrace with case insensitivity
8874 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
8875 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8876 New files.
8877
8878Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
8879
8880 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8881 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
8882 (all, install, *clean): Use new multilib support.
8883 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8884
8885Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
8886
8887 * libc/include/sys/signal.h (__WIN32__): New.
8888
8889 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
8890
8891 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
8892 (ulp, b2d): Handle 32 bit doubles.
8893 * libc/stdlib/mprec.h: Handle 32 bit doubles.
8894 * libc/stdlib/strtod.c (_strtod_r): Ditto.
8895
8896Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
8897
8898 from medp@primag.co.uk:
8899 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
8900 dynamically allocated buffers.
8901
8902Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
8903
8904 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
8905 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
8906
8907Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8908
8909 * configure.in (powerpc): Fix previous fix.
8910
8911Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8912
8913 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
8914 directories for this target.
8915
8916Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8917
8918 * configure.in (hppa): Add machine_dir definition.
8919 * libc/machine/hppa: New directory with PA specific implementations
8920 of the basic memory/string functions.
8921
8922Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8923
8924 * configure.in: Update current PowerPC multilib directories.
8925 Split big and little endian configurations.
8926
8927Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
8928
8929 * configure.in: Add --enable-single-float option to configure to
8930 control use of MIPS single-float directories. Default to yes.
8931
8932 * Makefile.in (all): Don't recurse into multilib directory if it
8933 does not exist.
8934
8935Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8936
8937 * libc/sys/sh/syscalls.c: Fix typo.
8938
8939Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
8940
8941 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
8942 Pass down DLLTOOL.
8943 * libc/include/process.h: Define WAIT_CHILD.
8944 * libc/include/types.h: Get sizes right for win32.
8945 * configure.in (i386-*-pe): Becomes i386-win32.
8946 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8947 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
8948 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
8949 is defined.
8950
8951Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
8952
8953 * configure.in (i[345]86-*-pe): New target (NT).
8954 * host/any: DLLTOOL new.
8955 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8956 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
8957 WIN32 (just enough to cross host the comp-tools).
8958
8959Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
8960
8961 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8962 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
8963
8964Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
8965
8966 * libc/include/machine/ieeefp.h (arm): Change to always be
8967 __IEEE_BIG_ENDIAN (even on little endian ARM's).
8968
8969Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
8970
8971 * libc/sys/crt0.S: Initialze sp, and call exit after main.
8972 * libc/sys/syscalls.c (abort): New.
8973 * configure.in (arm): Define ABORT_PROVIDED.
8974
8975Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8976
8977 * configure.in (powerpc): Define multidirs.
8978
8979Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
8980
8981 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8982
8983Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
8984
8985 * configure.in (sparclite): Delete target_cflags. Define multidirs.
8986
8987Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
8988
8989 * configure.in, libc/include/machine/ieeefp.h: Modified
8990 for arm:
8991 libc/machine/arm/*, libc/sys/arm/*: New
8992
8993Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8994
8995 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8996 __powerpc__ when determining endianness.
8997
8998Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8999
9000 * configure.in (m68*): Add multidir for the m68332.
9001
9002 * host/any (CC): Fix typo in last change.
9003
9004Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
9005
9006 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
9007 when determining endianness.
9008 * libc/include/machine/ieeefp.h: Ditto.
9009 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
9010 operands.
9011
9012Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
9013
9014 * libc/include/errno.h (ENOTEMPTY): Define.
9015
9016Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9017
9018 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
9019 target_cflags.
9020
9021 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
9022 and umultiply.o.
9023
9024 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
9025 instead of only when open succeeds. ANSI requires that multiple
9026 calls to tmpnam() result in different files.
9027
9028 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
9029 objects pulled in from /lib/libc.a that must be renamed before
9030 being pulled into newlib. /lib/libc.a's div.o conflicted with
9031 newlib's file with the same name.
9032
9033 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
9034
9035 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
9036 the build tree will only be used if the executables are present
9037 (instead of just the Makefiles).
9038
9039 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
9040 wcstombs): Define.
9041 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
9042 versions of these functions that I orignally wrote for the
9043 NetBSD C library.
9044 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
9045 versions I wrote for NetBSD.
9046
9047Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
9048
9049 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
9050 * libc/sys/sparclite/crt0.s: ditto.
9051
9052Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
9053
9054 * configure.in: Add soft-float for proelf.
9055
9056Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
9057
9058 * libc/stdlib/mprec.h (Bcopy): Copy the right number
9059 of bytes.
9060
9061Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
9062
9063 * Makefile.in (all): Depend on `force'.
9064 * configure.in (syscall_dir): Renamed from fake_sys_dir.
9065 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
9066 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
9067 * libc/Makefile.in: Likewise.
9068 * libc/include/reent.h: Update syscall references.
9069 (_fcntl_r): Add prototype.
9070 * libc/syscalls/*.c #include <reent.h>.
9071 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
9072
9073Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
9074
9075 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
9076 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
9077 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
9078 (time.h, sys/types.h): Always include (even if MSDOS).
9079 (stat): Fix prototype.
9080
9081Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
9082
9083 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
9084
9085Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9086
9087 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
9088
9089Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
9090
9091 * libc/include/regdef.h: New file.
9092 * libc/machine/mips/machine/regdef.h: New file.
9093
9094Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
9095
9096 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
9097
9098Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
9099
9100 * libc/sys/sh/crt0.S: Pass main's return to exit.
9101 * libc/sys/sh/trap.S: Put errno in the right place.
9102
9103Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9104
9105 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
9106 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
9107 * libm/math/ef_rem_pio2.c: Likewise.
9108 * libm/math/e_log10.c: Remove unused static one.
9109 * libm/math/ef_log10.c: Likewise.
9110 * libm/math/s_frexp.c: Likewise.
9111 * libm/math/sf_frexp.c: Likewise.
9112
9113Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
9114
9115 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
9116 longjmp.S: Upgraded.
9117 * libc/sys/go32/sys/setjmp.h: Upgraded.
9118 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
9119
9120Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9121
9122 * configure.in: Add many entries to multidirs for mips targets.
9123
9124Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9125
9126 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
9127 5.2 which fixes bug where jn(-1,x) is three times larger than
9128 the actual answer.
9129 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
9130
9131Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
9132
9133 * libc/sys/w65/sys/syscalls.h: New file
9134 * libc/include/machine/ieeefp.h: W65 support.
9135 * libc/include/sys/config.h: Ditto.
9136 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
9137 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
9138 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
9139
9140Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9141
9142 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
9143
9144Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
9145
9146 * Makefile.in, configure.in: Remove any references to the old
9147 "stub" dir.
9148
9149Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9150
9151 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
9152 uses ... in prototype.
9153
9154
9155Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
9156
9157 * libc/sys/a29khif/sys/libconfig.h: Remove.
9158 * libc/sys/go32/sys/libconfig.h: Remove.
9159 * libc/sys/sun4/sys/libconfig.h: Remove.
9160 * libc/sys/sysvi386/sys/libconfig.h: Remove.
9161 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
9162 * libc/sys/sparc64/sys/libconfig.h: Remove.
9163
9164 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
9165 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
9166 * libc/include/math.h: Change all uses of _FLOAT_RET and
9167 _FLOAT_ARG to float.
9168 * libm/test/math.c: Likewise.
9169 * testsuite/libm.sac/math.c: Likewise.
9170 * testsuite/libm.sac/working/math.c: Likewise.
9171
9172Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
9173
9174 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
9175 gcc calls gas with endian option.
9176 * configure.in (sh): Build little endian version too.
9177
9178Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9179
9180 * configure.in: Configure big and little endian versions for MIPS
9181 targets.
9182
9183Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
9184
9185 * libc/include/limits.h: Deleted.
9186 * libc/include/machine/limits.h: Deleted.
9187
9188Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
9189
9190 * ChangeLog: Remove stub directory. This has all been rewritten
9191 and moved to devo/libgloss.
9192
9193Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9194
9195 * Makefile.in (dvi): Add to info target, use $@ in sub make.
9196 (docs): Merge into info target.
9197 * libm/Makefile.in (dvi): Add $(srcdir).
9198 * libm/math/Makefile.in (chobjs): Remove underscores from file
9199 names. Texinfo doesn't like them.
9200 (wacos.def, ...): Add explicit targets for all .def files.
9201 * libm/math/math.tex: Remove underscores from @include file names.
9202 * doc/Makefile.in (dvi): Add dummy target.
9203 * testsuite/Makefile.in (dvi): Add dummy target.
9204
9205Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
9206
9207 * Makefile.in (VERSION): Define. For net newlib releases.
9208
9209Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
9210
9211 * README: New file.
9212
9213Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
9214
9215 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
9216
9217Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9218
9219 * libc/stdlib/setenv.c (_findenv): Declare.
9220
9221 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
9222 fcntl to not use _EXFUN, and change string parameters to open and
9223 creat to be ``const char *''.
9224 * libc/sys/sparc64/sys/fcntl.h: Likewise.
9225 * libc/sys/sparc64/creat.c (creat): Make PATH const.
9226 * libc/syscalls/sysopen.c: Include <fcntl.h>.
9227 (open) Make _FILE const.
9228 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
9229 (_creat): Make PATH const.
9230 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
9231 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
9232 * libc/sys/m88kbug/syscalls.c (open): Likewise.
9233 * libc/sys/sh/syscalls.c (_open): Likewise.
9234 * stub/shared/glue.c (open): Make BUF const.
9235 * stub/ex93x/syscalls.c (open): Make FILENAME const.
9236
9237Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
9238
9239 * libc/include/errno.h: Add ENMFILE
9240 * libc/include/sys/config.h: Support Z8000.
9241 * libc/include/sys/signal.h: New signals for go32.
9242 * libc/machine/h8500/psi.S (__addpsir0r0): New function
9243 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
9244 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
9245 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
9246 size is variable, depending upon CHUNK_POWER.
9247 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
9248
9249Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
9250
9251 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
9252
9253Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9254
9255 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
9256
9257Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9258
9259 * configure.in: Change i[34]86 to i[345]86.
9260
9261 * libc/include/math.h: Don't define HUGE_VAL if it is already
9262 defined.
9263
9264Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9265
9266 * testsuite/libm.sac/test_erfc.c: Correct some result values.
9267 * testsuite/libm.sac/test_gammaf.c: Likewise.
9268 * testsuite/libm.sac/test_sin.c: Likewise.
9269 * testsuite/libm.sac/test_tanh.c: Likewise.
9270
9271Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9272
9273 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
9274 already set. Define typedefs __int32_t and __uint32_t.
9275 * libc/include/math.h: Include <machine/ieeefp.h>.
9276 (union __dmath): Use __uint32_t.
9277 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
9278 instead of int and unsigned int.
9279
9280Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9281
9282 Replace the math library with the SunPRO fdlibm package.
9283 * libm/math: Completely changed all files.
9284 * libm/ieeefp: Remove contents and directory.
9285 * libm/Makefile.in (LIBM_FP_LIB): Remove.
9286 (SUBDIRS): Just set to math/lib.a.
9287 * libm/libm.texinfo: Updated for new library.
9288 * libc/include/math.h: Extensive changes for new math library.
9289 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
9290 from _FLOAT_ARG to float.
9291 (maxpowtwo, maxpowtwof): Don't declare.
9292 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
9293 (libm_fp_lib): Removed.
9294 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
9295 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
9296 argument to ${RUNTEST}.
9297 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
9298 (.c.o): New rule.
9299 (RUNTESTFLAGS): Set CC and CFLAGS.
9300 (TESTS): Remove test_log2 and test_log2f.
9301 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
9302 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
9303 _FLOAT_ARG, for single precision argument type.
9304 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
9305 expected failure. Close the input pipe.
9306 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
9307 Correct misspelling of inaccurate.
9308 (test_mok): Use ``inaccurate'', not ``wrong''.
9309 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
9310 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
9311 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
9312 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
9313 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
9314 test_yn.c): Correct many result values. Many are still wrong.
9315
9316 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
9317 just copy the string.
9318 (_gcvt): Always return the buffer.
9319
9320Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9321
9322 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
9323
9324Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
9325
9326 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
9327 structure.
9328 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
9329 (_reclaim_reent): declare new entry point.
9330 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
9331 functions.
9332
9333 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
9334 ever allocated, so that we can later reclaim them all.
9335 (pow5mult): make reentrant.
9336
9337 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
9338 so that when given NULL as a buffer, return a pointer to static
9339 space in the rent structure. This is not documented behaviour;
9340 it's only to support ecvt and fcvt, which aren't ANSI anyway.
9341 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
9342 therefore become reentrant).
9343
9344 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
9345
9346Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9347
9348 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
9349
9350Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9351
9352 * Makefile.in: Make link to libg.a after libc.a; this is needed
9353 for the testsuites to build executables when everything comes
9354 from the tree.
9355
9356Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
9357
9358 * libc/Makefile.in: Add a VERSION variable so we can keep track.
9359 * libm/Makefile.in: Add a VERSION variable so we can keep track.
9360
9361Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9362
9363 * libc/include/stdio.h: Use __VALIST, not va_list.
9364
9365Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
9366
9367 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
9368 testsuite/libm.sac/execute.exp:
9369 Replace error proc calls with perror calls.
9370
9371Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
9372
9373 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
9374 * libc/include/time.h: #define NULL as 0L.
9375
9376Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
9377
9378 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
9379 care of it.
9380
9381Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9382
9383 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
9384 not __unix__.
9385
9386Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
9387
9388 * configure.in (TARGET_CFLAGS): Set -O2 as default.
9389 (z8k-*-*): Use syscalls fake sys dir.
9390 * libc/sys/z8k/glue.c: Rename syscalls.
9391 * libc/sys/go32/Makefile.in: Use new routines.
9392 * libc/machine/Makefile.in: Fix typo in ln stuff.
9393
9394Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9395
9396 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
9397 * libc/Makefile.in (crt0.o): Likewise.
9398 * libc/machine/Makefile.in (lib.a): Likewise.
9399 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
9400
9401 All Makefile.in files: Added mostlyclean, realclean and distclean
9402 targets.
9403
9404 * Makefile.in: Don't bother to unexport XTRAFLAGS or
9405 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
9406 the top level Makefile.
9407
9408Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
9409
9410 * libc/sys/sparc64/sys/stat.h: New file.
9411 * libc/sys/sparc64/sys/time.h: New file.
9412 * libc/sys/sparc64/sys/types.h: New file.
9413
9414Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
9415
9416 * stub/ex93x/crt0.s (start): Add code to clear bss.
9417
9418Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
9419
9420 * libc/include/sys/types.h (time_t): Properly protect inside
9421 #ifndef __time_t_defined.
9422
9423 * libc/stdio/fileno.c: New file.
9424 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
9425 (fileno.o): Add dependency.
9426 * libc/include/stdio.h (__sgetc): Rename never to _never.
9427 (fileno macro): Disable, needs to do CHECK_INIT first.
9428
9429Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
9430
9431 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
9432 goal.
9433
9434 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
9435 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
9436 runtest.
9437 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
9438 runtest.
9439
9440Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
9441
9442 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
9443 of the various constants.
9444
9445Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
9446
9447 * libc/include/math.h: #ifndef __math_68881 around things which
9448 conflict with the (gcc-provided) inline functions in
9449 gcc/ginclude/math-68881.h.
9450
9451Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
9452
9453 * libc/include/_syslist.h (_gettimeofday): Define.
9454 (_times): Ditto.
9455 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
9456 (struct tms, timeval, timezone): Declare.
9457 (_gettimeofday_r, _times_r): Declare.
9458 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
9459 #ifdef _CLOCK_T_ surrounding definition of clock_t.
9460 (time_t): Add multiple definition protection, __time_t_defined.
9461 * libc/include/sys/time.h: Don't #include <time.h>.
9462 Always define struct timezone (remove #ifndef _TIME_H_).
9463 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
9464 #ifdef _CLOCK_T_ surrounding definition of clock_t.
9465 * libc/reent/Makefile.in (OFILES): Add timer.o.
9466 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
9467 * libc/reent/timer.c: New file.
9468 * libc/time/clock.c: #include <reent.h>.
9469 (clock): Call _times_r instead of times.
9470 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
9471 HAVE_GET_TIME_OF_DAY.
9472 Add comment regarding supporting OS routine(s) required (for docs).
9473 #include <reent.h>.
9474 (time): Call _gettimeofday_r instead of gettimeofday.
9475 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
9476 * libc/time/ctime.c: Ditto.
9477 * libc/time/strftime.c: Ditto.
9478 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
9479 (TEMPLATE_SFILES_R): Define here. Also define times.
9480 Add times_r.o/times.S dependence.
9481 (time2.c, junk.c): Deleted.
9482 * libc/sys/sparc64/time2.c: Deleted.
9483 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
9484
9485 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
9486 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
9487 * libc/sys/sparc64/junk.c: Deleted.
9488
9489Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
9490
9491 * libc/sys/sparc64/Makefile.in: Add times syscall.
9492 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
9493 be used with and without it. Add comment clarifying Medium/Anywhere
9494 model requirements.
9495 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
9496 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
9497 even if obsolete.
9498
9499Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
9500
9501 * configure.in (target_cflags): Move init.
9502 (sparc64-*-*): Define HAVE_BLKSIZE.
9503
9504Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
9505
9506 * libc/include/sys/_types.h: New file.
9507 * libc/include/reent.h: #include it.
9508 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
9509 MISSING_SYSCALL_NAMES.
9510 Sort syscalls.
9511 * libc/include/_syslist.h: Remove _raise.
9512 * libc/reent/signalr.c: New file.
9513 * libc/reent/Makefile.in: Compile it.
9514 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
9515 Add doc for raise and _raise_r.
9516 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
9517 (raise): Call _raise_r.
9518 (_raise_r): Call _getpid_r and _kill_r.
9519 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
9520 (abort): Loop forever calling raise and _exit.
9521
9522Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9523
9524 * configure.in: Remove extraneous echo.
9525
9526Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
9527
9528 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
9529 collision with unistd.h, and fix for svr4.
9530
9531Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
9532
9533 * libc/stdio/local.h (_llicvt): Declare.
9534 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
9535 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
9536 (_llicvt): Define.
9537 (_sicvt): Fix function header (`value' is short).
9538 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
9539 Add printing of long long's support.
9540 Add printing of 8 byte pointer support.
9541
9542Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
9543
9544 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
9545 stat, chmod): New hooks.
9546 (sbrk): Abort if stack and heap collide.
9547 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
9548 shortcut when given small args.
9549 * libc/machine/sh/setjmp.s: Rewritten.
9550 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
9551 of cmp/str instruction.
9552
9553Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9554
9555 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
9556 and machine_dir powerpc.
9557 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
9558 Add cases for __powerpc__.
9559 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
9560 New files.
9561
9562 * libc/include/stdio.h (_iprintf_r): Declare correctly.
9563
9564Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
9565
9566 * libc/stdlib/callocr.c: New file with _calloc_r in it.
9567 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
9568
9569Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
9570
9571 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
9572 (print_e): More comments to describe args, etc.
9573 "type" arg may now be 'g' or 'G' for %g/G format --> remove
9574 trailing blanks.
9575 (_gcvt): Remove locals decpt, sign, end, p, done.
9576 More comments for print_e invocation.
9577 Pass "type" to print_e as is (g/G).
9578
9579Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
9580
9581 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
9582 stock m68000.
9583
9584Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
9585
9586 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
9587 works with any sized pointer, including ones bigger than ints and
9588 longs.
9589
9590Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
9591
9592 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
9593
9594Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9595
9596 * libc/include/stdlib.h (_calloc_r): Add prototype.
9597 * libc/machine/h8500/negsi2.c: New file.
9598 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
9599 large unsigned numbers.
9600 * libc/machine/h8500/cmpsi.c: Add cmppsi.
9601 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
9602 works when sizeof(size_t) != sizeof(char *).
9603 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
9604 get play area
9605 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
9606
9607Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
9608
9609 * libc/include/assert.h (assert): Handle -traditional.
9610
9611Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
9612
9613 * Makefile.in: added ; after every "fi" and "done" that wasn't at
9614 the end of a line (ie. anything before a backslash continuation)
9615 so that bash handles them.
9616
9617Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
9618
9619 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
9620 stat to lstat
9621
9622Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
9623
9624 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
9625 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
9626 libc/machine/sh/udivsi3.s: Use new calling convention.
9627
9628Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
9629
9630 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
9631 chmod, access, chdir, chown by making _path const. Also fix _amode
9632 param of access.
9633
9634Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
9635
9636 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
9637 _khif_tmpnam, because it doesn't comply with ANSI but may be
9638 useful anyway. Real tmpnam was already in libc/stdio, and was
9639 colliding with this one (pr 2176.)
9640 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
9641 the wrong idea anyhow.
9642
9643Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
9644
9645 * configure.in: Remove h8300h, we have multilib now.
9646
9647Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
9648
9649 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
9650 functions, to get preference over the ones in libiberty (since we
9651 provide correct declarations in <string.h>.
9652 * libc/string/Makefile.in: add support for strncasecmp,
9653 strcasecmp.
9654
9655Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
9656
9657 * Change netware config not to look for cpu explicitly.
9658
9659Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
9660
9661 * libc/sys/sparc64/{creat.c,junk.c}: New files.
9662 * libc/sys/sparc64/Makefile.in: Add dependencies.
9663
9664Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
9665
9666 * configure.in: Clean up v9 a bit, new "os" aoutv8.
9667
9668Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
9669
9670 * libc/include/sys/reent.h: make structure smaller by allocating
9671 some stuff when needed.
9672 * libc/signal/signal.c: allocate as needed
9673 * libc/stdio/findfp.c,stdio/local.h: ditto
9674 * libc/stdlib/mprec.c: ditto
9675
9676 * libc/time/localtime.c: don't return a dangling stack ptr.
9677
9678Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
9679
9680 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
9681
9682Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9683
9684 * libc/include/stdio.h (__sputc): comment out static inline which
9685 confuses coff toolchains.
9686
9687Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
9688
9689 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
9690 _write.s, getpid.c, kill.c, read.s}:
9691 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
9692 through the syscalls directory.
9693
9694Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
9695
9696 * configure.in: fixed double quote gotcha.
9697
9698Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
9699
9700 * stub/ex931: stub library for sparclite board.
9701 * stub/idp: Renamed from mc68ec. Added contructor table
9702 stuff to linker script.
9703 * stub/mvme135: Renamed from m68kmvme. Added contructor table
9704 stuff to linker script.
9705
9706Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9707
9708 * configure.in: Configure testsuites only if they exist.
9709
9710Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9711
9712 * configure.in: Don't set machine_dir for i386 until there is
9713 something in libc/machine/i386 to compile. For i[34]86-*-netware*
9714 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
9715 CLOCK_PROVIDED and MALLOC_PROVIDED.
9716
9717 * libc/sys/netware: New directory. Contains simplistic and
9718 probably incorrect stubs for NetWare. Should be enough to load
9719 the library.
9720 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
9721 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
9722 stub files.
9723
9724 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
9725 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
9726 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
9727 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
9728
9729Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
9730
9731 * testsuite/Makefile.in: add "docs" dummy target for consistency
9732 with rest of newlib; turn "info" and "install-info" into dummy
9733 targets, since they wouldn't have worked. (Depended on
9734 nonexistent "doc" subdir.)
9735
9736Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
9737
9738 * configure.in: handle mips* instead of mips
9739
9740Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
9741
9742 * libc/include/sys/dirent.h: New file. If it is not overridden by
9743 a version of libc/sys/*/sys/dirent.h, it includes the next
9744 <dirent.h> file in case there is one lurking somewhere.
9745
9746Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9747
9748 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
9749 compliance, namely: Accept a minus sign. Consider a single 0 with
9750 a radix of 0 as being a conversion. Determine overflow correctly.
9751 If an overflow occurs, set *ptr to the end of the number, not the
9752 middle.
9753 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
9754
9755Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
9756
9757 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
9758
9759Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
9760
9761 * Makefile.in (INSTALL): Use $srcrootpre.
9762 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
9763 can't handle it.
9764 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
9765 it.
9766 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
9767 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
9768 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
9769 * libm/math/Makefile.in (matherr.o): Ditto.
9770
9771Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9772
9773 * configure.in: Build multidirs for z8k.
9774 * libc/include/stdlib.h (_strtoul_r): add prototype.
9775 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
9776 * libc/include/machine/setjmp.h: Add for z8k.
9777 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
9778 * libc/sys/z8ksim/glue.c: tidy up.
9779
9780Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
9781
9782 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
9783 New files. Requires execve system call.
9784 * libc/unix/Makefile.in: Use them.
9785 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
9786 Deleted, moved to libc/unix.
9787 * libc/sys/sparc64/Makefile.in: Remove them.
9788
9789Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
9790
9791 * libc/sys/sparc64/{template.S template_r.S}: New files.
9792 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
9793 from templates.
9794 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
9795 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
9796 umask.S unlink.S wait4.S write.S}: Removed, now built from
9797 templates.
9798
9799Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
9800
9801 * libc/time/time.c: #include <_ansi.h>.
9802
9803Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
9804
9805 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
9806
9807Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9808
9809 * configure.in: match m8* rather than m88k so that m88110 is
9810 recognized as well.
9811
9812Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
9813
9814 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
9815 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
9816 misc.c: New file.
9817
9818 * configure.in: Add multilib support to h8300.
9819
9820Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
9821
9822 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
9823 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
9824 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
9825
9826Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9827
9828 * configure.in: Corrected multidirs for sparc target.
9829
9830Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9831
9832 Support for building newlib multiple times with different
9833 compilation flags.
9834 * configure.in: Only configure doc at top level. Set multidirs
9835 when appropriate for target, unless not at top level. If
9836 multidirs is set, independently configure each subdirectory.
9837 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
9838 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
9839 automagically set by configure.in.
9840 (all): If MULTIDIRS is set, build multiple copies of libraries.
9841 (install): If MULTIDIRS is set, install multiple copies of
9842 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
9843 MULTISUBDIR is set, don't bother to install header files.
9844 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
9845 ${srcrootpre}.
9846 * stub/configure.in: Set MULTISUBDIR appropriately.
9847 * stub/Makefile.in (install): Install in
9848 $(tooldir)/lib/$(MULTISUBDIR).
9849 * All Makefile.in files: Define SRCTOP as well as TOP.
9850
9851Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
9852
9853 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
9854 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
9855
9856Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
9857
9858 * libc/sys/h8300hms/exit.c (_exit): New function.
9859
9860Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9861
9862 * configure.in: recognize m88110.
9863
9864Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9865
9866 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
9867 prototype main and call with args.
9868
9869Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
9870
9871 First real try at system traps for m88k-bug.
9872 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
9873 to real trap calls.
9874 * libc/sys/m88kbug/sys/systraps.h: new file.
9875
9876Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9877
9878 Patches to fix info building when target does not use sys
9879 directory.
9880 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
9881 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
9882 libc/sys.tex.
9883 * libc/sys/Makefile.in (doc): do nothing.
9884
9885Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9886
9887 * libc/Makefile.in (CRT0): new macro.
9888 (all): depend on $(CRT0) rather than crt0.o.
9889
9890 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
9891 do not default crt0, instead, set crt0 and crt0_dir based on
9892 sys_dir and stub_dir.
9893
9894 * Makefile.in (CRT0_DIR): new macro.
9895 (all): depend on $(CRT0) rather than crt0.o which may not exist.
9896 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
9897 $(CRT0).
9898 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
9899
9900Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9901
9902 * testsuite/lib/libm.exp:
9903 added code to support compiling and linking of tests for
9904 libm.sac (paranoia to be added next) and processing the
9905 pass or failure of the tests.
9906
9907 * testsuite/config/unix-libm.exp:
9908 platform specific proc's for dealing with compiler, linker
9909 and the way we execute and process the test results.
9910
9911 * testsuite/libm.sac/execute.exp:
9912 generic framework for the sac tests. the config and lib
9913 expect code for specific platforms tie it all together.
9914
9915 * testsuite/libm.sac/test_is.c:
9916 changed the output of the test to be consistant with the
9917 other tests. parsing of pass nad fail messages is now fixed.
9918
9919Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
9920
9921 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
9922 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
9923 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
9924 #ifdef __cplusplus, surround by extern ""C { ... }.
9925 * libc/include/assert.h: Do *not* protect assert.h against
9926 multiple inclusion! Also, #undef it before #define, to allow
9927 redefinition.
9928 * libc/include/stdio.h (getlogin, cuserid): Removed. These
9929 should be only in unistd.h.
9930
9931 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
9932 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
9933 ... }.
9934
9935Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
9936
9937 * libc/machine/sparc/Makefile.in: Must create a library, even
9938 if empty.
9939
9940Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9941
9942 * configure.in: set machine_dir for m88k. edit crt0 definition
9943 into makefiles.
9944
9945 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
9946
9947 * libc/Makefile.in (all): also build crt0.o.
9948
9949 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
9950 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
9951 to remove CRT0.
9952
9953 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
9954 (all): reworked to build in place.
9955 (clean): remove lib.a
9956 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9957
9958 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9959 (_start): key off edata rather than _start_bss.
9960
9961Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
9962
9963 * libc/include/sys/unistd.h, libc/include/reent.h,
9964 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9965
9966Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9967
9968 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9969
9970 * Makefile.in (libc.a): break into two rules, one for libc.a and
9971 one for libc/libc.a. Force subdirs current before rebuilding
9972 library.
9973 (libm.a): break into two rules, one for libm.a and one for
9974 libm/libm.a. Force subdirs current before rebuilding library.
9975
9976 * libc/Makefile.in (SUBLIBS): fix typo.
9977
9978 * libc/sys/Makefile.in (all): force descent into subdirs, then
9979 rebuild library iff out of of date.
9980
9981Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9982
9983 Rework so that library is built and then finished rather than
9984 being built on each invocation of make.
9985
9986 * host/any (machine_dir, sys_dir, signal_dir): these are not
9987 shared and have been moved to their associated Makefile.in's.
9988 (AR_FLAGS): switch to qc which is faster.
9989 * configure.in: no longer assign machine_dir for m88k. set
9990 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
9991 stub_dir set, then add to configdirs. add comment about silly
9992 configuration.
9993 (configdirs): drop stub. It will be added only
9994 when needed.
9995 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9996 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9997 stub_lib, crt0): new variables for tailoring lower level
9998 makefiles. Assign accordingly and edit into makefiles.
9999 * libm/Makefile.in: updated copyright.
10000 (TARGETLIB): removed.
10001 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
10002 (SUBDIRS): removed TARGETDEP_DIRS.
10003 (LIBM_FP_LIB, SUBLIBS): new macros.
10004 (all): reworked.
10005 (force): new target to force rebuilds.
10006 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10007 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
10008 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
10009 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
10010 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
10011 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
10012 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
10013 stub/m68kmvme/Makefile.in: updated copyright.
10014 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
10015 (all): reworked. made this the default rule.
10016 (clean): also remove lib.a.
10017 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10018 * stub/Makefile.in: updated copyright.
10019 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
10020 (stub_lib): new macro.
10021 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
10022 RANLIB.
10023 (all): reworked.
10024 (clean, install): assume stub_dir exists.
10025 (Makefile): depend on configure.in. call $(SHELL) rather than
10026 sh. drop redundant ./
10027 * stub/configure.in (stublib): new macro, assign it, edit it into
10028 makefiles.
10029 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
10030 updated copyright.
10031 (all): reworked.
10032 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10033 * libc/Makefile.in (TARGETCRT0): removed.
10034 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
10035 TARGETCRT0.
10036 (SUBDIRS): drop TARGETDEP_DIRS.
10037 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
10038 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
10039 (force): new target to force rebuilds.
10040 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
10041 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
10042 removed.
10043 (clean): assume sys_dir always exists.
10044 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
10045 drop redundant ./
10046 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
10047 libc/locale/Makefile.in, libc/machine/Makefile.in,
10048 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
10049 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
10050 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
10051 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
10052 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
10053 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
10054 libc/signal/Makefile.in, libc/stdio/Makefile.in,
10055 libc/stdlib/Makefile.in, libc/string/Makefile.in,
10056 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
10057 libc/time/Makefile.in, libc/unix/Makefile.in,
10058 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
10059 (TARGETLIB): removed.
10060 (all): reworked.
10061 (clean): also remove lib.a.
10062 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10063 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
10064 new macros.
10065 (SUBDIRS): moved to follow frag inclusion, change stub to
10066 stub_dir.
10067 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
10068 are now set in the libc Makefile.
10069 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
10070 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
10071 TARGETCRT0.
10072 (force): new target to force rebuilds.
10073 * stub/configure.in: determine and set stub_lib for for Makefile.
10074
10075Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
10076
10077 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
10078 crt0.s renamed to crt0.S.
10079 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
10080
10081 * libc/machine/h8300/Makefile.in: Make `all' the default target.
10082 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
10083 h8300h.
10084 * libc/machine/h8300/defines.h: Add macros to handle pointers for
10085 h8300 (16 bits) and h8300h (32 bits).
10086 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
10087 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
10088
10089Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
10090
10091 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
10092 implementation of setjmp and longjmp for the m88k.
10093 * libc/include/machine/setjmp.h: Added __m88000__ case.
10094
10095Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
10096
10097 * configure.in: Recognize h8300h as variant of h8300.
10098
10099Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10100
10101 * libc/include/sys/unistd.h (read, write): get prototypes right.
10102 (sbrk): New prototype.
10103 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
10104 * libc/stdio/local.h: Include unistd.h.
10105 * libc/machine/h8300/syscalls.c: Names have changed.
10106
10107Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
10108
10109 * configure.in: add sys_dir assignment for m88k-bug.
10110
10111Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
10112
10113 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
10114 a.out or elf.
10115 * libc/sys/sparc64: all *.S files: Use new macros.
10116 * libc/sys/sparc64/isatty.c: New file.
10117 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
10118 functions beyond what newlib provides.
10119
10120Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
10121
10122 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
10123 svr4.
10124
10125Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
10126
10127 * libc/include/machine/ieeefp.h: Add support for h8/300h.
10128
10129Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
10130
10131 * configure.in: add m88k.
10132 * libc/include/machine/ieeefp.h: add case for m88k. Also add
10133 sanity check so no one else need ever chase what I did to find
10134 this.
10135
10136 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
10137
10138Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
10139
10140 * doc/makedoc.c: Include <ctype.h>.
10141
10142Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
10143
10144 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10145 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10146 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10147
10148 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
10149
10150Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
10151
10152 * libc/include/errno.h (ENOSYS): Added.
10153
10154 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
10155
10156Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10157
10158 * libc/stdio/fflush.c (fflush): Check for reent struct
10159 initialization.
10160 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
10161
10162Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
10163
10164 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
10165 out of dtoa.c so it doesn't pollute the namespace.
10166 * libc/include/_syslist.h: new file -- mappings from _function to
10167 function, for systems where we can't win (by default, all of them,
10168 until we start updating system calls.)
10169 * libc/syscalls: new directory -- stubs for exporting _function
10170 names as unmodified function names.
10171 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
10172 _syslist.h on all platforms by default, but put hooks in for
10173 fake_sys_dir so we can include it when we've renamed the system
10174 calls.
10175 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
10176 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
10177 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
10178 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
10179 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
10180 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
10181 non ANSI functions to call _function.
10182
10183Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
10184
10185 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
10186 when base 16 is specified. Don't accept non-digits if radix > 10.
10187
10188Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
10189
10190 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
10191
10192Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
10193
10194 * libc/include/sys/stat.h: Surround text after #endif with
10195 comments.
10196
10197Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
10198
10199 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
10200 _malloc_r, _realloc_r, and free_r call the corresponding
10201 non-reentrant functions.
10202
10203 * libm/math/modf.c (modf): We now take the address of ipart, so
10204 don't make it a register variable.
10205
10206Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
10207
10208 * libm/math/*: Rename all xxx_r fns to _xxx_r.
10209
10210Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
10211
10212 * libc/libc.texinfo and embedded docn throughout: formatting
10213 improvements, minor rephrasing for clarity, and improved
10214 reentrancy docn.
10215
10216Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10217
10218 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
10219
10220 * libc/stdio/cvt.c (_licvt): Print the right value on machines
10221 where sizeof(int) != sizeof(long).
10222
10223Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
10224
10225 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
10226 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
10227 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
10228 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
10229 libm/math/matherr.c: changes for better docn formatting (info).
10230
10231 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
10232 libc/reent/reent.tex, libc/signal/signal.tex,
10233 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
10234 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
10235 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
10236 makeinfo node defaulting to get better Info file node structure.
10237 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
10238 Also include a few formerly missing sections (subroutines).
10239
10240 * doc/doc.str: delete fossil expansion for "func"
10241
10242 * default.menu, no-signal.menu: delete.
10243
10244 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
10245 method used to adjust doc for missing "signals" chapter when
10246 signal_dir is empty.
10247
10248Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10249
10250 * configure.in: added testsuite/libm.sac
10251
10252Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
10253
10254 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
10255 code model).
10256
10257Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
10258
10259 * libm/Makefile.in: Use $(MAKE) rather than make, and define
10260 MAKEOVERRIDES to be empty.
10261
10262Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
10263
10264 * configure.in: Don't build mips-*-* with -msoft-float, since that
10265 makes it incompatible with hard floating point.
10266
10267Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10268
10269 * Makefile.in: added recursive 'make check'
10270
10271Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10272
10273 * configure.in: added ./testsuite ./testsuite/libm.paranoia
10274 * ./testsuite/Makefile.in: created
10275 * ./testsuite/libm.paranoia: paranoia tests added
10276
10277Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
10278
10279 * configure.in: For mips-*-* set machine_dir to mips.
10280
10281 * libc/machine/mips: New directory.
10282 * libc/machine/mips/Makefile.in: New file.
10283 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
10284 setjmp and longjmp.
10285 * libc/include/machine/setjmp.h: Added __mips__ case.
10286
10287 * libc/machine/lmips: Removed unused and useless directory.
10288
10289Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
10290
10291 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
10292
10293Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
10294
10295 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
10296 start up).
10297
10298Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
10299
10300 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
10301 SETJMP_H.
10302
10303Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
10304
10305 * libm/test/convert.c: structure member errno -> errno_val.
10306 Must include <errno.h> to use errno, it's a macro now.
10307 * libm/test/math.c: Ditto.
10308 * libm/test/math2.c: Include errno.h.
10309 * libm/test/string.c: Ditto.
10310 * libm/test/test.h: structure member errno -> errno_val.
10311 Remove extern int errno decl.
10312
10313Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
10314
10315 * libc/stdio/Makefile.in: Added dependencies on local header
10316 files.
10317 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
10318 files.
10319
10320Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
10321
10322 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
10323
10324Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
10325
10326 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
10327 Initialize _data.
10328
10329 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
10330 * libc/stdio/local.h: Add prototype for _licvt.
10331
10332 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
10333 instead of malloc,reealloc.
10334
10335 * libc/stdlib/local.h: New file.
10336 * libc/stdlib/efgcvt.c: #include local.h.
10337 (gcvt): Fix call to _gcvt.
10338 * libc/stdlib/ecvtbuf.c: #include local.h.
10339
10340 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
10341 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
10342 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
10343
10344 * libc/stdlib/atexit.c: moved global data to struct _reent.
10345 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
10346
10347 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
10348
10349Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
10350
10351 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
10352 here from ../reent.h.
10353
10354Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
10355
10356 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
10357 should be provided in both libc.a and libm.a.
10358 (libc.a): Depend on targ-include and libm.a. Copy
10359 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
10360 (libm.a): Depend on targ-include.
10361 * configure.in (subdirs): Removed libc/math.
10362
10363Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10364
10365 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
10366
10367Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
10368
10369 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
10370 sys/reent.h instead of reent.h.
10371 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
10372 headers moved to sys/reent.h.
10373 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
10374 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
10375 __need__MAX_SIGNALS defined.
10376 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
10377 std{in,out,err} refer to new _std{in,out,err} members.
10378
10379Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
10380
10381 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
10382 case.
10383
10384Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
10385
10386 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
10387 rather than whatever macro seterrno() has.
10388
10389Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
10390
10391 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
10392 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10393
10394 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
10395 __STDC__.
10396
10397 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
10398 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
10399 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10400
10401 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
10402 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10403
10404 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
10405 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
10406 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
10407 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
10408 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
10409 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
10410 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
10411 renamed to _xxx_r. struct reent_struct renamed to struct _reent
10412 for ANSI. structure members given leading "_" for ANSI. Use
10413 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
10414
10415 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
10416 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
10417 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
10418 reent_struct renamed to struct _reent for ANSI.
10419 Structure members given leading "_" for ANSI.
10420 _CONST --> const in prototypes.
10421 Use _HAVE_STDC instead of __STDC__.
10422
10423 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
10424 _xxx_r.
10425 struct reent_struct renamed to struct _reent for ANSI.
10426 Structure members given leading "_" for ANSI.
10427
10428 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
10429 _xxx_r.
10430 struct reent_struct renamed to struct _reent for ANSI.
10431
10432 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
10433 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
10434 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
10435 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
10436 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
10437
10438 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
10439 signal.h, stdio.h, stdlib.h, string.h, time.h}:
10440 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
10441 #ifndef _STRICT_ANSI non-ANSI routines.
10442 Reentrant routines renamed from _r_xxx to _xxx_r.
10443 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
10444 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
10445 Clean up namespace (structure members have leading "_").
10446 struct reent_struct renamed to struct _reent for ANSI compliance.
10447 _CONST --> const in function prototypes.
10448
10449 * libc/include/string.h: Add NULL and size_t.
10450
10451 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
10452 unlink, wait, wait4. Reentrant syscall routines close, fork,
10453 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
10454 write.
10455 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
10456 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
10457 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
10458 write.S}: Define reentrant versions.
10459 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
10460 reentrant syscalls.
10461
10462 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
10463
10464 * libc/include/stdlib.h (RAND_MAX): Fix value.
10465
10466Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
10467
10468 * libc/sys/a29khif/_main.c: Removed unnecessary file.
10469 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
10470 VPATH support targets after all: target.
10471
10472 * stub/mvme135/mvme.S: Renamed exceptionhandler to
10473 exceptionHandler, which is what mvme135-stub.c expects.
10474
10475Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
10476
10477 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
10478
10479 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
10480 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
10481 compliant).
10482
10483Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
10484
10485 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
10486 first.
10487 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
10488 _r_write): Ditto.
10489 libc/reent/fstatr.c (_r_fstat): Ditto.
10490 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
10491 libc/reent/sbrkr.c (_r_sbrk): Ditto.
10492 libc/reent/statr.c (_r_stat): Ditto.
10493
10494 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
10495 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
10496 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
10497 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
10498 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
10499 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
10500 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
10501 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
10502 (__swrite): Ditto for _r_lseek, _r_write.
10503 (__sseek): Ditto for _r_lseek.
10504 (__close): Ditto for _r_close.
10505 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
10506
10507 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
10508 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
10509
10510 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
10511 to make reent_struct the first argument (and thus consistent with
10512 the rest of newlib).
10513
10514 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
10515 reference to __STDC__.
10516
10517Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
10518
10519 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
10520 global __cleanup.
10521
10522Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
10523
10524 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
10525 first.
10526 libc/stdio/fclose.c (fclose): Ditto.
10527
10528Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
10529
10530 * Run through indent and rename reentrant routines for ANSI.
10531 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
10532 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
10533 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
10534 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
10535 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
10536 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
10537 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
10538 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
10539 vsprintf.c wbuf.c wsetup.c local.h}
10540
10541 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
10542
10543 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
10544 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
10545 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
10546 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
10547 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
10548 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
10549
10550 * Run through indent.
10551 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
10552 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
10553 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
10554 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
10555 strxfrm.c}
10556
10557 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
10558 localtime.c mktime.c strftime.c time.c}:
10559 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
10560
10561 * Reformatting + renaming (for ANSI, GNU style, consistency).
10562 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
10563 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
10564 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
10565
10566Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
10567
10568 * libc/include/stdio.h (stdin_r): Fix.
10569
10570Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
10571
10572 * Makefile.in: Unexport some variables to keep GNU make from
10573 putting them in the environment and using up needed ARG_MAX space
10574 (a hack is used to let this work with older makes as well).
10575
10576Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
10577
10578 * Makefile.in: Use $(MAKE) rather than make.
10579 (MAKEOVERRIDES): Define to be empty.
10580 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
10581 (libc.a, libm.a): Depend on targ-include.
10582 * host/any (LD): Don't define.
10583 (INCLUDES): Use targ-include.
10584 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
10585 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
10586 * libc/Makefile.in: Use $(MAKE) rather than make.
10587 (MAKEOVERRIDES): Define to be empty.
10588 (FLAGS_TO_PASS): Don't pass LD (it's not used).
10589 (all): Rewrote to be slightly smaller.
10590 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
10591 Define to be empty.
10592 (FLAGS_TO_PASS): Don't pass LD (it's not used).
10593 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
10594
10595Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
10596
10597 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
10598 with errno/errno.c.
10599
10600Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
10601
10602 * Changes for reentrancy.
10603 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
10604 Use ptr->_errno, not errno.
10605 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
10606 libc/stdio/remove.c (remove_r): New function.
10607 libc/stdio/rename.c (rename_r): New function.
10608 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
10609 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
10610 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
10611 reentrant versions of system calls.
10612 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
10613 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
10614 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
10615 libc/stdio/findfp.c: Include <string.h>.
10616 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
10617 "local.h".
10618 libc/stdio/wbuf.c: Include "fvwrite.h"
10619
10620 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
10621 <string.h>.
10622 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
10623 (NULL): Don't define if already defined.
10624 libc/stdlib/system.c: Call reentrant versions of system calls.
10625 (system_r): New function.
10626
10627 * Changes for reentrancy.
10628 libc/include/_ansi.h (_PARAMS): New macro.
10629 libc/include/errno.h: Define errno as a macro that calls __errno.
10630 (__errno_r): New macro for reentrant code.
10631 libc/include/math.h: Include reent.h. Declare many reentrant
10632 functions.
10633 (signgam): Now a macro, not a variable.
10634 (struct exception): Added err field.
10635 libc/include/reent.h: Don't declare __sglue. Added function
10636 declarations.
10637 (struct reent_struct): Moved errno to beginning. Added _signgam.
10638 libc/include/stdio.h, libc/include/stdlib.h: Added function
10639 declarations.
10640
10641 * More reentrancy hacking.
10642 libc/errno/errno.c (__errno): New function.
10643 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
10644 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
10645 files.
10646
10647 * Added many new reentrant functions to libm/math/*.
10648 libm/math/error.c (__matherror): Added reent_struct pointer
10649 argument. Changed all callers.
10650 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
10651 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
10652 libm/math/tan.h: Removed obsolete unused header files.
10653
10654 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
10655
10656 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
10657
10658Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10659
10660 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
10661 delay slots.
10662
10663Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10664
10665 * libc/libc.texinfo: comment out reentrancy chapter (duh)
10666
10667Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10668
10669 * libc/reent/reent.tex: New file. (text from
10670 newlib/libc/libc.texinfo)
10671 * libc/stdio/tmpnam.c: fixed doc typo
10672 * libc/stdlib/rand.c: fixed doc typo
10673
10674Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10675
10676 * libc/reent/reent.tex: New file. (text from
10677 newlib/libc/libc.texinfo)
10678
10679Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10680
10681 support for reentrancy
10682 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
10683 new files
10684 * libc/errno/errno.c, libc/include/ieeefp.h,
10685 libc/include/locale.h, libc/include/reent.h,
10686 libc/include/signal.h, libc/include/stdio.h,
10687 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
10688 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
10689 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
10690 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
10691 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
10692 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
10693 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
10694 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
10695 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
10696 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
10697 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
10698 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
10699 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
10700 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
10701 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
10702 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
10703 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
10704 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
10705 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
10706 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
10707 libc/time/strftime.c: modify to provide reentracy.
10708
10709 new routines:
10710 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
10711 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
10712 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
10713 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
10714 mstats_r, realloc_r, localeconv_r, setlocale_r
10715
10716Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
10717
10718 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
10719 libc/include/sys/config.h, libc/include/sys/signal.h,
10720 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
10721 provided macros (such as m68000), use the ansi version
10722 (__m68000__) so that the library can be used with code compiled
10723 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
10724 and sparc.
10725
10726Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
10727
10728 * configure.in (sparc*): Don't set -fsoft-float for sparc
10729 configurations. Do set -fsoft-float for sparclite configurations.
10730
10731Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
10732
10733 * default.menu, no-signal.menu: alternate forms of libc main menu
10734 (in newlib rather than newlib/libc due to configuration restrictions)
10735
10736 * configure.in: select one of the two menus above, link to
10737 libc.menu
10738
10739 * libc/libc.texinfo: include menu from separate file
10740
10741Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
10742
10743 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
10744 (info): Split long shell command in half.
10745 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
10746 sub-makes, just CHEW and TARGETDOC.
10747 (targetdep.tex): Removed now special handling of sys and machine
10748 subdirectories, made obsolete some time ago.
10749 * libc/machine/Makefile.in (doc): Don't pass everything to
10750 sub-make, just CHEW and TARGETDOC.
10751 (Makefile): New target.
10752 * libc/sys/Makefile.in (Makefile): New target.
10753
10754Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
10755
10756 * Makefile.in (here and most subdirectories): Only pass down CHEW
10757 and TARGETDOC when making info, not for other targets.
10758
10759 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
10760 $(AR_FLAGS) rather than $(ARUPDATE).
10761
10762Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
10763
10764 * Try to reduce command line length:
10765 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
10766 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
10767 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
10768 (info): Pass CHEW to other subdirs.
10769
10770Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
10771
10772 * configure.in: add signal_dir, like unix_dir, but by default it
10773 is set to "signal" so that a29khif can turn it off (since a29khif
10774 has raise() as part of machine-specific signal.s.)
10775
10776Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10777
10778 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
10779 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
10780 correctly.
10781 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
10782 libc/stdio/vfprintf: type lint.
10783 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
10784 initialzation code.
10785 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
10786
10787Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
10788
10789 * stub/mvme135/mvme135-asm.S: new file.
10790 stub/mvme135mvme135-stub.c: moved all assembler routines into
10791 mvme135-asm.S.
10792 stub/mvme135/Makefile.in: build mvme135-stub.o.
10793
10794Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
10795
10796 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
10797 sub-Makefiles instead, to try to avoid line length limitations.
10798
10799Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
10800
10801 * libc/include/unistd.h (read, write): Use void* instead of
10802 char*.
10803
10804Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
10805
10806 * stub/go32/resetpc: sample script to send a reset packet to the
10807 stub
10808
10809 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
10810 DOS environment, which compiles with Turbo C.
10811
10812 * stub/go32/DSER32.LNK: new file, linker commands for serial
10813 remote stub.
10814
10815 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
10816 start up message to identify version; call set_debug_traps.
10817
10818 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
10819 keyboard interaction); call handle_exception() in go_til_stop,
10820 rather than return, so that the remote stub gets control.
10821
10822 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
10823 rename, rather than mv), set flags that work with current Turbo C,
10824 including using the /3 flag; also, add commands to build dser32.
10825
10826 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
10827 default Turbo C installation (\tc rather than \usr)
10828
10829 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
10830 "&..."
10831
10832Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10833
10834 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
10835
10836Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10837
10838 * libc/stdio/cvt.c (licvt): new function to convert ints when
10839 sizeof(int) != sizeof(long).
10840
10841 * libc/include/stdio.h: added prototype for iprintf.
10842 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
10843
10844Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
10845
10846 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
10847 __REGISTER_PREFIX__.
10848
10849Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
10850
10851 * libc/sys/m68kbare: moved into stub directory.
10852
10853Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
10854
10855 * configure.in, Makefile.in: created new directory stub, to hold
10856 sample code for specific targets.
10857
10858Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
10859
10860 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
10861 in the unified libc/include/sys/fcntl.h.
10862
10863Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
10864
10865 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
10866 printed .01, not 0.01.
10867
10868Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
10869
10870 * configure.in: compile with -m68000 for m68* targets.
10871
10872Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
10873
10874 * libm/math/remainder.c (remainder): document the svr4 and sunos
10875 references used to construct the function.
10876
10877Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
10878
10879 * libm/math/remainder.c (rint, remainder): fix old typos.
10880 * libm/math/Makefile.in: actually build remainder.c (functions
10881 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
10882 page.)
10883
10884Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
10885
10886 * libc/string/bcopy.c: BSD version works on overlapping strings,
10887 so ours should too.
10888
10889 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
10890 ("SHELL").
10891
10892Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
10893
10894 * Makefile.in (docs): new target.
10895
10896Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
10897
10898 * libc/include/sys/times.h: define clock_t as required by POSIX.
10899 libc/include/time.h: protect clock_t from multiple definitions.
10900
10901Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10902
10903 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
10904 does not need more than the original three iterations to get
10905 within 1 ulp. (Paranoia tests for rounding to better than that,
10906 but further iterations *don't* help, only more subtle changes
10907 can.)
10908
10909Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
10910
10911 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
10912 were doing nothing useful.
10913
10914Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
10915
10916 * configure.in: define MALLOC_PROVIDED for vxworks targets;
10917 removed sys_dir settings of vxworks68 and vxworks960.
10918 host/any: don't pass -nostdinc to gcc, since newlib no longer
10919 provides all required header files.
10920
10921 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
10922 is not defined; this provides a hook for VxWorks.
10923
10924Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10925
10926 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
10927 buffer if buf is NULL, don't do it here -- it is already being
10928 done by makebuf elsewhere in stdio.
10929
10930Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
10931
10932 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
10933 that C programs can call functions without using initial
10934 underscores.
10935
10936Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
10937
10938 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
10939
10940Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
10941
10942 * configure.in: set TARGET_CFLAGS for certain CPU types to
10943 -msoft-float.
10944
10945Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10946
10947 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
10948
10949Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
10950
10951 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
10952 m68k*-unknown-coff.
10953
10954Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
10955
10956 * libc/include/stdio.h: define __need___va_list before including
10957 <stdarg.h>, to avoid defining va_arg, et. al.
10958
10959Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
10960
10961 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10962 (don't cd to the user's home directory).
10963
10964 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10965 In general this is the wrong thing to do, but I can't get around
10966 GNU make's insistence on passing command line arguments any other
10967 way.
10968
10969Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
10970
10971 * configure.in: always configure the libc/sys directory, since it
10972 now provides a required documentation file.
10973
10974 * Makefile.in: replaced all instances of $(MAKE) with make. In
10975 general this is the wrong thing to do, but I can't get around GNU
10976 make's insistence on passing command line arguments any other way.
10977
10978Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
10979
10980 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10981 terminated.
10982
10983 * libc/stdio/local.h: include <stdarg.h> to define va_list.
10984 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10985
10986 * libc/include/float.h, libc/include/stdarg.h,
10987 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10988 versions instead.
10989 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10990 <stdarg.h>, not from <machine/types.h>. Protect definition of
10991 NULL.
10992 libc/include/time.h: get size_t from stddef.h. Protect definition
10993 of NULL.
10994 libc/include/machine/limits.h: override gcc <limits.h> by defining
10995 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
10996 get correct INT_MIN and LONG_LONG values.
10997 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10998 size_t or va_list at all; they're now gotten from stddef.h
10999 instead.
11000 libc/include/machine/varargs.h: removed; use gcc version instead.
11001 libc/include/sys/types.h: explicitly include <machine/types.h>.
11002
11003 * libm/math/sqrt.h: using the fp-bit routines appears to require
11004 more iterations.
11005
11006 * Makefile.in, host/any: let system include files override machine
11007 include files.
11008
11009Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11010
11011 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
11012 override _*_T_ definitions defaulted here.
11013
11014Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
11015
11016 * Makefile.in (install): install the include files in
11017 $(tooldir)/include, not $(exec_prefix)/include.
11018
11019Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
11020
11021 * Makefile.in (install): fixed typo, and changed install to not
11022 force rebuild of libc.a and libm.a.
11023
11024Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
11025
11026 * libc/sys/a29khif/*: Changed all .include's to include
11027 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
11028 that they will be installed for the user.
11029
11030 * Makefile.in (all): create targ-include, a directory holding the
11031 machine and system specific header files during the build.
11032 (install): fixed installation of machine and system specific
11033 header files.
11034
11035 * Makefile.in: fixed comment.
11036 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
11037 we can pass $(INCLUDES) to it.
11038
11039Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
11040
11041 * libc/include/sys/param.h: new generic file, which may be
11042 overridden for specific systems.
11043
11044 * libc/include/sys/signal.h: define all ANSI signal names, and
11045 NSIG (which is not ANSI) for a29k.
11046
11047Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
11048
11049 * Makefile.in: don't pass down arguments the lower level makes
11050 will not need.
11051 * libc/Makefile.in: recurse directly, rather than using subdir_do,
11052 in hopes of avoiding argument length limits.
11053 * libm/Makefile.in: recurse directly, rather using subdir_do, in
11054 hopes of avoiding argument length limits.
11055
11056Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
11057
11058 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
11059 mode_t is defined.
11060
11061Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
11062
11063 * Fixed make info and make install-info for newlib, changing most
11064 Makefile.in and several *.tex files. Moved doc directory from
11065 libc to top level.
11066
11067 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
11068 Should be rewritten.
11069
11070 * libc/string/strings.tex: renamed node index to node index
11071 function, so that it does not conflict with the top level index
11072 node.
11073
11074 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
11075
11076Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
11077
11078 * Overhauled general configuration for newlib. Eliminated all
11079 target dependent Makefile fragments. Create libraries in newlib
11080 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
11081 than CROSS_CC, et. al. Broke make docs; will fix later.
11082
11083 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
11084 Should be rewritten.
11085
11086Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
11087
11088 * libc/configure.in: cleaned up somewhat; switch on ${target}
11089 rather than ${target_alias}.
11090 * libm/configure.in: cleaned up somewhat; switch on ${target}
11091 rather than ${target_alias}.
11092
11093 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
11094 * libc/include/ctype.h: marked _ctype_ as _CONST.
11095
11096 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
11097 _CONST.
11098
11099 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
11100 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
11101 libc/stdio/gets.c (gets): removed non-ANSI warning message.
11102 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
11103
11104 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
11105 bigtens, tinytens): marked arrays _CONST.
11106 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
11107 rather than a static variable.
11108
11109 * libc/time/asctime.c (asctime), libc/time/localtime.c
11110 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
11111 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
11112 mname_len, mname): Marked static arrays _CONST.
11113
11114 * libm/math/gamma.h: made local variables non-static.
11115
11116 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
11117 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
11118 _CONST.
11119
11120 * libm/math/constants.c: removed file, because the constants it
11121 defined were never referenced.
11122 libm/math/Makefile.in: removed references to constants.c.
11123 libm/math/mathimpl.h: removed declarations of constants.
11124
11125Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
11126
11127 * libc/include/machine/varargs.h: only call __builtin_saveregs if
11128 it is sensibly defined in libgcc2. Checks preprocessor defines,
11129 which is not a good solution.
11130
11131 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
11132
11133 * libm/frexp.c: handle denormalized numbers as arguments.
11134
11135 * libm/math/Makefile.in: added some dependencies for .c files
11136 which include local .h files.
11137
11138Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
11139
11140 * libc/configure.in: set target_alias for OSE*. Replace
11141 target_makefile_frag if it is blank.
11142
11143 * libc/Makefile.in: make sure everything is passed to subsidiary
11144 makes; create all directories when installing.
11145
11146 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
11147 CROSS_ARUPDATE instead of AR.
11148
11149 * libm/configure.in: set target_alias for OSE*. Replace
11150 target_makefile_frag if it is blank.
11151
11152 * libm/Makefile.in: make sure everything is passed to subsidiary
11153 makes; create all directories when installing.
11154
11155Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
11156
11157 * add following change from libc copy.
11158
11159Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11160
11161 * libc/libc.texinfo: make copyright disclaimers appear on back of
11162 title page; make format of same slightly less ugly; avoid using
11163 underbars in section headings (avoids nasty texinfo bug in table
11164 of contents).
11165
11166 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
11167 comments only) avoid using underbars in section headings
11168
11169 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
11170 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
11171 changes in comments only): shorten headings ieeefp/infinity.c,
11172 ieeefp/isnan.c: (doc, comments only) more informative headings
11173
11174 * libc/math/bessel.c: (doc, comments only) shorten heading
11175
11176 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
11177 (doc, comments only) shorten headings
11178
11179 * libc/time/localtime.c (doc, comments only): shorten headings
11180
11181 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
11182 isnan
11183 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
11184 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
11185 headings
11186 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
11187 only) more informative headings
11188 * libm/math/bessel.c: (doc, comments only) shorten heading
11189
11190Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11191
11192 * .../Makefile.in: use CROSS_ARUPDATE consistently.
11193 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
11194 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
11195 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
11196 defined, the one from the .mt file will be correct.
11197 * libc/include/machine, libc/include/sys: created, and populated
11198 with common files from machine/*/machine. ifdefs were used for
11199 most, typically by handling exceptions first and then filling in
11200 defaults. Files with D.J. Delorie copyright #included rather than
11201 copied. Most files in include/sys really were the same in the
11202 original.
11203 * libc/include/...: cleaned up use of _EXFUN.
11204 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
11205 it with double quotes, not angles.
11206
11207Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
11208
11209 * libc/Makefile.in: always create installation directories.
11210
11211Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11212
11213 * libc/configure.in: handle host properly (using canonical
11214 triples), better error message for the case of target not found
11215
11216Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
11217
11218 * libc/Makefile.in (insincdir): Ensure this directory exists
11219 before attempting installation.
11220
11221Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11222
11223 * libc/stdlib/assert.c: now calls abort like it should
11224 * libc/sys/a29khif: many many patches for 29khif work
11225 * libc/machine/i386: gnulib2 expanded there.
11226
11227Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11228
11229 Added accurate fp conversion routines to stdlib, moved dcvt from
11230 stdio to stdlib and called it ecvtbuf:
11231 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
11232 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
11233 routines
11234 * libc/libc.texinfo: Modifed to include the copyright info from
11235 the mprec files
11236 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
11237 * libc/test/ : many vector which tested for the implementation
11238 defined returns of strange conversion requests have been updated
11239 to relflect the new implementation
11240
11241Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11242
11243 * libc/libc.texinfo: new chapter on variable arg lists
11244 (stdarg.h/varargs.h)
11245 * libc/libc.texinfo: new title
11246 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
11247 (doc only) shorter headings for better formatting.
11248
11249Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11250
11251 * libc/libc.texinfo: three more info menu entries
11252 * libc/locale/locale.tex: new chapter
11253 * libc/locale/locale.c: new doc for setlocale, localeconv
11254 * libc/locale/Makefile.in: use new locale doc
11255 * libc/signal/signal.tex: new chapter
11256 * libc/signal/raise.c, libc/signal/signal.c: new doc
11257 * libc/signal/Makefile.in: use new doc
11258 * libc/time/time.tex: new chapter
11259 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
11260 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
11261 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
11262 * libc/time/Makefile.in: use new doc
11263
11264Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11265
11266 * libm/math/log1p.c: split to use the new function way of float
11267 function definition. math/log1p.h deleted
11268 * libm/math/scalb.c: obsolete and deleted
11269 * libm/math/scalbn.c: created from part log1p.c
11270 * libm/math/Makefile.in: know about log1p and scalbn
11271
11272Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11273
11274 * libc/ctype/isupper.c: revise doc;
11275 libc/ctype/ctype.tex: use doc from isupper.c
11276
11277 * libc/string/bzero.c: new doc
11278
11279Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11280
11281 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
11282 new doc
11283 * libc/stdlib/Makefile.in: extract new doc
11284 * libc/stdlib/stdlib.tex: use new doc
11285
11286 * libc/string/strerror.c: expanded doc.
11287
11288 * libc/stdio/Makefile.in: extract doc from more files
11289 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
11290 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
11291 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
11292 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
11293 libc/stdio/vsprintf.c: new doc
11294 * libc/stdio/stdio.tex: use new doc
11295
11296Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11297
11298 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
11299 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
11300 finitef functions.
11301 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
11302 time ago.
11303
11304 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
11305 * libc/stdio/setbuf.c: added ansi style definition.
11306 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
11307 buffer if none provided.
11308 * libc/stdio/tmpfile.c: lint
11309 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
11310 rather than using static, also make sure file isn't already
11311 present. Uses P_tmpdir. (tempnam): rewritten to use new
11312 subroutine, and uses P_tmpdir.
11313 * libc/stdio/siprintf.c: created
11314
11315Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11316
11317 Release 1.03 for NEC, major mods. Main differences from release
11318 1.02::
11319
11320 More tests in test/:
11321 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
11322 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
11323 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
11324 get/set mask, get/set sticky and get/set roundtoi. Tests
11325 that setting the bits changes the way arithmetic is done.
11326 * string.c: added test to make sure memcmp does it with unsigned
11327 chars.
11328 * test.c: cleaned up and removed lint.
11329 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
11330 dvec.c: tests for string to value conversions, sprintf, scanf,
11331 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
11332 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
11333 rounding in sprintf too.
11334 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
11335 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
11336 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
11337 and function form.
11338 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
11339 powf
11340
11341 In the library:
11342 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
11343 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
11344 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
11345 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
11346 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
11347 than sprintf.
11348 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
11349 * Method of producting float versions of double functions has
11350 changed, functions will be modified gradually. So far:
11351 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
11352 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
11353 altered
11354 * libc/string/memcmp.c: now uses unsigned chars
11355 * libc/string/bcmp.c, libc/string/strcpy.c,
11356 libc/stsring/strxfrm.c: fixed doc
11357 * libc/sys/sysvnecv70.tex: fix example of sbrk code
11358\f
11359Local Variables:
11360version-control: never
11361End:
This page took 1.237301 seconds and 5 git commands to generate.