]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
ada73509
JJ
12002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/sys/linux/include/pthread.h: New file.
4
64b5e8f2
JJ
52002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6
7 * libc/include/sys/types.h: Support __need_inttypes macro
8 that only sets the __intxx and __uintxx types.
9 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
10 to get mprec.h.
11 * libc/machine/powerpc/Makefile.in: Regenerated.
12 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
13 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
14 redundant fixed-point conversion prototypes.
15 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
16 after setting __need_inttypes.
17
a94b60ce
CF
182002-08-18 Christopher Faylor <cgf@redhat.com>
19
20 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
21
29e17a86
JJ
222002-08-17 Jeff Johnston <jjohnstn@redhat.com>
23
24 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
25 _LONG_DOUBLE to double.
26
936b520f
JJ
272002-08-17 Jeff Johnston <jjohnstn@redhat.com>
28
29 * configure.host: Add powerpc*-*-eabispe* configuration.
30 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
31 * libc/machine/powerpc/atosfix32.c: Ditto.
32 * libc/machine/powerpc/atosfix64.c: Ditto.
33 * libc/machine/powerpc/atoufix16.c: Ditto.
34 * libc/machine/powerpc/atoufix32.c: Ditto.
35 * libc/machine/powerpc/atoufix64.c: Ditto.
36 * libc/machine/powerpc/fix64.h: Ditto.
37 * libc/machine/powerpc/simdldtoa.c: Ditto.
38 * libc/machine/powerpc/strtosfix16.c: Ditto.
39 * libc/machine/powerpc/strtosfix32.c: Ditto.
40 * libc/machine/powerpc/strtosfix64.c: Ditto.
41 * libc/machine/powerpc/strtoufix16.c: Ditto.
42 * libc/machine/powerpc/strtoufix32.c: Ditto.
43 * libc/machine/powerpc/strtoufix64.c: Ditto.
44 * libc/machine/powerpc/ufix64toa.c: Ditto.
45 * libc/machine/powerpc/configure.in: Add check for
46 powerpc*-eabispe and add fixed-point conversion functions.
47 * libc/machine/powerpc/configure: Regenerated.
48 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
49 %r and %R format specifiers which handle fixed-point data.
50 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
51 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
52 function prototypes.
53
ad552766
JJ
542002-08-17 Jeff Johnston <jjohnstn@redhat.com>
55
56 * Makefile.am: Move cmath stuff into libc/sys/linux.
57 * Makefile.in: Regenerated.
58 * configure.host: Default -DMB_CAPABLE for x86-linux.
59 * libc/include/reent.h: Define _sbrk to take signed int argument.
60 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
61 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
62 make locale name checking more efficient. Also allow "C-ISO-8859-1"
63 locale for LC_CTYPE and LC_MESSAGES.
64 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
65 * libc/sys/linux/brk.c: Change sbrk prototype.
66 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
67 include <sys/features.h>.
68 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
69 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
70 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
71 with a few local additions.
72 * libc/sys/linux/sys/features.h: New file.
73 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
74 to take signed argument.
75 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
76 prototypes to take signed size argument.
77
d3bd3632
TF
782002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
79
80 * libc/sys/linux/cmath: New directory.
81 * libc/sys/linux/include/cmathcalls.h: New file.
82 * libc/sys/linux/include/complex.h: New file.
83 * libc/sys/linux/machine/i386/huge_val.h: New file
84 * libm/math/w_sincos.c: New file
85 * libm/math/wf_sincos.c: New file
86 * libm/mathfp/s_sincos.c: New file
87 * libm/mathfp/sf_sincos.c: New file
88 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
89 * libc/include/math.h: Add sincos and sincosf declarations.
90 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
91 (SUBLIBS): Likewise.
92 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
93 * libm/math/Makefile.am (src): Add w_sincos.c.
94 (fsrc): Add wf_sincos.c.
95 * libm/mathfp/Makefile.am (src): Add s_sincos.c
96 (fsrc): Add sf_sincos.c.
97
b3a9676b
JJ
982002-08-12 Jeff Johnston <jjohnstn@redhat.com>
99
100 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
101 Declare as extern chars and use the address operator to
102 properly use values set in linker script.
103
659e7062
JJ
1042002-08-09 Jason Tishler <jason@tishler.net>
105
106 * libc/stdlib/mallocr.c: Include <limits.h>.
107 (request2size): Change macro to do
108 unsigned long comparisons and avoid signed overflow.
109 (mALLOc): Add overflow check for the number of bytes to allocate.
110 (rEALLOc): Ditto.
111
037240a2
JJ
1122002-08-09 Jeff Johnston <jjohnstn@redhat.com>
113
114 * configure.host: Add check for --enable-newlib-io-pos-args
115 and define WANT_IO_POS_ARGS flag if enabled. Define
116 the flag by default for x86-linux configurations.
117 * configure.in: Add support for --enable-newlib-io-pos-args.
118 * libc/configure.in: Ditto.
119 * configure: Regenerated.
120 * libc/configure: Ditto.
121 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
122 vfprintf.c and vfiprintf.c.
123 * libc/stdio/Makefile.in: Regenerated.
124 * libc/stdio/vfprintf.c: Add positional argument support that
125 is enabled by compiling with -DWANT_IO_POS_ARGS.
126
172fda76
RS
1272002-08-07 Richard Sandiford <rsandifo@redhat.com>
128
129 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
130 based on __mips_soft_float rather than __mips64.
131 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
132 of both 32-bit and 64-bit code.
133
4866247e
CF
1342002-08-04 Christopher Faylor <cgf@redhat.com>
135
136 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
137 arguments for popen to match similar functionality in fopen.
138
b96332ce
CV
1392002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
140
141 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
142
60d99bce
JJ
1432002-07-29 Jeff Johnston <jjohnstn@redhat.com>
144
145 * libc/sys/linux/Makefile.am: Add aio64.c.
146 * libc/sys/linux/Makefile.in: Regenerated.
147 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
148 * libc/sys/linux/aio64.c: New file.
149
80a21be0
JJ
1502002-07-26 Jeff Johnston <jjohnstn@redhat.com>
151
152 * libc/include/sys/param.h (MAX, MIN): Added macros.
153 * libc/sys/linux/Makefile.am: Add new files.
154 * libc/sys/linux/Makefile.in: Regenerated.
155 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
156 * libc/sys/linux/inode.c (fchdir): Added syscall.
157 * libc/sys/linux/ftw.c: New file.
158 * libc/sys/linux/ftw64.c: Ditto.
159 * libc/sys/linux/getwd.c: Ditto.
160 * libc/sys/linux/scandir64.c: Ditto.
161 * libc/sys/linux/strverscmp.c: Ditto.
162 * libc/sys/linux/versionsort.c: Ditto.
163 * libc/sys/linux/versionsort64.c: Ditto.
164
6b6425cb
JJ
1652002-07-26 Jeff Johnston <jjohnstn@redhat.com>
166
167 * libc/string/strings.tex: Fix typo for memccpy.
168
dc8ac8e6
JJ
1692002-07-25 Jeff Johnston <jjohnstn@redhat.com>
170
171 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
172 * libc/sys/linux/sys/types.h (off64_t): Definition added.
173
aa0ca6fd
JJ
1742002-07-25 Jeff Johnston <jjohnstn@redhat.com>
175
176 * libc/sys/linux/Makefile.am: Add fclean.c.
177 * libc/sys/linux/Makefile.in: Regenerated.
178 * libc/sys/linux/fclean.c: New file.
179
61921945
JJ
1802002-07-25 Jeff Johnston <jjohnstn@redhat.com>
181
182 * libc/sys/linux/Makefile.am: Add confstr.c.
183 * libc/sys/linux/Makefile.in: Regenerated.
184 * libc/sys/linux/confstr.c: New file.
185 * libc/sys/linux/confstr.h: Ditto.
186 * libc/sys/linux/sys/unistd.h: Include <features.h> and
187 <bits/environments.h>.
188
3d966a92
JJ
1892002-07-25 Jeff Johnston <jjohnstn@redhat.com>
190
191 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
192 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
193 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
194 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
195 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
196 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
197
53b5bff7
JJ
1982002-07-24 Jeff Johnston <jjohnstn@redhat.com>
199
200 * libc/sys/linux/Makefile.am: Add new files.
201 * libc/sys/linux/Makefile.in: Regenerated.
202 * libc/sys/linux/fstab.c: New file.
203 * libc/sys/linux/fstatvfs.c: Ditto.
204 * libc/sys/linux/fstatvfs64.c: Ditto.
205 * libc/sys/linux/internal_statvfs.c: Ditto.
206 * libc/sys/linux/mntent.c: Ditto.
207 * libc/sys/linux/mntent_r.c: Ditto.
208 * libc/sys/linux/statvfs.c: Ditto.
209 * libc/sys/linux/statvfs64.c: Ditto.
210 * libc/sys/linux/include/paths.h: Ditto.
211 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
212 with double-underscore weak-aliases.
213 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
214
9cef8ef5
JJ
2152002-07-24 Jeff Johnston <jjohnstn@redhat.com>
216
217 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
218 to use _sig_func_ptr type casted constants.
219 (_sig_func_ptr): Typedef moved to sys/signal.h.
220 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
221 For __rtems, use POSIX definition, otherwise default to ANSI.
222 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
223
a703e0f2
JJ
2242002-07-24 Stephane Carrez <stcarrez@nerim.fr>
225
226 * configure.host: Recognize m6811-elf and m6812-elf targets.
227 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
228 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
229 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
230 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
231 according to __INT_MAX__.
232 (_POINTER_INT): Define to short.
233 * libc/machine/m68hc11/Makefile.am: New file.
234 * libc/machine/m68hc11/Makefile.in: New file.
235 * libc/machine/m68hc11/configure.in: New file.
236 * libc/machine/m68hc11/configure: New file.
237 * libc/machine/m68hc11/aclocal.m4: New file.
238 * libc/machine/m68hc11/setjmp.S: New file.
239
d254189b
JJ
2402002-07-23 Jeff Johnston <jjohnstn@redhat.com>
241
242 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
243 prototypes.
244 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
245 * libc/stdlib/Makefile.in: Regenerated.
246 * libc/stdlib/strdup.c: Removed.
247 * libc/stdlib/strdup_r.c: Removed.
248 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
249 mempcpy.c, strndup.c, and strndup_r.c.
250 * libc/string/Makefile.in: Regenerated.
251 * libc/string/memccpy.c: New file.
252 * libc/string/mempcpy.c: Ditto.
253 * libc/string/strndup.c: Ditto.
254 * libc/string/strndup_r.c: Ditto.
255 * libc/string/strdup.c: New file moved from stdlib.
256 * libc/string/strdup_r.c: Ditto.
257 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
258
bc100655
JJ
2592002-07-23 Jeff Johnston <jjohnstn@redhat.com>
260
261 * libc/include/stdio.h: Move fcloseall prototype within
262 #ifndef _REENT_ONLY section.
263 * libc/sys/linux/Makefile.am: Add new files.
264 * libc/sys/linux/Makefile.in: Regenerated.
265 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
266 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
267 * libc/sys/linux/sys/types.h: Add ino64_t type.
268 * libc/sys/linux/ctermid.c: New file.
269 * libc/sys/linux/ttyname_r.c: Ditto.
270 * libc/sys/linux/readdir64.c: Ditto.
271
f5f27f07
JJ
2722002-07-22 Jeff Johnston <jjohnstn@redhat.com>
273
274 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
275 * libc/stdio/Makefile.am: Added fcloseall.c support.
276 * libc/stdio/Makefile.in: Regenerated.
277 * libc/stdio/fcloseall.c: New file.
278 * libc/stdio64/Makefile.am: Remove missing .def references.
279 * libc/stdio64/Makefile.in: Regenerated.
280
d541ba3e
JJ
2812002-07-22 Jeff Johnston <jjohnstn@redhat.com>
282
283 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
284 * libc/machine/powerpc/times.c: New file.
285 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
286 * libc/machine/powerpc/Makefile.in: Regenerated.
287
2882002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
289
290 * libc/machine/powerpc/time.c: New file.
291 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
292 time.c.
293 * libc/machine/powerpc/Makefile.in: Regenerated.
294
5e7d0a55
TF
2952002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
296
297 * libc/libc.texinfo: Change copyright notices to Red Hat from
298 Cygnus.
299 * libm/libm.texinfo: Likewise.
300 * README: Change docs URL to
301 http://sources.redhat.com/newlib/docs.html.
302
504628e7
JJ
3032002-07-19 Jeff Johnston <jjohnstn@redhat.com>
304
305 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
306 * libc/sys/linux/Makefile.in: Regenerated.
307 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
308 * libc/sys/linux/io.c: Add ftruncate syscall.
309 * libc/sys/linux/fpathconf.c: New file.
310 * libc/sys/linux/pathconf.c: Ditto.
311 * libc/sys/linux/linux_fsinfo.h: Ditto.
312 * libc/sys/linux/sys/unistd.h: Ditto.
313
b155ad9f
JJ
3142002-07-19 Jeff Johnston <jjohnstn@redhat.com>
315
316 * libc/stdio64/Makefile.am: Remove missing files.
317 * libc/stdio64/Makefile.in: Regenerated.
318
c119e0ab
JJ
3192002-07-19 Jeff Johnston <jjohnstn@redhat.com>
320
321 * libc/include/sys/config.h[__i386__][__linux__]: Define
322 _LARGE64FILE_SOURCE to 1.
323 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
324 * libc/sys/linux/Makefile.in: Regenerated.
325 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
326 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
327 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
328 of <linux/resource.h>.
329 * libc/sys/linux/getrlimit64.c: New file.
330 * libc/sys/linux/setrlimit64.c: Ditto.
331
9b022d6d
TF
3322002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
333
334 * libc/argz/argz_replace.c: Include buf_findstr.h.
335 * libc/argz/buf_findstr.c: Likewise.
336 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
337 value to (char *).
338 * libc/argz/envz_get.c: Likewise.
339 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
340 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
341 * libc/stdlib/getsubopt.3: New file.
342 * libc/stdlib/getsubopt.c: New file.
343 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
344 Change esp to ebp.
345
dee51391
JJ
3462002-07-17 Jeff Johnston <jjohnstn@redhat.com>
347
348 * configure.host(stdio64_dir): New setting that is used to
349 enable building of new stdio64 directory.
350 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
351 large files.
352 (stmp-stdio64,stdio64.texi): New targets to optionally add in
353 stdio64 info to info files.
354 * libc/Makefile.in: Regenerated.
355 * libc/configure: Ditto.
356 * libc/configure.in: Add configuration variables that are set
357 when stdio64 is selected as subdir in configure.host.
358 * libc/libc.texinfo: Add optional menu item for Stdio64, based
359 on whether STDIO64 flag is set or not.
360 * libc/sys.tex: Add optional stdio64 syscalls based on whether
361 STDIO64 flag is set or not.
362 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
363 _r sycall routines.
364 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
365 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
366 (__SL64): New file flag indicating file is opened via fopen64.
367 * libc/include/sys/_types.h(_off64_t): Added.
368 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
369 * libc/include/sys/reent.h(struct __sFILE64): New file structure
370 for 64-bit offset large file support.
371 (__FILE): New intermediate type either set to struct __sFILE64 or
372 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
373 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
374 * libc/reent/Makefile.in: Regenerated.
375 * libc/reent/fstat64r.c: New file.
376 * libc/reent/lseek64r.c: Ditto.
377 * libc/reent/open64r.c: Ditto.
378 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
379 based on whether STDIO64 flag is set.
380 * libc/stdio/stdio.tex: Add blank line.
381 * libc/stdio64/Makefile.am: New file.
382 * libc/stdio64/Makefile.in: Ditto.
383 * libc/stdio64/fgetpos64.c: Ditto.
384 * libc/stdio64/fopen64.: Ditto.
385 * libc/stdio64/freopen64.c: Ditto.
386 * libc/stdio64/fseeko64.c: Ditto.
387 * libc/stdio64/fsetpos64.c: Ditto.
388 * libc/stdio64/ftello64.c: Ditto.
389 * libc/stdio64/local64.h: Ditto.
390 * libc/stdio64/stdio64.c: Ditto.
391 * libc/stdio64/stdio64.tex: Ditto.
392 * libc/stdio64/tmpfile64.c: Ditto.
393 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
394 open64.
395
778876f6
JJ
3962002-07-16 Jeff Johnston <jjohnstn@redhat.com>
397
398 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
399 if LIBC_EXTRA_LIB is present.
400 * libc/Makefile.in: Regenerated.
401 * libc/libc.texinfo: Add blank line.
402 * libc/argz/Makefile.am: Add doc support.
403 * libc/search/Makefile.am: Ditto.
404 * libc/argz/Makefile.in: Regenerated.
405 * libc/search/Makefile.in: Ditto.
406 * libc/misc/misc.tex: Add ffs function.
407 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
408
37981145
JJ
4092002-07-15 Jeff Johnston <jjohnstn@redhat.com>
410
411 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
412 definition that was removed in error.
413
38b5dc59
JJ
4142002-07-15 Jeff Johnston <jjohnstn@redhat.com>
415
416 * libc/include/machine/ieeefp.h: Change to only define
417 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
418 __IEEE_LITTLE_ENDIAN must be defined for each platform).
419 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
420 remove redundant floating point definitions.
421
8cb61a96
JJ
4222002-07-15 Jeff Johnston <jjohnstn@redhat.com>
423
424 * libc/sys/linux/callocr.c: Fix so code references
425 calloc.
426
edba3282
JJ
4272002-07-15 Jeff Johnston <jjohnstn@redhat.com>
428
429 * libc/sys/linux/Makefile.am: Add new files.
430 * libc/sys/linux/Makefile.in: Regenerated.
431 * libc/sys/linux/bp-sym.h: Moved to include directory.
432 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
433 * libc/sys/linux/inode.c: Set _LIBC to 1.
434 * libc/sys/linux/mq_close.c: Ditto.
435 * libc/sys/linux/mq_getattr.c: Ditto.
436 * libc/sys/linux/mq_open.c: Ditto.
437 * libc/sys/linux/mq_receive.c: Ditto.
438 * libc/sys/linux/mq_send.c: Ditto.
439 * libc/sys/linux/mq_setattr.c: Ditto.
440 * libc/sys/linux/mq_unlink.c: Ditto.
441 * libc/sys/linux/calloc.c: New file.
442 * libc/sys/linux/callocr.c: Ditto.
443 * libc/sys/linux/cfreer.c: Ditto.
444 * libc/sys/linux/config.h: Ditto.
445 * libc/sys/linux/free.c: Ditto.
446 * libc/sys/linux/freer.c: Ditto.
447 * libc/sys/linux/msize.c: Ditto.
448 * libc/sys/linux/msizer.c: Ditto.
449 * libc/sys/linux/mstats.c: Ditto.
450 * libc/sys/linux/mtrim.c: Ditto.
451 * libc/sys/linux/mtrimr.c: Ditto.
452 * libc/sys/linux/pvallocr.c: Ditto.
453 * libc/sys/linux/realloc.c: Ditto.
454 * libc/sys/linux/reallocr.c: Ditto.
455 * libc/sys/linux/thread-m.h: Ditto.
456 * libc/sys/linux/vallocr.c: Ditto.
457 * libc/sys/linux/bp-checks.h: Ditto.
458 * libc/sys/linux/libc-symbols.h: Ditto.
459 * libc/sys/linux/libc-tsd.h: Ditto.
460 * libc/sys/linux/libintl.h: Ditto.
461 * libc/sys/linux/malign.c: Ditto.
462 * libc/sys/linux/malignr.c: Ditto.
463 * libc/sys/linux/mallinfor.c: Ditto.
464 * libc/sys/linux/malloc.c: Ditto.
465 * libc/sys/linux/mallocr.c: Ditto.
466 * libc/sys/linux/malloptr.c: Ditto.
467 * libc/sys/linux/mallstatsr.c: Ditto.
468 * libc/sys/linux/mcheck.c: Ditto.
469 * libc/sys/linux/mhooks.h: Ditto.
470 * libc/sys/linux/include/bp-sym.h: Ditto.
471 * libc/sys/linux/include/malloc.h: Ditto.
472 * libc/sys/linux/include/mcheck.h: Ditto.
473 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
474 getpagesize.c.
475 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
476 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
477 * libc/sys/linux/machine/i386/getpagesize.c: New file.
478 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
479 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
480 * libc/sys/linux/machine/i386/sysdep.h: New file.
481 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
482 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
483 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
484
ea20b60a
JJ
4852002-07-12 Jeff Johnston <jjohnstn@redhat.com>
486
487 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
488 instead of <asm/siginfo.h>.
489 * libc/sys/linux/sys/signal.h: Change to include various linux
490 <bits/xxx.h> header files, rather than <linux/signal.h> so as
491 to work with multiple releases of glibc header files.
492
2fc82912
JJ
4932002-07-11 Chris Demetriou <cgd@broadcom.com>
494
495 * testsuite/newlib.search/hsearchtest.c: New file to test
496 newlib/libc/search.
497 * testsuite/newlib.search/hsearchtest.exp: Likewise.
498
4a404e97 4992002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
500
501 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
502 a terminal.
503 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
504
6aec558e
JJ
5052002-07-08 Jeff Johnston <jjohnstn@redhat.com>
506
507 * libc/include/math.h (MAXFLOAT): Added.
508
e47e6f0e 509Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
510
511 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
512 Make strcmp.S unconditional.
513 * libc/machine/sh/Makefile.in: Regenerate.
514 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
515 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
516 for SHcompact.
517
89ffbd66
JJ
5182002-07-04 Jeff Johnston <jjohnstn@redhat.com>
519
520 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
521 define before including <sys/lock.h>.
522
ae6c4c84
JJ
5232002-07-04 Jeff Johnston <jjohnstn@redhat.com>
524
525 * libc/include/utime.h: Add include of <_ansi.h>.
526 * libc/sys/linux/Makefile.am: Add utimes.c.
527 * libc/sys/linux/Makefile.in: Regenerated.
528 * libc/sys/linux/inode.c(__umask): New static routine.
529 (umask): Written to use __umask and attempt to thread lock.
530 (getumask): New function written to use __umask and thread lock.
531 * libc/sys/linux/utimes.c: New file.
532 * libc/sys/linux/sys/time.h: Fix utimes prototype.
533 * libc/sys/linux/sys/utime.h: New file.
534
a6cac46c
TF
5352002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
536
537 * libtool.m4: New file.
538 * libc/sys/linux/process.c: Implement vfork in terms of fork,
539 rather than as a syscall.
540
30b2092f
JJ
5412002-07-04 Jeff Johnston <jjohnstn@redhat.com>
542
543 * libc/include/stdio.h: Add new prototypes.
544 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
545 * libc/stdio/Makefile.in: Regenerated.
546 * libc/stdio/fseek.c: Add fseeko documentation.
547 * libc/stdio/ftell.c: Add ftello documentation.
548 * libc/stdio/fseeko.c: New file.
549 * libc/stdio/ftello.c: New file.
550
7501704d
JJ
5512002-07-04 Jeff Johnston <jjohnstn@redhat.com>
552
553 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
554 * libc/stdio/Makefile.in: Regenerated.
555 * libc/stdio/asprintf.c: New file.
556 * libc/stdio/vasprintf.c: Ditto.
557 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
558 the buffer for asprintf support.
559 * libc/stdio/sprintf.c: Add asprintf documentation.
560 * libc/stdio/vfprintf.c: Add vasprintf documentation.
561 * libc/include/stdio.h: Add new prototypes.
562
66eee32b
TF
5632002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
564
565 * libc/search/hcreate.c: Remove advertising clause from license.
566 * libc/search/hcreate_r.c: Likewise.
567
cec4a9f8
JJ
5682002-07-02 Chris Demetriou <cgd@broadcom.com>
569
570 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
571 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
572 Check that one of them is defined and error out if not.
573 Add any platforms defined in <machine/ieeefp.h> that are missing.
574 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
575 (DB_LITTLE_ENDIAN): New defines.
576 * libc/search/hash.c: Replace all incorrect checks for
577 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
578 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
579 * libc/search/hash_page.c: Likewise.
580
2d5eb17e
TF
5812002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
582
583 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
584
c1a3171f
JJ
5852002-06-27 Benjamin Kosnik <bkoz@redhat.com>
586
587 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
588 * libc/include/time.h: Same.
589 * libc/include/string.h: Same.
590 * libc/include/stdlib.h: Same.
591 * libc/include/signal.h: Same.
592 * libc/include/setjmp.h: Same.
593 * libc/include/math.h: Same.
594 * libc/include/locale.h: Same.
595 * libc/include/ctype.h: Same.
596 * libc/include/machine/setjmp.h: Same.
597 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
598 (_END_STD_C): Add.
599
533b4e66
JJ
6002002-06-27 Jeff Johnston <jjohnstn@redhat.com>
601
602 * libc/include/sys/_types.h: Define _ssize_t as int if int is
603 32-bits, otherwise define it as long.
604 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
605 and define ssize_t as _ssize_t.
606 * libc/reent/readr.c: Change return type to _ssize_t.
607 * libc/reent/writer.c: Ditto.
608 * libc/sys/linux/Makefile.am: Add aio.c.
609 * libc/sys/linux/Makefile.in: Regenerated.
610 * libc/sys/linux/aio.c: New file.
611 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
612 * libm/common/fdlibm.h: Undef __P before defining it.
613
c36e6dd7
TF
6142002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
615
54be629f
TF
616 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
617 exponent_is_even_int variable. Handle case where x is
618 negative, and y is an odd integer.
619 * libm/mathfp/sf_pow.c (powf): Likewise.
620
c36e6dd7
TF
621 * libm/mathfp/er_lgamma.c: Remove __kernel references.
622 * libm/mathfp/erf_lgamma.c: Likewise.
623 * libm/mathfp/s_tgamma.c: Likewise.
624 * libm/mathfp/sf_tgamma.c: Likewise.
625
baf051ca
JJ
6262002-06-27 Jeff Johnston <jjohnstn@redhat.com>
627
628 * libc/sys/linux/Makefile.am: Add new clock routines.
629 * libc/sys/linux/Makefile.in: Regenerated.
630 * libc/sys/linux/clock_getres.c: New file.
631 * libc/sys/linux/clock_gettime.c: Ditto.
632 * libc/sys/linux/clock_settime.c: Ditto.
633 * libc/sys/linux/hp-timing.h: Ditto.
634 * libc/sys/linux/libc-internal.h: Ditto.
635 * libc/sys/linux/sysconf.c: Fix typo.
636 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
637 * libc/sys/linux/machine/hp-timing.h: New file.
638 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
639 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
640 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
641 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
642 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
643 * libc/sys/linux/sys/linux_time.h: New file.
644 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
645 replace with <sys/linux_time.h>.
646
0431ed4e
JR
647Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
648
649 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
650
fc067ba5
JJ
6512002-06-25 Jeff Johnston <jjohnstn@redhat.com>
652
653 * libc/sys/linux/Makefile.am: Consolidate additional items under
654 ADD_OBJS.
655 * libc/sys/linux/Makefile.in: Regenerated.
656
ffddf61e
JJ
6572002-06-25 Jeff Johnston <jjohnstn@redhat.com>
658
659 * libc/sys/linux/sethostname.c: New file.
660 * libc/sys/linux/Makefile.am: Add sethostname.c support.
661 * libc/sys/linux/Makefile.in: Regenerated.
662
d5487d3f
TF
6632002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
664
665 * libc/search/db_local.h: New file.
666 * libc/include/db.h: Remove.
667 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
668 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
669 "db_local.h".
670 * libc/search/hash_bigkey.c: Likewise.
671 * libc/search/hash_buf.c: Likewise.
672 * libc/search/hash_func.c: Likewise.
673 * libc/search/hash_log2.c: Likewise.
674 * libc/search/hash_page.c: Likewise.
675
6762002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 677
1e7ca711 678 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
679 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
680 * libc/machine/sh/Makefile.am: Regenerate.
681
59c6d6c4
JJ
6822002-06-24 Jeff Johnston <jjohnstn@redhat.com>
683
684 * libc/sys/linux/gethostname.c: Change name to __gethostname and
685 add gethostname alias.
686
a70486d7
JJ
6872002-06-24 Jeff Johnston <jjohnstn@redhat.com>
688
689 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 690 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 691 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 692 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
693 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
694 * libm/common/fdlibm.h: Ditto.
695
3118725a
TF
6962002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
697
698 * libc/include/ndbm.h: Remove.
699 * libc/search/ndbm.c: Remove.
700
30a06168
TF
7012002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
702
703 * libc/stdio/fseek.c (fseek): Fix braces.
704
01f5155e
CV
7052002-06-21 Corinna Vinschen <corinna@vinschen.de>
706
707 * libc/time/strftime.c (strftime): Add %e format specifier.
708
930bc96b
TF
7092002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
710
711 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
712 previously defined.
713
55105f86
JJ
7142002-06-21 Richard Earnshaw (rearnsha@arm.com)
715
716 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
717 (BYTE_ORDER): Define as appropriate for the target.
718
2e78444a
JJ
7192002-06-21 Jeff Johnston <jjohnstn@redhat.com>
720
721 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
722 to _ssize_t.
723 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
724
d427d092
JJ
7252002-06-21 Jeff Johnston <jjohnstn@redhat.com>
726
727 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
728 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
729 [HAVE_GETDATE](getdate_err): New error code.
730 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
731 * libc/stdio/Makefile.in: Regenerated.
732 * libc/stdio/getdelim.c: New file.
733 * libc/stdio/getline.c: Ditto.
734 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
735 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
736 * libc/sys/linux/Makefile.in: Regenerated.
737 * libc/sys/linux/getdate.c: New file.
738 * libc/sys/linux/getdate_err.c: Ditto.
739 * libc/sys/linux/ntp_gettime.c: Ditto.
740 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
741 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
742
35728d4f
JJ
7432002-06-21 Jeff Johnston <jjohnstn@redhat.com>
744
745 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
746 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
747 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
748 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
749 * libc/include/sys/param.h: Remove i386 case which is handled
750 by default case.
751 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
752 definitions in case they are already defined.
753 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
754 _IEEE_LITTLE_ENDIAN flags.
755 * libc/include/sys/reent.h: Change __uint32_t references to
756 use _ULong instead.
757 (_REENT_GETDATE_REENT_P): New macro.
758 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
759 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
760 * libc/search/hash.h: Add default setting of BYTE_ORDER,
761 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
762 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
763 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
764 pid_t, off_t, loff_t, caddr_t, and daddr_t type
765 definitions which are done by subsequent glibc headers.
766 Add macro definitions to prevent subsequent header files from
767 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
768 intptr_t to after glibc definitions of types they are based on.
769
4a2bfab7
JJ
7702002-06-21 Jeff Johnston <jjohnstn@redhat.com>
771
772 * libc/include/errno.h: Protect from multiple inclusion.
773
f42d18ea
NC
7742002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
775
776 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
777
a7b23a8f
TF
7782002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
779
780 * Makefile.am (LIB_OBJECTLISTS): Add
781 libc/search/objectlist.awk.in.
782 * libc/Makefile.am (SUBDIRS): Add search.
783 (SUBLIBS): Add search/libsearch.la.
784 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
785 * libc/search: New directory.
786 * libc/search/Makefile.am: New file.
787 * libc/search/extern.h: New file.
788 * libc/search/hash.c: New file.
789 * libc/search/hash.h: New file.
790 * libc/search/hash_bigkey.c: New file.
791 * libc/search/hash_buf.c: New file.
792 * libc/search/hash_func.c: New file.
793 * libc/search/hash_log2.c: New file.
794 * libc/search/hash_page.c: New file.
795 * libc/search/hcreate.3: New file.
796 * libc/search/hcreate.c: New file.
a7b23a8f
TF
797 * libc/search/hcreate_r.c: New file.
798 * libc/search/ndbm.c: New file.
799 * libc/search/page.h: New file.
800 * libc/search/tdelete.c: New file.
801 * libc/search/tdestroy.c: New file.
802 * libc/search/tfind.c: New file.
803 * libc/search/tsearch.3: New file.
804 * libc/search/tsearch.c: New file.
805 * libc/search/twalk.c: New file.
806 * libc/include/db.h: New file.
807 * libc/include/ndbm.h: New file.
808 * libc/include/search.h: New file.
809 * libc/include/sys/queue.h: New file.
810 * libc/include/sys/cdefs.h: New file.
811 * libc/include/sys/param.h
812 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
813 LITTLE_ENDIAN or BIG_ENDIAN.
814 * libc/include/sys/errno.h (EFTYPE): New macro.
815 * libc/search/bsearch.c: Move from libc/stdlib.
816 * libc/search/qsort.c: Likewise.
817 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
818 qsort.c.
819 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
820 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
821
ef467338
JJ
8222002-06-19 Jeff Johnston <jjohnstn@redhat.com>
823
824 * libc/sys/linux/Makefile.am: Add support for message queue routines,
825 ipc routines, and ftok.
826 * libc/sys/linux/Makefile.in: Regenerated.
827 * libc/sys/linux/ftok.c: New file.
828 * libc/sys/linux/ipc.c: Ditto.
829 * libc/sys/linux/mq_close.c: Ditto.
830 * libc/sys/linux/mq_getattr.c: Ditto.
831 * libc/sys/linux/mq_notify.c: Ditto.
832 * libc/sys/linux/mq_open.c: Ditto.
833 * libc/sys/linux/mq_receive.c: Ditto.
834 * libc/sys/linux/mq_send.c: Ditto.
835 * libc/sys/linux/mq_setattr.c: Ditto.
836 * libc/sys/linux/mq_unlink.c: Ditto.
837 * libc/sys/linux/mqlocal.h: Ditto.
838 * libc/sys/linux/include/mqueue.h: Ditto.
839 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
840 __uid_t_defined.
841
7f55c08c
TF
8422002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
843
844 * libm/common/sf_lround.c (round): Change name to: (lround).
845 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
846 remquof.
847
c9ca68d7
TF
8482002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
849
850 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
851 procedure.
852 (newlib_pass_fail): Change to compile and run only one file.
853 * testsuite/newlib.locale/locale.exp: Use new
854 newlib_pass_fail_all procedure.
855 * testsuite/newlib.string/string.exp: Likewise.
856
4ecedd09
DB
8572002-06-18 Dave Brolley <brolley@redhat.com>
858
859 From Catherine Moore, Michael Meissner, Richard Sandiford:
860 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
861 (_JBTYPE): Ditto.
862 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
863 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
864 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
865 * configure.host: Support frv-*-*.
866 * libc/machine/frv/Makefile.am: New file.
867 * libc/machine/frv/configure.in: New file.
868 * libc/machine/frv/setjmp.S: New file.
869
af1c257a
TF
8702002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
871
872 * libc/include/ctype.h: Remove isblank macro.
873
874 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
875 * libc/ctype/isblank.c: New file.
876 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
877 declaration. Add isblank macro.
878
4e04fa90
JJ
8792002-06-18 Jeff Johnston <jjohnstn@redhat.com>
880
881 * testsuite/newlib.stdlib/atexit.c: New file.
882 * testsuite/newlib.stdlib/atexit.exp: Ditto.
883 * testsuite/newlib.string/tstring.c: Change default start size
884 to something more reasonable for embedded platforms.
885
b56d7e79
TF
8862002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
887
ece3c72f
TF
888 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
889
b56d7e79
TF
890 * libc/argz: New directory.
891 * libc/argz/*: New files.
892 * libc/argz/argz_add.c: New file.
893 * libc/argz/argz_add_sep.c: New file.
894 * libc/argz/argz_append.c: New file.
895 * libc/argz/argz_count.c: New file.
896 * libc/argz/argz_create.c: New file.
897 * libc/argz/argz_create_sep.c: New file.
898 * libc/argz/argz_delete.c: New file.
899 * libc/argz/argz_extract.c: New file.
900 * libc/argz/argz_insert.c: New file.
901 * libc/argz/argz_next.c: New file.
902 * libc/argz/argz_replace.c: New file.
903 * libc/argz/argz_stringify.c: New file.
904 * libc/argz/buf_findstr.c: New file.
905 * libc/argz/envz_add.c: New file.
906 * libc/argz/envz_entry.c: New file.
907 * libc/argz/envz_get.c: New file.
908 * libc/argz/envz_merge.c: New file.
909 * libc/argz/envz_remove.c: New file.
910 * libc/argz/envz_strip.c: New file.
911 * libc/include/argz.h: New file.
912 * libc/include/envz.h: New file.
913 * Makefile.am (LIBC_OBJECTLISTS): Add
914 libc/argz/objectlist.awk.in.
915 * libc/Makefile.am (SUBDIRS): Add argz.
916 (SUBLIBS): Add argz/libargz.la.
917 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
918 * libc/include/errno.h: Add error_t typedef.
919
d062d3dd
JJ
9202002-06-13 Jeff Johnston <jjohnstn@redhat.com>
921
922 * libc/include/stdlib.h: Add _Exit prototype.
923 * libc/stdlib/Makefile.am: Add _Exit.c support.
924 * libc/stdlib/Makefile.in: Ditto.
925 * libc/stdlib/_Exit.c: New file.
926
a47e66ae
JJ
9272002-06-13 Stephen L. Moshier <steve@moshier.net>
928
929 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
930 x is close to -1.0 and y is very large to use ax (absolute value)
931 instead of x.
932 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
933
13f7d71f
JR
934Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
935
936 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
937 Fix clobbering bytes before destination if src and dst have same
938 non-zero misalignment.
1f1fb421
JR
939
940 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
941 Fixed bug in writing end of set region.
942
b2e8018f
CF
9432002-06-10 Christopher Faylor <cgf@redhat.com>
944
945 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
946 spawnve declaration.
947
0953fe64
TF
9482002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
949
950 * libm/common/s_fdim.c: New file.
951 * libm/common/s_fma.c: Likewise.
952 * libm/common/s_fmax.c: Likewise.
953 * libm/common/s_fmin.c: Likewise.
954 * libm/common/s_fpclassify.c: Likewise.
955 * libm/common/s_lrint.c: Likewise.
956 * libm/common/s_lround.c: Likewise.
957 * libm/common/s_nearbyint.c: Likewise.
958 * libm/common/s_remquo.c: Likewise.
959 * libm/common/s_round.c: Likewise.
960 * libm/common/s_scalbln.c: Likewise.
961 * libm/common/s_signbit.c: Likewise.
962 * libm/common/s_trunc.c: Likewise.
963 * libm/common/sf_fdim.c: Likewise.
964 * libm/common/sf_fma.c: Likewise.
965 * libm/common/sf_fmax.c: Likewise.
966 * libm/common/sf_fmin.c: Likewise.
967 * libm/common/sf_lrint.c: Likewise.
968 * libm/common/sf_lround.c: Likewise.
969 * libm/common/sf_nearbyint.c: Likewise.
970 * libm/common/sf_remquo.c: Likewise.
971 * libm/common/sf_round.c: Likewise.
972 * libm/common/sf_scalbln.c: Likewise.
973 * libm/common/sf_trunc.c: Likewise.
974 * libm/math/w_exp2.c: Likewise.
975 * libm/math/w_tgamma.c: Likewise.
976 * libm/math/wf_exp2.c: Likewise.
977 * libm/math/wf_tgamma.c: Likewise.
978 * libm/mathfp/s_exp2.c: Likewise.
979 * libm/mathfp/s_tgamma.c: Likewise.
980 * libm/mathfp/sf_exp2.c: Likewise.
981 * libm/mathfp/sf_tgamma.c: Likewise.
982 * libm/math/er_gamma.c: Fix return value.
983 * libm/math/erf_gamma.c: Likewise.
984 * libm/mathfp/er_gamma.c: Likewise.
985 * libm/mathfp/erf_gamma.c: Likewise.
986 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
987 declarations and macros.
988 Regenerated all Makefile.in, aclocal.m4 and configure files to
989 use new libtool macros in top-level libtool.m4
990
39e65e01
JJ
9912002-06-05 Jeff Johnston <jjohnstn@redhat.com>
992
993 * libc/include/string.h[__linux__]: Add strsignal prototype.
994 * libc/include/sys/lock.h: New file with default locking support.
995 * libc/include/sys/reent.h: Add signal buffer support for strsignal
996 and psignal.
997 * libc/posix/Makefile.am: Add support for readdir_r.c.
998 * libc/posix/Makefile.in: Regenerated.
999 * libc/posix/closedir.c: Add locking support and hash table cleanup.
1000 * libc/posix/opendir.c: Add lock support.
1001 * libc/posix/readdir.c: Ditto.
1002 * libc/posix/rewinddir.c: Ditto.
1003 * libc/posix/scandir.c: Ditto.
1004 * libc/posix/seekdir.c: Ditto.
1005 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
1006 clean up leftover hash table entries.
1007 * libc/posix/readdir_r.c: New file.
1008 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
1009 * libc/sys/linux/Makefile.in: Regenerated.
1010 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
1011 * libc/sys/linux/sys/signal.h: Add psignal prototype.
1012 * libc/sys/linux/psignal.c: New file.
1013 * libc/sys/linux/strsignal.c: Ditto.
1014
cc890e89
CV
10152002-06-03 Corinna Vinschen <corinna@vinschen.de>
1016
1017 * libc/include/sys/types.h: Don't define dev_t when compiling for
1018 Cygwin.
1019
ea55e3f7
JJ
10202002-05-31 Jeff Johnston <jjohnstn@redhat.com>
1021
1022 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
1023 make siglist.inc dependent on sig.c instead of signal.c.
1024 * libc/sys/linux/Makefile.in: Regenerated.
1025 * libc/sys/linux/sig.c: Rename from signal.c and change code to
1026 use NSIG instead of _NSIG.
1027 * libc/sys/linux/sigaction.c: New file.
1028 * libc/sys/linux/signal.c: Changed to be linux signal() function
1029 so as to override regular newlib default signal.c.
ea55e3f7
JJ
1030 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
1031 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1032 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
1033 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
1034 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
1035 default linux sigset_t typedef by defining it equal to __sigset_t.
1036 * libc/unix/sigset.c: Add check so code isn't compiled on systems
1037 with a sigset_t that isn't implemented with a single int.
1038
9d362914
JJ
10392002-05-30 Jeff Johnston <jjohnstn@redhat.com>
1040
1041 * libc/sys/linux/Makefile.am: Add support for new files.
1042 * libc/sys/linux/Makefile.in: Regenerated.
1043 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
1044 * libc/sys/linux/signal.c: Change to use real-time syscalls for
1045 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
1046 it is in a separate file now.
1047 * libc/sys/linux/machine/i386/Makefile.am
1048 * libc/sys/linux/machine/i386/Makefile.in
1049 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
1050 * libc/sys/linux/sigaction.c: New file.
1051 * libc/sys/linux/sigqueue.c: Ditto.
1052 * libc/sys/linux/sigwait.c: Ditto.
1053 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
1054 * libc/sys/linux/kernel_sigaction.h: Ditto.
1055
b1f07180
JJ
10562002-05-28 Jeff Johnston <jjohnstn@redhat.com>
1057
1058 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
1059 tcsendbrk.c.
1060 * libc/sys/linux/Makefile.in: Regenerated.
1061 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
1062 tcgetpgrp(), and tcsetpgrp() functions.
1063 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
1064 to get __MAX_BAUD rate.
1065 * libc/sys/linux/machine/i386/include/termios.h: New file.
1066 * libc/include/machine/termios.h: Ditto.
1067 * libc/sys/linux/cfspeed.c: Ditto.
1068 * libc/sys/linux/tcsendbrk.c: Ditto.
1069
d29587b4
JJ
10702002-05-24 Jeff Johnston <jjohnstn@redhat.com>
1071
1072 * libc/include/string.h: Add strnlen and strerror_r prototypes.
1073 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
1074 * libc/string/Makefile.in: Regenerated.
1075 * libc/string/strerror_r.c: New file.
1076 * libc/string/strnlen.c: New file.
1077 * libc/sys/linux/Makefile.am: Add rename.c.
1078 * libc/sys/linux/Makefile.in: Regenerated.
1079 * libc/sys/linux/rename.c: New file to override default rename.
1080
9a292385
TF
10812002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1082
1083 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
1084 * libc/sys/linux/sys/time.h: Add conversion macros.
1085 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
1086 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
1087 * libc/sys/linux/gethostname.c: New file.
1088 * libc/sys/linux/seteuid.c: New file.
1089 * libc/sys/linux/sysctl.c: New file.
1090
7a364eb3
JJ
10912002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1092
1093 * libc/string/Makefile.am: Add support for strsep.c.
1094 * libc/string/Makefile.in: Regenerated.
1095 * libc/string/strsep.c: New file.
1096 * libc/string/strtok.c: Change to call __strtok_r service routine.
1097 * libc/string/strtok_r.c: Add __strtok_r routine which takes
1098 additional flag parameter regarding whether to skip leading delimeters.
1099 Change strtok_r to call __strtok_r.
1100
164ee5b0
JJ
11012002-05-23 Gareth Pearce <tilps@hotmail.com>
1102
1103 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
1104 * libc/stdio/Makefile.in: Regenerated.
1105 * libc/stdio/setbuffer.c: New file.
1106 * libc/stdio/setlinebuf.c: New file.
1107
f6b2b567
JJ
11082002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1109
1110 * libc/sys/linux/Makefile.am: Add resource.c.
1111 * libc/sys/linux/Makefile.in: Regenerated.
1112 * libc/sys/linux/resource.c: New file.
1113 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
1114 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
1115 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1116 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
1117 are now found in libc/sys/linux/resource.c.
1118
afe56517
JJ
11192002-05-23 Jeff Johnston <jjohnstn@redhat.com>
1120
1121 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
1122 to use void * pointers and comply with Single Unix spec.
1123 * libc/string/bcmp.c: Change to use void * instead of char *.
1124 * libc/string/bcopy.c: Ditto.
1125 * libc/string/bzero.c: Ditto.
1126
7736feb2
JJ
11272002-05-22 Jeff Johnston <jjohnstn@redhat.com>
1128
1129 * libc/sys/linux/shm_open.c: New file.
1130 * libc/sys/linux/shm_unlink.c: Ditto.
1131 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
1132 shm_unlink.c.
1133 * libc/sys/linux/Makefile.in: Regenerated.
1134 * libc/sys/linux/sys/types.h: Add some additional checks to see
1135 if clock_t or time_t is already defined.
1136
19f111bd
JJ
11372002-05-22 Jeff Johnston <jjohnstn@redhat.com>
1138
1139 * Makefile.am: Don't pass $toollibdir down directly in
1140 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
1141 Pass it under the name: top_toollibdir.
1142 * Makefile.in: Regenerated.
1143
c811b1ee
CV
11442002-05-22 Corinna Vinschen <vinschen@redhat.com>
1145
1146 * libc/include/sys/types.h: Revert previous patch.
1147
2b43ad33
CV
11482002-05-22 Corinna Vinschen <vinschen@redhat.com>
1149
1150 * libc/include/sys/types.h: Include cygwin/types.h always under
1151 Cygwin, not only if _POSIX_THREADS is defined.
1152
dd671cde
TF
11532002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
1154
1155 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
1156
5e2cbfb6
JJ
11572002-05-17 Jeff Johnston <jjohnstn@redhat.com>
1158
1159 * Makefile.am: Copy and install headers from sys/machine/include
1160 directory. Also pass $toollibdir to lower-level directories.
1161 * Makefile.in: Regenerated.
1162 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
1163 stderr to use _REENT macro instead of _impure_ptr directly.
1164 * libc/include/sys/config.h[__i386__][__linux__]: Define
1165 __DYNAMIC_REENT__.
1166 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
1167 call to __getreent() function if !__SINGLE_THREAD__ and
1168 __DYNAMIC_REENT__ is set.
1169 * libc/reent/Makefile.am: Add support for getreent.c.
1170 * libc/reent/Makefile.in: Regenerated.
1171 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
1172 * libc/sys/linux/Makefile.am: Add support for new files.
1173 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
1174 * libc/sys/linux/Makefile.in: Regenerated.
1175 * libc/sys/linux/configure: Ditto.
1176 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
1177 __close, __read, __write, __poll, __open, __lseek, __fcntl from
1178 their __libc_ counterparts.
1179 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
1180 and weak-alias to regular names.
1181 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
1182 to pread64 and __pread64.
1183 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
1184 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
1185 weak-alias to pwrite64.
1186 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
1187 __libc_sched_getscheduler, __libc_sched_get_priority_max,
1188 __libc_sched_get_priority_min, and __libc_sched_setschedule to
1189 name with __ instead of __libc_.
1190 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
1191 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
1192 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
1193 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
1194 to raise.
1195 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
1196 __libc_send to __send.
1197 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
1198 __gettimeofday.
1199 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
1200 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
1201 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
1202 type and typedef __jmp_buf to jmp_buf.
1203 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
1204 setjmp.S.
1205 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1206 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
1207 section.
1208 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
1209 prefix for function macros and then use weak_alias() to regular names.
1210 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1211 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
1212 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
1213 to be flockfile() and funlockfile() respectively.
1214 * libc/sys/linux/sys/types.h
1215 * libc/reent/getreent.c: New file.
1216 * libc/sys/linux/flockfile.c: Ditto.
1217 * libc/sys/linux/funlockfile.c: Ditto.
1218 * libc/sys/linux/getreent.c: Ditto.
1219 * libc/sys/linux/pread.c: Ditto.
1220 * libc/sys/linux/pwrite.c: Ditto.
1221 * libc/sys/linux/raise.c: Ditto.
1222 * libc/sys/linux/system.c: Ditto.
1223 * libc/sys/linux/tcdrain.c: Ditto.
1224 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
1225 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
1226 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
1227 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
1228 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
1229
7fc85bd1
TF
12302002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
1231
1232 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
1233 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
1234 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
1235 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
1236
6935231f 1237Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
1238
1239 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
1240 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
1241 exit point.
d7a2f413 1242
3a6cb01b
TF
12432002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1244
a68fa571
TF
1245 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
1246 options when testing natively on i[3456]86-*-linux.
1247
3a6cb01b
TF
1248 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
1249 only one pass or fail per test file. Trim \r's from output
1250 values received from test programs. Remove support for named
1251 tests.
1252 * testsuite/newlib.locale/UTF-8.exp: Update to support new
1253 newlib_check_output behaviour.
1254 * testsuite/newlib.locale/UTF-8.c: Likewise.
1255
dc824ef7
JJ
12562002-05-15 Jeff Johnston <jjohnstn@redhat.com>
1257
1258 * libc/include/stdlib.h: Add on_exit prototype.
1259 * libc/include/sys/reent.h (struct _atexit): Add argument array
1260 and bits to track type of exit routine to support both on_exit
1261 and atexit.
1262 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
1263 by default and change the setting of the atexit structure.
1264 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
1265 * libc/stdlib/on_exit.c: New file.
1266 * libc/stdlib/Makefile.am: Add support for on_exit.
1267 * libc/stdlib/Makefile.in: Regenerated.
1268 * libc/stdlib/atexit.c: Change to initialize types field.
1269 * libc/stdlib/exit.c: Change to look at types field for each
1270 exit routine and either call an atexit-style or an on_exit-style
1271 routine accordingly.
1272
48d91b4a
JJ
12732002-05-13 Jeff Johnston <jjohnstn@redhat.com>
1274
1275 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
1276 allow v specifier with n or L specifiers. For vector c format,
1277 move tmp declaration to the top.
1278
024739eb
JJ
12792002-05-13 Jeff Johnston <jjohnstn@redhat.com>
1280
1281 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
1282 the original format specifier when looping for vectors to compensate
1283 for any changes made in vector %g format processing.
1284 Also add syntax checking for various invalid scenarios
1285 involving vector format extensions.
1286 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
1287 return code setting for vector formats. Also treat vector
1288 separator mismatch as a match error instead of an input error.
1289 Perform some syntax checking for vector formats.
1290
7d2ce898
TF
12912002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1292
1293 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
1294 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
1295 * libc/string/strlcat.c: New file.
1296 * libc/string/strlcpy.c: New file.
1297
809b6ce7
JJ
12982002-05-10 Jeff Johnston <jjohnstn@redhat.com>
1299
1300 * libc/string/strchr.c: Fix comment typo.
1301
76490806
TF
13022002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1303
0c048a9a
TF
1304 * acinclude.m4: Add support for --enable-newlib-multithread.
1305 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
1306 --enable-newlib-multithread=no.
1307
76490806
TF
1308 * libc/stdio/getc_u.c: New file.
1309 * libc/stdio/getchar_u.c: New file.
1310 * libc/stdio/putc_u.c: New file.
1311 * libc/stdio/putchar_u.c: New file.
1312 * libc/include/stdio.h: Add declarations for getc_unlocked,
1313 getchar_unlocked, putc_unlocked and putchar_unlocked.
1314 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
1315 (CHEWOUT_FILES): Add new files' .def's.
1316 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
1317
96bff22c
JR
1318Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
1319
1320 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1321 Also handle as single quad word when destination ends at last
1322 byte of first quad word. Fix byte selection in single quad code.
1323
e71372fa
TF
13242002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1325
1326 * libc/include/sys/stdio.h: New file.
1327 * libc/sys/linux/sys/stdio.h: New file.
1328 * libc/include/stdio.h: Add declarations for flockfile,
1329 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
1330 * libc/stdio/clearerr.c: Add file locking.
1331 * libc/stdio/fclose.c: Likewise.
1332 * libc/stdio/feof.c: Likewise.
1333 * libc/stdio/ferror.c: Likewise.
1334 * libc/stdio/fflush.c: Likewise.
1335 * libc/stdio/fgetc.c: Likewise.
1336 * libc/stdio/fgetpos.c: Likewise.
1337 * libc/stdio/fgets.c: Likewise.
1338 * libc/stdio/fileno.c: Likewise.
1339 * libc/stdio/fputc.c: Likewise.
1340 * libc/stdio/fputs.c: Likewise.
1341 * libc/stdio/fread.c: Likewise.
1342 * libc/stdio/freopen.c: Likewise.
1343 * libc/stdio/fseek.c: Likewise.
1344 * libc/stdio/ftell.c: Likewise.
1345 * libc/stdio/fwrite.c: Likewise.
1346 * libc/stdio/getc.c: Likewise.
1347 * libc/stdio/putc.c: Likewise.
1348 * libc/stdio/setvbuf.c: Likewise.
1349 * libc/stdio/ungetc.c: Likewise.
1350 * libc/stdio/vfprintf.c: Likewise.
1351
a03790e4
JJ
13522002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1353
60b2107c
TF
1354 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
1355 support for 'p' format. Fix code to print bytes for vector
1356 integer formats that do not specify 'h' or 'l'.
1357 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
1358 for 'p' specifier. Fix code to scan 16 bytes for vector integer
1359 formats that do not specify 'h' or 'l'.
1360
1361 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
1362
9c7d6a9d
TF
13632002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1364
1365 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
1366 (_sbrk): Add cast of return value.
1367
c33c3635
JJ
13682002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1369
1370 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
1371 (_REENT_L64A_BUF): New macro for accessing area.
1372 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
1373 * libc/stdlib/Makefile.in: Regenerated.
1374 * libc/stdlib/a64l.c: New file.
1375 * libc/stdlib/l64a.c: New file.
1376
f78e59a8
JJ
13772002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1378
1379 * libc/unix/pread.c: Fix typo for _pread_r.
1380 * libc/unix/pwrite.c: Fix type for _pwrite_r.
1381 * libc/sys/linux/pread64.c: Fix typo for read syscall.
1382 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
1383
4b3f6588
CF
13842002-05-03 Christopher Faylor <cgf@redhat.com>
1385
1386 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
1387
e911832c
TF
13882002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1389
1390 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
1391
0d0fdc8d
CF
13922002-05-01 Christopher Faylor <cgf@redhat.com>
1393
1394 * utmp.h: Define more UNIX constants.
1395
1e997c56
TF
13962002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1397
0717f01c
TF
1398 * Makefile.am: Add support for checking multilibs.
1399
09841445
TF
1400 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1401 (SUBDEFS): Add LIBC_EXTRA_DEF.
1402 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1403 (LIBC_EXTRA_DEF): Likewise.
1404 (extra_dir): Likewise.
1405 * libc/machine/xscale/machine: New directory.
1406 * libc/machine/xscale/machine/profile.h: New file.
1407
1e997c56
TF
1408 * Makefile.am (site.exp): Remove newlib_cflags. Add
1409 multibuildtop.
1410 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1411 * testsuite/lib/flags.exp: New file.
1412 * testsuite/lib/newlib.exp: Load flags.exp.
1413 (newlib_target_compile): Remove libgloss directory references.
1414 (newlib_init): Remove newlib_cflags references.
1415
4cf4f010
TF
14162002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1417
f6bdb6f9
TF
1418 * testsuite/lib/newlib.exp (newlib_target_compile): Change
1419 method of finding libgloss_target_dir.
1420
4cf4f010
TF
1421 * Makefile.am (site.exp): Change host_alias, host_triplet,
1422 target_alias, target_triplet to refer to gcc's host and target
1423 variables (newlib's build and host variables).
1424 * testsuite/lib/newlib.exp (newlib_init): Change build
1425 references to host references, host references to target
1426 references to reflect Makefile.am changes.
1427 (newlib_target_compile): Likewise.
1428 (newlib_finish): Likewise.
1429
83096ae8
JJ
14302002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1431
1432 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1433
822afa53
JL
14342002-04-29 Jonathan Larmour <jlarmour@redhat.com>
1435
1436 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
1437 (_system): New function. Ditto.
1438 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
1439 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
1440 targets.
1441
29798f0d
JJ
14422002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
1445 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
1446 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
1447 * libc/sys/linux/Makefile.in: Regenerated.
1448 * libc/unix/Makefile.in: Ditto.
1449 * libc/sys/linux/pread64.c: New file.
1450 * libc/sys/linux/pwrite64.c: Ditto.
1451 * libc/unix/pread.c: Ditto.
1452 * libc/unix/pwrite.c: Ditto.
1453
557856bd
JJ
14542002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1455
1456 * libc/sys/linux/Makefile.am: Add io64.c.
1457 * libc/sys/linux/Makefile.in: Regenerated.
1458 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
1459 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
1460 * libc/sys/linux/io64.c: New file.
1461
7b2b12d5
JJ
14622002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1463
1464 * configure.in (CC_FOR_NEWLIB): New variable that
1465 bases on $(CC) and adds targ-include and libc/include as
1466 -isystem directives if they are not already part of $(CC).
1467 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
1468 $(CC_FOR_NEWLIB).
1469 * configure: Regenerated.
1470 * Makefile.in: Ditto.
1471
c62adacc
JJ
14722002-04-25 Jeff Johnston <jjohnstn@redhat.com>
1473
1474 * libc/sys/linux/Makefile.am: Add support for sched.c.
1475 * libc/sys/linux/Makefile.in: Regenerated.
1476 * libc/sys/linux/sched.c: New file.
1477 * libc/sys/linux/sys/types.h: Add struct timespec.
1478
217ad4a0
TF
14792002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1480
1481 * configure.in (CC_FOR_BUILD): Set to gcc whether
1482 cross-compiling or not.
1483 (CC): Add -isystem's for targ-include and libc/include when they
1484 do not already appear in CC.
1485
eaa75b70
TF
14862002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1487
1488 * Makefile.am (check-DEJAGNU): New target.
1489 (site.exp): Likewise.
1490 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
1491 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
1492 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
1493 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
1494 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
1495 * testsuite: New directory.
1496 * testsuite/config: Likewise.
1497 * testsuite/lib: Likewise.
1498 * testsuite/newlib.locale: Likewise.
1499 * testsuite/newlib.string: Likewise.
1500 * testsuite/config/default.exp: New file.
1501 * testsuite/lib/checkoutput.exp: New file.
1502 * testsuite/lib/newlib.exp: New file.
1503 * testsuite/lib/passfail.exp: New file.
1504 * testsuite/newlib.locale/UTF-8.c: New file.
1505 * testsuite/newlib.locale/UTF-8.exp: New file.
1506 * testsuite/newlib.locale/locale.exp: New file.
1507 * testsuite/newlib.string/string.exp: New file.
1508 * testsuite/newlib.string/tstring.c: New file.
1509
b9f9f699
JJ
15102002-04-23 Jeff Johnston <jjohnstn@redhat.com>
1511
1512 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
1513 * libc/sys/linux/Makefile.am: Add support for mmap.c.
1514 * libc/sys/linux/Makefile.in: Regenerated.
1515 * libc/sys/linux/mmap.c: New file.
1516 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
1517 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
1518
7394edbb
TF
15192002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1520
1521 * acinclude.m4 (newlib_cflags): Remove include directories that
1522 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
1523
b9f9f699 15242002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
1525
1526 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
1527 * libc/machine/xscale/memcmp.c: Ditto.
1528 * libc/machine/xscale/memcpy.c: Ditto.
1529 * libc/machine/xscale/memmove.c: Ditto.
1530 * libc/machine/xscale/memset.c: Ditto.
1531 * libc/machine/xscale/strchr.c: Ditto.
1532 * libc/machine/xscale/strcmp.c: Ditto.
1533 * libc/machine/xscale/strcpy.c: Ditto.
1534 * libc/machine/xscale/strlen.c: Ditto.
1535
2dd4c4dc
JJ
15362002-04-19 Alexandre Oliva <aoliva@redhat.com>
1537
1538 * libc/include/sys/config.h: Remove include of <limits.h>.
1539 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
1540 define INT_MAX and LONG_MAX. Use them in tests.
1541
0d844014
JJ
15422002-04-19 Jeff Johnston <jjohnstn@redhat.com>
1543
1544 * configure.host: Add support for powerpc-eabialtivec*.
1545 * libc/include/malloc.h: Add include of <machine/malloc.h>.
1546 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
1547 * libc/include/machine/malloc.h: New file.
1548 * libc/include/machine/stdlib.h: Ditto.
1549 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
1550 * libc/machine/powerpc/Makefile.am: Add conditional objects and
1551 sources based on configuration.
1552 * libc/machine/powerpc/Makefile.in: Regenerated.
1553 * libc/machine/powerpc/configure: Ditto.
1554 * libc/machine/powerpc/configure.in: Add check for
1555 powerpc-eabialtivec* in which case add in additional source files.
1556 * libc/machine/powerpc/setjmp.S: Add altivec support.
1557 * libc/machine/powerpc/vec_calloc.c: New file.
1558 * libc/machine/powerpc/vec_free.c: Ditto.
1559 * libc/machine/powerpc/vec_malloc.c: Ditto.
1560 * libc/machine/powerpc/vec_mallocr.c: Ditto.
1561 * libc/machine/powerpc/vec_realloc.c: Ditto.
1562 * libc/machine/powerpc/machine/malloc.h: Ditto.
1563 * libc/machine/powerpc/machine/stdlib.h: Ditto.
1564 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
1565 with added altivec format specifiers.
1566 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
1567 added altivec format specifiers.
1568
d413aadc
JS
15692002-04-19 Joel Sherrill <joel@OARcorp.com>
1570
1571 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
1572 while autoconf is trying to link main(){}.
1573
27193895
JJ
15742002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1575
1576 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
1577 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
1578
10d00216
JJ
15792002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1580
6b0f808e
JJ
1581 * libc/time/time.tex: Add tzset info.
1582
15832002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1584
1585 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1586 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1587 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1588 (tzname): Defined for all platforms.
1589 (daylight, timezone): Defined only for CYGWIN.
1590 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1591 environment set up.
1592 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1593 environment variable is set.
1594 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1595 tzset_r.c.
1596 * libc/time/Makefile.in: Regenerated.
1597 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1598 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1599 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1600 * libc/time/local.h: New local header file.
1601 * libc/time/mktime.c (mktime): Add timezone support.
1602 * libc/time/mktm_r.c: New file which is the common engine
1603 for gmtime_r and lcltime_r. This code has timezone support.
1604 * libc/time/strftime.c (strftime): Add %Z timezone support.
1605 * libc/time/tzlock.c: New file containing timezone lock stubs.
1606 * libc/time/tzset.c: New file containing tzset() routine.
1607 * libc/time/tzset_r.c: New file containing _tzset_r and
1608 internal routine for calculating timezone changes for specified year.
1609
16102002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1611
1612 * configure.in (CRT0_DIR): Set to libc/.
1613 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1614 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1615 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1616 $(CRT1_DIR)/$(CRT1).
1617 * libc/machine/xstormy16/Makefile.in: Regenerated.
1618 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1619 * libc/machine/xstormy16/configure: Regenerated.
1620
16212002-04-13 Alexandre Oliva <aoliva@redhat.com>
1622
1623 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1624 fails, don't bail out, and try to correct next time.
1625
1626 * libc/include/sys/config.h: Include limits.h.
1627
16282002-04-12 Eric Norum <eric.norum@usask.com>
1629
1630 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1631 routine to allow autoconf to determine that building executables
1632 for rtems works.
1633 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1634 (rtems_gxx_mutex_once): Ditto.
1635
16362002-04-09 Tom Rix <trix@redhat.com>
1637
1638 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1639
16402002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1641
1642 * libc/include/time.h: Fix strptime declaration.
1643 * libc/time/Makefile.am: Add strptime.c.
1644 * libc/time/Makefile.in: Regenerated.
1645 * libc/time/strptime.c: New file.
1646
16472002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1648
1649 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1650 siglongjmp prototype, and sigsetjmp macro definition.
1651 * libc/sys/linux/siglongjmp.c: New file.
1652 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1653 * libc/sys/linux/Makefile.in: Regenerated.
1654
16552002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1656
1657 * Makefile.am: Add support for installing crt1.o if one exists.
1658 * configure.host: Specify crt1.o for linux.
1659 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1660 * Makefile.in: Regenerated.
1661 * configure: Ditto.
1662 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1663 Added for non-Cygwin, non-RTEMS configurations.
1664 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1665 * libc/sys/linux/Makefile.in: Regenerated.
1666 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1667 by gcc. This fixes problem with reconfiguring linux newlib build.
1668 * libc/sys/linux/sysconf.c: New file.
1669
16702002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1671
1672 * configure.host: Add support for machine subdirectory of
1673 sys subdirectory.
1674 * configure.in: Add check for sys machine subdirectory.
1675 * Makefile.am: Ditto.
1676 * configure: Regenerated.
1677 * Makefile.in: Ditto.
1678 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1679 * libc/sys/linux/sys/syscall.h: Ditto.
1680 * libc/sys/linux/sleep.c: New file.
1681 * libc/sys/linux/socket.c: Ditto.
1682 * libc/sys/linux/sockops.h: Ditto.
1683 * libc/sys/linux/stack.c: Ditto.
1684 * libc/sys/linux/usleep.c: Ditto.
1685 * libc/sys/linux/machine/Makefile.am: Ditto.
1686 * libc/sys/linux/machine/Makefile.in: Ditto.
1687 * libc/sys/linux/machine/aclocal.m4: Ditto.
1688 * libc/sys/linux/machine/configure: Ditto.
1689 * libc/sys/linux/machine/configure.in: Ditto.
1690 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1691 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1692 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1693 * libc/sys/linux/machine/i386/configure: Ditto.
1694 * libc/sys/linux/machine/i386/configure.in: Ditto.
1695 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1696 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1697 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1698 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1699 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1700 * libc/sys/linux/sys/select.h: Ditto.
1701 * libc/sys/linux/configure.in: Add support for machine directory.
1702 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1703 * libc/sys/linux/Makefile.in: Regenerated.
1704 * libc/sys/linux/configure: Ditto.
1705 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1706 * libc/sys/linux/inode.c: Ditto.
1707 * libc/sys/linux/linux.c: Ditto.
1708 * libc/sys/linux/process.c: Ditto.
1709 * libc/sys/linux/systat.c: Ditto.
1710 * libc/sys/linux/time.c: Ditto.
1711 * libc/sys/linux/wait.c: Ditto.
1712 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1713 * libc/sys/linux/io.c: Change header plus add readv/writev.
1714 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1715 use __sigsuspend syscall.
1716 * libc/sys/linux/select.c: Change header plus change select to
1717 use _newselect syscall.
1718 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1719 used by glibc header files.
1720 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1721 types.
1722
17232002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1724
1725 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1726 initializing a struct _reent that has been dynamically allocated.
1727 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1728 _REENT_SMALL and does nothing otherwise.
1729 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1730 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1731 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1732 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1733 [_REENT_SMALL](struct _misc_reent): New structure containing
1734 miscellaneous reentrant areas needed by newlib.
1735 [_REENT_SMALL](struct _reent): Add _misc pointer.
1736 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1737 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1738 and _REENT_STRTOK_LAST macros.
1739 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1740 and _REENT_MBLEN_STATE macros.
1741 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1742 and _REENT_MBTOWC_STATE macros.
1743 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1744 and _REENT_WCTOMB_STATE macros.
1745
17462002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1747
1748 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1749
1750Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1751
1752 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1753
1754Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1755
1756 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1757 Store high part of leading bytes too.
1758
17592002-03-22 Richard Sandiford <rsandifo@redhat.com>
1760
1761 * libm/math/ef_hypot.c: Increase scale factor to 68.
1762
17632002-03-13 Alexandre Oliva <aoliva@redhat.com>
1764
1765 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1766 error.
1767
17682002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1769
1770 * libc/sys/go32/access.c: Change license to relaxed license
1771 used in identical file throughout newlib/libgloss.
1772
17732002-03-12 Richard Earnshaw <rearnsha@arm.com>
1774
1775 * libc/sys/arm/access.c: New file.
1776 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1777 * libc/sys/arm/Makefile.in: Regenerate.
1778 * libc/sys/arm/syscalls.c (_stat): New function.
1779
17802002-03-11 Michael Meissner <meissner@redhat.com>
1781
1782 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1783 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1784 * libc/machine/mips/Makefile.in: Regenerate.
1785 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1786 * libc/machine/mips/memset.c: Dito.
1787 * libc/machine/mips/strcmp.c: Dito.
1788 * libc/machine/mips/strlen.c: Dito.
1789 * libc/machine/mips/strncmp.c: Dito.
1790
17912002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1792
1793 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1794 object so it works for shared library or statici library.
17952002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1796
10d00216
JJ
1797 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1798 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1799 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1800 (tzname): Defined for all platforms.
1801 (daylight, timezone): Defined only for CYGWIN.
1802 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1803 environment set up.
1804 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1805 environment variable is set.
1806 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1807 tzset_r.c.
1808 * libc/time/Makefile.in: Regenerated.
1809 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1810 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1811 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1812 * libc/time/local.h: New local header file.
1813 * libc/time/mktime.c (mktime): Add timezone support.
1814 * libc/time/mktm_r.c: New file which is the common engine
1815 for gmtime_r and lcltime_r. This code has timezone support.
1816 * libc/time/strftime.c (strftime): Add %Z timezone support.
1817 * libc/time/tzlock.c: New file containing timezone lock stubs.
1818 * libc/time/tzset.c: New file containing tzset() routine.
1819 * libc/time/tzset_r.c: New file containing _tzset_r and
1820 internal routine for calculating timezone changes for specified year.
1821
5f1c13c6
TF
18222002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1823
1824 * configure.in (CRT0_DIR): Set to libc/.
1825 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1826 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1827 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1828 $(CRT1_DIR)/$(CRT1).
1829 * libc/machine/xstormy16/Makefile.in: Regenerated.
1830 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1831 * libc/machine/xstormy16/configure: Regenerated.
1832
0cc261b1
AO
18332002-04-13 Alexandre Oliva <aoliva@redhat.com>
1834
2f3009bd
AO
1835 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1836 fails, don't bail out, and try to correct next time.
1837
0cc261b1
AO
1838 * libc/include/sys/config.h: Include limits.h.
1839
26116455
JJ
18402002-04-12 Eric Norum <eric.norum@usask.com>
1841
1842 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1843 routine to allow autoconf to determine that building executables
1844 for rtems works.
1845 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1846 (rtems_gxx_mutex_once): Ditto.
1847
4608280d
TR
18482002-04-09 Tom Rix <trix@redhat.com>
1849
1850 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1851
dea7e25c
JJ
18522002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1853
1854 * libc/include/time.h: Fix strptime declaration.
1855 * libc/time/Makefile.am: Add strptime.c.
1856 * libc/time/Makefile.in: Regenerated.
1857 * libc/time/strptime.c: New file.
1858
c5ef1e95
JJ
18592002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1860
1861 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1862 siglongjmp prototype, and sigsetjmp macro definition.
1863 * libc/sys/linux/siglongjmp.c: New file.
1864 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1865 * libc/sys/linux/Makefile.in: Regenerated.
1866
6e6cd5bd
JJ
18672002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1868
1869 * Makefile.am: Add support for installing crt1.o if one exists.
1870 * configure.host: Specify crt1.o for linux.
1871 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1872 * Makefile.in: Regenerated.
1873 * configure: Ditto.
1874 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1875 Added for non-Cygwin, non-RTEMS configurations.
1876 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1877 * libc/sys/linux/Makefile.in: Regenerated.
1878 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1879 by gcc. This fixes problem with reconfiguring linux newlib build.
1880 * libc/sys/linux/sysconf.c: New file.
1881
fa4a16a1
JJ
18822002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1883
1884 * configure.host: Add support for machine subdirectory of
1885 sys subdirectory.
1886 * configure.in: Add check for sys machine subdirectory.
1887 * Makefile.am: Ditto.
1888 * configure: Regenerated.
1889 * Makefile.in: Ditto.
1890 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1891 * libc/sys/linux/sys/syscall.h: Ditto.
1892 * libc/sys/linux/sleep.c: New file.
1893 * libc/sys/linux/socket.c: Ditto.
1894 * libc/sys/linux/sockops.h: Ditto.
1895 * libc/sys/linux/stack.c: Ditto.
1896 * libc/sys/linux/usleep.c: Ditto.
1897 * libc/sys/linux/machine/Makefile.am: Ditto.
1898 * libc/sys/linux/machine/Makefile.in: Ditto.
1899 * libc/sys/linux/machine/aclocal.m4: Ditto.
1900 * libc/sys/linux/machine/configure: Ditto.
1901 * libc/sys/linux/machine/configure.in: Ditto.
1902 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1903 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1904 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1905 * libc/sys/linux/machine/i386/configure: Ditto.
1906 * libc/sys/linux/machine/i386/configure.in: Ditto.
1907 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1908 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1909 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1910 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1911 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1912 * libc/sys/linux/sys/select.h: Ditto.
1913 * libc/sys/linux/configure.in: Add support for machine directory.
1914 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1915 * libc/sys/linux/Makefile.in: Regenerated.
1916 * libc/sys/linux/configure: Ditto.
1917 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1918 * libc/sys/linux/inode.c: Ditto.
1919 * libc/sys/linux/linux.c: Ditto.
1920 * libc/sys/linux/process.c: Ditto.
1921 * libc/sys/linux/systat.c: Ditto.
1922 * libc/sys/linux/time.c: Ditto.
1923 * libc/sys/linux/wait.c: Ditto.
1924 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1925 * libc/sys/linux/io.c: Change header plus add readv/writev.
1926 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1927 use __sigsuspend syscall.
1928 * libc/sys/linux/select.c: Change header plus change select to
1929 use _newselect syscall.
1930 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1931 used by glibc header files.
1932 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1933 types.
1934
d4dca0e4
JJ
19352002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1936
1937 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1938 initializing a struct _reent that has been dynamically allocated.
1939 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1940 _REENT_SMALL and does nothing otherwise.
1941 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1942 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1943 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1944 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1945 [_REENT_SMALL](struct _misc_reent): New structure containing
1946 miscellaneous reentrant areas needed by newlib.
1947 [_REENT_SMALL](struct _reent): Add _misc pointer.
1948 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1949 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1950 and _REENT_STRTOK_LAST macros.
1951 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1952 and _REENT_MBLEN_STATE macros.
1953 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1954 and _REENT_MBTOWC_STATE macros.
1955 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1956 and _REENT_WCTOMB_STATE macros.
1957
54a7c6d2
JJ
19582002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1959
1960 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1961
c82479b1
CF
1962Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1963
1964 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1965
43ecf6e8
JR
1966Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1967
1968 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1969 Store high part of leading bytes too.
1970
a485d93f
RS
19712002-03-22 Richard Sandiford <rsandifo@redhat.com>
1972
1973 * libm/math/ef_hypot.c: Increase scale factor to 68.
1974
62a963ee
AO
19752002-03-13 Alexandre Oliva <aoliva@redhat.com>
1976
1977 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1978 error.
1979
c53d8453
JJ
19802002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1981
1982 * libc/sys/go32/access.c: Change license to relaxed license
1983 used in identical file throughout newlib/libgloss.
1984
d2a246ad
JJ
19852002-03-12 Richard Earnshaw <rearnsha@arm.com>
1986
1987 * libc/sys/arm/access.c: New file.
1988 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1989 * libc/sys/arm/Makefile.in: Regenerate.
1990 * libc/sys/arm/syscalls.c (_stat): New function.
1991
eabb48d5
MM
19922002-03-11 Michael Meissner <meissner@redhat.com>
1993
1994 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1995 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1996 * libc/machine/mips/Makefile.in: Regenerate.
1997 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1998 * libc/machine/mips/memset.c: Dito.
1999 * libc/machine/mips/strcmp.c: Dito.
2000 * libc/machine/mips/strlen.c: Dito.
2001 * libc/machine/mips/strncmp.c: Dito.
2002
2a606041
JJ
20032002-03-06 Jeff Johnston <jjohnstn@redhat.com>
2004
eabb48d5
MM
2005 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
2006 object so it works for shared library or statici library.
2007 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 2008
55f26f11
JR
2009Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
2010
96bff22c
JR
2011 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
2012 Add memcpy.S, memset.S and strcpy.S.
2013 * libc/machine/sh/Makefile.in: Regenerate.
2014 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 2015 (SHHI, SHLO): Define.
96bff22c
JR
2016 * libc/machine/sh/memset.S: Add code for SH5.
2017 * libc/machine/sh/memset.S: Likewise.
2018 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 2019
afecf2fa
JJ
20202002-02-27 Jeff Johnston <jjohnstn@redhat.com>
2021
2022 * configure.host: Add check for --disable-newlib-io-float
2023 configuration option and add -DNO_FLOATING_POINT to newlib cflags
2024 if appropriate.
2025 * acinclude.m4: Added --disable-newlib-io-float option.
2026 * aclocal.m4: Regenerated.
2027 * configure: Ditto.
2028 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2029 * libc/*/aclocal.m4 libc/*/configure
2030 * libm/*/aclocal.m4 libm/*/configure: Ditto.
2031 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
2032 if NO_FLOATING_POINT flag is not defined.
2033
c1010a63
JJ
20342002-02-25 Jeff Johnston <jjohnstn@redhat.com>
2035
2036 * libc/include/sys/config.h: Add __extension__ in front of
2037 long long references.
2038
630c657e
CV
20392002-02-23 Corinna Vinschen <corinna@vinschen.de>
2040
2041 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
2042 (_stat): Ditto.
2043
59ee2e20
CV
20442002-02-23 Corinna Vinschen <corinna@vinschen.de>
2045
2046 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
2047 of off_t.
2048
2dd68dc2
NC
20492002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2050
2051 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
2052 clobbered registers.
2053
55500bf1
TF
20542002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2055
2056 * configure.host (newlib_cflags): When host is in m68* add
2057 -DCOMPACT_CTYPE.
2058
ba0173f0
JJ
20592002-02-15 Jeff Johnston <jjohnstn@redhat.com>
2060
2061 * libc/include/sys/config.h: Add definitions for
2062 __int16_t, __uint16_t, __int64_t, and __uint64_t.
2063
7b61d0c5
JJ
20642002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
2065
2066 * libc/sys/mmixware/link.c: New.
2067 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
2068 volatile.
2069 * libc/sys/mmixware/times.c (_times): Renamed from times.
2070 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
2071 properly by reading previous contents, not through BinaryReadWrite.
2072 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
2073 * libc/sys/mmixware/Makefile.in: Regenerate.
2074
a505db65
CV
20752002-02-10 Corinna Vinschen <corinna@vinschen.de>
2076
2077 * libc/include/grp.h: Don't declare group functions when compiling
2078 Cygwin.
2079
f3b39c45
CV
20802002-02-09 Corinna Vinschen <corinna@vinschen.de>
2081
2082 * libc/include/grp.h: Include Cygwin specific header.
2083 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
2084 when compiling for Cygwin.
2085 * libc/include/sys/types.h: Don't define off_t, uid_t
2086 and gid_t when compiling for Cygwin.
2087
82b3ac56
MG
20882002-02-08 matthew green <mrg@redhat.com>
2089
2090 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
2091 _REENT_EMERGENCY_SIZE, not sizeof(char *).
2092
9f25eed9
AO
20932002-02-08 Alexandre Oliva <aoliva@redhat.com>
2094
2095 Contribute sh64-elf.
2096 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
2097 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
2098 support in printf.
2099 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
2100 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
2101 any labels.
2102 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
2103 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
2104 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
2105 * libc/machine/sh/configure.in: Rework conditionals.
2106 * libc/machine/sh/Makefile.am: Likewise.
2107 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
2108 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2109 * configure.host: Match `sh*'.
2110 * libc/include/machine/setjmp.h: Define for SH5.
2111 * libc/machine/sh/configure.in: Detect SH5.
2112 * libc/machine/sh/configure: Rebuilt.
2113 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
2114 * libc/machine/sh/Makefile.in: Rebuilt.
2115 * libc/machine/sh/asm.h: Adjust for SH5.
2116 * libc/machine/sh/setjmp.S: Implement in SHmedia.
2117 * libc/sys/sh/crt0.S: Likewise.
2118 * libc/sys/sh/trap.S: Likewise.
2119
a2a405ae
JJ
21202002-02-07 Jeff Johnston <jjohnstn@redhat.com>
2121
2122 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
2123 (mach_add_obj): Conditionally set to setjmp.o or nothing.
2124 (LIB_SOURCES): Remove $(mach_add_src).
2125 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
2126 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
2127 * libc/machine/i386/Makefile.in: Regenerate.
2128
27478365
JJ
21292002-02-05 Manik Raina <manik@cisco.com>
2130
994fa212 2131 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
2132 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
2133 s, p, k, and outstr.
2134 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
2135
815a37f7
JJ
21362002-02-04 Jeff Johnston <jjohnstn@redhat.com>
2137
2138 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
2139 _REENT_CHECK_EMERGENCY macro.
2140
a4139c12
MG
21412002-02-03 matthew green <mrg@redhat.com>
2142
2143 * libc/reent/signgam.c (__signgam): Fix error in previous.
2144
8195aff7
MG
21452002-02-02 matthew green <mrg@redhat.com>
2146
2147 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
2148
2149 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
2150 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
2151 * libc/include/sys/reent.h (struct _reent): Completely new version
2152 for _REENT_SMALL.
2153 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
2154 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
2155 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
2156 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
2157 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
2158 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
2159 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
2160 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
2161 (_REENT_EMERGENCY): Likewise.
2162
2163 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
2164 the start of the real __sFILE, used for stdin, stdout and stderr until
2165 they are setup properly.
2166 (struct __sFILE): Move location of _data in _REENT_SMALL case.
2167 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
2168 allocated stdin, stdout and stderr.
2169 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
2170 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
2171 * libc/stdio/perror.c (_perror_r): Likewise.
2172 * libc/stdio/printf.c (printf, _printf_r): Likewise.
2173 * libc/stdio/putchar.c (_putchar_r): Likewise.
2174 * libc/stdio/puts.c (_puts_r): Likewise.
2175 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
2176 * libc/stdio/vprintf.c (vprintf): Likewise.
2177 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
2178
2179 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
2180
2181 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
2182 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
2183 for _REENT_SMALL.
2184 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
2185 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
2186
2187 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
2188 _REENT_SMALL.
2189 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
2190 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
2191 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
2192 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
2193 * libc/stdlib/rand48.c (__dorand48): Likewise.
2194 * libc/stdlib/seed48.c (_seed48_r): Likewise.
2195 * libc/stdlib/srand48.c (_srand48_r): Likewise.
2196 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
2197 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
2198 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
2199 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
2200 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
2201 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
2202 * libc/stdlib/rand.c (rand): Likewise.
2203
2204 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
2205 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
2206
2207 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
2208 _REENT_MP_FREELIST() and _REENT_MP_P5S.
2209 * libc/include/sys/reent.h (struct _mprec): New structure.
2210
2211 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
2212 _unused_strtok_last.
2213 * libc/string/strtok.c (strtok): Use a local static variable.
2214
2215 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
2216 (_REENT_EMERGENCY_SIZE): Likewise.
2217 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
2218 _REENT_ASCTIME_BUF().
2219 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
2220 _REENT_TM().
2221
2222 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
2223 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
2224 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
2225 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
2226 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
2227 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
2228
9c2e7642
GK
22292002-02-01 Geoffrey Keating <geoffk@redhat.com>
2230
2231 * configure.host (xstormy16): Don't use the generic malloc.
2232 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
2233 * libc/machine/xstormy16/Makefile.in: Regenerate.
2234 * libc/machine/xstormy16/mallocr.c: New file.
2235 * libc/machine/xstormy16/tiny-malloc.c: New file.
2236
4bb6112f
TF
22372002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
2238
2239 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
2240 when _CYGWIN_TYPES_H is not defined.
2241
8d345552
TF
22422002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2243
2244 * libc/include/sys/signal.h: Revert 2002-01-23 change.
2245
bcc49082
TF
22462002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2247
2248 * libc/include/sys/signal.h: Remove pthread_kill declaration
2249 when __CYGWIN__ is defined.
2250
13baedeb
CF
22512002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2252
2253 * libc/include/time.h: Add prototype for strptime for Cygwin.
2254
b2db0ebc
NC
22552002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2256
ebf139fb
NC
2257 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
2258 dst was not word aligned.
2259
b2db0ebc
NC
2260 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
2261 if too much memory is requested.
2262
798c015d
JJ
22632002-01-11 Jeff Johnston <jjohnstn@redhat.com>
2264
2265 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
2266 reads blanks from the input file to break if EOF reached
2267 rather than end processing.
2268
46ad2ef4
JJ
22692002-01-07 Jeff Johnston <jjohnstn@redhat.com>
2270
2271 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
2272
86b06396
JJ
22732002-01-07 Alan Matsuoka <alanm@redhat.com>
2274
2275 * libc/include/machine/ieeefp.h: Configure d10v doubles to
2276 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
2277 libc/include/sys/config.h: Ditto.
2278
423d5064
CV
22792001-12-28 Corinna Vinschen <corinna@vinschen.de>
2280
2281 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
2282
f6eff1c0
GK
22832001-12-22 Geoffrey Keating <geoffk@redhat.com>
2284 Catherine Moore <clm@redhat.com>
2285 Richard Henderson <rth@redhat.com>
2286 Corinna Vinschen <vinschen@redhat.com>
2287
2288 * configure.host: Add support for xstormy16.
2289 * libc/include/machine/ieeefp.h: Add support for xstormy16.
2290 * libc/include/machine/setjmp.h: Add support for xstormy16.
2291 * libc/include/sys/config.h: Add support for xstormy16.
2292 * libc/machine/xstormy16/Makefile.am: New file.
2293 * libc/machine/xstormy16/Makefile.in: New file.
2294 * libc/machine/xstormy16/aclocal.m4: New file.
2295 * libc/machine/xstormy16/configure: New file.
2296 * libc/machine/xstormy16/configure.in: New file.
2297 * libc/machine/xstormy16/setjmp.S: New file.
2298
1f93c55f
TF
22992001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2300
2301 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
2302 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
2303
13b918be
CV
23042001-12-19 Corinna Vinschen <corinna@vinschen.de>
2305
2306 * libm/machine/Makefile.am: Change rules to create correct lib.a.
2307 * libm/machine/Makefile.in: Regenerated through automake.
2308
08e857b4
TF
23092001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2310
2311 * Makefile.am (DOCDIR): Force to empty string when doc
2312 directory is not present.
2313
60565ed6
TF
23142001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2315
2316 * libc/machine/i386/f_*: Move to libm/machine/i386.
2317
23182001-12-18 Joel Sherrill <joel@OARcorp.com>
2319
2320 * libm/machine/Makefile.am: Add dummy doc stub so
2321 "make info" works.
2322
23232001-12-17 Joel Sherrill <joel@OARcorp.com>
2324
2325 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
2326
fc504135
TF
23272001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2328
2329 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
2330 $(COMPILE) rather than $(CC).
2331 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
2332 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
2333 $(LIB_COMPILE) change.
2334 (vfiprintf.$(oext)): Likewise.
2335
efeae9a3
CV
23362001-12-17 Corinna Vinschen <vinschen@redhat.de>
2337
2338 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
2339 conditionalized including of getopt stuff.
2340
cdf7120d
TF
23412001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2342
2343 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
2344 compile line.
f85be99c 2345 (vfiprintf.$(oext)): Likewise.
cdf7120d 2346
2e1a7175
TF
23472001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2348
2349 * Makefile.shared: New file.
2350 * libc/sys/linux/shared.ld: New file.
2351 * libm/machine/*: New files.
2352 * libm/machine/i386/*: New files.
2353 * Makefile.am: Add libtool support. Change math and mathfp
2354 references to variables.
2355 * configure.host: Add variables for libtool support. Add
2356 libm_machine_dir variable.
2357 * configure.in: Add objectlist variables, for libtool
2358 support. Add CC_FOR_BUILD tests.
2359 * libc/Makefile.am: Add libtool support. Change crt0.o
2360 reference to be a variable reference.
2361 * libc/configure.in: Add libtool support. Change sublib
2362 names to be lib${subdir}.la when using libtool.
2363 * libc/ctype/Makefile.am: Add libtool support.
2364 * libc/errno/Makefile.am: Likewise.
2365 * libc/locale/Makefile.am: Likewise.
2366 * libc/machine/Makefile.am: Likewise.
2367 * libc/machine/configure.in: Likewise.
2368 * libc/machine/i386/Makefile.am: Likewise.
2369 * libc/machine/i386/configure.in: Likewise.
2370 * libc/misc/Makefile.am: Likewise.
2371 * libc/posix/Makefile.am: Likewise.
2372 * libc/reent/Makefile.am: Likewise.
2373 * libc/signal/Makefile.am: Likewise.
2374 * libc/stdio/Makefile.am: Likewise.
2375 * libc/stdlib/Makefile.am: Likewise.
2376 * libc/string/Makefile.am: Likewise.
2377 * libc/sys/Makefile.am: Likewise.
2378 * libc/sys/configure.in: Likewise.
2379 * libc/sys/linux/Makefile.am: Add libtool support. Change
2380 awk reference to a variable reference. Change signal.h
2381 reference to a variable reference.
2382 * libc/sys/linux/configure.in: Add libtool support.
2383 * libc/syscalls/Makefile.am: Likewise.
2384 * libc/time/Makefile.am: Likewise.
2385 * libc/unix/Makefile.am: Likewise.
2386 * libm/Makefile.am: Add libtool support. Change math and
2387 mathfp references to variables.
2388 * libm/configure.in: Add libtool support. Add
2389 LIBM_MACHINE_LIB variable.
2390 * libm/common/Makefile.am: Add libtool support.
2391 * libm/math/Makefile.am: Likewise.
2392 * libm/mathfp/Makefile.am: Likewise.
2393 Regenerate all Makefile.in, aclocal.m4, and configure.
2394
b92591a1
JJ
23952001-12-13 Anita Kulkarni <anitak@kpit.com>
2396
2397 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2398
355b664e
CF
23992001-12-06 John Peacock <jpeacock@rowman.com>
2400
2401 * libc/include/sys/unistd.h: Correct ualarm declaration.
2402
e9853806
NC
24032001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2404
2405 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2406 vector before calling the initialisation functions.
2407
a8e091b0
CF
24082001-11-29 Christopher Faylor <cgf@redhat.com>
2409
2410 * libc/include/dirent.h: Protect against multiple inclusion.
2411
ab634123
CF
24122001-11-27 Christopher Faylor <cgf@redhat.com>
2413
2414 * libc/include/sys/types.h: Define useconds_t.
2415 * libc/include/sys/ulimit.h: Declare ualarm.
2416
d37e401e
CF
24172001-11-21 Christopher Faylor <cgf@redhat.com>
2418
2419 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2420
8ac90051
HPN
24212001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
2422
2423 * libc/sys/mmixware/*: Tweak license header in all source files.
2424
d7ca37e4
CV
24252001-11-12 Corinna Vinschen <vinschen@redhat.com>
2426
2427 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2428 to here. Rearrange for general inclusion by stdlib.h.
2429 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2430 isn't defined.
2431 * libc/sys/linux/include/alloca.h: Move to libc/include.
2432
28f8744e
AG
24332001-11-12 Anthony Green <green@redhat.com>
2434
2435 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2436
4cede8c4
HPN
24372001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
2438
2439 * libc/sys/mmixware/*: Correct spacing in all source files.
2440 * libc/sys/mmixware/syscall.h: Move misplaced file...
2441 * libc/sys/mmixware/sys/syscall.h: ...here.
2442
8be9b48b
JJ
24432001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
2444
2445 * libc/include/machine/ieeefp.h: Add support for mmix target.
2446 * libc/include/machine/setjmp.h: Ditto.
2447 * configure.host: Ditto.
2448 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
2449 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
2450 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
2451 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
2452 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
2453 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
2454 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
2455 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
2456 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
2457 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
2458 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
2459 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
2460 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
2461 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
2462 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
2463 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
2464 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
2465 libc/sys/mmixware/aclocal.m4: Generate.
2466
c7dd4f95
CV
24672001-11-05 Corinna Vinschen <corinna@vinschen.de>
2468
2469 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
2470 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
2471 when __CYGWIN__ is defined.
2472 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
2473 logwtmp().
2474
a6a6f9fe
JJ
24752001-11-01 Arati Dikey <aratidikey@hotmail.com>
2476
2477 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
2478 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
2479 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
2480 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
2481
d0504c35
JJ
24822001-10-24 Christopher Faylor <cgf@redhat.com>
2483
2484 * libc/stdio/fseek.c: Reset pointer to buffer base
2485 when forced to seek outside of current buffer contents.
2486 This prevents the code from erroneously thinking there is
2487 anything in the current buffer.
2488
0280c8c0
GK
24892001-10-22 Geoffrey Keating <geoffk@redhat.com>
2490
2491 * libc/include/math.h: The C++ standard adds the single-precision
2492 versions of the elementary functions.
2493
333d6098
CF
24942001-10-22 Christopher Faylor <cgf@redhat.com>
2495
2496 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
2497 throughout.
2498 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
2499 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
2500 * system.c (_system_r): Ditto.
2501
c7118319
CV
25022001-10-17 Corinna Vinschen <corinna@vinschen.de>
2503
2504 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 2505 __CYGWIN__ or __rtems__ is defined.
c7118319 2506
5665b0e1
JJ
25072001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
2508
2509 * libc/include/stdlib.h: add declarations for
2510 _strtoull_r, _strtoll_r, strtoull, and strtoll.
2511 * libc/stdio/local.h: remove declarations of
2512 __strtoull_r and __strtoll_r.
2513 * libc/stdio/vfscanf.c(__svfscanf_r): call
2514 _strtoull_r instead of __strtoull_r. Ditto
2515 _strtoll_r vs. __strtoll_r.
2516 * libc/stdlib/Makefile.am: add new files to
2517 .c list and .def list
2518 * libc/stdlib/Makefile.in: regenerate
2519 * libc/stdlib/strtoll_r.c: rename __strtoll_r
2520 as _strtoll_r
2521 * libc/stdlib/strtoull_r.c: rename __strtoull_r
2522 as _strtoull_r
2523 * libc/stdlib/strtoull.c: new file
2524 * libc/stdlib/strtoll.c: new file
2525
d2d5eb41
CF
2526Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
2527
2528 * libc/include/process.h: Add getpid() declaration.
2529
448e3c14
NC
25302001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2531
2532 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
2533 for new style arm/elf ctor/dtor handling.
2534 Minor formatting tidy up.
2535
7a2afbbb
JJ
25362001-09-13 Jeff Johnston <jjohnstn@redhat.com>
2537
2538 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
2539 and strtoull_r.c.
2540 * libc/stdlib/Makefile.in: Regenerated.
2541 * libc/stdlib/strtoll_r.c: New file.
2542 * libc/stdlib/strtoull_r.c: New file.
2543 * libc/stdio/local.h: Add prototypes for long long string
2544 conversion routines.
2545 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
2546 tied to %L integer conversion specifier.
2547
6342caa4
JJ
2548Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
2549
2550 * strftime.c (strftime): Fix "%W" implementation to properly handle
2551 Mondays too.
2552
b2d319cb
JJ
25532001-09-07 Jeff Law <law@redhat.com>
2554
2555 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
2556 __fini with "mov.l" instead of "mov.w".
2557
233823ba
CV
25582001-09-05 Corinna Vinschen <corinna@vinschen.de>
2559
2560 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
2561 and getopt.h.
2562
63c17b54
JJ
25632001-09-04 Jason Merrill <jason_merrill@redhat.com>
2564
2565 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
2566
a3e67ddf
CV
25672001-09-03 Corinna Vinschen <corinna@vinschen.de>
2568
2569 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
2570 field.
2571 (__DIRENT_VERSION): New define.
2572
6d47f33a
CV
25732001-09-03 Corinna Vinschen <corinna@vinschen.de>
2574
2575 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
2576 Shrink __d_reserved accordingly to keep structure size.
2577 (dirfd): Declare external.
6d47f33a 2578
348c5e06
JJ
25792001-08-29 Joel Sherrill <joel@OARcorp.com>
2580
2581 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
2582
25832001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2584
2585 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
2586 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
2587 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
2588 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
2589 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
2590 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
2591 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
2592 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
2593 Add conditional compilation to avoid HW FPU instructions
2594 when compiled for soft-float.
2595
f29865c5
JJ
25962001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2597
2598 * Makefile.am: Add check for ln failing when creating libg.a
2599 so that cp gets used as a backup.
2600 * Makefile.in: Regenerated.
2601
9e2a4ef8
JJ
26022001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2603
2604 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
2605 No longer include time.h. Add struct __tm to use for
2606 _localtime_buf in the reentrant structure. Add a
2607 _NULL definition to use in initializing the reentrant struct.
2608 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
2609 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
2610 <sys/_types.h>.
2611 * libc/include/sys/unistd.h: Include <sys/_types.h>.
2612 * libc/time/lcltime.c (localtime): Cast the reentrant struct
2613 _localtime_buf to be struct tm *.
2614
1ae900d6
JR
2615Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
2616
2617 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
2618 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
2619 __ctors_end.
2620 * libc/sys/h8300hms/syscalls.c: Include errno.h.
2621 (_unlink): New stub function.
2622
8e26d5b5
CF
2623Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
2624
2625 * libc/include/sys/errno.h: Add a cautionary comment.
2626
e8267664
JJ
26272001-08-21 Jeff Johnston <jjohnstn@redhat.com>
2628
2629 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
2630 for SIZE_SZ so that alignment ends up a minimum of 8.
2631
4acf3edf
CF
2632Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
2633
2634 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
2635 arguments.
2636
2637 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
2638 Cygwin.
2639
52c80be8
JJ
26402001-08-13 Jeff Johnston <jjohnstn@redhat.com>
2641
2642 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
2643 macro constants for mallopt options.
2644 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2645
a7061f7f
JJ
26462001-08-02 Jeff Johnston <jjohnstn@redhat.com>
2647
2648 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
2649 otherwise default.
2650
0b4bfdd5
AH
26512001-07-12 Aldy Hernandez <aldyh@redhat.com>
2652
2653 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2654
2b6b730c
NC
26552001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
2656
2657 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
2658 Define for little endian ARMs.
2659
2660 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
2661 __IEEE_BYTES_LITTLE_ENDIAN is defined.
2662
25842b68
JJ
26632001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
2664
2665 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2666
371b76ef
JJ
26672001-06-11 Egor Duda <deo@logos-m.ru>
2668
2669 * libc/ctype/ctype_.c: When compiled with gcc on platforms
2670 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
2671 initialized memory region. Platform can define COMPACT_CTYPE
2672 to avoid allocation of the additional 128 bytes of data.
2673 Add pointer to _ctype_ array. Always initialize all _ctype_
2674 array elements.
2675
43b44bc5
JL
26762001-06-08 Jonathan Larmour <jlarmour@redhat.com>
2677
2678 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
2679 NULL pointer.
2680
188bc140
NC
26812001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2682
2683 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2684
2ce88418
NC
26852001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
2686
2687 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
2688 matching, non-word alignment, and the length is <= 4 but more than
2689 enough to move them over a word boundary.
2690 Add comments explaining what each instruction does.
2691
ca60ed47
CF
2692Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
2693
2694 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 2695 * libc/include/sys/unistd.h: Ditto.
ca60ed47 2696
8b3bcfba
JJ
26972001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
2698
2699 * libc/string/strrchr.c: Use strchr for the speed improvements.
2700
b09e3cf8
JJ
27012001-05-01 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
2704 real file systems, let __smakebuf() determine if line buffering
2705 should be used for stdout.
2706
0ca66974
JJ
27072001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2708
2709 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2710
7cb7017a
JJ
27112001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2712
2713 * libc/include/stdlib.h: Add prototype for _strtod_r.
2714
a874cd21
JJ
27152001-04-24 Charles Wilson <cwilson@ece.gatech.edu
2716
2717 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2718 * libc/stdio/vprintf.c (_vprintf_r): new function
2719 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2720 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2721 _DEFUN, and call _vfprintf_r, not vfprintf.
2722 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2723 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2724 _DEFUN, and call _vfprintf_r, not vfprintf.
2725
cb4cc283
CF
27262001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
2727
2728 * libc/include/sys/unistd.h [X_OK]: Use better protection against
2729 Cygwin X_OK definitions in sys/file.h.
2730
8c9df1d5
CF
2731Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
2732
2733 * libc/include/sys/time.h: Define timercmp and other macros for
2734 __CYGWIN__, too.
2735
3ac6f3a7
JJ
27362001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2737
2738 * acinclude.m4: Added --enable-malloc-debugging configure flag.
2739 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2740 --enable-malloc-debugging selected.
2741 * aclocal.m4 configure: Regenerated.
2742 libm/aclocal.m4 libm/configure: Ditto.
2743 * libc/aclocal.m4 libc/configure: Ditto.
2744 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2745 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2746 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2747 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2748 * doc/aclocal.m4 doc/configure: Ditto.
2749
52cb9e69
JJ
27502001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2751
2752 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2753 into one list.
2754 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2755 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2756 function prototypes.
2757 (_fscanf_r, _sscanf_r): Ditto.
2758 * libc/include/stdlib.h: Added _strtod_r prototype.
2759 * libc/stdio/Makefile.am: Add new v*scanf functions.
2760 * libc/stdio/Makefile.in: Regenerate.
2761 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2762 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
2763 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2764 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2765 (sscanf): Changed to call __svfscanf_r with _REENT argument.
2766 (_sscanf_r): New routine.
2767 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2768 with __svfscanf_r prototype.
2769 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2770 routines.
2771 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2772 structure as argument as calls reentrant versions of helper functions
2773 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2774 to _strtol_r and _strtod_r respectively.
2775 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2776 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2777 _REENT argument.
2778 * libc/stdio/vscanf.c: New file.
2779 * libc/stdio/vsscanf.c: Ditto.
2780
ee9f39fb
JJ
27812001-04-19 Robert Collins <rbtcollins@hotmail.com>
2782
2783 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
2784 Define daylight to _daylight if it is not defined
2785 Prepare a variable export of timezone based on timezonevariable.
2786 (Cannot be used with the timezone() function.)
2787
273861e3
JJ
27882001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
2789
2790 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2791 Correct the numerical values.
2792
a25b8414
CF
27932001-04-13 Robert Collins <rbtcollins@hotmail.com>
2794
2795 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2796
b8a8c59d
CV
2797Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
2798
2799 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2800 on case insensitve file systems.
2801
74f8cc63
CF
28022001-04-12 Robert Collins <rbtcollins@hotmail.com>
2803
2804 * libc/include/sys/features.h: Add appropriate defines for Cygwin
2805 pthread support.
2806 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2807 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2808 types. Include <cygwin/types.h> for the cygwin specific typedefs.
2809
16740220
RS
28102001-04-04 Richard Sandiford <rsandifo@redhat.com>
2811
2812 * libc/include/machine/ieeefp.h: Comment about new configuration
2813 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2814 * libm/common/fdlib.h: Define new macros for testing floats.
2815 * libm/common/sf_*: Use them.
2816 * libm/math/ef_*: Likewise.
2817 * libm/math/sf_*: Likewise.
2818
0694d8d3
JJ
28192001-03-29 Jeff Johnston <jjohnstn@redhat.com>
2820
2821 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2822 prolog to by-pass possible assembler error.
2823
4833b38c
JJ
28242001-03-21 Egor Duda <deo@logos-m.ru>
2825
2826 Allow building internal stubs for non-reentrant syscalls
2827 if target provides its own malloc
2828 * libc/reent/reent.c (errno): Move definition here.
2829 * libc/reent/sbrkr.c: From here.
2830
d17d6d42
CF
28312001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
2832
2833 * libc/include/sys/types.h (BSD int typedefs): Guard with
2834 _BSDTYPES_DEFINED rather than _WINSOCK_H.
2835 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2836 _SYS_TYPES_FD_SET.
2837 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2838 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2839
c7ee75cd
CV
2840Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
2841
2842 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2843 _PC_POSIX_SECURITY constants for Cygwin.
2844
63dc5d80
CV
2845Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
2846
2847 * libc/sys/cygwin/crt0.c: Add copyright hint.
2848 * libc/sys/cygwin/sys/dirent.h: Ditto.
2849 * libc/sys/cygwin/sys/param.h: Ditto.
2850 * libc/sys/cygwin/sys/utime.h: Ditto.
2851 * libc/sys/cygwin/sys/utmp.h: Ditto.
2852
6f637037
AO
28532001-03-13 Alexandre Oliva <aoliva@redhat.com>
2854
2855 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2856 equivalent to LONGINT.
2857
e69b6f73
JJ
28582001-03-08 Richard Sandiford <rsandifo@redhat.com>
2859
2860 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2861 jmpbuf on MIPS64 targets.
2862 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2863
6198dece
CF
2864Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
2865
e69b6f73
JJ
2866 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
2867 declarations.
6198dece 2868
cfc05d96
JJ
2869Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
2870
2871 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2872 For RTEMS, define to be ssize_t. Default to int if not defined.
2873 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2874 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2875 * libc/stdio/local.h (__sread, __swrite): Likewise.
2876 * libc/include/sys/reent.h (_read, _write): Likewise.
2877 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2878 * libc/syscalls/sysread.c (read): Likewise.
2879 * libc/syscalls/syswrite.c (write): Likewise.
2880
6249353a
JJ
28812001-03-05 Jeff Johnston <jjohnstn@redhat.com>
2882
2883 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2884
658b5db9
CF
2885Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
2886
2887 * libc/include/sys/stat.h: Use special defines for executable stat bits
2888 when compiling for Cygwin.
2889 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2890 for Cygwin.
2891
19ca46d5
JJ
28922001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2893
2894 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2895 of strtok_r is always defined.
2896
b73ed85e
JJ
28972001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2898
2899 * libc/include/machine/ansi.h: New dummy header file.
2900
ee37ede1
JJ
29012001-02-22 Jeff Johnston <jjohnstn@redhat.com>
2902
2903 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2904 changed the copyright information to allow free modification of the
2905 file with no reference to "copying.dj".
2906 * libc/include/sys/stat-dj.h: Ditto.
2907 * libc/machine/i386/setjmp.S: Ditto.
2908 * libc/sys/h8300hms/sys/file.h: Ditto.
2909 * libc/sys/sysmec/access.c: Ditto.
2910 * libc/sys/sysnecv850/access.c: Ditto.
2911 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2912 * libc/stdlib/getenv_r.c: Ditto.
2913 * libc/stdlib/putenv_r.c: Ditto.
2914 * libc/stdlib/setenv_r.c: Ditto.
2915 * libc/stdlib/getenv.c: Removed DJ reference since any possible
2916 modifications will now be in the _r version of this file.
2917 * libc/stdlib/putenv.c: Ditto.
2918 * libc/stdlib/setenv.c: Ditto.
2919 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2920 valid. Added a reference to DJ's web page that contains his address.
2921 * libc/sys/go32/*.s: Removed references to DJ's old address.
2922 * libc/sys/go32/*.c: Ditto.
2923 * libc/sys/go32/*.h: Ditto.
2924 * libc/sys/go32/*.S: Ditto.
2925 * libc/sys/go32/sys/*.h: Ditto.
2926
3a8fc0e4
JJ
29272001-02-21 Jeff Johnston <jjohnstn@redhat.com>
2928
2929 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2930 HAVE_FCNTL flag check.
2931 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2932 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2933
b24ee749
CF
2934Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
2935
2936 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2937
ab4745dc
JJ
29382001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2939
2940 * libc/include/stdlib.h: Add declarations of rand48 functions and
2941 their reentrant versions.
2942 * libc/include/sys/reent.h: Move macros from rand48.h. Add
2943 struct _rand48 for shared parameters of rand48 functions.
2944 (struct _reent): Add a variable _r48 of struct _rand48.
2945 (_REENT_INIT): Add _r48 initialization.
2946 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2947 (CHEWOUT_FILES): Add rand48.def.
2948 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2949 * libc/stdlib/Makefile.in: Regenerated.
2950 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2951 NetBSD C library.
2952 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2953 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2954 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2955 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2956 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2957 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2958 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2959 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2960 * libc/stdlib/rand48.c (__dorand48): Ditto.
2961 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2962 parameters into macros referring them in the reentrant structure.
2963
a34c461f
JJ
29642001-02-12 Jeff Johnston <jjohnstn@redhat.com>
2965
2966 * libc/include/sys/stat.h: Add mknod for Cygwin now that
2967 Cygwin definition has correct prototype.
2968
34f31ff2
JJ
29692001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2970
2971 * libc/include/sys/stat.h: Must revert change for mknod
2972 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2973 prototype.
2974
5336d6de
JJ
29752001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2976
2977 * libc/include/stdio.h: Revert putw prototype.
2978
8915d10a
JJ
29792001-02-08 Edward M. Lee <tailbert@yahoo.com>
2980
2981 * libc/include/grp.h: add prototype for initgroups.
2982 * libc/include/stdio.h: fix prototype for putw.
2983 * libc/include/sys/signal.h: add prototype for killpg.
2984 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2985 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2986 vhangup and remove duplicate sysconf prototype.
2987
93ac4487
JJ
29882001-02-07 Jeff Johnston <jjohnstn@redhat.com>
2989
2990 * libc/sys/rtems/sys/types.h: Removed.
2991
31f5feea
JJ
29922001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
2993
2994 * libc/include/locale.h: add LC_MESSAGES definition
2995
b5139f59
AO
29962001-02-01 Alexandre Oliva <aoliva@redhat.com>
2997
2998 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2999 SYS_get_argN):
3000 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
3001 __setup_argv_and_call_main): New.
3002
e29d8355
JJ
30032001-01-31 Jeff Johnston <jjohnstn@redhat.com>
3004
3005 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
3006 if defined.
3007 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
3008 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
3009 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
3010 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
3011
82ea92f3
CF
3012Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
3013
3014 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
3015 compiling under Cygwin.
3016
3aaa66f8
JJ
30172001-01-29 Jeff Johnston <jjohnstn@redhat.com>
3018
3019 * libc/include/math.h (signgam): Change to errno-like solution
3020 using a function to return the address of the real signgam.
3021 * libc/reent/signgam.c: New file containing __signgam().
3022 * libc/reent/Makefile.am: Added signgam.c to list of files.
3023 * libc/reent/Makefile.in: Regenerated.
3024
610b895a
AO
30252001-01-25 Alexandre Oliva <aoliva@redhat.com>
3026
b0913397
AO
3027 * libc/sys/sh/syscalls.c (_times): New.
3028
610b895a
AO
3029 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
3030 * libc/sys/sh/syscalls.c (_gettimeofday): New.
3031
3643210e
JJ
30322001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3033
3034 * libc/include/math.h (signgam): Regress previous fix as
3035 it does not handle programs with extern int signgam in them.
3036
841081c9
JJ
30372001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3038
3039 * libc/include/math.h (signgam): Changed to a macro refering to
3040 its location in the reentrant structure.
3041
e9cd87b8
JJ
30422001-01-23 Jeff Johnston <jjohnstn@redhat.com>
3043
3044 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
3045 that suppressed . for %.0f, 0.1. Check now looks if there
3046 are padding zeroes (expt) in addition to any digits (ndig) to
3047 print.
3048
a302b48c
JJ
30492001-01-18 Jeff Johnston <jjohnstn@redhat.com>
3050
3051 * libc/sys/arc/Makefile.am: New file.
3052 * libc/sys/arc/Makefile.in: Ditto.
3053 * libc/sys/arc/aclocal.m4: Ditto.
3054 * libc/sys/arc/configure: Ditto.
3055 * libc/sys/arc/configure.in: Ditto.
3056 * libc/sys/arc/crt0.S: Ditto.
3057 * libc/sys/arc/isatty.c: Ditto.
3058 * libc/sys/arc/mem-layout.c: Ditto.
3059 * libc/sys/arc/sbrk.c: Ditto.
3060 * libc/sys/arc/syscalls.c: Ditto.
3061 * libc/sys/arc/sys/syscall.h: Ditto.
3062
d0319c3b
CF
3063Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
3064
3065 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
3066
e45ab890
CF
3067Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
3068
3069 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
3070
1376245a
DD
3071Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
3072
3073 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
3074
92b57543
NC
30752001-01-09 Nick Clifton <nickc@redhat.com>
3076
3077 * configure.host (v859): Remove unsupported compiler options.
3078
7d6d33d4
JJ
3079Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
3080
3081 * src/newlib/configure.host (*-*-rtems*): add printf long long
3082 support for RTEMS.
3083
602f8b5a 30842000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
3085
3086 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
3087
9c2b8183
JJ
3088Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
3089
3090 * configure.host: Turn on long double I/O for Cygwin.
3091
804368d3
JJ
3092Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
3093
3094 * MAINTAINERS: Removed Ranjith.
3095 * NEWS: Updated for 1.9.0.
3096 * README: Updated.
3097 * acinclude.m4: Updated to release 1.9.0.
3098 * aclocal.m4 configure
3099 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
3100 libc/machine/aclocal.m4 libc/machine/configure
3101 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
3102 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
3103 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
3104 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
3105 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
3106 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
3107 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
3108 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
3109 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
3110 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
3111 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
3112 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
3113 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
3114 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
3115 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
3116 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
3117 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
3118 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
3119 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
3120 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
3121 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3122 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3123 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3124 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
3125 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3126 libc/sys/aclocal.m4 libc/sys/configure
3127 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3128 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3129 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3130 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3131 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3132 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3133 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3134 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3135 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
3136 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3137 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3138 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3139 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3140 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3141 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3142 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3143 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3144 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3145 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3146 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3147 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3148 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3149 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3150 libm/aclocal.m4 libm/configure: Regenerated.
3151
0985d43f
CV
3152Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3153
3154 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
3155 when __CYGWIN__ is defined.
3156
b6182a09
JJ
31572000-12-13 Jeff Johnston <jjohnstn@redhat.com>
3158
3159 * libc/stdlib/ldtoa.c (_ldcheck): New routine
3160 that categorizes a long double as NaN, Infinity, or other.
3161 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
3162 isinfl and isnanl static routines which were i386-specific. Changed
3163 calls to the two removed routines to a single _ldcheck call.
3164 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
3165
adbbb034
JJ
31662000-12-13 Jeff Johnston <jjohnstn@redhat.com>
3167
3168 * Makefile.am: Fixed install-data-local target to use
3169 $(mkinstalldirs) for the installed header files to ensure
3170 the directories exist before copying.
3171 * Makefile.in: Regenerated.
3172
cbd19336
JJ
31732000-12-12 Jeff Johnston <jjohnstn@redhat.com>
3174
3175 * libc/include/sys/unistd.h: Restored Cygwin _SC
3176 constants and moved new constants appropriately
3177 so Cygwin will build.
3178
8fb37963
JJ
31792000-12-11 Joel Sherrill <joel@OARcorp.com>
3180
3181 * Merge RTEMS specific .h files into main libc/include.
3182 * libc/sys/rtems/include/signal.h: Removed.
3183 * libc/sys/rtems/include/time.h: Removed.
3184 * libc/sys/rtems/sys/features.h: Removed.
3185 * libc/sys/rtems/sys/sched.h: Removed.
3186 * libc/sys/rtems/sys/siginfo.h: Removed.
3187 * libc/sys/rtems/sys/signal.h: Removed.
3188 * libc/sys/rtems/sys/time.h: Removed.
3189 * libc/sys/rtems/sys/times.h: Removed.
3190 definitions for time_t and clock_t since these are
3191 no longer in time.h.
3192 * libc/include/pthread.h: New file.
3193 * libc/include/sys/sched.h: New file.
3194 * libc/include/sys/features.h: New file.
3195 * libc/include/time.h: Removed duplicate definition of clock_t
3196 and time_t, get them from <sys/types.h> instead. Add prototypes
3197 for POSIX clock and timer functionality.
3198 * libc/sys/linux/sys/types.h: Changed to include
3199 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
3200 * libc/include/sys/signal.h: Add more complete set of POSIX
3201 signal functionality including real-time and threaded signals.
3202 * libc/include/sys/types.h: Add clock_t, time_t, struct
3203 timespec, and struct itimerspec. Centralizing these makes
3204 things cleaner. RTEMS uses 64-bit dev_t.
3205 Added numerous primitive definitions
3206 for pthreads including macros, pthread_attr_t,
3207 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
3208 pthread_once_t, and pthread_t.
3209 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
3210 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
3211 Feature flags removed and moved to new file <sys/features.h>.
3212 Full set of POSIX sysconf() constants
3213
2efbc2a7
JJ
32142000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
3215
3216 * configure.host: Added x86 linux target.
3217 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
3218 definitions provided if not already defined.
3219 * libc/sys/linux/crt0.c: New file.
3220 * libc/sys/linux/Makefile.am: Ditto.
3221 * libc/sys/linux/Makefile.in: Ditto.
3222 * libc/sys/linux/aclocal.m4: Ditto.
3223 * libc/sys/linux/brk.c: Ditto.
3224 * libc/sys/linux/configure: Ditto.
3225 * libc/sys/linux/configure.in: Ditto.
3226 * libc/sys/linux/getoptlong.c: Ditto.
3227 * libc/sys/linux/ids.c: Ditto.
3228 * libc/sys/linux/inode.c: Ditto.
3229 * libc/sys/linux/io.c: Ditto.
3230 * libc/sys/linux/linux.c: Ditto.
3231 * libc/sys/linux/process.c: Ditto.
3232 * libc/sys/linux/realpath.c: Ditto.
3233 * libc/sys/linux/select.c: Ditto.
3234 * libc/sys/linux/signal.c: Ditto.
3235 * libc/sys/linux/systat.c: Ditto.
3236 * libc/sys/linux/termios.c: Ditto.
3237 * libc/sys/linux/time.c: Ditto.
3238 * libc/sys/linux/wait.c: Ditto.
3239 * libc/sys/linux/include/alloca.h: Ditto.
3240 * libc/sys/linux/include/getopt.h: Ditto.
3241 * libc/sys/linux/include/stdint.h: Ditto.
3242 * libc/sys/linux/include/unistd.h: Ditto.
3243 * libc/sys/linux/sys/cdefs.h: Ditto.
3244 * libc/sys/linux/sys/dirent.h: Ditto.
3245 * libc/sys/linux/sys/errno.h: Ditto.
3246 * libc/sys/linux/sys/fcntl.h: Ditto.
3247 * libc/sys/linux/sys/file.h: Ditto.
3248 * libc/sys/linux/sys/ioctl.h: Ditto.
3249 * libc/sys/linux/sys/resource.h: Ditto.
3250 * libc/sys/linux/sys/signal.h: Ditto.
3251 * libc/sys/linux/sys/stat.h: Ditto.
3252 * libc/sys/linux/sys/syscall.h: Ditto.
3253 * libc/sys/linux/sys/termios.h: Ditto.
3254 * libc/sys/linux/sys/time.h: Ditto.
3255 * libc/sys/linux/sys/types.h: Ditto.
3256 * libc/sys/linux/sys/utmp.h: Ditto.
3257 * libc/sys/linux/sys/utsname.h: Ditto.
3258 * libc/sys/linux/sys/wait.h: Ditto.
3259
a08c98bb
JJ
32602000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3261
3262 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
3263 can be a relative path to $(top_srcdir)/install.sh so ensure the
3264 autoconf detected settings are properly passed recursively.
3265 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
3266 properly to subdirectories.
3267 * Makefile.in: Regenerated.
3268
b294082c
JJ
32692000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
3270
3271 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
3272 a floating point register unless really printing a floating
3273 point number.
3274
2005ab6b
JJ
32752000-12-07 Jeff Johnston <jjohnstn@redhat.com>
3276
3277 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
3278 Also removed \r's.
3279 (asctoeg): Replaced alloca call with stack array and malloc
3280 when storage exceeds reasonable limit.
3281 (e53toe): Fixed einfin calls missing ldp parameter.
3282 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
3283
9f6e8f1b
JJ
32842000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3285
2005ab6b 3286
9f6e8f1b
JJ
3287 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
3288
6bdac416
JJ
32892000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3290
3291 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
3292 * libc/stdlib/Makefile.in: Regenerated.
3293 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
3294 * libc/stdio/vfieeefp.h: Added long double bit structures.
3295 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
3296 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
3297 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
3298 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
3299 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
3300 _strtold routines used for conversions between character
3301 and long double.
3302
ec270d31
CV
3303Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3304
3305 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
3306
db2d9549
JJ
33072000-12-04 Joel Sherrill <joel@OARcorp.com>
3308
3309 * libc/include/machine/time.h: RTEMS systems can configure clock
3310 tick rate so use sysconf() to ask.
3311
6ba54a15
JJ
33122000-12-04 Joel Sherrill <joel@OARcorp.com>
3313
3314 * libc/include/sys/times.h: Add reference to POSIX standard.
3315
8677b819
JJ
33162000-12-04 Joel Sherrill <joel@OARcorp.com>
3317
3318 * libc/include/sys/time.h: Added BSD timer manipulation macros
3319 used by RTEMS code.
3320
1b61a706
JJ
33212000-12-04 Joel Sherrill <joel@OARcorp.com>
3322
3323 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
3324 referenced by code generated by gcc 2.8.1.
3325 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
3326 satisfy gcc.
3327
f5e7c124
JJ
33282000-12-04 Joel Sherrill <joel@OARcorp.com>
3329
3330 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
3331
768abc9c
JJ
33322000-12-04 Joel Sherrill <joel@OARcorp.com>
3333
3334 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
3335
9e5dd5ea
JJ
33362000-12-04 Joel Sherrill <joel@OARcorp.com>
3337
3338 * configure.host (or16, or32): New entries for OpenCores
3339 OpenRisc CPUs.
3340 (*-*-rtems*): Add -DNO_EXEC.
3341
768abc9c 33422000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
3343
3344 * libc/include/sys/errno.h: Added comments on many error numbers.
3345 * libc/string/strerror.c: Added some more strings.
3346
b273323f
JJ
33472000-11-30 Jeff Johnston <jjohnstn@redhat.com>
3348
3349 * libc/sys/sh/syscalls.c (_link): New stub.
3350
0ffc3b94
NC
33512000-11-29 Nick Clifton <nickc@redhat.com>
3352
3353 * configure.host: Add xscale target.
3354 * libc/machine/xscale: New directory.
3355 * libc/machine/xscale/Makefile.am: New file.
3356 * libc/machine/xscale/Makefile.in: New file.
3357 * libc/machine/xscale/aclocal.m4: New file.
3358 * libc/machine/xscale/configure: New file.
3359 * libc/machine/xscale/configure.in: New file.
3360 * libc/machine/xscale/memchr.S: New file.
3361 * libc/machine/xscale/memcmp.S: New file.
3362 * libc/machine/xscale/memcpy.S: New file.
3363 * libc/machine/xscale/memmove.S: New file.
3364 * libc/machine/xscale/memset.S: New file.
3365 * libc/machine/xscale/strchr.S: New file.
3366 * libc/machine/xscale/strcmp.S: New file.
3367 * libc/machine/xscale/strcpy.S: New file.
3368 * libc/machine/xscale/strlen.S: New file.
3369
cbbf0f96
CV
3370Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3371
3372 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
3373 avoid compiler warnings.
3374
73dea790
MM
33752000-11-22 Michael Meissner <meissner@redhat.com>
3376
3377 * libc/posix/execl.c (execl): Don't reference environ directly,
3378 reference it only via a static pointer to avoid problems with some
3379 shared library systems and with different uses of small data where
3380 the user specifies his own version of environ.
3381 * libc/posix/execv.c (execv): Ditto.
3382 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
3383 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
3384 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
3385
3386 * libc/stdlib/getenv.c (environ): Delete unused reference to
3387 environ.
3388
3389 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
3390 colorization.
3391 * libc/stdlib/system.c: Ditto.
3392
08eac2ae
CF
3393Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
3394
3395 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3396 including windows headers.
3397
5478bf37
JJ
33982000-11-20 Jeff Johnston <jjohnstn@redhat.com>
3399
3400 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3401 * libc/include/dirent.h: Added definition of MAXNAMLEN if
3402 not defined by sys/dirent.h.
3403 * libc/posix/execvp.c: Added include of dirent.h to get
3404 MAXNAMLEN value which used to be in unistd.h.
3405
3a760728
CV
3406Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3407
3408 * libc/include/sys/types.h: Change type of i to `size_t' in
3409 FD_ZERO macro to avoid compiler warnings.
3410
86fff69f
CF
3411Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
3412
3413 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3414 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
3415
ba9e88d2
CV
3416Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3417
3418 * libc/include/sys/unistd.h: Add defines for sysconf values
3419 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3420 _SC_AVPHYS_PAGES.
3421
a8018ef3
CF
3422Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
3423
3424 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3425 declarations for __CYGWIN__.
3426
b944c6f6
GK
34272000-09-19 Geoffrey Keating <geoffk@cygnus.com>
3428
3429 * libc/signal/signal.c (__sigtramp_r): ISO C requires
3430 case labels to be integral constant expressions, so
3431 use an if/else tree instead.
3432 (_raise_r): Likewise.
3433
7f18fcb4
JJ
34342000-09-13 Jeff Johnston <jjohnstn@redhat.com>
3435
3436 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
3437 clipping patch from e-mail reader.
3438
242361df
JJ
34392000-09-13 Will Cohen <wcohen@redhat.com>
3440
3441 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
3442 Added return value 0.
3443 (_longjmp): Allow longjmp to return value of second argument
3444 passed to it.
3445
8a8c59b9
JJ
34462000-09-06 Jeff Johnston <jjohnstn@redhat.com>
3447
3448 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
3449 inline code to prevent having to include another header file.
3450
a385ae75
CF
3451Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
3452
3453 * Makefile.am: Fix space vs. tab problem in install-data-local.
3454 * Makefile.in: Regenerate.
3455
3456Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
3457
3458 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
3459 (_EXPARM): New macro for defining a function parameter.
3460 * libc/include/stdlib.h: Use _EXPARM.
3461 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
3462
a36cd013
JJ
34632000-09-05 Manfred Hollstein <manfredh@redhat.com>
3464
3465 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
3466 required, as documented in the gnu coding standards.
3467 * Makefile.in: Regenerate.
3468
f825dfda
JJ
34692000-09-05 Jeff Johnston <jjohnstn@redhat.com>
3470
3471 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
3472 make O_NDELAY and O_NONBLOCK have the same value.
3473
4ba9aab7
JJ
34742000-08-30 Kazu Hirata <kazu@hxi.com>
3475
3476 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
3477
db7acc38
JJ
34782000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
3479
3480 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
3481 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
3482 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
3483 everywhere else.
3484
44e36af4
GK
34852000-08-30 Geoffrey Keating <geoffk@cygnus.com>
3486
3487 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
3488 * libc/include/string.h: Don't include <sys/types.h>,
3489 as it causes really bad namespace pollution. Don't declare
3490 swab(), it is properly declared in unistd.h.
3491
00a2f168
JJ
34922000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
3493
3494 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
3495 (broken) support for non-existent /etc/passwd field "comment".
3496
6beeb240
JJ
34972000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3498
3499 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
3500 only if _DIRENT_HAVE_D_NAMLEN is defined.
3501 (alphasort): aligned prototype with
3502 libc/sys/cygwin/sys/dirent.h and simplified function body.
3503 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
3504 long telldir (DIR *) as mentioned in annex B of POSIX.1
3505
ef44da42
JJ
35062000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3507
3508 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
3509 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
3510 Added __CLI and __STI macros (controlled via
3511 _I386MACH_ALLOW_HW_INTERRUPTS macro).
3512 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
3513 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
3514 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
3515 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
3516 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
3517 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
3518 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
3519 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
3520 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
3521 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
3522 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
3523 for all global entry points.
3524 * libc/machine/i386/setjmp.S: removed code replicated in
3525 libc/machine/i386/i386mach.h and included i386mach.h instead;
3526 Use __CLI and __STI instead of cli and sti.
3527
14d3488d
DD
35282000-08-25 DJ Delorie <dj@redhat.com>
3529
3530 * libc/include/sys/unistd.h (environ): this one isn't from the
3531 DLL, no __IMPORT
3532
c9ca4412
CF
3533Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
3534
3535 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
3536 environ when compiling under cygwin since it is already declared in
3537 unistd.h.
3538
2d5862de
JJ
35392000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3540
3541 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
3542 like x << y-z to the equivalent x << (y-z).
3543 (d2b): changed if statements with assignment to perform the
3544 assignment prior to the if check.
3545 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
3546 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
3547 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
3548 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
3549 precedence.
3550 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
3551 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
3552 execve.c).
3553 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
3554 precedence.
3555 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
3556 clarify && and || precendence (and to remove pascalism).
3557 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
3558 * libm/math/s_infconst.c: added another pair of braces to all
3559 initializers for __infinity (need three: for __infinity[1] array,
3560 for union __dmath, and for i[2]).
3561
0888fedd
JJ
35622000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3563
199359f0
JJ
3564 * libc/stdlib/abort.c: changed description: uses "raise" instead of
3565 "getpid" and "kill"; added: uses "write" and "_exit".
3566 Also included unistd.h for "_exit" prototype.
3567 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
3568 reent.h for "_fork_r" and "_wait_r" prototypes.
3569 (do_system): changed extern char *environ[] to POSIX-friendly
3570 extern char **environ.
3571 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
3572 prototypes.
3573 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
3574 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
3575 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
3576 * libc/reent/openr.c: included fcntl.h for "open" prototype.
3577 * libc/reent/signalr.c: included signal.h for "kill" prototype,
3578 unistd.h for "getpid" prototype.
3579 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
3580 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
3581 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
3582 prototype. Also included stdlib.h for "abort", string.h for
3583 "strdup" and "strncmp" prototypes.
3584 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
3585 "strncpy", unistd.h for "read" and "close" prototypes.
3586 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
3587 "strcat" prototypes.
3588
35892000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
3590
0888fedd
JJ
3591 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
3592 used later (ifdef __SCLE)
3593 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
3594 used later (ifdef MB_CAPABLE)
3595 * libc/string/memset.c (memset): removed unused variables "count"
3596 and "unaligned_addr"
3597 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
3598 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
3599 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
3600 and "gid"
3601
a334e5ef
JJ
36022000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3603
3604 * libc/stdlib/envlock.c: changed documented "__env_lock" and
3605 "__env_unlock" prototype from "void *" or "char *" to
3606 "struct _reent *" to match real function. Also added include
3607 of envlock.h.
3608 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
3609 "__malloc_unlock" prototype from "void *" or "char *" to
3610 "struct _reent *" to match real function.
3611 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
3612 prototypes (for getenv_r.c and setenv_r.c).
3613
644b7f26
DD
36142000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
3615
3616 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
3617 and prototype in cygwin's utmp.h
3618
5bacbf10
JJ
36192000-08-16 Eric Fifer <efifer@sanwaint.com>
3620
3621 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
3622
38a6bf98
NC
36232000-08-09 Nick Clifton <nickc@cygnus.com>
3624
3625 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
3626 epilogue and to allow the functions to be used in a Thumb based
3627 toolchain.
3628
befe0fb3
JJ
36292000-08-08 Jeff Johnston <jjohnstn@redhat.com>
3630
3631 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
3632 so size of 0 results in nothing being written to string.
3633 Also fixed code so that when size is non-zero, there is only
3634 a maximum of size - 1 characters written to the array and
3635 a nul terminator is appended at the end.
3636 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3637
749d9bcd
DD
36382000-08-01 DJ Delorie <dj@redhat.com>
3639
3640 * libc/include/sys/config.h: define __IMPORT appropriately
3641 * libc/include/ctype.h (_ctype_): use __IMPORT
3642 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
3643 * libc/include/math.h (__mb_cur_max): ditto
3644 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
3645 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
3646 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
3647 * libc/include/unistd.h (environ): ditto
3648
7c110b17
MM
36492000-07-28 Michael Meissner <meissner@redhat.com>
3650
3651 * libc/include/math.h (__infinity): Declare as an array without
3652 bounds to get around small data support. Rewrite Cygwin support
3653 to be more general.
3654 * libm/math/s_infconst.c (__infinity): Ditto.
3655 * libm/mathfp/s_infconst.c (__infinity): Ditto.
3656
bf7be721
CF
3657Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
3658
3659 * libc/include/math.h: Use appropriate dll import linkage for
3660 __infinity under Cygwin.
3661
91a8d90b
DD
36622000-07-13 DJ Delorie <dj@cygnus.com>
3663
3664 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
3665
ba2048d3
JJ
3666Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
3667
3668 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
3669 to argument list for AngelSWI_Reason_GetCmdLine.
3670
4634da64
JJ
3671Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3672
3673 * configure.host: Add support for AVR target.
3674 * libc/include/machine/ieeefp.h: Likewise.
3675 * libc/include/sys/config.h: Likewise.
3676
b19f72a2
RK
3677Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3678
3679 * README: Newlib 1.8.2 must be built in a separate directory
3680 than the sources.
3681
a704d94a
JJ
3682Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3683
3684 * libc/include/sys/reent.h (_rand_next): Added __extension__
3685 qualifier as long long type is not strict ANSI.
3686 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
3687 to long long constant.
3688
b585720b
CV
3689Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
3690
3691 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
3692 `setegid' provided by Cygwin.
3693
01c327ba
CV
3694Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
3695
3696 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
3697 account for Cygwin.
3698
46a43a99
JJ
3699Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3700
3701 * libc/include/sys/reent.h (_rand_next): Changed to
3702 unsigned long long and moved to end of _reent struct in _new union.
3703 (_REENT_INIT): Changed to move _rand_next initialization.
3704 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
3705 linear congruential algorithm that is used by DJGPP.
3706
a68078cb
RK
3707Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3708
3709 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
3710 * libc/include/sys/config.h: Define __RAND_MAX.
3711
518882f3
JJ
3712Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3713
3714 * libc/stdlib/rand_r.c: New algorithm that meets minimal
3715 standard.
3716
d51d968a
CF
3717Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
3718
3719 * libc/include/string.h: Work around problem with strsignal and gdb.
3720
d2dd5765
CF
3721Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
3722
3723 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3724 * libc/include/malloc.h: Ditto.
3725 * libc/include/process.h: Ditto.
3726 * libc/include/stdio.h: Ditto.
3727 * libc/include/stdlib.h: Ditto.
3728 * libc/include/time.h: Ditto.
3729 * libc/include/machine/setjmp.h: Ditto.
3730 * libc/include/sys/errno.h: Ditto.
3731 * libc/include/sys/signal.h: Ditto.
3732 * libc/include/sys/stat.h: Ditto.
3733 * libc/include/sys/time.h: Ditto.
3734 * libc/include/sys/unistd.h: Ditto.
3735 * libc/include/string.h: Ditto. strsignal should return a const char *.
3736
88870218
JJ
37372000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
3738
3739 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3740 * libm/common/s_log1p.c (log1p): Likewise.
3741 * libm/common/s_scalbn.c (scalbn): Likewise.
3742 * libm/math/e_log.c: Likewise.
3743 * libm/math/e_asin.c: Likewise.
3744 * libm/math/ef_asin.c: Likewise.
3745 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3746 * libm/math/e_j1.c (pone, qone): Likewise.
3747 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3748 * libm/math/ef_j1.c (ponef, qonef): Likewise.
3749 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3750 * libm/mathfp/e_j1.c (pone, qone): Likewise.
3751 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3752 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3753
c4e1aa01
DD
37542000-05-19 DJ Delorie <dj@cygnus.com>
3755
3756 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3757 (__sread): always read in binary mode
3758 (__swrite): always write in binary mode
3759 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3760 compatibility issues with different dll versions
3761 * libc/stdio/fopen.c: use __stextmode
3762 * libc/stdio/fdopen.c: ditto
3763 * libc/stdio/freopen.c: ditto
3764 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3765 * libc/stdio/local.h: declare __stextmode
3766
f4393261
DD
37672000-05-18 DJ Delorie <dj@cygnus.com>
3768
3769 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3770
2b533fac
JJ
3771Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3772
3773 * libc/include/ctype.h: Changed tolower and toupper macros
3774 to use __extension__ to prevent pedantic warnings.
3775
75362a76
RK
3776Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
3777
3778 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3779 structures.
3780
ec463fc7
JW
3781Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
3782
3783 * libc/include/machine/ieeefp.h: Add ia64 support.
3784 * configure.host: Likewise.
3785
f35ceefa
JJ
3786Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
3787
3788 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3789 month is now padded with space, not zero. This now conforms to
3790 ANSI standard.
3791
b96fca8c
CV
3792Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
3793
3794 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3795 host or network path") used by cygwin. Add some comments.
3796
49d64538
JJ
3797Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
3798
3799 * libc/include/stdio.h (FILE): define __SCLE for "convert line
3800 endings" for Cygwin.
3801 (__sgetc): convert line endings if needed
3802 (__sputc): ditto
3803 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3804 * libc/stdio/fopen.c (_fopen_r): ditto
3805 * libc/stdio/freopen.c (freopen): ditto
3806 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3807 * libc/stdio/fvwrite.c (__sfvwrite): ditto
3808
91fb1e7f
AO
3809Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
3810
3811 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3812 post-increment when it is worth it, spacewise.
3813
c87be3e4
JJ
3814Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3815
3816 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3817 * libc/stdio/findfp.c (std): Added declaration of flags and file.
3818 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
3819 return type.
3820 * libc/stdio/putchar.c (putchar): Added return statement.
3821 * libc/stdio/refill.c (lflush): Added correct parentheses.
3822 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3823 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
3824 prints long value to use l qualifier.
3825 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3826 messages and initialized local values: ilim, ilim1, and spec_case.
3827 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3828 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3829 * libc/stdlib/mprec.c: Ditto.
3830 * libc/stdlib/setenv_r.c: Ditto.
3831 * libc/stdlib/strtod.c: Ditto.
3832 * libc/stdlib/strtol.c: Ditto.
3833 * libc/stdlib/strtoul.c: Ditto.
3834 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3835 * libm/common/sf_log1p.c: Ditto.
3836 * libm/common/sf_scalbn.c: Ditto.
3837 * libm/math/ef_log.c: Ditto.
3838
11f5b065
CV
3839Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
3840
3841 * libc/posix/execvp.c (execvp): Check path for
3842 trailing slash.
3843
796e3b20
CV
3844Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
3845
3846 * libc/include/sys/unistd.h: Add prototypes for
3847 fchmod, fchown, lchown.
3848
b489803a
JJ
3849Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3850
3851 * acinclude.m4: Changed release to 1.8.2.
3852 * aclocal.m4 configure doc/aclocal.m4 doc/configure
3853 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3854 libc/machine/configure libc/machine/a29k/aclocal.m4
3855 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3856 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3857 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3858 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3859 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3860 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3861 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3862 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3863 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3864 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3865 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3866 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3867 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3868 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3869 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3870 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3871 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3872 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3873 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3874 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3875 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3876 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3877 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3878 libc/machine/z8k/configure libc/sys/aclocal.m4
3879 libc/sys/aclocal.m4 libc/sys/configure
3880 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3881 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3882 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3883 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3884 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3885 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3886 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3887 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3888 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3889 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3890 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3891 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3892 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3893 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3894 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3895 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3896 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3897 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3898 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3899 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3900 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3901 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3902 libm/aclocal.m4 libm/configure: Regenerated.
3903
79908d67
NC
39042000-03-24 Nick Clifton <nickc@cygnus.com>
3905
3906 * libc/sys/arm/syscalls.c: Fix compile time warnings.
3907 (do_AngelSWI): Add "cc" to list o registers clobbered.
3908
7684ddaf
FN
3909Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3910
3911 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3912 information to be clobbered by an Angel C library support syscall.
3913
b8ec20c8
JJ
3914Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3915
3916 * libc/stdlib/envlock.c: Fixed comment typo.
3917
fae4c299
JJ
3918Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3919
3920 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3921 code to update nread as each character is processed instead
3922 of using buffer contents which throw away leading zeroes.
3923
dc98804b
RK
3924Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
3925
3926 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3927
5ed2f523
JJ
3928Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
3929
3930 * libc/include/string.h: Include <sys/types.h>.
3931
1cf0ee34
AO
3932Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3933
3934 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3935 with XSH5, not SVID.
3936
e9c94978
JJ
3937Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3938
3939 * libc/include/string.h: Changed last argument back to ssize_t
3940 to make it compatible with XPG4 definition which is
3941 defined in <unistd.h>. There is a conflict in the SVID 3
3942 and XPG4 definitions and newlib will settle with XPG4.
3943 * libc/string/swab.c: Ditto.
3944
3072163c
JJ
3945Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3946
3947 * libc/include/string.h: Changed last argument to size_t.
3948 * libc/string/swab.c: Changed last argument to size_t.
3949
f205ea7a
AO
3950Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3951
3952 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3953 (CHEWOUT_FILES): Added unlinkr.def.
3954 * libc/reent/Makefile.in: Rebuilt.
3955 * libc/sys.tex: Include unlinkr.def.
3956 * libc/reent/linkr.c (_unlink_r): Moved to...
3957 * libc/reent/unlinkr.c: ... new file.
3958
85dd2e5b
AO
3959Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3960
3961 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3962 (CHEWOUT_FILES): Added swab.def.
3963 * libc/string/Makefile.in: Rebuilt.
3964 * libc/string/string.tex: Include swab.def.
3965 * libc/include/string.h (swab): Declare.
3966 * libc/string/swab.c: New file.
3967
c5053058
AO
3968Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3969
3970 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3971 (CHEWOUT_FILES): Added getw.def and putw.def.
3972 * libc/stdio/Makefile.in: Rebuilt.
3973 * libc/stdio/stdio.tex: Include getw.def and putw.def.
3974 * libc/stdio/getw.c: New file.
3975 * libc/stdio/putw.c: New file.
3976
dbaf37cf
JJ
3977Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3978
3979 * libc/stdio/flags.c (__sflags): Added check that mode[1]
3980 is non-null before looking at mode[2].
3981
bc019ef2
RK
3982Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3983
3984 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3985 * libm/mathfp/sf_atan.c: Ditto.
3986
3987Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
3988
3989 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3990
cd641b2d
RK
3991Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3992
3993 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3994 _DOUBLE_IS_32BITS.
3995
b0ba0ac2
JJ
3996Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3997
3998 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3999 call prior to calling _VFPRINTF_R so reentrant data area is set.
4000 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
4001
8a0efa53
CF
4002Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4003
4004 * libc/stdio/vfscanf.c (limits.h): #include.
4005 (MAX_LONG_LEN): #define.
4006 (__svfscanf): Handle floating point numbers with arbitrary amounts
4007 of leading zeroes.
4008
40092000-02-15 Nick Clifton <nickc@cygnus.com>
4010
4011 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
4012 zero. Set the blocksize to 1024/
4013
4014Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
4015
4016 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
4017 with line buffering.
4018
4019Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4020
4021 * acinclude.m4: Changed include directory for winsup headers.
4022 * aclocal.m4 configure libc/aclocal.m4
4023 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
4024 libc/locale/Makefile.in libc/machine/aclocal.m4
4025 libc/machine/configure libc/machine/a29k/aclocal.m4
4026 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4027 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4028 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4029 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4030 libc/machine/fr30/configure
4031 libc/machine/h8300/aclocal.m4
4032 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4033 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4034 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4035 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4036 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4037 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
4038 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4039 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4040 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4041 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4042 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4043 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4044 libc/machine/powerpc/configure
4045 libc/machine/sh/aclocal.m4
4046 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4047 libc/machine/sparc/configure
4048 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
4049 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
4050 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
4051 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
4052 libc/misc/Makefile.in libc/posix/Makefile.in
4053 libc/reent/Makefile.in
4054 libc/signal/Makefile.in
4055 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
4056 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4057 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
4058 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4059 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
4060 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4061 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4062 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4063 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4064 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4065 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4066 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4067 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4068 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
4069 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
4070 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
4071 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
4072 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
4073 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
4074 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
4075 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
4076 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
4077 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
4078 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
4079 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
4080 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
4081 libm/configure: Regenerated.
4082
4083Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
4084
4085 * libc/stdlib/putenv_r.c (_putenv_r): New file.
4086 * libc/stdlib/strdup_r.c (_strdup_r): New file.
4087 * libc/include/string.h: Added _strdup_r.
4088 * libc/stdlib/putenv.c: Added call to reentrant version.
4089 * libc/stdlib/strdup.c: Ditto.
4090 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
4091 * libc/include/stdlib.h: Ditto.
4092 * libc/stdlib/Makefile.in: Regenerated.
4093 * libc/string/Makefile.in: Regenerated.
4094 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
4095 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
4096 management calls to reentrant versions.
4097 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
4098 * libc/stdlib/wctomb.c: Ditto.
4099 * libc/stdlib/mblen.c: Ditto.
4100 * libc/stdlib/mbstowcs.c: Ditto.
4101 * libc/stdlib/mbtowc.c: Ditto.
4102 * libc/stdlib/getenv.c: Ditto.
4103 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
4104 and _strdup_r.
4105
4106Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
4107
4108 patch from Corinna Vinschen <corinna@vinschen.de>
4109 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
4110
bc019ef2 4111Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
4112
4113 * libm/mathfp/s_atangent.c: Fix exponent calculation.
4114 * libm/mathfp/s_ldexp.c: Ditto.
4115 * libm/mathfp/sf_atangent.c: Ditto.
4116 * libm/mathfp/sf_ldexp.c: Ditto.
4117
4118Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4119
4120 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
4121 * libc/include/locale.h: define NULL to be 0.
4122
4123Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
4124
4125 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
4126 function.
4127
4128Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
4129
4130 * libc/machine/mn10300/setjmp.S: Handle am33.
4131
41321999-11-26 Nick Clifton <nickc@cygnus.com>
4133
4134 * libc/sys/arm/syscalls.c: Add function prototypes.
4135 (stack_ptr): Move declaration before function definitions.
4136
4137Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4138
4139 * NEWS: Updated version information.
4140 * README: Ditto.
4141
4142Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
4143
4144 * libc/machine/i386/strchr.S: Fixed alignment test.
4145
4146Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
4147
4148 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
4149
4150Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
4151
4152 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
4153 ensuring that there is space between the two.
4154
4155Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
4156
4157 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
4158 only.
4159
41601999-10-08 Vadim Egorov <egorovv@1c.ru>
4161
4162 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
4163 section
4164
4165Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4166
4167 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
4168 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
4169
4170Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
4171 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
4172 per POSIX 1003.1b.
4173 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
4174 per POSIX 1003.1b.
4175
41761999-09-13 DJ Delorie <dj@cygnus.com>
4177
4178 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
4179 also.
4180
4181Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
4182
4183 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
4184 also note BUFSIZ as its size.
4185
4186Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
4187
4188 * configure.host: Corrected feature defines for RTEMS.
4189 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
4190 * libc/include/sys/stat.h: mkfifo() should take const path arg.
4191 * libc/include/sys/unistd.h: pathconf() should take const path arg.
4192 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
4193 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
4194 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
4195 _PC_PRIO_IO, and _PC_SYNC_IO.
4196 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
4197 * libc/machine/m68k/Makefile.in: Regenerated.
4198 * libc/machine/m68k/strcpy.c: New file.
4199 * libc/machine/m68k/strlen.c: New file.
4200 * libc/stdio/tmpnam.c: Always make the returned name usable.
4201 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
4202 * libc/sys/rtems/sys/dirent.h: New file.
4203 * libc/sys/rtems/sys/types.h: Added dev_t.
4204
4205Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
4206
4207 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
4208
4209Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
4210
4211 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
4212 my patch.
4213
4214Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
4215
4216 patch from Jeff Johnston <jjohnstn@cygnus.com>
4217 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
4218 buffer is not in a useful state.
4219
42201999-09-01 Nick Clifton <nickc@cygnus.com>
4221
4222 * libc/sys/arm/syscalls.c (_link): Add stub.
4223
4224Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4225
4226 * ftell.c (ftell): Use actual position within buffer for text mode.
4227 * findfp.c (std): Initialize ptr->_bf._size.
4228
4229Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
4230
4231 * libc/include/sys/unistd.h: Add nice() declaration.
4232
42331999-08-09 Nick Clifton <nickc@cygnus.com>
4234
4235 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
4236 declare as a thumb function so that the disassembler will see the
4237 mode change.
4238
4239Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4240
4241 * libc/reent/reent.tex: Updated list of reentrant functions.
4242
42431999-07-09 Michael Meissner <meissner@cygnus.com>
4244
4245 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
4246
4247Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
4248
4249 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
4250 separate file.
4251 * libc/stdio/snprintf.c: New file.
4252 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
4253 separate file.
4254 * libc/stdio/vsnprintf.c: New file.
4255 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
4256 * libc/stdio/Makefile.in: Regenerated.
4257
4258Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
4259
4260 Patch submitted by Egor Duda <deo@logos-m.ru>:
4261 * libc/include/stdio.h: Add declarations for *nprintf.
4262 * libc/stdio/sprintf.c (snprintf): New function.
4263 (_snprintf_r): New function.
4264 * libc/stdio/vsprintf.c (vsnprintf): New function.
4265 (_vnsprintf_r): New function.
4266
4267Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4268
4269 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
4270 * libm/Makefile.am (stmp-targetdep): Ditto.
4271 * libc/Makefile.in: Regenerated.
4272 * libm/Makefile.in: Ditto.
4273
4274Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4275
4276 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
4277 * libm/Makefile.am (stmp-targetdep): Ditto.
4278 * libc/Makefile.in: Regenerated.
4279 * libm/Makefile.in: Ditto.
4280
4281Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
4282
4283 * Makefile.am: Removed dependencies on all-recursive and added "."
4284 to the SUBDIRS list to prevent infinite recursion from occurring.
4285 Also removed any references to EXTRA_DATA.
4286 * libc/Makefile.am: Ditto.
4287 * libc/machine/Makefile.am: Ditto.
4288 * libc/machine/i386/Makefile.am: Ditto.
4289 * libm/Makefile.am: Ditto.
4290 * libc/sys/Makefile.am: Ditto.
4291 * Makefile.in: Regenerated.
4292 * aclocal.m4: Ditto.
4293 * configure: Ditto.
4294 * doc/Makefile.in: Ditto.
4295 * doc/aclocal.m4: Ditto.
4296 * doc/configure: Ditto.
4297 * libc/Makefile.in: Ditto.
4298 * libc/aclocal.m4: Ditto.
4299 * libc/configure: Ditto.
4300 * libc/machine/Makefile.in: Ditto.
4301 * libc/machine/aclocal.m4: Ditto.
4302 * libc/machine/configure: Ditto.
4303 * libc/machine/mn10300/Makefile.in: Ditto.
4304 * libc/machine/mn10300/aclocal.m4: Ditto.
4305 * libc/machine/mn10300/configure: Ditto.
4306 * libc/sys/Makefile.in: Ditto.
4307 * libc/sys/aclocal.m4: Ditto.
4308 * libc/sys/configure: Ditto.
4309 * libm/Makefile.in: Ditto.
4310 * libm/aclocal.m4: Ditto.
4311 * libm/configure: Ditto.
4312
4313Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4314
4315 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
4316
4317Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4318
4319 * libc/include/stdlib.h: Add reentrant routines.
4320 * libc/stdlib/Makefile.am: Add reentrant routines.
4321 * libc/stdlib/Makefile.in: Ditto.
4322 * libc/stdlib/envlock.c: New file.
4323 * libc/stdlib/envlock.h: New file.
4324 * libc/stdlib/getenv.c: Modify to call reentrant routine.
4325 * libc/stdlib/getenv_r.c: New file.
4326 * libc/stdlib/mblen.c: Modify to call reentrant routine.
4327 * libc/stdlib/mblen_r.c: New file.
4328 * libc/stdlib/setenv.c: Modify to call reentrant routine.
4329 * libc/stdlib/setenv_r.c: New file.
4330 * libc/stdlib/stdlib.tex: Add reentrant routines.
4331
4332Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
4333
4334 * libc/include/sys/types.h: Define __MS_types__ whenever
4335 cygwin or win32.
4336
4337Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
4338
4339 * libc/include/machine/ieeefp.h: Always default to little
4340 endian if Windows, regardless of architecture.
4341 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
4342 regardless of architecture.
4343
4344Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
4345
4346 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
4347 _WIN32 isn't defined.
4348
4349Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
4350
4351 * libm/common/s_rint.c (rint): Add volatile qualifier for
4352 intermediate value w.
4353 * libm/common/sf_rint.c (rintf): Ditto.
4354
4355Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4356
4357 * libc/sys/arm/syscalls.c (remap_handle): Added check to
4358 ensure that std streams are initialized before being referenced.
4359
43601999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
4361
4362 * README: Update reference to newlib@cygnus.com new
4363 newlib@sourceware.cygnus.com address.
4364
4365Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
4366
4367 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
4368 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
4369 defined, even if _WIN32 isn't defined.
4370
4371Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
4372
4373 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
4374
4375Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4376
4377 * libc/include/sys/reent.h: Change Long and ULong to __Long and
4378 __ULong.
4379 * libc/stdlib/dtoa.c: Ditto.
4380 * libc/stdlib/mprec.c: Ditto.
4381 * libc/stdlib/mprec.h: Ditto.
4382 * libc/stdlib/strtod.c: Ditto.
4383
43841999-04-21 Nick Clifton <nickc@cygnus.com>
4385
4386 * configure.host (mcore): Remove mcore machine directory.
4387
43881999-04-18 Nick Clifton <nickc@cygnus.com>
4389
4390 * libc/include/machine/ieeefp.h: Add support for mcore target.
4391 * libc/include/machine/setjmp.h: Add support for mcore target.
4392 * configure.host: Add support for mcore target.
4393
43941999-04-13 Mark Salter <msalter@cygnus.com>
4395
4396 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4397 * libc/sys/arm/syscalls.c: Added isatty.
4398
4399Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4400
4401 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4402 insert zeroes after significant digits.
4403
4404Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4405
4406 * libc/stdio/vfprintf.c (cvt): Changed floating point
4407 cvt routine to use union used by dtoa to properly determine
4408 if the sign bit is on or not.
4409 * libc/stdio/vfieeefp.h: New file
4410
4411Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4412
4413 * aclocal.m4: Regenerated.
4414 * configure: Regenerated.
4415
4416Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4417
4418 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4419 f_tanf reference.
4420 * libc/machine/i386/Makefile.in: Regenerated.
4421
4422Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
4423
4424 * acinclude.m4: Changed to work with new automake.
4425 * configure: Regenerated.
4426 * libc/machine/i386/aclocal.m4: Regenerated.
4427 * libc/machine/i386/configure: Regenerated.
4428
4429Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
4430
4431 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4432 for telldir() and seekdir(). Rename unused structure element
4433 for use with these two routines.
4434
4435Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
4436
4437 * libc/time/mktime.c (validate_structure): Multiple fixes to
4438 code to handle cases where input fields are outside valid ranges.
4439 * libc/stdlib/div.c (div): Modified invalid rounding check.
4440 * libc/stdlib/ldiv.c (ldiv): Ditto.
4441
4442Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
4443
4444 * libc/machine/i386/memcpy.S: Performance rewrite.
4445 * libc/machine/i386/memmove.S: Ditto.
4446 * libc/machine/i386/i386mach.h: Added more register definitions.
4447 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
4448 option used.
4449 * libc/include/machine/fastmath.h: Add definitions for x86
4450 fast-math routines.
4451
4452Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4453
4454 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
4455
4456Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
4457
4458 Adjust newlib headers for new Cygwin Win32 API header files:
4459 * libc/include/sys/time.h: Check _WINSOCK_H rather than
4460 _GNU_H_WINDOWS32_SOCKETS.
4461 * libc/include/sys/types.h: Ditto.
4462
4463Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4464
4465 *include/sys/reent.h: Add checks for size of Bigint element Long.
4466 *libc/dtoa.c: Change routines to use generic Long type.
4467 *libc/mprec.c: Change routines to use generic Long type.
4468 *libc/mprec.h: Change routines to use generic Long type.
4469
4470Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
4471
4472 * libc/Makefile.am: Add .def files.
4473 * libc/Makefile.in: Regenerate.
4474 * libc/e_acosh.c: Documentation update.
4475 * libc/e_atanh.c: Documentation update.
4476 * libc/e_hypot.c: Documentation update.
4477 * libc/e_remainder.c: Documentation update.
4478 * libc/er_lgamma.c: Documentation update.
4479 * libc/mathfp.tex: Documentation update.
4480 * libc/s_acos.c: Documentation update.
4481 * libc/s_atan.c: Documentation update.
4482 * libc/s_atan2.c: Documentation update.
4483 * libc/s_cosh.c: Documentation update.
4484 * libc/s_fmod.c: Documentation update.
4485 * libc/s_isnan.c: Documentation update.
4486 * libc/s_log10.c: Documentation update.
4487 * libc/s_pow.c: Documentation update.
4488 * libc/w_jn.c: Documentation update.
4489
4490Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
4491
4492 * aclocal.m4: Regenerate.
4493 * configure: Regenerate.
4494
4495Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
4496
4497 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
4498 to return 1 if user specified return code is 0.
4499 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
4500
4501Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
4502
4503 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
4504 to save the return address. Fixed longjmp to return to the original
4505 calling address of setjmp and to return the user specified return code
4506 rather than default to 1.
4507 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
4508
4509Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
4510
4511 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
4512
45131999-02-10 Nick Clifton <nickc@cygnus.com>
4514
4515 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
4516 volatile so that its assignments will not be discarded.
4517
4518Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
4519
4520 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
4521 be __STRICT_ANSI__ which is generated by compiler.
4522 * libc/include/ctype.h: Ditto.
4523 * libc/include/math.h: Ditto.
4524 * libc/include/stdio.h: Ditto.
4525 * libc/include/stdlib.h: Ditto.
4526 * libc/include/string.h: Ditto.
4527 * libc/include/sys/signal.h: Ditto.
4528
45291999-02-08 Nick Clifton <nickc@cygnus.com>
4530
4531 * configure.host: Add support for StrongARM target.
4532
4533Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
4534
4535 * libc/string/strncpy.c (strncpy): Removed redundant code
4536 that was copying bytes if data unaligned.
4537
45381999-02-02 Brendan Kehoe <brendan@cygnus.com>
4539
4540 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
4541 mbstowcs.def, and wcstombs.def.
4542
4543Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
4544
4545 * libc/include/sys/errno.h: Add Cygwin errno.
4546 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
4547 is specified.
4548
45491999-01-29 Nick Clifton <nickc@cygnus.com>
4550
4551 * libc/sys/arm/syscalls.c: Move C library functions into seperate
4552 file.
4553
4554 * libc/sys/arm/libcfunc.c: New file containing C library functions
4555 from syscalls.c
4556
4557 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
4558 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
4559
4560
45611999-01-27 Michael Meissner <meissner@cygnus.com>
4562
4563 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
4564 type, and cut size in half so that the jmp_buf array is guaranteed
4565 to be aligned on a 64-bit boundary.
4566
4567Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
4568
4569 * libc/string/strings.tex: Added information about
4570 strcasecmp and strncasecmp.
4571 * libc/stdlib/stdlib.tex: Added missing information
4572 about mblen, mbstowcs, and wcstombs.
4573 * libc/string/strchr.c: Changed how mask is built to use
4574 shift operators so register will be used instead of storage.
4575
45761999-01-22 DJ Delorie <dj@cygnus.com>
4577
4578 * libc/include/stdlib.h: don't use dllimport if we're building
4579 newlib, since it's inside cygwin.dll
4580
4581Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
4582
4583 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
4584 _ctype_ under cygwin.
4585
4586Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
4587
4588 * include/stdlib.h: Fix typo from previous checkin.
4589
4590Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
4591
4592 * include/ctype.h: Use __declspec(dllimport) method for exporting
4593 variable from cygwin DLL.
4594 * include/time.h: Ditto.
4595 * sys/errno.h: Ditto.
4596 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
4597 * libc/locale/locale.c: Use __declspec(dllexport) method for
4598 exporting variable from cygwin DLL.
4599
4600Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
4601
4602 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
4603 access of bogus pointer will result in SIGSEGV.
4604
46051999-01-07 Nick Clifton <nickc@cygnus.com>
4606
4607 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
4608 of an underscore prefix to function names.
4609
4610Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
4611
4612 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
4613 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
4614
46151998-12-31 Michael Meissner <meissner@cygnus.com>
4616
4617 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
4618 to `%' if not already defined.
4619
46201998-12-30 Michael Meissner <meissner@cygnus.com>
4621
4622 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
4623 arguments const char *, not char *.
4624 * libc/include/stdio.h (_tempnam_r): Ditto.
4625
4626 * libc/include/sys/reent.h (struct _reent): The _sig_func type
4627 points to a function taking an integer, not void.
4628
4629Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
4630
4631 * configure.host: Add a define for Cygwin builds.
4632 * libc/include/ctype.h: Don't use dll imported variables in newlib.
4633
4634Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
4635
4636 * libc/include/ctype.h: Define _ctype_ as dll imported variable
4637 for use with Cygwin.
4638 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
4639 dll imported variables for use with Cygwin.
4640 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
4641 as a dll imported variable for Cygwin.
4642
4643Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
4644
4645 * libc/include/sys/unistd.h: Add proto for getpass.
4646
4647Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
4648
4649 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
4650 alphasort.
4651
4652Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
4653
4654 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
4655 not posix_path_list_p.
4656
46571998-12-15 Nick Clifton <nickc@cygnus.com>
4658
4659 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
4660 a signed int.
4661
46621998-12-13 Nick Clifton <nickc@cygnus.com>
4663
4664 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
4665
46661998-12-12 Nick Clifton <nickc@cygnus.com>
4667
4668 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
4669 <msalter@cygnus.com>
4670 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
4671 * libc/machine/fr30/Makefile.in: Regenerated.
4672
46731998-12-11 Nick Clifton <nickc@cygnus.com>
4674
4675 * configure.host: Remove use of libc/sys for FR30 port.
4676 * libc/sys/fr30: Remove directory (replaced by libgloss).
4677
46781998-12-10 Ken Raeburn <raeburn@cygnus.com>
4679
4680 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
4681 * libc/string/strncat.c (ALIGNED): Ditto.
4682
4683Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
4684
4685 * libc/include/sys/time.h: include sys/types.h
4686
4687Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
4688
4689 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
4690 comparison found when checking word at a time.
4691
46921998-12-04 Nick Clifton <nickc@cygnus.com>
4693
4694 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
4695
46961998-12-03 Nick Clifton <nickc@cygnus.com>
4697
4698 * libc/sys/fr30/syscalls.c (_times): New function stub.
4699
4700Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4701
4702 * configure.host (mach_add_setjmp): Replaced mach_add_objs
4703 with mach_add_setjmp flag which indicates if setjmp should
4704 be added to the machine directory objects.
4705 * acinclude.m4: Removed reference to mach_add_objs.
4706 * aclocal.m4: Regenerated.
4707 * Makefile.in: Regenerated.
4708 * configure: Regenerated.
4709 * libc/aclocal.m4: Regenerated.
4710 * libc/Makefile.in: Regenerated.
4711 * libc/configure: Regenerated.
4712 * libc/machine/aclocal.m4: Regenerated.
4713 * libc/machine/Makefile.in: Regenerated.
4714 * libc/machine/configure: Regenerated.
4715 * libc/machine/i386/aclocal.m4: Regenerated.
4716 * libc/machine/i386/Makefile.am: Altered to selectively add
4717 setjmp.S to the src files list.
4718 * libc/machine/i386/Makefile.in: Regenerated.
4719 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4720 * libc/machine/i386/configure: Regenerated.
4721
47221998-12-02 Nick Clifton <nickc@cygnus.com>
4723
4724 * libc/sys/fr30/crt0.s (_start): Fix function names.
4725
4726 * libc/machine/fr30: New directory
4727 * libc/machine/fr30/Makefile.am: New file.
4728 * libc/machine/fr30/Makefile.in: New generated file.
4729 * libc/machine/fr30/configure.in: New file.
4730 * libc/machine/fr30/configure: New generated file.
4731 * libc/machine/fr30/aclocal.m4: New generated file.
4732 * libc/sys/fr30/Makefile.am: New file.
4733 * libc/sys/fr30/Makefile.in: New generated file.
4734 * libc/sys/fr30/configure.in: New file.
4735 * libc/sys/fr30/configure: New generated file.
4736 * libc/sys/fr30/syscalls.c: New file.
4737
4738Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
4739
4740 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4741
47421998-12-01 Ken Raeburn <raeburn@cygnus.com>
4743
4744 * libc/time/strftime.c (strftime): Also handle %y for years before
4745 1900.
4746
4747Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
4748
4749 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4750 UNIX convention. Perform tolower on characters before comparing
4751 them rather than use toupper.
4752 * libc/string/strncasecmp.c (strncasecmp): Ditto.
4753
4754Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4755
4756 * configure.host: Added using i386 machine directory
4757 for all x86 cross-compiler and configuring
4758 which added object files to use via new "mach_add_objs" variable.
4759 * configure: Regenerated.
4760 * libc/configure: Regenerated.
4761 * libc/Makefile.in: Regenerated.
4762 * libc/aclocal.m4: Regenerated.
4763 * libc/ctype/Makefile.in: Regenerated.
4764 * libc/errno/Makefile.in: Regenerated.
4765 * libc/locale/Makefile.in: Regenerated.
4766 * libc/machine/Makefile.in: Regenerated.
4767 * libc/machine/aclocal.m4: Regenerated.
4768 * libc/machine/configure: Regenerated.
4769 * libc/posix/Makefile.in: Regenerated.
4770 * libc/reent/Makefile.in: Regenerated.
4771 * libc/signal/Makefile.in: Regenerated.
4772 * libc/stdio/Makefile.in: Regenerated.
4773 * libc/stdlib/Makefile.in: Regenerated.
4774 * libc/string/Makefile.in: Regenerated.
4775 * libc/string/memmove.c: Optimized code to use memcpy
4776 logic when performing a non-destructive copy.
4777 * libc/string/strncmp.c: Altered code to allow building
4778 optimized for size or speed.
4779 * libc/syscalls/Makefile.in: Regenerated.
4780 * libc/time/Makefile.in: Regenerated.
4781 * libc/unix/Makefile.in: Regenerated.
4782 * libc/machine/i386/Makefile.am: Added new files and reference
4783 to "mach_add_objs" to indicate optional object files.
4784 * libc/machine/i386/Makefile.in: Regenerated.
4785 * libc/machine/i386/aclocal.m4: Regenerated.
4786 * libc/machine/i386/configure: Regenerated.
4787 * libc/machine/i386/memchr.S: New file that implements
4788 function in Intel assembler.
4789 * libc/machine/i386/memcmp.S: ditto.
4790 * libc/machine/i386/memcpy.S: ditto.
4791 * libc/machine/i386/memmove.S: ditto.
4792 * libc/machine/i386/memset.S: ditto.
4793 * libc/machine/i386/strchr.S: ditto.
4794 * libc/machine/i386/strlen.S: ditto.
4795 * libc/machine/i386/f_atan2.S: New file that implements
4796 fast version of math function to be used by compiler when
4797 --ffast_math compile option is used.
4798 * libc/machine/i386/f_atan2f.S: ditto.
4799 * libc/machine/i386/f_exp.c: ditto.
4800 * libc/machine/i386/f_expf.c: ditto.
4801 * libc/machine/i386/f_frexp.S: ditto.
4802 * libc/machine/i386/f_frexpf.S: ditto.
4803 * libc/machine/i386/f_ldexp.S: ditto.
4804 * libc/machine/i386/f_ldexpf.S: ditto.
4805 * libc/machine/i386/f_log.S: ditto.
4806 * libc/machine/i386/f_logf.S: ditto.
4807 * libc/machine/i386/f_log10.S: ditto.
4808 * libc/machine/i386/f_log10f.S: ditto.
4809 * libc/machine/i386/f_math.h: New file.
4810 * libc/machine/i386/f_pow.c: ditto.
4811 * libc/machine/i386/f_powf.S: ditto.
4812 * libc/machine/i386/f_tan.S: ditto.
4813 * libc/machine/i386/f_tan.S: ditto.
4814 * libc/machine/i386/i386mach.h: New file.
4815
4816Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
4817
4818 patch from Mumit Khan <khan@xraylith.wisc.edu>
4819 * libc/include/stdio.h (tempnam): Add prototype.
4820 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4821 (tempnam): Adhere to prototype.
4822
4823Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
4824
4825 * Makefile.am: Add default for AR_FLAGS.
4826 * Makefile.in: Regenerate.
4827
4828Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
4829
4830 * libc/include/time.h: move __cplusplus wrapper after includes
4831 * libc/include/sys/time.h: ditto. If Cygwin, include
4832 sys/select.h.
4833 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4834
48351998-11-23 Ken Raeburn <raeburn@cygnus.com>
4836
4837 * libc/time/strftime.c (strftime): Handle %y after year 2000.
4838
4839Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
4840
4841 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4842 abnormnal end-of-crt0 marker.
4843
4844Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
4845
4846 * libc/sys/fr30/crt0.s: New file/directory.
4847 * libc/include/machine/setjmp.h: Add FR30 target.
4848 * libc/include/machine/ieeefp.h: Add FR30 target.
4849 * configure.host: Add FR30 target.
4850
4851Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4852
4853 * libm/math: Files that are duplicated in common directory removed.
4854 * libm/math/fdlibm.h: Removed.
4855 * libm/math/s_cbrt.c: Removed.
4856 * libm/math/s_copysign.c: Removed.
4857 * libm/math/s_expm1.c: Removed.
4858 * libm/math/s_finite.c: Removed.
4859 * libm/math/s_ilogb.c: Removed.
4860 * libm/math/s_infinity.c: Removed.
4861 * libm/math/s_lib_ver.c: Removed.
4862 * libm/math/s_log1p.c: Removed.
4863 * libm/math/s_logb.c: Removed.
4864 * libm/math/s_matherr.c: Removed.
4865 * libm/math/s_modf.c: Removed.
4866 * libm/math/s_nan.c: Removed.
4867 * libm/math/s_nextafter.c: Removed.
4868 * libm/math/s_rint.c: Removed.
4869 * libm/math/s_scalbn.c: Removed.
4870 * libm/math/sf_cbrt.c: Removed.
4871 * libm/math/sf_copysign.c: Removed.
4872 * libm/math/sf_expm1.c: Removed.
4873 * libm/math/sf_finite.c: Removed.
4874 * libm/math/sf_ilogb.c: Removed.
4875 * libm/math/sf_infinity.c: Removed.
4876 * libm/math/sf_log1p.c: Removed.
4877 * libm/math/sf_logb.c: Removed.
4878 * libm/math/sf_modf.c: Removed.
4879 * libm/math/sf_nan.c: Removed.
4880 * libm/math/sf_nextafter.c: Removed.
4881 * libm/math/sf_rint.c: Removed.
4882 * libm/math/sf_scalbn.c: Removed.
4883 * libm/math/Makefile.am: Removed references to deleted files (above).
4884 * libm/math/Makefile.in: Regenerated.
4885 * libm/Makefile.am: Added common directory to math.
4886 * libm/Makefile.in: Regenerated.
4887
4888Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4889
4890 * libm/mathfp: Add non-ANSI functions.
4891 * libm/mathfp/e_acosh.c acosh(): New file.
4892 * libm/mathfp/e_atanh.c atanh(): New file.
4893 * libm/mathfp/e_hypot.c hypot(): New file.
4894 * libm/mathfp/e_j0.c j0(): New file.
4895 * libm/mathfp/e_j1.c j1(): New file.
4896 * libm/mathfp/e_remainder.c remainder(): New file.
4897 * libm/mathfp/e_scalb.c scalb(): New file.
4898 * libm/mathfp/ef_acosh.c acoshf(): New file.
4899 * libm/mathfp/ef_atanh.c atanhf(): New file.
4900 * libm/mathfp/ef_hypot.c hypotf(): New file.
4901 * libm/mathfp/ef_j0.c j0f(): New file.
4902 * libm/mathfp/ef_j1.c j1f(): New file.
4903 * libm/mathfp/ef_remainder.c remainderf(): New file.
4904 * libm/mathfp/ef_scalb.c scalbf(): New file.
4905 * libm/mathfp/er_gamma.c gamma_r: New file.
4906 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4907 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4908 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4909 * libm/mathfp/w_cabs.c cabs(): New file.
4910 * libm/mathfp/w_drem.c drem(): New file.
4911 * libm/mathfp/w_jn.c jn(): New file.
4912 * libm/mathfp/wf_cabs.c cabsf(): New file.
4913 * libm/mathfp/wf_drem.c dremf(): New file.
4914 * libm/mathfp/wf_jn.c jnf(): New file.
4915
4916Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
4917
4918 * libc/sys/cygwin32: remove directory and contents
4919 * libc/sys/cygwin: and add back, losing the "32".
4920 * configure.host: check for cygwin* instead of cygwin32.
4921 * acinclude.m4: ditto.
4922 * aclocal.m4: regenerate with aclocal
4923 * configure: regenerate with autoconf
4924
4925Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
4926
4927 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4928 for length
4929
4930Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4931
4932 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4933 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4934 to make rand/srand, strtok, asctime, localtime, w_gamma,
4935 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
4936 time.h to bring in struct tm definition.
4937 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4938 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4939 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4940 instead of static variable.
4941 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4942 struct reent instead of static variable.
4943 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4944 struct reent instead of static variable.
4945 * libm/math/Makefile.am: Removed s_signgam.o.
4946 * libm/math/Makefile.in: Regenerated.
4947 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4948 struct reent instead of global variable 'signgam'.
4949 * libm/math/w_lgamma.c (lgamma): Likewise.
4950 * libm/math/wf_gamma.c (gammaf): Likewise.
4951 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4952 * libm/math/s_signgam.c: Removed.
4953 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4954 to be const.
4955 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4956 to be const.
4957 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4958 libc/include/reent.h.
4959 * libc/reent/Makefile.in: Regenerated.
4960 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4961 to be const.
4962 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4963 'JIS_action_table' to be const.
4964 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4965
4966Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
4967
4968 * acinclude.m4: $with_target_subdir should default to '.'
4969 or confusion results when configuring in same directory as sources.
4970 * Regenerate all aclocal.m4 and configure files.
4971
4972Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
4973
4974 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4975 can be set by defining MALLOC_ALIGNMENT=16. Also added support
4976 for platforms where sizeof(size_t) < sizeof(long) via
4977 SIZE_T_SMALLER_THAN_LONG macro.
4978
4979Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
4980
4981 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4982 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4983 which sets _CLOCKS_PER_SEC_ for selected machines.
4984 * libc/include/machine/time.h: New file.
4985
4986Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4987
4988 * libc/syscalls/sysexecve.c: New file.
4989 * libc/syscalls/sysgettod.c: New file.
4990 * libc/syscalls/systimes.c: New file.
4991 * libc/syscalls/Makefile.am: Added new objects.
4992 * libc/syscalls/Makefile.in: Regenerated.
4993 * libc/include/_syslist.h (_execve): Moved define in file.
4994 * libc/include/reent.h: Added _execve_r declaration.
4995 * libc/Makefile.in: Regenerated.
4996 * libc/ctype/Makefile.in: Regenerated.
4997 * libc/errno/Makefile.in: Regenerated.
4998 * libc/locale/Makefile.in: Regenerated.
4999 * libc/machine/Makefile.in: Regenerated.
5000 * libc/misc/Makefile.in: Regenerated.
5001 * libc/posix/Makefile.in: Regenerated.
5002 * libc/reent/Makefile.in: Regenerated.
5003 * libc/reent/execr.c (_execve_r): Added _execve_r function.
5004 * libc/signal/Makefile.in: Regenerated.
5005 * libc/stdio/Makefile.in: Regenerated.
5006 * libc/time/Makefile.in: Regenerated.
5007 * libc/unix/Makefile.in: Regenerated.
5008 * libm/mathfp/Makefile.in: Regenerated.
5009
5010Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5011
5012 * libc/string/Makefile.in: Regenerated.
5013 * libc/string/memchr.c (memchr): Moved code to reduce object size.
5014 * libc/string/memcpy.c (memcpy): Ditto.
5015 * libc/string/memcmp.c (memcmp): Ditto.
5016 * libc/string/memset.c (memset): Ditto.
5017 * libc/string/strchr.c (strchr): Ditto.
5018 * libc/string/strcmp.c (strcmp): Ditto.
5019 * libc/string/strcpy.c (strcpy): Ditto.
5020 * libc/string/strlen.c (strlen): Ditto.
5021
5022Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5023
5024 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
5025 to generate aclocal.m4.
5026 * libm/Makefile.in: Regenerated.
5027 * libm/aclocal.m4: Regenerated.
5028 * libm/configure: Regenerated.
5029 * libm/math/Makefile.in: Regenerated.
5030 * libm/mathfp/Makefile.in: Regenerated.
5031
50321998-09-25 Mark Salter <msalter@cygnus.com>
5033
5034 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
5035 by adding leading and trailing underscores to symbol names.
5036
5037Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
5038
5039 * Makefile.in: Add default for AR_FLAGS.
5040
5041Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
5042
5043 patch from ian@airs.com (Ian Taylor):
5044 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
5045 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
5046 is needed for detecting the build machine. Required for
5047 cygwin native builds.
5048
5049 * Regenerate all aclocal.m4 and configure files.
5050
5051Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
5052
5053 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
5054 used to start with LC.
5055
5056Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5057
5058 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
5059 (longjmp): Likewise.
5060
5061Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5062
5063 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
5064 the test for small number of bytes.
5065
5066Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5067
5068 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
5069 math library that uses floating point algorithms instead of the old
5070 libm.
5071 * Makefile.in: Regenerate with automake version 1.3b.
5072 * configure: Rebuild.
5073 * libm/Makefile.in: Regenerate with automake version 1.3b.
5074 * libm/aclocal.m4: Regenerate.
5075 * libm/configure: Rebuild.
5076 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
5077 * libm/acinclude.m4: Define macros for configure.in.
5078 * libm/config.h.in: Generate.
5079 * libm/mathfp/Makefile.am: New file.
5080 * libm/mathfp/Makefile.in: Generate.
5081 * libm/mathfp/s_acos.c (acos): New file.
5082 * libm/mathfp/s_asin.c (asin): New file.
5083 * libm/mathfp/s_asine.c (asine): New file.
5084 * libm/mathfp/s_atan.c (atan): New file.
5085 * libm/mathfp/s_atan2.c (atan2): New file.
5086 * libm/mathfp/s_atangent.c (atangent): New file.
5087 * libm/mathfp/s_ceil.c (ceil): New file.
5088 * libm/mathfp/s_copysign.c (copysign): New file.
5089 * libm/mathfp/s_cos.c (cos): New file.
5090 * libm/mathfp/s_cosh.c (cosh): New file.
5091 * libm/mathfp/s_exp.c (exp): New file.
5092 * libm/mathfp/s_fabs.c (fabs): New file.
5093 * libm/mathfp/s_finite.c (finite): New file.
5094 * libm/mathfp/s_floor.c (floor): New file.
5095 * libm/mathfp/s_fmod.c (fmod): New file.
5096 * libm/mathfp/s_frexp.c (frexp): New file.
5097 * libm/mathfp/s_infconst.c: New file.
5098 * libm/mathfp/s_isinf (isinf).c: New file.
5099 * libm/mathfp/s_isnan.c (isnan): New file.
5100 * libm/mathfp/s_ispos.c (ispos): New file.
5101 * libm/mathfp/s_ldexp.c (ldexp): New file.
5102 * libm/mathfp/s_log.c (log): New file.
5103 * libm/mathfp/s_log10.c (log10): New file.
5104 * libm/mathfp/s_logarithm.c (logarithm): New file.
5105 * libm/mathfp/s_mathcnst.c: New file.
5106 * libm/mathfp/s_modf (modf).c: New file.
5107 * libm/mathfp/s_numtest.c (numtest): New file.
5108 * libm/mathfp/s_pow.c (pow): New file.
5109 * libm/mathfp/s_scalbn.c (scalbn): New file.
5110 * libm/mathfp/s_sin (sin).c: New file.
5111 * libm/mathfp/s_sine.c (sine): New file.
5112 * libm/mathfp/s_sineh.c (sineh): New file.
5113 * libm/mathfp/s_sinf.c (sinf): New file.
5114 * libm/mathfp/s_sinh.c (sinh): New file.
5115 * libm/mathfp/s_sqrt.c (sqrt): New file.
5116 * libm/mathfp/s_tan.c (tan): New file.
5117 * libm/mathfp/s_tanh.c (tanh): New file.
5118 * libm/mathfp/sf_acos.c (acosf): New file.
5119 * libm/mathfp/sf_asin.c (asinf): New file.
5120 * libm/mathfp/sf_asine.c (asinef): New file.
5121 * libm/mathfp/sf_atan.c (atanf): New file.
5122 * libm/mathfp/sf_atan2.c (atan2f): New file.
5123 * libm/mathfp/sf_atangent.c (atangent): New file.
5124 * libm/mathfp/sf_ceil.c (ceilf): New file.
5125 * libm/mathfp/sf_copysign.c (copysignf): New file.
5126 * libm/mathfp/sf_cos.c (cosf): New file.
5127 * libm/mathfp/sf_cosh.c (coshf): New file.
5128 * libm/mathfp/sf_exp.c (expf): New file.
5129 * libm/mathfp/sf_fabs.c (fabsf): New file.
5130 * libm/mathfp/sf_finite.c (finitef): New file.
5131 * libm/mathfp/sf_floor.c (floorf): New file.
5132 * libm/mathfp/sf_fmod.c (fmodf): New file.
5133 * libm/mathfp/sf_frexp.c (frexpf): New file.
5134 * libm/mathfp/sf_isinf.c (isinff): New file.
5135 * libm/mathfp/sf_isnan.c (isnanf): New file.
5136 * libm/mathfp/sf_ispos.c (isposf): New file.
5137 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
5138 * libm/mathfp/sf_log.c (logf): New file.
5139 * libm/mathfp/sf_log10.c (log10f): New file.
5140 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
5141 * libm/mathfp/sf_modf.c (modff): New file.
5142 * libm/mathfp/sf_numtest.c (numtestf): New file.
5143 * libm/mathfp/sf_pow.c (powf): New file.
5144 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
5145 * libm/mathfp/sf_sin.c (sinf): New file.
5146 * libm/mathfp/sf_sine.c (sinef): New file.
5147 * libm/mathfp/sf_sineh.c (sinehf): New file.
5148 * libm/mathfp/sf_sinh.c (sinhf): New file.
5149 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
5150 * libm/mathfp/sf_tan.c (tanf): New file.
5151 * libm/mathfp/sf_tanh.c (tanhf): New file.
5152 * libm/mathfp/zmath.h: New file.
5153
5154Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5155
5156 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
5157 exit if it has been overwritten by pre-fetching in delay slot.
5158
51591998-09-01 Michael Meissner <meissner@cygnus.com>
5160
5161 * Makefile.am (tooldir): Add in host_alias, so that multilib
5162 libraries are installed in the directory the compiler looks in.
5163 * Makefile.in: Regenerate.
5164
5165 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
5166
5167Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
5168
5169 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
5170 ahead of test for number of bytes being moved.
5171
5172Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
5173
5174 * libc/include/sys/unistd.h: Nothing special needed for
5175 _exit under cygwin.
5176
5177Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
5178
5179 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
5180 conform to user label naming conventions.
5181
5182Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
5183
5184 * libc/sys/cygwin32/sys/utime.h: variable names in
5185 protos should start with two leading underscores
5186 * libc/include/string.h: ditto
5187 * libc/include/sys/signal.h: ditto
5188 * libc/include/sys/stat.h: ditto
5189 * libc/include/sys/time.h: ditto
5190 * libc/include/sys/unistd.h: ditto
5191 * libc/include/ctype.h: ditto
5192 * libc/include/stdlib.h: ditto
5193 * libc/include/sys/reent.h: struct _atexit function ptr takes a
5194 void, same with _sig_func.
5195
5196Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
5197
5198 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
5199 for MB_CAPABLE to reduce code size when newlib is not configured
5200 with --enable-newlib-mb.
5201 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
5202 mbtowc_r.o to minimize size.
5203 * libc/stdlib/Makefile.in: Rebuild.
5204
5205Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
5206
5207 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
5208 to -DREENT.
5209 * libc/sys/sparc64/Makefile.in: Rebuild.
5210
5211Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
5212
5213 * Makefile.am (MAKEOVERRIDES): Define.
5214 * Makefile.in: Rebuild.
5215
5216Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
5217
5218 * libc/sys/sparc64/sys/stat.h (stat): Add const.
5219
5220Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
5221
5222 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
5223 newlib_cflags when looking for targ-include.
5224 * */aclocal.m4, */configure: Rebuild.
5225
5226Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
5227
5228 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
5229 to "_end".
5230
5231Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
5232
5233 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
5234 on SPARCs with little-endian data.
5235 * libc/include/machine/ieeefp.h: Ditto.
5236
5237Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
5238
5239 * acinclude.m4: Handle a relative srcdir correctly when setting
5240 newlib_cflags.
5241 * */aclocal.m4, */configure: Rebuild.
5242
5243Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
5244
5245 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
5246 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
5247 * libm/math/wrf_gamma.c (gammaf_r): ditto
5248 * libm/math/wr_lgamma.c (lgamma_r): ditto
5249 * libm/math/wr_gamma.c (gamma_r): ditto
5250 * libm/math/wf_sqrt.c (sqrtf): ditto
5251 * libm/math/wf_sinh.c (sinhf): ditto
5252 * libm/math/wf_scalb.c (scalbf): ditto
5253 * libm/math/wf_remainder.c (remainderf): ditto
5254 * libm/math/wf_pow.c (powf): ditto
5255 * libm/math/wf_log10.c (log10f): ditto
5256 * libm/math/wf_log.c (logf): ditto
5257 * libm/math/wf_lgamma.c (lgammaf): ditto
5258 * libm/math/wf_jn.c (jnf, ynf): ditto
5259 * libm/math/wf_j1.c (j1f, y1f): ditto
5260 * libm/math/wf_j0.c (j0f, y0f): ditto
5261 * libm/math/wf_hypot.c (hypotf): ditto
5262 * libm/math/wf_gamma.c (gammaf): ditto
5263 * libm/math/wf_fmod.c (fmodf): ditto
5264 * libm/math/wf_exp.c (expf): ditto
5265 * libm/math/wf_cosh.c (coshf): ditto
5266 * libm/math/wf_atanh.c (atanhf): ditto
5267 * libm/math/wf_atan2f.c (atan2f): ditto
5268 * libm/math/wf_asin.c (asinf): ditto
5269 * libm/math/wf_acosh.c (acoshf): ditto
5270 * libm/math/wf_acos.c (acosf): ditto
5271 * libm/math/w_sqrt.c (sqrt): ditto
5272 * libm/math/w_sinh.c (sinh): ditto
5273 * libm/math/w_scalb.c (scalb): ditto
5274 * libm/math/w_remainder.c (remainder): ditto
5275 * libm/math/w_pow.c (pow): ditto
5276 * libm/math/w_log10.c (log10): ditto
5277 * libm/math/w_log.c (log): ditto
5278 * libm/math/w_lgamma.c (lgamma): ditto
5279 * libm/math/w_jn.c (jn, yn): ditto
5280 * libm/math/w_j1.c (j1, y1): ditto
5281 * libm/math/w_j0.c (j0, y0): ditto
5282 * libm/math/w_hypot.c (hypot): ditto
5283 * libm/math/w_gamma.c (gamma): ditto
5284 * libm/math/w_fmod.c (fmod): ditto
5285 * libm/math/w_exp.c (exp): ditto
5286 * libm/math/w_cosh.c (cosh): ditto
5287 * libm/math/w_atanh.c (atanh): ditto
5288 * libm/math/w_atan2f.c (atan2): ditto
5289 * libm/math/w_asin.c (asin): ditto
5290 * libm/math/w_acosh.c (acosh): ditto
5291 * libm/math/w_acos.c (acos): ditto
5292
5293Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
5294
5295 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
5296 (fsrc): Add wf_cabs.c and wf_drem.c.
5297 * libm/math/Makefile.in: Rebuild.
5298
5299 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
5300 unused directory variables. Remove duplicate CFLAGS.
5301 * Makefile.in: Rebuild.
5302
5303 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
5304 with $(CC_FOR_BUILD).
5305 (makedoc.o): Likewise.
5306 * doc/Makefile.in: Rebuild.
5307
5308 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
5309 force a definition of COMPILE.
5310 (libfoo_a_SOURCES): Define.
5311 * libc/sys/cygwin32/Makefile.in: Rebuild.
5312 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
5313 force a definition of COMPILE.
5314 (libfoo_a_SOURCES): Define.
5315 * libc/sys/tic80/Makefile.in: Rebuild.
5316
5317Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
5318
5319 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
5320 flag.
5321
5322Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
5323
5324 * Build using autoconf and automake. Added many Makefile.am and
5325 configure.in files, plus generated files. Old configure.in files
5326 and all old Makefile.in files completely replaced. Removed
5327 host/any. Added acinclude.m4 and configure.host.
5328
5329Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
5330
5331 * libc/stdio/vfprintf.c: enable long long support, sometimes.
5332 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
5333
5334Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5335
5336 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
5337 * libc/machine/sh/Makefile.in: Add rules for new files.
5338
5339Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5340
5341 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
5342 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
5343 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
5344
5345Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
5346
5347 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
5348 code is ignored.
5349
5350Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
5351
5352 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
5353 internal static buffer when s is NULL, as prescribed by ANSI.
5354
53551998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
5356
5357 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
5358 removed.
5359 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
5360 libc/stdlib will be used for h8300hms.
5361
5362Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5363
5364 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
5365 version that can be built either for speed or size.
5366 * libc/machine/mn10300/memset.S (_memset): ditto
5367 * libc/machine/mn10300/memchr.S (_memchr): ditto
5368 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
5369 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
5370 * libc/machine/mn10300/strchr.S (_strchr): ditto
5371 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
5372 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
5373 * libc/machine/mn10300/Makefile.in: Added entries for
5374 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
5375 strcmp.o, strcpy.o, and strlen.o.
5376
5377Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
5378
5379 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
5380 been replaced with libgloss/mn10200.
5381
5382Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
5383
5384 * libc/string/strchr.c (strchr): Make s a constant pointer to
5385 avoid warning.
5386
5387Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
5388
5389 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
5390 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
5391 board SWIs instead of Demon board SWIs).
5392
5393Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
5394
5395 * libc/string/strncat.c (strncat): Make -Os act the same as
5396 PREFER_SIZE_OVER_SPEED being defined.
5397
5398Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
5399
5400 * libc/string/memchr.c (memchr): Make -Os act the same as
5401 PREFER_SIZE_OVER_SPEED being defined.
5402 * libc/string/memcmp.c (memcmp): Ditto.
5403 * libc/string/memcpy.c (memcpy): Ditto.
5404 * libc/string/memset.c (memset): Ditto.
5405 * libc/string/strcat.c (strcat): Ditto.
5406 * libc/string/strchr.c (strchr): Ditto.
5407 * libc/string/strcmp.c (strcmp): Ditto.
5408 * libc/string/strcpy.c (strcpy): Ditto.
5409 * libc/string/strlen.c (strlen): Ditto.
5410 * libc/string/strncat.c (strncat): Ditto.
5411 * libc/string/strncmp.c (strncmp): Ditto.
5412 * libc/string/strncpy.c (strncpy): Ditto.
5413
5414Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
5415
5416 * libc/include/sys/itimer.h: remove
5417 * libc/include/sys/time.h: itimer stuff should be here
5418
5419Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
5420
5421 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5422 bit instead of comparing to 0 so -0.0 can be printed correctly.
5423
5424Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5425
5426 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5427
5428Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
5429
5430 * libc/include/sys/unistd.h: fix sync() proto
5431 * libc/include/sys/fcntl.h: remove _close which is already
5432 defined in unistd.h.
5433 * libc/include/sys/time.h: add getitimer proto
5434
5435Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
5436
5437 * libc/string/strchr.c: convert arg to unsigned char
5438 * libc/include/stdlib.h: add protos for random, srandom
5439 * libc/include/sys/stat.h: add lstat proto
5440 * libc/include/sys/time.h: add setitimer proto
5441 * libc/include/sys/unistd.h: add readlink, symlink protos
5442 * libc/include/process.h: instead of including windows.h and using
5443 HANDLEs in sexec protos, just use void *s. Need to include
5444 sys/types.h.
5445
5446Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
5447
5448 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
5449
5450Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
5451
5452 * libc/include/process.h: add secure exec protos
5453
5454Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
5455
5456 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
5457 which are accessed as both doubles and integers.
5458 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
5459 * libc/stdlib/strtod.c (_strtod_r): Likewise.
5460 * libc/stdlib/mprec.h: Add "union double_union" and change
5461 word0/word1 macros to use it.
5462
5463Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
5464
5465 * libc/include/sys/signal.h: add __cplusplus wrapper
5466
5467Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
5468
5469 * libc/include/sys/utime.h: new generic file that gets replaced by
5470 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
5471 function.
5472 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
5473 * libc/include/time.h: remove duplicate utime proto
5474 * libc/include/utime.h: add comment
5475
5476Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
5477
5478 * libc/include/sys/time.h: Add missing include to
5479 allow use of _EXFUN. Remove times function that is
5480 already defined in times.h.
5481
5482Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
5483
5484 * libc/include/time.h: Fix typo in tzset.
5485
5486Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
5487
5488 * libc/include/sys/time.h: add missing Cygwin32 function protos
5489 * libc/include/sys/unistd.h: ditto
5490 * libc/include/time.h: ditto
5491
5492Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
5493
5494 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
5495 FIXME.
5496 * libc/include/sys/types.h: add a new __MS_types__ section
5497 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
5498 __BIT_TYPES_DEFINED__.
5499
5500Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
5501
5502 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
5503 since it overrides the one in libc/include/sys. Also, start
5504 including types.h.
5505
5506Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
5507
5508 * libm/math/Makefile.in: add s_signgam.o to obj list
5509
5510Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
5511
5512 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
5513
5514Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
5515
5516 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
5517 so don't use defines.
5518
5519Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
5520
5521 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
5522
5523Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
5524
5525 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
5526 _current_locale as default locale.
5527
5528Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
5529
5530 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
5531 insufficient space in a chunk.
5532
5533Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
5534
5535 * configure.in (links): Added check for --enable-newlib-mb configure
5536 option which defines the MB_CAPABLE macro.
5537 * libc/locale/locale.c (_setlocale_r): Added support for setting
5538 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
5539 defined.
5540 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
5541 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
5542 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
5543 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
5544 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
5545 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
5546 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
5547 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
5548 * libc/stdlib/Makefile.in: Added new multibyte
5549 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
5550 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
5551 _mbstowcs_r(), and _wcstombs_r().
5552 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
5553 for JIS, SJIS, and EUC-JP characters.
5554 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
5555 MB_CAPABLE defined.
5556 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
5557 MB_CAPABLE defined.
5558 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
5559 MB_CAPABLE defined.
5560 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
5561 if MB_CAPABLE defined.
5562 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
5563 if MB_CAPABLE defined.
5564 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
5565 to the format string processing when MB_CAPABLE.
5566 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
5567 call _mbtowc_r().
5568
5569Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
5570
5571 The following modifications are courtesy of Anthony Thompson,
5572 athompson@cambridge.arm.com:
5573 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
5574 boith RDI and RDP monitors.
5575 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
5576 RDI and RDP monitors.
5577
5578Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
5579
5580 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
5581 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
5582 (_swiopen): Fixed open flags to treat write with append as just append.
5583 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
5584 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
5585
5586Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5587
5588 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
5589 When needing to transfer an initial 2-byte-word, store as
5590 two single bytes.
5591
5592Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5593
5594 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
5595 __SH3E__ .
5596 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
5597 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
5598
5599Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
5600
5601 * configure.in (target_cflags): If --enable-target-optspace, use
5602 -Os to compile newlib rather than -O2. Default to using -Os for
5603 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
5604 used.
5605
5606Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
5607
5608 * libc/include/machine/setjmp.h: change sigsetjmp and
5609 siglongjmp definitions to use an array instead of a struct
5610 for __CYGWIN32__
5611
5612Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
5613
5614 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
5615
5616Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
5617
5618 * libc/string/strxfrm.c: fix to get correct return value
5619
5620Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
5621
5622 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
5623 builds. Make mode change labels global so that they will be seen
5624 by the debugger.
5625
5626Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
5627
5628 * configure.in (links): Do not use ARM debiugging protocols for PE
5629 builds.
5630
5631 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
5632 message.
5633
5634Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5635
5636 * libc/stdio/findfp.c (__sinit): Made stdout default to
5637 line buffered mode as defined by ANSI.
5638
5639Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
5640
5641 * libc/include/sys/itimer.h: New file.
5642
5643 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
5644
5645Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5646
5647 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
5648 failure.
5649
5650Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
5651
5652 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
5653 insns.
5654
5655Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
5656
5657 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
5658
5659Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
5660
5661 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
5662 support.
5663
5664 * libc/include/machine/setjmp.h: Add D30V support.
5665
5666 * configure.in (d30v-*): Add d30v machine directory.
5667
5668Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
5669
5670 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
5671 been replaced with libgloss/mn10300.
5672
5673Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
5674
5675 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
5676 it is no longer needed.
5677
5678Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5679
5680 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
5681
5682Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
5683
5684 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
5685 the file when O_APPEND is set, wherever the EOF happens to be at
5686 that time.
5687
5688Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
5689
5690 patch from cgf@bbc.com (Christopher Faylor):
5691 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
5692 convention of closing fp prior to attempting to open the file
5693 argument. This allows correct operation when reopening
5694 stdin/stdout/stderr. Replaces last freopen.c patch.
5695
5696Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
5697
5698 patch from cgf@bbc.com (Christopher Faylor):
5699 * libc/stdio/freopen.c: freopen was not preserving the fd
5700 of the stream being operated on. This confuses programs that
5701 expect that the handles for stdout and stderr will be 1 and 2.
5702
5703Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
5704
5705 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
5706
5707Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
5708
5709 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
5710
5711Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
5712
5713 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5714 altered to not use a branch. Also added hint that last
5715 bclr in longjmp will likely result in branch.
5716
5717
5718Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
5719
5720 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5721
5722Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
5723
5724 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5725 v850 builds.
5726
5727 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
5728
5729Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
5730
5731 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5732 that loads FR14 to specify offset of 8 rather than 4
5733 so it loads from offset 96 (where setjmp stored it).
5734
5735Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5736
5737 * libc/machine/sh/memcpy.S: (_memcpy): Update to
5738 latest version supplied by customer.
5739 * libc/machine/sh/memset.S (_memset): Ditto.
5740
5741Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
5742
5743 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5744 PR14730).
5745
5746Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
5747
5748 * libc/include/string.h: remove redefinition of ffs
5749
5750Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
5751
5752 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5753 defined
5754
5755Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5756
5757 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5758 TI Libraries to link to libc.a
5759
5760Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
5761
5762 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5763 * libc/include/sys/stat.h (_{,f}stat): Ditto.
5764 * libc/include/sys/wait.h (_wait): Ditto.
5765 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5766 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5767
5768Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
5769
5770 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
5771 minded stabs so function name shows up when running the simulator
5772 with -t.
5773 * libc/sys/d10v/{crt0,trap}.S: Ditto.
5774
5775Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
5776
5777 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
5778 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5779 Use R5 where we used to use R3.
5780
5781Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
5782
5783 * libc/stdlib/getopt.c (getopt): replaced __progname
5784 with nargv[0] to improve portability to imbedded systems.
5785
5786Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
5787
5788 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5789 patch supplied by Tont.Thompson@arm.com to fix the creation of the
5790 stdout file.
5791
5792Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
5793
5794 * libc/stdio/tmpnam.c (worker): Generate a different file name
5795 each time.
5796
5797 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5798 fails, try an execlp for sh.
5799
5800 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5801 option for the winsup include directory.
5802
5803Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
5804
5805 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5806 debugging interface from Tony.Thompson@arm.com.
5807
5808 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5809 * libc/sys/arm/swi.h: ditto.
5810
5811Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5812
5813 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5814 DIR struct used for readdir hashes.
5815
5816Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
5817
5818 * libc/string/strchr.c: Use "unsigned chars" as necessary.
5819
5820Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
5821
5822 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5823 integer targets.
5824
5825Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
5826
5827 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5828 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5829 * libc/include/malloc.h: Add extern "C" if __cplusplus.
5830 (__malloc_copy): Declare.
5831
5832Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
5833
5834 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5835 <sys/config.h>.
5836 (POINTER_UINT): Define.
5837 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5838 (MALLOC_ALIGNMENT): Don't define if already defined.
5839 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5840 long.
5841
5842Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
5843
5844 * libc/string/memset.c (memset): Fiddle with code so that the long
5845 value being stored is not a stack value. Unroll storing longs 4
5846 times.
5847
5848Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
5849
5850 * Reduce code size for libm modules.
5851 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5852 and simply move code into sqrt.
5853 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5854 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5855 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5856 * libm/math/wr_gamma.c (gamma_r): Likewise.
5857 * libm/math/wf_sinh.c (sinfh): Likewise.
5858 * libm/math/w_sinh.c (sinh): Likewise.
5859 * libm/math/wf_scalb.c (scalbf): Likewise.
5860 * libm/math/w_scalb.c (scalb): Likewise.
5861 * libm/math/wf_remainder.c (remainderf): Likewise.
5862 * libm/math/w_remainder.c (remainder): Likewise.
5863 * libm/math/wf_pow.c (powf): Likewise.
5864 * libm/math/w_pow.c (pow): Likewise.
5865 * libm/math/wf_log10.c (log10f): Likewise.
5866 * libm/math/w_log10.c (log10): Likewise.
5867 * libm/math/wf_log.c (logf): Likewise.
5868 * libm/math/w_log.c (log): Likewise.
5869 * libm/math/w_lgamma.c (lgamma): Likewise.
5870 * libm/math/wf_lgamma.c (lgammaf): Likewise.
5871 * libm/math/wf_jn.c (jnf): Likewise.
5872 * libm/math/w_jn.c (jn): Likewise.
5873 * libm/math/wf_j1.c (j1f): Likewise.
5874 * libm/math/w_j1.c (j1): Likewise.
5875 * libm/math/wf_j0.c (j0f): Likewise.
5876 * libm/math/w_j0.c (j0): Likewise.
5877 * libm/math/wf_hypot.c (hypotf): Likewise.
5878 * libm/math/w_hypot.c (hypot): Likewise.
5879 * libm/math/wf_gamma.c (gammaf): Likewise.
5880 * libm/math/w_gamma.c (gamma): Likewise.
5881 * libm/math/wf_fmod.c (fmodf): Likewise.
5882 * libm/math/w_fmod.c (fmod): Likewise.
5883 * libm/math/wf_exp.c (expf): Likewise.
5884 * libm/math/w_exp.c (exp): Likewise.
5885 * libm/math/wf_cosh.c (coshf): Likewise.
5886 * libm/math/w_cosh.c (cosh): Likewise.
5887 * libm/math/wf_atanh.c (atanhf): Likewise.
5888 * libm/math/w_atanh.c (atanh): Likewise.
5889 * libm/math/wf_atan2.c (atan2f): Likewise.
5890 * libm/math/w_atan2.c (atan2): Likewise.
5891 * libm/math/wf_asin.c (asinf): Likewise.
5892 * libm/math/w_asin.c (asin): Likewise.
5893 * libm/math/wf_acosh.c (acoshf): Likewise.
5894 * libm/math/w_acosh.c (acosh): Likewise.
5895 * libm/math/wf_acos.c (asocf): Likewise.
5896 * libm/math/w_acos.c (acos): Likewise.
5897 * libm/math/wf_sqrt.c (sqrtf): Likewise.
5898 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5899 for embedded systems.
5900
5901Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
5902
5903 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5904 Lea in case of a foreign sbrk.
5905
5906Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
5907
5908 Incorporate Doug Lea's malloc:
5909 * libc/stdlib/mallocr.c: Completely replaced.
5910 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5911 (realloc): Remove.
5912 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5913 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5914 mallopt.
5915 (mallinfo, malloc_stats, mallopt): New functions.
5916 (_mstats_r): Just call _malloc_stats_r.
5917 * libc/stdlib/malign.c: New file.
5918 * libc/stdlib/mlock.c: New file.
5919 * libc/stdlib/msize.c: New file.
5920 * libc/stdlib/mtrim.c: New file.
5921 * libc/stdlib/realloc.c: New file.
5922 * libc/stdlib/valloc.c: New file.
5923 * libc/stdlib/malloc.h: Remove.
5924 * libc/stdlib/callocr.c: Remove.
5925 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5926 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5927 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5928 reallocr.o, valloc.o, vallocr.o.
5929 (CHEWOUT_FILES): Add mlock.def, mstats.def.
5930 (MALLOC_CFLAGS): New variable.
5931 (mallocr.o): New target, build from mallocr.c.
5932 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5933 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5934 (msizer.o, malloptr.o): Likewise.
5935 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5936 (valloc.o): New target.
5937 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5938 * libc/include/malloc.h: Declare struct mallinfo, and new
5939 routines.
5940 * libc/include/stdlib.h (cfree): Correct declaration.
5941
5942Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
5943
5944 * libc/include/machine/setjmp.h: Add support for Thumb target.
5945
5946 * libc/include/machine/ieeefp.h: Add support for Thumb target.
5947
5948 * configure.in (links): Add support for Thumb target.
5949
5950Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
5951
5952 * libc/sys/arm/setjmp.S: Updated with version from branch.
5953
5954Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
5955
5956 * libc/include/stdio.h: add POSIX-required define L_ctermid
5957 for ctermid
5958
5959Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
5960
5961 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5962 addition to MISSING_SYSCALL_NAMES.
5963
5964Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5965
5966 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
5967
5968Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
5969
5970 * libc/include/string.h: change strsignal proto to return
5971 a char *. This eliminates compile problems in gdb resulting
5972 from gdb's definition of strsignal in defs.h.
5973
5974Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
5975
5976 * libc/sys/cygwin32/sys/utime.h: new (moved here from
5977 winsup/include) so as not to conflict with the one in
5978 libc/include.
5979 * libc/include/string.h: add protos for strsignal, strtosigno
5980
5981Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
5982
5983 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5984
5985 * configure.in (d30v-*-*): Add configuration.
5986
5987Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
5988
5989 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5990 to select which kind of debug monitor is in use for an ARM target.
5991
5992 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5993 Angel and Demon debug monitors. Part of this code was supplied by
5994 Tony Thompson at ARM: athompso@arm.com.
5995
5996Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
5997
5998 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5999 semantics when the count is greater than the length of the second
6000 source string.
6001
6002Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
6003
6004 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
6005 * libc/include/sys/unistd.h: add protos for usleep, truncate,
6006 truncate and ftruncate take off_t, not size_t
6007
6008Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
6009
6010 * libc/string/strcat.c (strcat): Add missing comment end.
6011 * libc/string/strncat.c (strncat): Likewise.
6012
6013Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
6014
6015 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
6016 targets.
6017 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
6018 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
6019 defined.
6020 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
6021 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
6022 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
6023
6024Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
6025
6026 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
6027 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
6028
6029Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
6030
6031 * libc/machine/i386/setjmp.S: New file.
6032 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
6033 (OFILES): Add setjmp.o.
6034 (setjmp.o): Add rule for.
6035 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
6036
6037Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
6038 Jeffrey A Law (law@cygnus.com)
6039
6040 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
6041 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
6042 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
6043 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
6044
6045Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
6046
6047 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
6048 rules.
6049
6050 * libc/include/sys/config.h: Use __v850 to select v850
6051 endianness.
6052
6053 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
6054 buffer size.
6055
6056 * libc/include/machine/ieeefp.h: Use __v850 to select v850
6057 endianness.
6058
6059Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
6060
6061 * libc/stdlib/setenv.c: change unsetenv definition to match
6062 style of setenv (with _DEFUN). The string should be a const.
6063 * libc/include/stdlib.h: unsetenv proto should return void.
6064
6065Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
6066
6067 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
6068
6069Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
6070
6071 * libc/stdio/glue.h: remove.
6072 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
6073 * libc/stdio/Makefile.in: remove glue.h dependencies
6074
6075Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
6076
6077 * libc/sys/sysnecv850/crt0.S: Created V850e version.
6078
6079Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
6080
6081 * configure.in (target_cpu): Add `arc'.
6082
6083Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
6084
6085 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
6086 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
6087 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
6088 * newlib/libc/reent/reent.c: Add _wrapup_reent.
6089 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
6090
6091Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
6092
6093 * libc/machine/mips/setjmp.S: Handle mips16 builds.
6094
6095Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
6096
6097 * libc/include/stdio.h (siprintf): Declare.
6098
6099Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
6100
6101 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
6102 TARGET_CFLAGS and NEWLIB_FLAGS.
6103
6104Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
6105
6106 * configure.in (links): Add support for v850ea target.
6107
6108Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
6109
6110 * configure.in (links): Add support for v850e target.
6111
6112Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
6113
6114 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
6115
6116Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
6117
6118 * configure.in (arc-*-*): Add support for.
6119 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
6120
6121Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6122
6123 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
6124
6125Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
6126
6127 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
6128 comparison which accesses invalid memory when the key is
6129 larger than the last member of the array.
6130 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
6131 for CYGWIN32
6132 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
6133
6134Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
6135
6136 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
6137 not _STRICT_ANSI.
6138
6139Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
6140
6141 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
6142 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
6143
6144Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
6145
6146 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
6147 to load/store memory.
6148
6149Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
6150
6151 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
6152 underscores if _WIN32.
6153
6154Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
6155
6156 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
6157 support ifdef _USE_WRITE missed in last change.
6158 From Anders Blomdell <anders.blomdell@control.lth.se>.
6159
6160Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
6161
6162 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
6163 (_tmpnam_r, _tempnam_r): Update.
6164
6165Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
6166
6167 * libc/machine/sparc/setjmp.S: New file.
6168 * libc/machine/sparc/Makefile.in: Add setjmp.
6169 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
6170
6171Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
6172
6173 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
6174
6175Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
6176
6177 From Joel Sherrill <joel@oarcorp.com>.
6178 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
6179
6180 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
6181 * configure.in: Recognize *-*-rtems*.
6182 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
6183 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
6184 time.h,times.h,types.h}: New files.
6185 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
6186
6187Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
6188
6189 patch from sos@prospect.com.ru (Sergey Okhapkin):
6190 * include/sys/wait.h: correct operator precidence bug
6191 in WIFSIGNALED
6192
6193Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
6194
6195 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
6196 with newlib's unsetenv function
6197 * libc/sys/cygwin32/sys: new directory for includes
6198 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
6199 here from winsup/include/sys
6200
6201Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
6202
6203 * libc/include/sys/unistd.h: _exit should only be
6204 labelled noreturn when not __CYGWIN32__
6205 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
6206 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
6207 increment NSIG
6208
6209Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
6210
6211 * libc/include/sys/time.h: Only define timeval and timezone if
6212 _GNU_H_WINDOWS32_SOCKETS is not defined.
6213 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
6214
6215Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
6216
6217 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
6218 * libc/machine/mn10300/setjmp.S: Likewise.
6219
6220 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
6221 the mn10300 (more relaxing opportunities).
6222
6223Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
6224
6225 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
6226 Build libraries with -mstrict-align.
6227
6228Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
6229
6230 * libc/string/strlwr.c: New file.
6231 * libc/string/strupr.c: New file.
6232 * libc/include/string.h: Declare strlwr and strupr.
6233 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
6234 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
6235 (strlwr.o, strupr.o): New targets.
6236 * libc/string/strings.tex: Include strlwr and strupr docs.
6237
6238 * libc/include/sys/types.h: Don't define u_char, et. al., if
6239 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
6240 et. al. Make FD_SETSIZE default 64 rather than 60. Define
6241 _types_fd_set rather than fd_set, and define fd_set as a macro.
6242
6243 * libc/include/malloc.h: New file.
6244
6245 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
6246 strnicmp if they are not already defined.
6247
6248 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
6249 _timezone, _daylight, and _tzname.
6250
6251Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
6252
6253 * configure.in: Sort all configuration tables.
6254
6255 From Joel Sherrill <joel@oarcorp.com>
6256 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
6257
6258Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
6259
6260 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
6261 use int when declaring kill.
6262
6263 * libc/include/sys/timeb.h: New file.
6264
6265Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
6266
6267 * libc/include/sys/time.h: add itimer support for Cygwin32
6268
6269Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
6270
6271 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
6272 out a message that abort was called to stderr.
6273
6274Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
6275
6276 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
6277 so that libio doesn't freak.
6278
6279 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
6280 int.
6281
6282 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
6283 memory sizes, not int.
6284
6285Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
6286
6287 * libm/math/ef_hypot.c: Use long constants where
6288 appropriate.
6289 * libm/math/ef_sqrt.c: Ditto.
6290
6291 * libc/sys/sysmec/times.c(_times): Change to times.
6292
6293 * libc/sys/sysmec/read.c(_read): The third argument is
6294 size_t.
6295 * libc/sys/sysmec/write.c (_write): Ditto.
6296
6297 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
6298 (_lseek): It's off_t for the second argument.
6299
6300Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
6301
6302 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
6303 as well as machine/ieeefp.h.
6304
6305Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
6306
6307 * libc/include/sys/signal.h: add signal protos for winsup
6308 functions (when __CYGWIN32__), include types.h
6309 * libc/include/sys/types.h: Change __go32_types__ internal
6310 define to __MS_types__ since it's used for more than just
6311 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
6312 defined.
6313 * libc/include/sys/unistd.h: add ftruncate proto for
6314 winsup functions (when __CYGWIN32__)
6315
6316Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
6317
6318 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
6319
6320Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
6321
6322 * libc/include/machine/setjmp.h: Add tic80 support.
6323 * libc/machine/tic80/setjmp.S: Likewise.
6324
6325Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
6326
6327 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
6328 link programs from libraries only (such as in the X11
6329 distribution)
6330
6331Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
6332
6333 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
6334 supplied elsewhere in newlib.
6335
6336Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
6337
6338 * Makefile.in (INSTALL): Change install.sh to install-sh.
6339
6340Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
6341
6342 * README: update WWW address for on-line documentation.
6343
6344Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
6345
6346 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
6347 increment NSIG
6348
6349Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
6350
6351 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
6352 mn10300.
6353 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
6354
6355Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
6356
6357 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
6358 * libc/sys/d10v/syscalls.c: Likewise.
6359 * libc/sys/h8300hms/sbrk.c: Likewise.
6360 * libc/sys/h8500hms/syscalls.c: Likewise.
6361 * libc/sys/m88kbug/syscalls.c: Likewise.
6362 * libc/sys/sh/syscalls.c: Likewise.
6363 * libc/sys/sysmec/sbrk.c: Likewise.
6364 * libc/sys/sysnecv850/sbrk.c: Likewise.
6365 * libc/sys/w65/syscalls.c: Likewise.
6366 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
6367
6368Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
6369
6370 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
6371 emulated syscall instead of "trap".
6372
6373Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
6374
6375 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
6376 not trap 0.
6377
6378Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
6379
6380 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
6381
6382Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
6383
6384 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
6385 not "sh".
6386 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
6387 not "d10v".
6388 * libc/sys/tic80/crt0.c: New file for TIc80.
6389 * libc/sys/tic80/Makefile.in: New file for TIc80.
6390 * libc/machine/tic80/Makefile.in: New file for TIc80.
6391
6392Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
6393
6394 * libc/machine/sh/memcpy.S: New file.
6395 * libc/machine/sh/memset.S: New file.
6396 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6397
6398Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
6399
6400 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6401 for TIc80.
6402
6403Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
6404
6405 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6406 the mn10200.
6407
6408Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
6409
6410 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6411 (patch from andrew@pogo.WV.TEK.COM).
6412
6413Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
6414
6415 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6416 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6417
6418Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
6419
6420 * configure.in: Add cases for "tic80" to set machine_dir,
6421 sys_dir, and syscall_dir.
6422
6423Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
6424
6425 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6426
6427Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
6428
6429 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6430
6431Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
6432
6433 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6434 Use proper constant prefix.
6435
6436Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
6437
6438 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
6439 that loses on the mn10200 where ints and pointers are different
6440 sizes.
6441
6442Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
6443
6444 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
6445 target as signal is provided in winsup.
6446
6447Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
6448
6449 * libc/include/sys/process.h: Corrected const definitions
6450 in spawn functions. Added cwait.
6451
6452Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
6453
6454 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
6455 doubles.
6456 * libc/include/sys/config.h: Similarly.
6457
6458Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6459
6460 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
6461 target_cflags.
6462 (i[3456]86-*-sco*): Ditto.
6463
6464 * libc/signal/Makefile.in (OFILES): Add signal.o.
6465 (CFILES): Add signal.c.
6466
6467 * libc/signal/raise.c (_raise_r): Only compile code if
6468 SIGNAL_PROVIDED is defined.
6469
6470 * libc/signal/signal.c: Redo whole file so that it works with
6471 current newlib. Use _kill_r if no signal handler provided.
6472
6473 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
6474 signal stubs.
6475 * libc/sys/sysvnecv70/Makefile.in: Ditto.
6476 * libc/sys/sysnecv850/Makefile.in: Ditto.
6477
6478 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
6479 * libc/sys/sysmec/{raise,signal}.c: Ditto.
6480 * libc/sys/sysvnecv70/signal.s: Ditto.
6481 * libc/sys/sysnecv850/raise.c: Ditto.
6482
6483 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
6484 simulator and debugger can tell the difference between a signal
6485 being raised and an exit system call.
6486
6487 * NEWS: Document software signals being provided.
6488
6489Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6490
6491 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
6492 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
6493 include/sys/config.h.
6494 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
6495 Change from 'inpure_data'.
6496 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
6497 &impure_data, not &inpure_data.
6498
6499 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
6500 and and System V ABI, define so that _impure_ptr lives in the
6501 .sdata section.
6502
6503Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6504
6505 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
6506 nothing if not defined.
6507 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
6508 its attributes.
6509
6510 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
6511
6512Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
6513
6514 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
6515 * libc/sys/sysmec/trap.s: Handle mn10200 too.
6516 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
6517
6518Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
6519
6520 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
6521
6522Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
6523
6524 * libc/include/sys/errno.h: Added net errno's.
6525
6526Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6527
6528 * libc/misc/ffs.c: New file to support ffs function for GCC test
6529 gcc.c-torture/execute/960909-1.c.
6530
6531 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
6532
6533Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
6534
6535 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
6536 * libc/sys/sysmec/trap.S: Likewise.
6537
6538Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
6539
6540 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
6541 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
6542
6543Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
6544
6545 * libc/sys/sysmec/signal.c: Dummy file.
6546 * libc/sys/sysmec/Makefile.in: Build it.
6547
6548Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
6549
6550 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
6551 mips16.
6552
6553Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
6554
6555 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
6556 c-startup and simulator traps.
6557
6558
6559 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
6560 * libc/sys/sysmec/trap0.S: Likewise.
6561
6562Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6563
6564 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
6565 round to double word alignment.
6566 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
6567 byte alignment.
6568
6569 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
6570
6571 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
6572 out of memory.
6573
6574Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
6575
6576 * configure.in: Handle mn10200 and mn10300.
6577 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
6578 * libc/include/sys/config.h: Likewise.
6579 * libc/sys/sysmec: New directory for mec stuff.
6580 * libc/machine/mn10300: New directory for mn10300 stuff.
6581 * libc/machine/mn10200: Similarly for mn10200 stuff.
6582
6583Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
6584
6585 * libc/sys/arm/crt0.S: Use .text, not .section .text.
6586 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
6587
6588 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
6589 (nlink_t): Change type from unsigned int to unsigned short.
6590 (mode_t): Ensure size is 32 bits even if int is 16.
6591 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
6592 (st_spare[123]): Change type from int to long.
6593
6594Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6595
6596 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
6597 byte boundary.
6598
6599 * configure.in (d10v*): Define SMALL_MEMORY.
6600
6601Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6602
6603 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
6604 -mrelocatable-lib and -mno-eabi flags.
6605
6606Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
6607
6608 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
6609 Fix handling of mis-aligned source operand when both the
6610 destination & length are properly aligned.
6611
6612Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
6613
6614 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
6615 times.o, time.o and gettime.o
6616 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
6617 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
6618 SYS_gettimeofday.
6619
6620Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
6621
6622 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
6623 * libc/sys/sysnecv850/access.c: New file.
6624
6625Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
6626
6627 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
6628
6629 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
6630 long.
6631
6632Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
6633
6634 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
6635
6636Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
6637
6638 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
6639 * libc/include/sys/config.h: Add m32r support.
6640
6641Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
6642
6643 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
6644 here.
6645
6646Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
6647
6648 * libc/include/machine/setjmp.h: Add D10v support.
6649
6650Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
6651
6652 * configure.in: Configure the "libc/syscalls" directory for
6653 the v850.
6654
6655 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
6656 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
6657 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
6658 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
6659 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
6660
6661Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
6662
6663 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
6664 stack for args for main and other routines. Zero out args for
6665 main.
6666
6667 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
6668 correctly.
6669
6670Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6671
6672 * libc/stdio/findfp.c (std): Remove extraneous ';' after
6673 function.
6674
6675 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
6676
6677 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
6678 real system calls now.
6679
6680 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
6681 before casting them to int.
6682 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
6683
6684 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
6685 aligning pointer.
6686 * libc/string/memset.c (memset): Ditto.
6687
6688 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
6689 first convert ints to _POINTER_INT to eliminate GCC warning.
6690
6691 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
6692 processing %p.
6693
6694 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
6695 from 65000 if ints are only 16 bits.
6696
6697 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
6698 from 50000 if ints are only 16 bits.
6699
6700 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
6701 int type that is the same size as a pointer.
6702
6703 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
6704 processing %p.
6705 (get_number): Explicitly cast number to long before shifting by 16
6706 or 24, in case ints are short.
6707
6708 * libc/include/sys/config.h (_POINTER_INT): Define as short.
6709
6710Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
6711
6712 * libc/string.h: Added ffs, removed swab.
6713 * libc/sys/errno.h: Added EOPNOTSUPP.
6714 * libc/sys/unistd.h: Added swab.
6715
6716Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
6717
6718 * libc/include/sys/stat.h: Added fchmod.
6719 * libc/include/sys/unistd.h: Added fsync.
6720
6721Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
6722
6723 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6724 and ECONNRESET (104) for cygwin32.
6725
6726Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
6727
6728 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6729 do the static destructors.
6730
6731Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
6732
6733 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
6734
6735Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
6736
6737 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6738 * configure.in: Recognize m32r-*-*.
6739
6740Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
6741
6742 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6743 __rt_stkovf_split_small): Added default software stack overflow
6744 handlers, which just call SWI_Exit.
6745 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6746 limit initialisation.
6747
6748Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
6749
6750 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6751
6752Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
6753
6754 * libc/include/sys/types.h: Added ssize_t definition.
6755
6756Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6757
6758 * libc/machine/d10v/setjmp.S: Use ';' for comments.
6759 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6760
6761 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6762 branch around a single ldi instruction.
6763
6764 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6765 Call exit, instead of just issuing a stop instruction.
6766
6767Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6768
6769 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6770
6771Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6772
6773 * libc/stdlib/mprec.h: Explicitly declare all large constants as
6774 longs, and then cast them to __uint32_t.
6775
6776 * libc/include/sys/config.h: Protect against multiple inclusions.
6777
6778Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
6779
6780 * configure.in (d10v*): Set syscall_dir.
6781
6782Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
6783
6784 * libc/sys/d10v/crt0.S: Set stack pointer.
6785
6786Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
6787
6788 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6789 in assembly for efficiency. Change calling convention to allow
6790 long ints to be returned.
6791
6792Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6793
6794 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6795
6796Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
6797
6798 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6799 Handle empty entries in $PATH.
6800
6801Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
6802
6803 * libc/machine/d10v/setjmp.S: Make it really work.
6804
6805Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
6806
6807 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6808 the .stack section.
6809
6810Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
6811
6812 * sys/sysnecv850/sys/file.h: Remove.
6813 * sys/sysnecv850/sys/syscall.h: New file.
6814 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6815 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6816 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6817 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6818 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6819 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6820 * sys/sysnec850/trap.S: New file.
6821 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6822 syscalls.
6823 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6824 * sys/sysnec850/sbrk.c: New version.
6825
6826Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
6827
6828 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
6829 as long as r6 is less than r7.
6830
6831Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
6832
6833 * Makefile.in (mostlyclean): Separate from clean target. Don't
6834 remove *.a or targ-include.
6835 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6836
6837Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6838
6839 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6840 d10v.
6841 (__SMALL_BITFIELDS): Ditto.
6842
6843 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6844
6845Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
6846
6847 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6848 prefix.
6849
6850 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6851 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6852 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6853 * libc/sys/sysnecv850/write.c (write): Likewise.
6854
6855 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6856 .bss.
6857
6858Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6859
6860 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6861 appropriately for D10V, depending on -mint16/-mint32.
6862
6863Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
6864
6865 * configure.in: Add cases for D10V.
6866
6867Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6868
6869 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6870
6871Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
6872
6873 * libc/include/machine/ieeefp.h: Fix typo.
6874
6875Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
6876
6877 * libc/sys/d10v: New directory for D10V stuff.
6878 * libc/include/machine/ieeefp.h: Add D10V defines.
6879
6880Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
6881
6882 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6883 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6884 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6885 * libc/string/strerror.c (strerror): Add them.
6886
6887Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
6888
6889 * libc/sys/sysnecv850: New directory for v850 stuff.
6890
6891 * libc/machine/v850: New directory for v850 stuff.
6892 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6893
6894 * configure.in: Add support for the v850.
6895
6896 * libc/include/machine/ieeefp.h: Add v850 defines.
6897 * libc/include/machine/setjmp.h: Likewise.
6898 * libc/include/sys/config.h: Add v850 defines.
6899
6900Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
6901
6902 * libc/include/machine/ieeefp.h
6903 * libc/include/machine/setjmp.h
6904 * libc/include/sys/fcntl.h
6905 * libc/include/sys/signal.h
6906 * libc/include/sys/types.h
6907 * libc/stdlib/system.c:
6908 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6909 API availability, __CYGWIN32__ for cygwin32 environment specific).
6910
6911Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
6912
6913 * libc/include/stdlib.h: add multibyte character functions. Add
6914 __eprintf for assert.
6915
6916Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6917
6918 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6919 arithmetic or __alignof__ to properly get the alignment, instead
6920 of hardwiring it to 4.
6921
6922Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
6923
6924 * libc/stdio/fseek.c: add fflush call to adjust seek offset
6925 on append stream (fix from NetBSD sources), adjust curoff offset
6926 for ungetc's benefit.
6927 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6928 * libc/stdio/rewind.c: replace code with up to date NetBSD
6929 code to undo hacks made to work around above problem of not
6930 having fflush call mentioned above
6931
6932Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6933
6934 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6935 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6936 Partially revert last changes. The thread specific errno is set
6937 iff if the underlying syscall fails and the global errno is not
6938 zero.
6939
6940Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6941
6942 * libc/reent/filer.c: Removed files, all functions have split out
6943 into their own files.
6944 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
6945 New files containing functions formally in filer.c
6946 * libc/reent/Makefile.in: Updated for above change.
6947
6948 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6949 syscall fails, not if errno is changed.
6950 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
6951 _write_r): Likewise.
6952 * libc/reent/fstatr.c (_fstat_r): Likewise.
6953 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6954 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6955 * libc/reent/signalr.c (_kill_r): Likewise.
6956 * libc/reent/statr.c (_stat_r): Likewise.
6957 * libc/reent/timer.c (_gettimeofday_r): Likewise.
6958
6959 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6960 signalr.c, statr.c, timer.c} (errno): declare extern rather
6961 than as a common.
6962
6963 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6964 instead of calling vfprintf so that i*printf will not require
6965 floating point support code.
6966
6967Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
6968
6969 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6970 path delimiter.
6971 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6972 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6973
6974Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
6975
6976 * libc/include/signal.h: _sig_func_ptr function takes an int
6977 * libc/include/sys/signal.h: sa_handler function takes an int
6978
6979Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
6980
6981 * libc/include/machine/ieeefp.h: Simplify H8/S support.
6982 * libc/include/sys/config.h: Add missing H8/S conditional.
6983
6984Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
6985
6986 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6987
6988Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
6989
6990 * libc/include/machine/setjmp.h: Handle H8/S.
6991 * libc/include/machine/ieeefp.h: Likewise.
6992 * libc/include/sys/config.h: Likewise.
6993 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6994 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6995 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6996 * libc/sys/h8300hms/crt0.S: Likewise.
6997
6998Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6999
7000 * Makefile.in (datadir): Set to $(prefix)/share.
7001 (oldincludedir, docdir): Removed.
7002 * doc/Makefile.in (datadir): Set to $(prefix)/share.
7003 (oldincludedir, docdir): Removed.
7004 * libc/Makefile.in (datadir): Set to $(prefix)/share.
7005 (oldincludedir, docdir): Removed.
7006 * libm/Makefile.in (datadir): Set to $(prefix)/share.
7007 (oldincludedir, docdir): Removed.
7008
7009Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
7010
7011 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
7012 _reent struct.
7013
7014Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
7015
7016 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
7017 fetch current path rules with sysconf and handler posix/win32
7018 appropriately.
7019
7020 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
7021
7022 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
7023 (WAIT_CHILD): Always define.
7024
7025Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
7026
7027 * libc/stdlib/eprintf.c: New file.
7028 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
7029 (eprintf.o): New target.
7030
7031Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
7032
7033 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
7034 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
7035
7036Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
7037
7038 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
7039 NT in PowerPC endianess cases.
7040
7041Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7042
7043 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
7044
7045Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7046
7047 * libc/string/strtok.c: Fix doc typo.
7048
7049Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7050
7051 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
7052 _next, _scanpoint, _signgam fields.
7053
7054 * libc/include/stdlib.h (rand_r): Added new declaration.
7055 (_rand_r, _srand_r): Removed declarations.
7056 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
7057 have been made obsolete by rand_r.
7058 * libc/stdlib/rand_r.c: New file, rand_r function as specified
7059 by POSIX.1c.
7060
7061 * libc/string/strtok.c: Update documentation to describe
7062 strtok_r().
7063
7064Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
7065
7066 * libc/include/sys/stat.h (stat structure): Use the expanded stat
7067 structure on Solaris, and PowerPC systems even though __svr4__ is
7068 defined.
7069
7070Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
7071
7072 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
7073
7074Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
7075
7076 * host/any: Use ../.. rather than .. to get to the main build
7077 directory. This matches the current layout of the build
7078 directory.
7079
7080Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
7081
7082 * libc/machine/h8300/__main.S: Delete. No longer needed.
7083 * libc/machine/h8300/Makefile.in: Corresponding changes.
7084 * libc/sys/h8300hms/crt1.c: New file.
7085 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
7086 * libc/sys/h8300hms/crt0.s: Call __main.
7087
7088 * libc/sys/h8300hms/crt0.S: Use temporary label names
7089 for branch targets.
7090
7091Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
7092
7093 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
7094
7095Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7096
7097 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
7098 .sdata on the PowerPC so that we can link newlib with code
7099 compiled with -msdata.
7100
7101Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
7102
7103 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
7104
7105Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
7106
7107 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
7108 exception handler to __cygwin_exception_handler.
7109
7110Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
7111
7112 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
7113
7114Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
7115
7116 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
7117 SunOS VPATH.
7118 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
7119 wcstombs.o): Likewise.
7120
7121Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
7122
7123 * libc/stdlib/environ.c (initial_env): New static local.
7124 (environ): Point to `initial_env'.
7125
7126 * libc/include/machine/setjmp.h: Clean up.
7127 (__H8300H__,__PPC__): Define _JBTYPE.
7128 (__arm__): Provide entry for.
7129 (sigjmp_buf): Delete.
7130 (jmp_buf): Use _JBTYPE if defined, otherwise int.
7131
7132Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
7133
7134 * libc/machine/h8300/strcmp.S: Sign extend the result to
7135 32bits so we don't lose with -mint32.
7136
7137Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
7138
7139 * libc/sys/go32/sys/errno.h: New file.
7140 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
7141 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
7142 errno's address (make compatible with rest of newlib).
7143 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
7144 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
7145
7146Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
7147
7148 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
7149 * libc/machine/sparc/Makefile.in: Build them.
7150 * libc/machine/sparc/machine/sparclet.h: New file.
7151
7152Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7153
7154 * libc/machine/sh/asm.h: New file.
7155 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
7156 support for SH3e's FP registers. Use asm.h.
7157
7158Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
7159
7160 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
7161 as first argument. Call _dtoa_r and pass the reent structure
7162 instead of calling __dtoa.
7163
7164Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
7165
7166 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
7167 the h8300, h8500, and others. Add comments for some rather
7168 dubious code.
7169
7170Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
7171
7172 * Makefile.in (check): Check that testsuite exists before cd.
7173
7174Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7175
7176 * libc/include/string.h (strsep): Correct prototype.
7177
7178Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
7179
7180 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
7181 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
7182 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
7183
7184Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
7185
7186 * libc/posix/{creat.c,isatty.c}: New files.
7187 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
7188
7189 * libc/sys/sparc64/crt0.S (environ): Delete.
7190 (.LHaveBias): Renamed from HaveBias.
7191
7192Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
7193
7194 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
7195 (_morecore_r): Delete SBRK_IS_ALLOC support.
7196
7197Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7198
7199 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
7200 module rather than touch, so we don't get warning messages when
7201 all of the libraries are combined into libc.a.
7202
7203Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
7204
7205 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
7206 crt0.s replaced by version in libgloss.
7207
7208Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7209
7210 * libc/reent/Makefile.in (OFILES): Add impure.o.
7211 * libc/reent/impure.o: New file, define initial reentrancy struct.
7212 * libc/reent/reent.c: Remove above definition.
7213
7214 * libm/math/sf_asinh.c: Fix typo.
7215
7216 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
7217 srf_ldexp.o.
7218
7219 * libm/libm.texinfo: Change documentation to reflect changes
7220 in reentrancy model.
7221 * libm/math/w_gamma.c: Likewise.
7222
7223Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
7224
7225 * configure.in (*-*-cygwin32): New.
7226 (*-*-win32): Deleted.
7227 * libc/sys/win32 renamed libc/sys/cygwin32.
7228
7229Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7230
7231 * libc/include/sys/file.h: New include file.
7232
7233Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
7234
7235 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
7236
7237Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
7238
7239 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
7240
7241Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7242
7243 * doc/makedoc.c (realloc): Declare at file scope.
7244 (catchar): Not here.
7245
7246Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
7247
7248 * Makefile.in (VERSION): Update to 1.7.0.
7249 * {libc,libm}/Makefile.in (VERSION): Likewise.
7250 * configure.in: Minor clean up of multilib stuff.
7251
7252 From David Johnson <davidj@ICSI.Berkeley.EDU>
7253 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
7254
7255 * libc/stdlib/environ.c: New file.
7256 * libc/stdlib/Makefile.in (OFILES): Build it.
7257 * libc/sys/h8500hms/crt0.c (environ): Deleted.
7258 * libc/sys/m88kbug/crt0.c (environ): Deleted.
7259 * libc/sys/z8ksim/crt0.c (environ): Deleted.
7260 * libc/sys/netware/environ.c: Deleted.
7261
7262Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
7263
7264 * configure.in (links): set sys_dir, posix_dir, syscall_dir
7265
7266Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7267
7268 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
7269 declaration out to external scope and declare it PTR, not char *.
7270
7271Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
7272
7273 * libc/include/sys/unistd.h (getpagesize): New declaration.
7274 (_SC_PAGESIZE): New definition.
7275 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
7276 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
7277
7278Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
7279
7280 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
7281 addressing. System call returns size, not (last address + 1).
7282
7283Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7284
7285 * libm/math/*.c: Removed _foo_r() reentrancy API.
7286 * libc/include/math.h: Removed _foo_r prototypes and macros.
7287
7288 * libm/math/*.c: On systems with IEEE single precision "doubles"
7289 move foo() -> foof() wrapper code from the files that implement
7290 the standard IEEE double precision functions to the files that
7291 implement IEEE single precision functions. (ie. On those systems
7292 sin is moved from s_sin.c to sf_sin.c). There should eventually
7293 be use of a C extension (like gcc's alias attribute) so that the
7294 wrappers are not needed at all.
7295
7296 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
7297 strict NEC V810 compiler.
7298 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
7299 for same reason.
7300
7301Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7302
7303 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
7304 from NetBSD C library.
7305 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
7306
7307 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
7308 and adapted from implementation I wrote for NetBSD C library.
7309 The difference is __assert doesn't take a format argument,
7310 so that there won't be multiple copies of the same string
7311 constant in the executable if assertions are enabled in
7312 more than one source module.
7313 * libc/include/assert.h (assert): Changed to call __assert.
7314
7315Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7316
7317 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
7318 word1 on systems with 32 bit doubles.
7319 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
7320 so that we can do arithmetic on them.
7321 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
7322 compilers.
7323
7324Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
7325
7326 * libc/sys/arm/crt0.S: Zero bss.
7327
7328Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
7329
7330 * libc/include/unctrl.h: New file.
7331 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
7332 * configure.in (subdirs): Add libc/misc.
7333 * libc/Makefile.in (SUBDIRS): Add misc.
7334 (SUBLIBS): Add misc/lib.a.
7335
7336 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
7337
7338Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
7339
7340 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
7341 (_vfprintf_r): Call CHECK_INIT.
7342
7343Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
7344
7345 * Makefile.in (MULTITOP): Delete.
7346 (MULTISRCTOP, MULTIBUILDTOP): Add.
7347 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
7348 instead of cfg-ml-pos.in.
7349
7350Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7351
7352 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
7353 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
7354 presence.
7355
7356Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7357
7358 * libc/string/strtok.c: Include string.h to pick up strtok_r
7359 prototype.
7360
7361Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7362
7363 * libc/string/strtok.c: include <_ansi.h>.
7364 * libc/time/asctime_r.c: `reresult' -> `result'.
7365
7366Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7367
7368 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
7369 in #ifndef _REENT_ONLY ... #endif conditional.
7370
7371 * libc/include/string.h (_strtok_r): Remove declaration.
7372 * libc/include/time.h (_asctime_r): Remove declaration.
7373 * libc/string/strtok.c (_strtok_r): Removed.
7374 * libc/time/asctime.c (_asctime_r): Removed.
7375
7376 * libc/string/Makefile.in (OFILES): Add new object.
7377 * libc/string/strtok_r.c: New file. strtok_r function as
7378 specified by POSIX.1c, adapted from strtok implementation
7379 from NetBSD C library.
7380 * libc/string/strtok.c (strtok): Reimplemented in terms of
7381 strtok_r.
7382
7383 * libc/time/Makefile.in (OFILES): Add new objects.
7384 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
7385 New files, reentrant time functions specified by POSIX.1c.
7386 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
7387 reentrant time functions re-written in terms of reentrant
7388 functions.
7389 * libc/time/lcltime.c: Renamed from localtime.c
7390
7391 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
7392 gmtime_r, and localtime_r.
7393
7394Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
7395
7396 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7397 * libc/include/sys/unistd.h (getlogin): Revert change of
7398 Oct 19.
7399 * libc/include/sys/signal.h (sigprocmask): Change prototype
7400 so it compiles with c++.
7401
7402Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
7403
7404 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7405 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
7406 to give some room in case we need to align the jmp_buf.
7407
7408 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7409 the new ppc-asm.h include file the compiler provides to specify
7410 function prologue/epilogue. Eliminate saves of the xer and ctr
7411 registers, which are volatile. Before starting to save registers,
7412 align to 8 byte boundary.
7413
7414Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7415
7416 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7417 referenced by standard libraries.
7418
7419Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
7420
7421 * libc/unix/Makefile.in, libc/string/Makefile.in,
7422 libc/stdio/Makefile.in, libc/reent/Makefile.in,
7423 libc/posix/Makefile.in:
7424 Remove tabs from otherwise empty line. Confuses some
7425 older non-GNU versions of "make".
7426
7427Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
7428
7429 * libc/sys/unistd.h (getlogin): Returns const char *.
7430
7431Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
7432
7433 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7434 * libc/include/errno.h: Moved into and include...
7435 * libc/include/sys/errno.h: New file.
7436 * libc/include/sys/wait.h: New file.
7437 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
7438 * libc/sys/win32/*: Moved out.
7439 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
7440 * configure.in (i[345]86-*-win32): HAVE_RENAME
7441
7442Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7443
7444 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
7445 avoid macro expansion for these two names.
7446
7447Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
7448
7449 * libc/machine/h8500/psi.S: r6 renamed to fp.
7450
7451Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7452
7453 * configure.in (powerpc*): No longer need to define
7454 NO_LONGLONG_POINTERS to supress warnings.
7455
7456Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7457
7458 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
7459 through PTR instead of directly.
7460
7461 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
7462 non-standard constructor support.
7463
7464Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7465
7466 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
7467 address of the Bigint instead of the address of its _x field,
7468 as the size the result buffer was calculated accordingly.
7469 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
7470
7471 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
7472 from NetBSD C library. No longer special cases division by
7473 zero (which needs to be done by the application anyway), but
7474 it doesn't need to call abs() (or labs()) four times either.
7475
7476 * libc/stdlib/qsort.c: Replaced with implementation from
7477 NetBSD C library.
7478
7479Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7480
7481 * libc/stdio/vfprintf.c: Replaced with implementation from
7482 NetBSD C library (which is derived from the 4.4BSD C library).
7483 * libc/stdio/cvt.c: Removed.
7484 * libc/stdio/Makefile: Updated.
7485
7486Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
7487
7488 * libc/sys/win32/syscalls.c (rename): New.
7489 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
7490
7491Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7492
7493 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
7494 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
7495
7496 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
7497 (setjmp.o): Delete rule to build setjmp.o.
7498 * libc/sys/sh/setjmp.S: Delete file.
7499
7500Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7501
7502 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
7503 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
7504 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
7505 pow5mult and s2b to identifiers with leading underscores.
7506 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
7507 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
7508
7509Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
7510
7511 * libc/sys/posix/popen.c (sys/types.h): Include.
7512
7513Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
7514
7515 * libc/sys/win32/syscalls.h (fhandler): New struct.
7516 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
7517 (__fhandler_normal): Declare.
7518 (hinfo): New member op_handlers.
7519 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
7520 (__write): Likewise.
7521 (_read, _write, _open, _close, _lseek): Validate fd here.
7522 Move file type specific stuff to foo_normal.
7523 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
7524 New functions.
7525 (__lookup_fhandler): New function.
7526 (__lookup_fhandler_hook, __fhandler_normal): New variables.
7527
7528 From anders.blomdell@control.lth.se (Anders Blomdell)
7529 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
7530 Don't touch standard handles.
7531 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
7532 (_execve): Only create __FD_TABLE__ if necessary.
7533 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
7534
7535Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
7536
7537 * libc/sys/win32/sys/termios.h (FLUSHO): New.
7538 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
7539 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
7540 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
7541 without a handler is received.
7542 * libc/sys/win32/Makefile.in: Remove --nodelete.
7543 * libc/sys/win32/resouce.c (gettimeofday): New.
7544 * libc/sys/win32/syscalls.c (path_to_real_path): New.
7545 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
7546
7547Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
7548
7549 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
7550 Don't append "/*" to search pattern if trailing '/' already there,
7551 append "*".
7552 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
7553 like /'s, convert them to \'s. Handle //<drive>/ path names.
7554 Add space for quoted \'s in arg string. Print translated prog name
7555 and original prog name.
7556 (_execve): Handle parent doing exec a teensy bit better.
7557 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
7558 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
7559 path needs conversion, handle both cases. Delete `const' from result.
7560 (hash_path_name): New function.
7561 (_open): Call it.
7562 (_stat): Likewise. Fill in more fields for directories.
7563 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
7564 (wait_for_any): Fix trace message.
7565 (waitpid): Explicitly test for intpid == 0.
7566
7567 From anders.blomdell@control.lth.se (Anders Blomdell)
7568 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
7569 so `next' is valid.
7570
7571Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
7572
7573 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
7574 complicated.
7575
7576Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7577
7578 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
7579 at all, not just == 1.
7580 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
7581
7582Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7583
7584 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
7585 * libc/sys/win32/include/wintypes.h: include <winnt.h>
7586 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
7587 file.
7588
7589Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7590
7591 * libc/sys/syscalls.c (getcwd): Fix off by one error.
7592
7593 * libc/sys/signal.c (sleep): Fill it in.
7594 * libc/sys/termios.c (tcflush): Use PurgeComm
7595 (tcsetattr): Set some more of the bits.
7596 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
7597
7598Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
7599
7600 * libc/sys/arm/crt0.S (fp): Initialize to 0.
7601 Conditionally include .idata$3 stuff ifdef __pe__.
7602
7603Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7604
7605 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
7606 * libc/sys/win32/pipe.c (pipe): Ditto.
7607 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
7608 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
7609 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
7610 (tcgetattr): Contents are new.
7611 * libc/sys/win32/include/winkernel.h (DCB): New.
7612 (GetCommState, SetCommState): New.
7613
7614Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
7615
7616 * libc/sys/arm/crt0.S (_start): Define.
7617
7618Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
7619
7620 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
7621 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
7622
7623 * libc/sys/win32/sysconf.c: New
7624 * libc/sys/win32/sys/winadvapi.h: New
7625 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
7626 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
7627 * libc/sys/win32/pipe.c (pipe): Ditto.
7628 * libc/sys/win32/signal.c (_raise): New.
7629 (_kill): Moved from spawn.c
7630 * libc/sys/win32/spawn.c (kill): Moved to signal.c
7631 * libc/sys/win32/syscalls.c (__read): Use new fields.
7632 (_open): Ditto.
7633 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
7634 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
7635 * libc/include/sys/unistd.h (rmdir): Takes const path.
7636 * libc/include/sys/stat.h (mkdir): Takes const path.
7637 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
7638
7639Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
7640
7641 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
7642
7643 Add support for specifying paths as //<drive>/foo/bar.
7644 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
7645 (__path_to_real_path): Declare.
7646 (PATH_TO_REAL_PATH): New macro.
7647 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
7648 (__path_needs_conversion_p, __path_to_real_path): New functions.
7649 (_open): Fix test for error return from CreateFileA.
7650 Handle new path syntax.
7651 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
7652 * libc/sys/win32/dirsearch.c (opendir): Likewise.
7653
7654Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
7655
7656 * libc/sys/win32/include/*.h: Reorganized
7657 * libc/sys/win32/include/WINREADME: New.
7658 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
7659 * libc/sys/win32/*.c: Fix for new include scheme.
7660 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
7661 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
7662 * libc/sys/win32/passwd.c (*): Fix.
7663 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
7664 (_stat): Get directory owner and permissions right.
7665 * libc/sys/win32/syscalls.h (uinfo): New.
7666 * libc/sys/win32/version.def: Remove leading underscores.
7667
7668Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7669
7670 * libc/sys/win32/key.c: include "include/wincon.h".
7671
7672Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
7673
7674 * libc/sys/win32/{key, stubs}.c: New.
7675 * libc/sys/win32/Makefile: Adjust to cope.
7676 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
7677 (environ_init): Change env names to upper case.
7678 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
7679 * libc/sys/win32/passwd.c (*): Fill in the functions.
7680 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
7681 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
7682 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
7683 (_open): Initialze hmap->execable_p too.
7684 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
7685 (_fstat): Fill in permissions.
7686 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
7687
7688Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
7689
7690 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
7691 if defined.
7692 (cfg-ml-pos.in invocation): Likewise.
7693
7694Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7695
7696 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
7697 s_isnan.o and sf_isnan.o.
7698
7699Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
7700
7701 * All Makefile.in files: added maintainer-clean target as a
7702 synonym for realclean.
7703
7704Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
7705
7706 * libc/include/machine/setjmp.h: Add hppa support.
7707 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
7708 support.
7709 * libc/machine/hppa/Makefile.in: Related changes.
7710
7711Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
7712
7713 * configure.in (machine_dir): Don't set for v810-*-*.
7714
7715Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7716
7717 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7718 conventions correctly.
7719
7720Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
7721
7722 * libc/stdio/puts.c: Update documentation of return value to match
7723 ANSI standard.
7724
7725Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
7726
7727 Fix file descriptor inheritance.
7728 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7729 (NOT_OPEN_FD): Fix.
7730 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7731 close-on-exec flag not set. Initialize child's entire fd table.
7732 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7733 CHILD_P.
7734 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7735 if CHILD_P. Initialize entire hmap entry.
7736 (dup): Only create new handle as inheritable if CHILD_P.
7737 (dup2): Likewise. Properly initialize hmap entry.
7738
7739 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7740 _spawn.
7741 (_exit): Use CHILD_P.
7742 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7743 (_stat): Likewise.
7744
7745Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7746
7747 * libc/sys/win32/crt0.c (passover): fix up the state table.
7748 * libc/posix/popen.c: Added.
7749 * libc/posix/Makefile.in: compile popen.c.
7750
7751Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
7752
7753 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7754 h8/500 define _DOUBLE_IS_32BITS.
7755
7756Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
7757
7758 Get vfork/exec/spawn/cwait/wait working again.
7759 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7760 (procinfo): New member vfork_level.
7761 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7762 (vfork_init_first): Use GetCurrentProcessId to get pid.
7763 Initialize vfork_level.
7764 (vfork_init): Delete __PID__.
7765 (environ_init): New function. Undo patch of Aug 19, Posix says
7766 environment variables are case sensitive.
7767 (mainCRTStartup): Call it.
7768 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7769 (my_longjump: Make static.
7770 (_spawn): New argument `h'. Delete setting of __PID__.
7771 Delete local `idx'. Look for chars that need quotes, rather than
7772 ones that don't. Set handle of created process in `h'.
7773 Result is process id if created task.
7774 (allocate_spawn_entry): New function.
7775 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
7776 (_execve): Set __FD_TABLE__ before spawning child.
7777 Scan our fd table when passing fds, not our parent's.
7778 Store handle and pid in procinfo entry.
7779 (vfork0): Ensure strace message always printed.
7780 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7781 (vfork): Don't clobber result of vfork0.
7782 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7783 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7784
7785 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7786 and `exit_code'.
7787 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7788 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
7789 adding vfork level to pseudo-pid.
7790 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7791 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7792 (_exit): If child, set exit code.
7793 (__vfork_record_death): Only close process handle if valid.
7794 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7795 didn't exec.
7796 (wait_for_any): Likewise. Start scan after root entry.
7797
7798Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7799
7800 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7801 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7802 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7803 of actual file length.
7804
7805 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7806 * libc/include/paths.h: _PATH_BSHELL added.
7807 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7808 and STDERR_FILENO.
7809
7810Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7811
7812 * libc/include/ar.h: Added.
7813 * libc/include/sys/types.h: ino_t goes back to 32-bits.
7814 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7815 * libc/sys/win32/syscalls.c (_open): compute .namehash based
7816 on filename.
7817 (_fstat): use .namehash for inode number of the fd.
7818
7819Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
7820
7821 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7822 Change hinfo to __this_procinfo.
7823 * libc/sys/win32/crt0.c: Remove procinfo_list.
7824
7825Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7826
7827 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7828 win32 environment.
7829
7830Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7831
7832 * libc/sys/win32/include/grp.h: Removed.
7833 * libc/sys/include/grp.h: Added.
7834 * libc/sys/win32/grp.c: Include <grp.h>.
7835
7836Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
7837
7838 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7839 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7840 Defined for all but strict ANSI.
7841 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7842 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7843 * libc/signal/signal.c (_signal_r): Changed from using
7844 _MAX_SIGNALS to NSIG.
7845 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7846 __hmap): Deleted.
7847 (__strace, __vfork_next_pid): New.
7848 (__exe_suffix): Default to 1.
7849 (passover, table): Understand quoted arguments.
7850 (vfork_init_first): New.
7851 (vfork_init): Initialize new process structure.
7852 (mainCRTStartup): Pass environ to main.
7853 * exceptions.c (__sig_mask): New
7854 (ehandler3): Ignore signals in mask.
7855 (really_exit): Remove CHILD_P test.
7856 * pipe.c (pipe, dup, dup2): Use new process and file structure.
7857 * resource.c (getrusage): Ditto.
7858 * signal.c (sigprocmask): New.
7859 * spawn.c (*): Rewritten.
7860 * syscalls.c (*): Use new process and file structure.
7861 (find_unused_handle): New.
7862 * syscalls.h (MAX_HANDLES): Deleted.
7863 (hinfo): Removed child_created_p.
7864 (MAX_CHILDREN): Deleted.
7865 (vfork_jmp_info, procinfo): New.
7866 * wait.c (*): Mostly new.
7867 * sys/strace.h (_STRACE_PARANOID): New.
7868 * sys/param.h: New file.
7869
7870Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7871
7872 * libc/include/sys/stat.h: add S_BLKSIZE.
7873 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7874 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7875 types under win32.
7876 (mode_t): add a #else to avoid multiple definitons.
7877
7878 * libc/sys/win32/Makefile.in: add grp.c.
7879 * libc/sys/win32/grp.c: include grp.h correctly.
7880 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7881 of the st structure with real information.
7882 * libc/sys/win32 (dirent): d_ino is of type ino_t.
7883
7884Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
7885
7886 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7887 and (maybe) sparc64.
7888 (nlink_t): Provide typedef.
7889
7890Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7891
7892 * libc/sys/win32/grp.c: New file.
7893 * libc/sys/win32/include/grp.h: New file.
7894
7895Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7896
7897 * libc/include/machine/ieeefp.h: Added whitespace to make this
7898 file easier to maintain.
7899 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7900 depending on the value of __LITTLE_ENDIAN__.
7901 On the sh3e, define _DOUBLE_IS_32BITS.
7902
7903Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
7904
7905 * libc/sys/vr4300/syscalls.c: Added missing support
7906 routines. _raise() and getpid().
7907
7908Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
7909
7910 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7911
7912Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
7913
7914 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7915 and VR4300 processor.
7916 * libc/sys/vr4300: Add directory.
7917 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7918 monitor run-time support.
7919
7920Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7921
7922 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7923 * libc/stdlib/stdlib.tex: Don't include atol.def.
7924
7925Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7926
7927 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7928
7929Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
7930
7931 * libc/ctype/Makefile.in: Fill in _to* dependencies.
7932
7933Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
7934
7935 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7936 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7937 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7938 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7939 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7940
7941Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7942
7943 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7944
7945Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7946
7947 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7948 * libc/stdlib/atoff.c: New file.
7949 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7950 * libc/stdlib/atoi.c (atol): Removed.
7951 * libc/stdlib/atol.c: Removed duplicate documentation.
7952
7953 * libc/include/ctype.h (_tolower, _toupper): Moved inside
7954 #ifndef _STRICT_ANSI conditional.
7955 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7956 * libc/ctype/_tolower.c: New file.
7957 * libc/ctype/_toupper.c: New file.
7958 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7959 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7960 * libc/ctype/toascii.c (_toascii): Removed.
7961
7962Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
7963
7964 * libc/sys/sparc64/sys/types.h: Deleted.
7965
7966Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7967
7968 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7969 and recognize Windows_95 systems.
7970
7971Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7972
7973 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7974 and passed fds should be opened in text mode.
7975
7976Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7977
7978 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7979 in __hmap, set to binary mode by default.
7980
7981Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7982
7983 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7984 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
7985 vector 34.
7986
7987Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
7988
7989 * Makefile.in (install): Install all libraries found in the
7990 top level. If there's a sys/<type>/include directory,
7991 install those headers into include.
7992
7993 * libc/sys/win32/kernel.def351: Delete
7994 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7995 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7996 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7997 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7998 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7999 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
8000 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
8001 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
8002
8003 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
8004 * libc/sys/win32/crt0.c: Force all env names to upper case.
8005 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
8006 * libc/sys/win32/*.c: Headers have moved.
8007 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
8008 __vfork_child_idx is now __vfork_child_ptr.
8009
8010 * posix/execvp (execvp): Don't crash if no PATH envname.
8011
8012Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8013
8014 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
8015 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
8016 through the _freelist instead of through the _reclaim list.
8017 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
8018 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
8019 sources.
8020
8021Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8022
8023 * libc/machine/h8500/setjmp.S: New file.
8024 * libc/include/machine/setjmp.h: Updated for H8/500.
8025
8026Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
8027
8028 * libc/sys/win32/syscalls.c (_open): More stracing.
8029 (_stat): Open the file in O_BINARY.
8030
8031Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8032
8033 * libc/machine/h8300/setjmp.S: New file.
8034 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
8035
8036Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
8037
8038 * libc/sys/win32/crt0.c (__exe_suffix): New global.
8039 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
8040 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
8041 __exe_suffix. Free fd_tab after setting env variable.
8042 (spawnv,_execve): Update.
8043 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
8044 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
8045 (__small_vfprintf): New function.
8046 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
8047 * libc/sys/win32/wait.c (cwait): Validate argument.
8048
8049 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
8050 (process_deletion_queue): Likewise.
8051
8052 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
8053
8054Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
8055
8056 * libc/sys/win32: Copyrights and gratuitous indenting.
8057
8058Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
8059
8060 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
8061 (process_deletion_queue): Likewise.
8062 (__close_all_files): New function.
8063 (_close): Only queue file deletion if really a file.
8064 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
8065 _P_APPEND_EXE.
8066 (_exit): Call __close_all_files.
8067
8068 * libc/stdlib/system.c: #include <errno.h>.
8069 (_system_r): Fix results in -DNO_EXEC case.
8070
8071 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
8072 Reorganize structure.
8073 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
8074 if argument is valid. Save directory name in DIR. malloc space
8075 for dirent struct separately.
8076 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
8077
8078 * libc/include/errno.h (ENAMETOOLONG): Define.
8079 * libc/string/strerror.c (strerror): Reword ENFILE.
8080 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
8081
8082Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
8083
8084 * libc/sys/win32/crt0.c (__progname): New global.
8085 (mainCRTStartup): Support strace=bitmask,filename.
8086 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
8087 * libc/sys/win32/syscalls.c (_write): Print parent trace message
8088 if error.
8089 (getcwd): Handle len too small. Convert '\\' to '/'.
8090 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
8091 Add prototypes for open, creat, fcntl.
8092 (O_APPEND): Change value to conform to Microsoft's value.
8093 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
8094
8095 * libc/stdlib/getopt.c: New file.
8096 * libc/stdlib/Makefile.in: Build it.
8097
8098Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
8099
8100 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
8101 Fix scanning of $PATH.
8102 * libc/posix/exec*.c: Call _execve, not execve.
8103 * libc/posix/execve.c: New file.
8104 * libc/posix/Makefile.in (OFILES): Add execve.o.
8105
8106 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
8107 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
8108 (_STRACE): If level==0, always print. Handle new bit mask scheme.
8109 * libc/sys/win32/crt0.c: Update _STRACE calls.
8110 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
8111
8112 * libc/sys/win32/smallprint.c (rn): Fix digit list.
8113
8114 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
8115 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
8116 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
8117 Print __seterrno trace message first.
8118 (_execve): Renamed from execve.
8119 (vfork): Update __strace usage.
8120 (__vfork_child_pid): Deleted.
8121 (__vfork_children, __vfork_child_idx): New globals.
8122 (_spawnvp): New function.
8123 (spawnvp, spawnv, _execve): Call _spawnvp.
8124 (init_child): Record child in __vfork_children.
8125 (__vfork_get_entry, __vfork_record_death): New functions.
8126 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
8127 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
8128 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
8129 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
8130 (children): New typedef.
8131 (__vfork_children,__vfork_child_idx): Declare.
8132 (__vfork_get_entry,__vfork_record_death): Declare.
8133 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
8134 (waitpid): Handle pid == -1.
8135 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
8136 * configure.in (i386-win32): Add -DNO_FORK.
8137 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
8138 * libc/reent/execr.c (_fork_r): Likewise.
8139 * libc/stdlib/system.c (do_system): New function.
8140 If WIN32, try to get shell path from $SH_PATH, use vfork.
8141 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
8142 otherwise return 0.
8143
8144Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
8145
8146 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
8147 * libc/sys/win32/fcntl.h: Don't include self.
8148 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
8149 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
8150 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
8151 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
8152 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
8153 Correct prototypes.
8154 * libc/sys/win32/strace.c: New file.
8155 * libc/sys/win32/smallprint.c: New file.
8156 * libc/sys/win32/crt0.c (func): Delete.
8157 (mainCRTStartup): Fix alloca usage. Set handles explictly.
8158 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
8159 * libc/sys/win32/exceptions.c: Lint.
8160 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
8161 Clean up handle usage.
8162 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
8163 (open.c): Default file type is text.
8164 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
8165 * libc/sys/win32/advapi32.def: New
8166
8167Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
8168
8169 * configure.in (posix_dir, libc_posix_lib): New variables.
8170 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
8171 (i[345]86-*-win32): Define posix_dir.
8172 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
8173 (if unix_dir): Fix typo.
8174 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
8175 scandir,seekdir,telldir}: New files.
8176 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
8177 from libc/unix.
8178 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
8179 (SUBDIRS): Add posix.
8180 (SUBLIBS): Add $(LIBC_POSIX_LIB).
8181
8182 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
8183 (NSIG): Increase to 21.
8184 * libc/include/sys/unistd.h (pid_t): Move from here,
8185 * libc/include/sys/types.h (pid_t): to here.
8186
8187 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
8188 (__ptrace): Delete.
8189 (hinfo): New members close_exec_p, child_created_p.
8190 (struct exception_list): Define.
8191 (__hmap): Redefine as pointer to table.
8192 (__parent_hmap, __child_hmap): New globals.
8193 (__set_errno, __really_exit): Declare.
8194 (__vfork_child_pid): Declare.
8195 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
8196 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
8197 (__parent_hmap, __child_hmap): New globals.
8198 (__hmap): Redefine as pointer to active map.
8199 (__get_console): New function.
8200 (mainCRTStartup): Change leading '=' in environ vars to '!'.
8201 (env __FD_TABLE__): Watch for this and initialize our fd/handle
8202 mapping table from it if defined.
8203 (argv, envp): Dump if __strace >= 4.
8204 (main): Call here.
8205 * libc/sys/win32/exceptions.c (myp): Redefine.
8206 (__syscalls_b): Delete.
8207 (__stack_trace): New function.
8208 (ehandler3): Update to use _STRACE. Print stack trace.
8209 Call __really_exit instead of exit.
8210 (init_exceptions): Delete args argc,argv. New arg mine.
8211 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
8212 FindFirstFileA, FindNextFileA, GetComputerNameA,
8213 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
8214 * libc/sys/win32/signal.c (signal): Validate arg.
8215 (alarm, sleep): Define as stubs for now.
8216 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
8217 (__syscalls_b, errno): Delete.
8218 (__vfork_child_pid, __vfork_jmp_buf): New globals.
8219 (__seterrno): Handle more errors.
8220 (__sys_printf): Renamed from _ptrace.
8221 (__really_exit): New function.
8222 (queue_file_deletion, process_deletion_queue): New functions.
8223 (__resume_parent): New function.
8224 (_unlink): Handle trying to delete open file.
8225 (__totime_t): Renamed from totime_t.
8226 (setsid, __read, __write): New functions.
8227 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
8228 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
8229 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
8230 * libc/sys/win32/console.c: Update to new definition of __hmap.
8231 * libc/sys/win32/Makefile.in: Build new files.
8232 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
8233 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
8234 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
8235 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
8236
8237Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
8238
8239 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
8240
8241Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8242
8243 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
8244 have been made to the master dtoa.c sources (from netlib.att.com)
8245 since they were integrated into newlib in early 1992. Fixes
8246 problems with storage leaks and handling of numbers with very
8247 negative exponents.
8248
8249Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8250
8251 * Makefile.in (all): set rootpre and srcrootpre before calling
8252 sub-makes.
8253
8254Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
8255
8256 * libc/sys/win32/crt0.c: Change __hmap usage.
8257 * libc/sys/win32/exceptions.c: Use _ptrace call.
8258 * libc/sys/win32/syscalls.c: Use _ptrace call.
8259 (read, write): Cope with DOS style CRLF when in TEXT mode.
8260 * libc/sys/win32/syscalls.h: Declare hinfo struct.
8261 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
8262 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
8263 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
8264 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
8265
8266Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8267
8268 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
8269
8270 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
8271 wrappers for hypot() and remainder() for BSD libm compatibility.
8272 These are public domain implementations written by me for the
8273 NetBSD libm some time ago. Note cabs() is required by ucbtest.
8274 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
8275 (fobj): Added wf_cabs.o and wf_drem.o.
8276
8277Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8278
8279 * libc/sys/h8500hms/misc.c: New file.
8280 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
8281
8282Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8283
8284 * libc/time/localtime.c (localtime): Fix problem with leap year
8285 handling. Stole algorithm from Arthur David Olson's tz code.
8286
8287Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
8288
8289 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
8290
8291 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
8292 (_exit): Use argument.
8293
8294Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
8295
8296 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
8297
8298Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
8299
8300 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
8301
8302Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8303
8304 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
8305 target_cflags.
8306
8307Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
8308
8309 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
8310 ptrace with case insensitivity
8311 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
8312 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8313 New files.
8314
8315Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
8316
8317 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8318 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
8319 (all, install, *clean): Use new multilib support.
8320 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8321
8322Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
8323
8324 * libc/include/sys/signal.h (__WIN32__): New.
8325
8326 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
8327
8328 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
8329 (ulp, b2d): Handle 32 bit doubles.
8330 * libc/stdlib/mprec.h: Handle 32 bit doubles.
8331 * libc/stdlib/strtod.c (_strtod_r): Ditto.
8332
8333Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
8334
8335 from medp@primag.co.uk:
8336 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
8337 dynamically allocated buffers.
8338
8339Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
8340
8341 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
8342 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
8343
8344Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8345
8346 * configure.in (powerpc): Fix previous fix.
8347
8348Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8349
8350 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
8351 directories for this target.
8352
8353Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8354
8355 * configure.in (hppa): Add machine_dir definition.
8356 * libc/machine/hppa: New directory with PA specific implementations
8357 of the basic memory/string functions.
8358
8359Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8360
8361 * configure.in: Update current PowerPC multilib directories.
8362 Split big and little endian configurations.
8363
8364Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
8365
8366 * configure.in: Add --enable-single-float option to configure to
8367 control use of MIPS single-float directories. Default to yes.
8368
8369 * Makefile.in (all): Don't recurse into multilib directory if it
8370 does not exist.
8371
8372Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8373
8374 * libc/sys/sh/syscalls.c: Fix typo.
8375
8376Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
8377
8378 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
8379 Pass down DLLTOOL.
8380 * libc/include/process.h: Define WAIT_CHILD.
8381 * libc/include/types.h: Get sizes right for win32.
8382 * configure.in (i386-*-pe): Becomes i386-win32.
8383 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8384 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
8385 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
8386 is defined.
8387
8388Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
8389
8390 * configure.in (i[345]86-*-pe): New target (NT).
8391 * host/any: DLLTOOL new.
8392 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8393 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
8394 WIN32 (just enough to cross host the comp-tools).
8395
8396Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
8397
8398 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8399 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
8400
8401Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
8402
8403 * libc/include/machine/ieeefp.h (arm): Change to always be
8404 __IEEE_BIG_ENDIAN (even on little endian ARM's).
8405
8406Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
8407
8408 * libc/sys/crt0.S: Initialze sp, and call exit after main.
8409 * libc/sys/syscalls.c (abort): New.
8410 * configure.in (arm): Define ABORT_PROVIDED.
8411
8412Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8413
8414 * configure.in (powerpc): Define multidirs.
8415
8416Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
8417
8418 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8419
8420Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
8421
8422 * configure.in (sparclite): Delete target_cflags. Define multidirs.
8423
8424Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
8425
8426 * configure.in, libc/include/machine/ieeefp.h: Modified
8427 for arm:
8428 libc/machine/arm/*, libc/sys/arm/*: New
8429
8430Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8431
8432 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8433 __powerpc__ when determining endianness.
8434
8435Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8436
8437 * configure.in (m68*): Add multidir for the m68332.
8438
8439 * host/any (CC): Fix typo in last change.
8440
8441Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
8442
8443 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
8444 when determining endianness.
8445 * libc/include/machine/ieeefp.h: Ditto.
8446 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
8447 operands.
8448
8449Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
8450
8451 * libc/include/errno.h (ENOTEMPTY): Define.
8452
8453Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8454
8455 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
8456 target_cflags.
8457
8458 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
8459 and umultiply.o.
8460
8461 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
8462 instead of only when open succeeds. ANSI requires that multiple
8463 calls to tmpnam() result in different files.
8464
8465 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
8466 objects pulled in from /lib/libc.a that must be renamed before
8467 being pulled into newlib. /lib/libc.a's div.o conflicted with
8468 newlib's file with the same name.
8469
8470 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
8471
8472 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
8473 the build tree will only be used if the executables are present
8474 (instead of just the Makefiles).
8475
8476 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
8477 wcstombs): Define.
8478 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
8479 versions of these functions that I orignally wrote for the
8480 NetBSD C library.
8481 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
8482 versions I wrote for NetBSD.
8483
8484Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
8485
8486 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
8487 * libc/sys/sparclite/crt0.s: ditto.
8488
8489Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
8490
8491 * configure.in: Add soft-float for proelf.
8492
8493Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
8494
8495 * libc/stdlib/mprec.h (Bcopy): Copy the right number
8496 of bytes.
8497
8498Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
8499
8500 * Makefile.in (all): Depend on `force'.
8501 * configure.in (syscall_dir): Renamed from fake_sys_dir.
8502 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
8503 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
8504 * libc/Makefile.in: Likewise.
8505 * libc/include/reent.h: Update syscall references.
8506 (_fcntl_r): Add prototype.
8507 * libc/syscalls/*.c #include <reent.h>.
8508 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
8509
8510Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
8511
8512 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
8513 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
8514 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
8515 (time.h, sys/types.h): Always include (even if MSDOS).
8516 (stat): Fix prototype.
8517
8518Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
8519
8520 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
8521
8522Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8523
8524 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
8525
8526Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
8527
8528 * libc/include/regdef.h: New file.
8529 * libc/machine/mips/machine/regdef.h: New file.
8530
8531Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
8532
8533 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
8534
8535Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
8536
8537 * libc/sys/sh/crt0.S: Pass main's return to exit.
8538 * libc/sys/sh/trap.S: Put errno in the right place.
8539
8540Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8541
8542 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
8543 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
8544 * libm/math/ef_rem_pio2.c: Likewise.
8545 * libm/math/e_log10.c: Remove unused static one.
8546 * libm/math/ef_log10.c: Likewise.
8547 * libm/math/s_frexp.c: Likewise.
8548 * libm/math/sf_frexp.c: Likewise.
8549
8550Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
8551
8552 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
8553 longjmp.S: Upgraded.
8554 * libc/sys/go32/sys/setjmp.h: Upgraded.
8555 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
8556
8557Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8558
8559 * configure.in: Add many entries to multidirs for mips targets.
8560
8561Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8562
8563 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
8564 5.2 which fixes bug where jn(-1,x) is three times larger than
8565 the actual answer.
8566 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
8567
8568Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
8569
8570 * libc/sys/w65/sys/syscalls.h: New file
8571 * libc/include/machine/ieeefp.h: W65 support.
8572 * libc/include/sys/config.h: Ditto.
8573 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
8574 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
8575 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
8576
8577Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8578
8579 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
8580
8581Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
8582
8583 * Makefile.in, configure.in: Remove any references to the old
8584 "stub" dir.
8585
8586Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8587
8588 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
8589 uses ... in prototype.
8590
8591
8592Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
8593
8594 * libc/sys/a29khif/sys/libconfig.h: Remove.
8595 * libc/sys/go32/sys/libconfig.h: Remove.
8596 * libc/sys/sun4/sys/libconfig.h: Remove.
8597 * libc/sys/sysvi386/sys/libconfig.h: Remove.
8598 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
8599 * libc/sys/sparc64/sys/libconfig.h: Remove.
8600
8601 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
8602 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
8603 * libc/include/math.h: Change all uses of _FLOAT_RET and
8604 _FLOAT_ARG to float.
8605 * libm/test/math.c: Likewise.
8606 * testsuite/libm.sac/math.c: Likewise.
8607 * testsuite/libm.sac/working/math.c: Likewise.
8608
8609Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8610
8611 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
8612 gcc calls gas with endian option.
8613 * configure.in (sh): Build little endian version too.
8614
8615Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8616
8617 * configure.in: Configure big and little endian versions for MIPS
8618 targets.
8619
8620Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
8621
8622 * libc/include/limits.h: Deleted.
8623 * libc/include/machine/limits.h: Deleted.
8624
8625Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
8626
8627 * ChangeLog: Remove stub directory. This has all been rewritten
8628 and moved to devo/libgloss.
8629
8630Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8631
8632 * Makefile.in (dvi): Add to info target, use $@ in sub make.
8633 (docs): Merge into info target.
8634 * libm/Makefile.in (dvi): Add $(srcdir).
8635 * libm/math/Makefile.in (chobjs): Remove underscores from file
8636 names. Texinfo doesn't like them.
8637 (wacos.def, ...): Add explicit targets for all .def files.
8638 * libm/math/math.tex: Remove underscores from @include file names.
8639 * doc/Makefile.in (dvi): Add dummy target.
8640 * testsuite/Makefile.in (dvi): Add dummy target.
8641
8642Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
8643
8644 * Makefile.in (VERSION): Define. For net newlib releases.
8645
8646Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
8647
8648 * README: New file.
8649
8650Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8651
8652 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
8653
8654Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8655
8656 * libc/stdlib/setenv.c (_findenv): Declare.
8657
8658 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
8659 fcntl to not use _EXFUN, and change string parameters to open and
8660 creat to be ``const char *''.
8661 * libc/sys/sparc64/sys/fcntl.h: Likewise.
8662 * libc/sys/sparc64/creat.c (creat): Make PATH const.
8663 * libc/syscalls/sysopen.c: Include <fcntl.h>.
8664 (open) Make _FILE const.
8665 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
8666 (_creat): Make PATH const.
8667 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
8668 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
8669 * libc/sys/m88kbug/syscalls.c (open): Likewise.
8670 * libc/sys/sh/syscalls.c (_open): Likewise.
8671 * stub/shared/glue.c (open): Make BUF const.
8672 * stub/ex93x/syscalls.c (open): Make FILENAME const.
8673
8674Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8675
8676 * libc/include/errno.h: Add ENMFILE
8677 * libc/include/sys/config.h: Support Z8000.
8678 * libc/include/sys/signal.h: New signals for go32.
8679 * libc/machine/h8500/psi.S (__addpsir0r0): New function
8680 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
8681 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
8682 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
8683 size is variable, depending upon CHUNK_POWER.
8684 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
8685
8686Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8687
8688 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
8689
8690Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8691
8692 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
8693
8694Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8695
8696 * configure.in: Change i[34]86 to i[345]86.
8697
8698 * libc/include/math.h: Don't define HUGE_VAL if it is already
8699 defined.
8700
8701Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8702
8703 * testsuite/libm.sac/test_erfc.c: Correct some result values.
8704 * testsuite/libm.sac/test_gammaf.c: Likewise.
8705 * testsuite/libm.sac/test_sin.c: Likewise.
8706 * testsuite/libm.sac/test_tanh.c: Likewise.
8707
8708Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8709
8710 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
8711 already set. Define typedefs __int32_t and __uint32_t.
8712 * libc/include/math.h: Include <machine/ieeefp.h>.
8713 (union __dmath): Use __uint32_t.
8714 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8715 instead of int and unsigned int.
8716
8717Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8718
8719 Replace the math library with the SunPRO fdlibm package.
8720 * libm/math: Completely changed all files.
8721 * libm/ieeefp: Remove contents and directory.
8722 * libm/Makefile.in (LIBM_FP_LIB): Remove.
8723 (SUBDIRS): Just set to math/lib.a.
8724 * libm/libm.texinfo: Updated for new library.
8725 * libc/include/math.h: Extensive changes for new math library.
8726 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8727 from _FLOAT_ARG to float.
8728 (maxpowtwo, maxpowtwof): Don't declare.
8729 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8730 (libm_fp_lib): Removed.
8731 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8732 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8733 argument to ${RUNTEST}.
8734 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8735 (.c.o): New rule.
8736 (RUNTESTFLAGS): Set CC and CFLAGS.
8737 (TESTS): Remove test_log2 and test_log2f.
8738 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8739 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8740 _FLOAT_ARG, for single precision argument type.
8741 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8742 expected failure. Close the input pipe.
8743 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8744 Correct misspelling of inaccurate.
8745 (test_mok): Use ``inaccurate'', not ``wrong''.
8746 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8747 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8748 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8749 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8750 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8751 test_yn.c): Correct many result values. Many are still wrong.
8752
8753 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8754 just copy the string.
8755 (_gcvt): Always return the buffer.
8756
8757Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8758
8759 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8760
8761Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
8762
8763 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8764 structure.
8765 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8766 (_reclaim_reent): declare new entry point.
8767 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8768 functions.
8769
8770 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8771 ever allocated, so that we can later reclaim them all.
8772 (pow5mult): make reentrant.
8773
8774 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8775 so that when given NULL as a buffer, return a pointer to static
8776 space in the rent structure. This is not documented behaviour;
8777 it's only to support ecvt and fcvt, which aren't ANSI anyway.
8778 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8779 therefore become reentrant).
8780
8781 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8782
8783Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8784
8785 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8786
8787Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8788
8789 * Makefile.in: Make link to libg.a after libc.a; this is needed
8790 for the testsuites to build executables when everything comes
8791 from the tree.
8792
8793Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
8794
8795 * libc/Makefile.in: Add a VERSION variable so we can keep track.
8796 * libm/Makefile.in: Add a VERSION variable so we can keep track.
8797
8798Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8799
8800 * libc/include/stdio.h: Use __VALIST, not va_list.
8801
8802Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
8803
8804 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8805 testsuite/libm.sac/execute.exp:
8806 Replace error proc calls with perror calls.
8807
8808Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
8809
8810 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8811 * libc/include/time.h: #define NULL as 0L.
8812
8813Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
8814
8815 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8816 care of it.
8817
8818Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8819
8820 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8821 not __unix__.
8822
8823Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
8824
8825 * configure.in (TARGET_CFLAGS): Set -O2 as default.
8826 (z8k-*-*): Use syscalls fake sys dir.
8827 * libc/sys/z8k/glue.c: Rename syscalls.
8828 * libc/sys/go32/Makefile.in: Use new routines.
8829 * libc/machine/Makefile.in: Fix typo in ln stuff.
8830
8831Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8832
8833 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8834 * libc/Makefile.in (crt0.o): Likewise.
8835 * libc/machine/Makefile.in (lib.a): Likewise.
8836 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8837
8838 All Makefile.in files: Added mostlyclean, realclean and distclean
8839 targets.
8840
8841 * Makefile.in: Don't bother to unexport XTRAFLAGS or
8842 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8843 the top level Makefile.
8844
8845Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
8846
8847 * libc/sys/sparc64/sys/stat.h: New file.
8848 * libc/sys/sparc64/sys/time.h: New file.
8849 * libc/sys/sparc64/sys/types.h: New file.
8850
8851Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
8852
8853 * stub/ex93x/crt0.s (start): Add code to clear bss.
8854
8855Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
8856
8857 * libc/include/sys/types.h (time_t): Properly protect inside
8858 #ifndef __time_t_defined.
8859
8860 * libc/stdio/fileno.c: New file.
8861 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8862 (fileno.o): Add dependency.
8863 * libc/include/stdio.h (__sgetc): Rename never to _never.
8864 (fileno macro): Disable, needs to do CHECK_INIT first.
8865
8866Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
8867
8868 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8869 goal.
8870
8871 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8872 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8873 runtest.
8874 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8875 runtest.
8876
8877Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
8878
8879 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8880 of the various constants.
8881
8882Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
8883
8884 * libc/include/math.h: #ifndef __math_68881 around things which
8885 conflict with the (gcc-provided) inline functions in
8886 gcc/ginclude/math-68881.h.
8887
8888Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
8889
8890 * libc/include/_syslist.h (_gettimeofday): Define.
8891 (_times): Ditto.
8892 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8893 (struct tms, timeval, timezone): Declare.
8894 (_gettimeofday_r, _times_r): Declare.
8895 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
8896 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8897 (time_t): Add multiple definition protection, __time_t_defined.
8898 * libc/include/sys/time.h: Don't #include <time.h>.
8899 Always define struct timezone (remove #ifndef _TIME_H_).
8900 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
8901 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8902 * libc/reent/Makefile.in (OFILES): Add timer.o.
8903 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
8904 * libc/reent/timer.c: New file.
8905 * libc/time/clock.c: #include <reent.h>.
8906 (clock): Call _times_r instead of times.
8907 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8908 HAVE_GET_TIME_OF_DAY.
8909 Add comment regarding supporting OS routine(s) required (for docs).
8910 #include <reent.h>.
8911 (time): Call _gettimeofday_r instead of gettimeofday.
8912 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8913 * libc/time/ctime.c: Ditto.
8914 * libc/time/strftime.c: Ditto.
8915 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8916 (TEMPLATE_SFILES_R): Define here. Also define times.
8917 Add times_r.o/times.S dependence.
8918 (time2.c, junk.c): Deleted.
8919 * libc/sys/sparc64/time2.c: Deleted.
8920 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8921
8922 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8923 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8924 * libc/sys/sparc64/junk.c: Deleted.
8925
8926Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
8927
8928 * libc/sys/sparc64/Makefile.in: Add times syscall.
8929 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8930 be used with and without it. Add comment clarifying Medium/Anywhere
8931 model requirements.
8932 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8933 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8934 even if obsolete.
8935
8936Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
8937
8938 * configure.in (target_cflags): Move init.
8939 (sparc64-*-*): Define HAVE_BLKSIZE.
8940
8941Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
8942
8943 * libc/include/sys/_types.h: New file.
8944 * libc/include/reent.h: #include it.
8945 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8946 MISSING_SYSCALL_NAMES.
8947 Sort syscalls.
8948 * libc/include/_syslist.h: Remove _raise.
8949 * libc/reent/signalr.c: New file.
8950 * libc/reent/Makefile.in: Compile it.
8951 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8952 Add doc for raise and _raise_r.
8953 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8954 (raise): Call _raise_r.
8955 (_raise_r): Call _getpid_r and _kill_r.
8956 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8957 (abort): Loop forever calling raise and _exit.
8958
8959Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8960
8961 * configure.in: Remove extraneous echo.
8962
8963Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
8964
8965 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8966 collision with unistd.h, and fix for svr4.
8967
8968Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
8969
8970 * libc/stdio/local.h (_llicvt): Declare.
8971 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8972 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8973 (_llicvt): Define.
8974 (_sicvt): Fix function header (`value' is short).
8975 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8976 Add printing of long long's support.
8977 Add printing of 8 byte pointer support.
8978
8979Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
8980
8981 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8982 stat, chmod): New hooks.
8983 (sbrk): Abort if stack and heap collide.
8984 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8985 shortcut when given small args.
8986 * libc/machine/sh/setjmp.s: Rewritten.
8987 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8988 of cmp/str instruction.
8989
8990Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8991
8992 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8993 and machine_dir powerpc.
8994 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8995 Add cases for __powerpc__.
8996 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8997 New files.
8998
8999 * libc/include/stdio.h (_iprintf_r): Declare correctly.
9000
9001Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
9002
9003 * libc/stdlib/callocr.c: New file with _calloc_r in it.
9004 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
9005
9006Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
9007
9008 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
9009 (print_e): More comments to describe args, etc.
9010 "type" arg may now be 'g' or 'G' for %g/G format --> remove
9011 trailing blanks.
9012 (_gcvt): Remove locals decpt, sign, end, p, done.
9013 More comments for print_e invocation.
9014 Pass "type" to print_e as is (g/G).
9015
9016Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
9017
9018 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
9019 stock m68000.
9020
9021Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
9022
9023 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
9024 works with any sized pointer, including ones bigger than ints and
9025 longs.
9026
9027Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
9028
9029 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
9030
9031Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9032
9033 * libc/include/stdlib.h (_calloc_r): Add prototype.
9034 * libc/machine/h8500/negsi2.c: New file.
9035 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
9036 large unsigned numbers.
9037 * libc/machine/h8500/cmpsi.c: Add cmppsi.
9038 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
9039 works when sizeof(size_t) != sizeof(char *).
9040 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
9041 get play area
9042 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
9043
9044Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
9045
9046 * libc/include/assert.h (assert): Handle -traditional.
9047
9048Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
9049
9050 * Makefile.in: added ; after every "fi" and "done" that wasn't at
9051 the end of a line (ie. anything before a backslash continuation)
9052 so that bash handles them.
9053
9054Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
9055
9056 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
9057 stat to lstat
9058
9059Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
9060
9061 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
9062 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
9063 libc/machine/sh/udivsi3.s: Use new calling convention.
9064
9065Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
9066
9067 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
9068 chmod, access, chdir, chown by making _path const. Also fix _amode
9069 param of access.
9070
9071Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
9072
9073 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
9074 _khif_tmpnam, because it doesn't comply with ANSI but may be
9075 useful anyway. Real tmpnam was already in libc/stdio, and was
9076 colliding with this one (pr 2176.)
9077 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
9078 the wrong idea anyhow.
9079
9080Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
9081
9082 * configure.in: Remove h8300h, we have multilib now.
9083
9084Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
9085
9086 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
9087 functions, to get preference over the ones in libiberty (since we
9088 provide correct declarations in <string.h>.
9089 * libc/string/Makefile.in: add support for strncasecmp,
9090 strcasecmp.
9091
9092Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
9093
9094 * Change netware config not to look for cpu explicitly.
9095
9096Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
9097
9098 * libc/sys/sparc64/{creat.c,junk.c}: New files.
9099 * libc/sys/sparc64/Makefile.in: Add dependencies.
9100
9101Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
9102
9103 * configure.in: Clean up v9 a bit, new "os" aoutv8.
9104
9105Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
9106
9107 * libc/include/sys/reent.h: make structure smaller by allocating
9108 some stuff when needed.
9109 * libc/signal/signal.c: allocate as needed
9110 * libc/stdio/findfp.c,stdio/local.h: ditto
9111 * libc/stdlib/mprec.c: ditto
9112
9113 * libc/time/localtime.c: don't return a dangling stack ptr.
9114
9115Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
9116
9117 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
9118
9119Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9120
9121 * libc/include/stdio.h (__sputc): comment out static inline which
9122 confuses coff toolchains.
9123
9124Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
9125
9126 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
9127 _write.s, getpid.c, kill.c, read.s}:
9128 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
9129 through the syscalls directory.
9130
9131Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
9132
9133 * configure.in: fixed double quote gotcha.
9134
9135Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
9136
9137 * stub/ex931: stub library for sparclite board.
9138 * stub/idp: Renamed from mc68ec. Added contructor table
9139 stuff to linker script.
9140 * stub/mvme135: Renamed from m68kmvme. Added contructor table
9141 stuff to linker script.
9142
9143Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9144
9145 * configure.in: Configure testsuites only if they exist.
9146
9147Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9148
9149 * configure.in: Don't set machine_dir for i386 until there is
9150 something in libc/machine/i386 to compile. For i[34]86-*-netware*
9151 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
9152 CLOCK_PROVIDED and MALLOC_PROVIDED.
9153
9154 * libc/sys/netware: New directory. Contains simplistic and
9155 probably incorrect stubs for NetWare. Should be enough to load
9156 the library.
9157 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
9158 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
9159 stub files.
9160
9161 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
9162 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
9163 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
9164 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
9165
9166Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
9167
9168 * testsuite/Makefile.in: add "docs" dummy target for consistency
9169 with rest of newlib; turn "info" and "install-info" into dummy
9170 targets, since they wouldn't have worked. (Depended on
9171 nonexistent "doc" subdir.)
9172
9173Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
9174
9175 * configure.in: handle mips* instead of mips
9176
9177Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
9178
9179 * libc/include/sys/dirent.h: New file. If it is not overridden by
9180 a version of libc/sys/*/sys/dirent.h, it includes the next
9181 <dirent.h> file in case there is one lurking somewhere.
9182
9183Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9184
9185 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
9186 compliance, namely: Accept a minus sign. Consider a single 0 with
9187 a radix of 0 as being a conversion. Determine overflow correctly.
9188 If an overflow occurs, set *ptr to the end of the number, not the
9189 middle.
9190 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
9191
9192Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
9193
9194 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
9195
9196Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
9197
9198 * Makefile.in (INSTALL): Use $srcrootpre.
9199 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
9200 can't handle it.
9201 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
9202 it.
9203 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
9204 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
9205 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
9206 * libm/math/Makefile.in (matherr.o): Ditto.
9207
9208Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9209
9210 * configure.in: Build multidirs for z8k.
9211 * libc/include/stdlib.h (_strtoul_r): add prototype.
9212 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
9213 * libc/include/machine/setjmp.h: Add for z8k.
9214 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
9215 * libc/sys/z8ksim/glue.c: tidy up.
9216
9217Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
9218
9219 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
9220 New files. Requires execve system call.
9221 * libc/unix/Makefile.in: Use them.
9222 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
9223 Deleted, moved to libc/unix.
9224 * libc/sys/sparc64/Makefile.in: Remove them.
9225
9226Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
9227
9228 * libc/sys/sparc64/{template.S template_r.S}: New files.
9229 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
9230 from templates.
9231 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
9232 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
9233 umask.S unlink.S wait4.S write.S}: Removed, now built from
9234 templates.
9235
9236Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
9237
9238 * libc/time/time.c: #include <_ansi.h>.
9239
9240Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
9241
9242 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
9243
9244Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9245
9246 * configure.in: match m8* rather than m88k so that m88110 is
9247 recognized as well.
9248
9249Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
9250
9251 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
9252 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
9253 misc.c: New file.
9254
9255 * configure.in: Add multilib support to h8300.
9256
9257Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
9258
9259 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
9260 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
9261 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
9262
9263Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9264
9265 * configure.in: Corrected multidirs for sparc target.
9266
9267Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9268
9269 Support for building newlib multiple times with different
9270 compilation flags.
9271 * configure.in: Only configure doc at top level. Set multidirs
9272 when appropriate for target, unless not at top level. If
9273 multidirs is set, independently configure each subdirectory.
9274 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
9275 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
9276 automagically set by configure.in.
9277 (all): If MULTIDIRS is set, build multiple copies of libraries.
9278 (install): If MULTIDIRS is set, install multiple copies of
9279 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
9280 MULTISUBDIR is set, don't bother to install header files.
9281 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
9282 ${srcrootpre}.
9283 * stub/configure.in: Set MULTISUBDIR appropriately.
9284 * stub/Makefile.in (install): Install in
9285 $(tooldir)/lib/$(MULTISUBDIR).
9286 * All Makefile.in files: Define SRCTOP as well as TOP.
9287
9288Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
9289
9290 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
9291 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
9292
9293Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
9294
9295 * libc/sys/h8300hms/exit.c (_exit): New function.
9296
9297Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9298
9299 * configure.in: recognize m88110.
9300
9301Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9302
9303 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
9304 prototype main and call with args.
9305
9306Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
9307
9308 First real try at system traps for m88k-bug.
9309 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
9310 to real trap calls.
9311 * libc/sys/m88kbug/sys/systraps.h: new file.
9312
9313Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9314
9315 Patches to fix info building when target does not use sys
9316 directory.
9317 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
9318 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
9319 libc/sys.tex.
9320 * libc/sys/Makefile.in (doc): do nothing.
9321
9322Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9323
9324 * libc/Makefile.in (CRT0): new macro.
9325 (all): depend on $(CRT0) rather than crt0.o.
9326
9327 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
9328 do not default crt0, instead, set crt0 and crt0_dir based on
9329 sys_dir and stub_dir.
9330
9331 * Makefile.in (CRT0_DIR): new macro.
9332 (all): depend on $(CRT0) rather than crt0.o which may not exist.
9333 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
9334 $(CRT0).
9335 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
9336
9337Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9338
9339 * testsuite/lib/libm.exp:
9340 added code to support compiling and linking of tests for
9341 libm.sac (paranoia to be added next) and processing the
9342 pass or failure of the tests.
9343
9344 * testsuite/config/unix-libm.exp:
9345 platform specific proc's for dealing with compiler, linker
9346 and the way we execute and process the test results.
9347
9348 * testsuite/libm.sac/execute.exp:
9349 generic framework for the sac tests. the config and lib
9350 expect code for specific platforms tie it all together.
9351
9352 * testsuite/libm.sac/test_is.c:
9353 changed the output of the test to be consistant with the
9354 other tests. parsing of pass nad fail messages is now fixed.
9355
9356Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
9357
9358 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
9359 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
9360 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
9361 #ifdef __cplusplus, surround by extern ""C { ... }.
9362 * libc/include/assert.h: Do *not* protect assert.h against
9363 multiple inclusion! Also, #undef it before #define, to allow
9364 redefinition.
9365 * libc/include/stdio.h (getlogin, cuserid): Removed. These
9366 should be only in unistd.h.
9367
9368 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
9369 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
9370 ... }.
9371
9372Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
9373
9374 * libc/machine/sparc/Makefile.in: Must create a library, even
9375 if empty.
9376
9377Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9378
9379 * configure.in: set machine_dir for m88k. edit crt0 definition
9380 into makefiles.
9381
9382 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
9383
9384 * libc/Makefile.in (all): also build crt0.o.
9385
9386 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
9387 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
9388 to remove CRT0.
9389
9390 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
9391 (all): reworked to build in place.
9392 (clean): remove lib.a
9393 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9394
9395 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9396 (_start): key off edata rather than _start_bss.
9397
9398Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
9399
9400 * libc/include/sys/unistd.h, libc/include/reent.h,
9401 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9402
9403Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9404
9405 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9406
9407 * Makefile.in (libc.a): break into two rules, one for libc.a and
9408 one for libc/libc.a. Force subdirs current before rebuilding
9409 library.
9410 (libm.a): break into two rules, one for libm.a and one for
9411 libm/libm.a. Force subdirs current before rebuilding library.
9412
9413 * libc/Makefile.in (SUBLIBS): fix typo.
9414
9415 * libc/sys/Makefile.in (all): force descent into subdirs, then
9416 rebuild library iff out of of date.
9417
9418Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9419
9420 Rework so that library is built and then finished rather than
9421 being built on each invocation of make.
9422
9423 * host/any (machine_dir, sys_dir, signal_dir): these are not
9424 shared and have been moved to their associated Makefile.in's.
9425 (AR_FLAGS): switch to qc which is faster.
9426 * configure.in: no longer assign machine_dir for m88k. set
9427 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
9428 stub_dir set, then add to configdirs. add comment about silly
9429 configuration.
9430 (configdirs): drop stub. It will be added only
9431 when needed.
9432 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9433 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9434 stub_lib, crt0): new variables for tailoring lower level
9435 makefiles. Assign accordingly and edit into makefiles.
9436 * libm/Makefile.in: updated copyright.
9437 (TARGETLIB): removed.
9438 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
9439 (SUBDIRS): removed TARGETDEP_DIRS.
9440 (LIBM_FP_LIB, SUBLIBS): new macros.
9441 (all): reworked.
9442 (force): new target to force rebuilds.
9443 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9444 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
9445 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
9446 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
9447 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
9448 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
9449 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
9450 stub/m68kmvme/Makefile.in: updated copyright.
9451 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
9452 (all): reworked. made this the default rule.
9453 (clean): also remove lib.a.
9454 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9455 * stub/Makefile.in: updated copyright.
9456 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
9457 (stub_lib): new macro.
9458 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
9459 RANLIB.
9460 (all): reworked.
9461 (clean, install): assume stub_dir exists.
9462 (Makefile): depend on configure.in. call $(SHELL) rather than
9463 sh. drop redundant ./
9464 * stub/configure.in (stublib): new macro, assign it, edit it into
9465 makefiles.
9466 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
9467 updated copyright.
9468 (all): reworked.
9469 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9470 * libc/Makefile.in (TARGETCRT0): removed.
9471 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
9472 TARGETCRT0.
9473 (SUBDIRS): drop TARGETDEP_DIRS.
9474 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
9475 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
9476 (force): new target to force rebuilds.
9477 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
9478 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
9479 removed.
9480 (clean): assume sys_dir always exists.
9481 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
9482 drop redundant ./
9483 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
9484 libc/locale/Makefile.in, libc/machine/Makefile.in,
9485 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
9486 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
9487 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
9488 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
9489 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
9490 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
9491 libc/signal/Makefile.in, libc/stdio/Makefile.in,
9492 libc/stdlib/Makefile.in, libc/string/Makefile.in,
9493 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
9494 libc/time/Makefile.in, libc/unix/Makefile.in,
9495 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
9496 (TARGETLIB): removed.
9497 (all): reworked.
9498 (clean): also remove lib.a.
9499 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9500 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
9501 new macros.
9502 (SUBDIRS): moved to follow frag inclusion, change stub to
9503 stub_dir.
9504 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
9505 are now set in the libc Makefile.
9506 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
9507 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
9508 TARGETCRT0.
9509 (force): new target to force rebuilds.
9510 * stub/configure.in: determine and set stub_lib for for Makefile.
9511
9512Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
9513
9514 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
9515 crt0.s renamed to crt0.S.
9516 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
9517
9518 * libc/machine/h8300/Makefile.in: Make `all' the default target.
9519 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
9520 h8300h.
9521 * libc/machine/h8300/defines.h: Add macros to handle pointers for
9522 h8300 (16 bits) and h8300h (32 bits).
9523 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
9524 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
9525
9526Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
9527
9528 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
9529 implementation of setjmp and longjmp for the m88k.
9530 * libc/include/machine/setjmp.h: Added __m88000__ case.
9531
9532Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
9533
9534 * configure.in: Recognize h8300h as variant of h8300.
9535
9536Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9537
9538 * libc/include/sys/unistd.h (read, write): get prototypes right.
9539 (sbrk): New prototype.
9540 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
9541 * libc/stdio/local.h: Include unistd.h.
9542 * libc/machine/h8300/syscalls.c: Names have changed.
9543
9544Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
9545
9546 * configure.in: add sys_dir assignment for m88k-bug.
9547
9548Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
9549
9550 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
9551 a.out or elf.
9552 * libc/sys/sparc64: all *.S files: Use new macros.
9553 * libc/sys/sparc64/isatty.c: New file.
9554 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
9555 functions beyond what newlib provides.
9556
9557Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
9558
9559 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
9560 svr4.
9561
9562Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
9563
9564 * libc/include/machine/ieeefp.h: Add support for h8/300h.
9565
9566Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
9567
9568 * configure.in: add m88k.
9569 * libc/include/machine/ieeefp.h: add case for m88k. Also add
9570 sanity check so no one else need ever chase what I did to find
9571 this.
9572
9573 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
9574
9575Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
9576
9577 * doc/makedoc.c: Include <ctype.h>.
9578
9579Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
9580
9581 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9582 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9583 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9584
9585 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
9586
9587Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
9588
9589 * libc/include/errno.h (ENOSYS): Added.
9590
9591 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
9592
9593Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9594
9595 * libc/stdio/fflush.c (fflush): Check for reent struct
9596 initialization.
9597 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
9598
9599Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
9600
9601 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
9602 out of dtoa.c so it doesn't pollute the namespace.
9603 * libc/include/_syslist.h: new file -- mappings from _function to
9604 function, for systems where we can't win (by default, all of them,
9605 until we start updating system calls.)
9606 * libc/syscalls: new directory -- stubs for exporting _function
9607 names as unmodified function names.
9608 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
9609 _syslist.h on all platforms by default, but put hooks in for
9610 fake_sys_dir so we can include it when we've renamed the system
9611 calls.
9612 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
9613 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
9614 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
9615 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
9616 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
9617 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
9618 non ANSI functions to call _function.
9619
9620Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
9621
9622 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
9623 when base 16 is specified. Don't accept non-digits if radix > 10.
9624
9625Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
9626
9627 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
9628
9629Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9630
9631 * libc/include/sys/stat.h: Surround text after #endif with
9632 comments.
9633
9634Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
9635
9636 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
9637 _malloc_r, _realloc_r, and free_r call the corresponding
9638 non-reentrant functions.
9639
9640 * libm/math/modf.c (modf): We now take the address of ipart, so
9641 don't make it a register variable.
9642
9643Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
9644
9645 * libm/math/*: Rename all xxx_r fns to _xxx_r.
9646
9647Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
9648
9649 * libc/libc.texinfo and embedded docn throughout: formatting
9650 improvements, minor rephrasing for clarity, and improved
9651 reentrancy docn.
9652
9653Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9654
9655 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
9656
9657 * libc/stdio/cvt.c (_licvt): Print the right value on machines
9658 where sizeof(int) != sizeof(long).
9659
9660Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9661
9662 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
9663 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
9664 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
9665 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
9666 libm/math/matherr.c: changes for better docn formatting (info).
9667
9668 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
9669 libc/reent/reent.tex, libc/signal/signal.tex,
9670 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
9671 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
9672 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
9673 makeinfo node defaulting to get better Info file node structure.
9674 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
9675 Also include a few formerly missing sections (subroutines).
9676
9677 * doc/doc.str: delete fossil expansion for "func"
9678
9679 * default.menu, no-signal.menu: delete.
9680
9681 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
9682 method used to adjust doc for missing "signals" chapter when
9683 signal_dir is empty.
9684
9685Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9686
9687 * configure.in: added testsuite/libm.sac
9688
9689Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
9690
9691 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
9692 code model).
9693
9694Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
9695
9696 * libm/Makefile.in: Use $(MAKE) rather than make, and define
9697 MAKEOVERRIDES to be empty.
9698
9699Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
9700
9701 * configure.in: Don't build mips-*-* with -msoft-float, since that
9702 makes it incompatible with hard floating point.
9703
9704Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9705
9706 * Makefile.in: added recursive 'make check'
9707
9708Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9709
9710 * configure.in: added ./testsuite ./testsuite/libm.paranoia
9711 * ./testsuite/Makefile.in: created
9712 * ./testsuite/libm.paranoia: paranoia tests added
9713
9714Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
9715
9716 * configure.in: For mips-*-* set machine_dir to mips.
9717
9718 * libc/machine/mips: New directory.
9719 * libc/machine/mips/Makefile.in: New file.
9720 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9721 setjmp and longjmp.
9722 * libc/include/machine/setjmp.h: Added __mips__ case.
9723
9724 * libc/machine/lmips: Removed unused and useless directory.
9725
9726Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
9727
9728 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9729
9730Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
9731
9732 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9733 start up).
9734
9735Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
9736
9737 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9738 SETJMP_H.
9739
9740Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
9741
9742 * libm/test/convert.c: structure member errno -> errno_val.
9743 Must include <errno.h> to use errno, it's a macro now.
9744 * libm/test/math.c: Ditto.
9745 * libm/test/math2.c: Include errno.h.
9746 * libm/test/string.c: Ditto.
9747 * libm/test/test.h: structure member errno -> errno_val.
9748 Remove extern int errno decl.
9749
9750Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
9751
9752 * libc/stdio/Makefile.in: Added dependencies on local header
9753 files.
9754 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9755 files.
9756
9757Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
9758
9759 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9760
9761Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
9762
9763 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9764 Initialize _data.
9765
9766 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9767 * libc/stdio/local.h: Add prototype for _licvt.
9768
9769 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9770 instead of malloc,reealloc.
9771
9772 * libc/stdlib/local.h: New file.
9773 * libc/stdlib/efgcvt.c: #include local.h.
9774 (gcvt): Fix call to _gcvt.
9775 * libc/stdlib/ecvtbuf.c: #include local.h.
9776
9777 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9778 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9779 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9780
9781 * libc/stdlib/atexit.c: moved global data to struct _reent.
9782 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9783
9784 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9785
9786Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
9787
9788 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9789 here from ../reent.h.
9790
9791Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
9792
9793 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9794 should be provided in both libc.a and libm.a.
9795 (libc.a): Depend on targ-include and libm.a. Copy
9796 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9797 (libm.a): Depend on targ-include.
9798 * configure.in (subdirs): Removed libc/math.
9799
9800Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9801
9802 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9803
9804Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
9805
9806 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9807 sys/reent.h instead of reent.h.
9808 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9809 headers moved to sys/reent.h.
9810 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9811 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9812 __need__MAX_SIGNALS defined.
9813 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9814 std{in,out,err} refer to new _std{in,out,err} members.
9815
9816Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
9817
9818 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9819 case.
9820
9821Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
9822
9823 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9824 rather than whatever macro seterrno() has.
9825
9826Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
9827
9828 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9829 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9830
9831 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9832 __STDC__.
9833
9834 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9835 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9836 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9837
9838 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9839 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9840
9841 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9842 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9843 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9844 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9845 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9846 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9847 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9848 renamed to _xxx_r. struct reent_struct renamed to struct _reent
9849 for ANSI. structure members given leading "_" for ANSI. Use
9850 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9851
9852 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9853 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9854 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
9855 reent_struct renamed to struct _reent for ANSI.
9856 Structure members given leading "_" for ANSI.
9857 _CONST --> const in prototypes.
9858 Use _HAVE_STDC instead of __STDC__.
9859
9860 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9861 _xxx_r.
9862 struct reent_struct renamed to struct _reent for ANSI.
9863 Structure members given leading "_" for ANSI.
9864
9865 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9866 _xxx_r.
9867 struct reent_struct renamed to struct _reent for ANSI.
9868
9869 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9870 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9871 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9872 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9873 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9874
9875 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9876 signal.h, stdio.h, stdlib.h, string.h, time.h}:
9877 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9878 #ifndef _STRICT_ANSI non-ANSI routines.
9879 Reentrant routines renamed from _r_xxx to _xxx_r.
9880 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9881 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9882 Clean up namespace (structure members have leading "_").
9883 struct reent_struct renamed to struct _reent for ANSI compliance.
9884 _CONST --> const in function prototypes.
9885
9886 * libc/include/string.h: Add NULL and size_t.
9887
9888 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9889 unlink, wait, wait4. Reentrant syscall routines close, fork,
9890 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9891 write.
9892 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9893 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9894 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9895 write.S}: Define reentrant versions.
9896 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9897 reentrant syscalls.
9898
9899 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9900
9901 * libc/include/stdlib.h (RAND_MAX): Fix value.
9902
9903Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
9904
9905 * libc/sys/a29khif/_main.c: Removed unnecessary file.
9906 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9907 VPATH support targets after all: target.
9908
9909 * stub/mvme135/mvme.S: Renamed exceptionhandler to
9910 exceptionHandler, which is what mvme135-stub.c expects.
9911
9912Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
9913
9914 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9915
9916 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9917 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9918 compliant).
9919
9920Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
9921
9922 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9923 first.
9924 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9925 _r_write): Ditto.
9926 libc/reent/fstatr.c (_r_fstat): Ditto.
9927 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9928 libc/reent/sbrkr.c (_r_sbrk): Ditto.
9929 libc/reent/statr.c (_r_stat): Ditto.
9930
9931 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9932 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9933 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9934 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9935 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9936 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9937 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9938 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9939 (__swrite): Ditto for _r_lseek, _r_write.
9940 (__sseek): Ditto for _r_lseek.
9941 (__close): Ditto for _r_close.
9942 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9943
9944 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9945 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9946
9947 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9948 to make reent_struct the first argument (and thus consistent with
9949 the rest of newlib).
9950
9951 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9952 reference to __STDC__.
9953
9954Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
9955
9956 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9957 global __cleanup.
9958
9959Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
9960
9961 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9962 first.
9963 libc/stdio/fclose.c (fclose): Ditto.
9964
9965Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
9966
9967 * Run through indent and rename reentrant routines for ANSI.
9968 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9969 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9970 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9971 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9972 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9973 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9974 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9975 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9976 vsprintf.c wbuf.c wsetup.c local.h}
9977
9978 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9979
9980 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9981 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9982 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9983 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9984 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9985 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9986
9987 * Run through indent.
9988 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9989 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9990 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9991 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9992 strxfrm.c}
9993
9994 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9995 localtime.c mktime.c strftime.c time.c}:
9996 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9997
9998 * Reformatting + renaming (for ANSI, GNU style, consistency).
9999 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
10000 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
10001 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
10002
10003Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
10004
10005 * libc/include/stdio.h (stdin_r): Fix.
10006
10007Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
10008
10009 * Makefile.in: Unexport some variables to keep GNU make from
10010 putting them in the environment and using up needed ARG_MAX space
10011 (a hack is used to let this work with older makes as well).
10012
10013Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
10014
10015 * Makefile.in: Use $(MAKE) rather than make.
10016 (MAKEOVERRIDES): Define to be empty.
10017 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
10018 (libc.a, libm.a): Depend on targ-include.
10019 * host/any (LD): Don't define.
10020 (INCLUDES): Use targ-include.
10021 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
10022 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
10023 * libc/Makefile.in: Use $(MAKE) rather than make.
10024 (MAKEOVERRIDES): Define to be empty.
10025 (FLAGS_TO_PASS): Don't pass LD (it's not used).
10026 (all): Rewrote to be slightly smaller.
10027 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
10028 Define to be empty.
10029 (FLAGS_TO_PASS): Don't pass LD (it's not used).
10030 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
10031
10032Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
10033
10034 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
10035 with errno/errno.c.
10036
10037Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
10038
10039 * Changes for reentrancy.
10040 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
10041 Use ptr->_errno, not errno.
10042 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
10043 libc/stdio/remove.c (remove_r): New function.
10044 libc/stdio/rename.c (rename_r): New function.
10045 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
10046 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
10047 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
10048 reentrant versions of system calls.
10049 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
10050 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
10051 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
10052 libc/stdio/findfp.c: Include <string.h>.
10053 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
10054 "local.h".
10055 libc/stdio/wbuf.c: Include "fvwrite.h"
10056
10057 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
10058 <string.h>.
10059 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
10060 (NULL): Don't define if already defined.
10061 libc/stdlib/system.c: Call reentrant versions of system calls.
10062 (system_r): New function.
10063
10064 * Changes for reentrancy.
10065 libc/include/_ansi.h (_PARAMS): New macro.
10066 libc/include/errno.h: Define errno as a macro that calls __errno.
10067 (__errno_r): New macro for reentrant code.
10068 libc/include/math.h: Include reent.h. Declare many reentrant
10069 functions.
10070 (signgam): Now a macro, not a variable.
10071 (struct exception): Added err field.
10072 libc/include/reent.h: Don't declare __sglue. Added function
10073 declarations.
10074 (struct reent_struct): Moved errno to beginning. Added _signgam.
10075 libc/include/stdio.h, libc/include/stdlib.h: Added function
10076 declarations.
10077
10078 * More reentrancy hacking.
10079 libc/errno/errno.c (__errno): New function.
10080 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
10081 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
10082 files.
10083
10084 * Added many new reentrant functions to libm/math/*.
10085 libm/math/error.c (__matherror): Added reent_struct pointer
10086 argument. Changed all callers.
10087 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
10088 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
10089 libm/math/tan.h: Removed obsolete unused header files.
10090
10091 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
10092
10093 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
10094
10095Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10096
10097 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
10098 delay slots.
10099
10100Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10101
10102 * libc/libc.texinfo: comment out reentrancy chapter (duh)
10103
10104Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10105
10106 * libc/reent/reent.tex: New file. (text from
10107 newlib/libc/libc.texinfo)
10108 * libc/stdio/tmpnam.c: fixed doc typo
10109 * libc/stdlib/rand.c: fixed doc typo
10110
10111Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
10112
10113 * libc/reent/reent.tex: New file. (text from
10114 newlib/libc/libc.texinfo)
10115
10116Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10117
10118 support for reentrancy
10119 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
10120 new files
10121 * libc/errno/errno.c, libc/include/ieeefp.h,
10122 libc/include/locale.h, libc/include/reent.h,
10123 libc/include/signal.h, libc/include/stdio.h,
10124 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
10125 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
10126 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
10127 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
10128 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
10129 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
10130 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
10131 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
10132 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
10133 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
10134 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
10135 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
10136 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
10137 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
10138 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
10139 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
10140 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
10141 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
10142 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
10143 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
10144 libc/time/strftime.c: modify to provide reentracy.
10145
10146 new routines:
10147 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
10148 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
10149 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
10150 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
10151 mstats_r, realloc_r, localeconv_r, setlocale_r
10152
10153Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
10154
10155 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
10156 libc/include/sys/config.h, libc/include/sys/signal.h,
10157 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
10158 provided macros (such as m68000), use the ansi version
10159 (__m68000__) so that the library can be used with code compiled
10160 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
10161 and sparc.
10162
10163Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
10164
10165 * configure.in (sparc*): Don't set -fsoft-float for sparc
10166 configurations. Do set -fsoft-float for sparclite configurations.
10167
10168Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
10169
10170 * default.menu, no-signal.menu: alternate forms of libc main menu
10171 (in newlib rather than newlib/libc due to configuration restrictions)
10172
10173 * configure.in: select one of the two menus above, link to
10174 libc.menu
10175
10176 * libc/libc.texinfo: include menu from separate file
10177
10178Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
10179
10180 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
10181 (info): Split long shell command in half.
10182 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
10183 sub-makes, just CHEW and TARGETDOC.
10184 (targetdep.tex): Removed now special handling of sys and machine
10185 subdirectories, made obsolete some time ago.
10186 * libc/machine/Makefile.in (doc): Don't pass everything to
10187 sub-make, just CHEW and TARGETDOC.
10188 (Makefile): New target.
10189 * libc/sys/Makefile.in (Makefile): New target.
10190
10191Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
10192
10193 * Makefile.in (here and most subdirectories): Only pass down CHEW
10194 and TARGETDOC when making info, not for other targets.
10195
10196 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
10197 $(AR_FLAGS) rather than $(ARUPDATE).
10198
10199Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
10200
10201 * Try to reduce command line length:
10202 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
10203 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
10204 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
10205 (info): Pass CHEW to other subdirs.
10206
10207Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
10208
10209 * configure.in: add signal_dir, like unix_dir, but by default it
10210 is set to "signal" so that a29khif can turn it off (since a29khif
10211 has raise() as part of machine-specific signal.s.)
10212
10213Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10214
10215 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
10216 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
10217 correctly.
10218 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
10219 libc/stdio/vfprintf: type lint.
10220 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
10221 initialzation code.
10222 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
10223
10224Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
10225
10226 * stub/mvme135/mvme135-asm.S: new file.
10227 stub/mvme135mvme135-stub.c: moved all assembler routines into
10228 mvme135-asm.S.
10229 stub/mvme135/Makefile.in: build mvme135-stub.o.
10230
10231Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
10232
10233 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
10234 sub-Makefiles instead, to try to avoid line length limitations.
10235
10236Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
10237
10238 * libc/include/unistd.h (read, write): Use void* instead of
10239 char*.
10240
10241Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
10242
10243 * stub/go32/resetpc: sample script to send a reset packet to the
10244 stub
10245
10246 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
10247 DOS environment, which compiles with Turbo C.
10248
10249 * stub/go32/DSER32.LNK: new file, linker commands for serial
10250 remote stub.
10251
10252 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
10253 start up message to identify version; call set_debug_traps.
10254
10255 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
10256 keyboard interaction); call handle_exception() in go_til_stop,
10257 rather than return, so that the remote stub gets control.
10258
10259 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
10260 rename, rather than mv), set flags that work with current Turbo C,
10261 including using the /3 flag; also, add commands to build dser32.
10262
10263 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
10264 default Turbo C installation (\tc rather than \usr)
10265
10266 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
10267 "&..."
10268
10269Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10270
10271 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
10272
10273Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10274
10275 * libc/stdio/cvt.c (licvt): new function to convert ints when
10276 sizeof(int) != sizeof(long).
10277
10278 * libc/include/stdio.h: added prototype for iprintf.
10279 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
10280
10281Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
10282
10283 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
10284 __REGISTER_PREFIX__.
10285
10286Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
10287
10288 * libc/sys/m68kbare: moved into stub directory.
10289
10290Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
10291
10292 * configure.in, Makefile.in: created new directory stub, to hold
10293 sample code for specific targets.
10294
10295Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
10296
10297 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
10298 in the unified libc/include/sys/fcntl.h.
10299
10300Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
10301
10302 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
10303 printed .01, not 0.01.
10304
10305Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
10306
10307 * configure.in: compile with -m68000 for m68* targets.
10308
10309Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
10310
10311 * libm/math/remainder.c (remainder): document the svr4 and sunos
10312 references used to construct the function.
10313
10314Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
10315
10316 * libm/math/remainder.c (rint, remainder): fix old typos.
10317 * libm/math/Makefile.in: actually build remainder.c (functions
10318 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
10319 page.)
10320
10321Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
10322
10323 * libc/string/bcopy.c: BSD version works on overlapping strings,
10324 so ours should too.
10325
10326 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
10327 ("SHELL").
10328
10329Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
10330
10331 * Makefile.in (docs): new target.
10332
10333Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
10334
10335 * libc/include/sys/times.h: define clock_t as required by POSIX.
10336 libc/include/time.h: protect clock_t from multiple definitions.
10337
10338Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10339
10340 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
10341 does not need more than the original three iterations to get
10342 within 1 ulp. (Paranoia tests for rounding to better than that,
10343 but further iterations *don't* help, only more subtle changes
10344 can.)
10345
10346Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
10347
10348 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
10349 were doing nothing useful.
10350
10351Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
10352
10353 * configure.in: define MALLOC_PROVIDED for vxworks targets;
10354 removed sys_dir settings of vxworks68 and vxworks960.
10355 host/any: don't pass -nostdinc to gcc, since newlib no longer
10356 provides all required header files.
10357
10358 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
10359 is not defined; this provides a hook for VxWorks.
10360
10361Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10362
10363 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
10364 buffer if buf is NULL, don't do it here -- it is already being
10365 done by makebuf elsewhere in stdio.
10366
10367Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
10368
10369 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
10370 that C programs can call functions without using initial
10371 underscores.
10372
10373Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
10374
10375 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
10376
10377Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
10378
10379 * configure.in: set TARGET_CFLAGS for certain CPU types to
10380 -msoft-float.
10381
10382Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10383
10384 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
10385
10386Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
10387
10388 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
10389 m68k*-unknown-coff.
10390
10391Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
10392
10393 * libc/include/stdio.h: define __need___va_list before including
10394 <stdarg.h>, to avoid defining va_arg, et. al.
10395
10396Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
10397
10398 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10399 (don't cd to the user's home directory).
10400
10401 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10402 In general this is the wrong thing to do, but I can't get around
10403 GNU make's insistence on passing command line arguments any other
10404 way.
10405
10406Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
10407
10408 * configure.in: always configure the libc/sys directory, since it
10409 now provides a required documentation file.
10410
10411 * Makefile.in: replaced all instances of $(MAKE) with make. In
10412 general this is the wrong thing to do, but I can't get around GNU
10413 make's insistence on passing command line arguments any other way.
10414
10415Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
10416
10417 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10418 terminated.
10419
10420 * libc/stdio/local.h: include <stdarg.h> to define va_list.
10421 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10422
10423 * libc/include/float.h, libc/include/stdarg.h,
10424 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10425 versions instead.
10426 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10427 <stdarg.h>, not from <machine/types.h>. Protect definition of
10428 NULL.
10429 libc/include/time.h: get size_t from stddef.h. Protect definition
10430 of NULL.
10431 libc/include/machine/limits.h: override gcc <limits.h> by defining
10432 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
10433 get correct INT_MIN and LONG_LONG values.
10434 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10435 size_t or va_list at all; they're now gotten from stddef.h
10436 instead.
10437 libc/include/machine/varargs.h: removed; use gcc version instead.
10438 libc/include/sys/types.h: explicitly include <machine/types.h>.
10439
10440 * libm/math/sqrt.h: using the fp-bit routines appears to require
10441 more iterations.
10442
10443 * Makefile.in, host/any: let system include files override machine
10444 include files.
10445
10446Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10447
10448 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
10449 override _*_T_ definitions defaulted here.
10450
10451Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
10452
10453 * Makefile.in (install): install the include files in
10454 $(tooldir)/include, not $(exec_prefix)/include.
10455
10456Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
10457
10458 * Makefile.in (install): fixed typo, and changed install to not
10459 force rebuild of libc.a and libm.a.
10460
10461Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
10462
10463 * libc/sys/a29khif/*: Changed all .include's to include
10464 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
10465 that they will be installed for the user.
10466
10467 * Makefile.in (all): create targ-include, a directory holding the
10468 machine and system specific header files during the build.
10469 (install): fixed installation of machine and system specific
10470 header files.
10471
10472 * Makefile.in: fixed comment.
10473 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
10474 we can pass $(INCLUDES) to it.
10475
10476Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
10477
10478 * libc/include/sys/param.h: new generic file, which may be
10479 overridden for specific systems.
10480
10481 * libc/include/sys/signal.h: define all ANSI signal names, and
10482 NSIG (which is not ANSI) for a29k.
10483
10484Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
10485
10486 * Makefile.in: don't pass down arguments the lower level makes
10487 will not need.
10488 * libc/Makefile.in: recurse directly, rather than using subdir_do,
10489 in hopes of avoiding argument length limits.
10490 * libm/Makefile.in: recurse directly, rather using subdir_do, in
10491 hopes of avoiding argument length limits.
10492
10493Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
10494
10495 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
10496 mode_t is defined.
10497
10498Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
10499
10500 * Fixed make info and make install-info for newlib, changing most
10501 Makefile.in and several *.tex files. Moved doc directory from
10502 libc to top level.
10503
10504 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
10505 Should be rewritten.
10506
10507 * libc/string/strings.tex: renamed node index to node index
10508 function, so that it does not conflict with the top level index
10509 node.
10510
10511 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
10512
10513Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
10514
10515 * Overhauled general configuration for newlib. Eliminated all
10516 target dependent Makefile fragments. Create libraries in newlib
10517 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
10518 than CROSS_CC, et. al. Broke make docs; will fix later.
10519
10520 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
10521 Should be rewritten.
10522
10523Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
10524
10525 * libc/configure.in: cleaned up somewhat; switch on ${target}
10526 rather than ${target_alias}.
10527 * libm/configure.in: cleaned up somewhat; switch on ${target}
10528 rather than ${target_alias}.
10529
10530 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
10531 * libc/include/ctype.h: marked _ctype_ as _CONST.
10532
10533 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
10534 _CONST.
10535
10536 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
10537 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
10538 libc/stdio/gets.c (gets): removed non-ANSI warning message.
10539 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
10540
10541 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
10542 bigtens, tinytens): marked arrays _CONST.
10543 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
10544 rather than a static variable.
10545
10546 * libc/time/asctime.c (asctime), libc/time/localtime.c
10547 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
10548 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
10549 mname_len, mname): Marked static arrays _CONST.
10550
10551 * libm/math/gamma.h: made local variables non-static.
10552
10553 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
10554 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
10555 _CONST.
10556
10557 * libm/math/constants.c: removed file, because the constants it
10558 defined were never referenced.
10559 libm/math/Makefile.in: removed references to constants.c.
10560 libm/math/mathimpl.h: removed declarations of constants.
10561
10562Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
10563
10564 * libc/include/machine/varargs.h: only call __builtin_saveregs if
10565 it is sensibly defined in libgcc2. Checks preprocessor defines,
10566 which is not a good solution.
10567
10568 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
10569
10570 * libm/frexp.c: handle denormalized numbers as arguments.
10571
10572 * libm/math/Makefile.in: added some dependencies for .c files
10573 which include local .h files.
10574
10575Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
10576
10577 * libc/configure.in: set target_alias for OSE*. Replace
10578 target_makefile_frag if it is blank.
10579
10580 * libc/Makefile.in: make sure everything is passed to subsidiary
10581 makes; create all directories when installing.
10582
10583 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
10584 CROSS_ARUPDATE instead of AR.
10585
10586 * libm/configure.in: set target_alias for OSE*. Replace
10587 target_makefile_frag if it is blank.
10588
10589 * libm/Makefile.in: make sure everything is passed to subsidiary
10590 makes; create all directories when installing.
10591
10592Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
10593
10594 * add following change from libc copy.
10595
10596Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10597
10598 * libc/libc.texinfo: make copyright disclaimers appear on back of
10599 title page; make format of same slightly less ugly; avoid using
10600 underbars in section headings (avoids nasty texinfo bug in table
10601 of contents).
10602
10603 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
10604 comments only) avoid using underbars in section headings
10605
10606 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10607 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
10608 changes in comments only): shorten headings ieeefp/infinity.c,
10609 ieeefp/isnan.c: (doc, comments only) more informative headings
10610
10611 * libc/math/bessel.c: (doc, comments only) shorten heading
10612
10613 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
10614 (doc, comments only) shorten headings
10615
10616 * libc/time/localtime.c (doc, comments only): shorten headings
10617
10618 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10619 isnan
10620 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
10621 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
10622 headings
10623 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
10624 only) more informative headings
10625 * libm/math/bessel.c: (doc, comments only) shorten heading
10626
10627Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10628
10629 * .../Makefile.in: use CROSS_ARUPDATE consistently.
10630 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
10631 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
10632 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
10633 defined, the one from the .mt file will be correct.
10634 * libc/include/machine, libc/include/sys: created, and populated
10635 with common files from machine/*/machine. ifdefs were used for
10636 most, typically by handling exceptions first and then filling in
10637 defaults. Files with D.J. Delorie copyright #included rather than
10638 copied. Most files in include/sys really were the same in the
10639 original.
10640 * libc/include/...: cleaned up use of _EXFUN.
10641 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
10642 it with double quotes, not angles.
10643
10644Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
10645
10646 * libc/Makefile.in: always create installation directories.
10647
10648Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10649
10650 * libc/configure.in: handle host properly (using canonical
10651 triples), better error message for the case of target not found
10652
10653Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
10654
10655 * libc/Makefile.in (insincdir): Ensure this directory exists
10656 before attempting installation.
10657
10658Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10659
10660 * libc/stdlib/assert.c: now calls abort like it should
10661 * libc/sys/a29khif: many many patches for 29khif work
10662 * libc/machine/i386: gnulib2 expanded there.
10663
10664Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10665
10666 Added accurate fp conversion routines to stdlib, moved dcvt from
10667 stdio to stdlib and called it ecvtbuf:
10668 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
10669 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
10670 routines
10671 * libc/libc.texinfo: Modifed to include the copyright info from
10672 the mprec files
10673 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
10674 * libc/test/ : many vector which tested for the implementation
10675 defined returns of strange conversion requests have been updated
10676 to relflect the new implementation
10677
10678Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10679
10680 * libc/libc.texinfo: new chapter on variable arg lists
10681 (stdarg.h/varargs.h)
10682 * libc/libc.texinfo: new title
10683 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
10684 (doc only) shorter headings for better formatting.
10685
10686Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10687
10688 * libc/libc.texinfo: three more info menu entries
10689 * libc/locale/locale.tex: new chapter
10690 * libc/locale/locale.c: new doc for setlocale, localeconv
10691 * libc/locale/Makefile.in: use new locale doc
10692 * libc/signal/signal.tex: new chapter
10693 * libc/signal/raise.c, libc/signal/signal.c: new doc
10694 * libc/signal/Makefile.in: use new doc
10695 * libc/time/time.tex: new chapter
10696 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
10697 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
10698 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
10699 * libc/time/Makefile.in: use new doc
10700
10701Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10702
10703 * libm/math/log1p.c: split to use the new function way of float
10704 function definition. math/log1p.h deleted
10705 * libm/math/scalb.c: obsolete and deleted
10706 * libm/math/scalbn.c: created from part log1p.c
10707 * libm/math/Makefile.in: know about log1p and scalbn
10708
10709Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10710
10711 * libc/ctype/isupper.c: revise doc;
10712 libc/ctype/ctype.tex: use doc from isupper.c
10713
10714 * libc/string/bzero.c: new doc
10715
10716Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10717
10718 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10719 new doc
10720 * libc/stdlib/Makefile.in: extract new doc
10721 * libc/stdlib/stdlib.tex: use new doc
10722
10723 * libc/string/strerror.c: expanded doc.
10724
10725 * libc/stdio/Makefile.in: extract doc from more files
10726 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10727 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10728 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10729 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10730 libc/stdio/vsprintf.c: new doc
10731 * libc/stdio/stdio.tex: use new doc
10732
10733Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10734
10735 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10736 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10737 finitef functions.
10738 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10739 time ago.
10740
10741 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10742 * libc/stdio/setbuf.c: added ansi style definition.
10743 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10744 buffer if none provided.
10745 * libc/stdio/tmpfile.c: lint
10746 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10747 rather than using static, also make sure file isn't already
10748 present. Uses P_tmpdir. (tempnam): rewritten to use new
10749 subroutine, and uses P_tmpdir.
10750 * libc/stdio/siprintf.c: created
10751
10752Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10753
10754 Release 1.03 for NEC, major mods. Main differences from release
10755 1.02::
10756
10757 More tests in test/:
10758 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10759 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10760 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10761 get/set mask, get/set sticky and get/set roundtoi. Tests
10762 that setting the bits changes the way arithmetic is done.
10763 * string.c: added test to make sure memcmp does it with unsigned
10764 chars.
10765 * test.c: cleaned up and removed lint.
10766 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10767 dvec.c: tests for string to value conversions, sprintf, scanf,
10768 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10769 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
10770 rounding in sprintf too.
10771 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
10772 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10773 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10774 and function form.
10775 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10776 powf
10777
10778 In the library:
10779 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10780 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10781 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10782 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10783 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10784 than sprintf.
10785 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
10786 * Method of producting float versions of double functions has
10787 changed, functions will be modified gradually. So far:
10788 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10789 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10790 altered
10791 * libc/string/memcmp.c: now uses unsigned chars
10792 * libc/string/bcmp.c, libc/string/strcpy.c,
10793 libc/stsring/strxfrm.c: fixed doc
10794 * libc/sys/sysvnecv70.tex: fix example of sbrk code
10795\f
10796Local Variables:
10797version-control: never
10798End:
This page took 1.173596 seconds and 5 git commands to generate.