]>
Commit | Line | Data |
---|---|---|
35728d4f JJ |
1 | 2002-06-21 Jeff Johnston <jjohnstn@redhat.com> |
2 | ||
3 | * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition. | |
4 | * libc/include/machine/types.h: Skip __off_t, __pid_t, and | |
5 | __loff_t definitions if special _HAVE_SYSTYPES macro defined. | |
6 | * libc/include/sys/config.h: Removed _uint*, _int* definitions. | |
7 | * libc/include/sys/param.h: Remove i386 case which is handled | |
8 | by default case. | |
9 | (BIG_ENDIAN, LITTLE_ENDIAN): Protect | |
10 | definitions in case they are already defined. | |
11 | (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and | |
12 | _IEEE_LITTLE_ENDIAN flags. | |
13 | * libc/include/sys/reent.h: Change __uint32_t references to | |
14 | use _ULong instead. | |
15 | (_REENT_GETDATE_REENT_P): New macro. | |
16 | * libc/include/sys/types.h (__int16_t, __uint16_t): Added. | |
17 | (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto. | |
18 | * libc/search/hash.h: Add default setting of BYTE_ORDER, | |
19 | LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined. | |
20 | * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define | |
21 | ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t, | |
22 | pid_t, off_t, loff_t, caddr_t, and daddr_t type | |
23 | definitions which are done by subsequent glibc headers. | |
24 | Add macro definitions to prevent subsequent header files from | |
25 | defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and | |
26 | intptr_t to after glibc definitions of types they are based on. | |
27 | ||
4a2bfab7 JJ |
28 | 2002-06-21 Jeff Johnston <jjohnstn@redhat.com> |
29 | ||
30 | * libc/include/errno.h: Protect from multiple inclusion. | |
31 | ||
f42d18ea NC |
32 | 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com> |
33 | ||
34 | * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value. | |
35 | ||
a7b23a8f TF |
36 | 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com> |
37 | ||
38 | * Makefile.am (LIB_OBJECTLISTS): Add | |
39 | libc/search/objectlist.awk.in. | |
40 | * libc/Makefile.am (SUBDIRS): Add search. | |
41 | (SUBLIBS): Add search/libsearch.la. | |
42 | * libc/configure.in (AC_OUTPUT): Add search/Makefile. | |
43 | * libc/search: New directory. | |
44 | * libc/search/Makefile.am: New file. | |
45 | * libc/search/extern.h: New file. | |
46 | * libc/search/hash.c: New file. | |
47 | * libc/search/hash.h: New file. | |
48 | * libc/search/hash_bigkey.c: New file. | |
49 | * libc/search/hash_buf.c: New file. | |
50 | * libc/search/hash_func.c: New file. | |
51 | * libc/search/hash_log2.c: New file. | |
52 | * libc/search/hash_page.c: New file. | |
53 | * libc/search/hcreate.3: New file. | |
54 | * libc/search/hcreate.c: New file. | |
55 | * libc/search/hcreate.c~: New file. | |
56 | * libc/search/hcreate_r.c: New file. | |
57 | * libc/search/ndbm.c: New file. | |
58 | * libc/search/page.h: New file. | |
59 | * libc/search/tdelete.c: New file. | |
60 | * libc/search/tdestroy.c: New file. | |
61 | * libc/search/tfind.c: New file. | |
62 | * libc/search/tsearch.3: New file. | |
63 | * libc/search/tsearch.c: New file. | |
64 | * libc/search/twalk.c: New file. | |
65 | * libc/include/db.h: New file. | |
66 | * libc/include/ndbm.h: New file. | |
67 | * libc/include/search.h: New file. | |
68 | * libc/include/sys/queue.h: New file. | |
69 | * libc/include/sys/cdefs.h: New file. | |
70 | * libc/include/sys/param.h | |
71 | [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to | |
72 | LITTLE_ENDIAN or BIG_ENDIAN. | |
73 | * libc/include/sys/errno.h (EFTYPE): New macro. | |
74 | * libc/search/bsearch.c: Move from libc/stdlib. | |
75 | * libc/search/qsort.c: Likewise. | |
76 | * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and | |
77 | qsort.c. | |
78 | (CHEWOUT_FILES): Remove bsearch.def and qsort.def. | |
79 | * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort. | |
80 | ||
ef467338 JJ |
81 | 2002-06-19 Jeff Johnston <jjohnstn@redhat.com> |
82 | ||
83 | * libc/sys/linux/Makefile.am: Add support for message queue routines, | |
84 | ipc routines, and ftok. | |
85 | * libc/sys/linux/Makefile.in: Regenerated. | |
86 | * libc/sys/linux/ftok.c: New file. | |
87 | * libc/sys/linux/ipc.c: Ditto. | |
88 | * libc/sys/linux/mq_close.c: Ditto. | |
89 | * libc/sys/linux/mq_getattr.c: Ditto. | |
90 | * libc/sys/linux/mq_notify.c: Ditto. | |
91 | * libc/sys/linux/mq_open.c: Ditto. | |
92 | * libc/sys/linux/mq_receive.c: Ditto. | |
93 | * libc/sys/linux/mq_send.c: Ditto. | |
94 | * libc/sys/linux/mq_setattr.c: Ditto. | |
95 | * libc/sys/linux/mq_unlink.c: Ditto. | |
96 | * libc/sys/linux/mqlocal.h: Ditto. | |
97 | * libc/sys/linux/include/mqueue.h: Ditto. | |
98 | * libc/sys/linux/sys/types.h: Define __gid_t_defined and | |
99 | __uid_t_defined. | |
100 | ||
7f55c08c TF |
101 | 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com> |
102 | ||
103 | * libm/common/sf_lround.c (round): Change name to: (lround). | |
104 | * libm/common/sf_remquo.c (remquo): Pass all arguemnts to | |
105 | remquof. | |
106 | ||
c9ca68d7 TF |
107 | 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com> |
108 | ||
109 | * testsuite/lib/passfail.exp (newlib_pass_fail_all): New | |
110 | procedure. | |
111 | (newlib_pass_fail): Change to compile and run only one file. | |
112 | * testsuite/newlib.locale/locale.exp: Use new | |
113 | newlib_pass_fail_all procedure. | |
114 | * testsuite/newlib.string/string.exp: Likewise. | |
115 | ||
4ecedd09 DB |
116 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
117 | ||
118 | From Catherine Moore, Michael Meissner, Richard Sandiford: | |
119 | * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__. | |
120 | (_JBTYPE): Ditto. | |
121 | * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto. | |
122 | (__ATTRIBUTE_IMPURE_PTR__): Ditto. | |
123 | * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto. | |
124 | * configure.host: Support frv-*-*. | |
125 | * libc/machine/frv/Makefile.am: New file. | |
126 | * libc/machine/frv/configure.in: New file. | |
127 | * libc/machine/frv/setjmp.S: New file. | |
128 | ||
af1c257a TF |
129 | 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com> |
130 | ||
131 | * libc/include/ctype.h: Remove isblank macro. | |
132 | ||
133 | * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c. | |
134 | * libc/ctype/isblank.c: New file. | |
135 | * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank | |
136 | declaration. Add isblank macro. | |
137 | ||
4e04fa90 JJ |
138 | 2002-06-18 Jeff Johnston <jjohnstn@redhat.com> |
139 | ||
140 | * testsuite/newlib.stdlib/atexit.c: New file. | |
141 | * testsuite/newlib.stdlib/atexit.exp: Ditto. | |
142 | * testsuite/newlib.string/tstring.c: Change default start size | |
143 | to something more reasonable for embedded platforms. | |
144 | ||
b56d7e79 TF |
145 | 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> |
146 | ||
ece3c72f TF |
147 | * libc/sys/linux/sys/errno.h (EFTYPE): Add macro. |
148 | ||
b56d7e79 TF |
149 | * libc/argz: New directory. |
150 | * libc/argz/*: New files. | |
151 | * libc/argz/argz_add.c: New file. | |
152 | * libc/argz/argz_add_sep.c: New file. | |
153 | * libc/argz/argz_append.c: New file. | |
154 | * libc/argz/argz_count.c: New file. | |
155 | * libc/argz/argz_create.c: New file. | |
156 | * libc/argz/argz_create_sep.c: New file. | |
157 | * libc/argz/argz_delete.c: New file. | |
158 | * libc/argz/argz_extract.c: New file. | |
159 | * libc/argz/argz_insert.c: New file. | |
160 | * libc/argz/argz_next.c: New file. | |
161 | * libc/argz/argz_replace.c: New file. | |
162 | * libc/argz/argz_stringify.c: New file. | |
163 | * libc/argz/buf_findstr.c: New file. | |
164 | * libc/argz/envz_add.c: New file. | |
165 | * libc/argz/envz_entry.c: New file. | |
166 | * libc/argz/envz_get.c: New file. | |
167 | * libc/argz/envz_merge.c: New file. | |
168 | * libc/argz/envz_remove.c: New file. | |
169 | * libc/argz/envz_strip.c: New file. | |
170 | * libc/include/argz.h: New file. | |
171 | * libc/include/envz.h: New file. | |
172 | * Makefile.am (LIBC_OBJECTLISTS): Add | |
173 | libc/argz/objectlist.awk.in. | |
174 | * libc/Makefile.am (SUBDIRS): Add argz. | |
175 | (SUBLIBS): Add argz/libargz.la. | |
176 | * libc/configure.in (AC_OUTPUT): Add argz/Makefile. | |
177 | * libc/include/errno.h: Add error_t typedef. | |
178 | ||
d062d3dd JJ |
179 | 2002-06-13 Jeff Johnston <jjohnstn@redhat.com> |
180 | ||
181 | * libc/include/stdlib.h: Add _Exit prototype. | |
182 | * libc/stdlib/Makefile.am: Add _Exit.c support. | |
183 | * libc/stdlib/Makefile.in: Ditto. | |
184 | * libc/stdlib/_Exit.c: New file. | |
185 | ||
a47e66ae JJ |
186 | 2002-06-13 Stephen L. Moshier <steve@moshier.net> |
187 | ||
188 | * libm/math/e_pow.c (__ieee754_pow): Fix case whereby | |
189 | x is close to -1.0 and y is very large to use ax (absolute value) | |
190 | instead of x. | |
191 | * libm/math/ef_pow.c (__ieee754_powf): Ditto. | |
192 | ||
13f7d71f JR |
193 | Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com> |
194 | ||
195 | * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code): | |
196 | Fix clobbering bytes before destination if src and dst have same | |
197 | non-zero misalignment. | |
1f1fb421 JR |
198 | |
199 | * libc/machine/sh/memset.S (memset, __SHMEDIA__ code): | |
200 | Fixed bug in writing end of set region. | |
201 | ||
b2e8018f CF |
202 | 2002-06-10 Christopher Faylor <cgf@redhat.com> |
203 | ||
204 | * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix | |
205 | spawnve declaration. | |
206 | ||
0953fe64 TF |
207 | 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com> |
208 | ||
209 | * libm/common/s_fdim.c: New file. | |
210 | * libm/common/s_fma.c: Likewise. | |
211 | * libm/common/s_fmax.c: Likewise. | |
212 | * libm/common/s_fmin.c: Likewise. | |
213 | * libm/common/s_fpclassify.c: Likewise. | |
214 | * libm/common/s_lrint.c: Likewise. | |
215 | * libm/common/s_lround.c: Likewise. | |
216 | * libm/common/s_nearbyint.c: Likewise. | |
217 | * libm/common/s_remquo.c: Likewise. | |
218 | * libm/common/s_round.c: Likewise. | |
219 | * libm/common/s_scalbln.c: Likewise. | |
220 | * libm/common/s_signbit.c: Likewise. | |
221 | * libm/common/s_trunc.c: Likewise. | |
222 | * libm/common/sf_fdim.c: Likewise. | |
223 | * libm/common/sf_fma.c: Likewise. | |
224 | * libm/common/sf_fmax.c: Likewise. | |
225 | * libm/common/sf_fmin.c: Likewise. | |
226 | * libm/common/sf_lrint.c: Likewise. | |
227 | * libm/common/sf_lround.c: Likewise. | |
228 | * libm/common/sf_nearbyint.c: Likewise. | |
229 | * libm/common/sf_remquo.c: Likewise. | |
230 | * libm/common/sf_round.c: Likewise. | |
231 | * libm/common/sf_scalbln.c: Likewise. | |
232 | * libm/common/sf_trunc.c: Likewise. | |
233 | * libm/math/w_exp2.c: Likewise. | |
234 | * libm/math/w_tgamma.c: Likewise. | |
235 | * libm/math/wf_exp2.c: Likewise. | |
236 | * libm/math/wf_tgamma.c: Likewise. | |
237 | * libm/mathfp/s_exp2.c: Likewise. | |
238 | * libm/mathfp/s_tgamma.c: Likewise. | |
239 | * libm/mathfp/sf_exp2.c: Likewise. | |
240 | * libm/mathfp/sf_tgamma.c: Likewise. | |
241 | * libm/math/er_gamma.c: Fix return value. | |
242 | * libm/math/erf_gamma.c: Likewise. | |
243 | * libm/mathfp/er_gamma.c: Likewise. | |
244 | * libm/mathfp/erf_gamma.c: Likewise. | |
245 | * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific | |
246 | declarations and macros. | |
247 | Regenerated all Makefile.in, aclocal.m4 and configure files to | |
248 | use new libtool macros in top-level libtool.m4 | |
249 | ||
39e65e01 JJ |
250 | 2002-06-05 Jeff Johnston <jjohnstn@redhat.com> |
251 | ||
252 | * libc/include/string.h[__linux__]: Add strsignal prototype. | |
253 | * libc/include/sys/lock.h: New file with default locking support. | |
254 | * libc/include/sys/reent.h: Add signal buffer support for strsignal | |
255 | and psignal. | |
256 | * libc/posix/Makefile.am: Add support for readdir_r.c. | |
257 | * libc/posix/Makefile.in: Regenerated. | |
258 | * libc/posix/closedir.c: Add locking support and hash table cleanup. | |
259 | * libc/posix/opendir.c: Add lock support. | |
260 | * libc/posix/readdir.c: Ditto. | |
261 | * libc/posix/rewinddir.c: Ditto. | |
262 | * libc/posix/scandir.c: Ditto. | |
263 | * libc/posix/seekdir.c: Ditto. | |
264 | * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to | |
265 | clean up leftover hash table entries. | |
266 | * libc/posix/readdir_r.c: New file. | |
267 | * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support. | |
268 | * libc/sys/linux/Makefile.in: Regenerated. | |
269 | * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure. | |
270 | * libc/sys/linux/sys/signal.h: Add psignal prototype. | |
271 | * libc/sys/linux/psignal.c: New file. | |
272 | * libc/sys/linux/strsignal.c: Ditto. | |
273 | ||
cc890e89 CV |
274 | 2002-06-03 Corinna Vinschen <corinna@vinschen.de> |
275 | ||
276 | * libc/include/sys/types.h: Don't define dev_t when compiling for | |
277 | Cygwin. | |
278 | ||
ea55e3f7 JJ |
279 | 2002-05-31 Jeff Johnston <jjohnstn@redhat.com> |
280 | ||
281 | * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also | |
282 | make siglist.inc dependent on sig.c instead of signal.c. | |
283 | * libc/sys/linux/Makefile.in: Regenerated. | |
284 | * libc/sys/linux/sig.c: Rename from signal.c and change code to | |
285 | use NSIG instead of _NSIG. | |
286 | * libc/sys/linux/sigaction.c: New file. | |
287 | * libc/sys/linux/signal.c: Changed to be linux signal() function | |
288 | so as to override regular newlib default signal.c. | |
ea55e3f7 JJ |
289 | * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c. |
290 | * libc/sys/linux/machine/i386/Makefile.in: Regenerated. | |
291 | * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory. | |
292 | * libc/sys/linux/sigset.c: Moved from machine/i386 directory. | |
293 | * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override | |
294 | default linux sigset_t typedef by defining it equal to __sigset_t. | |
295 | * libc/unix/sigset.c: Add check so code isn't compiled on systems | |
296 | with a sigset_t that isn't implemented with a single int. | |
297 | ||
9d362914 JJ |
298 | 2002-05-30 Jeff Johnston <jjohnstn@redhat.com> |
299 | ||
300 | * libc/sys/linux/Makefile.am: Add support for new files. | |
301 | * libc/sys/linux/Makefile.in: Regenerated. | |
302 | * libc/sys/linux/ids.c: Add __getuid weak alias for getuid. | |
303 | * libc/sys/linux/signal.c: Change to use real-time syscalls for | |
304 | sigsuspend, sigprocmask, and sigpending. Also remove sigaction as | |
305 | it is in a separate file now. | |
306 | * libc/sys/linux/machine/i386/Makefile.am | |
307 | * libc/sys/linux/machine/i386/Makefile.in | |
308 | * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>. | |
309 | * libc/sys/linux/sigaction.c: New file. | |
310 | * libc/sys/linux/sigqueue.c: Ditto. | |
311 | * libc/sys/linux/sigwait.c: Ditto. | |
312 | * libc/sys/linux/machine/i386/sigaction.c: Ditto. | |
313 | * libc/sys/linux/kernel_sigaction.h: Ditto. | |
314 | ||
b1f07180 JJ |
315 | 2002-05-28 Jeff Johnston <jjohnstn@redhat.com> |
316 | ||
317 | * libc/sys/linux/Makefile.am: Add support for cfspeed.c and | |
318 | tcsendbrk.c. | |
319 | * libc/sys/linux/Makefile.in: Regenerated. | |
320 | * libc/sys/linux/termios.c: Add tcflow(), tcflush(), | |
321 | tcgetpgrp(), and tcsetpgrp() functions. | |
322 | * libc/sys/linux/sys/termios.h: Add include of machine/termios.h | |
323 | to get __MAX_BAUD rate. | |
324 | * libc/sys/linux/machine/i386/include/termios.h: New file. | |
325 | * libc/include/machine/termios.h: Ditto. | |
326 | * libc/sys/linux/cfspeed.c: Ditto. | |
327 | * libc/sys/linux/tcsendbrk.c: Ditto. | |
328 | ||
d29587b4 JJ |
329 | 2002-05-24 Jeff Johnston <jjohnstn@redhat.com> |
330 | ||
331 | * libc/include/string.h: Add strnlen and strerror_r prototypes. | |
332 | * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support. | |
333 | * libc/string/Makefile.in: Regenerated. | |
334 | * libc/string/strerror_r.c: New file. | |
335 | * libc/string/strnlen.c: New file. | |
336 | * libc/sys/linux/Makefile.am: Add rename.c. | |
337 | * libc/sys/linux/Makefile.in: Regenerated. | |
338 | * libc/sys/linux/rename.c: New file to override default rename. | |
339 | ||
9a292385 TF |
340 | 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com> |
341 | ||
342 | * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros. | |
343 | * libc/sys/linux/sys/time.h: Add conversion macros. | |
344 | * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>. | |
345 | * libc/sys/linux/ids.c: Add setresuid and syslog syscalls. | |
346 | * libc/sys/linux/gethostname.c: New file. | |
347 | * libc/sys/linux/seteuid.c: New file. | |
348 | * libc/sys/linux/sysctl.c: New file. | |
349 | ||
7a364eb3 JJ |
350 | 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> |
351 | ||
352 | * libc/string/Makefile.am: Add support for strsep.c. | |
353 | * libc/string/Makefile.in: Regenerated. | |
354 | * libc/string/strsep.c: New file. | |
355 | * libc/string/strtok.c: Change to call __strtok_r service routine. | |
356 | * libc/string/strtok_r.c: Add __strtok_r routine which takes | |
357 | additional flag parameter regarding whether to skip leading delimeters. | |
358 | Change strtok_r to call __strtok_r. | |
359 | ||
164ee5b0 JJ |
360 | 2002-05-23 Gareth Pearce <tilps@hotmail.com> |
361 | ||
362 | * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c. | |
363 | * libc/stdio/Makefile.in: Regenerated. | |
364 | * libc/stdio/setbuffer.c: New file. | |
365 | * libc/stdio/setlinebuf.c: New file. | |
366 | ||
f6b2b567 JJ |
367 | 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> |
368 | ||
369 | * libc/sys/linux/Makefile.am: Add resource.c. | |
370 | * libc/sys/linux/Makefile.in: Regenerated. | |
371 | * libc/sys/linux/resource.c: New file. | |
372 | * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer. | |
373 | * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c. | |
374 | * libc/sys/linux/machine/i386/Makefile.in: Regenerated. | |
375 | * libc/sys/linux/machine/i386/syscalls.c: Removed as functions | |
376 | are now found in libc/sys/linux/resource.c. | |
377 | ||
afe56517 JJ |
378 | 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> |
379 | ||
380 | * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes | |
381 | to use void * pointers and comply with Single Unix spec. | |
382 | * libc/string/bcmp.c: Change to use void * instead of char *. | |
383 | * libc/string/bcopy.c: Ditto. | |
384 | * libc/string/bzero.c: Ditto. | |
385 | ||
7736feb2 JJ |
386 | 2002-05-22 Jeff Johnston <jjohnstn@redhat.com> |
387 | ||
388 | * libc/sys/linux/shm_open.c: New file. | |
389 | * libc/sys/linux/shm_unlink.c: Ditto. | |
390 | * libc/sys/linux/Makefile.am: Add support for shm_open.c and | |
391 | shm_unlink.c. | |
392 | * libc/sys/linux/Makefile.in: Regenerated. | |
393 | * libc/sys/linux/sys/types.h: Add some additional checks to see | |
394 | if clock_t or time_t is already defined. | |
395 | ||
19f111bd JJ |
396 | 2002-05-22 Jeff Johnston <jjohnstn@redhat.com> |
397 | ||
398 | * Makefile.am: Don't pass $toollibdir down directly in | |
399 | AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir. | |
400 | Pass it under the name: top_toollibdir. | |
401 | * Makefile.in: Regenerated. | |
402 | ||
c811b1ee CV |
403 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
404 | ||
405 | * libc/include/sys/types.h: Revert previous patch. | |
406 | ||
2b43ad33 CV |
407 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
408 | ||
409 | * libc/include/sys/types.h: Include cygwin/types.h always under | |
410 | Cygwin, not only if _POSIX_THREADS is defined. | |
411 | ||
dd671cde TF |
412 | 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com> |
413 | ||
414 | * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target. | |
415 | ||
5e2cbfb6 JJ |
416 | 2002-05-17 Jeff Johnston <jjohnstn@redhat.com> |
417 | ||
418 | * Makefile.am: Copy and install headers from sys/machine/include | |
419 | directory. Also pass $toollibdir to lower-level directories. | |
420 | * Makefile.in: Regenerated. | |
421 | * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and | |
422 | stderr to use _REENT macro instead of _impure_ptr directly. | |
423 | * libc/include/sys/config.h[__i386__][__linux__]: Define | |
424 | __DYNAMIC_REENT__. | |
425 | * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be | |
426 | call to __getreent() function if !__SINGLE_THREAD__ and | |
427 | __DYNAMIC_REENT__ is set. | |
428 | * libc/reent/Makefile.am: Add support for getreent.c. | |
429 | * libc/reent/Makefile.in: Regenerated. | |
430 | * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same. | |
431 | * libc/sys/linux/Makefile.am: Add support for new files. | |
432 | * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable. | |
433 | * libc/sys/linux/Makefile.in: Regenerated. | |
434 | * libc/sys/linux/configure: Ditto. | |
435 | * libc/sys/linux/io.c: Add poll syscall. Also weak-alias | |
436 | __close, __read, __write, __poll, __open, __lseek, __fcntl from | |
437 | their __libc_ counterparts. | |
438 | * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64 | |
439 | and weak-alias to regular names. | |
440 | * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias | |
441 | to pread64 and __pread64. | |
442 | * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid. | |
443 | * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and | |
444 | weak-alias to pwrite64. | |
445 | * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam, | |
446 | __libc_sched_getscheduler, __libc_sched_get_priority_max, | |
447 | __libc_sched_get_priority_min, and __libc_sched_setschedule to | |
448 | name with __ instead of __libc_. | |
449 | * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>. | |
450 | Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp. | |
451 | Call __libc_longjmp instead of longjmp, from __libc_siglongjmp. | |
452 | * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias | |
453 | to raise. | |
454 | * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and | |
455 | __libc_send to __send. | |
456 | * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to | |
457 | __gettimeofday. | |
458 | * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias | |
459 | it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3. | |
460 | * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf | |
461 | type and typedef __jmp_buf to jmp_buf. | |
462 | * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and | |
463 | setjmp.S. | |
464 | * libc/sys/linux/machine/i386/Makefile.in: Regenerated. | |
465 | * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss | |
466 | section. | |
467 | * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_ | |
468 | prefix for function macros and then use weak_alias() to regular names. | |
469 | * libc/sys/linux/machine/i386/syscall.h: Ditto. | |
470 | * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP. | |
471 | * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile | |
472 | to be flockfile() and funlockfile() respectively. | |
473 | * libc/sys/linux/sys/types.h | |
474 | * libc/reent/getreent.c: New file. | |
475 | * libc/sys/linux/flockfile.c: Ditto. | |
476 | * libc/sys/linux/funlockfile.c: Ditto. | |
477 | * libc/sys/linux/getreent.c: Ditto. | |
478 | * libc/sys/linux/pread.c: Ditto. | |
479 | * libc/sys/linux/pwrite.c: Ditto. | |
480 | * libc/sys/linux/raise.c: Ditto. | |
481 | * libc/sys/linux/system.c: Ditto. | |
482 | * libc/sys/linux/tcdrain.c: Ditto. | |
483 | * libc/sys/linux/machine/i386/i386mach.h: Ditto. | |
484 | * libc/sys/linux/machine/i386/setjmp.S: Ditto. | |
485 | * libc/sys/linux/machine/i386/syscalls.c: Ditto. | |
486 | * libc/sys/linux/machine/i386/weakalias.h: Ditto. | |
487 | * libc/sys/linux/machine/i386/include/setjmp.h: Ditto. | |
488 | ||
7fc85bd1 TF |
489 | 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com> |
490 | ||
491 | * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c. | |
492 | * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim. | |
493 | * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c. | |
494 | * newlib/libs/sys/h8300hms/sys/syscall.h: New file. | |
495 | ||
6935231f | 496 | Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
d7a2f413 JR |
497 | |
498 | * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with | |
6935231f JR |
499 | __LITTLE_ENDIAN__. make sure r0 has right value at first loop |
500 | exit point. | |
d7a2f413 | 501 | |
3a6cb01b TF |
502 | 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com> |
503 | ||
a68fa571 TF |
504 | * testsuite/lib/newlib.exp: Add newlib_include_flags to compile |
505 | options when testing natively on i[3456]86-*-linux. | |
506 | ||
3a6cb01b TF |
507 | * testsuite/lib/checkoutput.exp (newlib_check_output): Output |
508 | only one pass or fail per test file. Trim \r's from output | |
509 | values received from test programs. Remove support for named | |
510 | tests. | |
511 | * testsuite/newlib.locale/UTF-8.exp: Update to support new | |
512 | newlib_check_output behaviour. | |
513 | * testsuite/newlib.locale/UTF-8.c: Likewise. | |
514 | ||
dc824ef7 JJ |
515 | 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> |
516 | ||
517 | * libc/include/stdlib.h: Add on_exit prototype. | |
518 | * libc/include/sys/reent.h (struct _atexit): Add argument array | |
519 | and bits to track type of exit routine to support both on_exit | |
520 | and atexit. | |
521 | (_REENT_INIT_PTR): Add missing fields that won't be zeroed out | |
522 | by default and change the setting of the atexit structure. | |
523 | (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace. | |
524 | * libc/stdlib/on_exit.c: New file. | |
525 | * libc/stdlib/Makefile.am: Add support for on_exit. | |
526 | * libc/stdlib/Makefile.in: Regenerated. | |
527 | * libc/stdlib/atexit.c: Change to initialize types field. | |
528 | * libc/stdlib/exit.c: Change to look at types field for each | |
529 | exit routine and either call an atexit-style or an on_exit-style | |
530 | routine accordingly. | |
531 | ||
48d91b4a JJ |
532 | 2002-05-13 Jeff Johnston <jjohnstn@redhat.com> |
533 | ||
534 | * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't | |
535 | allow v specifier with n or L specifiers. For vector c format, | |
536 | move tmp declaration to the top. | |
537 | ||
024739eb JJ |
538 | 2002-05-13 Jeff Johnston <jjohnstn@redhat.com> |
539 | ||
540 | * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore | |
541 | the original format specifier when looping for vectors to compensate | |
542 | for any changes made in vector %g format processing. | |
543 | Also add syntax checking for various invalid scenarios | |
544 | involving vector format extensions. | |
545 | * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix | |
546 | return code setting for vector formats. Also treat vector | |
547 | separator mismatch as a match error instead of an input error. | |
548 | Perform some syntax checking for vector formats. | |
549 | ||
7d2ce898 TF |
550 | 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com> |
551 | ||
552 | * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy. | |
553 | * libc/string/Makefile.am: Add strlcat.c and strlcpy.c. | |
554 | * libc/string/strlcat.c: New file. | |
555 | * libc/string/strlcpy.c: New file. | |
556 | ||
809b6ce7 JJ |
557 | 2002-05-10 Jeff Johnston <jjohnstn@redhat.com> |
558 | ||
559 | * libc/string/strchr.c: Fix comment typo. | |
560 | ||
76490806 TF |
561 | 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com> |
562 | ||
0c048a9a TF |
563 | * acinclude.m4: Add support for --enable-newlib-multithread. |
564 | * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if | |
565 | --enable-newlib-multithread=no. | |
566 | ||
76490806 TF |
567 | * libc/stdio/getc_u.c: New file. |
568 | * libc/stdio/getchar_u.c: New file. | |
569 | * libc/stdio/putc_u.c: New file. | |
570 | * libc/stdio/putchar_u.c: New file. | |
571 | * libc/include/stdio.h: Add declarations for getc_unlocked, | |
572 | getchar_unlocked, putc_unlocked and putchar_unlocked. | |
573 | * libc/stdio/Makefile.am (LIB_SOURCES): Add new files. | |
574 | (CHEWOUT_FILES): Add new files' .def's. | |
575 | * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc. | |
576 | ||
96bff22c JR |
577 | Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com> |
578 | ||
579 | * libc/machine/sh/memset.S (memset, __SHMEDIA__ code): | |
580 | Also handle as single quad word when destination ends at last | |
581 | byte of first quad word. Fix byte selection in single quad code. | |
582 | ||
e71372fa TF |
583 | 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> |
584 | ||
585 | * libc/include/sys/stdio.h: New file. | |
586 | * libc/sys/linux/sys/stdio.h: New file. | |
587 | * libc/include/stdio.h: Add declarations for flockfile, | |
588 | ftrylockfile, and funlockfile. Include <sys/stdio.h>. | |
589 | * libc/stdio/clearerr.c: Add file locking. | |
590 | * libc/stdio/fclose.c: Likewise. | |
591 | * libc/stdio/feof.c: Likewise. | |
592 | * libc/stdio/ferror.c: Likewise. | |
593 | * libc/stdio/fflush.c: Likewise. | |
594 | * libc/stdio/fgetc.c: Likewise. | |
595 | * libc/stdio/fgetpos.c: Likewise. | |
596 | * libc/stdio/fgets.c: Likewise. | |
597 | * libc/stdio/fileno.c: Likewise. | |
598 | * libc/stdio/fputc.c: Likewise. | |
599 | * libc/stdio/fputs.c: Likewise. | |
600 | * libc/stdio/fread.c: Likewise. | |
601 | * libc/stdio/freopen.c: Likewise. | |
602 | * libc/stdio/fseek.c: Likewise. | |
603 | * libc/stdio/ftell.c: Likewise. | |
604 | * libc/stdio/fwrite.c: Likewise. | |
605 | * libc/stdio/getc.c: Likewise. | |
606 | * libc/stdio/putc.c: Likewise. | |
607 | * libc/stdio/setvbuf.c: Likewise. | |
608 | * libc/stdio/ungetc.c: Likewise. | |
609 | * libc/stdio/vfprintf.c: Likewise. | |
610 | ||
a03790e4 JJ |
611 | 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> |
612 | ||
60b2107c TF |
613 | * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector |
614 | support for 'p' format. Fix code to print bytes for vector | |
615 | integer formats that do not specify 'h' or 'l'. | |
616 | * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support | |
617 | for 'p' specifier. Fix code to scan 16 bytes for vector integer | |
618 | formats that do not specify 'h' or 'l'. | |
619 | ||
620 | * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes. | |
621 | ||
9c7d6a9d TF |
622 | 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com> |
623 | ||
624 | * libc/sys/arm/syscalls.c (_rename): Add parameter names. | |
625 | (_sbrk): Add cast of return value. | |
626 | ||
c33c3635 JJ |
627 | 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> |
628 | ||
629 | * libc/include/sys/reent.h (_l64a_buf): New reentrant area. | |
630 | (_REENT_L64A_BUF): New macro for accessing area. | |
631 | * libc/stdlib/Makefile.am: Add a64l.c and l64a.c. | |
632 | * libc/stdlib/Makefile.in: Regenerated. | |
633 | * libc/stdlib/a64l.c: New file. | |
634 | * libc/stdlib/l64a.c: New file. | |
635 | ||
f78e59a8 JJ |
636 | 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> |
637 | ||
638 | * libc/unix/pread.c: Fix typo for _pread_r. | |
639 | * libc/unix/pwrite.c: Fix type for _pwrite_r. | |
640 | * libc/sys/linux/pread64.c: Fix typo for read syscall. | |
641 | * libc/sys/linux/pwrite64.c: Fix typo for write syscall. | |
642 | ||
4b3f6588 CF |
643 | 2002-05-03 Christopher Faylor <cgf@redhat.com> |
644 | ||
645 | * libc/include/sys/unistd.h: Define getdomainname under cygwin. | |
646 | ||
e911832c TF |
647 | 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> |
648 | ||
649 | * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's. | |
650 | ||
0d0fdc8d CF |
651 | 2002-05-01 Christopher Faylor <cgf@redhat.com> |
652 | ||
653 | * utmp.h: Define more UNIX constants. | |
654 | ||
1e997c56 TF |
655 | 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com> |
656 | ||
0717f01c TF |
657 | * Makefile.am: Add support for checking multilibs. |
658 | ||
09841445 TF |
659 | * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB. |
660 | (SUBDEFS): Add LIBC_EXTRA_DEF. | |
661 | * libc/configure.in (LIBC_EXTRA_LIB): New variable. | |
662 | (LIBC_EXTRA_DEF): Likewise. | |
663 | (extra_dir): Likewise. | |
664 | * libc/machine/xscale/machine: New directory. | |
665 | * libc/machine/xscale/machine/profile.h: New file. | |
666 | ||
1e997c56 TF |
667 | * Makefile.am (site.exp): Remove newlib_cflags. Add |
668 | multibuildtop. | |
669 | * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's. | |
670 | * testsuite/lib/flags.exp: New file. | |
671 | * testsuite/lib/newlib.exp: Load flags.exp. | |
672 | (newlib_target_compile): Remove libgloss directory references. | |
673 | (newlib_init): Remove newlib_cflags references. | |
674 | ||
4cf4f010 TF |
675 | 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com> |
676 | ||
f6bdb6f9 TF |
677 | * testsuite/lib/newlib.exp (newlib_target_compile): Change |
678 | method of finding libgloss_target_dir. | |
679 | ||
4cf4f010 TF |
680 | * Makefile.am (site.exp): Change host_alias, host_triplet, |
681 | target_alias, target_triplet to refer to gcc's host and target | |
682 | variables (newlib's build and host variables). | |
683 | * testsuite/lib/newlib.exp (newlib_init): Change build | |
684 | references to host references, host references to target | |
685 | references to reflect Makefile.am changes. | |
686 | (newlib_target_compile): Likewise. | |
687 | (newlib_finish): Likewise. | |
688 | ||
83096ae8 JJ |
689 | 2002-04-29 Jeff Johnston <jjohnstn@redhat.com> |
690 | ||
691 | * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added. | |
692 | ||
822afa53 JL |
693 | 2002-04-29 Jonathan Larmour <jlarmour@redhat.com> |
694 | ||
695 | * libc/sys/arm/syscalls.c (_rename): New function. Just a stub. | |
696 | (_system): New function. Ditto. | |
697 | * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM. | |
698 | * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale | |
699 | targets. | |
700 | ||
29798f0d JJ |
701 | 2002-04-29 Jeff Johnston <jjohnstn@redhat.com> |
702 | ||
703 | * libc/include/sys/unistd.h (pread, pwrite): Added prototypes. | |
704 | * libc/unix/Makefile.am: Add pread.c and pwrite.c. | |
705 | * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c. | |
706 | * libc/sys/linux/Makefile.in: Regenerated. | |
707 | * libc/unix/Makefile.in: Ditto. | |
708 | * libc/sys/linux/pread64.c: New file. | |
709 | * libc/sys/linux/pwrite64.c: Ditto. | |
710 | * libc/unix/pread.c: Ditto. | |
711 | * libc/unix/pwrite.c: Ditto. | |
712 | ||
557856bd JJ |
713 | 2002-04-26 Jeff Johnston <jjohnstn@redhat.com> |
714 | ||
715 | * libc/sys/linux/Makefile.am: Add io64.c. | |
716 | * libc/sys/linux/Makefile.in: Regenerated. | |
717 | * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls. | |
718 | * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. | |
719 | * libc/sys/linux/io64.c: New file. | |
720 | ||
7b2b12d5 JJ |
721 | 2002-04-26 Jeff Johnston <jjohnstn@redhat.com> |
722 | ||
723 | * configure.in (CC_FOR_NEWLIB): New variable that | |
724 | bases on $(CC) and adds targ-include and libc/include as | |
725 | -isystem directives if they are not already part of $(CC). | |
726 | * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal | |
727 | $(CC_FOR_NEWLIB). | |
728 | * configure: Regenerated. | |
729 | * Makefile.in: Ditto. | |
730 | ||
c62adacc JJ |
731 | 2002-04-25 Jeff Johnston <jjohnstn@redhat.com> |
732 | ||
733 | * libc/sys/linux/Makefile.am: Add support for sched.c. | |
734 | * libc/sys/linux/Makefile.in: Regenerated. | |
735 | * libc/sys/linux/sched.c: New file. | |
736 | * libc/sys/linux/sys/types.h: Add struct timespec. | |
737 | ||
217ad4a0 TF |
738 | 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com> |
739 | ||
740 | * configure.in (CC_FOR_BUILD): Set to gcc whether | |
741 | cross-compiling or not. | |
742 | (CC): Add -isystem's for targ-include and libc/include when they | |
743 | do not already appear in CC. | |
744 | ||
eaa75b70 TF |
745 | 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com> |
746 | ||
747 | * Makefile.am (check-DEJAGNU): New target. | |
748 | (site.exp): Likewise. | |
749 | * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST | |
750 | with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD. | |
751 | * libc/locale/locale.c (_setlocale_r): Add UTF-8 support. | |
752 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise. | |
753 | * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise. | |
754 | * testsuite: New directory. | |
755 | * testsuite/config: Likewise. | |
756 | * testsuite/lib: Likewise. | |
757 | * testsuite/newlib.locale: Likewise. | |
758 | * testsuite/newlib.string: Likewise. | |
759 | * testsuite/config/default.exp: New file. | |
760 | * testsuite/lib/checkoutput.exp: New file. | |
761 | * testsuite/lib/newlib.exp: New file. | |
762 | * testsuite/lib/passfail.exp: New file. | |
763 | * testsuite/newlib.locale/UTF-8.c: New file. | |
764 | * testsuite/newlib.locale/UTF-8.exp: New file. | |
765 | * testsuite/newlib.locale/locale.exp: New file. | |
766 | * testsuite/newlib.string/string.exp: New file. | |
767 | * testsuite/newlib.string/tstring.c: New file. | |
768 | ||
b9f9f699 JJ |
769 | 2002-04-23 Jeff Johnston <jjohnstn@redhat.com> |
770 | ||
771 | * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added. | |
772 | * libc/sys/linux/Makefile.am: Add support for mmap.c. | |
773 | * libc/sys/linux/Makefile.in: Regenerated. | |
774 | * libc/sys/linux/mmap.c: New file. | |
775 | * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro. | |
776 | * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added. | |
777 | ||
7394edbb TF |
778 | 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> |
779 | ||
780 | * acinclude.m4 (newlib_cflags): Remove include directories that | |
781 | are already specified in the top-level configure.in's FLAGS_FOR_TARGET. | |
782 | ||
b9f9f699 | 783 | 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net> |
59be2290 JJ |
784 | |
785 | * libc/machine/xscale/memchr.c: Don't use multi-line strings. | |
786 | * libc/machine/xscale/memcmp.c: Ditto. | |
787 | * libc/machine/xscale/memcpy.c: Ditto. | |
788 | * libc/machine/xscale/memmove.c: Ditto. | |
789 | * libc/machine/xscale/memset.c: Ditto. | |
790 | * libc/machine/xscale/strchr.c: Ditto. | |
791 | * libc/machine/xscale/strcmp.c: Ditto. | |
792 | * libc/machine/xscale/strcpy.c: Ditto. | |
793 | * libc/machine/xscale/strlen.c: Ditto. | |
794 | ||
2dd4c4dc JJ |
795 | 2002-04-19 Alexandre Oliva <aoliva@redhat.com> |
796 | ||
797 | * libc/include/sys/config.h: Remove include of <limits.h>. | |
798 | (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would | |
799 | define INT_MAX and LONG_MAX. Use them in tests. | |
800 | ||
0d844014 JJ |
801 | 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> |
802 | ||
803 | * configure.host: Add support for powerpc-eabialtivec*. | |
804 | * libc/include/malloc.h: Add include of <machine/malloc.h>. | |
805 | * libc/include/stdlib.h: Add include of <machine/stdlib.h>. | |
806 | * libc/include/machine/malloc.h: New file. | |
807 | * libc/include/machine/stdlib.h: Ditto. | |
808 | * libc/include/machine/setjmp.h: Add support for powerpc altivec. | |
809 | * libc/machine/powerpc/Makefile.am: Add conditional objects and | |
810 | sources based on configuration. | |
811 | * libc/machine/powerpc/Makefile.in: Regenerated. | |
812 | * libc/machine/powerpc/configure: Ditto. | |
813 | * libc/machine/powerpc/configure.in: Add check for | |
814 | powerpc-eabialtivec* in which case add in additional source files. | |
815 | * libc/machine/powerpc/setjmp.S: Add altivec support. | |
816 | * libc/machine/powerpc/vec_calloc.c: New file. | |
817 | * libc/machine/powerpc/vec_free.c: Ditto. | |
818 | * libc/machine/powerpc/vec_malloc.c: Ditto. | |
819 | * libc/machine/powerpc/vec_mallocr.c: Ditto. | |
820 | * libc/machine/powerpc/vec_realloc.c: Ditto. | |
821 | * libc/machine/powerpc/machine/malloc.h: Ditto. | |
822 | * libc/machine/powerpc/machine/stdlib.h: Ditto. | |
823 | * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c | |
824 | with added altivec format specifiers. | |
825 | * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with | |
826 | added altivec format specifiers. | |
827 | ||
d413aadc JS |
828 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> |
829 | ||
830 | * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions | |
831 | while autoconf is trying to link main(){}. | |
832 | ||
27193895 JJ |
833 | 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> |
834 | ||
835 | * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>. | |
836 | * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>. | |
837 | ||
10d00216 JJ |
838 | 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> |
839 | ||
6b0f808e JJ |
840 | * libc/time/time.tex: Add tzset info. |
841 | ||
842 | 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> | |
843 | ||
844 | * libc/include/time.h (tzset, _tzset_r): Added prototypes. | |
845 | (strptime): Moved prototype to be within !__STRICT_ANSI__. | |
846 | (_tzname, _daylight, _timezone): No long __CYGWIN__ only. | |
847 | (tzname): Defined for all platforms. | |
848 | (daylight, timezone): Defined only for CYGWIN. | |
849 | * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after | |
850 | environment set up. | |
851 | * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ | |
852 | environment variable is set. | |
853 | * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and | |
854 | tzset_r.c. | |
855 | * libc/time/Makefile.in: Regenerated. | |
856 | * libc/time/gmtime.c (gmtime): Changed to call gmtime_r. | |
857 | * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r. | |
858 | * libc/time/lcltime_r.c (lcltime_r): Ditto. | |
859 | * libc/time/local.h: New local header file. | |
860 | * libc/time/mktime.c (mktime): Add timezone support. | |
861 | * libc/time/mktm_r.c: New file which is the common engine | |
862 | for gmtime_r and lcltime_r. This code has timezone support. | |
863 | * libc/time/strftime.c (strftime): Add %Z timezone support. | |
864 | * libc/time/tzlock.c: New file containing timezone lock stubs. | |
865 | * libc/time/tzset.c: New file containing tzset() routine. | |
866 | * libc/time/tzset_r.c: New file containing _tzset_r and | |
867 | internal routine for calculating timezone changes for specified year. | |
868 | ||
869 | 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
870 | ||
871 | * configure.in (CRT0_DIR): Set to libc/. | |
872 | (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty. | |
873 | * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to | |
874 | $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for | |
875 | $(CRT1_DIR)/$(CRT1). | |
876 | * libc/machine/xstormy16/Makefile.in: Regenerated. | |
877 | * libc/machine/xstormy16/aclocal.m4: Regenerated. | |
878 | * libc/machine/xstormy16/configure: Regenerated. | |
879 | ||
880 | 2002-04-13 Alexandre Oliva <aoliva@redhat.com> | |
881 | ||
882 | * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk | |
883 | fails, don't bail out, and try to correct next time. | |
884 | ||
885 | * libc/include/sys/config.h: Include limits.h. | |
886 | ||
887 | 2002-04-12 Eric Norum <eric.norum@usask.com> | |
888 | ||
889 | * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy | |
890 | routine to allow autoconf to determine that building executables | |
891 | for rtems works. | |
892 | (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto. | |
893 | (rtems_gxx_mutex_once): Ditto. | |
894 | ||
895 | 2002-04-09 Tom Rix <trix@redhat.com> | |
896 | ||
897 | * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo. | |
898 | ||
899 | 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com> | |
900 | ||
901 | * libc/include/time.h: Fix strptime declaration. | |
902 | * libc/time/Makefile.am: Add strptime.c. | |
903 | * libc/time/Makefile.in: Regenerated. | |
904 | * libc/time/strptime.c: New file. | |
905 | ||
906 | 2002-04-08 Jeff Johnston <jjohnstn@redhat.com> | |
907 | ||
908 | * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type, | |
909 | siglongjmp prototype, and sigsetjmp macro definition. | |
910 | * libc/sys/linux/siglongjmp.c: New file. | |
911 | * libc/sys/linux/Makefile.am: Add support for siglongjmp. | |
912 | * libc/sys/linux/Makefile.in: Regenerated. | |
913 | ||
914 | 2002-04-04 Jeff Johnston <jjohnstn@redhat.com> | |
915 | ||
916 | * Makefile.am: Add support for installing crt1.o if one exists. | |
917 | * configure.host: Specify crt1.o for linux. | |
918 | * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use. | |
919 | * Makefile.in: Regenerated. | |
920 | * configure: Ditto. | |
921 | * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING): | |
922 | Added for non-Cygwin, non-RTEMS configurations. | |
923 | * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf. | |
924 | * libc/sys/linux/Makefile.in: Regenerated. | |
925 | * libc/sys/linux/crt1.c: New empty file to override one defaulted | |
926 | by gcc. This fixes problem with reconfiguring linux newlib build. | |
927 | * libc/sys/linux/sysconf.c: New file. | |
928 | ||
929 | 2002-04-03 Jeff Johnston <jjohnstn@redhat.com> | |
930 | ||
931 | * configure.host: Add support for machine subdirectory of | |
932 | sys subdirectory. | |
933 | * configure.in: Add check for sys machine subdirectory. | |
934 | * Makefile.am: Ditto. | |
935 | * configure: Regenerated. | |
936 | * Makefile.in: Ditto. | |
937 | * libc/sys/linux/crt0.c: Moved to machine/i386 directory. | |
938 | * libc/sys/linux/sys/syscall.h: Ditto. | |
939 | * libc/sys/linux/sleep.c: New file. | |
940 | * libc/sys/linux/socket.c: Ditto. | |
941 | * libc/sys/linux/sockops.h: Ditto. | |
942 | * libc/sys/linux/stack.c: Ditto. | |
943 | * libc/sys/linux/usleep.c: Ditto. | |
944 | * libc/sys/linux/machine/Makefile.am: Ditto. | |
945 | * libc/sys/linux/machine/Makefile.in: Ditto. | |
946 | * libc/sys/linux/machine/aclocal.m4: Ditto. | |
947 | * libc/sys/linux/machine/configure: Ditto. | |
948 | * libc/sys/linux/machine/configure.in: Ditto. | |
949 | * libc/sys/linux/machine/i386/Makefile.am: Ditto. | |
950 | * libc/sys/linux/machine/i386/Makefile.in: Ditto. | |
951 | * libc/sys/linux/machine/i386/aclocal.m4: Ditto. | |
952 | * libc/sys/linux/machine/i386/configure: Ditto. | |
953 | * libc/sys/linux/machine/i386/configure.in: Ditto. | |
954 | * libc/sys/linux/machine/i386/crt0.c: Ditto. | |
955 | * libc/sys/linux/machine/i386/sigset.c: Ditto. | |
956 | * libc/sys/linux/machine/i386/sigstack.h: Ditto. | |
957 | * libc/sys/linux/machine/i386/socketcall.h: Ditto. | |
958 | * libc/sys/linux/machine/i386/syscall.h: Ditto. | |
959 | * libc/sys/linux/sys/select.h: Ditto. | |
960 | * libc/sys/linux/configure.in: Add support for machine directory. | |
961 | * libc/sys/linux/Makefile.am: Ditto plus add new files above. | |
962 | * libc/sys/linux/Makefile.in: Regenerated. | |
963 | * libc/sys/linux/configure: Ditto. | |
964 | * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h. | |
965 | * libc/sys/linux/inode.c: Ditto. | |
966 | * libc/sys/linux/linux.c: Ditto. | |
967 | * libc/sys/linux/process.c: Ditto. | |
968 | * libc/sys/linux/systat.c: Ditto. | |
969 | * libc/sys/linux/time.c: Ditto. | |
970 | * libc/sys/linux/wait.c: Ditto. | |
971 | * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid. | |
972 | * libc/sys/linux/io.c: Change header plus add readv/writev. | |
973 | * libc/sys/linux/signal.c: Change header plus change sigsuspend to | |
974 | use __sigsuspend syscall. | |
975 | * libc/sys/linux/select.c: Change header plus change select to | |
976 | use _newselect syscall. | |
977 | * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions | |
978 | used by glibc header files. | |
979 | * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t | |
980 | types. | |
981 | ||
982 | 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> | |
983 | ||
984 | * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for | |
985 | initializing a struct _reent that has been dynamically allocated. | |
986 | (_REENT_CHECK_MISC): New macro that checks _misc struct for | |
987 | _REENT_SMALL and does nothing otherwise. | |
988 | (_REENT_STRTOK_LAST): New macro for reentrant strtok. | |
989 | (_REENT_MBLEN_STATE): New macro for reentrant mblen. | |
990 | (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc. | |
991 | (_REENT_WCTOMB_STATE): New macro for reentrant wctomb. | |
992 | [_REENT_SMALL](struct _misc_reent): New structure containing | |
993 | miscellaneous reentrant areas needed by newlib. | |
994 | [_REENT_SMALL](struct _reent): Add _misc pointer. | |
995 | [_REENT_SMALL](_REENT_INIT_MISC): New macro. | |
996 | * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC | |
997 | and _REENT_STRTOK_LAST macros. | |
998 | * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC | |
999 | and _REENT_MBLEN_STATE macros. | |
1000 | * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC | |
1001 | and _REENT_MBTOWC_STATE macros. | |
1002 | * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC | |
1003 | and _REENT_WCTOMB_STATE macros. | |
1004 | ||
1005 | 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU> | |
1006 | ||
1007 | * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK. | |
1008 | ||
1009 | Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net> | |
1010 | ||
1011 | * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define. | |
1012 | ||
1013 | Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com> | |
1014 | ||
1015 | * libc/machine/sh/memcpy.S (Large): Fix alignment rounding. | |
1016 | Store high part of leading bytes too. | |
1017 | ||
1018 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> | |
1019 | ||
1020 | * libm/math/ef_hypot.c: Increase scale factor to 68. | |
1021 | ||
1022 | 2002-03-13 Alexandre Oliva <aoliva@redhat.com> | |
1023 | ||
1024 | * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two | |
1025 | error. | |
1026 | ||
1027 | 2002-03-12 Jeff Johnston <jjohnstn@redhat.com> | |
1028 | ||
1029 | * libc/sys/go32/access.c: Change license to relaxed license | |
1030 | used in identical file throughout newlib/libgloss. | |
1031 | ||
1032 | 2002-03-12 Richard Earnshaw <rearnsha@arm.com> | |
1033 | ||
1034 | * libc/sys/arm/access.c: New file. | |
1035 | * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c. | |
1036 | * libc/sys/arm/Makefile.in: Regenerate. | |
1037 | * libc/sys/arm/syscalls.c (_stat): New function. | |
1038 | ||
1039 | 2002-03-11 Michael Meissner <meissner@redhat.com> | |
1040 | ||
1041 | * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific | |
1042 | variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c. | |
1043 | * libc/machine/mips/Makefile.in: Regenerate. | |
1044 | * libc/machine/mips/memcpy.c: New file, optimized for MIPS. | |
1045 | * libc/machine/mips/memset.c: Dito. | |
1046 | * libc/machine/mips/strcmp.c: Dito. | |
1047 | * libc/machine/mips/strlen.c: Dito. | |
1048 | * libc/machine/mips/strncmp.c: Dito. | |
1049 | ||
1050 | 2002-03-06 Jeff Johnston <jjohnstn@redhat.com> | |
1051 | ||
1052 | * libc/machine/i386/Makefile.am: Add $(oext) for setjmp | |
1053 | object so it works for shared library or statici library. | |
1054 | 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> | |
1055 | ||
10d00216 JJ |
1056 | * libc/include/time.h (tzset, _tzset_r): Added prototypes. |
1057 | (strptime): Moved prototype to be within !__STRICT_ANSI__. | |
1058 | (_tzname, _daylight, _timezone): No long __CYGWIN__ only. | |
1059 | (tzname): Defined for all platforms. | |
1060 | (daylight, timezone): Defined only for CYGWIN. | |
1061 | * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after | |
1062 | environment set up. | |
1063 | * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ | |
1064 | environment variable is set. | |
1065 | * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and | |
1066 | tzset_r.c. | |
1067 | * libc/time/Makefile.in: Regenerated. | |
1068 | * libc/time/gmtime.c (gmtime): Changed to call gmtime_r. | |
1069 | * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r. | |
1070 | * libc/time/lcltime_r.c (lcltime_r): Ditto. | |
1071 | * libc/time/local.h: New local header file. | |
1072 | * libc/time/mktime.c (mktime): Add timezone support. | |
1073 | * libc/time/mktm_r.c: New file which is the common engine | |
1074 | for gmtime_r and lcltime_r. This code has timezone support. | |
1075 | * libc/time/strftime.c (strftime): Add %Z timezone support. | |
1076 | * libc/time/tzlock.c: New file containing timezone lock stubs. | |
1077 | * libc/time/tzset.c: New file containing tzset() routine. | |
1078 | * libc/time/tzset_r.c: New file containing _tzset_r and | |
1079 | internal routine for calculating timezone changes for specified year. | |
1080 | ||
5f1c13c6 TF |
1081 | 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com> |
1082 | ||
1083 | * configure.in (CRT0_DIR): Set to libc/. | |
1084 | (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty. | |
1085 | * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to | |
1086 | $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for | |
1087 | $(CRT1_DIR)/$(CRT1). | |
1088 | * libc/machine/xstormy16/Makefile.in: Regenerated. | |
1089 | * libc/machine/xstormy16/aclocal.m4: Regenerated. | |
1090 | * libc/machine/xstormy16/configure: Regenerated. | |
1091 | ||
0cc261b1 AO |
1092 | 2002-04-13 Alexandre Oliva <aoliva@redhat.com> |
1093 | ||
2f3009bd AO |
1094 | * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk |
1095 | fails, don't bail out, and try to correct next time. | |
1096 | ||
0cc261b1 AO |
1097 | * libc/include/sys/config.h: Include limits.h. |
1098 | ||
26116455 JJ |
1099 | 2002-04-12 Eric Norum <eric.norum@usask.com> |
1100 | ||
1101 | * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy | |
1102 | routine to allow autoconf to determine that building executables | |
1103 | for rtems works. | |
1104 | (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto. | |
1105 | (rtems_gxx_mutex_once): Ditto. | |
1106 | ||
4608280d TR |
1107 | 2002-04-09 Tom Rix <trix@redhat.com> |
1108 | ||
1109 | * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo. | |
1110 | ||
dea7e25c JJ |
1111 | 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com> |
1112 | ||
1113 | * libc/include/time.h: Fix strptime declaration. | |
1114 | * libc/time/Makefile.am: Add strptime.c. | |
1115 | * libc/time/Makefile.in: Regenerated. | |
1116 | * libc/time/strptime.c: New file. | |
1117 | ||
c5ef1e95 JJ |
1118 | 2002-04-08 Jeff Johnston <jjohnstn@redhat.com> |
1119 | ||
1120 | * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type, | |
1121 | siglongjmp prototype, and sigsetjmp macro definition. | |
1122 | * libc/sys/linux/siglongjmp.c: New file. | |
1123 | * libc/sys/linux/Makefile.am: Add support for siglongjmp. | |
1124 | * libc/sys/linux/Makefile.in: Regenerated. | |
1125 | ||
6e6cd5bd JJ |
1126 | 2002-04-04 Jeff Johnston <jjohnstn@redhat.com> |
1127 | ||
1128 | * Makefile.am: Add support for installing crt1.o if one exists. | |
1129 | * configure.host: Specify crt1.o for linux. | |
1130 | * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use. | |
1131 | * Makefile.in: Regenerated. | |
1132 | * configure: Ditto. | |
1133 | * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING): | |
1134 | Added for non-Cygwin, non-RTEMS configurations. | |
1135 | * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf. | |
1136 | * libc/sys/linux/Makefile.in: Regenerated. | |
1137 | * libc/sys/linux/crt1.c: New empty file to override one defaulted | |
1138 | by gcc. This fixes problem with reconfiguring linux newlib build. | |
1139 | * libc/sys/linux/sysconf.c: New file. | |
1140 | ||
fa4a16a1 JJ |
1141 | 2002-04-03 Jeff Johnston <jjohnstn@redhat.com> |
1142 | ||
1143 | * configure.host: Add support for machine subdirectory of | |
1144 | sys subdirectory. | |
1145 | * configure.in: Add check for sys machine subdirectory. | |
1146 | * Makefile.am: Ditto. | |
1147 | * configure: Regenerated. | |
1148 | * Makefile.in: Ditto. | |
1149 | * libc/sys/linux/crt0.c: Moved to machine/i386 directory. | |
1150 | * libc/sys/linux/sys/syscall.h: Ditto. | |
1151 | * libc/sys/linux/sleep.c: New file. | |
1152 | * libc/sys/linux/socket.c: Ditto. | |
1153 | * libc/sys/linux/sockops.h: Ditto. | |
1154 | * libc/sys/linux/stack.c: Ditto. | |
1155 | * libc/sys/linux/usleep.c: Ditto. | |
1156 | * libc/sys/linux/machine/Makefile.am: Ditto. | |
1157 | * libc/sys/linux/machine/Makefile.in: Ditto. | |
1158 | * libc/sys/linux/machine/aclocal.m4: Ditto. | |
1159 | * libc/sys/linux/machine/configure: Ditto. | |
1160 | * libc/sys/linux/machine/configure.in: Ditto. | |
1161 | * libc/sys/linux/machine/i386/Makefile.am: Ditto. | |
1162 | * libc/sys/linux/machine/i386/Makefile.in: Ditto. | |
1163 | * libc/sys/linux/machine/i386/aclocal.m4: Ditto. | |
1164 | * libc/sys/linux/machine/i386/configure: Ditto. | |
1165 | * libc/sys/linux/machine/i386/configure.in: Ditto. | |
1166 | * libc/sys/linux/machine/i386/crt0.c: Ditto. | |
1167 | * libc/sys/linux/machine/i386/sigset.c: Ditto. | |
1168 | * libc/sys/linux/machine/i386/sigstack.h: Ditto. | |
1169 | * libc/sys/linux/machine/i386/socketcall.h: Ditto. | |
1170 | * libc/sys/linux/machine/i386/syscall.h: Ditto. | |
1171 | * libc/sys/linux/sys/select.h: Ditto. | |
1172 | * libc/sys/linux/configure.in: Add support for machine directory. | |
1173 | * libc/sys/linux/Makefile.am: Ditto plus add new files above. | |
1174 | * libc/sys/linux/Makefile.in: Regenerated. | |
1175 | * libc/sys/linux/configure: Ditto. | |
1176 | * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h. | |
1177 | * libc/sys/linux/inode.c: Ditto. | |
1178 | * libc/sys/linux/linux.c: Ditto. | |
1179 | * libc/sys/linux/process.c: Ditto. | |
1180 | * libc/sys/linux/systat.c: Ditto. | |
1181 | * libc/sys/linux/time.c: Ditto. | |
1182 | * libc/sys/linux/wait.c: Ditto. | |
1183 | * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid. | |
1184 | * libc/sys/linux/io.c: Change header plus add readv/writev. | |
1185 | * libc/sys/linux/signal.c: Change header plus change sigsuspend to | |
1186 | use __sigsuspend syscall. | |
1187 | * libc/sys/linux/select.c: Change header plus change select to | |
1188 | use _newselect syscall. | |
1189 | * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions | |
1190 | used by glibc header files. | |
1191 | * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t | |
1192 | types. | |
1193 | ||
d4dca0e4 JJ |
1194 | 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> |
1195 | ||
1196 | * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for | |
1197 | initializing a struct _reent that has been dynamically allocated. | |
1198 | (_REENT_CHECK_MISC): New macro that checks _misc struct for | |
1199 | _REENT_SMALL and does nothing otherwise. | |
1200 | (_REENT_STRTOK_LAST): New macro for reentrant strtok. | |
1201 | (_REENT_MBLEN_STATE): New macro for reentrant mblen. | |
1202 | (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc. | |
1203 | (_REENT_WCTOMB_STATE): New macro for reentrant wctomb. | |
1204 | [_REENT_SMALL](struct _misc_reent): New structure containing | |
1205 | miscellaneous reentrant areas needed by newlib. | |
1206 | [_REENT_SMALL](struct _reent): Add _misc pointer. | |
1207 | [_REENT_SMALL](_REENT_INIT_MISC): New macro. | |
1208 | * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC | |
1209 | and _REENT_STRTOK_LAST macros. | |
1210 | * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC | |
1211 | and _REENT_MBLEN_STATE macros. | |
1212 | * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC | |
1213 | and _REENT_MBTOWC_STATE macros. | |
1214 | * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC | |
1215 | and _REENT_WCTOMB_STATE macros. | |
1216 | ||
54a7c6d2 JJ |
1217 | 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU> |
1218 | ||
1219 | * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK. | |
1220 | ||
c82479b1 CF |
1221 | Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net> |
1222 | ||
1223 | * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define. | |
1224 | ||
43ecf6e8 JR |
1225 | Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1226 | ||
1227 | * libc/machine/sh/memcpy.S (Large): Fix alignment rounding. | |
1228 | Store high part of leading bytes too. | |
1229 | ||
a485d93f RS |
1230 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
1231 | ||
1232 | * libm/math/ef_hypot.c: Increase scale factor to 68. | |
1233 | ||
62a963ee AO |
1234 | 2002-03-13 Alexandre Oliva <aoliva@redhat.com> |
1235 | ||
1236 | * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two | |
1237 | error. | |
1238 | ||
c53d8453 JJ |
1239 | 2002-03-12 Jeff Johnston <jjohnstn@redhat.com> |
1240 | ||
1241 | * libc/sys/go32/access.c: Change license to relaxed license | |
1242 | used in identical file throughout newlib/libgloss. | |
1243 | ||
d2a246ad JJ |
1244 | 2002-03-12 Richard Earnshaw <rearnsha@arm.com> |
1245 | ||
1246 | * libc/sys/arm/access.c: New file. | |
1247 | * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c. | |
1248 | * libc/sys/arm/Makefile.in: Regenerate. | |
1249 | * libc/sys/arm/syscalls.c (_stat): New function. | |
1250 | ||
eabb48d5 MM |
1251 | 2002-03-11 Michael Meissner <meissner@redhat.com> |
1252 | ||
1253 | * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific | |
1254 | variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c. | |
1255 | * libc/machine/mips/Makefile.in: Regenerate. | |
1256 | * libc/machine/mips/memcpy.c: New file, optimized for MIPS. | |
1257 | * libc/machine/mips/memset.c: Dito. | |
1258 | * libc/machine/mips/strcmp.c: Dito. | |
1259 | * libc/machine/mips/strlen.c: Dito. | |
1260 | * libc/machine/mips/strncmp.c: Dito. | |
1261 | ||
2a606041 JJ |
1262 | 2002-03-06 Jeff Johnston <jjohnstn@redhat.com> |
1263 | ||
eabb48d5 MM |
1264 | * libc/machine/i386/Makefile.am: Add $(oext) for setjmp |
1265 | object so it works for shared library or statici library. | |
1266 | * libc/machine/i386/Makefile.in: Regenerated. | |
2a606041 | 1267 | |
55f26f11 JR |
1268 | Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1269 | ||
96bff22c JR |
1270 | * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case): |
1271 | Add memcpy.S, memset.S and strcpy.S. | |
1272 | * libc/machine/sh/Makefile.in: Regenerate. | |
1273 | * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes. | |
55f26f11 | 1274 | (SHHI, SHLO): Define. |
96bff22c JR |
1275 | * libc/machine/sh/memset.S: Add code for SH5. |
1276 | * libc/machine/sh/memset.S: Likewise. | |
1277 | * libc/machine/sh/strcpy.S: Likewise. | |
55f26f11 | 1278 | |
afecf2fa JJ |
1279 | 2002-02-27 Jeff Johnston <jjohnstn@redhat.com> |
1280 | ||
1281 | * configure.host: Add check for --disable-newlib-io-float | |
1282 | configuration option and add -DNO_FLOATING_POINT to newlib cflags | |
1283 | if appropriate. | |
1284 | * acinclude.m4: Added --disable-newlib-io-float option. | |
1285 | * aclocal.m4: Regenerated. | |
1286 | * configure: Ditto. | |
1287 | * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure | |
1288 | * libc/*/aclocal.m4 libc/*/configure | |
1289 | * libm/*/aclocal.m4 libm/*/configure: Ditto. | |
1290 | * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT | |
1291 | if NO_FLOATING_POINT flag is not defined. | |
1292 | ||
c1010a63 JJ |
1293 | 2002-02-25 Jeff Johnston <jjohnstn@redhat.com> |
1294 | ||
1295 | * libc/include/sys/config.h: Add __extension__ in front of | |
1296 | long long references. | |
1297 | ||
630c657e CV |
1298 | 2002-02-23 Corinna Vinschen <corinna@vinschen.de> |
1299 | ||
1300 | * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin. | |
1301 | (_stat): Ditto. | |
1302 | ||
59ee2e20 CV |
1303 | 2002-02-23 Corinna Vinschen <corinna@vinschen.de> |
1304 | ||
1305 | * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead | |
1306 | of off_t. | |
1307 | ||
2dd68dc2 NC |
1308 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
1309 | ||
1310 | * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of | |
1311 | clobbered registers. | |
1312 | ||
55500bf1 TF |
1313 | 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
1314 | ||
1315 | * configure.host (newlib_cflags): When host is in m68* add | |
1316 | -DCOMPACT_CTYPE. | |
1317 | ||
ba0173f0 JJ |
1318 | 2002-02-15 Jeff Johnston <jjohnstn@redhat.com> |
1319 | ||
1320 | * libc/include/sys/config.h: Add definitions for | |
1321 | __int16_t, __uint16_t, __int64_t, and __uint64_t. | |
1322 | ||
7b61d0c5 JJ |
1323 | 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com> |
1324 | ||
1325 | * libc/sys/mmixware/link.c: New. | |
1326 | * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm | |
1327 | volatile. | |
1328 | * libc/sys/mmixware/times.c (_times): Renamed from times. | |
1329 | * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND | |
1330 | properly by reading previous contents, not through BinaryReadWrite. | |
1331 | * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c | |
1332 | * libc/sys/mmixware/Makefile.in: Regenerate. | |
1333 | ||
a505db65 CV |
1334 | 2002-02-10 Corinna Vinschen <corinna@vinschen.de> |
1335 | ||
1336 | * libc/include/grp.h: Don't declare group functions when compiling | |
1337 | Cygwin. | |
1338 | ||
f3b39c45 CV |
1339 | 2002-02-09 Corinna Vinschen <corinna@vinschen.de> |
1340 | ||
1341 | * libc/include/grp.h: Include Cygwin specific header. | |
1342 | * libc/include/sys/stat.h: Ditto. Don't define `struct stat' | |
1343 | when compiling for Cygwin. | |
1344 | * libc/include/sys/types.h: Don't define off_t, uid_t | |
1345 | and gid_t when compiling for Cygwin. | |
1346 | ||
82b3ac56 MG |
1347 | 2002-02-08 matthew green <mrg@redhat.com> |
1348 | ||
1349 | * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate | |
1350 | _REENT_EMERGENCY_SIZE, not sizeof(char *). | |
1351 | ||
9f25eed9 AO |
1352 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
1353 | ||
1354 | Contribute sh64-elf. | |
1355 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
1356 | * configure.host (newlib_cflags) [sh*-*-*]: Enable long long | |
1357 | support in printf. | |
1358 | 2001-01-29 Alexandre Oliva <aoliva@redhat.com> | |
1359 | * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before | |
1360 | any labels. | |
1361 | 2001-01-24 Alexandre Oliva <aoliva@redhat.com> | |
1362 | * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2. | |
1363 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
1364 | * libc/machine/sh/configure.in: Rework conditionals. | |
1365 | * libc/machine/sh/Makefile.am: Likewise. | |
1366 | * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt. | |
1367 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
1368 | * configure.host: Match `sh*'. | |
1369 | * libc/include/machine/setjmp.h: Define for SH5. | |
1370 | * libc/machine/sh/configure.in: Detect SH5. | |
1371 | * libc/machine/sh/configure: Rebuilt. | |
1372 | * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5. | |
1373 | * libc/machine/sh/Makefile.in: Rebuilt. | |
1374 | * libc/machine/sh/asm.h: Adjust for SH5. | |
1375 | * libc/machine/sh/setjmp.S: Implement in SHmedia. | |
1376 | * libc/sys/sh/crt0.S: Likewise. | |
1377 | * libc/sys/sh/trap.S: Likewise. | |
1378 | ||
a2a405ae JJ |
1379 | 2002-02-07 Jeff Johnston <jjohnstn@redhat.com> |
1380 | ||
1381 | * libc/machine/i386/Makefile.am: (mach_add_src): Remove. | |
1382 | (mach_add_obj): Conditionally set to setjmp.o or nothing. | |
1383 | (LIB_SOURCES): Remove $(mach_add_src). | |
1384 | (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src). | |
1385 | (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto. | |
1386 | * libc/machine/i386/Makefile.in: Regenerate. | |
1387 | ||
27478365 JJ |
1388 | 2002-02-05 Manik Raina <manik@cisco.com> |
1389 | ||
994fa212 | 1390 | * libc/misc/dprintf.c (parse_number): #if 0 unused function. |
27478365 JJ |
1391 | * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables |
1392 | s, p, k, and outstr. | |
1393 | * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo. | |
1394 | ||
815a37f7 JJ |
1395 | 2002-02-04 Jeff Johnston <jjohnstn@redhat.com> |
1396 | ||
1397 | * libc/include/sys/reent.h [(!_REENT_SMALL]: Add | |
1398 | _REENT_CHECK_EMERGENCY macro. | |
1399 | ||
a4139c12 MG |
1400 | 2002-02-03 matthew green <mrg@redhat.com> |
1401 | ||
1402 | * libc/reent/signgam.c (__signgam): Fix error in previous. | |
1403 | ||
8195aff7 MG |
1404 | 2002-02-02 matthew green <mrg@redhat.com> |
1405 | ||
1406 | * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16. | |
1407 | ||
1408 | * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case. | |
1409 | * libc/reent/reent.tex: Add blurb about _REENT_SMALL. | |
1410 | * libc/include/sys/reent.h (struct _reent): Completely new version | |
1411 | for _REENT_SMALL. | |
1412 | (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL. | |
1413 | (_REENT_CHECK, _REENT_CHECK_TM): Likewise. | |
1414 | (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise. | |
1415 | (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise. | |
1416 | (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise. | |
1417 | (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise. | |
1418 | (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise. | |
1419 | (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise. | |
1420 | (_REENT_EMERGENCY): Likewise. | |
1421 | ||
1422 | * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as | |
1423 | the start of the real __sFILE, used for stdin, stdout and stderr until | |
1424 | they are setup properly. | |
1425 | (struct __sFILE): Move location of _data in _REENT_SMALL case. | |
1426 | * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by | |
1427 | allocated stdin, stdout and stderr. | |
1428 | * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT(). | |
1429 | * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise. | |
1430 | * libc/stdio/perror.c (_perror_r): Likewise. | |
1431 | * libc/stdio/printf.c (printf, _printf_r): Likewise. | |
1432 | * libc/stdio/putchar.c (_putchar_r): Likewise. | |
1433 | * libc/stdio/puts.c (_puts_r): Likewise. | |
1434 | * libc/stdio/scanf.c (scanf, _scanf_r): Likewise. | |
1435 | * libc/stdio/vprintf.c (vprintf): Likewise. | |
1436 | * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise. | |
1437 | ||
1438 | * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY(). | |
1439 | ||
1440 | * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit. | |
1441 | * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32 | |
1442 | for _REENT_SMALL. | |
1443 | * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case. | |
1444 | * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case. | |
1445 | ||
1446 | * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if | |
1447 | _REENT_SMALL. | |
1448 | * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48(). | |
1449 | * libc/stdlib/lcong48.c (_lcong48_r): Likewise. | |
1450 | * libc/stdlib/lrand48.c (_lrand48_r): Likewise. | |
1451 | * libc/stdlib/mrand48.c (_mrand48_r): Likewise. | |
1452 | * libc/stdlib/rand48.c (__dorand48): Likewise. | |
1453 | * libc/stdlib/seed48.c (_seed48_r): Likewise. | |
1454 | * libc/stdlib/srand48.c (_srand48_r): Likewise. | |
1455 | * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define | |
1456 | as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD(). | |
1457 | * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use | |
1458 | _REENT_MP_RESULT() and _REENT_MP_RESULT_K(). | |
1459 | * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise. | |
1460 | * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT(). | |
1461 | * libc/stdlib/rand.c (rand): Likewise. | |
1462 | ||
1463 | * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT(). | |
1464 | * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT(). | |
1465 | ||
1466 | * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use | |
1467 | _REENT_MP_FREELIST() and _REENT_MP_P5S. | |
1468 | * libc/include/sys/reent.h (struct _mprec): New structure. | |
1469 | ||
1470 | * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to | |
1471 | _unused_strtok_last. | |
1472 | * libc/string/strtok.c (strtok): Use a local static variable. | |
1473 | ||
1474 | * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define. | |
1475 | (_REENT_EMERGENCY_SIZE): Likewise. | |
1476 | * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use | |
1477 | _REENT_ASCTIME_BUF(). | |
1478 | * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use | |
1479 | _REENT_TM(). | |
1480 | ||
1481 | * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM(). | |
1482 | * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM(). | |
1483 | * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM(). | |
1484 | * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM(). | |
1485 | * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM(). | |
1486 | * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM(). | |
1487 | ||
9c2e7642 GK |
1488 | 2002-02-01 Geoffrey Keating <geoffk@redhat.com> |
1489 | ||
1490 | * configure.host (xstormy16): Don't use the generic malloc. | |
1491 | * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. | |
1492 | * libc/machine/xstormy16/Makefile.in: Regenerate. | |
1493 | * libc/machine/xstormy16/mallocr.c: New file. | |
1494 | * libc/machine/xstormy16/tiny-malloc.c: New file. | |
1495 | ||
4bb6112f TF |
1496 | 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com> |
1497 | ||
1498 | * libc/include/sys/signal.h [__CYGWIN__]: Issue error message | |
1499 | when _CYGWIN_TYPES_H is not defined. | |
1500 | ||
8d345552 TF |
1501 | 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com> |
1502 | ||
1503 | * libc/include/sys/signal.h: Revert 2002-01-23 change. | |
1504 | ||
bcc49082 TF |
1505 | 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
1506 | ||
1507 | * libc/include/sys/signal.h: Remove pthread_kill declaration | |
1508 | when __CYGWIN__ is defined. | |
1509 | ||
13baedeb CF |
1510 | 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com> |
1511 | ||
1512 | * libc/include/time.h: Add prototype for strptime for Cygwin. | |
1513 | ||
b2db0ebc NC |
1514 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1515 | ||
ebf139fb NC |
1516 | * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and |
1517 | dst was not word aligned. | |
1518 | ||
b2db0ebc NC |
1519 | * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting |
1520 | if too much memory is requested. | |
1521 | ||
798c015d JJ |
1522 | 2002-01-11 Jeff Johnston <jjohnstn@redhat.com> |
1523 | ||
1524 | * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that | |
1525 | reads blanks from the input file to break if EOF reached | |
1526 | rather than end processing. | |
1527 | ||
46ad2ef4 JJ |
1528 | 2002-01-07 Jeff Johnston <jjohnstn@redhat.com> |
1529 | ||
1530 | * MAINTAINERS: Change e-mail addresses to refer to redhat domain. | |
1531 | ||
86b06396 JJ |
1532 | 2002-01-07 Alan Matsuoka <alanm@redhat.com> |
1533 | ||
1534 | * libc/include/machine/ieeefp.h: Configure d10v doubles to | |
1535 | be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits. | |
1536 | libc/include/sys/config.h: Ditto. | |
1537 | ||
423d5064 CV |
1538 | 2001-12-28 Corinna Vinschen <corinna@vinschen.de> |
1539 | ||
1540 | * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE. | |
1541 | ||
f6eff1c0 GK |
1542 | 2001-12-22 Geoffrey Keating <geoffk@redhat.com> |
1543 | Catherine Moore <clm@redhat.com> | |
1544 | Richard Henderson <rth@redhat.com> | |
1545 | Corinna Vinschen <vinschen@redhat.com> | |
1546 | ||
1547 | * configure.host: Add support for xstormy16. | |
1548 | * libc/include/machine/ieeefp.h: Add support for xstormy16. | |
1549 | * libc/include/machine/setjmp.h: Add support for xstormy16. | |
1550 | * libc/include/sys/config.h: Add support for xstormy16. | |
1551 | * libc/machine/xstormy16/Makefile.am: New file. | |
1552 | * libc/machine/xstormy16/Makefile.in: New file. | |
1553 | * libc/machine/xstormy16/aclocal.m4: New file. | |
1554 | * libc/machine/xstormy16/configure: New file. | |
1555 | * libc/machine/xstormy16/configure.in: New file. | |
1556 | * libc/machine/xstormy16/setjmp.S: New file. | |
1557 | ||
1f93c55f TF |
1558 | 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
1559 | ||
1560 | * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional. | |
1561 | * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable. | |
1562 | ||
13b918be CV |
1563 | 2001-12-19 Corinna Vinschen <corinna@vinschen.de> |
1564 | ||
1565 | * libm/machine/Makefile.am: Change rules to create correct lib.a. | |
1566 | * libm/machine/Makefile.in: Regenerated through automake. | |
1567 | ||
08e857b4 TF |
1568 | 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com> |
1569 | ||
1570 | * Makefile.am (DOCDIR): Force to empty string when doc | |
1571 | directory is not present. | |
1572 | ||
60565ed6 TF |
1573 | 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com> |
1574 | ||
1575 | * libc/machine/i386/f_*: Move to libm/machine/i386. | |
1576 | ||
1577 | 2001-12-18 Joel Sherrill <joel@OARcorp.com> | |
1578 | ||
1579 | * libm/machine/Makefile.am: Add dummy doc stub so | |
1580 | "make info" works. | |
1581 | ||
1582 | 2001-12-17 Joel Sherrill <joel@OARcorp.com> | |
1583 | ||
1584 | * libc/include/sys/types.h (ino_t): RTEMS uses long also. | |
1585 | ||
fc504135 TF |
1586 | 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com> |
1587 | ||
1588 | * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal | |
1589 | $(COMPILE) rather than $(CC). | |
1590 | * libc/stdio/Makefile.am (LIB_COMPILE): Likewise. | |
1591 | (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by | |
1592 | $(LIB_COMPILE) change. | |
1593 | (vfiprintf.$(oext)): Likewise. | |
1594 | ||
efeae9a3 CV |
1595 | 2001-12-17 Corinna Vinschen <vinschen@redhat.de> |
1596 | ||
1597 | * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow | |
1598 | conditionalized including of getopt stuff. | |
1599 | ||
cdf7120d TF |
1600 | 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com> |
1601 | ||
1602 | * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to | |
1603 | compile line. | |
f85be99c | 1604 | (vfiprintf.$(oext)): Likewise. |
cdf7120d | 1605 | |
2e1a7175 TF |
1606 | 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com> |
1607 | ||
1608 | * Makefile.shared: New file. | |
1609 | * libc/sys/linux/shared.ld: New file. | |
1610 | * libm/machine/*: New files. | |
1611 | * libm/machine/i386/*: New files. | |
1612 | * Makefile.am: Add libtool support. Change math and mathfp | |
1613 | references to variables. | |
1614 | * configure.host: Add variables for libtool support. Add | |
1615 | libm_machine_dir variable. | |
1616 | * configure.in: Add objectlist variables, for libtool | |
1617 | support. Add CC_FOR_BUILD tests. | |
1618 | * libc/Makefile.am: Add libtool support. Change crt0.o | |
1619 | reference to be a variable reference. | |
1620 | * libc/configure.in: Add libtool support. Change sublib | |
1621 | names to be lib${subdir}.la when using libtool. | |
1622 | * libc/ctype/Makefile.am: Add libtool support. | |
1623 | * libc/errno/Makefile.am: Likewise. | |
1624 | * libc/locale/Makefile.am: Likewise. | |
1625 | * libc/machine/Makefile.am: Likewise. | |
1626 | * libc/machine/configure.in: Likewise. | |
1627 | * libc/machine/i386/Makefile.am: Likewise. | |
1628 | * libc/machine/i386/configure.in: Likewise. | |
1629 | * libc/misc/Makefile.am: Likewise. | |
1630 | * libc/posix/Makefile.am: Likewise. | |
1631 | * libc/reent/Makefile.am: Likewise. | |
1632 | * libc/signal/Makefile.am: Likewise. | |
1633 | * libc/stdio/Makefile.am: Likewise. | |
1634 | * libc/stdlib/Makefile.am: Likewise. | |
1635 | * libc/string/Makefile.am: Likewise. | |
1636 | * libc/sys/Makefile.am: Likewise. | |
1637 | * libc/sys/configure.in: Likewise. | |
1638 | * libc/sys/linux/Makefile.am: Add libtool support. Change | |
1639 | awk reference to a variable reference. Change signal.h | |
1640 | reference to a variable reference. | |
1641 | * libc/sys/linux/configure.in: Add libtool support. | |
1642 | * libc/syscalls/Makefile.am: Likewise. | |
1643 | * libc/time/Makefile.am: Likewise. | |
1644 | * libc/unix/Makefile.am: Likewise. | |
1645 | * libm/Makefile.am: Add libtool support. Change math and | |
1646 | mathfp references to variables. | |
1647 | * libm/configure.in: Add libtool support. Add | |
1648 | LIBM_MACHINE_LIB variable. | |
1649 | * libm/common/Makefile.am: Add libtool support. | |
1650 | * libm/math/Makefile.am: Likewise. | |
1651 | * libm/mathfp/Makefile.am: Likewise. | |
1652 | Regenerate all Makefile.in, aclocal.m4, and configure. | |
1653 | ||
b92591a1 JJ |
1654 | 2001-12-13 Anita Kulkarni <anitak@kpit.com> |
1655 | ||
1656 | * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead. | |
1657 | ||
355b664e CF |
1658 | 2001-12-06 John Peacock <jpeacock@rowman.com> |
1659 | ||
1660 | * libc/include/sys/unistd.h: Correct ualarm declaration. | |
1661 | ||
e9853806 NC |
1662 | 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> |
1663 | ||
1664 | * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument | |
1665 | vector before calling the initialisation functions. | |
1666 | ||
a8e091b0 CF |
1667 | 2001-11-29 Christopher Faylor <cgf@redhat.com> |
1668 | ||
1669 | * libc/include/dirent.h: Protect against multiple inclusion. | |
1670 | ||
ab634123 CF |
1671 | 2001-11-27 Christopher Faylor <cgf@redhat.com> |
1672 | ||
1673 | * libc/include/sys/types.h: Define useconds_t. | |
1674 | * libc/include/sys/ulimit.h: Declare ualarm. | |
1675 | ||
d37e401e CF |
1676 | 2001-11-21 Christopher Faylor <cgf@redhat.com> |
1677 | ||
1678 | * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element. | |
1679 | ||
8ac90051 HPN |
1680 | 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com> |
1681 | ||
1682 | * libc/sys/mmixware/*: Tweak license header in all source files. | |
1683 | ||
d7ca37e4 CV |
1684 | 2001-11-12 Corinna Vinschen <vinschen@redhat.com> |
1685 | ||
1686 | * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h | |
1687 | to here. Rearrange for general inclusion by stdlib.h. | |
1688 | * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ | |
1689 | isn't defined. | |
1690 | * libc/sys/linux/include/alloca.h: Move to libc/include. | |
1691 | ||
28f8744e AG |
1692 | 2001-11-12 Anthony Green <green@redhat.com> |
1693 | ||
1694 | * libc/sys/arm/crt0.S (__stack_base__): New symbol. | |
1695 | ||
4cede8c4 HPN |
1696 | 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com> |
1697 | ||
1698 | * libc/sys/mmixware/*: Correct spacing in all source files. | |
1699 | * libc/sys/mmixware/syscall.h: Move misplaced file... | |
1700 | * libc/sys/mmixware/sys/syscall.h: ...here. | |
1701 | ||
8be9b48b JJ |
1702 | 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com> |
1703 | ||
1704 | * libc/include/machine/ieeefp.h: Add support for mmix target. | |
1705 | * libc/include/machine/setjmp.h: Ditto. | |
1706 | * configure.host: Ditto. | |
1707 | * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c, | |
1708 | libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4, | |
1709 | libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c, | |
1710 | libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in, | |
1711 | libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c, | |
1712 | libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c, | |
1713 | libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c, | |
1714 | libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c, | |
1715 | libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c, | |
1716 | libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c, | |
1717 | libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c, | |
1718 | libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S, | |
1719 | libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h, | |
1720 | libc/sys/mmixware/time.c, libc/sys/mmixware/times.c, | |
1721 | libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c, | |
1722 | libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files. | |
1723 | * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in, | |
1724 | libc/sys/mmixware/aclocal.m4: Generate. | |
1725 | ||
c7dd4f95 CV |
1726 | 2001-11-05 Corinna Vinschen <corinna@vinschen.de> |
1727 | ||
1728 | * libc/include/sys/unistd.h: Add prototypes for endusershell(), | |
1729 | getusershell(), iruserok(), revoke(), ruserok() and setusershell() | |
1730 | when __CYGWIN__ is defined. | |
1731 | * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and | |
1732 | logwtmp(). | |
1733 | ||
a6a6f9fe JJ |
1734 | 2001-11-01 Arati Dikey <aratidikey@hotmail.com> |
1735 | ||
1736 | * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro. | |
1737 | [_DOUBLE_IS_32BITS](isinf): New function that calls isinff. | |
1738 | * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro. | |
1739 | [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf. | |
1740 | ||
d0504c35 JJ |
1741 | 2001-10-24 Christopher Faylor <cgf@redhat.com> |
1742 | ||
1743 | * libc/stdio/fseek.c: Reset pointer to buffer base | |
1744 | when forced to seek outside of current buffer contents. | |
1745 | This prevents the code from erroneously thinking there is | |
1746 | anything in the current buffer. | |
1747 | ||
0280c8c0 GK |
1748 | 2001-10-22 Geoffrey Keating <geoffk@redhat.com> |
1749 | ||
1750 | * libc/include/math.h: The C++ standard adds the single-precision | |
1751 | versions of the elementary functions. | |
1752 | ||
333d6098 CF |
1753 | 2001-10-22 Christopher Faylor <cgf@redhat.com> |
1754 | ||
1755 | * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations | |
1756 | throughout. | |
1757 | * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. | |
1758 | * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. | |
1759 | * system.c (_system_r): Ditto. | |
1760 | ||
c7118319 CV |
1761 | 2001-10-17 Corinna Vinschen <corinna@vinschen.de> |
1762 | ||
1763 | * libc/include/sys/unistd.h: Add prototype for fchdir() when | |
b4e98df6 | 1764 | __CYGWIN__ or __rtems__ is defined. |
c7118319 | 1765 | |
5665b0e1 JJ |
1766 | 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> |
1767 | ||
1768 | * libc/include/stdlib.h: add declarations for | |
1769 | _strtoull_r, _strtoll_r, strtoull, and strtoll. | |
1770 | * libc/stdio/local.h: remove declarations of | |
1771 | __strtoull_r and __strtoll_r. | |
1772 | * libc/stdio/vfscanf.c(__svfscanf_r): call | |
1773 | _strtoull_r instead of __strtoull_r. Ditto | |
1774 | _strtoll_r vs. __strtoll_r. | |
1775 | * libc/stdlib/Makefile.am: add new files to | |
1776 | .c list and .def list | |
1777 | * libc/stdlib/Makefile.in: regenerate | |
1778 | * libc/stdlib/strtoll_r.c: rename __strtoll_r | |
1779 | as _strtoll_r | |
1780 | * libc/stdlib/strtoull_r.c: rename __strtoull_r | |
1781 | as _strtoull_r | |
1782 | * libc/stdlib/strtoull.c: new file | |
1783 | * libc/stdlib/strtoll.c: new file | |
1784 | ||
d2d5eb41 CF |
1785 | Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com> |
1786 | ||
1787 | * libc/include/process.h: Add getpid() declaration. | |
1788 | ||
448e3c14 NC |
1789 | 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com> |
1790 | ||
1791 | * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit) | |
1792 | for new style arm/elf ctor/dtor handling. | |
1793 | Minor formatting tidy up. | |
1794 | ||
7a2afbbb JJ |
1795 | 2001-09-13 Jeff Johnston <jjohnstn@redhat.com> |
1796 | ||
1797 | * libc/stdlib/Makefile.am: Add support to build strtoll_r.c | |
1798 | and strtoull_r.c. | |
1799 | * libc/stdlib/Makefile.in: Regenerated. | |
1800 | * libc/stdlib/strtoll_r.c: New file. | |
1801 | * libc/stdlib/strtoull_r.c: New file. | |
1802 | * libc/stdio/local.h: Add prototypes for long long string | |
1803 | conversion routines. | |
1804 | * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support | |
1805 | tied to %L integer conversion specifier. | |
1806 | ||
6342caa4 JJ |
1807 | Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net> |
1808 | ||
1809 | * strftime.c (strftime): Fix "%W" implementation to properly handle | |
1810 | Mondays too. | |
1811 | ||
b2d319cb JJ |
1812 | 2001-09-07 Jeff Law <law@redhat.com> |
1813 | ||
1814 | * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of | |
1815 | __fini with "mov.l" instead of "mov.w". | |
1816 | ||
233823ba CV |
1817 | 2001-09-05 Corinna Vinschen <corinna@vinschen.de> |
1818 | ||
1819 | * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h | |
1820 | and getopt.h. | |
1821 | ||
63c17b54 JJ |
1822 | 2001-09-04 Jason Merrill <jason_merrill@redhat.com> |
1823 | ||
1824 | * libc/sys/h8300hms/crt0.S: Support ELF initialization. | |
1825 | ||
a3e67ddf CV |
1826 | 2001-09-03 Corinna Vinschen <corinna@vinschen.de> |
1827 | ||
1828 | * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number | |
1829 | field. | |
1830 | (__DIRENT_VERSION): New define. | |
1831 | ||
6d47f33a CV |
1832 | 2001-09-03 Corinna Vinschen <corinna@vinschen.de> |
1833 | ||
1834 | * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member. | |
4f79e37e CV |
1835 | Shrink __d_reserved accordingly to keep structure size. |
1836 | (dirfd): Declare external. | |
6d47f33a | 1837 | |
348c5e06 JJ |
1838 | 2001-08-29 Joel Sherrill <joel@OARcorp.com> |
1839 | ||
1840 | * libc/include/sys/unistd.h: Prototype chroot() for RTEMS. | |
1841 | ||
1842 | 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> | |
1843 | ||
1844 | * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, | |
1845 | libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, | |
1846 | libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, | |
1847 | libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, | |
1848 | libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, | |
1849 | libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, | |
1850 | libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, | |
1851 | libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: | |
1852 | Add conditional compilation to avoid HW FPU instructions | |
1853 | when compiled for soft-float. | |
1854 | ||
f29865c5 JJ |
1855 | 2001-08-29 Jeff Johnston <jjohnstn@redhat.com> |
1856 | ||
1857 | * Makefile.am: Add check for ln failing when creating libg.a | |
1858 | so that cp gets used as a backup. | |
1859 | * Makefile.in: Regenerated. | |
1860 | ||
9e2a4ef8 JJ |
1861 | 2001-08-29 Jeff Johnston <jjohnstn@redhat.com> |
1862 | ||
1863 | * libc/include/sys/reent.h: Add include of <sys/_types.h>. | |
1864 | No longer include time.h. Add struct __tm to use for | |
1865 | _localtime_buf in the reentrant structure. Add a | |
1866 | _NULL definition to use in initializing the reentrant struct. | |
1867 | * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change | |
1868 | the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in | |
1869 | <sys/_types.h>. | |
1870 | * libc/include/sys/unistd.h: Include <sys/_types.h>. | |
1871 | * libc/time/lcltime.c (localtime): Cast the reentrant struct | |
1872 | _localtime_buf to be struct tm *. | |
1873 | ||
1ae900d6 JR |
1874 | Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com> |
1875 | ||
1876 | * configure.host (h8300-*-elf*, h8500-*-elf*): New cases. | |
1877 | * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors / | |
1878 | __ctors_end. | |
1879 | * libc/sys/h8300hms/syscalls.c: Include errno.h. | |
1880 | (_unlink): New stub function. | |
1881 | ||
8e26d5b5 CF |
1882 | Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com> |
1883 | ||
1884 | * libc/include/sys/errno.h: Add a cautionary comment. | |
1885 | ||
e8267664 JJ |
1886 | 2001-08-21 Jeff Johnston <jjohnstn@redhat.com> |
1887 | ||
1888 | * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional | |
1889 | for SIZE_SZ so that alignment ends up a minimum of 8. | |
1890 | ||
4acf3edf CF |
1891 | Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com> |
1892 | ||
1893 | * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro | |
1894 | arguments. | |
1895 | ||
1896 | * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under | |
1897 | Cygwin. | |
1898 | ||
52c80be8 JJ |
1899 | 2001-08-13 Jeff Johnston <jjohnstn@redhat.com> |
1900 | ||
1901 | * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New | |
1902 | macro constants for mallopt options. | |
1903 | (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto. | |
1904 | ||
a7061f7f JJ |
1905 | 2001-08-02 Jeff Johnston <jjohnstn@redhat.com> |
1906 | ||
1907 | * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided, | |
1908 | otherwise default. | |
1909 | ||
0b4bfdd5 AH |
1910 | 2001-07-12 Aldy Hernandez <aldyh@redhat.com> |
1911 | ||
1912 | * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist. | |
1913 | ||
2b6b730c NC |
1914 | 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com> |
1915 | ||
1916 | * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN): | |
1917 | Define for little endian ARMs. | |
1918 | ||
1919 | * libc/stdlib/mprec.h (Storeinc): Use little endian version if | |
1920 | __IEEE_BYTES_LITTLE_ENDIAN is defined. | |
1921 | ||
25842b68 JJ |
1922 | 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net> |
1923 | ||
1924 | * /libc/include/ctype.h (is* and to* macros): Do not define if C++. | |
1925 | ||
371b76ef JJ |
1926 | 2001-06-11 Egor Duda <deo@logos-m.ru> |
1927 | ||
1928 | * libc/ctype/ctype_.c: When compiled with gcc on platforms | |
1929 | with signed char, make _ctype_[-128] ... _ctype[-1] refer to | |
1930 | initialized memory region. Platform can define COMPACT_CTYPE | |
1931 | to avoid allocation of the additional 128 bytes of data. | |
1932 | Add pointer to _ctype_ array. Always initialize all _ctype_ | |
1933 | array elements. | |
1934 | ||
43b44bc5 JL |
1935 | 2001-06-08 Jonathan Larmour <jlarmour@redhat.com> |
1936 | ||
1937 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing | |
1938 | NULL pointer. | |
1939 | ||
188bc140 NC |
1940 | 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> |
1941 | ||
1942 | * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0) | |
1943 | ||
2ce88418 NC |
1944 | 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com> |
1945 | ||
1946 | * libc/machine/xscale/memcmp.c: Fix bug when both pointers have | |
1947 | matching, non-word alignment, and the length is <= 4 but more than | |
1948 | enough to move them over a word boundary. | |
1949 | Add comments explaining what each instruction does. | |
1950 | ||
ca60ed47 CF |
1951 | Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com> |
1952 | ||
1953 | * libc/include/sys/stat.h: Revert March 3, Cygwin change. | |
c63e9997 | 1954 | * libc/include/sys/unistd.h: Ditto. |
ca60ed47 | 1955 | |
8b3bcfba JJ |
1956 | 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net> |
1957 | ||
1958 | * libc/string/strrchr.c: Use strchr for the speed improvements. | |
1959 | ||
b09e3cf8 JJ |
1960 | 2001-05-01 Jeff Johnston <jjohnstn@redhat.com> |
1961 | ||
1962 | * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have | |
1963 | real file systems, let __smakebuf() determine if line buffering | |
1964 | should be used for stdout. | |
1965 | ||
0ca66974 JJ |
1966 | 2001-04-27 Jeff Johnston <jjohnstn@redhat.com> |
1967 | ||
1968 | * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var. | |
1969 | ||
7cb7017a JJ |
1970 | 2001-04-27 Jeff Johnston <jjohnstn@redhat.com> |
1971 | ||
1972 | * libc/include/stdlib.h: Add prototype for _strtod_r. | |
1973 | ||
a874cd21 JJ |
1974 | 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu |
1975 | ||
1976 | * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN | |
1977 | * libc/stdio/vprintf.c (_vprintf_r): new function | |
1978 | * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN | |
1979 | * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use | |
1980 | _DEFUN, and call _vfprintf_r, not vfprintf. | |
1981 | * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN | |
1982 | * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use | |
1983 | _DEFUN, and call _vfprintf_r, not vfprintf. | |
1984 | ||
cb4cc283 CF |
1985 | 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net> |
1986 | ||
1987 | * libc/include/sys/unistd.h [X_OK]: Use better protection against | |
1988 | Cygwin X_OK definitions in sys/file.h. | |
1989 | ||
8c9df1d5 CF |
1990 | Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com> |
1991 | ||
1992 | * libc/include/sys/time.h: Define timercmp and other macros for | |
1993 | __CYGWIN__, too. | |
1994 | ||
3ac6f3a7 JJ |
1995 | 2001-04-20 Jeff Johnston <jjohnstn@redhat.com> |
1996 | ||
1997 | * acinclude.m4: Added --enable-malloc-debugging configure flag. | |
1998 | * configure.host: For Cygwin specify -DMALLOC_PROVIDED if | |
1999 | --enable-malloc-debugging selected. | |
2000 | * aclocal.m4 configure: Regenerated. | |
2001 | libm/aclocal.m4 libm/configure: Ditto. | |
2002 | * libc/aclocal.m4 libc/configure: Ditto. | |
2003 | * libc/machine/aclocal.m4 libc/machine/configure: Ditto. | |
2004 | * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto. | |
2005 | * libc/sys/aclocal.m4 libc/sys/configure: Ditto. | |
2006 | * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto. | |
2007 | * doc/aclocal.m4 doc/configure: Ditto. | |
2008 | ||
52cb9e69 JJ |
2009 | 2001-04-20 Jeff Johnston <jjohnstn@redhat.com> |
2010 | ||
2011 | * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together | |
2012 | into one list. | |
2013 | [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list. | |
2014 | (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New | |
2015 | function prototypes. | |
2016 | (_fscanf_r, _sscanf_r): Ditto. | |
2017 | * libc/include/stdlib.h: Added _strtod_r prototype. | |
2018 | * libc/stdio/Makefile.am: Add new v*scanf functions. | |
2019 | * libc/stdio/Makefile.in: Regenerate. | |
2020 | * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype | |
2021 | and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r. | |
2022 | * libc/stdio/scanf.c: Changed to call __svfscanf_r. | |
2023 | * libc/stdio/sscanf.c: Changed documentation to add reentrant routines. | |
2024 | (sscanf): Changed to call __svfscanf_r with _REENT argument. | |
2025 | (_sscanf_r): New routine. | |
2026 | * libc/stdio/local.h: Removed __svfscanf prototype and replaced it | |
2027 | with __svfscanf_r prototype. | |
2028 | * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New | |
2029 | routines. | |
2030 | (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy | |
2031 | structure as argument as calls reentrant versions of helper functions | |
2032 | (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof | |
2033 | to _strtol_r and _strtod_r respectively. | |
2034 | * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r. | |
2035 | * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with | |
2036 | _REENT argument. | |
2037 | * libc/stdio/vscanf.c: New file. | |
2038 | * libc/stdio/vsscanf.c: Ditto. | |
2039 | ||
ee9f39fb JJ |
2040 | 2001-04-19 Robert Collins <rbtcollins@hotmail.com> |
2041 | ||
2042 | * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined. | |
2043 | Define daylight to _daylight if it is not defined | |
2044 | Prepare a variable export of timezone based on timezonevariable. | |
2045 | (Cannot be used with the timezone() function.) | |
2046 | ||
273861e3 JJ |
2047 | 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net> |
2048 | ||
2049 | * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): | |
2050 | Correct the numerical values. | |
2051 | ||
a25b8414 CF |
2052 | 2001-04-13 Robert Collins <rbtcollins@hotmail.com> |
2053 | ||
2054 | * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only). | |
2055 | ||
b8a8c59d CV |
2056 | Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de> |
2057 | ||
2058 | * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash | |
2059 | on case insensitve file systems. | |
2060 | ||
74f8cc63 CF |
2061 | 2001-04-12 Robert Collins <rbtcollins@hotmail.com> |
2062 | ||
2063 | * libc/include/sys/features.h: Add appropriate defines for Cygwin | |
2064 | pthread support. | |
2065 | * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection. | |
2066 | * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads | |
2067 | types. Include <cygwin/types.h> for the cygwin specific typedefs. | |
2068 | ||
16740220 RS |
2069 | 2001-04-04 Richard Sandiford <rsandifo@redhat.com> |
2070 | ||
2071 | * libc/include/machine/ieeefp.h: Comment about new configuration | |
2072 | macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS. | |
2073 | * libm/common/fdlib.h: Define new macros for testing floats. | |
2074 | * libm/common/sf_*: Use them. | |
2075 | * libm/math/ef_*: Likewise. | |
2076 | * libm/math/sf_*: Likewise. | |
2077 | ||
0694d8d3 JJ |
2078 | 2001-03-29 Jeff Johnston <jjohnstn@redhat.com> |
2079 | ||
2080 | * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode | |
2081 | prolog to by-pass possible assembler error. | |
2082 | ||
4833b38c JJ |
2083 | 2001-03-21 Egor Duda <deo@logos-m.ru> |
2084 | ||
2085 | Allow building internal stubs for non-reentrant syscalls | |
2086 | if target provides its own malloc | |
2087 | * libc/reent/reent.c (errno): Move definition here. | |
2088 | * libc/reent/sbrkr.c: From here. | |
2089 | ||
d17d6d42 CF |
2090 | 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net> |
2091 | ||
2092 | * libc/include/sys/types.h (BSD int typedefs): Guard with | |
2093 | _BSDTYPES_DEFINED rather than _WINSOCK_H. | |
2094 | (fd_set): Add !defined __USE_W32_SOCKETS to guard; define | |
2095 | _SYS_TYPES_FD_SET. | |
2096 | * libc/include/sys/unistd.h (gethostname): Don't declare if defined | |
2097 | (_WINSOCK_H) || defined (__USE_W32_SOCKETS). | |
2098 | ||
c7ee75cd CV |
2099 | Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de> |
2100 | ||
2101 | * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and | |
2102 | _PC_POSIX_SECURITY constants for Cygwin. | |
2103 | ||
63dc5d80 CV |
2104 | Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de> |
2105 | ||
2106 | * libc/sys/cygwin/crt0.c: Add copyright hint. | |
2107 | * libc/sys/cygwin/sys/dirent.h: Ditto. | |
2108 | * libc/sys/cygwin/sys/param.h: Ditto. | |
2109 | * libc/sys/cygwin/sys/utime.h: Ditto. | |
2110 | * libc/sys/cygwin/sys/utmp.h: Ditto. | |
2111 | ||
6f637037 AO |
2112 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> |
2113 | ||
2114 | * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it | |
2115 | equivalent to LONGINT. | |
2116 | ||
e69b6f73 JJ |
2117 | 2001-03-08 Richard Sandiford <rsandifo@redhat.com> |
2118 | ||
2119 | * (libc/include/machine/setjmp.h): Use 23 long long ints for a | |
2120 | jmpbuf on MIPS64 targets. | |
2121 | * (libc/machine/mips/setjmp.S): Add MIPS64 version. | |
2122 | ||
6198dece CF |
2123 | Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com> |
2124 | ||
e69b6f73 JJ |
2125 | * libc/include/sys/config.h: Use ssize_t for Cygwin read/write |
2126 | declarations. | |
6198dece | 2127 | |
cfc05d96 JJ |
2128 | Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com> |
2129 | ||
2130 | * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define. | |
2131 | For RTEMS, define to be ssize_t. Default to int if not defined. | |
2132 | * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE. | |
2133 | * libc/stdio/stdio.c (__sread, __swrite): Likewise. | |
2134 | * libc/stdio/local.h (__sread, __swrite): Likewise. | |
2135 | * libc/include/sys/reent.h (_read, _write): Likewise. | |
2136 | * libc/include/sys/unistd.h (read, write, _read, _write): Likewise. | |
2137 | * libc/syscalls/sysread.c (read): Likewise. | |
2138 | * libc/syscalls/syswrite.c (write): Likewise. | |
2139 | ||
6249353a JJ |
2140 | 2001-03-05 Jeff Johnston <jjohnstn@redhat.com> |
2141 | ||
2142 | * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants. | |
2143 | ||
658b5db9 CF |
2144 | Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com> |
2145 | ||
2146 | * libc/include/sys/stat.h: Use special defines for executable stat bits | |
2147 | when compiling for Cygwin. | |
2148 | * libc/include/sys/unistd.h: Use special define for X_OK when compiling | |
2149 | for Cygwin. | |
2150 | ||
19ca46d5 JJ |
2151 | 2001-03-02 Jeff Johnston <jjohnstn@redhat.com> |
2152 | ||
2153 | * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype | |
2154 | of strtok_r is always defined. | |
2155 | ||
b73ed85e JJ |
2156 | 2001-03-02 Jeff Johnston <jjohnstn@redhat.com> |
2157 | ||
2158 | * libc/include/machine/ansi.h: New dummy header file. | |
2159 | ||
ee37ede1 JJ |
2160 | 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> |
2161 | ||
2162 | * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission, | |
2163 | changed the copyright information to allow free modification of the | |
2164 | file with no reference to "copying.dj". | |
2165 | * libc/include/sys/stat-dj.h: Ditto. | |
2166 | * libc/machine/i386/setjmp.S: Ditto. | |
2167 | * libc/sys/h8300hms/sys/file.h: Ditto. | |
2168 | * libc/sys/sysmec/access.c: Ditto. | |
2169 | * libc/sys/sysnecv850/access.c: Ditto. | |
2170 | * libc/stdio/mktemp.c: Fixed typo for the word copyright. | |
2171 | * libc/stdlib/getenv_r.c: Ditto. | |
2172 | * libc/stdlib/putenv_r.c: Ditto. | |
2173 | * libc/stdlib/setenv_r.c: Ditto. | |
2174 | * libc/stdlib/getenv.c: Removed DJ reference since any possible | |
2175 | modifications will now be in the _r version of this file. | |
2176 | * libc/stdlib/putenv.c: Ditto. | |
2177 | * libc/stdlib/setenv.c: Ditto. | |
2178 | * libc/sys/go32/copying.dj: Removed DJ's address which is no longer | |
2179 | valid. Added a reference to DJ's web page that contains his address. | |
2180 | * libc/sys/go32/*.s: Removed references to DJ's old address. | |
2181 | * libc/sys/go32/*.c: Ditto. | |
2182 | * libc/sys/go32/*.h: Ditto. | |
2183 | * libc/sys/go32/*.S: Ditto. | |
2184 | * libc/sys/go32/sys/*.h: Ditto. | |
2185 | ||
3a8fc0e4 JJ |
2186 | 2001-02-21 Jeff Johnston <jjohnstn@redhat.com> |
2187 | ||
2188 | * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with | |
2189 | HAVE_FCNTL flag check. | |
2190 | * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64, | |
2191 | powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks. | |
2192 | ||
b24ee749 CF |
2193 | Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com> |
2194 | ||
2195 | * libc/include/sys/signal.h: Always include sys/types.h under Cygwin. | |
2196 | ||
ab4745dc JJ |
2197 | 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> |
2198 | ||
2199 | * libc/include/stdlib.h: Add declarations of rand48 functions and | |
2200 | their reentrant versions. | |
2201 | * libc/include/sys/reent.h: Move macros from rand48.h. Add | |
2202 | struct _rand48 for shared parameters of rand48 functions. | |
2203 | (struct _reent): Add a variable _r48 of struct _rand48. | |
2204 | (_REENT_INIT): Add _r48 initialization. | |
2205 | * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions. | |
2206 | (CHEWOUT_FILES): Add rand48.def. | |
2207 | * libc/stdlib/Makefile.am: Add dependencies for rand48 functions. | |
2208 | * libc/stdlib/Makefile.in: Regenerated. | |
2209 | * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the | |
2210 | NetBSD C library. | |
2211 | * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto. | |
2212 | * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto. | |
2213 | * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto. | |
2214 | * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto. | |
2215 | * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto. | |
2216 | * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto. | |
2217 | * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto. | |
2218 | * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto. | |
2219 | * libc/stdlib/rand48.c (__dorand48): Ditto. | |
2220 | * libc/stdlib/rand48.h: Ditto, and modify declarations of global | |
2221 | parameters into macros referring them in the reentrant structure. | |
2222 | ||
a34c461f JJ |
2223 | 2001-02-12 Jeff Johnston <jjohnstn@redhat.com> |
2224 | ||
2225 | * libc/include/sys/stat.h: Add mknod for Cygwin now that | |
2226 | Cygwin definition has correct prototype. | |
2227 | ||
34f31ff2 JJ |
2228 | 2001-02-08 Jeff Johnston <jjohnstn@redhat.com> |
2229 | ||
2230 | * libc/include/sys/stat.h: Must revert change for mknod | |
2231 | for CYGWIN until winsup/cygwin/syscalls.cc changes mknod | |
2232 | prototype. | |
2233 | ||
5336d6de JJ |
2234 | 2001-02-08 Jeff Johnston <jjohnstn@redhat.com> |
2235 | ||
2236 | * libc/include/stdio.h: Revert putw prototype. | |
2237 | ||
8915d10a JJ |
2238 | 2001-02-08 Edward M. Lee <tailbert@yahoo.com> |
2239 | ||
2240 | * libc/include/grp.h: add prototype for initgroups. | |
2241 | * libc/include/stdio.h: fix prototype for putw. | |
2242 | * libc/include/sys/signal.h: add prototype for killpg. | |
2243 | * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. | |
2244 | * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, | |
2245 | vhangup and remove duplicate sysconf prototype. | |
2246 | ||
93ac4487 JJ |
2247 | 2001-02-07 Jeff Johnston <jjohnstn@redhat.com> |
2248 | ||
2249 | * libc/sys/rtems/sys/types.h: Removed. | |
2250 | ||
31f5feea JJ |
2251 | 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu> |
2252 | ||
2253 | * libc/include/locale.h: add LC_MESSAGES definition | |
2254 | ||
b5139f59 AO |
2255 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> |
2256 | ||
2257 | * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len, | |
2258 | SYS_get_argN): | |
2259 | * libc/sys/sh/syscalls.c (__setup_argv_for_main, | |
2260 | __setup_argv_and_call_main): New. | |
2261 | ||
e29d8355 JJ |
2262 | 2001-01-31 Jeff Johnston <jjohnstn@redhat.com> |
2263 | ||
2264 | * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__ | |
2265 | if defined. | |
2266 | (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined. | |
2267 | (L_tmpnam): Changed to use __L_tmpnam__ if defined. | |
2268 | * libc/include/sys/config.h: Changed to set __FILENAME_MAX__ | |
2269 | appropriately for Cygwin and RTEMS so not to exceed PATH_MAX. | |
2270 | ||
82ea92f3 CF |
2271 | Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com> |
2272 | ||
2273 | * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when | |
2274 | compiling under Cygwin. | |
2275 | ||
3aaa66f8 JJ |
2276 | 2001-01-29 Jeff Johnston <jjohnstn@redhat.com> |
2277 | ||
2278 | * libc/include/math.h (signgam): Change to errno-like solution | |
2279 | using a function to return the address of the real signgam. | |
2280 | * libc/reent/signgam.c: New file containing __signgam(). | |
2281 | * libc/reent/Makefile.am: Added signgam.c to list of files. | |
2282 | * libc/reent/Makefile.in: Regenerated. | |
2283 | ||
610b895a AO |
2284 | 2001-01-25 Alexandre Oliva <aoliva@redhat.com> |
2285 | ||
b0913397 AO |
2286 | * libc/sys/sh/syscalls.c (_times): New. |
2287 | ||
610b895a AO |
2288 | * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags. |
2289 | * libc/sys/sh/syscalls.c (_gettimeofday): New. | |
2290 | ||
3643210e JJ |
2291 | 2001-01-23 Jeff Johnston <jjohnstn@redhat.com> |
2292 | ||
2293 | * libc/include/math.h (signgam): Regress previous fix as | |
2294 | it does not handle programs with extern int signgam in them. | |
2295 | ||
841081c9 JJ |
2296 | 2001-01-23 Jeff Johnston <jjohnstn@redhat.com> |
2297 | ||
2298 | * libc/include/math.h (signgam): Changed to a macro refering to | |
2299 | its location in the reentrant structure. | |
2300 | ||
e9cd87b8 JJ |
2301 | 2001-01-23 Jeff Johnston <jjohnstn@redhat.com> |
2302 | ||
2303 | * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix | |
2304 | that suppressed . for %.0f, 0.1. Check now looks if there | |
2305 | are padding zeroes (expt) in addition to any digits (ndig) to | |
2306 | print. | |
2307 | ||
a302b48c JJ |
2308 | 2001-01-18 Jeff Johnston <jjohnstn@redhat.com> |
2309 | ||
2310 | * libc/sys/arc/Makefile.am: New file. | |
2311 | * libc/sys/arc/Makefile.in: Ditto. | |
2312 | * libc/sys/arc/aclocal.m4: Ditto. | |
2313 | * libc/sys/arc/configure: Ditto. | |
2314 | * libc/sys/arc/configure.in: Ditto. | |
2315 | * libc/sys/arc/crt0.S: Ditto. | |
2316 | * libc/sys/arc/isatty.c: Ditto. | |
2317 | * libc/sys/arc/mem-layout.c: Ditto. | |
2318 | * libc/sys/arc/sbrk.c: Ditto. | |
2319 | * libc/sys/arc/syscalls.c: Ditto. | |
2320 | * libc/sys/arc/sys/syscall.h: Ditto. | |
2321 | ||
d0319c3b CF |
2322 | Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com> |
2323 | ||
2324 | * libc/include/sys/unistd.h: Use correct declaration for setdtablesize. | |
2325 | ||
e45ab890 CF |
2326 | Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com> |
2327 | ||
2328 | * libc/include/sys/signal.h: Add some SA_* defines for Cygwin. | |
2329 | ||
1376245a DD |
2330 | Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com> |
2331 | ||
2332 | * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__ | |
2333 | ||
92b57543 NC |
2334 | 2001-01-09 Nick Clifton <nickc@redhat.com> |
2335 | ||
2336 | * configure.host (v859): Remove unsupported compiler options. | |
2337 | ||
7d6d33d4 JJ |
2338 | Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com> |
2339 | ||
2340 | * src/newlib/configure.host (*-*-rtems*): add printf long long | |
2341 | support for RTEMS. | |
2342 | ||
602f8b5a | 2343 | 2000-12-19 Graham Stott <grahams@redhat.com> |
6286746a NC |
2344 | |
2345 | * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr". | |
2346 | ||
9c2b8183 JJ |
2347 | Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com> |
2348 | ||
2349 | * configure.host: Turn on long double I/O for Cygwin. | |
2350 | ||
804368d3 JJ |
2351 | Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com> |
2352 | ||
2353 | * MAINTAINERS: Removed Ranjith. | |
2354 | * NEWS: Updated for 1.9.0. | |
2355 | * README: Updated. | |
2356 | * acinclude.m4: Updated to release 1.9.0. | |
2357 | * aclocal.m4 configure | |
2358 | doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure | |
2359 | libc/machine/aclocal.m4 libc/machine/configure | |
2360 | libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure | |
2361 | libc/machine/arm/aclocal.m4 libc/machine/arm/configure | |
2362 | libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure | |
2363 | libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure | |
2364 | libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure | |
2365 | libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure | |
2366 | libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure | |
2367 | libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure | |
2368 | libc/machine/i386/aclocal.m4 libc/machine/i386/configure | |
2369 | libc/machine/i960/aclocal.m4 libc/machine/i960/configure | |
2370 | libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure | |
2371 | libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure | |
2372 | libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure | |
2373 | libc/machine/mips/aclocal.m4 libc/machine/mips/configure | |
2374 | libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure | |
2375 | libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure | |
2376 | libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure | |
2377 | libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure | |
2378 | libc/machine/sh/aclocal.m4 libc/machine/sh/configure | |
2379 | libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure | |
2380 | libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure | |
2381 | libc/machine/v850/aclocal.m4 libc/machine/v850/configure | |
2382 | libc/machine/w65/aclocal.m4 libc/machine/w65/configure | |
2383 | libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure | |
2384 | libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure | |
2385 | libc/sys/aclocal.m4 libc/sys/configure | |
2386 | libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure | |
2387 | libc/sys/arm/aclocal.m4 libc/sys/arm/configure | |
2388 | libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure | |
2389 | libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure | |
2390 | libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure | |
2391 | libc/sys/go32/aclocal.m4 libc/sys/go32/configure | |
2392 | libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure | |
2393 | libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure | |
2394 | libc/sys/linux/aclocal.m4 libc/sys/linux/configure | |
2395 | libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure | |
2396 | libc/sys/netware/aclocal.m4 libc/sys/netware/configure | |
2397 | libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure | |
2398 | libc/sys/sh/aclocal.m4 libc/sys/sh/configure | |
2399 | libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure | |
2400 | libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure | |
2401 | libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure | |
2402 | libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure | |
2403 | libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure | |
2404 | libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure | |
2405 | libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure | |
2406 | libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure | |
2407 | libc/sys/w65/aclocal.m4 libc/sys/w65/configure | |
2408 | libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure | |
2409 | libm/aclocal.m4 libm/configure: Regenerated. | |
2410 | ||
0985d43f CV |
2411 | Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com> |
2412 | ||
2413 | * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd' | |
2414 | when __CYGWIN__ is defined. | |
2415 | ||
b6182a09 JJ |
2416 | 2000-12-13 Jeff Johnston <jjohnstn@redhat.com> |
2417 | ||
2418 | * libc/stdlib/ldtoa.c (_ldcheck): New routine | |
2419 | that categorizes a long double as NaN, Infinity, or other. | |
2420 | * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed | |
2421 | isinfl and isnanl static routines which were i386-specific. Changed | |
2422 | calls to the two removed routines to a single _ldcheck call. | |
2423 | * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons. | |
2424 | ||
adbbb034 JJ |
2425 | 2000-12-13 Jeff Johnston <jjohnstn@redhat.com> |
2426 | ||
2427 | * Makefile.am: Fixed install-data-local target to use | |
2428 | $(mkinstalldirs) for the installed header files to ensure | |
2429 | the directories exist before copying. | |
2430 | * Makefile.in: Regenerated. | |
2431 | ||
cbd19336 JJ |
2432 | 2000-12-12 Jeff Johnston <jjohnstn@redhat.com> |
2433 | ||
2434 | * libc/include/sys/unistd.h: Restored Cygwin _SC | |
2435 | constants and moved new constants appropriately | |
2436 | so Cygwin will build. | |
2437 | ||
8fb37963 JJ |
2438 | 2000-12-11 Joel Sherrill <joel@OARcorp.com> |
2439 | ||
2440 | * Merge RTEMS specific .h files into main libc/include. | |
2441 | * libc/sys/rtems/include/signal.h: Removed. | |
2442 | * libc/sys/rtems/include/time.h: Removed. | |
2443 | * libc/sys/rtems/sys/features.h: Removed. | |
2444 | * libc/sys/rtems/sys/sched.h: Removed. | |
2445 | * libc/sys/rtems/sys/siginfo.h: Removed. | |
2446 | * libc/sys/rtems/sys/signal.h: Removed. | |
2447 | * libc/sys/rtems/sys/time.h: Removed. | |
2448 | * libc/sys/rtems/sys/times.h: Removed. | |
2449 | definitions for time_t and clock_t since these are | |
2450 | no longer in time.h. | |
2451 | * libc/include/pthread.h: New file. | |
2452 | * libc/include/sys/sched.h: New file. | |
2453 | * libc/include/sys/features.h: New file. | |
2454 | * libc/include/time.h: Removed duplicate definition of clock_t | |
2455 | and time_t, get them from <sys/types.h> instead. Add prototypes | |
2456 | for POSIX clock and timer functionality. | |
2457 | * libc/sys/linux/sys/types.h: Changed to include | |
2458 | * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_. | |
2459 | * libc/include/sys/signal.h: Add more complete set of POSIX | |
2460 | signal functionality including real-time and threaded signals. | |
2461 | * libc/include/sys/types.h: Add clock_t, time_t, struct | |
2462 | timespec, and struct itimerspec. Centralizing these makes | |
2463 | things cleaner. RTEMS uses 64-bit dev_t. | |
2464 | Added numerous primitive definitions | |
2465 | for pthreads including macros, pthread_attr_t, | |
2466 | pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, | |
2467 | pthread_once_t, and pthread_t. | |
2468 | * libc/include/sys/unistd.h: Added getlogin_r() prototype. | |
2469 | If RTEMS follow POSIX on read(), write() and sbrk() prototype. | |
2470 | Feature flags removed and moved to new file <sys/features.h>. | |
2471 | Full set of POSIX sysconf() constants | |
2472 | ||
2efbc2a7 JJ |
2473 | 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2474 | ||
2475 | * configure.host: Added x86 linux target. | |
2476 | * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default | |
2477 | definitions provided if not already defined. | |
2478 | * libc/sys/linux/crt0.c: New file. | |
2479 | * libc/sys/linux/Makefile.am: Ditto. | |
2480 | * libc/sys/linux/Makefile.in: Ditto. | |
2481 | * libc/sys/linux/aclocal.m4: Ditto. | |
2482 | * libc/sys/linux/brk.c: Ditto. | |
2483 | * libc/sys/linux/configure: Ditto. | |
2484 | * libc/sys/linux/configure.in: Ditto. | |
2485 | * libc/sys/linux/getoptlong.c: Ditto. | |
2486 | * libc/sys/linux/ids.c: Ditto. | |
2487 | * libc/sys/linux/inode.c: Ditto. | |
2488 | * libc/sys/linux/io.c: Ditto. | |
2489 | * libc/sys/linux/linux.c: Ditto. | |
2490 | * libc/sys/linux/process.c: Ditto. | |
2491 | * libc/sys/linux/realpath.c: Ditto. | |
2492 | * libc/sys/linux/select.c: Ditto. | |
2493 | * libc/sys/linux/signal.c: Ditto. | |
2494 | * libc/sys/linux/systat.c: Ditto. | |
2495 | * libc/sys/linux/termios.c: Ditto. | |
2496 | * libc/sys/linux/time.c: Ditto. | |
2497 | * libc/sys/linux/wait.c: Ditto. | |
2498 | * libc/sys/linux/include/alloca.h: Ditto. | |
2499 | * libc/sys/linux/include/getopt.h: Ditto. | |
2500 | * libc/sys/linux/include/stdint.h: Ditto. | |
2501 | * libc/sys/linux/include/unistd.h: Ditto. | |
2502 | * libc/sys/linux/sys/cdefs.h: Ditto. | |
2503 | * libc/sys/linux/sys/dirent.h: Ditto. | |
2504 | * libc/sys/linux/sys/errno.h: Ditto. | |
2505 | * libc/sys/linux/sys/fcntl.h: Ditto. | |
2506 | * libc/sys/linux/sys/file.h: Ditto. | |
2507 | * libc/sys/linux/sys/ioctl.h: Ditto. | |
2508 | * libc/sys/linux/sys/resource.h: Ditto. | |
2509 | * libc/sys/linux/sys/signal.h: Ditto. | |
2510 | * libc/sys/linux/sys/stat.h: Ditto. | |
2511 | * libc/sys/linux/sys/syscall.h: Ditto. | |
2512 | * libc/sys/linux/sys/termios.h: Ditto. | |
2513 | * libc/sys/linux/sys/time.h: Ditto. | |
2514 | * libc/sys/linux/sys/types.h: Ditto. | |
2515 | * libc/sys/linux/sys/utmp.h: Ditto. | |
2516 | * libc/sys/linux/sys/utsname.h: Ditto. | |
2517 | * libc/sys/linux/sys/wait.h: Ditto. | |
2518 | ||
a08c98bb JJ |
2519 | 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
2520 | ||
2521 | * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM) | |
2522 | can be a relative path to $(top_srcdir)/install.sh so ensure the | |
2523 | autoconf detected settings are properly passed recursively. | |
2524 | Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed | |
2525 | properly to subdirectories. | |
2526 | * Makefile.in: Regenerated. | |
2527 | ||
b294082c JJ |
2528 | 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com> |
2529 | ||
2530 | * libc/stdio/vfprintf.c: Minor modification to avoid requiring | |
2531 | a floating point register unless really printing a floating | |
2532 | point number. | |
2533 | ||
2005ab6b JJ |
2534 | 2000-12-07 Jeff Johnston <jjohnstn@redhat.com> |
2535 | ||
2536 | * libc/stdlib/ldtoa.c: Removed include of alloca.h. | |
2537 | Also removed \r's. | |
2538 | (asctoeg): Replaced alloca call with stack array and malloc | |
2539 | when storage exceeds reasonable limit. | |
2540 | (e53toe): Fixed einfin calls missing ldp parameter. | |
2541 | (eiisinf): Hide behind check for LDBL_MANT_DIG == 64. | |
2542 | ||
9f6e8f1b JJ |
2543 | 2000-12-06 Jeff Johnston <jjohnstn@redhat.com> |
2544 | ||
2005ab6b | 2545 | |
9f6e8f1b JJ |
2546 | * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro. |
2547 | ||
6bdac416 JJ |
2548 | 2000-12-06 Jeff Johnston <jjohnstn@redhat.com> |
2549 | ||
2550 | * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources. | |
2551 | * libc/stdlib/Makefile.in: Regenerated. | |
2552 | * libc/stdio/floatio.h: Added suitable MAXEXP for long double. | |
2553 | * libc/stdio/vfieeefp.h: Added long double bit structures. | |
2554 | * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support. | |
2555 | [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines. | |
2556 | (exponent): Changed expbuf to reasonable maximum instead of MAXEXP. | |
2557 | * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support. | |
2558 | * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and | |
2559 | _strtold routines used for conversions between character | |
2560 | and long double. | |
2561 | ||
ec270d31 CV |
2562 | Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com> |
2563 | ||
2564 | * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'. | |
2565 | ||
db2d9549 JJ |
2566 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2567 | ||
2568 | * libc/include/machine/time.h: RTEMS systems can configure clock | |
2569 | tick rate so use sysconf() to ask. | |
2570 | ||
6ba54a15 JJ |
2571 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2572 | ||
2573 | * libc/include/sys/times.h: Add reference to POSIX standard. | |
2574 | ||
8677b819 JJ |
2575 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2576 | ||
2577 | * libc/include/sys/time.h: Added BSD timer manipulation macros | |
2578 | used by RTEMS code. | |
2579 | ||
1b61a706 JJ |
2580 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2581 | ||
2582 | * libc/sys/rtems/crt0.c: Add stubs for functions implicitly | |
2583 | referenced by code generated by gcc 2.8.1. | |
2584 | (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to | |
2585 | satisfy gcc. | |
2586 | ||
f5e7c124 JJ |
2587 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2588 | ||
2589 | * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS. | |
2590 | ||
768abc9c JJ |
2591 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2592 | ||
2593 | * libc/include/ieeefp.h: Added entries for OpenCores CPUs. | |
2594 | ||
9e5dd5ea JJ |
2595 | 2000-12-04 Joel Sherrill <joel@OARcorp.com> |
2596 | ||
2597 | * configure.host (or16, or32): New entries for OpenCores | |
2598 | OpenRisc CPUs. | |
2599 | (*-*-rtems*): Add -DNO_EXEC. | |
2600 | ||
768abc9c | 2601 | 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com> |
7713fb6f JJ |
2602 | |
2603 | * libc/include/sys/errno.h: Added comments on many error numbers. | |
2604 | * libc/string/strerror.c: Added some more strings. | |
2605 | ||
b273323f JJ |
2606 | 2000-11-30 Jeff Johnston <jjohnstn@redhat.com> |
2607 | ||
2608 | * libc/sys/sh/syscalls.c (_link): New stub. | |
2609 | ||
0ffc3b94 NC |
2610 | 2000-11-29 Nick Clifton <nickc@redhat.com> |
2611 | ||
2612 | * configure.host: Add xscale target. | |
2613 | * libc/machine/xscale: New directory. | |
2614 | * libc/machine/xscale/Makefile.am: New file. | |
2615 | * libc/machine/xscale/Makefile.in: New file. | |
2616 | * libc/machine/xscale/aclocal.m4: New file. | |
2617 | * libc/machine/xscale/configure: New file. | |
2618 | * libc/machine/xscale/configure.in: New file. | |
2619 | * libc/machine/xscale/memchr.S: New file. | |
2620 | * libc/machine/xscale/memcmp.S: New file. | |
2621 | * libc/machine/xscale/memcpy.S: New file. | |
2622 | * libc/machine/xscale/memmove.S: New file. | |
2623 | * libc/machine/xscale/memset.S: New file. | |
2624 | * libc/machine/xscale/strchr.S: New file. | |
2625 | * libc/machine/xscale/strcmp.S: New file. | |
2626 | * libc/machine/xscale/strcpy.S: New file. | |
2627 | * libc/machine/xscale/strlen.S: New file. | |
2628 | ||
cbbf0f96 CV |
2629 | Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com> |
2630 | ||
2631 | * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to | |
2632 | avoid compiler warnings. | |
2633 | ||
73dea790 MM |
2634 | 2000-11-22 Michael Meissner <meissner@redhat.com> |
2635 | ||
2636 | * libc/posix/execl.c (execl): Don't reference environ directly, | |
2637 | reference it only via a static pointer to avoid problems with some | |
2638 | shared library systems and with different uses of small data where | |
2639 | the user specifies his own version of environ. | |
2640 | * libc/posix/execv.c (execv): Ditto. | |
2641 | * libc/stdlib/getenv_r.c (_findenv_r): Ditto. | |
2642 | * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto. | |
2643 | * libc/stdlib/system.c (system, !cygwin32 case): Ditto. | |
2644 | ||
2645 | * libc/stdlib/getenv.c (environ): Delete unused reference to | |
2646 | environ. | |
2647 | ||
2648 | * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs | |
2649 | colorization. | |
2650 | * libc/stdlib/system.c: Ditto. | |
2651 | ||
08eac2ae CF |
2652 | Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com> |
2653 | ||
2654 | * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of | |
2655 | including windows headers. | |
2656 | ||
5478bf37 JJ |
2657 | 2000-11-20 Jeff Johnston <jjohnstn@redhat.com> |
2658 | ||
2659 | * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN. | |
2660 | * libc/include/dirent.h: Added definition of MAXNAMLEN if | |
2661 | not defined by sys/dirent.h. | |
2662 | * libc/posix/execvp.c: Added include of dirent.h to get | |
2663 | MAXNAMLEN value which used to be in unistd.h. | |
2664 | ||
3a760728 CV |
2665 | Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com> |
2666 | ||
2667 | * libc/include/sys/types.h: Change type of i to `size_t' in | |
2668 | FD_ZERO macro to avoid compiler warnings. | |
2669 | ||
86fff69f CF |
2670 | Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com> |
2671 | ||
2672 | * libc/include/stdlib.h: Avoid declaring cfree under Cygwin. | |
2673 | * libc/include/malloc.h: Ditto. Also remove obsolete declaration. | |
2674 | ||
ba9e88d2 CV |
2675 | Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com> |
2676 | ||
2677 | * libc/include/sys/unistd.h: Add defines for sysconf values | |
2678 | _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and | |
2679 | _SC_AVPHYS_PAGES. | |
2680 | ||
a8018ef3 CF |
2681 | Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com> |
2682 | ||
2683 | * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize | |
2684 | declarations for __CYGWIN__. | |
2685 | ||
b944c6f6 GK |
2686 | 2000-09-19 Geoffrey Keating <geoffk@cygnus.com> |
2687 | ||
2688 | * libc/signal/signal.c (__sigtramp_r): ISO C requires | |
2689 | case labels to be integral constant expressions, so | |
2690 | use an if/else tree instead. | |
2691 | (_raise_r): Likewise. | |
2692 | ||
7f18fcb4 JJ |
2693 | 2000-09-13 Jeff Johnston <jjohnstn@redhat.com> |
2694 | ||
2695 | * libc/machine/v850/setjmp.S: Fixed tab problems caused by | |
2696 | clipping patch from e-mail reader. | |
2697 | ||
242361df JJ |
2698 | 2000-09-13 Will Cohen <wcohen@redhat.com> |
2699 | ||
2700 | * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0. | |
2701 | Added return value 0. | |
2702 | (_longjmp): Allow longjmp to return value of second argument | |
2703 | passed to it. | |
2704 | ||
8a8c59b9 JJ |
2705 | 2000-09-06 Jeff Johnston <jjohnstn@redhat.com> |
2706 | ||
2707 | * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and | |
2708 | inline code to prevent having to include another header file. | |
2709 | ||
a385ae75 CF |
2710 | Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com> |
2711 | ||
2712 | * Makefile.am: Fix space vs. tab problem in install-data-local. | |
2713 | * Makefile.in: Regenerate. | |
2714 | ||
2715 | Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com> | |
2716 | ||
2717 | * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. | |
2718 | (_EXPARM): New macro for defining a function parameter. | |
2719 | * libc/include/stdlib.h: Use _EXPARM. | |
2720 | * libc/stdlib/mallocr.c: Don't build cfree for Cygwin. | |
2721 | ||
a36cd013 JJ |
2722 | 2000-09-05 Manfred Hollstein <manfredh@redhat.com> |
2723 | ||
2724 | * Makefile.am (install-data-local): Use optional $(DESTDIR) where | |
2725 | required, as documented in the gnu coding standards. | |
2726 | * Makefile.in: Regenerate. | |
2727 | ||
f825dfda JJ |
2728 | 2000-09-05 Jeff Johnston <jjohnstn@redhat.com> |
2729 | ||
2730 | * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to | |
2731 | make O_NDELAY and O_NONBLOCK have the same value. | |
2732 | ||
4ba9aab7 JJ |
2733 | 2000-08-30 Kazu Hirata <kazu@hxi.com> |
2734 | ||
2735 | * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size. | |
2736 | ||
db7acc38 JJ |
2737 | 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2738 | ||
2739 | * libc/posix/execve.c: included unistd.h for "_execve" prototype. | |
2740 | * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed | |
2741 | "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like | |
2742 | everywhere else. | |
2743 | ||
44e36af4 GK |
2744 | 2000-08-30 Geoffrey Keating <geoffk@cygnus.com> |
2745 | ||
2746 | * libc/string/swab.c: Specify that it's defined in <unistd.h>. | |
2747 | * libc/include/string.h: Don't include <sys/types.h>, | |
2748 | as it causes really bad namespace pollution. Don't declare | |
2749 | swab(), it is properly declared in unistd.h. | |
2750 | ||
00a2f168 JJ |
2751 | 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2752 | ||
2753 | * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed | |
2754 | (broken) support for non-existent /etc/passwd field "comment". | |
2755 | ||
6beeb240 JJ |
2756 | 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2757 | ||
2758 | * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen | |
2759 | only if _DIRENT_HAVE_D_NAMLEN is defined. | |
2760 | (alphasort): aligned prototype with | |
2761 | libc/sys/cygwin/sys/dirent.h and simplified function body. | |
2762 | * libc/posix/telldir.c (telldir): changed "telldir" prototype to | |
2763 | long telldir (DIR *) as mentioned in annex B of POSIX.1 | |
2764 | ||
ef44da42 JJ |
2765 | 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2766 | ||
2767 | * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type | |
2768 | of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined; | |
2769 | Added __CLI and __STI macros (controlled via | |
2770 | _I386MACH_ALLOW_HW_INTERRUPTS macro). | |
2771 | * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S | |
2772 | libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S | |
2773 | libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S | |
2774 | libc/machine/i386/f_log.S libc/machine/i386/f_log10.S | |
2775 | libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S | |
2776 | libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S | |
2777 | libc/machine/i386/memchr.S libc/machine/i386/memcmp.S | |
2778 | libc/machine/i386/memcpy.S libc/machine/i386/memmove.S | |
2779 | libc/machine/i386/memset.S libc/machine/i386/setjmp.S | |
2780 | libc/machine/i386/strchr.S libc/machine/i386/strlen.S: | |
2781 | (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol) | |
2782 | for all global entry points. | |
2783 | * libc/machine/i386/setjmp.S: removed code replicated in | |
2784 | libc/machine/i386/i386mach.h and included i386mach.h instead; | |
2785 | Use __CLI and __STI instead of cli and sti. | |
2786 | ||
14d3488d DD |
2787 | 2000-08-25 DJ Delorie <dj@redhat.com> |
2788 | ||
2789 | * libc/include/sys/unistd.h (environ): this one isn't from the | |
2790 | DLL, no __IMPORT | |
2791 | ||
c9ca4412 CF |
2792 | Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com> |
2793 | ||
2794 | * libc/stdlib/system.c (do_system): Eliminate explicit declaration of | |
2795 | environ when compiling under cygwin since it is already declared in | |
2796 | unistd.h. | |
2797 | ||
2d5862de JJ |
2798 | 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2799 | ||
2800 | * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions | |
2801 | like x << y-z to the equivalent x << (y-z). | |
2802 | (d2b): changed if statements with assignment to perform the | |
2803 | assignment prior to the if check. | |
2804 | * libc/reent/reent.c: included stdlib.h for "_free_r" prototype. | |
2805 | * libc/unix/getpass.c (getpass): moved "echo" assignment out of if. | |
2806 | * libc/unix/ttyname.c: included string.h for "strcpy" prototype. | |
2807 | * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and || | |
2808 | precedence. | |
2809 | * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c). | |
2810 | Added "_execve" prototype (for execl.c, execle.c, execv.c, and | |
2811 | execve.c). | |
2812 | * libc/posix/popen.c (popen): added parentheses to clarify && and || | |
2813 | precedence. | |
2814 | * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to | |
2815 | clarify && and || precendence (and to remove pascalism). | |
2816 | * libm/math/e_sinh.c (__ieee754_sinh): Ditto. | |
2817 | * libm/math/s_infconst.c: added another pair of braces to all | |
2818 | initializers for __infinity (need three: for __infinity[1] array, | |
2819 | for union __dmath, and for i[2]). | |
2820 | ||
0888fedd JJ |
2821 | 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2822 | ||
199359f0 JJ |
2823 | * libc/stdlib/abort.c: changed description: uses "raise" instead of |
2824 | "getpid" and "kill"; added: uses "write" and "_exit". | |
2825 | Also included unistd.h for "_exit" prototype. | |
2826 | * libc/stdlib/system.c: included unistd.h for "execve" prototype, | |
2827 | reent.h for "_fork_r" and "_wait_r" prototypes. | |
2828 | (do_system): changed extern char *environ[] to POSIX-friendly | |
2829 | extern char **environ. | |
2830 | * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp" | |
2831 | prototypes. | |
2832 | * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype. | |
2833 | * libc/reent/execr.c: included sys/wait.h for "wait" prototype. | |
2834 | * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype. | |
2835 | * libc/reent/openr.c: included fcntl.h for "open" prototype. | |
2836 | * libc/reent/signalr.c: included signal.h for "kill" prototype, | |
2837 | unistd.h for "getpid" prototype. | |
2838 | * libc/reent/statr.c: included sys/stat.h for "stat" prototype. | |
2839 | * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype. | |
2840 | * libc/unix/getut.c (utmpname): removed local, incorrect "strdup" | |
2841 | prototype. Also included stdlib.h for "abort", string.h for | |
2842 | "strdup" and "strncmp" prototypes. | |
2843 | * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and | |
2844 | "strncpy", unistd.h for "read" and "close" prototypes. | |
2845 | * libc/posix/execvp.c: included string.h for "strchr", "strlen", and | |
2846 | "strcat" prototypes. | |
2847 | ||
2848 | 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch> | |
2849 | ||
0888fedd JJ |
2850 | * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's |
2851 | used later (ifdef __SCLE) | |
2852 | * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's | |
2853 | used later (ifdef MB_CAPABLE) | |
2854 | * libc/string/memset.c (memset): removed unused variables "count" | |
2855 | and "unaligned_addr" | |
2856 | * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and | |
2857 | "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) | |
2858 | * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" | |
2859 | and "gid" | |
2860 | ||
a334e5ef JJ |
2861 | 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2862 | ||
2863 | * libc/stdlib/envlock.c: changed documented "__env_lock" and | |
2864 | "__env_unlock" prototype from "void *" or "char *" to | |
2865 | "struct _reent *" to match real function. Also added include | |
2866 | of envlock.h. | |
2867 | * libc/stdlib/mlock.c: changed documented "__malloc_lock" and | |
2868 | "__malloc_unlock" prototype from "void *" or "char *" to | |
2869 | "struct _reent *" to match real function. | |
2870 | * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock" | |
2871 | prototypes (for getenv_r.c and setenv_r.c). | |
2872 | ||
644b7f26 DD |
2873 | 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch> |
2874 | ||
2875 | * libc/unix/getut.c (utmpname): added _CONST to reflect common use | |
2876 | and prototype in cygwin's utmp.h | |
2877 | ||
5bacbf10 JJ |
2878 | 2000-08-16 Eric Fifer <efifer@sanwaint.com> |
2879 | ||
2880 | * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1 | |
2881 | ||
38a6bf98 NC |
2882 | 2000-08-09 Nick Clifton <nickc@cygnus.com> |
2883 | ||
2884 | * libc/sys/arm/setjmp.S: Recode to clean up function prologues and | |
2885 | epilogue and to allow the functions to be used in a Thumb based | |
2886 | toolchain. | |
2887 | ||
befe0fb3 JJ |
2888 | 2000-08-08 Jeff Johnston <jjohnstn@redhat.com> |
2889 | ||
2890 | * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code | |
2891 | so size of 0 results in nothing being written to string. | |
2892 | Also fixed code so that when size is non-zero, there is only | |
2893 | a maximum of size - 1 characters written to the array and | |
2894 | a nul terminator is appended at the end. | |
2895 | * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto. | |
2896 | ||
749d9bcd DD |
2897 | 2000-08-01 DJ Delorie <dj@redhat.com> |
2898 | ||
2899 | * libc/include/sys/config.h: define __IMPORT appropriately | |
2900 | * libc/include/ctype.h (_ctype_): use __IMPORT | |
2901 | * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto | |
2902 | * libc/include/math.h (__mb_cur_max): ditto | |
2903 | * libc/include/time.h (_timezone, _daylight, _tzname): ditto | |
2904 | * libc/include/unctrl.h (__unctrl, __unctrllen): ditto | |
2905 | * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto | |
2906 | * libc/include/unistd.h (environ): ditto | |
2907 | ||
7c110b17 MM |
2908 | 2000-07-28 Michael Meissner <meissner@redhat.com> |
2909 | ||
2910 | * libc/include/math.h (__infinity): Declare as an array without | |
2911 | bounds to get around small data support. Rewrite Cygwin support | |
2912 | to be more general. | |
2913 | * libm/math/s_infconst.c (__infinity): Ditto. | |
2914 | * libm/mathfp/s_infconst.c (__infinity): Ditto. | |
2915 | ||
bf7be721 CF |
2916 | Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com> |
2917 | ||
2918 | * libc/include/math.h: Use appropriate dll import linkage for | |
2919 | __infinity under Cygwin. | |
2920 | ||
91a8d90b DD |
2921 | 2000-07-13 DJ Delorie <dj@cygnus.com> |
2922 | ||
2923 | * libc/stdio/vfprintf.c: pad 0.0 correctly with %e | |
2924 | ||
ba2048d3 JJ |
2925 | Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com> |
2926 | ||
2927 | * libc/sys/arm/crt0.S (.LC30): Added missing length parameter | |
2928 | to argument list for AngelSWI_Reason_GetCmdLine. | |
2929 | ||
4634da64 JJ |
2930 | Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> |
2931 | ||
2932 | * configure.host: Add support for AVR target. | |
2933 | * libc/include/machine/ieeefp.h: Likewise. | |
2934 | * libc/include/sys/config.h: Likewise. | |
2935 | ||
b19f72a2 RK |
2936 | Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com> |
2937 | ||
2938 | * README: Newlib 1.8.2 must be built in a separate directory | |
2939 | than the sources. | |
2940 | ||
a704d94a JJ |
2941 | Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
2942 | ||
2943 | * libc/include/sys/reent.h (_rand_next): Added __extension__ | |
2944 | qualifier as long long type is not strict ANSI. | |
2945 | * libc/stdlib/rand.c (rand): Added __extension__ qualifier | |
2946 | to long long constant. | |
2947 | ||
b585720b CV |
2948 | Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de> |
2949 | ||
2950 | * libc/include/sys/unistd.h: Add prototypes for `seteuid' and | |
2951 | `setegid' provided by Cygwin. | |
2952 | ||
01c327ba CV |
2953 | Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de> |
2954 | ||
2955 | * libc/stdio/fdopen.c: Take explicit given bin/textmode into | |
2956 | account for Cygwin. | |
2957 | ||
46a43a99 JJ |
2958 | Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
2959 | ||
2960 | * libc/include/sys/reent.h (_rand_next): Changed to | |
2961 | unsigned long long and moved to end of _reent struct in _new union. | |
2962 | (_REENT_INIT): Changed to move _rand_next initialization. | |
2963 | * libc/stdlib/rand.c (rand): Changed to use unsigned long long | |
2964 | linear congruential algorithm that is used by DJGPP. | |
2965 | ||
a68078cb RK |
2966 | Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com> |
2967 | ||
2968 | * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX. | |
2969 | * libc/include/sys/config.h: Define __RAND_MAX. | |
2970 | ||
518882f3 JJ |
2971 | Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
2972 | ||
2973 | * libc/stdlib/rand_r.c: New algorithm that meets minimal | |
2974 | standard. | |
2975 | ||
d51d968a CF |
2976 | Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com> |
2977 | ||
2978 | * libc/include/string.h: Work around problem with strsignal and gdb. | |
2979 | ||
d2dd5765 CF |
2980 | Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com> |
2981 | ||
2982 | * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__ | |
2983 | * libc/include/malloc.h: Ditto. | |
2984 | * libc/include/process.h: Ditto. | |
2985 | * libc/include/stdio.h: Ditto. | |
2986 | * libc/include/stdlib.h: Ditto. | |
2987 | * libc/include/time.h: Ditto. | |
2988 | * libc/include/machine/setjmp.h: Ditto. | |
2989 | * libc/include/sys/errno.h: Ditto. | |
2990 | * libc/include/sys/signal.h: Ditto. | |
2991 | * libc/include/sys/stat.h: Ditto. | |
2992 | * libc/include/sys/time.h: Ditto. | |
2993 | * libc/include/sys/unistd.h: Ditto. | |
2994 | * libc/include/string.h: Ditto. strsignal should return a const char *. | |
2995 | ||
88870218 JJ |
2996 | 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl> |
2997 | ||
2998 | * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings. | |
2999 | * libm/common/s_log1p.c (log1p): Likewise. | |
3000 | * libm/common/s_scalbn.c (scalbn): Likewise. | |
3001 | * libm/math/e_log.c: Likewise. | |
3002 | * libm/math/e_asin.c: Likewise. | |
3003 | * libm/math/ef_asin.c: Likewise. | |
3004 | * libm/math/e_j0.c (pzero, qzero): Remove redundant test. | |
3005 | * libm/math/e_j1.c (pone, qone): Likewise. | |
3006 | * libm/math/ef_j0.c (pzerof, qzerof): Likewise. | |
3007 | * libm/math/ef_j1.c (ponef, qonef): Likewise. | |
3008 | * libm/mathfp/e_j0.c (pzero, qzero): Likewise. | |
3009 | * libm/mathfp/e_j1.c (pone, qone): Likewise. | |
3010 | * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise. | |
3011 | * libm/mathfp/ef_j1.c (ponef, qonef): Likewise. | |
3012 | ||
c4e1aa01 DD |
3013 | 2000-05-19 DJ Delorie <dj@cygnus.com> |
3014 | ||
3015 | * libc/stdio/stdio.c (__stextmode): new, see if file is text mode | |
3016 | (__sread): always read in binary mode | |
3017 | (__swrite): always write in binary mode | |
3018 | * libc/include/stdio.h: no getc/putc macros for cygwin; causes | |
3019 | compatibility issues with different dll versions | |
3020 | * libc/stdio/fopen.c: use __stextmode | |
3021 | * libc/stdio/fdopen.c: ditto | |
3022 | * libc/stdio/freopen.c: ditto | |
3023 | * libc/stdio/findfp.c: set up __SCLE for std{in,out,err} | |
3024 | * libc/stdio/local.h: declare __stextmode | |
3025 | ||
f4393261 DD |
3026 | 2000-05-18 DJ Delorie <dj@cygnus.com> |
3027 | ||
3028 | * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE | |
3029 | ||
2b533fac JJ |
3030 | Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3031 | ||
3032 | * libc/include/ctype.h: Changed tolower and toupper macros | |
3033 | to use __extension__ to prevent pedantic warnings. | |
3034 | ||
75362a76 RK |
3035 | Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com> |
3036 | ||
3037 | * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval | |
3038 | structures. | |
3039 | ||
ec463fc7 JW |
3040 | Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com> |
3041 | ||
3042 | * libc/include/machine/ieeefp.h: Add ia64 support. | |
3043 | * configure.host: Likewise. | |
3044 | ||
f35ceefa JJ |
3045 | Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru> |
3046 | ||
3047 | * libc/time/asctime_r.c (asctime_r): Change output format. Day of | |
3048 | month is now padded with space, not zero. This now conforms to | |
3049 | ANSI standard. | |
3050 | ||
b96fca8c CV |
3051 | Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de> |
3052 | ||
3053 | * libc/include/sys/errno.h: Add define for ENOSHARE ("No such | |
3054 | host or network path") used by cygwin. Add some comments. | |
3055 | ||
49d64538 JJ |
3056 | Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com> |
3057 | ||
3058 | * libc/include/stdio.h (FILE): define __SCLE for "convert line | |
3059 | endings" for Cygwin. | |
3060 | (__sgetc): convert line endings if needed | |
3061 | (__sputc): ditto | |
3062 | * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode | |
3063 | * libc/stdio/fopen.c (_fopen_r): ditto | |
3064 | * libc/stdio/freopen.c (freopen): ditto | |
3065 | * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE | |
3066 | * libc/stdio/fvwrite.c (__sfvwrite): ditto | |
3067 | ||
91fb1e7f AO |
3068 | Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com> |
3069 | ||
3070 | * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use | |
3071 | post-increment when it is worth it, spacewise. | |
3072 | ||
c87be3e4 JJ |
3073 | Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> |
3074 | ||
3075 | * libc/signal/signal.c (_signal_r) : Removed unused local variable temp. | |
3076 | * libc/stdio/findfp.c (std): Added declaration of flags and file. | |
3077 | * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int | |
3078 | return type. | |
3079 | * libc/stdio/putchar.c (putchar): Added return statement. | |
3080 | * libc/stdio/refill.c (lflush): Added correct parentheses. | |
3081 | * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto. | |
3082 | * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which | |
3083 | prints long value to use l qualifier. | |
3084 | * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning | |
3085 | messages and initialized local values: ilim, ilim1, and spec_case. | |
3086 | * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp. | |
3087 | * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses. | |
3088 | * libc/stdlib/mprec.c: Ditto. | |
3089 | * libc/stdlib/setenv_r.c: Ditto. | |
3090 | * libc/stdlib/strtod.c: Ditto. | |
3091 | * libc/stdlib/strtol.c: Ditto. | |
3092 | * libc/stdlib/strtoul.c: Ditto. | |
3093 | * libm/common/sf_expm1.c: Added curly braces to if else clauses. | |
3094 | * libm/common/sf_log1p.c: Ditto. | |
3095 | * libm/common/sf_scalbn.c: Ditto. | |
3096 | * libm/math/ef_log.c: Ditto. | |
3097 | ||
11f5b065 CV |
3098 | Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de> |
3099 | ||
3100 | * libc/posix/execvp.c (execvp): Check path for | |
3101 | trailing slash. | |
3102 | ||
796e3b20 CV |
3103 | Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de> |
3104 | ||
3105 | * libc/include/sys/unistd.h: Add prototypes for | |
3106 | fchmod, fchown, lchown. | |
3107 | ||
b489803a JJ |
3108 | Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3109 | ||
3110 | * acinclude.m4: Changed release to 1.8.2. | |
3111 | * aclocal.m4 configure doc/aclocal.m4 doc/configure | |
3112 | libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 | |
3113 | libc/machine/configure libc/machine/a29k/aclocal.m4 | |
3114 | libc/machine/a29k/configure libc/machine/arm/aclocal.m4 | |
3115 | libc/machine/arm/configure libc/machine/d10v/aclocal.m4 | |
3116 | libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 | |
3117 | libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 | |
3118 | libc/machine/fr30/configure libc/machine/h8300/aclocal.m4 | |
3119 | libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 | |
3120 | libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 | |
3121 | libc/machine/hppa/configure libc/machine/i386/aclocal.m4 | |
3122 | libc/machine/i386/configure libc/machine/i960/aclocal.m4 | |
3123 | libc/machine/i960/configure libc/machine/m32r/aclocal.m4 | |
3124 | libc/machine/m32r/configure libc/machine/m68k/aclocal.m4 | |
3125 | libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 | |
3126 | libc/machine/m88k/configure libc/machine/mips/aclocal.m4 | |
3127 | libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 | |
3128 | libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 | |
3129 | libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 | |
3130 | libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 | |
3131 | libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 | |
3132 | libc/machine/sh/configure libc/machine/sparc/aclocal.m4 | |
3133 | libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 | |
3134 | libc/machine/tic80/configure libc/machine/v850/aclocal.m4 | |
3135 | libc/machine/v850/configure libc/machine/w65/aclocal.m4 | |
3136 | libc/machine/w65/configure libc/machine/z8k/aclocal.m4 | |
3137 | libc/machine/z8k/configure libc/sys/aclocal.m4 | |
3138 | libc/sys/aclocal.m4 libc/sys/configure | |
3139 | libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure | |
3140 | libc/sys/arm/aclocal.m4 libc/sys/arm/configure | |
3141 | libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure | |
3142 | libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure | |
3143 | libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure | |
3144 | libc/sys/go32/aclocal.m4 libc/sys/go32/configure | |
3145 | libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure | |
3146 | libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure | |
3147 | libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure | |
3148 | libc/sys/netware/aclocal.m4 libc/sys/netware/configure | |
3149 | libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure | |
3150 | libc/sys/sh/aclocal.m4 libc/sys/sh/configure | |
3151 | libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure | |
3152 | libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure | |
3153 | libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure | |
3154 | libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure | |
3155 | libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure | |
3156 | libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure | |
3157 | libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure | |
3158 | libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure | |
3159 | libc/sys/w65/aclocal.m4 libc/sys/w65/configure | |
3160 | libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure | |
3161 | libm/aclocal.m4 libm/configure: Regenerated. | |
3162 | ||
79908d67 NC |
3163 | 2000-03-24 Nick Clifton <nickc@cygnus.com> |
3164 | ||
3165 | * libc/sys/arm/syscalls.c: Fix compile time warnings. | |
3166 | (do_AngelSWI): Add "cc" to list o registers clobbered. | |
3167 | ||
7684ddaf FN |
3168 | Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com> |
3169 | ||
3170 | * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid | |
3171 | information to be clobbered by an Angel C library support syscall. | |
3172 | ||
b8ec20c8 JJ |
3173 | Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3174 | ||
3175 | * libc/stdlib/envlock.c: Fixed comment typo. | |
3176 | ||
fae4c299 JJ |
3177 | Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3178 | ||
3179 | * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point | |
3180 | code to update nread as each character is processed instead | |
3181 | of using buffer contents which throw away leading zeroes. | |
3182 | ||
dc98804b RK |
3183 | Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru> |
3184 | ||
3185 | * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf. | |
3186 | ||
5ed2f523 JJ |
3187 | Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3188 | ||
3189 | * libc/include/string.h: Include <sys/types.h>. | |
3190 | ||
1cf0ee34 AO |
3191 | Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
3192 | ||
3193 | * libc/stdio/putw.c (putw): Return 0 on success, to be compliant | |
3194 | with XSH5, not SVID. | |
3195 | ||
e9c94978 JJ |
3196 | Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3197 | ||
3198 | * libc/include/string.h: Changed last argument back to ssize_t | |
3199 | to make it compatible with XPG4 definition which is | |
3200 | defined in <unistd.h>. There is a conflict in the SVID 3 | |
3201 | and XPG4 definitions and newlib will settle with XPG4. | |
3202 | * libc/string/swab.c: Ditto. | |
3203 | ||
3072163c JJ |
3204 | Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3205 | ||
3206 | * libc/include/string.h: Changed last argument to size_t. | |
3207 | * libc/string/swab.c: Changed last argument to size_t. | |
3208 | ||
f205ea7a AO |
3209 | Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
3210 | ||
3211 | * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c. | |
3212 | (CHEWOUT_FILES): Added unlinkr.def. | |
3213 | * libc/reent/Makefile.in: Rebuilt. | |
3214 | * libc/sys.tex: Include unlinkr.def. | |
3215 | * libc/reent/linkr.c (_unlink_r): Moved to... | |
3216 | * libc/reent/unlinkr.c: ... new file. | |
3217 | ||
85dd2e5b AO |
3218 | Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
3219 | ||
3220 | * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c. | |
3221 | (CHEWOUT_FILES): Added swab.def. | |
3222 | * libc/string/Makefile.in: Rebuilt. | |
3223 | * libc/string/string.tex: Include swab.def. | |
3224 | * libc/include/string.h (swab): Declare. | |
3225 | * libc/string/swab.c: New file. | |
3226 | ||
c5053058 AO |
3227 | Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
3228 | ||
3229 | * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c. | |
3230 | (CHEWOUT_FILES): Added getw.def and putw.def. | |
3231 | * libc/stdio/Makefile.in: Rebuilt. | |
3232 | * libc/stdio/stdio.tex: Include getw.def and putw.def. | |
3233 | * libc/stdio/getw.c: New file. | |
3234 | * libc/stdio/putw.c: New file. | |
3235 | ||
dbaf37cf JJ |
3236 | Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3237 | ||
3238 | * libc/stdio/flags.c (__sflags): Added check that mode[1] | |
3239 | is non-null before looking at mode[2]. | |
3240 | ||
bc019ef2 RK |
3241 | Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net> |
3242 | ||
3243 | * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS. | |
3244 | * libm/mathfp/sf_atan.c: Ditto. | |
3245 | ||
3246 | Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com> | |
3247 | ||
3248 | * libc/include/sys/stat.h: Add RTEMS prototype for lstat. | |
3249 | ||
cd641b2d RK |
3250 | Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net> |
3251 | ||
3252 | * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be | |
3253 | _DOUBLE_IS_32BITS. | |
3254 | ||
b0ba0ac2 JJ |
3255 | Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com> |
3256 | ||
3257 | * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT | |
3258 | call prior to calling _VFPRINTF_R so reentrant data area is set. | |
3259 | (_VFPRINTF_R): Removed now extraneous CHECK_INIT call. | |
3260 | ||
8a0efa53 CF |
3261 | Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
3262 | ||
3263 | * libc/stdio/vfscanf.c (limits.h): #include. | |
3264 | (MAX_LONG_LEN): #define. | |
3265 | (__svfscanf): Handle floating point numbers with arbitrary amounts | |
3266 | of leading zeroes. | |
3267 | ||
3268 | 2000-02-15 Nick Clifton <nickc@cygnus.com> | |
3269 | ||
3270 | * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to | |
3271 | zero. Set the blocksize to 1024/ | |
3272 | ||
3273 | Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com> | |
3274 | ||
3275 | * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size | |
3276 | with line buffering. | |
3277 | ||
3278 | Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com> | |
3279 | ||
3280 | * acinclude.m4: Changed include directory for winsup headers. | |
3281 | * aclocal.m4 configure libc/aclocal.m4 | |
3282 | libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in | |
3283 | libc/locale/Makefile.in libc/machine/aclocal.m4 | |
3284 | libc/machine/configure libc/machine/a29k/aclocal.m4 | |
3285 | libc/machine/a29k/configure libc/machine/arm/aclocal.m4 | |
3286 | libc/machine/arm/configure libc/machine/d10v/aclocal.m4 | |
3287 | libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 | |
3288 | libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 | |
3289 | libc/machine/fr30/configure | |
3290 | libc/machine/h8300/aclocal.m4 | |
3291 | libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 | |
3292 | libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 | |
3293 | libc/machine/hppa/configure libc/machine/i386/aclocal.m4 | |
3294 | libc/machine/i386/configure libc/machine/i960/aclocal.m4 | |
3295 | libc/machine/i960/configure libc/machine/m32r/aclocal.m4 | |
3296 | libc/machine/m32r/configure libc/machine/m68k/aclocal.m4 | |
3297 | libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 | |
3298 | libc/machine/m88k/configure libc/machine/mips/aclocal.m4 | |
3299 | libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 | |
3300 | libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 | |
3301 | libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 | |
3302 | libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 | |
3303 | libc/machine/powerpc/configure | |
3304 | libc/machine/sh/aclocal.m4 | |
3305 | libc/machine/sh/configure libc/machine/sparc/aclocal.m4 | |
3306 | libc/machine/sparc/configure | |
3307 | libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure | |
3308 | libc/machine/v850/aclocal.m4 libc/machine/v850/configure | |
3309 | libc/machine/w65/aclocal.m4 libc/machine/w65/configure | |
3310 | libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure | |
3311 | libc/misc/Makefile.in libc/posix/Makefile.in | |
3312 | libc/reent/Makefile.in | |
3313 | libc/signal/Makefile.in | |
3314 | libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure | |
3315 | libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure | |
3316 | libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4 | |
3317 | libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 | |
3318 | libc/sys/cygwin/configure libc/sys/d10v/Makefile.in | |
3319 | libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure | |
3320 | libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure | |
3321 | libc/sys/go32/aclocal.m4 libc/sys/go32/configure | |
3322 | libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure | |
3323 | libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure | |
3324 | libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure | |
3325 | libc/sys/netware/aclocal.m4 libc/sys/netware/configure | |
3326 | libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure | |
3327 | libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4 | |
3328 | libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 | |
3329 | libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 | |
3330 | libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 | |
3331 | libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 | |
3332 | libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 | |
3333 | libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 | |
3334 | libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 | |
3335 | libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 | |
3336 | libc/sys/tic80/configure libc/sys/w65/aclocal.m4 | |
3337 | libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 | |
3338 | libc/sys/z8ksim/configure libc/syscalls/Makefile.in | |
3339 | libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4 | |
3340 | libm/configure: Regenerated. | |
3341 | ||
3342 | Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com> | |
3343 | ||
3344 | * libc/stdlib/putenv_r.c (_putenv_r): New file. | |
3345 | * libc/stdlib/strdup_r.c (_strdup_r): New file. | |
3346 | * libc/include/string.h: Added _strdup_r. | |
3347 | * libc/stdlib/putenv.c: Added call to reentrant version. | |
3348 | * libc/stdlib/strdup.c: Ditto. | |
3349 | * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r. | |
3350 | * libc/include/stdlib.h: Ditto. | |
3351 | * libc/stdlib/Makefile.in: Regenerated. | |
3352 | * libc/string/Makefile.in: Regenerated. | |
3353 | * libc/stdlib/setenv.c: Added reentrant version of unsetenv. | |
3354 | * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory | |
3355 | management calls to reentrant versions. | |
3356 | * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper. | |
3357 | * libc/stdlib/wctomb.c: Ditto. | |
3358 | * libc/stdlib/mblen.c: Ditto. | |
3359 | * libc/stdlib/mbstowcs.c: Ditto. | |
3360 | * libc/stdlib/mbtowc.c: Ditto. | |
3361 | * libc/stdlib/getenv.c: Ditto. | |
3362 | * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r, | |
3363 | and _strdup_r. | |
3364 | ||
3365 | Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com> | |
3366 | ||
3367 | patch from Corinna Vinschen <corinna@vinschen.de> | |
3368 | * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16. | |
3369 | ||
bc019ef2 | 3370 | Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru> |
8a0efa53 CF |
3371 | |
3372 | * libm/mathfp/s_atangent.c: Fix exponent calculation. | |
3373 | * libm/mathfp/s_ldexp.c: Ditto. | |
3374 | * libm/mathfp/sf_atangent.c: Ditto. | |
3375 | * libm/mathfp/sf_ldexp.c: Ditto. | |
3376 | ||
3377 | Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3378 | ||
3379 | * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented | |
3380 | * libc/include/locale.h: define NULL to be 0. | |
3381 | ||
3382 | Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com> | |
3383 | ||
3384 | * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first | |
3385 | function. | |
3386 | ||
3387 | Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com) | |
3388 | ||
3389 | * libc/machine/mn10300/setjmp.S: Handle am33. | |
3390 | ||
3391 | 1999-11-26 Nick Clifton <nickc@cygnus.com> | |
3392 | ||
3393 | * libc/sys/arm/syscalls.c: Add function prototypes. | |
3394 | (stack_ptr): Move declaration before function definitions. | |
3395 | ||
3396 | Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3397 | ||
3398 | * NEWS: Updated version information. | |
3399 | * README: Ditto. | |
3400 | ||
3401 | Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3402 | ||
3403 | * libc/machine/i386/strchr.S: Fixed alignment test. | |
3404 | ||
3405 | Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com> | |
3406 | ||
3407 | * libc/sys/d10v/crt0.S (_start): Construct a real stack frame. | |
3408 | ||
3409 | Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3410 | ||
3411 | * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU | |
3412 | ensuring that there is space between the two. | |
3413 | ||
3414 | Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com> | |
3415 | ||
3416 | * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case | |
3417 | only. | |
3418 | ||
3419 | 1999-10-08 Vadim Egorov <egorovv@1c.ru> | |
3420 | ||
3421 | * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin | |
3422 | section | |
3423 | ||
3424 | Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de> | |
3425 | ||
3426 | * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES | |
3427 | * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro | |
3428 | ||
3429 | Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com> | |
3430 | * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes | |
3431 | per POSIX 1003.1b. | |
3432 | * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes | |
3433 | per POSIX 1003.1b. | |
3434 | ||
3435 | 1999-09-13 DJ Delorie <dj@cygnus.com> | |
3436 | ||
3437 | * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS | |
3438 | also. | |
3439 | ||
3440 | Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3441 | ||
3442 | * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ, | |
3443 | also note BUFSIZ as its size. | |
3444 | ||
3445 | Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com> | |
3446 | ||
3447 | * configure.host: Corrected feature defines for RTEMS. | |
3448 | * libc/include/sys/stat.h: Added protototype for RTEMS mknod. | |
3449 | * libc/include/sys/stat.h: mkfifo() should take const path arg. | |
3450 | * libc/include/sys/unistd.h: pathconf() should take const path arg. | |
3451 | Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS. | |
3452 | Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and | |
3453 | _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO, | |
3454 | _PC_PRIO_IO, and _PC_SYNC_IO. | |
3455 | * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c. | |
3456 | * libc/machine/m68k/Makefile.in: Regenerated. | |
3457 | * libc/machine/m68k/strcpy.c: New file. | |
3458 | * libc/machine/m68k/strlen.c: New file. | |
3459 | * libc/stdio/tmpnam.c: Always make the returned name usable. | |
3460 | * libc/sys/rtems/crt0.c: New version that passes all autoconf tests. | |
3461 | * libc/sys/rtems/sys/dirent.h: New file. | |
3462 | * libc/sys/rtems/sys/types.h: Added dev_t. | |
3463 | ||
3464 | Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com> | |
3465 | ||
3466 | * libc/stdlib/mprec.c: Fixed unitialized variable problem. | |
3467 | ||
3468 | Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3469 | ||
3470 | * libc/stdio/ftell.c (ftell): Backing off Joern's fix and | |
3471 | my patch. | |
3472 | ||
3473 | Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com> | |
3474 | ||
3475 | patch from Jeff Johnston <jjohnstn@cygnus.com> | |
3476 | * libc/stdio/ftell.c (ftell): Avoid using buffer position when the | |
3477 | buffer is not in a useful state. | |
3478 | ||
3479 | 1999-09-01 Nick Clifton <nickc@cygnus.com> | |
3480 | ||
3481 | * libc/sys/arm/syscalls.c (_link): Add stub. | |
3482 | ||
3483 | Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk> | |
3484 | ||
3485 | * ftell.c (ftell): Use actual position within buffer for text mode. | |
3486 | * findfp.c (std): Initialize ptr->_bf._size. | |
3487 | ||
3488 | Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com> | |
3489 | ||
3490 | * libc/include/sys/unistd.h: Add nice() declaration. | |
3491 | ||
3492 | 1999-08-09 Nick Clifton <nickc@cygnus.com> | |
3493 | ||
3494 | * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and | |
3495 | declare as a thumb function so that the disassembler will see the | |
3496 | mode change. | |
3497 | ||
3498 | Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3499 | ||
3500 | * libc/reent/reent.tex: Updated list of reentrant functions. | |
3501 | ||
3502 | 1999-07-09 Michael Meissner <meissner@cygnus.com> | |
3503 | ||
3504 | * libc/include/stdlib.h (_findenv{,_r}): Add prototypes. | |
3505 | ||
3506 | Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3507 | ||
3508 | * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to | |
3509 | separate file. | |
3510 | * libc/stdio/snprintf.c: New file. | |
3511 | * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to | |
3512 | separate file. | |
3513 | * libc/stdio/vsnprintf.c: New file. | |
3514 | * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c. | |
3515 | * libc/stdio/Makefile.in: Regenerated. | |
3516 | ||
3517 | Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com> | |
3518 | ||
3519 | Patch submitted by Egor Duda <deo@logos-m.ru>: | |
3520 | * libc/include/stdio.h: Add declarations for *nprintf. | |
3521 | * libc/stdio/sprintf.c (snprintf): New function. | |
3522 | (_snprintf_r): New function. | |
3523 | * libc/stdio/vsprintf.c (vsnprintf): New function. | |
3524 | (_vnsprintf_r): New function. | |
3525 | ||
3526 | Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3527 | ||
3528 | * libc/Makefile.am (stmp-targetdep): Remove extraneous blank. | |
3529 | * libm/Makefile.am (stmp-targetdep): Ditto. | |
3530 | * libc/Makefile.in: Regenerated. | |
3531 | * libm/Makefile.in: Ditto. | |
3532 | ||
3533 | Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3534 | ||
3535 | * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS. | |
3536 | * libm/Makefile.am (stmp-targetdep): Ditto. | |
3537 | * libc/Makefile.in: Regenerated. | |
3538 | * libm/Makefile.in: Ditto. | |
3539 | ||
3540 | Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3541 | ||
3542 | * Makefile.am: Removed dependencies on all-recursive and added "." | |
3543 | to the SUBDIRS list to prevent infinite recursion from occurring. | |
3544 | Also removed any references to EXTRA_DATA. | |
3545 | * libc/Makefile.am: Ditto. | |
3546 | * libc/machine/Makefile.am: Ditto. | |
3547 | * libc/machine/i386/Makefile.am: Ditto. | |
3548 | * libm/Makefile.am: Ditto. | |
3549 | * libc/sys/Makefile.am: Ditto. | |
3550 | * Makefile.in: Regenerated. | |
3551 | * aclocal.m4: Ditto. | |
3552 | * configure: Ditto. | |
3553 | * doc/Makefile.in: Ditto. | |
3554 | * doc/aclocal.m4: Ditto. | |
3555 | * doc/configure: Ditto. | |
3556 | * libc/Makefile.in: Ditto. | |
3557 | * libc/aclocal.m4: Ditto. | |
3558 | * libc/configure: Ditto. | |
3559 | * libc/machine/Makefile.in: Ditto. | |
3560 | * libc/machine/aclocal.m4: Ditto. | |
3561 | * libc/machine/configure: Ditto. | |
3562 | * libc/machine/mn10300/Makefile.in: Ditto. | |
3563 | * libc/machine/mn10300/aclocal.m4: Ditto. | |
3564 | * libc/machine/mn10300/configure: Ditto. | |
3565 | * libc/sys/Makefile.in: Ditto. | |
3566 | * libc/sys/aclocal.m4: Ditto. | |
3567 | * libc/sys/configure: Ditto. | |
3568 | * libm/Makefile.in: Ditto. | |
3569 | * libm/aclocal.m4: Ditto. | |
3570 | * libm/configure: Ditto. | |
3571 | ||
3572 | Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3573 | ||
3574 | * libc/include/stdlib/stdlib.tex: Add link to env_lock. | |
3575 | ||
3576 | Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3577 | ||
3578 | * libc/include/stdlib.h: Add reentrant routines. | |
3579 | * libc/stdlib/Makefile.am: Add reentrant routines. | |
3580 | * libc/stdlib/Makefile.in: Ditto. | |
3581 | * libc/stdlib/envlock.c: New file. | |
3582 | * libc/stdlib/envlock.h: New file. | |
3583 | * libc/stdlib/getenv.c: Modify to call reentrant routine. | |
3584 | * libc/stdlib/getenv_r.c: New file. | |
3585 | * libc/stdlib/mblen.c: Modify to call reentrant routine. | |
3586 | * libc/stdlib/mblen_r.c: New file. | |
3587 | * libc/stdlib/setenv.c: Modify to call reentrant routine. | |
3588 | * libc/stdlib/setenv_r.c: New file. | |
3589 | * libc/stdlib/stdlib.tex: Add reentrant routines. | |
3590 | ||
3591 | Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com> | |
3592 | ||
3593 | * libc/include/sys/types.h: Define __MS_types__ whenever | |
3594 | cygwin or win32. | |
3595 | ||
3596 | Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com> | |
3597 | ||
3598 | * libc/include/machine/ieeefp.h: Always default to little | |
3599 | endian if Windows, regardless of architecture. | |
3600 | * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN | |
3601 | regardless of architecture. | |
3602 | ||
3603 | Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com> | |
3604 | ||
3605 | * libc/include/machine/setjmp.h: Accept CYGWIN define, even if | |
3606 | _WIN32 isn't defined. | |
3607 | ||
3608 | Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3609 | ||
3610 | * libm/common/s_rint.c (rint): Add volatile qualifier for | |
3611 | intermediate value w. | |
3612 | * libm/common/sf_rint.c (rintf): Ditto. | |
3613 | ||
3614 | Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3615 | ||
3616 | * libc/sys/arm/syscalls.c (remap_handle): Added check to | |
3617 | ensure that std streams are initialized before being referenced. | |
3618 | ||
3619 | 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com) | |
3620 | ||
3621 | * README: Update reference to newlib@cygnus.com new | |
3622 | newlib@sourceware.cygnus.com address. | |
3623 | ||
3624 | Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com> | |
3625 | ||
3626 | * libc/include/sys/types.h: Define MS_types if CYGWIN is defined. | |
3627 | * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is | |
3628 | defined, even if _WIN32 isn't defined. | |
3629 | ||
3630 | Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com> | |
3631 | ||
3632 | * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT. | |
3633 | ||
3634 | Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3635 | ||
3636 | * libc/include/sys/reent.h: Change Long and ULong to __Long and | |
3637 | __ULong. | |
3638 | * libc/stdlib/dtoa.c: Ditto. | |
3639 | * libc/stdlib/mprec.c: Ditto. | |
3640 | * libc/stdlib/mprec.h: Ditto. | |
3641 | * libc/stdlib/strtod.c: Ditto. | |
3642 | ||
3643 | 1999-04-21 Nick Clifton <nickc@cygnus.com> | |
3644 | ||
3645 | * configure.host (mcore): Remove mcore machine directory. | |
3646 | ||
3647 | 1999-04-18 Nick Clifton <nickc@cygnus.com> | |
3648 | ||
3649 | * libc/include/machine/ieeefp.h: Add support for mcore target. | |
3650 | * libc/include/machine/setjmp.h: Add support for mcore target. | |
3651 | * configure.host: Add support for mcore target. | |
3652 | ||
3653 | 1999-04-13 Mark Salter <msalter@cygnus.com> | |
3654 | ||
3655 | * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c | |
3656 | * libc/sys/arm/syscalls.c: Added isatty. | |
3657 | ||
3658 | Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3659 | ||
3660 | * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly | |
3661 | insert zeroes after significant digits. | |
3662 | ||
3663 | Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3664 | ||
3665 | * libc/stdio/vfprintf.c (cvt): Changed floating point | |
3666 | cvt routine to use union used by dtoa to properly determine | |
3667 | if the sign bit is on or not. | |
3668 | * libc/stdio/vfieeefp.h: New file | |
3669 | ||
3670 | Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3671 | ||
3672 | * aclocal.m4: Regenerated. | |
3673 | * configure: Regenerated. | |
3674 | ||
3675 | Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3676 | ||
3677 | * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing | |
3678 | f_tanf reference. | |
3679 | * libc/machine/i386/Makefile.in: Regenerated. | |
3680 | ||
3681 | Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3682 | ||
3683 | * acinclude.m4: Changed to work with new automake. | |
3684 | * configure: Regenerated. | |
3685 | * libc/machine/i386/aclocal.m4: Regenerated. | |
3686 | * libc/machine/i386/configure: Regenerated. | |
3687 | ||
3688 | Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de> | |
3689 | ||
3690 | * libc/sys/cygwin/sys/dirent.h: Add additional prototypes | |
3691 | for telldir() and seekdir(). Rename unused structure element | |
3692 | for use with these two routines. | |
3693 | ||
3694 | Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3695 | ||
3696 | * libc/time/mktime.c (validate_structure): Multiple fixes to | |
3697 | code to handle cases where input fields are outside valid ranges. | |
3698 | * libc/stdlib/div.c (div): Modified invalid rounding check. | |
3699 | * libc/stdlib/ldiv.c (ldiv): Ditto. | |
3700 | ||
3701 | Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3702 | ||
3703 | * libc/machine/i386/memcpy.S: Performance rewrite. | |
3704 | * libc/machine/i386/memmove.S: Ditto. | |
3705 | * libc/machine/i386/i386mach.h: Added more register definitions. | |
3706 | * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math | |
3707 | option used. | |
3708 | * libc/include/machine/fastmath.h: Add definitions for x86 | |
3709 | fast-math routines. | |
3710 | ||
3711 | Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3712 | ||
3713 | * libc/stdlib/strtod.c: Change from unsigned long to ULong. | |
3714 | ||
3715 | Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com> | |
3716 | ||
3717 | Adjust newlib headers for new Cygwin Win32 API header files: | |
3718 | * libc/include/sys/time.h: Check _WINSOCK_H rather than | |
3719 | _GNU_H_WINDOWS32_SOCKETS. | |
3720 | * libc/include/sys/types.h: Ditto. | |
3721 | ||
3722 | Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3723 | ||
3724 | *include/sys/reent.h: Add checks for size of Bigint element Long. | |
3725 | *libc/dtoa.c: Change routines to use generic Long type. | |
3726 | *libc/mprec.c: Change routines to use generic Long type. | |
3727 | *libc/mprec.h: Change routines to use generic Long type. | |
3728 | ||
3729 | Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com> | |
3730 | ||
3731 | * libc/Makefile.am: Add .def files. | |
3732 | * libc/Makefile.in: Regenerate. | |
3733 | * libc/e_acosh.c: Documentation update. | |
3734 | * libc/e_atanh.c: Documentation update. | |
3735 | * libc/e_hypot.c: Documentation update. | |
3736 | * libc/e_remainder.c: Documentation update. | |
3737 | * libc/er_lgamma.c: Documentation update. | |
3738 | * libc/mathfp.tex: Documentation update. | |
3739 | * libc/s_acos.c: Documentation update. | |
3740 | * libc/s_atan.c: Documentation update. | |
3741 | * libc/s_atan2.c: Documentation update. | |
3742 | * libc/s_cosh.c: Documentation update. | |
3743 | * libc/s_fmod.c: Documentation update. | |
3744 | * libc/s_isnan.c: Documentation update. | |
3745 | * libc/s_log10.c: Documentation update. | |
3746 | * libc/s_pow.c: Documentation update. | |
3747 | * libc/w_jn.c: Documentation update. | |
3748 | ||
3749 | Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com> | |
3750 | ||
3751 | * aclocal.m4: Regenerate. | |
3752 | * configure: Regenerate. | |
3753 | ||
3754 | Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3755 | ||
3756 | * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp | |
3757 | to return 1 if user specified return code is 0. | |
3758 | * libc/machine/mn10200/setjmp.S (_longjmp): Ditto. | |
3759 | ||
3760 | Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3761 | ||
3762 | * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp | |
3763 | to save the return address. Fixed longjmp to return to the original | |
3764 | calling address of setjmp and to return the user specified return code | |
3765 | rather than default to 1. | |
3766 | * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto. | |
3767 | ||
3768 | Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3769 | ||
3770 | * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult. | |
3771 | ||
3772 | 1999-02-10 Nick Clifton <nickc@cygnus.com> | |
3773 | ||
3774 | * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block | |
3775 | volatile so that its assignments will not be discarded. | |
3776 | ||
3777 | Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3778 | ||
3779 | * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to | |
3780 | be __STRICT_ANSI__ which is generated by compiler. | |
3781 | * libc/include/ctype.h: Ditto. | |
3782 | * libc/include/math.h: Ditto. | |
3783 | * libc/include/stdio.h: Ditto. | |
3784 | * libc/include/stdlib.h: Ditto. | |
3785 | * libc/include/string.h: Ditto. | |
3786 | * libc/include/sys/signal.h: Ditto. | |
3787 | ||
3788 | 1999-02-08 Nick Clifton <nickc@cygnus.com> | |
3789 | ||
3790 | * configure.host: Add support for StrongARM target. | |
3791 | ||
3792 | Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3793 | ||
3794 | * libc/string/strncpy.c (strncpy): Removed redundant code | |
3795 | that was copying bytes if data unaligned. | |
3796 | ||
3797 | 1999-02-02 Brendan Kehoe <brendan@cygnus.com> | |
3798 | ||
3799 | * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def, | |
3800 | mbstowcs.def, and wcstombs.def. | |
3801 | ||
3802 | Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com> | |
3803 | ||
3804 | * libc/include/sys/errno.h: Add Cygwin errno. | |
3805 | * libc/stdio/flags.c: Don't default to O_TEXT if no other flag | |
3806 | is specified. | |
3807 | ||
3808 | 1999-01-29 Nick Clifton <nickc@cygnus.com> | |
3809 | ||
3810 | * libc/sys/arm/syscalls.c: Move C library functions into seperate | |
3811 | file. | |
3812 | ||
3813 | * libc/sys/arm/libcfunc.c: New file containing C library functions | |
3814 | from syscalls.c | |
3815 | ||
3816 | * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c | |
3817 | * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate. | |
3818 | ||
3819 | ||
3820 | 1999-01-27 Michael Meissner <meissner@cygnus.com> | |
3821 | ||
3822 | * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double | |
3823 | type, and cut size in half so that the jmp_buf array is guaranteed | |
3824 | to be aligned on a 64-bit boundary. | |
3825 | ||
3826 | Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3827 | ||
3828 | * libc/string/strings.tex: Added information about | |
3829 | strcasecmp and strncasecmp. | |
3830 | * libc/stdlib/stdlib.tex: Added missing information | |
3831 | about mblen, mbstowcs, and wcstombs. | |
3832 | * libc/string/strchr.c: Changed how mask is built to use | |
3833 | shift operators so register will be used instead of storage. | |
3834 | ||
3835 | 1999-01-22 DJ Delorie <dj@cygnus.com> | |
3836 | ||
3837 | * libc/include/stdlib.h: don't use dllimport if we're building | |
3838 | newlib, since it's inside cygwin.dll | |
3839 | ||
3840 | Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com> | |
3841 | ||
3842 | * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for | |
3843 | _ctype_ under cygwin. | |
3844 | ||
3845 | Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com> | |
3846 | ||
3847 | * include/stdlib.h: Fix typo from previous checkin. | |
3848 | ||
3849 | Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com> | |
3850 | ||
3851 | * include/ctype.h: Use __declspec(dllimport) method for exporting | |
3852 | variable from cygwin DLL. | |
3853 | * include/time.h: Ditto. | |
3854 | * sys/errno.h: Ditto. | |
3855 | * include/stdlib.h: Export __mb_cur_max from cygwin DLL. | |
3856 | * libc/locale/locale.c: Use __declspec(dllexport) method for | |
3857 | exporting variable from cygwin DLL. | |
3858 | ||
3859 | Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com> | |
3860 | ||
3861 | * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible | |
3862 | access of bogus pointer will result in SIGSEGV. | |
3863 | ||
3864 | 1999-01-07 Nick Clifton <nickc@cygnus.com> | |
3865 | ||
3866 | * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility | |
3867 | of an underscore prefix to function names. | |
3868 | ||
3869 | Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com> | |
3870 | ||
3871 | * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new | |
3872 | define __REG_PREFIX__ instead of using __REGISTER_PREFIX__. | |
3873 | ||
3874 | 1998-12-31 Michael Meissner <meissner@cygnus.com> | |
3875 | ||
3876 | * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define | |
3877 | to `%' if not already defined. | |
3878 | ||
3879 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
3880 | ||
3881 | * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix | |
3882 | arguments const char *, not char *. | |
3883 | * libc/include/stdio.h (_tempnam_r): Ditto. | |
3884 | ||
3885 | * libc/include/sys/reent.h (struct _reent): The _sig_func type | |
3886 | points to a function taking an integer, not void. | |
3887 | ||
3888 | Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com> | |
3889 | ||
3890 | * configure.host: Add a define for Cygwin builds. | |
3891 | * libc/include/ctype.h: Don't use dll imported variables in newlib. | |
3892 | ||
3893 | Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com> | |
3894 | ||
3895 | * libc/include/ctype.h: Define _ctype_ as dll imported variable | |
3896 | for use with Cygwin. | |
3897 | * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as | |
3898 | dll imported variables for use with Cygwin. | |
3899 | * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined | |
3900 | as a dll imported variable for Cygwin. | |
3901 | ||
3902 | Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com> | |
3903 | ||
3904 | * libc/include/sys/unistd.h: Add proto for getpass. | |
3905 | ||
3906 | Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com> | |
3907 | ||
3908 | * libc/sys/cygwin/sys/dirent.h: add protos for scandir and | |
3909 | alphasort. | |
3910 | ||
3911 | Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com> | |
3912 | ||
3913 | * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p, | |
3914 | not posix_path_list_p. | |
3915 | ||
3916 | 1998-12-15 Nick Clifton <nickc@cygnus.com> | |
3917 | ||
3918 | * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not | |
3919 | a signed int. | |
3920 | ||
3921 | 1998-12-13 Nick Clifton <nickc@cygnus.com> | |
3922 | ||
3923 | * libc/include/machine/setjmp.h (_JBLEN): Set to 10. | |
3924 | ||
3925 | 1998-12-12 Nick Clifton <nickc@cygnus.com> | |
3926 | ||
3927 | * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater | |
3928 | <msalter@cygnus.com> | |
3929 | * libc/machine/fr30/Makefile.am: Add build of setjmp.S | |
3930 | * libc/machine/fr30/Makefile.in: Regenerated. | |
3931 | ||
3932 | 1998-12-11 Nick Clifton <nickc@cygnus.com> | |
3933 | ||
3934 | * configure.host: Remove use of libc/sys for FR30 port. | |
3935 | * libc/sys/fr30: Remove directory (replaced by libgloss). | |
3936 | ||
3937 | 1998-12-10 Ken Raeburn <raeburn@cygnus.com> | |
3938 | ||
3939 | * libc/string/strcat.c (ALIGNED): Sense of result was reversed. | |
3940 | * libc/string/strncat.c (ALIGNED): Ditto. | |
3941 | ||
3942 | Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com> | |
3943 | ||
3944 | * libc/include/sys/time.h: include sys/types.h | |
3945 | ||
3946 | Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
3947 | ||
3948 | * libc/machine/i386/memcmp.S (memcmp): Fix for unequal | |
3949 | comparison found when checking word at a time. | |
3950 | ||
3951 | 1998-12-04 Nick Clifton <nickc@cygnus.com> | |
3952 | ||
3953 | * libc/sys/fr30/crt0.s (_start): Initialise frame pointer. | |
3954 | ||
3955 | 1998-12-03 Nick Clifton <nickc@cygnus.com> | |
3956 | ||
3957 | * libc/sys/fr30/syscalls.c (_times): New function stub. | |
3958 | ||
3959 | Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
3960 | ||
3961 | * configure.host (mach_add_setjmp): Replaced mach_add_objs | |
3962 | with mach_add_setjmp flag which indicates if setjmp should | |
3963 | be added to the machine directory objects. | |
3964 | * acinclude.m4: Removed reference to mach_add_objs. | |
3965 | * aclocal.m4: Regenerated. | |
3966 | * Makefile.in: Regenerated. | |
3967 | * configure: Regenerated. | |
3968 | * libc/aclocal.m4: Regenerated. | |
3969 | * libc/Makefile.in: Regenerated. | |
3970 | * libc/configure: Regenerated. | |
3971 | * libc/machine/aclocal.m4: Regenerated. | |
3972 | * libc/machine/Makefile.in: Regenerated. | |
3973 | * libc/machine/configure: Regenerated. | |
3974 | * libc/machine/i386/aclocal.m4: Regenerated. | |
3975 | * libc/machine/i386/Makefile.am: Altered to selectively add | |
3976 | setjmp.S to the src files list. | |
3977 | * libc/machine/i386/Makefile.in: Regenerated. | |
3978 | * libc/machine/i386/configure.in: Altered to test mach_add_setjmp. | |
3979 | * libc/machine/i386/configure: Regenerated. | |
3980 | ||
3981 | 1998-12-02 Nick Clifton <nickc@cygnus.com> | |
3982 | ||
3983 | * libc/sys/fr30/crt0.s (_start): Fix function names. | |
3984 | ||
3985 | * libc/machine/fr30: New directory | |
3986 | * libc/machine/fr30/Makefile.am: New file. | |
3987 | * libc/machine/fr30/Makefile.in: New generated file. | |
3988 | * libc/machine/fr30/configure.in: New file. | |
3989 | * libc/machine/fr30/configure: New generated file. | |
3990 | * libc/machine/fr30/aclocal.m4: New generated file. | |
3991 | * libc/sys/fr30/Makefile.am: New file. | |
3992 | * libc/sys/fr30/Makefile.in: New generated file. | |
3993 | * libc/sys/fr30/configure.in: New file. | |
3994 | * libc/sys/fr30/configure: New generated file. | |
3995 | * libc/sys/fr30/syscalls.c: New file. | |
3996 | ||
3997 | Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com> | |
3998 | ||
3999 | * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include. | |
4000 | ||
4001 | 1998-12-01 Ken Raeburn <raeburn@cygnus.com> | |
4002 | ||
4003 | * libc/time/strftime.c (strftime): Also handle %y for years before | |
4004 | 1900. | |
4005 | ||
4006 | Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com> | |
4007 | ||
4008 | * libc/string/strcasecmp.c (strcasecmp): Adhere to standard | |
4009 | UNIX convention. Perform tolower on characters before comparing | |
4010 | them rather than use toupper. | |
4011 | * libc/string/strncasecmp.c (strncasecmp): Ditto. | |
4012 | ||
4013 | Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4014 | ||
4015 | * configure.host: Added using i386 machine directory | |
4016 | for all x86 cross-compiler and configuring | |
4017 | which added object files to use via new "mach_add_objs" variable. | |
4018 | * configure: Regenerated. | |
4019 | * libc/configure: Regenerated. | |
4020 | * libc/Makefile.in: Regenerated. | |
4021 | * libc/aclocal.m4: Regenerated. | |
4022 | * libc/ctype/Makefile.in: Regenerated. | |
4023 | * libc/errno/Makefile.in: Regenerated. | |
4024 | * libc/locale/Makefile.in: Regenerated. | |
4025 | * libc/machine/Makefile.in: Regenerated. | |
4026 | * libc/machine/aclocal.m4: Regenerated. | |
4027 | * libc/machine/configure: Regenerated. | |
4028 | * libc/posix/Makefile.in: Regenerated. | |
4029 | * libc/reent/Makefile.in: Regenerated. | |
4030 | * libc/signal/Makefile.in: Regenerated. | |
4031 | * libc/stdio/Makefile.in: Regenerated. | |
4032 | * libc/stdlib/Makefile.in: Regenerated. | |
4033 | * libc/string/Makefile.in: Regenerated. | |
4034 | * libc/string/memmove.c: Optimized code to use memcpy | |
4035 | logic when performing a non-destructive copy. | |
4036 | * libc/string/strncmp.c: Altered code to allow building | |
4037 | optimized for size or speed. | |
4038 | * libc/syscalls/Makefile.in: Regenerated. | |
4039 | * libc/time/Makefile.in: Regenerated. | |
4040 | * libc/unix/Makefile.in: Regenerated. | |
4041 | * libc/machine/i386/Makefile.am: Added new files and reference | |
4042 | to "mach_add_objs" to indicate optional object files. | |
4043 | * libc/machine/i386/Makefile.in: Regenerated. | |
4044 | * libc/machine/i386/aclocal.m4: Regenerated. | |
4045 | * libc/machine/i386/configure: Regenerated. | |
4046 | * libc/machine/i386/memchr.S: New file that implements | |
4047 | function in Intel assembler. | |
4048 | * libc/machine/i386/memcmp.S: ditto. | |
4049 | * libc/machine/i386/memcpy.S: ditto. | |
4050 | * libc/machine/i386/memmove.S: ditto. | |
4051 | * libc/machine/i386/memset.S: ditto. | |
4052 | * libc/machine/i386/strchr.S: ditto. | |
4053 | * libc/machine/i386/strlen.S: ditto. | |
4054 | * libc/machine/i386/f_atan2.S: New file that implements | |
4055 | fast version of math function to be used by compiler when | |
4056 | --ffast_math compile option is used. | |
4057 | * libc/machine/i386/f_atan2f.S: ditto. | |
4058 | * libc/machine/i386/f_exp.c: ditto. | |
4059 | * libc/machine/i386/f_expf.c: ditto. | |
4060 | * libc/machine/i386/f_frexp.S: ditto. | |
4061 | * libc/machine/i386/f_frexpf.S: ditto. | |
4062 | * libc/machine/i386/f_ldexp.S: ditto. | |
4063 | * libc/machine/i386/f_ldexpf.S: ditto. | |
4064 | * libc/machine/i386/f_log.S: ditto. | |
4065 | * libc/machine/i386/f_logf.S: ditto. | |
4066 | * libc/machine/i386/f_log10.S: ditto. | |
4067 | * libc/machine/i386/f_log10f.S: ditto. | |
4068 | * libc/machine/i386/f_math.h: New file. | |
4069 | * libc/machine/i386/f_pow.c: ditto. | |
4070 | * libc/machine/i386/f_powf.S: ditto. | |
4071 | * libc/machine/i386/f_tan.S: ditto. | |
4072 | * libc/machine/i386/f_tan.S: ditto. | |
4073 | * libc/machine/i386/i386mach.h: New file. | |
4074 | ||
4075 | Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com> | |
4076 | ||
4077 | patch from Mumit Khan <khan@xraylith.wisc.edu> | |
4078 | * libc/include/stdio.h (tempnam): Add prototype. | |
4079 | * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix. | |
4080 | (tempnam): Adhere to prototype. | |
4081 | ||
4082 | Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com> | |
4083 | ||
4084 | * Makefile.am: Add default for AR_FLAGS. | |
4085 | * Makefile.in: Regenerate. | |
4086 | ||
4087 | Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com> | |
4088 | ||
4089 | * libc/include/time.h: move __cplusplus wrapper after includes | |
4090 | * libc/include/sys/time.h: ditto. If Cygwin, include | |
4091 | sys/select.h. | |
4092 | * libc/include/sys/types.h: lose "32" in comment about Cygwin. | |
4093 | ||
4094 | 1998-11-23 Ken Raeburn <raeburn@cygnus.com> | |
4095 | ||
4096 | * libc/time/strftime.c (strftime): Handle %y after year 2000. | |
4097 | ||
4098 | Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com> | |
4099 | ||
4100 | * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as | |
4101 | abnormnal end-of-crt0 marker. | |
4102 | ||
4103 | Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com> | |
4104 | ||
4105 | * libc/sys/fr30/crt0.s: New file/directory. | |
4106 | * libc/include/machine/setjmp.h: Add FR30 target. | |
4107 | * libc/include/machine/ieeefp.h: Add FR30 target. | |
4108 | * configure.host: Add FR30 target. | |
4109 | ||
4110 | Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com> | |
4111 | ||
4112 | * libm/math: Files that are duplicated in common directory removed. | |
4113 | * libm/math/fdlibm.h: Removed. | |
4114 | * libm/math/s_cbrt.c: Removed. | |
4115 | * libm/math/s_copysign.c: Removed. | |
4116 | * libm/math/s_expm1.c: Removed. | |
4117 | * libm/math/s_finite.c: Removed. | |
4118 | * libm/math/s_ilogb.c: Removed. | |
4119 | * libm/math/s_infinity.c: Removed. | |
4120 | * libm/math/s_lib_ver.c: Removed. | |
4121 | * libm/math/s_log1p.c: Removed. | |
4122 | * libm/math/s_logb.c: Removed. | |
4123 | * libm/math/s_matherr.c: Removed. | |
4124 | * libm/math/s_modf.c: Removed. | |
4125 | * libm/math/s_nan.c: Removed. | |
4126 | * libm/math/s_nextafter.c: Removed. | |
4127 | * libm/math/s_rint.c: Removed. | |
4128 | * libm/math/s_scalbn.c: Removed. | |
4129 | * libm/math/sf_cbrt.c: Removed. | |
4130 | * libm/math/sf_copysign.c: Removed. | |
4131 | * libm/math/sf_expm1.c: Removed. | |
4132 | * libm/math/sf_finite.c: Removed. | |
4133 | * libm/math/sf_ilogb.c: Removed. | |
4134 | * libm/math/sf_infinity.c: Removed. | |
4135 | * libm/math/sf_log1p.c: Removed. | |
4136 | * libm/math/sf_logb.c: Removed. | |
4137 | * libm/math/sf_modf.c: Removed. | |
4138 | * libm/math/sf_nan.c: Removed. | |
4139 | * libm/math/sf_nextafter.c: Removed. | |
4140 | * libm/math/sf_rint.c: Removed. | |
4141 | * libm/math/sf_scalbn.c: Removed. | |
4142 | * libm/math/Makefile.am: Removed references to deleted files (above). | |
4143 | * libm/math/Makefile.in: Regenerated. | |
4144 | * libm/Makefile.am: Added common directory to math. | |
4145 | * libm/Makefile.in: Regenerated. | |
4146 | ||
4147 | Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com> | |
4148 | ||
4149 | * libm/mathfp: Add non-ANSI functions. | |
4150 | * libm/mathfp/e_acosh.c acosh(): New file. | |
4151 | * libm/mathfp/e_atanh.c atanh(): New file. | |
4152 | * libm/mathfp/e_hypot.c hypot(): New file. | |
4153 | * libm/mathfp/e_j0.c j0(): New file. | |
4154 | * libm/mathfp/e_j1.c j1(): New file. | |
4155 | * libm/mathfp/e_remainder.c remainder(): New file. | |
4156 | * libm/mathfp/e_scalb.c scalb(): New file. | |
4157 | * libm/mathfp/ef_acosh.c acoshf(): New file. | |
4158 | * libm/mathfp/ef_atanh.c atanhf(): New file. | |
4159 | * libm/mathfp/ef_hypot.c hypotf(): New file. | |
4160 | * libm/mathfp/ef_j0.c j0f(): New file. | |
4161 | * libm/mathfp/ef_j1.c j1f(): New file. | |
4162 | * libm/mathfp/ef_remainder.c remainderf(): New file. | |
4163 | * libm/mathfp/ef_scalb.c scalbf(): New file. | |
4164 | * libm/mathfp/er_gamma.c gamma_r: New file. | |
4165 | * libm/mathfp/er_lgamma.c lgamma_r(): New file. | |
4166 | * libm/mathfp/erf_gamma.c gamma_rf(): New file. | |
4167 | * libm/mathfp/erf_lgamma.c lgamma_rf(): New file. | |
4168 | * libm/mathfp/w_cabs.c cabs(): New file. | |
4169 | * libm/mathfp/w_drem.c drem(): New file. | |
4170 | * libm/mathfp/w_jn.c jn(): New file. | |
4171 | * libm/mathfp/wf_cabs.c cabsf(): New file. | |
4172 | * libm/mathfp/wf_drem.c dremf(): New file. | |
4173 | * libm/mathfp/wf_jn.c jnf(): New file. | |
4174 | ||
4175 | Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com> | |
4176 | ||
4177 | * libc/sys/cygwin32: remove directory and contents | |
4178 | * libc/sys/cygwin: and add back, losing the "32". | |
4179 | * configure.host: check for cygwin* instead of cygwin32. | |
4180 | * acinclude.m4: ditto. | |
4181 | * aclocal.m4: regenerate with aclocal | |
4182 | * configure: regenerate with autoconf | |
4183 | ||
4184 | Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com> | |
4185 | ||
4186 | * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated | |
4187 | for length | |
4188 | ||
4189 | Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4190 | ||
4191 | * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last, | |
4192 | _asctime_buf, _localtime_buf and _gamma_signgam to struct reent | |
4193 | to make rand/srand, strtok, asctime, localtime, w_gamma, | |
4194 | w_lgamma, wf_gamma, and wf_lgamma reentrant. Included | |
4195 | time.h to bring in struct tm definition. | |
4196 | * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if | |
4197 | '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent. | |
4198 | * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent | |
4199 | instead of static variable. | |
4200 | * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from | |
4201 | struct reent instead of static variable. | |
4202 | * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from | |
4203 | struct reent instead of static variable. | |
4204 | * libm/math/Makefile.am: Removed s_signgam.o. | |
4205 | * libm/math/Makefile.in: Regenerated. | |
4206 | * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from | |
4207 | struct reent instead of global variable 'signgam'. | |
4208 | * libm/math/w_lgamma.c (lgamma): Likewise. | |
4209 | * libm/math/wf_gamma.c (gammaf): Likewise. | |
4210 | * libm/math/wf_lgamma.c (lgammaf): Likewise. | |
4211 | * libm/math/s_signgam.c: Removed. | |
4212 | * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen | |
4213 | to be const. | |
4214 | * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen | |
4215 | to be const. | |
4216 | * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and | |
4217 | libc/include/reent.h. | |
4218 | * libc/reent/Makefile.in: Regenerated. | |
4219 | * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes' | |
4220 | to be const. | |
4221 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and | |
4222 | 'JIS_action_table' to be const. | |
4223 | * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const. | |
4224 | ||
4225 | Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com> | |
4226 | ||
4227 | * acinclude.m4: $with_target_subdir should default to '.' | |
4228 | or confusion results when configuring in same directory as sources. | |
4229 | * Regenerate all aclocal.m4 and configure files. | |
4230 | ||
4231 | Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4232 | ||
4233 | * libc/stdlib/mallocr.c: Added 16 byte alignment support which | |
4234 | can be set by defining MALLOC_ALIGNMENT=16. Also added support | |
4235 | for platforms where sizeof(size_t) < sizeof(long) via | |
4236 | SIZE_T_SMALLER_THAN_LONG macro. | |
4237 | ||
4238 | Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4239 | ||
4240 | * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC | |
4241 | to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h> | |
4242 | which sets _CLOCKS_PER_SEC_ for selected machines. | |
4243 | * libc/include/machine/time.h: New file. | |
4244 | ||
4245 | Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4246 | ||
4247 | * libc/syscalls/sysexecve.c: New file. | |
4248 | * libc/syscalls/sysgettod.c: New file. | |
4249 | * libc/syscalls/systimes.c: New file. | |
4250 | * libc/syscalls/Makefile.am: Added new objects. | |
4251 | * libc/syscalls/Makefile.in: Regenerated. | |
4252 | * libc/include/_syslist.h (_execve): Moved define in file. | |
4253 | * libc/include/reent.h: Added _execve_r declaration. | |
4254 | * libc/Makefile.in: Regenerated. | |
4255 | * libc/ctype/Makefile.in: Regenerated. | |
4256 | * libc/errno/Makefile.in: Regenerated. | |
4257 | * libc/locale/Makefile.in: Regenerated. | |
4258 | * libc/machine/Makefile.in: Regenerated. | |
4259 | * libc/misc/Makefile.in: Regenerated. | |
4260 | * libc/posix/Makefile.in: Regenerated. | |
4261 | * libc/reent/Makefile.in: Regenerated. | |
4262 | * libc/reent/execr.c (_execve_r): Added _execve_r function. | |
4263 | * libc/signal/Makefile.in: Regenerated. | |
4264 | * libc/stdio/Makefile.in: Regenerated. | |
4265 | * libc/time/Makefile.in: Regenerated. | |
4266 | * libc/unix/Makefile.in: Regenerated. | |
4267 | * libm/mathfp/Makefile.in: Regenerated. | |
4268 | ||
4269 | Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4270 | ||
4271 | * libc/string/Makefile.in: Regenerated. | |
4272 | * libc/string/memchr.c (memchr): Moved code to reduce object size. | |
4273 | * libc/string/memcpy.c (memcpy): Ditto. | |
4274 | * libc/string/memcmp.c (memcmp): Ditto. | |
4275 | * libc/string/memset.c (memset): Ditto. | |
4276 | * libc/string/strchr.c (strchr): Ditto. | |
4277 | * libc/string/strcmp.c (strcmp): Ditto. | |
4278 | * libc/string/strcpy.c (strcpy): Ditto. | |
4279 | * libc/string/strlen.c (strlen): Ditto. | |
4280 | ||
4281 | Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4282 | ||
4283 | * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used | |
4284 | to generate aclocal.m4. | |
4285 | * libm/Makefile.in: Regenerated. | |
4286 | * libm/aclocal.m4: Regenerated. | |
4287 | * libm/configure: Regenerated. | |
4288 | * libm/math/Makefile.in: Regenerated. | |
4289 | * libm/mathfp/Makefile.in: Regenerated. | |
4290 | ||
4291 | 1998-09-25 Mark Salter <msalter@cygnus.com> | |
4292 | ||
4293 | * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200 | |
4294 | by adding leading and trailing underscores to symbol names. | |
4295 | ||
4296 | Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com> | |
4297 | ||
4298 | * Makefile.in: Add default for AR_FLAGS. | |
4299 | ||
4300 | Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com> | |
4301 | ||
4302 | patch from ian@airs.com (Ian Taylor): | |
4303 | * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before | |
4304 | NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it | |
4305 | is needed for detecting the build machine. Required for | |
4306 | cygwin native builds. | |
4307 | ||
4308 | * Regenerate all aclocal.m4 and configure files. | |
4309 | ||
4310 | Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com> | |
4311 | ||
4312 | * libc/sys/arm/crt0.S: Prepend a period to all local labels that | |
4313 | used to start with LC. | |
4314 | ||
4315 | Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4316 | ||
4317 | * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ . | |
4318 | (longjmp): Likewise. | |
4319 | ||
4320 | Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4321 | ||
4322 | * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before | |
4323 | the test for small number of bytes. | |
4324 | ||
4325 | Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com> | |
4326 | ||
4327 | * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new | |
4328 | math library that uses floating point algorithms instead of the old | |
4329 | libm. | |
4330 | * Makefile.in: Regenerate with automake version 1.3b. | |
4331 | * configure: Rebuild. | |
4332 | * libm/Makefile.in: Regenerate with automake version 1.3b. | |
4333 | * libm/aclocal.m4: Regenerate. | |
4334 | * libm/configure: Rebuild. | |
4335 | * libm/configure.in: Add newlib_hw_fp definition and mathfp directory. | |
4336 | * libm/acinclude.m4: Define macros for configure.in. | |
4337 | * libm/config.h.in: Generate. | |
4338 | * libm/mathfp/Makefile.am: New file. | |
4339 | * libm/mathfp/Makefile.in: Generate. | |
4340 | * libm/mathfp/s_acos.c (acos): New file. | |
4341 | * libm/mathfp/s_asin.c (asin): New file. | |
4342 | * libm/mathfp/s_asine.c (asine): New file. | |
4343 | * libm/mathfp/s_atan.c (atan): New file. | |
4344 | * libm/mathfp/s_atan2.c (atan2): New file. | |
4345 | * libm/mathfp/s_atangent.c (atangent): New file. | |
4346 | * libm/mathfp/s_ceil.c (ceil): New file. | |
4347 | * libm/mathfp/s_copysign.c (copysign): New file. | |
4348 | * libm/mathfp/s_cos.c (cos): New file. | |
4349 | * libm/mathfp/s_cosh.c (cosh): New file. | |
4350 | * libm/mathfp/s_exp.c (exp): New file. | |
4351 | * libm/mathfp/s_fabs.c (fabs): New file. | |
4352 | * libm/mathfp/s_finite.c (finite): New file. | |
4353 | * libm/mathfp/s_floor.c (floor): New file. | |
4354 | * libm/mathfp/s_fmod.c (fmod): New file. | |
4355 | * libm/mathfp/s_frexp.c (frexp): New file. | |
4356 | * libm/mathfp/s_infconst.c: New file. | |
4357 | * libm/mathfp/s_isinf (isinf).c: New file. | |
4358 | * libm/mathfp/s_isnan.c (isnan): New file. | |
4359 | * libm/mathfp/s_ispos.c (ispos): New file. | |
4360 | * libm/mathfp/s_ldexp.c (ldexp): New file. | |
4361 | * libm/mathfp/s_log.c (log): New file. | |
4362 | * libm/mathfp/s_log10.c (log10): New file. | |
4363 | * libm/mathfp/s_logarithm.c (logarithm): New file. | |
4364 | * libm/mathfp/s_mathcnst.c: New file. | |
4365 | * libm/mathfp/s_modf (modf).c: New file. | |
4366 | * libm/mathfp/s_numtest.c (numtest): New file. | |
4367 | * libm/mathfp/s_pow.c (pow): New file. | |
4368 | * libm/mathfp/s_scalbn.c (scalbn): New file. | |
4369 | * libm/mathfp/s_sin (sin).c: New file. | |
4370 | * libm/mathfp/s_sine.c (sine): New file. | |
4371 | * libm/mathfp/s_sineh.c (sineh): New file. | |
4372 | * libm/mathfp/s_sinf.c (sinf): New file. | |
4373 | * libm/mathfp/s_sinh.c (sinh): New file. | |
4374 | * libm/mathfp/s_sqrt.c (sqrt): New file. | |
4375 | * libm/mathfp/s_tan.c (tan): New file. | |
4376 | * libm/mathfp/s_tanh.c (tanh): New file. | |
4377 | * libm/mathfp/sf_acos.c (acosf): New file. | |
4378 | * libm/mathfp/sf_asin.c (asinf): New file. | |
4379 | * libm/mathfp/sf_asine.c (asinef): New file. | |
4380 | * libm/mathfp/sf_atan.c (atanf): New file. | |
4381 | * libm/mathfp/sf_atan2.c (atan2f): New file. | |
4382 | * libm/mathfp/sf_atangent.c (atangent): New file. | |
4383 | * libm/mathfp/sf_ceil.c (ceilf): New file. | |
4384 | * libm/mathfp/sf_copysign.c (copysignf): New file. | |
4385 | * libm/mathfp/sf_cos.c (cosf): New file. | |
4386 | * libm/mathfp/sf_cosh.c (coshf): New file. | |
4387 | * libm/mathfp/sf_exp.c (expf): New file. | |
4388 | * libm/mathfp/sf_fabs.c (fabsf): New file. | |
4389 | * libm/mathfp/sf_finite.c (finitef): New file. | |
4390 | * libm/mathfp/sf_floor.c (floorf): New file. | |
4391 | * libm/mathfp/sf_fmod.c (fmodf): New file. | |
4392 | * libm/mathfp/sf_frexp.c (frexpf): New file. | |
4393 | * libm/mathfp/sf_isinf.c (isinff): New file. | |
4394 | * libm/mathfp/sf_isnan.c (isnanf): New file. | |
4395 | * libm/mathfp/sf_ispos.c (isposf): New file. | |
4396 | * libm/mathfp/sf_ldexp.c (ldexpf): New file. | |
4397 | * libm/mathfp/sf_log.c (logf): New file. | |
4398 | * libm/mathfp/sf_log10.c (log10f): New file. | |
4399 | * libm/mathfp/sf_logarithm.c (logarithmf): New file. | |
4400 | * libm/mathfp/sf_modf.c (modff): New file. | |
4401 | * libm/mathfp/sf_numtest.c (numtestf): New file. | |
4402 | * libm/mathfp/sf_pow.c (powf): New file. | |
4403 | * libm/mathfp/sf_scalbn.c (scalbnf): New file. | |
4404 | * libm/mathfp/sf_sin.c (sinf): New file. | |
4405 | * libm/mathfp/sf_sine.c (sinef): New file. | |
4406 | * libm/mathfp/sf_sineh.c (sinehf): New file. | |
4407 | * libm/mathfp/sf_sinh.c (sinhf): New file. | |
4408 | * libm/mathfp/sf_sqrt.c (sqrtf): New file. | |
4409 | * libm/mathfp/sf_tan.c (tanf): New file. | |
4410 | * libm/mathfp/sf_tanh.c (tanhf): New file. | |
4411 | * libm/mathfp/zmath.h: New file. | |
4412 | ||
4413 | Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4414 | ||
4415 | * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop | |
4416 | exit if it has been overwritten by pre-fetching in delay slot. | |
4417 | ||
4418 | 1998-09-01 Michael Meissner <meissner@cygnus.com> | |
4419 | ||
4420 | * Makefile.am (tooldir): Add in host_alias, so that multilib | |
4421 | libraries are installed in the directory the compiler looks in. | |
4422 | * Makefile.in: Regenerate. | |
4423 | ||
4424 | * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b. | |
4425 | ||
4426 | Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4427 | ||
4428 | * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test | |
4429 | ahead of test for number of bytes being moved. | |
4430 | ||
4431 | Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com> | |
4432 | ||
4433 | * libc/include/sys/unistd.h: Nothing special needed for | |
4434 | _exit under cygwin. | |
4435 | ||
4436 | Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com> | |
4437 | ||
4438 | * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to | |
4439 | conform to user label naming conventions. | |
4440 | ||
4441 | Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com> | |
4442 | ||
4443 | * libc/sys/cygwin32/sys/utime.h: variable names in | |
4444 | protos should start with two leading underscores | |
4445 | * libc/include/string.h: ditto | |
4446 | * libc/include/sys/signal.h: ditto | |
4447 | * libc/include/sys/stat.h: ditto | |
4448 | * libc/include/sys/time.h: ditto | |
4449 | * libc/include/sys/unistd.h: ditto | |
4450 | * libc/include/ctype.h: ditto | |
4451 | * libc/include/stdlib.h: ditto | |
4452 | * libc/include/sys/reent.h: struct _atexit function ptr takes a | |
4453 | void, same with _sig_func. | |
4454 | ||
4455 | Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4456 | ||
4457 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks | |
4458 | for MB_CAPABLE to reduce code size when newlib is not configured | |
4459 | with --enable-newlib-mb. | |
4460 | * libc/stdlib/Makefile.am: Specified -fshort-enums when building | |
4461 | mbtowc_r.o to minimize size. | |
4462 | * libc/stdlib/Makefile.in: Rebuild. | |
4463 | ||
4464 | Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com> | |
4465 | ||
4466 | * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT | |
4467 | to -DREENT. | |
4468 | * libc/sys/sparc64/Makefile.in: Rebuild. | |
4469 | ||
4470 | Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com> | |
4471 | ||
4472 | * Makefile.am (MAKEOVERRIDES): Define. | |
4473 | * Makefile.in: Rebuild. | |
4474 | ||
4475 | Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com> | |
4476 | ||
4477 | * libc/sys/sparc64/sys/stat.h (stat): Add const. | |
4478 | ||
4479 | Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
4480 | ||
4481 | * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in | |
4482 | newlib_cflags when looking for targ-include. | |
4483 | * */aclocal.m4, */configure: Rebuild. | |
4484 | ||
4485 | Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com> | |
4486 | ||
4487 | * libc/sys/arm/syscalls.c (_sbrk): Change "__end__" | |
4488 | to "_end". | |
4489 | ||
4490 | Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com> | |
4491 | ||
4492 | * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN | |
4493 | on SPARCs with little-endian data. | |
4494 | * libc/include/machine/ieeefp.h: Ditto. | |
4495 | ||
4496 | Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com> | |
4497 | ||
4498 | * acinclude.m4: Handle a relative srcdir correctly when setting | |
4499 | newlib_cflags. | |
4500 | * */aclocal.m4, */configure: Rebuild. | |
4501 | ||
4502 | Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4503 | ||
4504 | * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and | |
4505 | also set exc.arg1, exc.arg2 appropriately in case matherr is supplied. | |
4506 | * libm/math/wrf_gamma.c (gammaf_r): ditto | |
4507 | * libm/math/wr_lgamma.c (lgamma_r): ditto | |
4508 | * libm/math/wr_gamma.c (gamma_r): ditto | |
4509 | * libm/math/wf_sqrt.c (sqrtf): ditto | |
4510 | * libm/math/wf_sinh.c (sinhf): ditto | |
4511 | * libm/math/wf_scalb.c (scalbf): ditto | |
4512 | * libm/math/wf_remainder.c (remainderf): ditto | |
4513 | * libm/math/wf_pow.c (powf): ditto | |
4514 | * libm/math/wf_log10.c (log10f): ditto | |
4515 | * libm/math/wf_log.c (logf): ditto | |
4516 | * libm/math/wf_lgamma.c (lgammaf): ditto | |
4517 | * libm/math/wf_jn.c (jnf, ynf): ditto | |
4518 | * libm/math/wf_j1.c (j1f, y1f): ditto | |
4519 | * libm/math/wf_j0.c (j0f, y0f): ditto | |
4520 | * libm/math/wf_hypot.c (hypotf): ditto | |
4521 | * libm/math/wf_gamma.c (gammaf): ditto | |
4522 | * libm/math/wf_fmod.c (fmodf): ditto | |
4523 | * libm/math/wf_exp.c (expf): ditto | |
4524 | * libm/math/wf_cosh.c (coshf): ditto | |
4525 | * libm/math/wf_atanh.c (atanhf): ditto | |
4526 | * libm/math/wf_atan2f.c (atan2f): ditto | |
4527 | * libm/math/wf_asin.c (asinf): ditto | |
4528 | * libm/math/wf_acosh.c (acoshf): ditto | |
4529 | * libm/math/wf_acos.c (acosf): ditto | |
4530 | * libm/math/w_sqrt.c (sqrt): ditto | |
4531 | * libm/math/w_sinh.c (sinh): ditto | |
4532 | * libm/math/w_scalb.c (scalb): ditto | |
4533 | * libm/math/w_remainder.c (remainder): ditto | |
4534 | * libm/math/w_pow.c (pow): ditto | |
4535 | * libm/math/w_log10.c (log10): ditto | |
4536 | * libm/math/w_log.c (log): ditto | |
4537 | * libm/math/w_lgamma.c (lgamma): ditto | |
4538 | * libm/math/w_jn.c (jn, yn): ditto | |
4539 | * libm/math/w_j1.c (j1, y1): ditto | |
4540 | * libm/math/w_j0.c (j0, y0): ditto | |
4541 | * libm/math/w_hypot.c (hypot): ditto | |
4542 | * libm/math/w_gamma.c (gamma): ditto | |
4543 | * libm/math/w_fmod.c (fmod): ditto | |
4544 | * libm/math/w_exp.c (exp): ditto | |
4545 | * libm/math/w_cosh.c (cosh): ditto | |
4546 | * libm/math/w_atanh.c (atanh): ditto | |
4547 | * libm/math/w_atan2f.c (atan2): ditto | |
4548 | * libm/math/w_asin.c (asin): ditto | |
4549 | * libm/math/w_acosh.c (acosh): ditto | |
4550 | * libm/math/w_acos.c (acos): ditto | |
4551 | ||
4552 | Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com> | |
4553 | ||
4554 | * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c. | |
4555 | (fsrc): Add wf_cabs.c and wf_drem.c. | |
4556 | * libm/math/Makefile.in: Rebuild. | |
4557 | ||
4558 | * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some | |
4559 | unused directory variables. Remove duplicate CFLAGS. | |
4560 | * Makefile.in: Rebuild. | |
4561 | ||
4562 | * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building | |
4563 | with $(CC_FOR_BUILD). | |
4564 | (makedoc.o): Likewise. | |
4565 | * doc/Makefile.in: Rebuild. | |
4566 | ||
4567 | * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to | |
4568 | force a definition of COMPILE. | |
4569 | (libfoo_a_SOURCES): Define. | |
4570 | * libc/sys/cygwin32/Makefile.in: Rebuild. | |
4571 | * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to | |
4572 | force a definition of COMPILE. | |
4573 | (libfoo_a_SOURCES): Define. | |
4574 | * libc/sys/tic80/Makefile.in: Rebuild. | |
4575 | ||
4576 | Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com> | |
4577 | ||
4578 | * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific | |
4579 | flag. | |
4580 | ||
4581 | Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com> | |
4582 | ||
4583 | * Build using autoconf and automake. Added many Makefile.am and | |
4584 | configure.in files, plus generated files. Old configure.in files | |
4585 | and all old Makefile.in files completely replaced. Removed | |
4586 | host/any. Added acinclude.m4 and configure.host. | |
4587 | ||
4588 | Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com> | |
4589 | ||
4590 | * libc/stdio/vfprintf.c: enable long long support, sometimes. | |
4591 | * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG. | |
4592 | ||
4593 | Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4594 | ||
4595 | * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files. | |
4596 | * libc/machine/sh/Makefile.in: Add rules for new files. | |
4597 | ||
4598 | Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4599 | ||
4600 | * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define. | |
4601 | * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code. | |
4602 | * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define. | |
4603 | ||
4604 | Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com> | |
4605 | ||
4606 | * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit | |
4607 | code is ignored. | |
4608 | ||
4609 | Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4610 | ||
4611 | * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use | |
4612 | internal static buffer when s is NULL, as prescribed by ANSI. | |
4613 | ||
4614 | 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com> | |
4615 | ||
4616 | * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been | |
4617 | removed. | |
4618 | * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from | |
4619 | libc/stdlib will be used for h8300hms. | |
4620 | ||
4621 | Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4622 | ||
4623 | * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler | |
4624 | version that can be built either for speed or size. | |
4625 | * libc/machine/mn10300/memset.S (_memset): ditto | |
4626 | * libc/machine/mn10300/memchr.S (_memchr): ditto | |
4627 | * libc/machine/mn10300/memcpy.S (_memcpy): ditto | |
4628 | * libc/machine/mn10300/memcmp.S (_memcmp): ditto | |
4629 | * libc/machine/mn10300/strchr.S (_strchr): ditto | |
4630 | * libc/machine/mn10300/strcmp.S (_strcmp): ditto | |
4631 | * libc/machine/mn10300/strcpy.S (_strcpy): ditto | |
4632 | * libc/machine/mn10300/Makefile.in: Added entries for | |
4633 | memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, | |
4634 | strcmp.o, strcpy.o, and strlen.o. | |
4635 | ||
4636 | Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com> | |
4637 | ||
4638 | * configure.in: Don't use libc/sys/sysmec for MN10200; it's | |
4639 | been replaced with libgloss/mn10200. | |
4640 | ||
4641 | Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com> | |
4642 | ||
4643 | * libc/string/strchr.c (strchr): Make s a constant pointer to | |
4644 | avoid warning. | |
4645 | ||
4646 | Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
4647 | ||
4648 | * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR | |
4649 | instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel | |
4650 | board SWIs instead of Demon board SWIs). | |
4651 | ||
4652 | Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com> | |
4653 | ||
4654 | * libc/string/strncat.c (strncat): Make -Os act the same as | |
4655 | PREFER_SIZE_OVER_SPEED being defined. | |
4656 | ||
4657 | Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com> | |
4658 | ||
4659 | * libc/string/memchr.c (memchr): Make -Os act the same as | |
4660 | PREFER_SIZE_OVER_SPEED being defined. | |
4661 | * libc/string/memcmp.c (memcmp): Ditto. | |
4662 | * libc/string/memcpy.c (memcpy): Ditto. | |
4663 | * libc/string/memset.c (memset): Ditto. | |
4664 | * libc/string/strcat.c (strcat): Ditto. | |
4665 | * libc/string/strchr.c (strchr): Ditto. | |
4666 | * libc/string/strcmp.c (strcmp): Ditto. | |
4667 | * libc/string/strcpy.c (strcpy): Ditto. | |
4668 | * libc/string/strlen.c (strlen): Ditto. | |
4669 | * libc/string/strncat.c (strncat): Ditto. | |
4670 | * libc/string/strncmp.c (strncmp): Ditto. | |
4671 | * libc/string/strncpy.c (strncpy): Ditto. | |
4672 | ||
4673 | Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com> | |
4674 | ||
4675 | * libc/include/sys/itimer.h: remove | |
4676 | * libc/include/sys/time.h: itimer stuff should be here | |
4677 | ||
4678 | Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4679 | ||
4680 | * libc/stdio/vfprintf.c (cvt): Changed code to look at sign | |
4681 | bit instead of comparing to 0 so -0.0 can be printed correctly. | |
4682 | ||
4683 | Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4684 | ||
4685 | * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too. | |
4686 | ||
4687 | Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com> | |
4688 | ||
4689 | * libc/include/sys/unistd.h: fix sync() proto | |
4690 | * libc/include/sys/fcntl.h: remove _close which is already | |
4691 | defined in unistd.h. | |
4692 | * libc/include/sys/time.h: add getitimer proto | |
4693 | ||
4694 | Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com> | |
4695 | ||
4696 | * libc/string/strchr.c: convert arg to unsigned char | |
4697 | * libc/include/stdlib.h: add protos for random, srandom | |
4698 | * libc/include/sys/stat.h: add lstat proto | |
4699 | * libc/include/sys/time.h: add setitimer proto | |
4700 | * libc/include/sys/unistd.h: add readlink, symlink protos | |
4701 | * libc/include/process.h: instead of including windows.h and using | |
4702 | HANDLEs in sexec protos, just use void *s. Need to include | |
4703 | sys/types.h. | |
4704 | ||
4705 | Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com> | |
4706 | ||
4707 | * libc/include/sys/fcntl.h: add _close proto for Cygwin32 | |
4708 | ||
4709 | Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com> | |
4710 | ||
4711 | * libc/include/process.h: add secure exec protos | |
4712 | ||
4713 | Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com) | |
4714 | ||
4715 | * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables | |
4716 | which are accessed as both doubles and integers. | |
4717 | * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise. | |
4718 | * libc/stdlib/strtod.c (_strtod_r): Likewise. | |
4719 | * libc/stdlib/mprec.h: Add "union double_union" and change | |
4720 | word0/word1 macros to use it. | |
4721 | ||
4722 | Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com> | |
4723 | ||
4724 | * libc/include/sys/signal.h: add __cplusplus wrapper | |
4725 | ||
4726 | Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com> | |
4727 | ||
4728 | * libc/include/sys/utime.h: new generic file that gets replaced by | |
4729 | libc/sys/SYSDIR/sys/utime.h on systems that support the utime | |
4730 | function. | |
4731 | * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto | |
4732 | * libc/include/time.h: remove duplicate utime proto | |
4733 | * libc/include/utime.h: add comment | |
4734 | ||
4735 | Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com> | |
4736 | ||
4737 | * libc/include/sys/time.h: Add missing include to | |
4738 | allow use of _EXFUN. Remove times function that is | |
4739 | already defined in times.h. | |
4740 | ||
4741 | Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com> | |
4742 | ||
4743 | * libc/include/time.h: Fix typo in tzset. | |
4744 | ||
4745 | Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com> | |
4746 | ||
4747 | * libc/include/sys/time.h: add missing Cygwin32 function protos | |
4748 | * libc/include/sys/unistd.h: ditto | |
4749 | * libc/include/time.h: ditto | |
4750 | ||
4751 | Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com> | |
4752 | ||
4753 | * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove | |
4754 | FIXME. | |
4755 | * libc/include/sys/types.h: add a new __MS_types__ section | |
4756 | to define vm_offset_t, vm_size_t, int32_t et al, register_t, | |
4757 | __BIT_TYPES_DEFINED__. | |
4758 | ||
4759 | Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com> | |
4760 | ||
4761 | * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys | |
4762 | since it overrides the one in libc/include/sys. Also, start | |
4763 | including types.h. | |
4764 | ||
4765 | Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com> | |
4766 | ||
4767 | * libm/math/Makefile.in: add s_signgam.o to obj list | |
4768 | ||
4769 | Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4770 | ||
4771 | * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C". | |
4772 | ||
4773 | Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com> | |
4774 | ||
4775 | * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set, | |
4776 | so don't use defines. | |
4777 | ||
4778 | Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com> | |
4779 | ||
4780 | * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints. | |
4781 | ||
4782 | Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com> | |
4783 | ||
4784 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL | |
4785 | _current_locale as default locale. | |
4786 | ||
4787 | Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com> | |
4788 | ||
4789 | * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for | |
4790 | insufficient space in a chunk. | |
4791 | ||
4792 | Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4793 | ||
4794 | * configure.in (links): Added check for --enable-newlib-mb configure | |
4795 | option which defines the MB_CAPABLE macro. | |
4796 | * libc/locale/locale.c (_setlocale_r): Added support for setting | |
4797 | LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is | |
4798 | defined. | |
4799 | * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that | |
4800 | implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP. | |
4801 | * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that | |
4802 | implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP. | |
4803 | * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that | |
4804 | implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP. | |
4805 | * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements | |
4806 | wcstombs() with multibyte support for JIS, SJIS, and EUC-JP. | |
4807 | * libc/stdlib/Makefile.in: Added new multibyte | |
4808 | routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r(). | |
4809 | * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(), | |
4810 | _mbstowcs_r(), and _wcstombs_r(). | |
4811 | * libc/stdlib/mbctype.h: New internal header file that contains macros to test | |
4812 | for JIS, SJIS, and EUC-JP characters. | |
4813 | * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if | |
4814 | MB_CAPABLE defined. | |
4815 | * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if | |
4816 | MB_CAPABLE defined. | |
4817 | * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if | |
4818 | MB_CAPABLE defined. | |
4819 | * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r() | |
4820 | if MB_CAPABLE defined. | |
4821 | * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r() | |
4822 | if MB_CAPABLE defined. | |
4823 | * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance | |
4824 | to the format string processing when MB_CAPABLE. | |
4825 | * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to | |
4826 | call _mbtowc_r(). | |
4827 | ||
4828 | Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com> | |
4829 | ||
4830 | The following modifications are courtesy of Anthony Thompson, | |
4831 | athompson@cambridge.arm.com: | |
4832 | * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for | |
4833 | boith RDI and RDP monitors. | |
4834 | * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both | |
4835 | RDI and RDP monitors. | |
4836 | ||
4837 | Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4838 | ||
4839 | * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb. | |
4840 | * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions. | |
4841 | (_swiopen): Fixed open flags to treat write with append as just append. | |
4842 | (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END. | |
4843 | * libc/sys/arm/sys/param.h: New file to override param.h for ARM. | |
4844 | ||
4845 | Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4846 | ||
4847 | * libc/machine/sh/memcpy.S (L_odddst, big endian version): | |
4848 | When needing to transfer an initial 2-byte-word, store as | |
4849 | two single bytes. | |
4850 | ||
4851 | Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4852 | ||
4853 | * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like | |
4854 | __SH3E__ . | |
4855 | * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise. | |
4856 | * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise. | |
4857 | ||
4858 | Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com> | |
4859 | ||
4860 | * configure.in (target_cflags): If --enable-target-optspace, use | |
4861 | -Os to compile newlib rather than -O2. Default to using -Os for | |
4862 | d10v, d30v and m32r if --{enable,disable}-target-optspace is not | |
4863 | used. | |
4864 | ||
4865 | Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com> | |
4866 | ||
4867 | * libc/include/machine/setjmp.h: change sigsetjmp and | |
4868 | siglongjmp definitions to use an array instead of a struct | |
4869 | for __CYGWIN32__ | |
4870 | ||
4871 | Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com> | |
4872 | ||
4873 | * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling. | |
4874 | ||
4875 | Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
4876 | ||
4877 | * libc/string/strxfrm.c: fix to get correct return value | |
4878 | ||
4879 | Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com> | |
4880 | ||
4881 | * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE | |
4882 | builds. Make mode change labels global so that they will be seen | |
4883 | by the debugger. | |
4884 | ||
4885 | Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com> | |
4886 | ||
4887 | * configure.in (links): Do not use ARM debiugging protocols for PE | |
4888 | builds. | |
4889 | ||
4890 | * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error | |
4891 | message. | |
4892 | ||
4893 | Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4894 | ||
4895 | * libc/stdio/findfp.c (__sinit): Made stdout default to | |
4896 | line buffered mode as defined by ANSI. | |
4897 | ||
4898 | Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com> | |
4899 | ||
4900 | * libc/include/sys/itimer.h: New file. | |
4901 | ||
4902 | * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions. | |
4903 | ||
4904 | Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4905 | ||
4906 | * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c | |
4907 | failure. | |
4908 | ||
4909 | Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com> | |
4910 | ||
4911 | * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel | |
4912 | insns. | |
4913 | ||
4914 | Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com> | |
4915 | ||
4916 | * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype. | |
4917 | ||
4918 | Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com> | |
4919 | ||
4920 | * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V | |
4921 | support. | |
4922 | ||
4923 | * libc/include/machine/setjmp.h: Add D30V support. | |
4924 | ||
4925 | * configure.in (d30v-*): Add d30v machine directory. | |
4926 | ||
4927 | Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com> | |
4928 | ||
4929 | * configure.in: Don't use libc/sys/sysmec for MN10300; it's | |
4930 | been replaced with libgloss/mn10300. | |
4931 | ||
4932 | Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com> | |
4933 | ||
4934 | * libc/stdlib/mallocr.c: remove __malloc_copy routine now that | |
4935 | it is no longer needed. | |
4936 | ||
4937 | Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com> | |
4938 | ||
4939 | * libc/include/sys/signal.h: add sigpause proto for Cygwin32 | |
4940 | ||
4941 | Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com> | |
4942 | ||
4943 | * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of | |
4944 | the file when O_APPEND is set, wherever the EOF happens to be at | |
4945 | that time. | |
4946 | ||
4947 | Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com> | |
4948 | ||
4949 | patch from cgf@bbc.com (Christopher Faylor): | |
4950 | * libc/stdio/freopen.c (freopen): Conform to standard UNIX | |
4951 | convention of closing fp prior to attempting to open the file | |
4952 | argument. This allows correct operation when reopening | |
4953 | stdin/stdout/stderr. Replaces last freopen.c patch. | |
4954 | ||
4955 | Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com> | |
4956 | ||
4957 | patch from cgf@bbc.com (Christopher Faylor): | |
4958 | * libc/stdio/freopen.c: freopen was not preserving the fd | |
4959 | of the stream being operated on. This confuses programs that | |
4960 | expect that the handles for stdout and stderr will be 1 and 2. | |
4961 | ||
4962 | Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
4963 | ||
4964 | * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU. | |
4965 | ||
4966 | Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com> | |
4967 | ||
4968 | * libc/sys/go32/longjmp.S: Fix longjmp to not return 0. | |
4969 | ||
4970 | Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4971 | ||
4972 | * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code | |
4973 | altered to not use a branch. Also added hint that last | |
4974 | bclr in longjmp will likely result in branch. | |
4975 | ||
4976 | ||
4977 | Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com> | |
4978 | ||
4979 | * libc/sys/cygwin32/crt0.c: add missing args to main() extern | |
4980 | ||
4981 | Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com> | |
4982 | ||
4983 | * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for | |
4984 | v850 builds. | |
4985 | ||
4986 | * configure.in: Add -msmall-sld to target_cflags for v850 builds. | |
4987 | ||
4988 | Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4989 | ||
4990 | * libc/machine/powerpc/setjmp.S (longjmp): Fixed code | |
4991 | that loads FR14 to specify offset of 8 rather than 4 | |
4992 | so it loads from offset 96 (where setjmp stored it). | |
4993 | ||
4994 | Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
4995 | ||
4996 | * libc/machine/sh/memcpy.S: (_memcpy): Update to | |
4997 | latest version supplied by customer. | |
4998 | * libc/machine/sh/memset.S (_memset): Ditto. | |
4999 | ||
5000 | Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com> | |
5001 | ||
5002 | * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for | |
5003 | PR14730). | |
5004 | ||
5005 | Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com> | |
5006 | ||
5007 | * libc/include/string.h: remove redefinition of ffs | |
5008 | ||
5009 | Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com> | |
5010 | ||
5011 | * libc/include/sys/signal.h: include _ansi.h so _EXFUN is | |
5012 | defined | |
5013 | ||
5014 | Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com> | |
5015 | ||
5016 | * libc/machine/tic80/setjmp.S: Adding _setjmp to allow | |
5017 | TI Libraries to link to libc.a | |
5018 | ||
5019 | Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com> | |
5020 | ||
5021 | * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes. | |
5022 | * libc/include/sys/stat.h (_{,f}stat): Ditto. | |
5023 | * libc/include/sys/wait.h (_wait): Ditto. | |
5024 | * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto. | |
5025 | (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto. | |
5026 | ||
5027 | Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com> | |
5028 | ||
5029 | * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple | |
5030 | minded stabs so function name shows up when running the simulator | |
5031 | with -t. | |
5032 | * libc/sys/d10v/{crt0,trap}.S: Ditto. | |
5033 | ||
5034 | Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com> | |
5035 | ||
5036 | * libc/sys/d10v/trap.S: Change syscalls to use trap 15. | |
5037 | * libc/sys/d10v/crt0.S: Use R6 where we used to use R2. | |
5038 | Use R5 where we used to use R3. | |
5039 | ||
5040 | Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com> | |
5041 | ||
5042 | * libc/stdlib/getopt.c (getopt): replaced __progname | |
5043 | with nargv[0] to improve portability to imbedded systems. | |
5044 | ||
5045 | Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com> | |
5046 | ||
5047 | * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied | |
5048 | patch supplied by Tont.Thompson@arm.com to fix the creation of the | |
5049 | stdout file. | |
5050 | ||
5051 | Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com> | |
5052 | ||
5053 | * libc/stdio/tmpnam.c (worker): Generate a different file name | |
5054 | each time. | |
5055 | ||
5056 | * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh | |
5057 | fails, try an execlp for sh. | |
5058 | ||
5059 | * host/any (INCLUDES): If target_os is cygwin32, then add a -I | |
5060 | option for the winsup include directory. | |
5061 | ||
5062 | Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com> | |
5063 | ||
5064 | * libc/sys/arm/syscalls.c: Applied patches for Angel based remote | |
5065 | debugging interface from Tony.Thompson@arm.com. | |
5066 | ||
5067 | * libc/sys/arm/crt0.S (_mainCRTStartup): ditto. | |
5068 | * libc/sys/arm/swi.h: ditto. | |
5069 | ||
5070 | Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com> | |
5071 | ||
5072 | * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to | |
5073 | DIR struct used for readdir hashes. | |
5074 | ||
5075 | Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com) | |
5076 | ||
5077 | * libc/string/strchr.c: Use "unsigned chars" as necessary. | |
5078 | ||
5079 | Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com) | |
5080 | ||
5081 | * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit | |
5082 | integer targets. | |
5083 | ||
5084 | Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
5085 | ||
5086 | * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if | |
5087 | INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC. | |
5088 | * libc/include/malloc.h: Add extern "C" if __cplusplus. | |
5089 | (__malloc_copy): Declare. | |
5090 | ||
5091 | Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com> | |
5092 | ||
5093 | * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include | |
5094 | <sys/config.h>. | |
5095 | (POINTER_UINT): Define. | |
5096 | (DEFAULT_TRIM_THRESHOLD): Mark constants as long. | |
5097 | (MALLOC_ALIGNMENT): Don't define if already defined. | |
5098 | (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned | |
5099 | long. | |
5100 | ||
5101 | Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com> | |
5102 | ||
5103 | * libc/string/memset.c (memset): Fiddle with code so that the long | |
5104 | value being stored is not a stack value. Unroll storing longs 4 | |
5105 | times. | |
5106 | ||
5107 | Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com> | |
5108 | ||
5109 | * Reduce code size for libm modules. | |
5110 | * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard | |
5111 | and simply move code into sqrt. | |
5112 | * libm/math/wrf_lgamma.c (lgammaf_r): Likewise. | |
5113 | * libm/math/wr_lgamma.c (lgamma_r): Likewise. | |
5114 | * libm/math/wrf_gamma.c (gammaf_r): Likewise. | |
5115 | * libm/math/wr_gamma.c (gamma_r): Likewise. | |
5116 | * libm/math/wf_sinh.c (sinfh): Likewise. | |
5117 | * libm/math/w_sinh.c (sinh): Likewise. | |
5118 | * libm/math/wf_scalb.c (scalbf): Likewise. | |
5119 | * libm/math/w_scalb.c (scalb): Likewise. | |
5120 | * libm/math/wf_remainder.c (remainderf): Likewise. | |
5121 | * libm/math/w_remainder.c (remainder): Likewise. | |
5122 | * libm/math/wf_pow.c (powf): Likewise. | |
5123 | * libm/math/w_pow.c (pow): Likewise. | |
5124 | * libm/math/wf_log10.c (log10f): Likewise. | |
5125 | * libm/math/w_log10.c (log10): Likewise. | |
5126 | * libm/math/wf_log.c (logf): Likewise. | |
5127 | * libm/math/w_log.c (log): Likewise. | |
5128 | * libm/math/w_lgamma.c (lgamma): Likewise. | |
5129 | * libm/math/wf_lgamma.c (lgammaf): Likewise. | |
5130 | * libm/math/wf_jn.c (jnf): Likewise. | |
5131 | * libm/math/w_jn.c (jn): Likewise. | |
5132 | * libm/math/wf_j1.c (j1f): Likewise. | |
5133 | * libm/math/w_j1.c (j1): Likewise. | |
5134 | * libm/math/wf_j0.c (j0f): Likewise. | |
5135 | * libm/math/w_j0.c (j0): Likewise. | |
5136 | * libm/math/wf_hypot.c (hypotf): Likewise. | |
5137 | * libm/math/w_hypot.c (hypot): Likewise. | |
5138 | * libm/math/wf_gamma.c (gammaf): Likewise. | |
5139 | * libm/math/w_gamma.c (gamma): Likewise. | |
5140 | * libm/math/wf_fmod.c (fmodf): Likewise. | |
5141 | * libm/math/w_fmod.c (fmod): Likewise. | |
5142 | * libm/math/wf_exp.c (expf): Likewise. | |
5143 | * libm/math/w_exp.c (exp): Likewise. | |
5144 | * libm/math/wf_cosh.c (coshf): Likewise. | |
5145 | * libm/math/w_cosh.c (cosh): Likewise. | |
5146 | * libm/math/wf_atanh.c (atanhf): Likewise. | |
5147 | * libm/math/w_atanh.c (atanh): Likewise. | |
5148 | * libm/math/wf_atan2.c (atan2f): Likewise. | |
5149 | * libm/math/w_atan2.c (atan2): Likewise. | |
5150 | * libm/math/wf_asin.c (asinf): Likewise. | |
5151 | * libm/math/w_asin.c (asin): Likewise. | |
5152 | * libm/math/wf_acosh.c (acoshf): Likewise. | |
5153 | * libm/math/w_acosh.c (acosh): Likewise. | |
5154 | * libm/math/wf_acos.c (asocf): Likewise. | |
5155 | * libm/math/w_acos.c (acos): Likewise. | |
5156 | * libm/math/wf_sqrt.c (sqrtf): Likewise. | |
5157 | * libm/math/k_standard.c (_k_standard): Don't require SVID behavior | |
5158 | for embedded systems. | |
5159 | ||
5160 | Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com> | |
5161 | ||
5162 | * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug | |
5163 | Lea in case of a foreign sbrk. | |
5164 | ||
5165 | Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com> | |
5166 | ||
5167 | Incorporate Doug Lea's malloc: | |
5168 | * libc/stdlib/mallocr.c: Completely replaced. | |
5169 | * libc/stdlib/malloc.c: Document malloc_usable_size and memalign. | |
5170 | (realloc): Remove. | |
5171 | * libc/stdlib/calloc.c (calloc): Just call _calloc_r. | |
5172 | * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and | |
5173 | mallopt. | |
5174 | (mallinfo, malloc_stats, mallopt): New functions. | |
5175 | (_mstats_r): Just call _malloc_stats_r. | |
5176 | * libc/stdlib/malign.c: New file. | |
5177 | * libc/stdlib/mlock.c: New file. | |
5178 | * libc/stdlib/msize.c: New file. | |
5179 | * libc/stdlib/mtrim.c: New file. | |
5180 | * libc/stdlib/realloc.c: New file. | |
5181 | * libc/stdlib/valloc.c: New file. | |
5182 | * libc/stdlib/malloc.h: Remove. | |
5183 | * libc/stdlib/callocr.c: Remove. | |
5184 | * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o, | |
5185 | malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o, | |
5186 | mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o, | |
5187 | reallocr.o, valloc.o, vallocr.o. | |
5188 | (CHEWOUT_FILES): Add mlock.def, mstats.def. | |
5189 | (MALLOC_CFLAGS): New variable. | |
5190 | (mallocr.o): New target, build from mallocr.c. | |
5191 | (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise. | |
5192 | (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise. | |
5193 | (msizer.o, malloptr.o): Likewise. | |
5194 | (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets. | |
5195 | (valloc.o): New target. | |
5196 | * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def. | |
5197 | * libc/include/malloc.h: Declare struct mallinfo, and new | |
5198 | routines. | |
5199 | * libc/include/stdlib.h (cfree): Correct declaration. | |
5200 | ||
5201 | Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com> | |
5202 | ||
5203 | * libc/include/machine/setjmp.h: Add support for Thumb target. | |
5204 | ||
5205 | * libc/include/machine/ieeefp.h: Add support for Thumb target. | |
5206 | ||
5207 | * configure.in (links): Add support for Thumb target. | |
5208 | ||
5209 | Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com> | |
5210 | ||
5211 | * libc/sys/arm/setjmp.S: Updated with version from branch. | |
5212 | ||
5213 | Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com> | |
5214 | ||
5215 | * libc/include/stdio.h: add POSIX-required define L_ctermid | |
5216 | for ctermid | |
5217 | ||
5218 | Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com> | |
5219 | ||
5220 | * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in | |
5221 | addition to MISSING_SYSCALL_NAMES. | |
5222 | ||
5223 | Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk> | |
5224 | ||
5225 | * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned. | |
5226 | ||
5227 | Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com> | |
5228 | ||
5229 | * libc/include/string.h: change strsignal proto to return | |
5230 | a char *. This eliminates compile problems in gdb resulting | |
5231 | from gdb's definition of strsignal in defs.h. | |
5232 | ||
5233 | Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com> | |
5234 | ||
5235 | * libc/sys/cygwin32/sys/utime.h: new (moved here from | |
5236 | winsup/include) so as not to conflict with the one in | |
5237 | libc/include. | |
5238 | * libc/include/string.h: add protos for strsignal, strtosigno | |
5239 | ||
5240 | Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com> | |
5241 | ||
5242 | * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v. | |
5243 | ||
5244 | * configure.in (d30v-*-*): Add configuration. | |
5245 | ||
5246 | Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com> | |
5247 | ||
5248 | * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags | |
5249 | to select which kind of debug monitor is in use for an ARM target. | |
5250 | ||
5251 | * libc/sys/arm/crt0.S: New version: Supports Thumb startups and | |
5252 | Angel and Demon debug monitors. Part of this code was supplied by | |
5253 | Tony Thompson at ARM: athompso@arm.com. | |
5254 | ||
5255 | Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com) | |
5256 | ||
5257 | * strncat.c (strncat): Don't call strncpy; strncay has the wrong | |
5258 | semantics when the count is greater than the length of the second | |
5259 | source string. | |
5260 | ||
5261 | Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com> | |
5262 | ||
5263 | * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers | |
5264 | * libc/include/sys/unistd.h: add protos for usleep, truncate, | |
5265 | truncate and ftruncate take off_t, not size_t | |
5266 | ||
5267 | Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com> | |
5268 | ||
5269 | * libc/string/strcat.c (strcat): Add missing comment end. | |
5270 | * libc/string/strncat.c (strncat): Likewise. | |
5271 | ||
5272 | Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com> | |
5273 | ||
5274 | * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850 | |
5275 | targets. | |
5276 | * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space | |
5277 | optimised version which is selected if PREFER_SIZE_OVER_SPEED is | |
5278 | defined. | |
5279 | * libc/string/{memset.c, strcat.c, strchr.c}: Likewise. | |
5280 | * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise. | |
5281 | * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise. | |
5282 | ||
5283 | Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com> | |
5284 | ||
5285 | * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__. | |
5286 | (LITTLE_ENDIAN, BYTE_ORDER): Likewise. | |
5287 | ||
5288 | Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com> | |
5289 | ||
5290 | * libc/machine/i386/setjmp.S: New file. | |
5291 | * libc/machine/i386/Makefile.in: Delete COPYOFILES. | |
5292 | (OFILES): Add setjmp.o. | |
5293 | (setjmp.o): Add rule for. | |
5294 | * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}. | |
5295 | ||
5296 | Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com) | |
5297 | Jeffrey A Law (law@cygnus.com) | |
5298 | ||
5299 | * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster. | |
5300 | * libc/string/{memset.c, strcat.c, strchr.c}: Likewise. | |
5301 | * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise. | |
5302 | * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise. | |
5303 | ||
5304 | Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com> | |
5305 | ||
5306 | * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit | |
5307 | rules. | |
5308 | ||
5309 | * libc/include/sys/config.h: Use __v850 to select v850 | |
5310 | endianness. | |
5311 | ||
5312 | * libc/include/machine/setjmp.h: Use __v850 to select v850 jump | |
5313 | buffer size. | |
5314 | ||
5315 | * libc/include/machine/ieeefp.h: Use __v850 to select v850 | |
5316 | endianness. | |
5317 | ||
5318 | Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com> | |
5319 | ||
5320 | * libc/stdlib/setenv.c: change unsetenv definition to match | |
5321 | style of setenv (with _DEFUN). The string should be a const. | |
5322 | * libc/include/stdlib.h: unsetenv proto should return void. | |
5323 | ||
5324 | Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com> | |
5325 | ||
5326 | * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__ | |
5327 | ||
5328 | Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com) | |
5329 | ||
5330 | * libc/stdio/glue.h: remove. | |
5331 | * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h" | |
5332 | * libc/stdio/Makefile.in: remove glue.h dependencies | |
5333 | ||
5334 | Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com> | |
5335 | ||
5336 | * libc/sys/sysnecv850/crt0.S: Created V850e version. | |
5337 | ||
5338 | Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com> | |
5339 | ||
5340 | * configure.in (target_cpu): Add `arc'. | |
5341 | ||
5342 | Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com> | |
5343 | ||
5344 | * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and | |
5345 | -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags. | |
5346 | * newlib/libc/include/sys/errno.h: Add ENOTSUP. | |
5347 | * newlib/libc/reent/reent.c: Add _wrapup_reent. | |
5348 | * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32. | |
5349 | ||
5350 | Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com> | |
5351 | ||
5352 | * libc/machine/mips/setjmp.S: Handle mips16 builds. | |
5353 | ||
5354 | Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com> | |
5355 | ||
5356 | * libc/include/stdio.h (siprintf): Declare. | |
5357 | ||
5358 | Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com> | |
5359 | ||
5360 | * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes | |
5361 | TARGET_CFLAGS and NEWLIB_FLAGS. | |
5362 | ||
5363 | Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com> | |
5364 | ||
5365 | * configure.in (links): Add support for v850ea target. | |
5366 | ||
5367 | Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com> | |
5368 | ||
5369 | * configure.in (links): Add support for v850e target. | |
5370 | ||
5371 | Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com> | |
5372 | ||
5373 | * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0. | |
5374 | ||
5375 | Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com> | |
5376 | ||
5377 | * configure.in (arc-*-*): Add support for. | |
5378 | * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC. | |
5379 | ||
5380 | Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk> | |
5381 | ||
5382 | * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4. | |
5383 | ||
5384 | Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com> | |
5385 | ||
5386 | * libc/stdlib/bsearch.c (bsearch): remove last unneeded | |
5387 | comparison which accesses invalid memory when the key is | |
5388 | larger than the last member of the array. | |
5389 | * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp | |
5390 | for CYGWIN32 | |
5391 | * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32 | |
5392 | ||
5393 | Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
5394 | ||
5395 | * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and | |
5396 | not _STRICT_ANSI. | |
5397 | ||
5398 | Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com> | |
5399 | ||
5400 | * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout) | |
5401 | ifndef _USE_WRITE, instead of ifdef _USE_WRITE. | |
5402 | ||
5403 | Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com> | |
5404 | ||
5405 | * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d | |
5406 | to load/store memory. | |
5407 | ||
5408 | Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com> | |
5409 | ||
5410 | * libc/include/sys/fcntl.h: Define _O_* symbols with leading | |
5411 | underscores if _WIN32. | |
5412 | ||
5413 | Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com> | |
5414 | ||
5415 | * libm/math/k_standard.c (__kernel_standard): Delete reentrancy | |
5416 | support ifdef _USE_WRITE missed in last change. | |
5417 | From Anders Blomdell <anders.blomdell@control.lth.se>. | |
5418 | ||
5419 | Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com> | |
5420 | ||
5421 | * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out. | |
5422 | (_tmpnam_r, _tempnam_r): Update. | |
5423 | ||
5424 | Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com> | |
5425 | ||
5426 | * libc/machine/sparc/setjmp.S: New file. | |
5427 | * libc/machine/sparc/Makefile.in: Add setjmp. | |
5428 | * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc. | |
5429 | ||
5430 | Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com> | |
5431 | ||
5432 | * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__. | |
5433 | ||
5434 | Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com> | |
5435 | ||
5436 | From Joel Sherrill <joel@oarcorp.com>. | |
5437 | * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'. | |
5438 | ||
5439 | Add rtems support. From Joel Sherrill <joel@oarcorp.com>. | |
5440 | * configure.in: Recognize *-*-rtems*. | |
5441 | * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files. | |
5442 | * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h, | |
5443 | time.h,times.h,types.h}: New files. | |
5444 | * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files. | |
5445 | ||
5446 | Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com> | |
5447 | ||
5448 | patch from sos@prospect.com.ru (Sergey Okhapkin): | |
5449 | * include/sys/wait.h: correct operator precidence bug | |
5450 | in WIFSIGNALED | |
5451 | ||
5452 | Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com> | |
5453 | ||
5454 | * libc/include/stdlib.h: remove unsetenv proto since it conflicts | |
5455 | with newlib's unsetenv function | |
5456 | * libc/sys/cygwin32/sys: new directory for includes | |
5457 | * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h | |
5458 | here from winsup/include/sys | |
5459 | ||
5460 | Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com> | |
5461 | ||
5462 | * libc/include/sys/unistd.h: _exit should only be | |
5463 | labelled noreturn when not __CYGWIN32__ | |
5464 | * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv | |
5465 | * libc/include/sys/signal.h: add SIGIO to _WIN32 list and | |
5466 | increment NSIG | |
5467 | ||
5468 | Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com> | |
5469 | ||
5470 | * libc/include/sys/time.h: Only define timeval and timezone if | |
5471 | _GNU_H_WINDOWS32_SOCKETS is not defined. | |
5472 | * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc. | |
5473 | ||
5474 | Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com) | |
5475 | ||
5476 | * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp | |
5477 | * libc/machine/mn10300/setjmp.S: Likewise. | |
5478 | ||
5479 | * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for | |
5480 | the mn10300 (more relaxing opportunities). | |
5481 | ||
5482 | Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com> | |
5483 | ||
5484 | * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}): | |
5485 | Build libraries with -mstrict-align. | |
5486 | ||
5487 | Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com> | |
5488 | ||
5489 | * libc/string/strlwr.c: New file. | |
5490 | * libc/string/strupr.c: New file. | |
5491 | * libc/include/string.h: Declare strlwr and strupr. | |
5492 | * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o. | |
5493 | (CHEWOUT_FILES): Add strlwr.def and strupr.def. | |
5494 | (strlwr.o, strupr.o): New targets. | |
5495 | * libc/string/strings.tex: Include strlwr and strupr docs. | |
5496 | ||
5497 | * libc/include/sys/types.h: Don't define u_char, et. al., if | |
5498 | _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set, | |
5499 | et. al. Make FD_SETSIZE default 64 rather than 60. Define | |
5500 | _types_fd_set rather than fd_set, and define fd_set as a macro. | |
5501 | ||
5502 | * libc/include/malloc.h: New file. | |
5503 | ||
5504 | * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and | |
5505 | strnicmp if they are not already defined. | |
5506 | ||
5507 | * libc/include/time.h: If __CYGWIN32__, declare tzset and define | |
5508 | _timezone, _daylight, and _tzname. | |
5509 | ||
5510 | Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com> | |
5511 | ||
5512 | * configure.in: Sort all configuration tables. | |
5513 | ||
5514 | From Joel Sherrill <joel@oarcorp.com> | |
5515 | * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h. | |
5516 | ||
5517 | Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com> | |
5518 | ||
5519 | * libc/include/sys/signal.h: Don't include <sys/types.h>. Just | |
5520 | use int when declaring kill. | |
5521 | ||
5522 | * libc/include/sys/timeb.h: New file. | |
5523 | ||
5524 | Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com> | |
5525 | ||
5526 | * libc/include/sys/time.h: add itimer support for Cygwin32 | |
5527 | ||
5528 | Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com> | |
5529 | ||
5530 | * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write | |
5531 | out a message that abort was called to stderr. | |
5532 | ||
5533 | Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com> | |
5534 | ||
5535 | * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096 | |
5536 | so that libio doesn't freak. | |
5537 | ||
5538 | * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not | |
5539 | int. | |
5540 | ||
5541 | * libc/stdlib/mallocr.c (_morecore_r): Use size_t for | |
5542 | memory sizes, not int. | |
5543 | ||
5544 | Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com> | |
5545 | ||
5546 | * libm/math/ef_hypot.c: Use long constants where | |
5547 | appropriate. | |
5548 | * libm/math/ef_sqrt.c: Ditto. | |
5549 | ||
5550 | * libc/sys/sysmec/times.c(_times): Change to times. | |
5551 | ||
5552 | * libc/sys/sysmec/read.c(_read): The third argument is | |
5553 | size_t. | |
5554 | * libc/sys/sysmec/write.c (_write): Ditto. | |
5555 | ||
5556 | * libc/sys/sysmec/lseek.c: Include unistd.h for off_t. | |
5557 | (_lseek): It's off_t for the second argument. | |
5558 | ||
5559 | Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com> | |
5560 | ||
5561 | * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here, | |
5562 | as well as machine/ieeefp.h. | |
5563 | ||
5564 | Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com> | |
5565 | ||
5566 | * libc/include/sys/signal.h: add signal protos for winsup | |
5567 | functions (when __CYGWIN32__), include types.h | |
5568 | * libc/include/sys/types.h: Change __go32_types__ internal | |
5569 | define to __MS_types__ since it's used for more than just | |
5570 | GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are | |
5571 | defined. | |
5572 | * libc/include/sys/unistd.h: add ftruncate proto for | |
5573 | winsup functions (when __CYGWIN32__) | |
5574 | ||
5575 | Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com> | |
5576 | ||
5577 | * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition. | |
5578 | ||
5579 | Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com> | |
5580 | ||
5581 | * libc/include/machine/setjmp.h: Add tic80 support. | |
5582 | * libc/machine/tic80/setjmp.S: Likewise. | |
5583 | ||
5584 | Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com> | |
5585 | ||
5586 | * libc/sys/cygwin32/crt0.c: Add reference to main() so we can | |
5587 | link programs from libraries only (such as in the X11 | |
5588 | distribution) | |
5589 | ||
5590 | Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com> | |
5591 | ||
5592 | * libc/sys/arm/syscalls.c (signal): Remove stub, signal() | |
5593 | supplied elsewhere in newlib. | |
5594 | ||
5595 | Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com> | |
5596 | ||
5597 | * Makefile.in (INSTALL): Change install.sh to install-sh. | |
5598 | ||
5599 | Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
5600 | ||
5601 | * README: update WWW address for on-line documentation. | |
5602 | ||
5603 | Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com> | |
5604 | ||
5605 | * libc/include/sys/signal.h: for _WIN32, define SIGCONT and | |
5606 | increment NSIG | |
5607 | ||
5608 | Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com) | |
5609 | ||
5610 | * libc/sys/sysmec/crt0.S: Update for new calling conventions on the | |
5611 | mn10300. | |
5612 | * libc/sys/sysmec/trap.S: Don't compare a register to itself. | |
5613 | ||
5614 | Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com) | |
5615 | ||
5616 | * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection. | |
5617 | * libc/sys/d10v/syscalls.c: Likewise. | |
5618 | * libc/sys/h8300hms/sbrk.c: Likewise. | |
5619 | * libc/sys/h8500hms/syscalls.c: Likewise. | |
5620 | * libc/sys/m88kbug/syscalls.c: Likewise. | |
5621 | * libc/sys/sh/syscalls.c: Likewise. | |
5622 | * libc/sys/sysmec/sbrk.c: Likewise. | |
5623 | * libc/sys/sysnecv850/sbrk.c: Likewise. | |
5624 | * libc/sys/w65/syscalls.c: Likewise. | |
5625 | * libc/sys.tex: Update sbrk sample code to include stack/heap collision. | |
5626 | ||
5627 | Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com) | |
5628 | ||
5629 | * libc/sys/sysmec/trap.S: Use "syscall" to trigger an | |
5630 | emulated syscall instead of "trap". | |
5631 | ||
5632 | Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com> | |
5633 | ||
5634 | * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls, | |
5635 | not trap 0. | |
5636 | ||
5637 | Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com> | |
5638 | ||
5639 | * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags. | |
5640 | ||
5641 | Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com> | |
5642 | ||
5643 | * libc/machine/arm/Makefile.in: Fix comment, is for "arm" | |
5644 | not "sh". | |
5645 | * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r" | |
5646 | not "d10v". | |
5647 | * libc/sys/tic80/crt0.c: New file for TIc80. | |
5648 | * libc/sys/tic80/Makefile.in: New file for TIc80. | |
5649 | * libc/machine/tic80/Makefile.in: New file for TIc80. | |
5650 | ||
5651 | Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com> | |
5652 | ||
5653 | * libc/machine/sh/memcpy.S: New file. | |
5654 | * libc/machine/sh/memset.S: New file. | |
5655 | * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o | |
5656 | ||
5657 | Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com> | |
5658 | ||
5659 | * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define | |
5660 | for TIc80. | |
5661 | ||
5662 | Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com) | |
5663 | ||
5664 | * libc/sys/sysmec/crt0.S: Handle new calling conventions for | |
5665 | the mn10200. | |
5666 | ||
5667 | Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com> | |
5668 | ||
5669 | * libc/machine/powerpc/setjmp.S (longjmp): Correct return status | |
5670 | (patch from andrew@pogo.WV.TEK.COM). | |
5671 | ||
5672 | Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
5673 | ||
5674 | * libc/machine/m32r/setjmp.S (setjmp): Save r12. | |
5675 | (longjmp): Restore r12. Fix code that handles returning 1 if passed 0. | |
5676 | ||
5677 | Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com> | |
5678 | ||
5679 | * configure.in: Add cases for "tic80" to set machine_dir, | |
5680 | sys_dir, and syscall_dir. | |
5681 | ||
5682 | Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com> | |
5683 | ||
5684 | * libc/sys/cygwin32/crt0.c: initialize floating pt registers | |
5685 | ||
5686 | Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com> | |
5687 | ||
5688 | * libc/include/math.h: avoid conflicts with ANSI C++ <exception> | |
5689 | ||
5690 | Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com> | |
5691 | ||
5692 | * libc/machine/m32r/setjmp.S: Use proper comment delimiter. | |
5693 | Use proper constant prefix. | |
5694 | ||
5695 | Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com) | |
5696 | ||
5697 | * libc/sys/sysmec/*.c: Don't cast args to syscall to integers, | |
5698 | that loses on the mn10200 where ints and pointers are different | |
5699 | sizes. | |
5700 | ||
5701 | Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com> | |
5702 | ||
5703 | * configure.in: Added -DSIGNAL_PROVIDED to cygwin32 | |
5704 | target as signal is provided in winsup. | |
5705 | ||
5706 | Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com> | |
5707 | ||
5708 | * libc/include/sys/process.h: Corrected const definitions | |
5709 | in spawn functions. Added cwait. | |
5710 | ||
5711 | Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com) | |
5712 | ||
5713 | * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit | |
5714 | doubles. | |
5715 | * libc/include/sys/config.h: Similarly. | |
5716 | ||
5717 | Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5718 | ||
5719 | * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the | |
5720 | target_cflags. | |
5721 | (i[3456]86-*-sco*): Ditto. | |
5722 | ||
5723 | * libc/signal/Makefile.in (OFILES): Add signal.o. | |
5724 | (CFILES): Add signal.c. | |
5725 | ||
5726 | * libc/signal/raise.c (_raise_r): Only compile code if | |
5727 | SIGNAL_PROVIDED is defined. | |
5728 | ||
5729 | * libc/signal/signal.c: Redo whole file so that it works with | |
5730 | current newlib. Use _kill_r if no signal handler provided. | |
5731 | ||
5732 | * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and | |
5733 | signal stubs. | |
5734 | * libc/sys/sysvnecv70/Makefile.in: Ditto. | |
5735 | * libc/sys/sysnecv850/Makefile.in: Ditto. | |
5736 | ||
5737 | * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used. | |
5738 | * libc/sys/sysmec/{raise,signal}.c: Ditto. | |
5739 | * libc/sys/sysvnecv70/signal.s: Ditto. | |
5740 | * libc/sys/sysnecv850/raise.c: Ditto. | |
5741 | ||
5742 | * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that | |
5743 | simulator and debugger can tell the difference between a signal | |
5744 | being raised and an exit system call. | |
5745 | ||
5746 | * NEWS: Document software signals being provided. | |
5747 | ||
5748 | Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5749 | ||
5750 | * libc/reent/impure.c (_REENT_ATTR): Delete in favor of | |
5751 | __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to | |
5752 | include/sys/config.h. | |
5753 | (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes. | |
5754 | Change from 'inpure_data'. | |
5755 | (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use | |
5756 | &impure_data, not &inpure_data. | |
5757 | ||
5758 | * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC | |
5759 | and and System V ABI, define so that _impure_ptr lives in the | |
5760 | .sdata section. | |
5761 | ||
5762 | Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5763 | ||
5764 | * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as | |
5765 | nothing if not defined. | |
5766 | (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set | |
5767 | its attributes. | |
5768 | ||
5769 | * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): | |
5770 | ||
5771 | Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com) | |
5772 | ||
5773 | * libc/sys/sysmec/crt0.S: Fix mn10200 stuff. | |
5774 | * libc/sys/sysmec/trap.s: Handle mn10200 too. | |
5775 | * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff. | |
5776 | ||
5777 | Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com) | |
5778 | ||
5779 | * libc/sys/sysmec/crt0.S: Handle mn10200 too. | |
5780 | ||
5781 | Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com> | |
5782 | ||
5783 | * libc/include/sys/errno.h: Added net errno's. | |
5784 | ||
5785 | Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5786 | ||
5787 | * libc/misc/ffs.c: New file to support ffs function for GCC test | |
5788 | gcc.c-torture/execute/960909-1.c. | |
5789 | ||
5790 | * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs. | |
5791 | ||
5792 | Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com) | |
5793 | ||
5794 | * libc/sys/sysmec/crt0.S: Handle underscore prefix. | |
5795 | * libc/sys/sysmec/trap.S: Likewise. | |
5796 | ||
5797 | Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com> | |
5798 | ||
5799 | * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300. | |
5800 | * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete. | |
5801 | ||
5802 | Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com) | |
5803 | ||
5804 | * libc/sys/sysmec/signal.c: Dummy file. | |
5805 | * libc/sys/sysmec/Makefile.in: Build it. | |
5806 | ||
5807 | Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
5808 | ||
5809 | * libc/machine/mips/machine/regdef.h: Define pc as $pc for | |
5810 | mips16. | |
5811 | ||
5812 | Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com) | |
5813 | ||
5814 | * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement | |
5815 | c-startup and simulator traps. | |
5816 | ||
5817 | ||
5818 | * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing | |
5819 | * libc/sys/sysmec/trap0.S: Likewise. | |
5820 | ||
5821 | Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5822 | ||
5823 | * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to | |
5824 | round to double word alignment. | |
5825 | (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8 | |
5826 | byte alignment. | |
5827 | ||
5828 | * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v. | |
5829 | ||
5830 | * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running | |
5831 | out of memory. | |
5832 | ||
5833 | Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com) | |
5834 | ||
5835 | * configure.in: Handle mn10200 and mn10300. | |
5836 | * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise. | |
5837 | * libc/include/sys/config.h: Likewise. | |
5838 | * libc/sys/sysmec: New directory for mec stuff. | |
5839 | * libc/machine/mn10300: New directory for mn10300 stuff. | |
5840 | * libc/machine/mn10200: Similarly for mn10200 stuff. | |
5841 | ||
5842 | Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com> | |
5843 | ||
5844 | * libc/sys/arm/crt0.S: Use .text, not .section .text. | |
5845 | * libc/sys/arm/syscalls.c: Rewrite to set errno properly. | |
5846 | ||
5847 | * libc/include/sys/types.h (_ST_INT32): New macro, local to file. | |
5848 | (nlink_t): Change type from unsigned int to unsigned short. | |
5849 | (mode_t): Ensure size is 32 bits even if int is 16. | |
5850 | * libc/include/sys/stat.h (st_nlink): Change type to nlink_t. | |
5851 | (st_spare[123]): Change type from int to long. | |
5852 | ||
5853 | Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5854 | ||
5855 | * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8 | |
5856 | byte boundary. | |
5857 | ||
5858 | * configure.in (d10v*): Define SMALL_MEMORY. | |
5859 | ||
5860 | Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5861 | ||
5862 | * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add | |
5863 | -mrelocatable-lib and -mno-eabi flags. | |
5864 | ||
5865 | Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com) | |
5866 | ||
5867 | * libc/machine/h8300/memcpy.S: Fix comments to reflect reality. | |
5868 | Fix handling of mis-aligned source operand when both the | |
5869 | destination & length are properly aligned. | |
5870 | ||
5871 | Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com) | |
5872 | ||
5873 | * libc/sys/sysnecv850/Makefile.in (OFILES): Add | |
5874 | times.o, time.o and gettime.o | |
5875 | * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files. | |
5876 | * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and | |
5877 | SYS_gettimeofday. | |
5878 | ||
5879 | Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com) | |
5880 | ||
5881 | * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o | |
5882 | * libc/sys/sysnecv850/access.c: New file. | |
5883 | ||
5884 | Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com> | |
5885 | ||
5886 | * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES). | |
5887 | ||
5888 | * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned | |
5889 | long. | |
5890 | ||
5891 | Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com) | |
5892 | ||
5893 | * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers. | |
5894 | ||
5895 | Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com> | |
5896 | ||
5897 | * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support. | |
5898 | * libc/include/sys/config.h: Add m32r support. | |
5899 | ||
5900 | Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com) | |
5901 | ||
5902 | * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong | |
5903 | here. | |
5904 | ||
5905 | Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com> | |
5906 | ||
5907 | * libc/include/machine/setjmp.h: Add D10v support. | |
5908 | ||
5909 | Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com) | |
5910 | ||
5911 | * configure.in: Configure the "libc/syscalls" directory for | |
5912 | the v850. | |
5913 | ||
5914 | * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'. | |
5915 | * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise. | |
5916 | * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise. | |
5917 | * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise. | |
5918 | * libc/sys/sysnecv850/{wait.c, write.c}: Likewise. | |
5919 | ||
5920 | Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com) | |
5921 | ||
5922 | * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on | |
5923 | stack for args for main and other routines. Zero out args for | |
5924 | main. | |
5925 | ||
5926 | * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory | |
5927 | correctly. | |
5928 | ||
5929 | Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5930 | ||
5931 | * libc/stdio/findfp.c (std): Remove extraneous ';' after | |
5932 | function. | |
5933 | ||
5934 | * libc/sys/d10v/sys/syscall.h (SYS_kill): Add. | |
5935 | ||
5936 | * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these | |
5937 | real system calls now. | |
5938 | ||
5939 | * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT | |
5940 | before casting them to int. | |
5941 | * libc/stdio/tmpnam.c (_tempnam_r): Ditto. | |
5942 | ||
5943 | * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when | |
5944 | aligning pointer. | |
5945 | * libc/string/memset.c (memset): Ditto. | |
5946 | ||
5947 | * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer, | |
5948 | first convert ints to _POINTER_INT to eliminate GCC warning. | |
5949 | ||
5950 | * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when | |
5951 | processing %p. | |
5952 | ||
5953 | * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000 | |
5954 | from 65000 if ints are only 16 bits. | |
5955 | ||
5956 | * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000 | |
5957 | from 50000 if ints are only 16 bits. | |
5958 | ||
5959 | * libc/include/sys/config.h (_POINTER_INT): New macro, to give an | |
5960 | int type that is the same size as a pointer. | |
5961 | ||
5962 | * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when | |
5963 | processing %p. | |
5964 | (get_number): Explicitly cast number to long before shifting by 16 | |
5965 | or 24, in case ints are short. | |
5966 | ||
5967 | * libc/include/sys/config.h (_POINTER_INT): Define as short. | |
5968 | ||
5969 | Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com> | |
5970 | ||
5971 | * libc/string.h: Added ffs, removed swab. | |
5972 | * libc/sys/errno.h: Added EOPNOTSUPP. | |
5973 | * libc/sys/unistd.h: Added swab. | |
5974 | ||
5975 | Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com> | |
5976 | ||
5977 | * libc/include/sys/stat.h: Added fchmod. | |
5978 | * libc/include/sys/unistd.h: Added fsync. | |
5979 | ||
5980 | Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com> | |
5981 | ||
5982 | * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96) | |
5983 | and ECONNRESET (104) for cygwin32. | |
5984 | ||
5985 | Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com> | |
5986 | ||
5987 | * libc/sys/sysnecv850/_exit.c: added _do_dtors to | |
5988 | do the static destructors. | |
5989 | ||
5990 | Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com) | |
5991 | ||
5992 | * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31. | |
5993 | ||
5994 | Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com> | |
5995 | ||
5996 | * libc/machine/m32r/{Makefile.in,setjmp.S}: New files. | |
5997 | * configure.in: Recognize m32r-*-*. | |
5998 | ||
5999 | Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk> | |
6000 | ||
6001 | * libc/sys/arm/trap.S (__rt_stkovf_split_big, | |
6002 | __rt_stkovf_split_small): Added default software stack overflow | |
6003 | handlers, which just call SWI_Exit. | |
6004 | * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack | |
6005 | limit initialisation. | |
6006 | ||
6007 | Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com> | |
6008 | ||
6009 | * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function. | |
6010 | ||
6011 | Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com> | |
6012 | ||
6013 | * libc/include/sys/types.h: Added ssize_t definition. | |
6014 | ||
6015 | Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6016 | ||
6017 | * libc/machine/d10v/setjmp.S: Use ';' for comments. | |
6018 | * libc/sys/d10v/{crt0.S,trap.S}: Ditto. | |
6019 | ||
6020 | * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of | |
6021 | branch around a single ldi instruction. | |
6022 | ||
6023 | * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss. | |
6024 | Call exit, instead of just issuing a stop instruction. | |
6025 | ||
6026 | Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6027 | ||
6028 | * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support. | |
6029 | ||
6030 | Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6031 | ||
6032 | * libc/stdlib/mprec.h: Explicitly declare all large constants as | |
6033 | longs, and then cast them to __uint32_t. | |
6034 | ||
6035 | * libc/include/sys/config.h: Protect against multiple inclusions. | |
6036 | ||
6037 | Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com> | |
6038 | ||
6039 | * configure.in (d10v*): Set syscall_dir. | |
6040 | ||
6041 | Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com> | |
6042 | ||
6043 | * libc/sys/d10v/crt0.S: Set stack pointer. | |
6044 | ||
6045 | Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com> | |
6046 | ||
6047 | * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls | |
6048 | in assembly for efficiency. Change calling convention to allow | |
6049 | long ints to be returned. | |
6050 | ||
6051 | Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6052 | ||
6053 | * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency. | |
6054 | ||
6055 | Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com> | |
6056 | ||
6057 | * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'. | |
6058 | Handle empty entries in $PATH. | |
6059 | ||
6060 | Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com> | |
6061 | ||
6062 | * libc/machine/d10v/setjmp.S: Make it really work. | |
6063 | ||
6064 | Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com> | |
6065 | ||
6066 | * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for | |
6067 | the .stack section. | |
6068 | ||
6069 | Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com) | |
6070 | ||
6071 | * sys/sysnecv850/sys/file.h: Remove. | |
6072 | * sys/sysnecv850/sys/syscall.h: New file. | |
6073 | * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted. | |
6074 | * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files. | |
6075 | * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files. | |
6076 | * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files. | |
6077 | * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files. | |
6078 | * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files. | |
6079 | * sys/sysnec850/trap.S: New file. | |
6080 | * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for | |
6081 | syscalls. | |
6082 | * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz. | |
6083 | * sys/sysnec850/sbrk.c: New version. | |
6084 | ||
6085 | Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com) | |
6086 | ||
6087 | * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop | |
6088 | as long as r6 is less than r7. | |
6089 | ||
6090 | Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com> | |
6091 | ||
6092 | * Makefile.in (mostlyclean): Separate from clean target. Don't | |
6093 | remove *.a or targ-include. | |
6094 | * libc/machine/sparc/Makefile.in (mostlyclean): New target. | |
6095 | ||
6096 | Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6097 | ||
6098 | * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for | |
6099 | d10v. | |
6100 | (__SMALL_BITFIELDS): Ditto. | |
6101 | ||
6102 | * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v. | |
6103 | ||
6104 | Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com) | |
6105 | ||
6106 | * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_' | |
6107 | prefix. | |
6108 | ||
6109 | * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix. | |
6110 | * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise. | |
6111 | * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise. | |
6112 | * libc/sys/sysnecv850/write.c (write): Likewise. | |
6113 | ||
6114 | * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty | |
6115 | .bss. | |
6116 | ||
6117 | Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6118 | ||
6119 | * libc/include/sys/config.h: Define INT_MAX, UINT_MAX | |
6120 | appropriately for D10V, depending on -mint16/-mint32. | |
6121 | ||
6122 | Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com> | |
6123 | ||
6124 | * configure.in: Add cases for D10V. | |
6125 | ||
6126 | Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6127 | ||
6128 | * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
6129 | ||
6130 | Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com) | |
6131 | ||
6132 | * libc/include/machine/ieeefp.h: Fix typo. | |
6133 | ||
6134 | Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com> | |
6135 | ||
6136 | * libc/sys/d10v: New directory for D10V stuff. | |
6137 | * libc/include/machine/ieeefp.h: Add D10V defines. | |
6138 | ||
6139 | Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com> | |
6140 | ||
6141 | * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values: | |
6142 | ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT, | |
6143 | ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK. | |
6144 | * libc/string/strerror.c (strerror): Add them. | |
6145 | ||
6146 | Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com) | |
6147 | ||
6148 | * libc/sys/sysnecv850: New directory for v850 stuff. | |
6149 | ||
6150 | * libc/machine/v850: New directory for v850 stuff. | |
6151 | * libc/machine/v850/setjmp.S: setjmp/longjmp support. | |
6152 | ||
6153 | * configure.in: Add support for the v850. | |
6154 | ||
6155 | * libc/include/machine/ieeefp.h: Add v850 defines. | |
6156 | * libc/include/machine/setjmp.h: Likewise. | |
6157 | * libc/include/sys/config.h: Add v850 defines. | |
6158 | ||
6159 | Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com> | |
6160 | ||
6161 | * libc/include/machine/ieeefp.h | |
6162 | * libc/include/machine/setjmp.h | |
6163 | * libc/include/sys/fcntl.h | |
6164 | * libc/include/sys/signal.h | |
6165 | * libc/include/sys/types.h | |
6166 | * libc/stdlib/system.c: | |
6167 | Fix preprocessor defines to match new scheme (_WIN32 for WIN32 | |
6168 | API availability, __CYGWIN32__ for cygwin32 environment specific). | |
6169 | ||
6170 | Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com> | |
6171 | ||
6172 | * libc/include/stdlib.h: add multibyte character functions. Add | |
6173 | __eprintf for assert. | |
6174 | ||
6175 | Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6176 | ||
6177 | * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer | |
6178 | arithmetic or __alignof__ to properly get the alignment, instead | |
6179 | of hardwiring it to 4. | |
6180 | ||
6181 | Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com> | |
6182 | ||
6183 | * libc/stdio/fseek.c: add fflush call to adjust seek offset | |
6184 | on append stream (fix from NetBSD sources), adjust curoff offset | |
6185 | for ungetc's benefit. | |
6186 | * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit. | |
6187 | * libc/stdio/rewind.c: replace code with up to date NetBSD | |
6188 | code to undo hacks made to work around above problem of not | |
6189 | having fflush call mentioned above | |
6190 | ||
6191 | Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
6192 | ||
6193 | * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c, | |
6194 | openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}: | |
6195 | Partially revert last changes. The thread specific errno is set | |
6196 | iff if the underlying syscall fails and the global errno is not | |
6197 | zero. | |
6198 | ||
6199 | Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
6200 | ||
6201 | * libc/reent/filer.c: Removed files, all functions have split out | |
6202 | into their own files. | |
6203 | * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: | |
6204 | New files containing functions formally in filer.c | |
6205 | * libc/reent/Makefile.in: Updated for above change. | |
6206 | ||
6207 | * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying | |
6208 | syscall fails, not if errno is changed. | |
6209 | * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, | |
6210 | _write_r): Likewise. | |
6211 | * libc/reent/fstatr.c (_fstat_r): Likewise. | |
6212 | * libc/reent/linkr.c (_link_r, _unlink_r): Likewise. | |
6213 | * libc/reent/sbrkr.c (_sbrk_r): Likewise. | |
6214 | * libc/reent/signalr.c (_kill_r): Likewise. | |
6215 | * libc/reent/statr.c (_stat_r): Likewise. | |
6216 | * libc/reent/timer.c (_gettimeofday_r): Likewise. | |
6217 | ||
6218 | * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c, | |
6219 | signalr.c, statr.c, timer.c} (errno): declare extern rather | |
6220 | than as a common. | |
6221 | ||
6222 | * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro | |
6223 | instead of calling vfprintf so that i*printf will not require | |
6224 | floating point support code. | |
6225 | ||
6226 | Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com> | |
6227 | ||
6228 | * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine | |
6229 | path delimiter. | |
6230 | * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete. | |
6231 | (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete. | |
6232 | ||
6233 | Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com> | |
6234 | ||
6235 | * libc/include/signal.h: _sig_func_ptr function takes an int | |
6236 | * libc/include/sys/signal.h: sa_handler function takes an int | |
6237 | ||
6238 | Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com) | |
6239 | ||
6240 | * libc/include/machine/ieeefp.h: Simplify H8/S support. | |
6241 | * libc/include/sys/config.h: Add missing H8/S conditional. | |
6242 | ||
6243 | Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com> | |
6244 | ||
6245 | * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value. | |
6246 | ||
6247 | Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com) | |
6248 | ||
6249 | * libc/include/machine/setjmp.h: Handle H8/S. | |
6250 | * libc/include/machine/ieeefp.h: Likewise. | |
6251 | * libc/include/sys/config.h: Likewise. | |
6252 | * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise. | |
6253 | * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise. | |
6254 | * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise. | |
6255 | * libc/sys/h8300hms/crt0.S: Likewise. | |
6256 | ||
6257 | Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
6258 | ||
6259 | * Makefile.in (datadir): Set to $(prefix)/share. | |
6260 | (oldincludedir, docdir): Removed. | |
6261 | * doc/Makefile.in (datadir): Set to $(prefix)/share. | |
6262 | (oldincludedir, docdir): Removed. | |
6263 | * libc/Makefile.in (datadir): Set to $(prefix)/share. | |
6264 | (oldincludedir, docdir): Removed. | |
6265 | * libm/Makefile.in (datadir): Set to $(prefix)/share. | |
6266 | (oldincludedir, docdir): Removed. | |
6267 | ||
6268 | Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com> | |
6269 | ||
6270 | * libc/include/sys/reent.h (_REENT_INIT): Update for change to | |
6271 | _reent struct. | |
6272 | ||
6273 | Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com> | |
6274 | ||
6275 | * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__ | |
6276 | fetch current path rules with sysconf and handler posix/win32 | |
6277 | appropriately. | |
6278 | ||
6279 | * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define. | |
6280 | ||
6281 | * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}. | |
6282 | (WAIT_CHILD): Always define. | |
6283 | ||
6284 | Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
6285 | ||
6286 | * libc/stdlib/eprintf.c: New file. | |
6287 | * libc/stdlib/Makefile.in (OFILES): Add eprintf.o. | |
6288 | (eprintf.o): New target. | |
6289 | ||
6290 | Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com> | |
6291 | ||
6292 | * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global. | |
6293 | (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero. | |
6294 | ||
6295 | Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com> | |
6296 | ||
6297 | * libc/include/machine/ieeefp.h: Add support for AIX and Windows | |
6298 | NT in PowerPC endianess cases. | |
6299 | ||
6300 | Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6301 | ||
6302 | * libc/include/machine/ieeefp.h: Clean up PowerPC endianess. | |
6303 | ||
6304 | Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6305 | ||
6306 | * libc/string/strtok.c: Fix doc typo. | |
6307 | ||
6308 | Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
6309 | ||
6310 | * libc/include/sys/reent.h (struct _reent): Removed _asctime, | |
6311 | _next, _scanpoint, _signgam fields. | |
6312 | ||
6313 | * libc/include/stdlib.h (rand_r): Added new declaration. | |
6314 | (_rand_r, _srand_r): Removed declarations. | |
6315 | * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions | |
6316 | have been made obsolete by rand_r. | |
6317 | * libc/stdlib/rand_r.c: New file, rand_r function as specified | |
6318 | by POSIX.1c. | |
6319 | ||
6320 | * libc/string/strtok.c: Update documentation to describe | |
6321 | strtok_r(). | |
6322 | ||
6323 | Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com> | |
6324 | ||
6325 | * libc/include/sys/stat.h (stat structure): Use the expanded stat | |
6326 | structure on Solaris, and PowerPC systems even though __svr4__ is | |
6327 | defined. | |
6328 | ||
6329 | Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com> | |
6330 | ||
6331 | * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255. | |
6332 | ||
6333 | Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com> | |
6334 | ||
6335 | * host/any: Use ../.. rather than .. to get to the main build | |
6336 | directory. This matches the current layout of the build | |
6337 | directory. | |
6338 | ||
6339 | Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com) | |
6340 | ||
6341 | * libc/machine/h8300/__main.S: Delete. No longer needed. | |
6342 | * libc/machine/h8300/Makefile.in: Corresponding changes. | |
6343 | * libc/sys/h8300hms/crt1.c: New file. | |
6344 | * libc/sys/h8300hms/Makefile.in: Corresponding changes. | |
6345 | * libc/sys/h8300hms/crt0.s: Call __main. | |
6346 | ||
6347 | * libc/sys/h8300hms/crt0.S: Use temporary label names | |
6348 | for branch targets. | |
6349 | ||
6350 | Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com> | |
6351 | ||
6352 | * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek. | |
6353 | ||
6354 | Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6355 | ||
6356 | * libc/reent/impure.c (_impure_ptr): Force the impure pointer into | |
6357 | .sdata on the PowerPC so that we can link newlib with code | |
6358 | compiled with -msdata. | |
6359 | ||
6360 | Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com> | |
6361 | ||
6362 | * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__. | |
6363 | ||
6364 | Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com> | |
6365 | ||
6366 | * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the | |
6367 | exception handler to __cygwin_exception_handler. | |
6368 | ||
6369 | Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
6370 | ||
6371 | * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__. | |
6372 | ||
6373 | Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com> | |
6374 | ||
6375 | * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for | |
6376 | SunOS VPATH. | |
6377 | * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o, | |
6378 | wcstombs.o): Likewise. | |
6379 | ||
6380 | Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com> | |
6381 | ||
6382 | * libc/stdlib/environ.c (initial_env): New static local. | |
6383 | (environ): Point to `initial_env'. | |
6384 | ||
6385 | * libc/include/machine/setjmp.h: Clean up. | |
6386 | (__H8300H__,__PPC__): Define _JBTYPE. | |
6387 | (__arm__): Provide entry for. | |
6388 | (sigjmp_buf): Delete. | |
6389 | (jmp_buf): Use _JBTYPE if defined, otherwise int. | |
6390 | ||
6391 | Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com) | |
6392 | ||
6393 | * libc/machine/h8300/strcmp.S: Sign extend the result to | |
6394 | 32bits so we don't lose with -mint32. | |
6395 | ||
6396 | Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com> | |
6397 | ||
6398 | * libc/sys/go32/sys/errno.h: New file. | |
6399 | * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c. | |
6400 | * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get | |
6401 | errno's address (make compatible with rest of newlib). | |
6402 | * libc/sys/go32/stat.c (fixinode): Set errno upon failure. | |
6403 | * libc/string/strerror.c (strerror): Surround each case with #ifdef. | |
6404 | ||
6405 | Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com> | |
6406 | ||
6407 | * libc/machine/sparc/{scan.c,shuffle.c}: New files. | |
6408 | * libc/machine/sparc/Makefile.in: Build them. | |
6409 | * libc/machine/sparc/machine/sparclet.h: New file. | |
6410 | ||
6411 | Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
6412 | ||
6413 | * libc/machine/sh/asm.h: New file. | |
6414 | * libc/machine/sh/setjmp.S: Only save clobbered registers. Added | |
6415 | support for SH3e's FP registers. Use asm.h. | |
6416 | ||
6417 | Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com) | |
6418 | ||
6419 | * libc/stdio/vfprintf.c (cvt): Accept a reent structure | |
6420 | as first argument. Call _dtoa_r and pass the reent structure | |
6421 | instead of calling __dtoa. | |
6422 | ||
6423 | Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com) | |
6424 | ||
6425 | * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for | |
6426 | the h8300, h8500, and others. Add comments for some rather | |
6427 | dubious code. | |
6428 | ||
6429 | Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com> | |
6430 | ||
6431 | * Makefile.in (check): Check that testsuite exists before cd. | |
6432 | ||
6433 | Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6434 | ||
6435 | * libc/include/string.h (strsep): Correct prototype. | |
6436 | ||
6437 | Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com> | |
6438 | ||
6439 | * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'. | |
6440 | * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'. | |
6441 | * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'. | |
6442 | ||
6443 | Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com> | |
6444 | ||
6445 | * libc/posix/{creat.c,isatty.c}: New files. | |
6446 | * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o. | |
6447 | ||
6448 | * libc/sys/sparc64/crt0.S (environ): Delete. | |
6449 | (.LHaveBias): Renamed from HaveBias. | |
6450 | ||
6451 | Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com> | |
6452 | ||
6453 | * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT. | |
6454 | (_morecore_r): Delete SBRK_IS_ALLOC support. | |
6455 | ||
6456 | Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6457 | ||
6458 | * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy | |
6459 | module rather than touch, so we don't get warning messages when | |
6460 | all of the libraries are combined into libc.a. | |
6461 | ||
6462 | Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com> | |
6463 | ||
6464 | * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted. | |
6465 | crt0.s replaced by version in libgloss. | |
6466 | ||
6467 | Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
6468 | ||
6469 | * libc/reent/Makefile.in (OFILES): Add impure.o. | |
6470 | * libc/reent/impure.o: New file, define initial reentrancy struct. | |
6471 | * libc/reent/reent.c: Remove above definition. | |
6472 | ||
6473 | * libm/math/sf_asinh.c: Fix typo. | |
6474 | ||
6475 | * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and | |
6476 | srf_ldexp.o. | |
6477 | ||
6478 | * libm/libm.texinfo: Change documentation to reflect changes | |
6479 | in reentrancy model. | |
6480 | * libm/math/w_gamma.c: Likewise. | |
6481 | ||
6482 | Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
6483 | ||
6484 | * configure.in (*-*-cygwin32): New. | |
6485 | (*-*-win32): Deleted. | |
6486 | * libc/sys/win32 renamed libc/sys/cygwin32. | |
6487 | ||
6488 | Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6489 | ||
6490 | * libc/include/sys/file.h: New include file. | |
6491 | ||
6492 | Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
6493 | ||
6494 | * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf. | |
6495 | ||
6496 | Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
6497 | ||
6498 | * libc/include/sys/wait.h (WIFSIGNALED): Fix. | |
6499 | ||
6500 | Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6501 | ||
6502 | * doc/makedoc.c (realloc): Declare at file scope. | |
6503 | (catchar): Not here. | |
6504 | ||
6505 | Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com> | |
6506 | ||
6507 | * Makefile.in (VERSION): Update to 1.7.0. | |
6508 | * {libc,libm}/Makefile.in (VERSION): Likewise. | |
6509 | * configure.in: Minor clean up of multilib stuff. | |
6510 | ||
6511 | From David Johnson <davidj@ICSI.Berkeley.EDU> | |
6512 | * {libc,libm}/Makefile.in (lib[cm].a): Delete library first. | |
6513 | ||
6514 | * libc/stdlib/environ.c: New file. | |
6515 | * libc/stdlib/Makefile.in (OFILES): Build it. | |
6516 | * libc/sys/h8500hms/crt0.c (environ): Deleted. | |
6517 | * libc/sys/m88kbug/crt0.c (environ): Deleted. | |
6518 | * libc/sys/z8ksim/crt0.c (environ): Deleted. | |
6519 | * libc/sys/netware/environ.c: Deleted. | |
6520 | ||
6521 | Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com> | |
6522 | ||
6523 | * configure.in (links): set sys_dir, posix_dir, syscall_dir | |
6524 | ||
6525 | Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net> | |
6526 | ||
6527 | * doc/makedoc.c (init_string_with_size,nextword): Move malloc | |
6528 | declaration out to external scope and declare it PTR, not char *. | |
6529 | ||
6530 | Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com> | |
6531 | ||
6532 | * libc/include/sys/unistd.h (getpagesize): New declaration. | |
6533 | (_SC_PAGESIZE): New definition. | |
6534 | * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC. | |
6535 | * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK. | |
6536 | ||
6537 | Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk> | |
6538 | ||
6539 | * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory | |
6540 | addressing. System call returns size, not (last address + 1). | |
6541 | ||
6542 | Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6543 | ||
6544 | * libm/math/*.c: Removed _foo_r() reentrancy API. | |
6545 | * libc/include/math.h: Removed _foo_r prototypes and macros. | |
6546 | ||
6547 | * libm/math/*.c: On systems with IEEE single precision "doubles" | |
6548 | move foo() -> foof() wrapper code from the files that implement | |
6549 | the standard IEEE double precision functions to the files that | |
6550 | implement IEEE single precision functions. (ie. On those systems | |
6551 | sin is moved from s_sin.c to sf_sin.c). There should eventually | |
6552 | be use of a C extension (like gcc's alias attribute) so that the | |
6553 | wrappers are not needed at all. | |
6554 | ||
6555 | * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around | |
6556 | strict NEC V810 compiler. | |
6557 | * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char * | |
6558 | for same reason. | |
6559 | ||
6560 | Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6561 | ||
6562 | * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation | |
6563 | from NetBSD C library. | |
6564 | * libc/stdlib/strtoul.c (_strtoul_r): Likewise. | |
6565 | ||
6566 | * libc/stdlib/assert.c (__assert): Renamed from __assertfail | |
6567 | and adapted from implementation I wrote for NetBSD C library. | |
6568 | The difference is __assert doesn't take a format argument, | |
6569 | so that there won't be multiple copies of the same string | |
6570 | constant in the executable if assertions are enabled in | |
6571 | more than one source module. | |
6572 | * libc/include/assert.h (assert): Changed to call __assert. | |
6573 | ||
6574 | Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6575 | ||
6576 | * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to | |
6577 | word1 on systems with 32 bit doubles. | |
6578 | * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s | |
6579 | so that we can do arithmetic on them. | |
6580 | * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI | |
6581 | compilers. | |
6582 | ||
6583 | Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com> | |
6584 | ||
6585 | * libc/sys/arm/crt0.S: Zero bss. | |
6586 | ||
6587 | Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com> | |
6588 | ||
6589 | * libc/include/unctrl.h: New file. | |
6590 | * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files. | |
6591 | * configure.in (subdirs): Add libc/misc. | |
6592 | * libc/Makefile.in (SUBDIRS): Add misc. | |
6593 | (SUBLIBS): Add misc/lib.a. | |
6594 | ||
6595 | * libc/include/sys/reent.h (struct _reent): Make __sf last member. | |
6596 | ||
6597 | Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com> | |
6598 | ||
6599 | * libc/stdio/vfprintf.c (__sbprintf): Init fake._data. | |
6600 | (_vfprintf_r): Call CHECK_INIT. | |
6601 | ||
6602 | Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com> | |
6603 | ||
6604 | * Makefile.in (MULTITOP): Delete. | |
6605 | (MULTISRCTOP, MULTIBUILDTOP): Add. | |
6606 | * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in | |
6607 | instead of cfg-ml-pos.in. | |
6608 | ||
6609 | Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> | |
6610 | ||
6611 | * libc/sys/vr4300/syscalls.c: Added clean version of sbrk(). | |
6612 | * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU | |
6613 | presence. | |
6614 | ||
6615 | Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
6616 | ||
6617 | * libc/string/strtok.c: Include string.h to pick up strtok_r | |
6618 | prototype. | |
6619 | ||
6620 | Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
6621 | ||
6622 | * libc/string/strtok.c: include <_ansi.h>. | |
6623 | * libc/time/asctime_r.c: `reresult' -> `result'. | |
6624 | ||
6625 | Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6626 | ||
6627 | * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions | |
6628 | in #ifndef _REENT_ONLY ... #endif conditional. | |
6629 | ||
6630 | * libc/include/string.h (_strtok_r): Remove declaration. | |
6631 | * libc/include/time.h (_asctime_r): Remove declaration. | |
6632 | * libc/string/strtok.c (_strtok_r): Removed. | |
6633 | * libc/time/asctime.c (_asctime_r): Removed. | |
6634 | ||
6635 | * libc/string/Makefile.in (OFILES): Add new object. | |
6636 | * libc/string/strtok_r.c: New file. strtok_r function as | |
6637 | specified by POSIX.1c, adapted from strtok implementation | |
6638 | from NetBSD C library. | |
6639 | * libc/string/strtok.c (strtok): Reimplemented in terms of | |
6640 | strtok_r. | |
6641 | ||
6642 | * libc/time/Makefile.in (OFILES): Add new objects. | |
6643 | * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}: | |
6644 | New files, reentrant time functions specified by POSIX.1c. | |
6645 | * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non- | |
6646 | reentrant time functions re-written in terms of reentrant | |
6647 | functions. | |
6648 | * libc/time/lcltime.c: Renamed from localtime.c | |
6649 | ||
6650 | * libc/include/time.h: Add prototypes for asctime_r, ctime_r, | |
6651 | gmtime_r, and localtime_r. | |
6652 | ||
6653 | Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com> | |
6654 | ||
6655 | * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0. | |
6656 | * libc/include/sys/unistd.h (getlogin): Revert change of | |
6657 | Oct 19. | |
6658 | * libc/include/sys/signal.h (sigprocmask): Change prototype | |
6659 | so it compiles with c++. | |
6660 | ||
6661 | Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com> | |
6662 | ||
6663 | * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a | |
6664 | PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints, | |
6665 | to give some room in case we need to align the jmp_buf. | |
6666 | ||
6667 | * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use | |
6668 | the new ppc-asm.h include file the compiler provides to specify | |
6669 | function prologue/epilogue. Eliminate saves of the xer and ctr | |
6670 | registers, which are volatile. Before starting to save registers, | |
6671 | align to 8 byte boundary. | |
6672 | ||
6673 | Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> | |
6674 | ||
6675 | * libc/sys/vr4300/syscalls.c: Added empty kill() function, | |
6676 | referenced by standard libraries. | |
6677 | ||
6678 | Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com> | |
6679 | ||
6680 | * libc/unix/Makefile.in, libc/string/Makefile.in, | |
6681 | libc/stdio/Makefile.in, libc/reent/Makefile.in, | |
6682 | libc/posix/Makefile.in: | |
6683 | Remove tabs from otherwise empty line. Confuses some | |
6684 | older non-GNU versions of "make". | |
6685 | ||
6686 | Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com> | |
6687 | ||
6688 | * libc/sys/unistd.h (getlogin): Returns const char *. | |
6689 | ||
6690 | Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com> | |
6691 | ||
6692 | * libc/include/fcntl.h (O_BINARY, O_TEXT): New. | |
6693 | * libc/include/errno.h: Moved into and include... | |
6694 | * libc/include/sys/errno.h: New file. | |
6695 | * libc/include/sys/wait.h: New file. | |
6696 | * libc/stdio/rename.c (_rename_r): Use _rename system call if available. | |
6697 | * libc/sys/win32/*: Moved out. | |
6698 | * libc/sys/win32/crt0.c: Rewritten to cope with shared library. | |
6699 | * configure.in (i[345]86-*-win32): HAVE_RENAME | |
6700 | ||
6701 | Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com> | |
6702 | ||
6703 | * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to | |
6704 | avoid macro expansion for these two names. | |
6705 | ||
6706 | Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com> | |
6707 | ||
6708 | * libc/machine/h8500/psi.S: r6 renamed to fp. | |
6709 | ||
6710 | Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net> | |
6711 | ||
6712 | * configure.in (powerpc*): No longer need to define | |
6713 | NO_LONGLONG_POINTERS to supress warnings. | |
6714 | ||
6715 | Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
6716 | ||
6717 | * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly | |
6718 | through PTR instead of directly. | |
6719 | ||
6720 | * libc/sys/sh/crt0.S: Clean up formatting. Delete unused | |
6721 | non-standard constructor support. | |
6722 | ||
6723 | Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6724 | ||
6725 | * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the | |
6726 | address of the Bigint instead of the address of its _x field, | |
6727 | as the size the result buffer was calculated accordingly. | |
6728 | Fix from Jim Wilson <wilson@chestnut@cygnus.com>. | |
6729 | ||
6730 | * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation | |
6731 | from NetBSD C library. No longer special cases division by | |
6732 | zero (which needs to be done by the application anyway), but | |
6733 | it doesn't need to call abs() (or labs()) four times either. | |
6734 | ||
6735 | * libc/stdlib/qsort.c: Replaced with implementation from | |
6736 | NetBSD C library. | |
6737 | ||
6738 | Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6739 | ||
6740 | * libc/stdio/vfprintf.c: Replaced with implementation from | |
6741 | NetBSD C library (which is derived from the 4.4BSD C library). | |
6742 | * libc/stdio/cvt.c: Removed. | |
6743 | * libc/stdio/Makefile: Updated. | |
6744 | ||
6745 | Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com> | |
6746 | ||
6747 | * libc/sys/win32/syscalls.c (rename): New. | |
6748 | * libc/sys/win32/include/winkernel.h (MoveFileExA): New. | |
6749 | ||
6750 | Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
6751 | ||
6752 | * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S. | |
6753 | * libc/machine/sh/setjmp.S: Rename from setjmp.s. | |
6754 | ||
6755 | * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o. | |
6756 | (setjmp.o): Delete rule to build setjmp.o. | |
6757 | * libc/sys/sh/setjmp.S: Delete file. | |
6758 | ||
6759 | Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6760 | ||
6761 | * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS. | |
6762 | * libc/stdlib/mprec.h: Fixed constants used for IEEE single float | |
6763 | format. Added #defines to map d2b, i2b, low0bits, lshift, mult, | |
6764 | pow5mult and s2b to identifiers with leading underscores. | |
6765 | * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o, | |
6766 | ecvtbuf.o, mprec.o and strtod.o. Sort dependencies. | |
6767 | ||
6768 | Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com> | |
6769 | ||
6770 | * libc/sys/posix/popen.c (sys/types.h): Include. | |
6771 | ||
6772 | Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com> | |
6773 | ||
6774 | * libc/sys/win32/syscalls.h (fhandler): New struct. | |
6775 | (__lookup_fhandler, __lookup_fhandler_hook): Declare. | |
6776 | (__fhandler_normal): Declare. | |
6777 | (hinfo): New member op_handlers. | |
6778 | * libc/sys/win32/syscalls.c (__read): Don't validate fd. | |
6779 | (__write): Likewise. | |
6780 | (_read, _write, _open, _close, _lseek): Validate fd here. | |
6781 | Move file type specific stuff to foo_normal. | |
6782 | (read_normal, write_normal, open_normal, close_normal, lseek_normal): | |
6783 | New functions. | |
6784 | (__lookup_fhandler): New function. | |
6785 | (__lookup_fhandler_hook, __fhandler_normal): New variables. | |
6786 | ||
6787 | From anders.blomdell@control.lth.se (Anders Blomdell) | |
6788 | * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__. | |
6789 | Don't touch standard handles. | |
6790 | * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES. | |
6791 | (_execve): Only create __FD_TABLE__ if necessary. | |
6792 | * libc/sys/win32/include/winkernel.h (STARTF_*): Define. | |
6793 | ||
6794 | Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com> | |
6795 | ||
6796 | * libc/sys/win32/sys/termios.h (FLUSHO): New. | |
6797 | * libc/sys/win32/include/win*.h: Moved a load of prototypes around. | |
6798 | * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors. | |
6799 | * libc/sys/win32/exception.c (ehandler3): set strace when a signal | |
6800 | without a handler is received. | |
6801 | * libc/sys/win32/Makefile.in: Remove --nodelete. | |
6802 | * libc/sys/win32/resouce.c (gettimeofday): New. | |
6803 | * libc/sys/win32/syscalls.c (path_to_real_path): New. | |
6804 | * libc/sys/win32/syscalls.h (include/wincon.h): Don't include. | |
6805 | ||
6806 | Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com> | |
6807 | ||
6808 | * libc/sys/win32/dirsearch.c (opendir): stat real path name. | |
6809 | Don't append "/*" to search pattern if trailing '/' already there, | |
6810 | append "*". | |
6811 | * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to | |
6812 | like /'s, convert them to \'s. Handle //<drive>/ path names. | |
6813 | Add space for quoted \'s in arg string. Print translated prog name | |
6814 | and original prog name. | |
6815 | (_execve): Handle parent doing exec a teensy bit better. | |
6816 | * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype. | |
6817 | * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume | |
6818 | path needs conversion, handle both cases. Delete `const' from result. | |
6819 | (hash_path_name): New function. | |
6820 | (_open): Call it. | |
6821 | (_stat): Likewise. Fill in more fields for directories. | |
6822 | * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid. | |
6823 | (wait_for_any): Fix trace message. | |
6824 | (waitpid): Explicitly test for intpid == 0. | |
6825 | ||
6826 | From anders.blomdell@control.lth.se (Anders Blomdell) | |
6827 | * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result | |
6828 | so `next' is valid. | |
6829 | ||
6830 | Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com) | |
6831 | ||
6832 | * libc/sys/win32/spawn.c (_spawn): Make quoting rules more | |
6833 | complicated. | |
6834 | ||
6835 | Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
6836 | ||
6837 | * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined | |
6838 | at all, not just == 1. | |
6839 | * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__. | |
6840 | ||
6841 | Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
6842 | ||
6843 | * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h> | |
6844 | * libc/sys/win32/include/wintypes.h: include <winnt.h> | |
6845 | * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this | |
6846 | file. | |
6847 | ||
6848 | Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com> | |
6849 | ||
6850 | * libc/sys/syscalls.c (getcwd): Fix off by one error. | |
6851 | ||
6852 | * libc/sys/signal.c (sleep): Fill it in. | |
6853 | * libc/sys/termios.c (tcflush): Use PurgeComm | |
6854 | (tcsetattr): Set some more of the bits. | |
6855 | * libc/sys/include/winkernel.h: Add PurgeComm and Sleep. | |
6856 | ||
6857 | Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com> | |
6858 | ||
6859 | * libc/sys/arm/crt0.S (fp): Initialize to 0. | |
6860 | Conditionally include .idata$3 stuff ifdef __pe__. | |
6861 | ||
6862 | Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com> | |
6863 | ||
6864 | * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo. | |
6865 | * libc/sys/win32/pipe.c (pipe): Ditto. | |
6866 | * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields. | |
6867 | * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new. | |
6868 | * libc/sys/win32/termios.c (tcsetattr): Init new fields. | |
6869 | (tcgetattr): Contents are new. | |
6870 | * libc/sys/win32/include/winkernel.h (DCB): New. | |
6871 | (GetCommState, SetCommState): New. | |
6872 | ||
6873 | Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com> | |
6874 | ||
6875 | * libc/sys/arm/crt0.S (_start): Define. | |
6876 | ||
6877 | Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com> | |
6878 | ||
6879 | * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board. | |
6880 | * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly. | |
6881 | ||
6882 | * libc/sys/win32/sysconf.c: New | |
6883 | * libc/sys/win32/sys/winadvapi.h: New | |
6884 | * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary. | |
6885 | * libc/sys/win32/crt0.c (hmap_init): Initialize new fields. | |
6886 | * libc/sys/win32/pipe.c (pipe): Ditto. | |
6887 | * libc/sys/win32/signal.c (_raise): New. | |
6888 | (_kill): Moved from spawn.c | |
6889 | * libc/sys/win32/spawn.c (kill): Moved to signal.c | |
6890 | * libc/sys/win32/syscalls.c (__read): Use new fields. | |
6891 | (_open): Ditto. | |
6892 | * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in. | |
6893 | * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer. | |
6894 | * libc/include/sys/unistd.h (rmdir): Takes const path. | |
6895 | * libc/include/sys/stat.h (mkdir): Takes const path. | |
6896 | * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32. | |
6897 | ||
6898 | Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com> | |
6899 | ||
6900 | * libc/sys/win32/spawn.c (_spawn): Fix quoting. | |
6901 | ||
6902 | Add support for specifying paths as //<drive>/foo/bar. | |
6903 | * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare. | |
6904 | (__path_to_real_path): Declare. | |
6905 | (PATH_TO_REAL_PATH): New macro. | |
6906 | * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup. | |
6907 | (__path_needs_conversion_p, __path_to_real_path): New functions. | |
6908 | (_open): Fix test for error return from CreateFileA. | |
6909 | Handle new path syntax. | |
6910 | (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax. | |
6911 | * libc/sys/win32/dirsearch.c (opendir): Likewise. | |
6912 | ||
6913 | Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com> | |
6914 | ||
6915 | * libc/sys/win32/include/*.h: Reorganized | |
6916 | * libc/sys/win32/include/WINREADME: New. | |
6917 | * libc/sys/win32/Makefile.in (DLLS): Build version.a. | |
6918 | * libc/sys/win32/*.c: Fix for new include scheme. | |
6919 | * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New. | |
6920 | * libc/sys/win32/getlogin.c (getlogin): Use uinfo. | |
6921 | * libc/sys/win32/passwd.c (*): Fix. | |
6922 | * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info. | |
6923 | (_stat): Get directory owner and permissions right. | |
6924 | * libc/sys/win32/syscalls.h (uinfo): New. | |
6925 | * libc/sys/win32/version.def: Remove leading underscores. | |
6926 | ||
6927 | Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
6928 | ||
6929 | * libc/sys/win32/key.c: include "include/wincon.h". | |
6930 | ||
6931 | Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com> | |
6932 | ||
6933 | * libc/sys/win32/{key, stubs}.c: New. | |
6934 | * libc/sys/win32/Makefile: Adjust to cope. | |
6935 | * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids. | |
6936 | (environ_init): Change env names to upper case. | |
6937 | * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number. | |
6938 | * libc/sys/win32/passwd.c (*): Fill in the functions. | |
6939 | * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR. | |
6940 | * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids. | |
6941 | * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function. | |
6942 | (_open): Initialze hmap->execable_p too. | |
6943 | * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros. | |
6944 | (_fstat): Fill in permissions. | |
6945 | * libc/sys/win32/syscalls.h (hinfo): Add execable_p. | |
6946 | ||
6947 | Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com> | |
6948 | ||
6949 | * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top} | |
6950 | if defined. | |
6951 | (cfg-ml-pos.in invocation): Likewise. | |
6952 | ||
6953 | Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
6954 | ||
6955 | * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o, | |
6956 | s_isnan.o and sf_isnan.o. | |
6957 | ||
6958 | Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com> | |
6959 | ||
6960 | * All Makefile.in files: added maintainer-clean target as a | |
6961 | synonym for realclean. | |
6962 | ||
6963 | Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu) | |
6964 | ||
6965 | * libc/include/machine/setjmp.h: Add hppa support. | |
6966 | * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp | |
6967 | support. | |
6968 | * libc/machine/hppa/Makefile.in: Related changes. | |
6969 | ||
6970 | Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com> | |
6971 | ||
6972 | * configure.in (machine_dir): Don't set for v810-*-*. | |
6973 | ||
6974 | Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
6975 | ||
6976 | * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting | |
6977 | conventions correctly. | |
6978 | ||
6979 | Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com> | |
6980 | ||
6981 | * libc/stdio/puts.c: Update documentation of return value to match | |
6982 | ANSI standard. | |
6983 | ||
6984 | Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com> | |
6985 | ||
6986 | Fix file descriptor inheritance. | |
6987 | * libc/sys/win32/syscalls.h (CHILD_P): Define again. | |
6988 | (NOT_OPEN_FD): Fix. | |
6989 | * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if | |
6990 | close-on-exec flag not set. Initialize child's entire fd table. | |
6991 | * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if | |
6992 | CHILD_P. | |
6993 | * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable | |
6994 | if CHILD_P. Initialize entire hmap entry. | |
6995 | (dup): Only create new handle as inheritable if CHILD_P. | |
6996 | (dup2): Likewise. Properly initialize hmap entry. | |
6997 | ||
6998 | * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to | |
6999 | _spawn. | |
7000 | (_exit): Use CHILD_P. | |
7001 | * libc/sys/win32/syscalls.c (_fstat): Fix call to memset. | |
7002 | (_stat): Likewise. | |
7003 | ||
7004 | Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7005 | ||
7006 | * libc/sys/win32/crt0.c (passover): fix up the state table. | |
7007 | * libc/posix/popen.c: Added. | |
7008 | * libc/posix/Makefile.in: compile popen.c. | |
7009 | ||
7010 | Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com> | |
7011 | ||
7012 | * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and | |
7013 | h8/500 define _DOUBLE_IS_32BITS. | |
7014 | ||
7015 | Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com> | |
7016 | ||
7017 | Get vfork/exec/spawn/cwait/wait working again. | |
7018 | * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define. | |
7019 | (procinfo): New member vfork_level. | |
7020 | * libc/sys/win32/crt0.c (__vfork_next_pid): Delete. | |
7021 | (vfork_init_first): Use GetCurrentProcessId to get pid. | |
7022 | Initialize vfork_level. | |
7023 | (vfork_init): Delete __PID__. | |
7024 | (environ_init): New function. Undo patch of Aug 19, Posix says | |
7025 | environment variables are case sensitive. | |
7026 | (mainCRTStartup): Call it. | |
7027 | * libc/sys/win32/spawn.c (__vfork_next_pid): Delete. | |
7028 | (my_longjump: Make static. | |
7029 | (_spawn): New argument `h'. Delete setting of __PID__. | |
7030 | Delete local `idx'. Look for chars that need quotes, rather than | |
7031 | ones that don't. Set handle of created process in `h'. | |
7032 | Result is process id if created task. | |
7033 | (allocate_spawn_entry): New function. | |
7034 | (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry. | |
7035 | (_execve): Set __FD_TABLE__ before spawning child. | |
7036 | Scan our fd table when passing fds, not our parent's. | |
7037 | Store handle and pid in procinfo entry. | |
7038 | (vfork0): Ensure strace message always printed. | |
7039 | Set child pid to VFORK_NEWBORN_PSEUDO_PID. | |
7040 | (vfork): Don't clobber result of vfork0. | |
7041 | * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid). | |
7042 | (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0. | |
7043 | ||
7044 | * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p' | |
7045 | and `exit_code'. | |
7046 | * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them. | |
7047 | (vfork0): Likewise. Distinguish children, grandchildren, etc. by | |
7048 | adding vfork level to pseudo-pid. | |
7049 | (vfork1): If not root, set state back to FORK_STATE_VFORK_0. | |
7050 | (spawnvp, spawnv, _execve): Set handle_valid_p if success. | |
7051 | (_exit): If child, set exit code. | |
7052 | (__vfork_record_death): Only close process handle if valid. | |
7053 | * libc/sys/win32/wait.c (wait_for_single): Watch for children that | |
7054 | didn't exec. | |
7055 | (wait_for_any): Likewise. Start scan after root entry. | |
7056 | ||
7057 | Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7058 | ||
7059 | * libc/include/sys/types.h (off_t): off_t back to 32 bits. | |
7060 | * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits. | |
7061 | * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits | |
7062 | of actual file length. | |
7063 | ||
7064 | * libc/sys/win32/sys/wait.h: include <sys/types.h>. | |
7065 | * libc/include/paths.h: _PATH_BSHELL added. | |
7066 | * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO, | |
7067 | and STDERR_FILENO. | |
7068 | ||
7069 | Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7070 | ||
7071 | * libc/include/ar.h: Added. | |
7072 | * libc/include/sys/types.h: ino_t goes back to 32-bits. | |
7073 | * libc/sys/win32/syscalls.h (hinfo): added .namehash field. | |
7074 | * libc/sys/win32/syscalls.c (_open): compute .namehash based | |
7075 | on filename. | |
7076 | (_fstat): use .namehash for inode number of the fd. | |
7077 | ||
7078 | Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com> | |
7079 | ||
7080 | * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*): | |
7081 | Change hinfo to __this_procinfo. | |
7082 | * libc/sys/win32/crt0.c: Remove procinfo_list. | |
7083 | ||
7084 | Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7085 | ||
7086 | * libc/include/sys/types.h (ino_t): Define ino_t correctly for | |
7087 | win32 environment. | |
7088 | ||
7089 | Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7090 | ||
7091 | * libc/sys/win32/include/grp.h: Removed. | |
7092 | * libc/sys/include/grp.h: Added. | |
7093 | * libc/sys/win32/grp.c: Include <grp.h>. | |
7094 | ||
7095 | Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com> | |
7096 | ||
7097 | * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed. | |
7098 | (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK): | |
7099 | Defined for all but strict ANSI. | |
7100 | * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed. | |
7101 | * libc/include/machine/setjmp.h: Get win32 _JBLEN right. | |
7102 | * libc/signal/signal.c (_signal_r): Changed from using | |
7103 | _MAX_SIGNALS to NSIG. | |
7104 | * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap, | |
7105 | __hmap): Deleted. | |
7106 | (__strace, __vfork_next_pid): New. | |
7107 | (__exe_suffix): Default to 1. | |
7108 | (passover, table): Understand quoted arguments. | |
7109 | (vfork_init_first): New. | |
7110 | (vfork_init): Initialize new process structure. | |
7111 | (mainCRTStartup): Pass environ to main. | |
7112 | * exceptions.c (__sig_mask): New | |
7113 | (ehandler3): Ignore signals in mask. | |
7114 | (really_exit): Remove CHILD_P test. | |
7115 | * pipe.c (pipe, dup, dup2): Use new process and file structure. | |
7116 | * resource.c (getrusage): Ditto. | |
7117 | * signal.c (sigprocmask): New. | |
7118 | * spawn.c (*): Rewritten. | |
7119 | * syscalls.c (*): Use new process and file structure. | |
7120 | (find_unused_handle): New. | |
7121 | * syscalls.h (MAX_HANDLES): Deleted. | |
7122 | (hinfo): Removed child_created_p. | |
7123 | (MAX_CHILDREN): Deleted. | |
7124 | (vfork_jmp_info, procinfo): New. | |
7125 | * wait.c (*): Mostly new. | |
7126 | * sys/strace.h (_STRACE_PARANOID): New. | |
7127 | * sys/param.h: New file. | |
7128 | ||
7129 | Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7130 | ||
7131 | * libc/include/sys/stat.h: add S_BLKSIZE. | |
7132 | * libc/include/sys/_types.h: _off_t is a 64-bit type under win32. | |
7133 | * libc/include/sys/types.h: define off_t and ino_t to be 64 bit | |
7134 | types under win32. | |
7135 | (mode_t): add a #else to avoid multiple definitons. | |
7136 | ||
7137 | * libc/sys/win32/Makefile.in: add grp.c. | |
7138 | * libc/sys/win32/grp.c: include grp.h correctly. | |
7139 | * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields | |
7140 | of the st structure with real information. | |
7141 | * libc/sys/win32 (dirent): d_ino is of type ino_t. | |
7142 | ||
7143 | Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com> | |
7144 | ||
7145 | * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's | |
7146 | and (maybe) sparc64. | |
7147 | (nlink_t): Provide typedef. | |
7148 | ||
7149 | Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7150 | ||
7151 | * libc/sys/win32/grp.c: New file. | |
7152 | * libc/sys/win32/include/grp.h: New file. | |
7153 | ||
7154 | Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7155 | ||
7156 | * libc/include/machine/ieeefp.h: Added whitespace to make this | |
7157 | file easier to maintain. | |
7158 | On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN | |
7159 | depending on the value of __LITTLE_ENDIAN__. | |
7160 | On the sh3e, define _DOUBLE_IS_32BITS. | |
7161 | ||
7162 | Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com> | |
7163 | ||
7164 | * libc/sys/vr4300/syscalls.c: Added missing support | |
7165 | routines. _raise() and getpid(). | |
7166 | ||
7167 | Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com> | |
7168 | ||
7169 | * configure.in (mips*vr4300*-*-elf): Fixed silly mistake | |
7170 | ||
7171 | Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com> | |
7172 | ||
7173 | * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor | |
7174 | and VR4300 processor. | |
7175 | * libc/sys/vr4300: Add directory. | |
7176 | * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM | |
7177 | monitor run-time support. | |
7178 | ||
7179 | Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7180 | ||
7181 | * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def. | |
7182 | * libc/stdlib/stdlib.tex: Don't include atol.def. | |
7183 | ||
7184 | Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7185 | ||
7186 | * libc/sys/win32/uname.c (uname): hardcode processor as `i386'. | |
7187 | ||
7188 | Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com> | |
7189 | ||
7190 | * libc/ctype/Makefile.in: Fill in _to* dependencies. | |
7191 | ||
7192 | Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com> | |
7193 | ||
7194 | * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems. | |
7195 | * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino. | |
7196 | * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer. | |
7197 | * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug. | |
7198 | * libc/sys/win32/dirsearch.c (readdir): Set d_ino. | |
7199 | ||
7200 | Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7201 | ||
7202 | * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN. | |
7203 | ||
7204 | Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7205 | ||
7206 | * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o. | |
7207 | * libc/stdlib/atoff.c: New file. | |
7208 | * libc/stdlib/atof.c (atoff): Moved to atoff.c. | |
7209 | * libc/stdlib/atoi.c (atol): Removed. | |
7210 | * libc/stdlib/atol.c: Removed duplicate documentation. | |
7211 | ||
7212 | * libc/include/ctype.h (_tolower, _toupper): Moved inside | |
7213 | #ifndef _STRICT_ANSI conditional. | |
7214 | * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o | |
7215 | * libc/ctype/_tolower.c: New file. | |
7216 | * libc/ctype/_toupper.c: New file. | |
7217 | * libc/ctype/tolower.c (_tolower): Moved to _tolower.c. | |
7218 | * libc/ctype/toupper.c (_toupper): Moved to _toupper.c. | |
7219 | * libc/ctype/toascii.c (_toascii): Removed. | |
7220 | ||
7221 | Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com> | |
7222 | ||
7223 | * libc/sys/sparc64/sys/types.h: Deleted. | |
7224 | ||
7225 | Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7226 | ||
7227 | * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT' | |
7228 | and recognize Windows_95 systems. | |
7229 | ||
7230 | Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7231 | ||
7232 | * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds | |
7233 | and passed fds should be opened in text mode. | |
7234 | ||
7235 | Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
7236 | ||
7237 | * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used | |
7238 | in __hmap, set to binary mode by default. | |
7239 | ||
7240 | Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7241 | ||
7242 | * libc/sys/sh/syscalls.c: Updated all functions to call __trap34. | |
7243 | * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap | |
7244 | vector 34. | |
7245 | ||
7246 | Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com> | |
7247 | ||
7248 | * Makefile.in (install): Install all libraries found in the | |
7249 | top level. If there's a sys/<type>/include directory, | |
7250 | install those headers into include. | |
7251 | ||
7252 | * libc/sys/win32/kernel.def351: Delete | |
7253 | * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def, | |
7254 | glaux.def, glu32.def, largeint.def, libc.def, libcmt.def, | |
7255 | lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def, | |
7256 | nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def, | |
7257 | ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def, | |
7258 | rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def, | |
7259 | uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def, | |
7260 | winmm.def, winspool.def, winstrm.def, wsock32.def}: New. | |
7261 | ||
7262 | * libc/sys/win32/Makefile.in: Update for new files and new dlltool options. | |
7263 | * libc/sys/win32/crt0.c: Force all env names to upper case. | |
7264 | * libc/sys/win32/sys/win*.h -> libc/sys/win32/include | |
7265 | * libc/sys/win32/*.c: Headers have moved. | |
7266 | * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE, | |
7267 | __vfork_child_idx is now __vfork_child_ptr. | |
7268 | ||
7269 | * posix/execvp (execvp): Don't crash if no PATH envname. | |
7270 | ||
7271 | Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7272 | ||
7273 | * libc/include/sys/reent.h (_Bigint): Removed _reclaim field. | |
7274 | * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going | |
7275 | through the _freelist instead of through the _reclaim list. | |
7276 | * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list. | |
7277 | * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c | |
7278 | sources. | |
7279 | ||
7280 | Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7281 | ||
7282 | * libc/machine/h8500/setjmp.S: New file. | |
7283 | * libc/include/machine/setjmp.h: Updated for H8/500. | |
7284 | ||
7285 | Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com> | |
7286 | ||
7287 | * libc/sys/win32/syscalls.c (_open): More stracing. | |
7288 | (_stat): Open the file in O_BINARY. | |
7289 | ||
7290 | Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7291 | ||
7292 | * libc/machine/h8300/setjmp.S: New file. | |
7293 | * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H. | |
7294 | ||
7295 | Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com> | |
7296 | ||
7297 | * libc/sys/win32/crt0.c (__exe_suffix): New global. | |
7298 | (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX. | |
7299 | * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on | |
7300 | __exe_suffix. Free fd_tab after setting env variable. | |
7301 | (spawnv,_execve): Update. | |
7302 | * libc/sys/win32/syscalls.h (__exe_suffix): Declare. | |
7303 | * libc/sys/win32/smallprint.c (puts,putn): New (static) functions. | |
7304 | (__small_vfprintf): New function. | |
7305 | * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf. | |
7306 | * libc/sys/win32/wait.c (cwait): Validate argument. | |
7307 | ||
7308 | * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message. | |
7309 | (process_deletion_queue): Likewise. | |
7310 | ||
7311 | * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB). | |
7312 | ||
7313 | Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com> | |
7314 | ||
7315 | * libc/sys/win32: Copyrights and gratuitous indenting. | |
7316 | ||
7317 | Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com> | |
7318 | ||
7319 | * libc/sys/win32/syscalls.c (queue_file_deletion): Finish. | |
7320 | (process_deletion_queue): Likewise. | |
7321 | (__close_all_files): New function. | |
7322 | (_close): Only queue file deletion if really a file. | |
7323 | * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if | |
7324 | _P_APPEND_EXE. | |
7325 | (_exit): Call __close_all_files. | |
7326 | ||
7327 | * libc/stdlib/system.c: #include <errno.h>. | |
7328 | (_system_r): Fix results in -DNO_EXEC case. | |
7329 | ||
7330 | * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname. | |
7331 | Reorganize structure. | |
7332 | * libc/sys/win32/dirsearch.c (opendir): Use stat to determine | |
7333 | if argument is valid. Save directory name in DIR. malloc space | |
7334 | for dirent struct separately. | |
7335 | * libc/sys/win32/syscalls.c (stat): Fix test for directory. | |
7336 | ||
7337 | * libc/include/errno.h (ENAMETOOLONG): Define. | |
7338 | * libc/string/strerror.c (strerror): Reword ENFILE. | |
7339 | Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG. | |
7340 | ||
7341 | Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com> | |
7342 | ||
7343 | * libc/sys/win32/crt0.c (__progname): New global. | |
7344 | (mainCRTStartup): Support strace=bitmask,filename. | |
7345 | * libc/sys/win32/dirsearch.c (all fns): Add trace messages. | |
7346 | * libc/sys/win32/syscalls.c (_write): Print parent trace message | |
7347 | if error. | |
7348 | (getcwd): Handle len too small. Convert '\\' to '/'. | |
7349 | * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY. | |
7350 | Add prototypes for open, creat, fcntl. | |
7351 | (O_APPEND): Change value to conform to Microsoft's value. | |
7352 | * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while. | |
7353 | ||
7354 | * libc/stdlib/getopt.c: New file. | |
7355 | * libc/stdlib/Makefile.in: Build it. | |
7356 | ||
7357 | Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com> | |
7358 | ||
7359 | * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32. | |
7360 | Fix scanning of $PATH. | |
7361 | * libc/posix/exec*.c: Call _execve, not execve. | |
7362 | * libc/posix/execve.c: New file. | |
7363 | * libc/posix/Makefile.in (OFILES): Add execve.o. | |
7364 | ||
7365 | * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH, | |
7366 | _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace. | |
7367 | (_STRACE): If level==0, always print. Handle new bit mask scheme. | |
7368 | * libc/sys/win32/crt0.c: Update _STRACE calls. | |
7369 | * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto. | |
7370 | ||
7371 | * libc/sys/win32/smallprint.c (rn): Fix digit list. | |
7372 | ||
7373 | * libc/sys/win32/syscalls.c (__really_exit): Move from here, | |
7374 | * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion. | |
7375 | * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name. | |
7376 | Print __seterrno trace message first. | |
7377 | (_execve): Renamed from execve. | |
7378 | (vfork): Update __strace usage. | |
7379 | (__vfork_child_pid): Deleted. | |
7380 | (__vfork_children, __vfork_child_idx): New globals. | |
7381 | (_spawnvp): New function. | |
7382 | (spawnvp, spawnv, _execve): Call _spawnvp. | |
7383 | (init_child): Record child in __vfork_children. | |
7384 | (__vfork_get_entry, __vfork_record_death): New functions. | |
7385 | * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children. | |
7386 | * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define. | |
7387 | * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated. | |
7388 | (MAX_CHILDREN, CHILD_INTERIM_PID): Define. | |
7389 | (children): New typedef. | |
7390 | (__vfork_children,__vfork_child_idx): Declare. | |
7391 | (__vfork_get_entry,__vfork_record_death): Declare. | |
7392 | * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions. | |
7393 | (waitpid): Handle pid == -1. | |
7394 | * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare. | |
7395 | * configure.in (i386-win32): Add -DNO_FORK. | |
7396 | * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK. | |
7397 | * libc/reent/execr.c (_fork_r): Likewise. | |
7398 | * libc/stdlib/system.c (do_system): New function. | |
7399 | If WIN32, try to get shell path from $SH_PATH, use vfork. | |
7400 | (_system_r): Return 1 for (s == NULL) if WIN32 or unix, | |
7401 | otherwise return 0. | |
7402 | ||
7403 | Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com> | |
7404 | ||
7405 | * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c. | |
7406 | * libc/sys/win32/fcntl.h: Don't include self. | |
7407 | * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New. | |
7408 | * libc/sys/win32/sys/winbase.h: (GetUserName) New. | |
7409 | * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly. | |
7410 | * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle, | |
7411 | SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle): | |
7412 | Correct prototypes. | |
7413 | * libc/sys/win32/strace.c: New file. | |
7414 | * libc/sys/win32/smallprint.c: New file. | |
7415 | * libc/sys/win32/crt0.c (func): Delete. | |
7416 | (mainCRTStartup): Fix alloca usage. Set handles explictly. | |
7417 | * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno. | |
7418 | * libc/sys/win32/exceptions.c: Lint. | |
7419 | * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}: | |
7420 | Clean up handle usage. | |
7421 | * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c | |
7422 | (open.c): Default file type is text. | |
7423 | * libc/sys/win32/uname.c (uname): Use __small_sprintf. | |
7424 | * libc/sys/win32/advapi32.def: New | |
7425 | ||
7426 | Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com> | |
7427 | ||
7428 | * configure.in (posix_dir, libc_posix_lib): New variables. | |
7429 | Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib. | |
7430 | (i[345]86-*-win32): Define posix_dir. | |
7431 | Delete -DNO_EXEC. Define -DHAVE_OPENDIR. | |
7432 | (if unix_dir): Fix typo. | |
7433 | * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir, | |
7434 | scandir,seekdir,telldir}: New files. | |
7435 | * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here | |
7436 | from libc/unix. | |
7437 | * libc/Makefile.in (LIBC_POSIX_LIB): Define. | |
7438 | (SUBDIRS): Add posix. | |
7439 | (SUBLIBS): Add $(LIBC_POSIX_LIB). | |
7440 | ||
7441 | * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32. | |
7442 | (NSIG): Increase to 21. | |
7443 | * libc/include/sys/unistd.h (pid_t): Move from here, | |
7444 | * libc/include/sys/types.h (pid_t): to here. | |
7445 | ||
7446 | * libc/sys/win32/syscalls.h: #include "sys/strace.h". | |
7447 | (__ptrace): Delete. | |
7448 | (hinfo): New members close_exec_p, child_created_p. | |
7449 | (struct exception_list): Define. | |
7450 | (__hmap): Redefine as pointer to table. | |
7451 | (__parent_hmap, __child_hmap): New globals. | |
7452 | (__set_errno, __really_exit): Declare. | |
7453 | (__vfork_child_pid): Declare. | |
7454 | * libc/sys/win32/crt0.c (__strace, __trace_file): New global. | |
7455 | (__orig_stdin, __orig_stdout, __orig_stderr): New globals. | |
7456 | (__parent_hmap, __child_hmap): New globals. | |
7457 | (__hmap): Redefine as pointer to active map. | |
7458 | (__get_console): New function. | |
7459 | (mainCRTStartup): Change leading '=' in environ vars to '!'. | |
7460 | (env __FD_TABLE__): Watch for this and initialize our fd/handle | |
7461 | mapping table from it if defined. | |
7462 | (argv, envp): Dump if __strace >= 4. | |
7463 | (main): Call here. | |
7464 | * libc/sys/win32/exceptions.c (myp): Redefine. | |
7465 | (__syscalls_b): Delete. | |
7466 | (__stack_trace): New function. | |
7467 | (ehandler3): Update to use _STRACE. Print stack trace. | |
7468 | Call __really_exit instead of exit. | |
7469 | (init_exceptions): Delete args argc,argv. New arg mine. | |
7470 | * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose, | |
7471 | FindFirstFileA, FindNextFileA, GetComputerNameA, | |
7472 | GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define. | |
7473 | * libc/sys/win32/signal.c (signal): Validate arg. | |
7474 | (alarm, sleep): Define as stubs for now. | |
7475 | * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE. | |
7476 | (__syscalls_b, errno): Delete. | |
7477 | (__vfork_child_pid, __vfork_jmp_buf): New globals. | |
7478 | (__seterrno): Handle more errors. | |
7479 | (__sys_printf): Renamed from _ptrace. | |
7480 | (__really_exit): New function. | |
7481 | (queue_file_deletion, process_deletion_queue): New functions. | |
7482 | (__resume_parent): New function. | |
7483 | (_unlink): Handle trying to delete open file. | |
7484 | (__totime_t): Renamed from totime_t. | |
7485 | (setsid, __read, __write): New functions. | |
7486 | (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete. | |
7487 | * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c, | |
7488 | times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files. | |
7489 | * libc/sys/win32/console.c: Update to new definition of __hmap. | |
7490 | * libc/sys/win32/Makefile.in: Build new files. | |
7491 | * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files. | |
7492 | * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files. | |
7493 | * libc/sys/win32/sys/strace.h: Renamed from ptrace.h. | |
7494 | * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype. | |
7495 | ||
7496 | Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com> | |
7497 | ||
7498 | * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT. | |
7499 | ||
7500 | Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7501 | ||
7502 | * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that | |
7503 | have been made to the master dtoa.c sources (from netlib.att.com) | |
7504 | since they were integrated into newlib in early 1992. Fixes | |
7505 | problems with storage leaks and handling of numbers with very | |
7506 | negative exponents. | |
7507 | ||
7508 | Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7509 | ||
7510 | * Makefile.in (all): set rootpre and srcrootpre before calling | |
7511 | sub-makes. | |
7512 | ||
7513 | Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com> | |
7514 | ||
7515 | * libc/sys/win32/crt0.c: Change __hmap usage. | |
7516 | * libc/sys/win32/exceptions.c: Use _ptrace call. | |
7517 | * libc/sys/win32/syscalls.c: Use _ptrace call. | |
7518 | (read, write): Cope with DOS style CRLF when in TEXT mode. | |
7519 | * libc/sys/win32/syscalls.h: Declare hinfo struct. | |
7520 | * libc/sys/win32/user32.def: Get DefWindowProc arg list right. | |
7521 | * libc/sys/win32/sys/fcntl.h, ptrace.h: New. | |
7522 | * libc/sys/win32/sys/windows.h: Fill in rest of messages. | |
7523 | * libc/sys/win32/sys/wintypes.h: Fix attribute syntax. | |
7524 | ||
7525 | Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7526 | ||
7527 | * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations. | |
7528 | ||
7529 | * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files, | |
7530 | wrappers for hypot() and remainder() for BSD libm compatibility. | |
7531 | These are public domain implementations written by me for the | |
7532 | NetBSD libm some time ago. Note cabs() is required by ucbtest. | |
7533 | * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o. | |
7534 | (fobj): Added wf_cabs.o and wf_drem.o. | |
7535 | ||
7536 | Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7537 | ||
7538 | * libc/sys/h8500hms/misc.c: New file. | |
7539 | * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o. | |
7540 | ||
7541 | Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7542 | ||
7543 | * libc/time/localtime.c (localtime): Fix problem with leap year | |
7544 | handling. Stole algorithm from Arthur David Olson's tz code. | |
7545 | ||
7546 | Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com> | |
7547 | ||
7548 | * configure.in: (z8k-*sim): Renamed z8k-*-coff. | |
7549 | ||
7550 | * libc/sys/z8ksim/glue.c (_getpid, _kill): New | |
7551 | (_exit): Use argument. | |
7552 | ||
7553 | Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com> | |
7554 | ||
7555 | * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define. | |
7556 | ||
7557 | Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com> | |
7558 | ||
7559 | * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532) | |
7560 | ||
7561 | Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7562 | ||
7563 | * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to | |
7564 | target_cflags. | |
7565 | ||
7566 | Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com> | |
7567 | ||
7568 | * libc/sys/win32/crt0.c (mainCRTStartup): Look for | |
7569 | ptrace with case insensitivity | |
7570 | * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c, | |
7571 | sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}: | |
7572 | New files. | |
7573 | ||
7574 | Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com> | |
7575 | ||
7576 | * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in. | |
7577 | (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables. | |
7578 | (all, install, *clean): Use new multilib support. | |
7579 | * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in. | |
7580 | ||
7581 | Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com> | |
7582 | ||
7583 | * libc/include/sys/signal.h (__WIN32__): New. | |
7584 | ||
7585 | * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC. | |
7586 | ||
7587 | * libc/stdlib/mprec.c (Balloc): Fix trampling problem. | |
7588 | (ulp, b2d): Handle 32 bit doubles. | |
7589 | * libc/stdlib/mprec.h: Handle 32 bit doubles. | |
7590 | * libc/stdlib/strtod.c (_strtod_r): Ditto. | |
7591 | ||
7592 | Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com> | |
7593 | ||
7594 | from medp@primag.co.uk: | |
7595 | * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on | |
7596 | dynamically allocated buffers. | |
7597 | ||
7598 | Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl> | |
7599 | ||
7600 | * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)). | |
7601 | * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration. | |
7602 | ||
7603 | Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
7604 | ||
7605 | * configure.in (powerpc): Fix previous fix. | |
7606 | ||
7607 | Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
7608 | ||
7609 | * configure.in (powerpc-*eabiaix*): Update PowerPC multilib | |
7610 | directories for this target. | |
7611 | ||
7612 | Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com> | |
7613 | ||
7614 | * configure.in (hppa): Add machine_dir definition. | |
7615 | * libc/machine/hppa: New directory with PA specific implementations | |
7616 | of the basic memory/string functions. | |
7617 | ||
7618 | Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
7619 | ||
7620 | * configure.in: Update current PowerPC multilib directories. | |
7621 | Split big and little endian configurations. | |
7622 | ||
7623 | Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com> | |
7624 | ||
7625 | * configure.in: Add --enable-single-float option to configure to | |
7626 | control use of MIPS single-float directories. Default to yes. | |
7627 | ||
7628 | * Makefile.in (all): Don't recurse into multilib directory if it | |
7629 | does not exist. | |
7630 | ||
7631 | Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7632 | ||
7633 | * libc/sys/sh/syscalls.c: Fix typo. | |
7634 | ||
7635 | Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
7636 | ||
7637 | * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in: | |
7638 | Pass down DLLTOOL. | |
7639 | * libc/include/process.h: Define WAIT_CHILD. | |
7640 | * libc/include/types.h: Get sizes right for win32. | |
7641 | * configure.in (i386-*-pe): Becomes i386-win32. | |
7642 | * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c | |
7643 | wintypes.h,sys/file.h,sys/resource.h}: Second pass. | |
7644 | * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC | |
7645 | is defined. | |
7646 | ||
7647 | Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
7648 | ||
7649 | * configure.in (i[345]86-*-pe): New target (NT). | |
7650 | * host/any: DLLTOOL new. | |
7651 | * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c | |
7652 | wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for | |
7653 | WIN32 (just enough to cross host the comp-tools). | |
7654 | ||
7655 | Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com> | |
7656 | ||
7657 | * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}: | |
7658 | Deleted. These files live in gcc/config/h8300/lib1funcs.asm now. | |
7659 | ||
7660 | Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com> | |
7661 | ||
7662 | * libc/include/machine/ieeefp.h (arm): Change to always be | |
7663 | __IEEE_BIG_ENDIAN (even on little endian ARM's). | |
7664 | ||
7665 | Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
7666 | ||
7667 | * libc/sys/crt0.S: Initialze sp, and call exit after main. | |
7668 | * libc/sys/syscalls.c (abort): New. | |
7669 | * configure.in (arm): Define ABORT_PROVIDED. | |
7670 | ||
7671 | Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7672 | ||
7673 | * configure.in (powerpc): Define multidirs. | |
7674 | ||
7675 | Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com> | |
7676 | ||
7677 | * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support. | |
7678 | ||
7679 | Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com> | |
7680 | ||
7681 | * configure.in (sparclite): Delete target_cflags. Define multidirs. | |
7682 | ||
7683 | Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
7684 | ||
7685 | * configure.in, libc/include/machine/ieeefp.h: Modified | |
7686 | for arm: | |
7687 | libc/machine/arm/*, libc/sys/arm/*: New | |
7688 | ||
7689 | Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7690 | ||
7691 | * libc/include/machine/ieeefp.h: Use __PPC__ instead of | |
7692 | __powerpc__ when determining endianness. | |
7693 | ||
7694 | Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7695 | ||
7696 | * configure.in (m68*): Add multidir for the m68332. | |
7697 | ||
7698 | * host/any (CC): Fix typo in last change. | |
7699 | ||
7700 | Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
7701 | ||
7702 | * libc/include/sys/config.h: Test __m68k__ instead of __m68000__ | |
7703 | when determining endianness. | |
7704 | * libc/include/machine/ieeefp.h: Ditto. | |
7705 | * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate | |
7706 | operands. | |
7707 | ||
7708 | Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com> | |
7709 | ||
7710 | * libc/include/errno.h (ENOTEMPTY): Define. | |
7711 | ||
7712 | Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7713 | ||
7714 | * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to | |
7715 | target_cflags. | |
7716 | ||
7717 | * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o, | |
7718 | and umultiply.o. | |
7719 | ||
7720 | * libc/stdio/tmpnam.c (worker): Unconditionally increment count | |
7721 | instead of only when open succeeds. ANSI requires that multiple | |
7722 | calls to tmpnam() result in different files. | |
7723 | ||
7724 | * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of | |
7725 | objects pulled in from /lib/libc.a that must be renamed before | |
7726 | being pulled into newlib. /lib/libc.a's div.o conflicted with | |
7727 | newlib's file with the same name. | |
7728 | ||
7729 | * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs(). | |
7730 | ||
7731 | * host/any (CC, AS, AR, RANLIB): Changed so that executables in | |
7732 | the build tree will only be used if the executables are present | |
7733 | (instead of just the Makefiles). | |
7734 | ||
7735 | * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs, | |
7736 | wcstombs): Define. | |
7737 | * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null | |
7738 | versions of these functions that I orignally wrote for the | |
7739 | NetBSD C library. | |
7740 | * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with | |
7741 | versions I wrote for NetBSD. | |
7742 | ||
7743 | Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com> | |
7744 | ||
7745 | * libc/sys/sparclite/Makefile.in: add crt0.s and make info. | |
7746 | * libc/sys/sparclite/crt0.s: ditto. | |
7747 | ||
7748 | Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com> | |
7749 | ||
7750 | * configure.in: Add soft-float for proelf. | |
7751 | ||
7752 | Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com> | |
7753 | ||
7754 | * libc/stdlib/mprec.h (Bcopy): Copy the right number | |
7755 | of bytes. | |
7756 | ||
7757 | Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com> | |
7758 | ||
7759 | * Makefile.in (all): Depend on `force'. | |
7760 | * configure.in (syscall_dir): Renamed from fake_sys_dir. | |
7761 | (libc_syscall_lib): Renamed from libc_fake_sys_lib. | |
7762 | (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB. | |
7763 | * libc/Makefile.in: Likewise. | |
7764 | * libc/include/reent.h: Update syscall references. | |
7765 | (_fcntl_r): Add prototype. | |
7766 | * libc/syscalls/*.c #include <reent.h>. | |
7767 | (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED. | |
7768 | ||
7769 | Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com> | |
7770 | ||
7771 | * libc/include/sys/stat-dj.h (S_ISBLK): Define. | |
7772 | (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define. | |
7773 | * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS. | |
7774 | (time.h, sys/types.h): Always include (even if MSDOS). | |
7775 | (stat): Fix prototype. | |
7776 | ||
7777 | Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com> | |
7778 | ||
7779 | * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC. | |
7780 | ||
7781 | Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com> | |
7782 | ||
7783 | * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out. | |
7784 | ||
7785 | Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com> | |
7786 | ||
7787 | * libc/include/regdef.h: New file. | |
7788 | * libc/machine/mips/machine/regdef.h: New file. | |
7789 | ||
7790 | Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com> | |
7791 | ||
7792 | * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis. | |
7793 | ||
7794 | Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat> | |
7795 | ||
7796 | * libc/sys/sh/crt0.S: Pass main's return to exit. | |
7797 | * libc/sys/sh/trap.S: Put errno in the right place. | |
7798 | ||
7799 | Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7800 | ||
7801 | * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change | |
7802 | from fdlibm 5.2: handle |x| < 3pi/4 more efficiently. | |
7803 | * libm/math/ef_rem_pio2.c: Likewise. | |
7804 | * libm/math/e_log10.c: Remove unused static one. | |
7805 | * libm/math/ef_log10.c: Likewise. | |
7806 | * libm/math/s_frexp.c: Likewise. | |
7807 | * libm/math/sf_frexp.c: Likewise. | |
7808 | ||
7809 | Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat> | |
7810 | ||
7811 | * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c, | |
7812 | longjmp.S: Upgraded. | |
7813 | * libc/sys/go32/sys/setjmp.h: Upgraded. | |
7814 | * libc/sys/go32/sys/go32.h, dpmi.h: New files. | |
7815 | ||
7816 | Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7817 | ||
7818 | * configure.in: Add many entries to multidirs for mips targets. | |
7819 | ||
7820 | Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
7821 | ||
7822 | * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm | |
7823 | 5.2 which fixes bug where jn(-1,x) is three times larger than | |
7824 | the actual answer. | |
7825 | * libm/math/ef_jn.c (__ieee754_ynf): Likewise. | |
7826 | ||
7827 | Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat> | |
7828 | ||
7829 | * libc/sys/w65/sys/syscalls.h: New file | |
7830 | * libc/include/machine/ieeefp.h: W65 support. | |
7831 | * libc/include/sys/config.h: Ditto. | |
7832 | * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c, | |
7833 | sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files. | |
7834 | * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files. | |
7835 | ||
7836 | Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7837 | ||
7838 | * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs. | |
7839 | ||
7840 | Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com> | |
7841 | ||
7842 | * Makefile.in, configure.in: Remove any references to the old | |
7843 | "stub" dir. | |
7844 | ||
7845 | Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7846 | ||
7847 | * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which | |
7848 | uses ... in prototype. | |
7849 | ||
7850 | ||
7851 | Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com> | |
7852 | ||
7853 | * libc/sys/a29khif/sys/libconfig.h: Remove. | |
7854 | * libc/sys/go32/sys/libconfig.h: Remove. | |
7855 | * libc/sys/sun4/sys/libconfig.h: Remove. | |
7856 | * libc/sys/sysvi386/sys/libconfig.h: Remove. | |
7857 | * libc/sys/sysvnecv70/sys/libconfig.h: Remove. | |
7858 | * libc/sys/sparc64/sys/libconfig.h: Remove. | |
7859 | ||
7860 | * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define. | |
7861 | * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise. | |
7862 | * libc/include/math.h: Change all uses of _FLOAT_RET and | |
7863 | _FLOAT_ARG to float. | |
7864 | * libm/test/math.c: Likewise. | |
7865 | * testsuite/libm.sac/math.c: Likewise. | |
7866 | * testsuite/libm.sac/working/math.c: Likewise. | |
7867 | ||
7868 | Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
7869 | ||
7870 | * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that | |
7871 | gcc calls gas with endian option. | |
7872 | * configure.in (sh): Build little endian version too. | |
7873 | ||
7874 | Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7875 | ||
7876 | * configure.in: Configure big and little endian versions for MIPS | |
7877 | targets. | |
7878 | ||
7879 | Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com> | |
7880 | ||
7881 | * libc/include/limits.h: Deleted. | |
7882 | * libc/include/machine/limits.h: Deleted. | |
7883 | ||
7884 | Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com> | |
7885 | ||
7886 | * ChangeLog: Remove stub directory. This has all been rewritten | |
7887 | and moved to devo/libgloss. | |
7888 | ||
7889 | Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
7890 | ||
7891 | * Makefile.in (dvi): Add to info target, use $@ in sub make. | |
7892 | (docs): Merge into info target. | |
7893 | * libm/Makefile.in (dvi): Add $(srcdir). | |
7894 | * libm/math/Makefile.in (chobjs): Remove underscores from file | |
7895 | names. Texinfo doesn't like them. | |
7896 | (wacos.def, ...): Add explicit targets for all .def files. | |
7897 | * libm/math/math.tex: Remove underscores from @include file names. | |
7898 | * doc/Makefile.in (dvi): Add dummy target. | |
7899 | * testsuite/Makefile.in (dvi): Add dummy target. | |
7900 | ||
7901 | Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com) | |
7902 | ||
7903 | * Makefile.in (VERSION): Define. For net newlib releases. | |
7904 | ||
7905 | Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com) | |
7906 | ||
7907 | * README: New file. | |
7908 | ||
7909 | Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com) | |
7910 | ||
7911 | * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change. | |
7912 | ||
7913 | Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7914 | ||
7915 | * libc/stdlib/setenv.c (_findenv): Declare. | |
7916 | ||
7917 | * libc/include/sys/fcntl.h: Fix declarations of open, creat, and | |
7918 | fcntl to not use _EXFUN, and change string parameters to open and | |
7919 | creat to be ``const char *''. | |
7920 | * libc/sys/sparc64/sys/fcntl.h: Likewise. | |
7921 | * libc/sys/sparc64/creat.c (creat): Make PATH const. | |
7922 | * libc/syscalls/sysopen.c: Include <fcntl.h>. | |
7923 | (open) Make _FILE const. | |
7924 | * libc/sys/z8ksim/glue.c (_open): Make BUF const. | |
7925 | (_creat): Make PATH const. | |
7926 | * libc/sys/h8300hms/syscalls.c (_open): Make PATH const. | |
7927 | * libc/sys/h8500hms/syscalls.c (_open): Likewise. | |
7928 | * libc/sys/m88kbug/syscalls.c (open): Likewise. | |
7929 | * libc/sys/sh/syscalls.c (_open): Likewise. | |
7930 | * stub/shared/glue.c (open): Make BUF const. | |
7931 | * stub/ex93x/syscalls.c (open): Make FILENAME const. | |
7932 | ||
7933 | Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
7934 | ||
7935 | * libc/include/errno.h: Add ENMFILE | |
7936 | * libc/include/sys/config.h: Support Z8000. | |
7937 | * libc/include/sys/signal.h: New signals for go32. | |
7938 | * libc/machine/h8500/psi.S (__addpsir0r0): New function | |
7939 | * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function | |
7940 | * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten. | |
7941 | * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk | |
7942 | size is variable, depending upon CHUNK_POWER. | |
7943 | * libc/sys/go32/*.c: Upgrade to new go32 stuff. | |
7944 | ||
7945 | Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com) | |
7946 | ||
7947 | * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers. | |
7948 | ||
7949 | Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7950 | ||
7951 | * libc/include/_ansi.h (_PARAMS): Don't define if already defined. | |
7952 | ||
7953 | Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7954 | ||
7955 | * configure.in: Change i[34]86 to i[345]86. | |
7956 | ||
7957 | * libc/include/math.h: Don't define HUGE_VAL if it is already | |
7958 | defined. | |
7959 | ||
7960 | Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7961 | ||
7962 | * testsuite/libm.sac/test_erfc.c: Correct some result values. | |
7963 | * testsuite/libm.sac/test_gammaf.c: Likewise. | |
7964 | * testsuite/libm.sac/test_sin.c: Likewise. | |
7965 | * testsuite/libm.sac/test_tanh.c: Likewise. | |
7966 | ||
7967 | Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7968 | ||
7969 | * libc/include/machine/ieeefp.h: Don't try set endianness if it is | |
7970 | already set. Define typedefs __int32_t and __uint32_t. | |
7971 | * libc/include/math.h: Include <machine/ieeefp.h>. | |
7972 | (union __dmath): Use __uint32_t. | |
7973 | * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t | |
7974 | instead of int and unsigned int. | |
7975 | ||
7976 | Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
7977 | ||
7978 | Replace the math library with the SunPRO fdlibm package. | |
7979 | * libm/math: Completely changed all files. | |
7980 | * libm/ieeefp: Remove contents and directory. | |
7981 | * libm/Makefile.in (LIBM_FP_LIB): Remove. | |
7982 | (SUBDIRS): Just set to math/lib.a. | |
7983 | * libm/libm.texinfo: Updated for new library. | |
7984 | * libc/include/math.h: Extensive changes for new math library. | |
7985 | * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument | |
7986 | from _FLOAT_ARG to float. | |
7987 | (maxpowtwo, maxpowtwof): Don't declare. | |
7988 | * configure.in (fp_dir): Removed; was always ieeefp anyhow. | |
7989 | (libm_fp_lib): Removed. | |
7990 | * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names. | |
7991 | * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir | |
7992 | argument to ${RUNTEST}. | |
7993 | * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define. | |
7994 | (.c.o): New rule. | |
7995 | (RUNTESTFLAGS): Set CC and CFLAGS. | |
7996 | (TESTS): Remove test_log2 and test_log2f. | |
7997 | (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}. | |
7998 | * testsuite/libm.sac/math.c (run_vector_1): Use float, not | |
7999 | _FLOAT_ARG, for single precision argument type. | |
8000 | * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an | |
8001 | expected failure. Close the input pipe. | |
8002 | * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok): | |
8003 | Correct misspelling of inaccurate. | |
8004 | (test_mok): Use ``inaccurate'', not ``wrong''. | |
8005 | * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c, | |
8006 | test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c, | |
8007 | test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c, | |
8008 | test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c, | |
8009 | test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c, | |
8010 | test_yn.c): Correct many result values. Many are still wrong. | |
8011 | ||
8012 | * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999, | |
8013 | just copy the string. | |
8014 | (_gcvt): Always return the buffer. | |
8015 | ||
8016 | Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
8017 | ||
8018 | * bcopy.c: fixed documentation, bcopy was not specified by ANSI. | |
8019 | ||
8020 | Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com) | |
8021 | ||
8022 | * libc/include/sys/reent.h: (struct _Bigint): add _reclaim | |
8023 | structure. | |
8024 | (struct _reent): add _p5s, _cvtlen, _cvtbuf. | |
8025 | (_reclaim_reent): declare new entry point. | |
8026 | * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new | |
8027 | functions. | |
8028 | ||
8029 | * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint | |
8030 | ever allocated, so that we can later reclaim them all. | |
8031 | (pow5mult): make reentrant. | |
8032 | ||
8033 | * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions | |
8034 | so that when given NULL as a buffer, return a pointer to static | |
8035 | space in the rent structure. This is not documented behaviour; | |
8036 | it's only to support ecvt and fcvt, which aren't ANSI anyway. | |
8037 | * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and | |
8038 | therefore become reentrant). | |
8039 | ||
8040 | * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h. | |
8041 | ||
8042 | Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
8043 | ||
8044 | * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__. | |
8045 | ||
8046 | Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
8047 | ||
8048 | * Makefile.in: Make link to libg.a after libc.a; this is needed | |
8049 | for the testsuites to build executables when everything comes | |
8050 | from the tree. | |
8051 | ||
8052 | Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com) | |
8053 | ||
8054 | * libc/Makefile.in: Add a VERSION variable so we can keep track. | |
8055 | * libm/Makefile.in: Add a VERSION variable so we can keep track. | |
8056 | ||
8057 | Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
8058 | ||
8059 | * libc/include/stdio.h: Use __VALIST, not va_list. | |
8060 | ||
8061 | Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com) | |
8062 | ||
8063 | * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp, | |
8064 | testsuite/libm.sac/execute.exp: | |
8065 | Replace error proc calls with perror calls. | |
8066 | ||
8067 | Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com) | |
8068 | ||
8069 | * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>. | |
8070 | * libc/include/time.h: #define NULL as 0L. | |
8071 | ||
8072 | Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com) | |
8073 | ||
8074 | * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes | |
8075 | care of it. | |
8076 | ||
8077 | Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8078 | ||
8079 | * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and | |
8080 | not __unix__. | |
8081 | ||
8082 | Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com) | |
8083 | ||
8084 | * configure.in (TARGET_CFLAGS): Set -O2 as default. | |
8085 | (z8k-*-*): Use syscalls fake sys dir. | |
8086 | * libc/sys/z8k/glue.c: Rename syscalls. | |
8087 | * libc/sys/go32/Makefile.in: Use new routines. | |
8088 | * libc/machine/Makefile.in: Fix typo in ln stuff. | |
8089 | ||
8090 | Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8091 | ||
8092 | * Makefile.in (libm.a, crt0.o): Use cp if ln fails. | |
8093 | * libc/Makefile.in (crt0.o): Likewise. | |
8094 | * libc/machine/Makefile.in (lib.a): Likewise. | |
8095 | * libc/sys/Makefile.in (lib.a, crt0.o): Likewise. | |
8096 | ||
8097 | All Makefile.in files: Added mostlyclean, realclean and distclean | |
8098 | targets. | |
8099 | ||
8100 | * Makefile.in: Don't bother to unexport XTRAFLAGS or | |
8101 | XTRAFLAGS_FOR_TARGET, since they are no longer passed down from | |
8102 | the top level Makefile. | |
8103 | ||
8104 | Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com) | |
8105 | ||
8106 | * libc/sys/sparc64/sys/stat.h: New file. | |
8107 | * libc/sys/sparc64/sys/time.h: New file. | |
8108 | * libc/sys/sparc64/sys/types.h: New file. | |
8109 | ||
8110 | Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com) | |
8111 | ||
8112 | * stub/ex93x/crt0.s (start): Add code to clear bss. | |
8113 | ||
8114 | Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com) | |
8115 | ||
8116 | * libc/include/sys/types.h (time_t): Properly protect inside | |
8117 | #ifndef __time_t_defined. | |
8118 | ||
8119 | * libc/stdio/fileno.c: New file. | |
8120 | * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno. | |
8121 | (fileno.o): Add dependency. | |
8122 | * libc/include/stdio.h (__sgetc): Rename never to _never. | |
8123 | (fileno macro): Disable, needs to do CHECK_INIT first. | |
8124 | ||
8125 | Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) | |
8126 | ||
8127 | * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check | |
8128 | goal. | |
8129 | ||
8130 | * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest. | |
8131 | * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for | |
8132 | runtest. | |
8133 | * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for | |
8134 | runtest. | |
8135 | ||
8136 | Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com) | |
8137 | ||
8138 | * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions | |
8139 | of the various constants. | |
8140 | ||
8141 | Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com) | |
8142 | ||
8143 | * libc/include/math.h: #ifndef __math_68881 around things which | |
8144 | conflict with the (gcc-provided) inline functions in | |
8145 | gcc/ginclude/math-68881.h. | |
8146 | ||
8147 | Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com) | |
8148 | ||
8149 | * libc/include/_syslist.h (_gettimeofday): Define. | |
8150 | (_times): Ditto. | |
8151 | * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_. | |
8152 | (struct tms, timeval, timezone): Declare. | |
8153 | (_gettimeofday_r, _times_r): Declare. | |
8154 | * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove | |
8155 | #ifdef _CLOCK_T_ surrounding definition of clock_t. | |
8156 | (time_t): Add multiple definition protection, __time_t_defined. | |
8157 | * libc/include/sys/time.h: Don't #include <time.h>. | |
8158 | Always define struct timezone (remove #ifndef _TIME_H_). | |
8159 | * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove | |
8160 | #ifdef _CLOCK_T_ surrounding definition of clock_t. | |
8161 | * libc/reent/Makefile.in (OFILES): Add timer.o. | |
8162 | (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence. | |
8163 | * libc/reent/timer.c: New file. | |
8164 | * libc/time/clock.c: #include <reent.h>. | |
8165 | (clock): Call _times_r instead of times. | |
8166 | * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from | |
8167 | HAVE_GET_TIME_OF_DAY. | |
8168 | Add comment regarding supporting OS routine(s) required (for docs). | |
8169 | #include <reent.h>. | |
8170 | (time): Call _gettimeofday_r instead of gettimeofday. | |
8171 | * libc/time/asctime.c: Fix comment regarding supporting OS routines. | |
8172 | * libc/time/ctime.c: Ditto. | |
8173 | * libc/time/strftime.c: Ditto. | |
8174 | * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday. | |
8175 | (TEMPLATE_SFILES_R): Define here. Also define times. | |
8176 | Add times_r.o/times.S dependence. | |
8177 | (time2.c, junk.c): Deleted. | |
8178 | * libc/sys/sparc64/time2.c: Deleted. | |
8179 | * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY. | |
8180 | ||
8181 | * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid. | |
8182 | * libc/stdio/tmpnam.c (_getpid_r): Ditto. | |
8183 | * libc/sys/sparc64/junk.c: Deleted. | |
8184 | ||
8185 | Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com) | |
8186 | ||
8187 | * libc/sys/sparc64/Makefile.in: Add times syscall. | |
8188 | * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can | |
8189 | be used with and without it. Add comment clarifying Medium/Anywhere | |
8190 | model requirements. | |
8191 | * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support. | |
8192 | * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4 | |
8193 | even if obsolete. | |
8194 | ||
8195 | Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com) | |
8196 | ||
8197 | * configure.in (target_cflags): Move init. | |
8198 | (sparc64-*-*): Define HAVE_BLKSIZE. | |
8199 | ||
8200 | Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com) | |
8201 | ||
8202 | * libc/include/sys/_types.h: New file. | |
8203 | * libc/include/reent.h: #include it. | |
8204 | Add comment describing REENTRANT_SYSCALLS_PROVIDED and | |
8205 | MISSING_SYSCALL_NAMES. | |
8206 | Sort syscalls. | |
8207 | * libc/include/_syslist.h: Remove _raise. | |
8208 | * libc/reent/signalr.c: New file. | |
8209 | * libc/reent/Makefile.in: Compile it. | |
8210 | * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS. | |
8211 | Add doc for raise and _raise_r. | |
8212 | * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS. | |
8213 | (raise): Call _raise_r. | |
8214 | (_raise_r): Call _getpid_r and _kill_r. | |
8215 | * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h. | |
8216 | (abort): Loop forever calling raise and _exit. | |
8217 | ||
8218 | Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8219 | ||
8220 | * configure.in: Remove extraneous echo. | |
8221 | ||
8222 | Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com) | |
8223 | ||
8224 | * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid | |
8225 | collision with unistd.h, and fix for svr4. | |
8226 | ||
8227 | Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com) | |
8228 | ||
8229 | * libc/stdio/local.h (_llicvt): Declare. | |
8230 | (CVT_BUF_SIZE): Define (and buffer size from 512 to 128). | |
8231 | * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE. | |
8232 | (_llicvt): Define. | |
8233 | (_sicvt): Fix function header (`value' is short). | |
8234 | * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE. | |
8235 | Add printing of long long's support. | |
8236 | Add printing of 8 byte pointer support. | |
8237 | ||
8238 | Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) | |
8239 | ||
8240 | * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown, | |
8241 | stat, chmod): New hooks. | |
8242 | (sbrk): Abort if stack and heap collide. | |
8243 | * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to | |
8244 | shortcut when given small args. | |
8245 | * libc/machine/sh/setjmp.s: Rewritten. | |
8246 | * libc/machine/sh/strcmp.s (strcmp): New function takes advantage | |
8247 | of cmp/str instruction. | |
8248 | ||
8249 | Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8250 | ||
8251 | * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp | |
8252 | and machine_dir powerpc. | |
8253 | * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h: | |
8254 | Add cases for __powerpc__. | |
8255 | * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S: | |
8256 | New files. | |
8257 | ||
8258 | * libc/include/stdio.h (_iprintf_r): Declare correctly. | |
8259 | ||
8260 | Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com) | |
8261 | ||
8262 | * libc/stdlib/callocr.c: New file with _calloc_r in it. | |
8263 | * libc/stdlib/calloc.c (calloc_r): Now in callocr.c | |
8264 | ||
8265 | Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com) | |
8266 | ||
8267 | * libc/stdlib/ecvtbuf.c (print_f): Remove local "done". | |
8268 | (print_e): More comments to describe args, etc. | |
8269 | "type" arg may now be 'g' or 'G' for %g/G format --> remove | |
8270 | trailing blanks. | |
8271 | (_gcvt): Remove locals decpt, sign, end, p, done. | |
8272 | More comments for print_e invocation. | |
8273 | Pass "type" to print_e as is (g/G). | |
8274 | ||
8275 | Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com) | |
8276 | ||
8277 | * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a | |
8278 | stock m68000. | |
8279 | ||
8280 | Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com) | |
8281 | ||
8282 | * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it | |
8283 | works with any sized pointer, including ones bigger than ints and | |
8284 | longs. | |
8285 | ||
8286 | Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com) | |
8287 | ||
8288 | * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files. | |
8289 | ||
8290 | Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8291 | ||
8292 | * libc/include/stdlib.h (_calloc_r): Add prototype. | |
8293 | * libc/machine/h8500/negsi2.c: New file. | |
8294 | * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v | |
8295 | large unsigned numbers. | |
8296 | * libc/machine/h8500/cmpsi.c: Add cmppsi. | |
8297 | * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it | |
8298 | works when sizeof(size_t) != sizeof(char *). | |
8299 | * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to | |
8300 | get play area | |
8301 | * libc/stdlib/mprec.h: Define Just_16 if generating for z8000. | |
8302 | ||
8303 | Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com) | |
8304 | ||
8305 | * libc/include/assert.h (assert): Handle -traditional. | |
8306 | ||
8307 | Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com) | |
8308 | ||
8309 | * Makefile.in: added ; after every "fi" and "done" that wasn't at | |
8310 | the end of a line (ie. anything before a backslash continuation) | |
8311 | so that bash handles them. | |
8312 | ||
8313 | Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) | |
8314 | ||
8315 | * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed | |
8316 | stat to lstat | |
8317 | ||
8318 | Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com) | |
8319 | ||
8320 | * libc/sys/sh/crt0.s, libc/sys/sh/trap.s, | |
8321 | libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s, | |
8322 | libc/machine/sh/udivsi3.s: Use new calling convention. | |
8323 | ||
8324 | Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com) | |
8325 | ||
8326 | * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy | |
8327 | chmod, access, chdir, chown by making _path const. Also fix _amode | |
8328 | param of access. | |
8329 | ||
8330 | Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com) | |
8331 | ||
8332 | * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to | |
8333 | _khif_tmpnam, because it doesn't comply with ANSI but may be | |
8334 | useful anyway. Real tmpnam was already in libc/stdio, and was | |
8335 | colliding with this one (pr 2176.) | |
8336 | * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is | |
8337 | the wrong idea anyhow. | |
8338 | ||
8339 | Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com) | |
8340 | ||
8341 | * configure.in: Remove h8300h, we have multilib now. | |
8342 | ||
8343 | Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com) | |
8344 | ||
8345 | * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new | |
8346 | functions, to get preference over the ones in libiberty (since we | |
8347 | provide correct declarations in <string.h>. | |
8348 | * libc/string/Makefile.in: add support for strncasecmp, | |
8349 | strcasecmp. | |
8350 | ||
8351 | Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) | |
8352 | ||
8353 | * Change netware config not to look for cpu explicitly. | |
8354 | ||
8355 | Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com) | |
8356 | ||
8357 | * libc/sys/sparc64/{creat.c,junk.c}: New files. | |
8358 | * libc/sys/sparc64/Makefile.in: Add dependencies. | |
8359 | ||
8360 | Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com) | |
8361 | ||
8362 | * configure.in: Clean up v9 a bit, new "os" aoutv8. | |
8363 | ||
8364 | Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com) | |
8365 | ||
8366 | * libc/include/sys/reent.h: make structure smaller by allocating | |
8367 | some stuff when needed. | |
8368 | * libc/signal/signal.c: allocate as needed | |
8369 | * libc/stdio/findfp.c,stdio/local.h: ditto | |
8370 | * libc/stdlib/mprec.c: ditto | |
8371 | ||
8372 | * libc/time/localtime.c: don't return a dangling stack ptr. | |
8373 | ||
8374 | Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com) | |
8375 | ||
8376 | * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic. | |
8377 | ||
8378 | Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8379 | ||
8380 | * libc/include/stdio.h (__sputc): comment out static inline which | |
8381 | confuses coff toolchains. | |
8382 | ||
8383 | Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com) | |
8384 | ||
8385 | * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s, | |
8386 | _write.s, getpid.c, kill.c, read.s}: | |
8387 | * libc/sys/a29khif/stubs.s: eliminated stubs that already go | |
8388 | through the syscalls directory. | |
8389 | ||
8390 | Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8391 | ||
8392 | * configure.in: fixed double quote gotcha. | |
8393 | ||
8394 | Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com) | |
8395 | ||
8396 | * stub/ex931: stub library for sparclite board. | |
8397 | * stub/idp: Renamed from mc68ec. Added contructor table | |
8398 | stuff to linker script. | |
8399 | * stub/mvme135: Renamed from m68kmvme. Added contructor table | |
8400 | stuff to linker script. | |
8401 | ||
8402 | Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8403 | ||
8404 | * configure.in: Configure testsuites only if they exist. | |
8405 | ||
8406 | Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8407 | ||
8408 | * configure.in: Don't set machine_dir for i386 until there is | |
8409 | something in libc/machine/i386 to compile. For i[34]86-*-netware* | |
8410 | use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED, | |
8411 | CLOCK_PROVIDED and MALLOC_PROVIDED. | |
8412 | ||
8413 | * libc/sys/netware: New directory. Contains simplistic and | |
8414 | probably incorrect stubs for NetWare. Should be enough to load | |
8415 | the library. | |
8416 | * libc/sys/netware/crt0.c, libc/sys/netware/environ.c, | |
8417 | libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare | |
8418 | stub files. | |
8419 | ||
8420 | * libc/reent/execr.c: Don't use if NO_EXEC is defined. | |
8421 | * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined. | |
8422 | * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined. | |
8423 | * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined. | |
8424 | ||
8425 | Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com) | |
8426 | ||
8427 | * testsuite/Makefile.in: add "docs" dummy target for consistency | |
8428 | with rest of newlib; turn "info" and "install-info" into dummy | |
8429 | targets, since they wouldn't have worked. (Depended on | |
8430 | nonexistent "doc" subdir.) | |
8431 | ||
8432 | Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) | |
8433 | ||
8434 | * configure.in: handle mips* instead of mips | |
8435 | ||
8436 | Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com) | |
8437 | ||
8438 | * libc/include/sys/dirent.h: New file. If it is not overridden by | |
8439 | a version of libc/sys/*/sys/dirent.h, it includes the next | |
8440 | <dirent.h> file in case there is one lurking somewhere. | |
8441 | ||
8442 | Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8443 | ||
8444 | * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI | |
8445 | compliance, namely: Accept a minus sign. Consider a single 0 with | |
8446 | a radix of 0 as being a conversion. Determine overflow correctly. | |
8447 | If an overflow occurs, set *ptr to the end of the number, not the | |
8448 | middle. | |
8449 | * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly. | |
8450 | ||
8451 | Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com) | |
8452 | ||
8453 | * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case. | |
8454 | ||
8455 | Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com) | |
8456 | ||
8457 | * Makefile.in (INSTALL): Use $srcrootpre. | |
8458 | (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make | |
8459 | can't handle it. | |
8460 | * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle | |
8461 | it. | |
8462 | * libc/sys/Makefile.in (crt0.o, lib.a): Ditto. | |
8463 | * stub/Makefile.in (crt0.o, TARGETLIB): Ditto. | |
8464 | * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage. | |
8465 | * libm/math/Makefile.in (matherr.o): Ditto. | |
8466 | ||
8467 | Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
8468 | ||
8469 | * configure.in: Build multidirs for z8k. | |
8470 | * libc/include/stdlib.h (_strtoul_r): add prototype. | |
8471 | * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family. | |
8472 | * libc/include/machine/setjmp.h: Add for z8k. | |
8473 | * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete. | |
8474 | * libc/sys/z8ksim/glue.c: tidy up. | |
8475 | ||
8476 | Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com) | |
8477 | ||
8478 | * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}: | |
8479 | New files. Requires execve system call. | |
8480 | * libc/unix/Makefile.in: Use them. | |
8481 | * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}: | |
8482 | Deleted, moved to libc/unix. | |
8483 | * libc/sys/sparc64/Makefile.in: Remove them. | |
8484 | ||
8485 | Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com) | |
8486 | ||
8487 | * libc/sys/sparc64/{template.S template_r.S}: New files. | |
8488 | * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls | |
8489 | from templates. | |
8490 | * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S | |
8491 | fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S | |
8492 | umask.S unlink.S wait4.S write.S}: Removed, now built from | |
8493 | templates. | |
8494 | ||
8495 | Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com) | |
8496 | ||
8497 | * libc/time/time.c: #include <_ansi.h>. | |
8498 | ||
8499 | Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com) | |
8500 | ||
8501 | * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__. | |
8502 | ||
8503 | Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8504 | ||
8505 | * configure.in: match m8* rather than m88k so that m88110 is | |
8506 | recognized as well. | |
8507 | ||
8508 | Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com) | |
8509 | ||
8510 | * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}: | |
8511 | Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c. | |
8512 | misc.c: New file. | |
8513 | ||
8514 | * configure.in: Add multilib support to h8300. | |
8515 | ||
8516 | Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com) | |
8517 | ||
8518 | * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type. | |
8519 | * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__. | |
8520 | * libc/include/stdlib.h (exit, abort): Add noreturn attribute. | |
8521 | ||
8522 | Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8523 | ||
8524 | * configure.in: Corrected multidirs for sparc target. | |
8525 | ||
8526 | Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
8527 | ||
8528 | Support for building newlib multiple times with different | |
8529 | compilation flags. | |
8530 | * configure.in: Only configure doc at top level. Set multidirs | |
8531 | when appropriate for target, unless not at top level. If | |
8532 | multidirs is set, independently configure each subdirectory. | |
8533 | Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile. | |
8534 | * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables, | |
8535 | automagically set by configure.in. | |
8536 | (all): If MULTIDIRS is set, build multiple copies of libraries. | |
8537 | (install): If MULTIDIRS is set, install multiple copies of | |
8538 | libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If | |
8539 | MULTISUBDIR is set, don't bother to install header files. | |
8540 | * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from | |
8541 | ${srcrootpre}. | |
8542 | * stub/configure.in: Set MULTISUBDIR appropriately. | |
8543 | * stub/Makefile.in (install): Install in | |
8544 | $(tooldir)/lib/$(MULTISUBDIR). | |
8545 | * All Makefile.in files: Define SRCTOP as well as TOP. | |
8546 | ||
8547 | Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com) | |
8548 | ||
8549 | * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h. | |
8550 | * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support. | |
8551 | ||
8552 | Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com) | |
8553 | ||
8554 | * libc/sys/h8300hms/exit.c (_exit): New function. | |
8555 | ||
8556 | Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8557 | ||
8558 | * configure.in: recognize m88110. | |
8559 | ||
8560 | Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8561 | ||
8562 | * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments, | |
8563 | prototype main and call with args. | |
8564 | ||
8565 | Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com) | |
8566 | ||
8567 | First real try at system traps for m88k-bug. | |
8568 | * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs | |
8569 | to real trap calls. | |
8570 | * libc/sys/m88kbug/sys/systraps.h: new file. | |
8571 | ||
8572 | Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8573 | ||
8574 | Patches to fix info building when target does not use sys | |
8575 | directory. | |
8576 | * libc/Makefile.in (targetdep.tex): add sys.tex separately. | |
8577 | * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to | |
8578 | libc/sys.tex. | |
8579 | * libc/sys/Makefile.in (doc): do nothing. | |
8580 | ||
8581 | Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8582 | ||
8583 | * libc/Makefile.in (CRT0): new macro. | |
8584 | (all): depend on $(CRT0) rather than crt0.o. | |
8585 | ||
8586 | * configure.in: fix libc_sys_dir -> libc_sys_lib thinko. | |
8587 | do not default crt0, instead, set crt0 and crt0_dir based on | |
8588 | sys_dir and stub_dir. | |
8589 | ||
8590 | * Makefile.in (CRT0_DIR): new macro. | |
8591 | (all): depend on $(CRT0) rather than crt0.o which may not exist. | |
8592 | (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply | |
8593 | $(CRT0). | |
8594 | ($(CRT0)): recur by cd'ing into $(CRT0_DIR). | |
8595 | ||
8596 | Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8597 | ||
8598 | * testsuite/lib/libm.exp: | |
8599 | added code to support compiling and linking of tests for | |
8600 | libm.sac (paranoia to be added next) and processing the | |
8601 | pass or failure of the tests. | |
8602 | ||
8603 | * testsuite/config/unix-libm.exp: | |
8604 | platform specific proc's for dealing with compiler, linker | |
8605 | and the way we execute and process the test results. | |
8606 | ||
8607 | * testsuite/libm.sac/execute.exp: | |
8608 | generic framework for the sac tests. the config and lib | |
8609 | expect code for specific platforms tie it all together. | |
8610 | ||
8611 | * testsuite/libm.sac/test_is.c: | |
8612 | changed the output of the test to be consistant with the | |
8613 | other tests. parsing of pass nad fail messages is now fixed. | |
8614 | ||
8615 | Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin) | |
8616 | ||
8617 | * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h, | |
8618 | locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h, | |
8619 | stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++: | |
8620 | #ifdef __cplusplus, surround by extern ""C { ... }. | |
8621 | * libc/include/assert.h: Do *not* protect assert.h against | |
8622 | multiple inclusion! Also, #undef it before #define, to allow | |
8623 | redefinition. | |
8624 | * libc/include/stdio.h (getlogin, cuserid): Removed. These | |
8625 | should be only in unistd.h. | |
8626 | ||
8627 | * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h, | |
8628 | unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C { | |
8629 | ... }. | |
8630 | ||
8631 | Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com) | |
8632 | ||
8633 | * libc/machine/sparc/Makefile.in: Must create a library, even | |
8634 | if empty. | |
8635 | ||
8636 | Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8637 | ||
8638 | * configure.in: set machine_dir for m88k. edit crt0 definition | |
8639 | into makefiles. | |
8640 | ||
8641 | * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories. | |
8642 | ||
8643 | * libc/Makefile.in (all): also build crt0.o. | |
8644 | ||
8645 | * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in, | |
8646 | libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need | |
8647 | to remove CRT0. | |
8648 | ||
8649 | * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed. | |
8650 | (all): reworked to build in place. | |
8651 | (clean): remove lib.a | |
8652 | (Makefile): remove redundant ./, call $(SHELL) rather than sh. | |
8653 | ||
8654 | * libc/sys/m88kbug/crt0.c (start): renamed to _start. | |
8655 | (_start): key off edata rather than _start_bss. | |
8656 | ||
8657 | Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com) | |
8658 | ||
8659 | * libc/include/sys/unistd.h, libc/include/reent.h, | |
8660 | libc/reent/sbrkr.c: change sbrk to return void* instead of char*. | |
8661 | ||
8662 | Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8663 | ||
8664 | * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign. | |
8665 | ||
8666 | * Makefile.in (libc.a): break into two rules, one for libc.a and | |
8667 | one for libc/libc.a. Force subdirs current before rebuilding | |
8668 | library. | |
8669 | (libm.a): break into two rules, one for libm.a and one for | |
8670 | libm/libm.a. Force subdirs current before rebuilding library. | |
8671 | ||
8672 | * libc/Makefile.in (SUBLIBS): fix typo. | |
8673 | ||
8674 | * libc/sys/Makefile.in (all): force descent into subdirs, then | |
8675 | rebuild library iff out of of date. | |
8676 | ||
8677 | Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com) | |
8678 | ||
8679 | Rework so that library is built and then finished rather than | |
8680 | being built on each invocation of make. | |
8681 | ||
8682 | * host/any (machine_dir, sys_dir, signal_dir): these are not | |
8683 | shared and have been moved to their associated Makefile.in's. | |
8684 | (AR_FLAGS): switch to qc which is faster. | |
8685 | * configure.in: no longer assign machine_dir for m88k. set | |
8686 | stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If | |
8687 | stub_dir set, then add to configdirs. add comment about silly | |
8688 | configuration. | |
8689 | (configdirs): drop stub. It will be added only | |
8690 | when needed. | |
8691 | (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib, | |
8692 | libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir, | |
8693 | stub_lib, crt0): new variables for tailoring lower level | |
8694 | makefiles. Assign accordingly and edit into makefiles. | |
8695 | * libm/Makefile.in: updated copyright. | |
8696 | (TARGETLIB): removed. | |
8697 | (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir. | |
8698 | (SUBDIRS): removed TARGETDEP_DIRS. | |
8699 | (LIBM_FP_LIB, SUBLIBS): new macros. | |
8700 | (all): reworked. | |
8701 | (force): new target to force rebuilds. | |
8702 | (Makefile): call $(SHELL) rather than sh. drop redundant ./ | |
8703 | * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in, | |
8704 | libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in, | |
8705 | libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in, | |
8706 | libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in, | |
8707 | libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in, | |
8708 | libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in, | |
8709 | stub/m68kmvme/Makefile.in: updated copyright. | |
8710 | (TARGETLIB, TARGETCRT0, CRT0): macros removed. | |
8711 | (all): reworked. made this the default rule. | |
8712 | (clean): also remove lib.a. | |
8713 | (Makefile): call $(SHELL) rather than sh. drop redundant ./ | |
8714 | * stub/Makefile.in: updated copyright. | |
8715 | (TARGETLIB, TARGETCRT0, CRT0, TOP): removed. | |
8716 | (stub_lib): new macro. | |
8717 | (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added | |
8718 | RANLIB. | |
8719 | (all): reworked. | |
8720 | (clean, install): assume stub_dir exists. | |
8721 | (Makefile): depend on configure.in. call $(SHELL) rather than | |
8722 | sh. drop redundant ./ | |
8723 | * stub/configure.in (stublib): new macro, assign it, edit it into | |
8724 | makefiles. | |
8725 | * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in: | |
8726 | updated copyright. | |
8727 | (all): reworked. | |
8728 | (Makefile): call $(SHELL) rather than sh. drop redundant ./ | |
8729 | * libc/Makefile.in (TARGETCRT0): removed. | |
8730 | (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir, | |
8731 | TARGETCRT0. | |
8732 | (SUBDIRS): drop TARGETDEP_DIRS. | |
8733 | (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB, | |
8734 | LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration. | |
8735 | (force): new target to force rebuilds. | |
8736 | * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed. | |
8737 | (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0 | |
8738 | removed. | |
8739 | (clean): assume sys_dir always exists. | |
8740 | * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh. | |
8741 | drop redundant ./ | |
8742 | * libc/ctype/Makefile.in, libc/errno/Makefile.in, | |
8743 | libc/locale/Makefile.in, libc/machine/Makefile.in, | |
8744 | libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in, | |
8745 | libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in, | |
8746 | libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in, | |
8747 | libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in, | |
8748 | libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in, | |
8749 | libc/machine/z8k/Makefile.in, libc/reent/Makefile.in, | |
8750 | libc/signal/Makefile.in, libc/stdio/Makefile.in, | |
8751 | libc/stdlib/Makefile.in, libc/string/Makefile.in, | |
8752 | libc/sys/Makefile.in, libc/syscalls/Makefile.in, | |
8753 | libc/time/Makefile.in, libc/unix/Makefile.in, | |
8754 | libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright. | |
8755 | (TARGETLIB): removed. | |
8756 | (all): reworked. | |
8757 | (clean): also remove lib.a. | |
8758 | (Makefile): call $(SHELL) rather than sh. drop redundant ./ | |
8759 | * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0): | |
8760 | new macros. | |
8761 | (SUBDIRS): moved to follow frag inclusion, change stub to | |
8762 | stub_dir. | |
8763 | (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which | |
8764 | are now set in the libc Makefile. | |
8765 | * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed. | |
8766 | (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir, | |
8767 | TARGETCRT0. | |
8768 | (force): new target to force rebuilds. | |
8769 | * stub/configure.in: determine and set stub_lib for for Makefile. | |
8770 | ||
8771 | Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com) | |
8772 | ||
8773 | * libc/sys/h8300hms/Makefile.in: Make `all' the default target. | |
8774 | crt0.s renamed to crt0.S. | |
8775 | * libc/sys/h8300hms/crt0.S: Add h8/300h support. | |
8776 | ||
8777 | * libc/machine/h8300/Makefile.in: Make `all' the default target. | |
8778 | * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if | |
8779 | h8300h. | |
8780 | * libc/machine/h8300/defines.h: Add macros to handle pointers for | |
8781 | h8300 (16 bits) and h8300h (32 bits). | |
8782 | * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S, | |
8783 | reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support. | |
8784 | ||
8785 | Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com) | |
8786 | ||
8787 | * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple | |
8788 | implementation of setjmp and longjmp for the m88k. | |
8789 | * libc/include/machine/setjmp.h: Added __m88000__ case. | |
8790 | ||
8791 | Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com) | |
8792 | ||
8793 | * configure.in: Recognize h8300h as variant of h8300. | |
8794 | ||
8795 | Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
8796 | ||
8797 | * libc/include/sys/unistd.h (read, write): get prototypes right. | |
8798 | (sbrk): New prototype. | |
8799 | * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype. | |
8800 | * libc/stdio/local.h: Include unistd.h. | |
8801 | * libc/machine/h8300/syscalls.c: Names have changed. | |
8802 | ||
8803 | Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com) | |
8804 | ||
8805 | * configure.in: add sys_dir assignment for m88k-bug. | |
8806 | ||
8807 | Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com) | |
8808 | ||
8809 | * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either | |
8810 | a.out or elf. | |
8811 | * libc/sys/sparc64: all *.S files: Use new macros. | |
8812 | * libc/sys/sparc64/isatty.c: New file. | |
8813 | * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for | |
8814 | functions beyond what newlib provides. | |
8815 | ||
8816 | Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com) | |
8817 | ||
8818 | * libc/include/sys/stat.h: Move st_atime so not doubly defined for | |
8819 | svr4. | |
8820 | ||
8821 | Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com) | |
8822 | ||
8823 | * libc/include/machine/ieeefp.h: Add support for h8/300h. | |
8824 | ||
8825 | Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com) | |
8826 | ||
8827 | * configure.in: add m88k. | |
8828 | * libc/include/machine/ieeefp.h: add case for m88k. Also add | |
8829 | sanity check so no one else need ever chase what I did to find | |
8830 | this. | |
8831 | ||
8832 | * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c. | |
8833 | ||
8834 | Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com) | |
8835 | ||
8836 | * doc/makedoc.c: Include <ctype.h>. | |
8837 | ||
8838 | Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com) | |
8839 | ||
8840 | * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS. | |
8841 | * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS. | |
8842 | * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS. | |
8843 | ||
8844 | * libm/test/Makefile.in (all): Link with ../../lib[cm].a. | |
8845 | ||
8846 | Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com) | |
8847 | ||
8848 | * libc/include/errno.h (ENOSYS): Added. | |
8849 | ||
8850 | * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up). | |
8851 | ||
8852 | Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) | |
8853 | ||
8854 | * libc/stdio/fflush.c (fflush): Check for reent struct | |
8855 | initialization. | |
8856 | * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict. | |
8857 | ||
8858 | Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com) | |
8859 | ||
8860 | * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa" | |
8861 | out of dtoa.c so it doesn't pollute the namespace. | |
8862 | * libc/include/_syslist.h: new file -- mappings from _function to | |
8863 | function, for systems where we can't win (by default, all of them, | |
8864 | until we start updating system calls.) | |
8865 | * libc/syscalls: new directory -- stubs for exporting _function | |
8866 | names as unmodified function names. | |
8867 | * libc/configure.in: add MISSING_SYSCALL_NAMES to enable | |
8868 | _syslist.h on all platforms by default, but put hooks in for | |
8869 | fake_sys_dir so we can include it when we've renamed the system | |
8870 | calls. | |
8871 | * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c | |
8872 | libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c | |
8873 | libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c | |
8874 | libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c | |
8875 | libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c | |
8876 | libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change | |
8877 | non ANSI functions to call _function. | |
8878 | ||
8879 | Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com) | |
8880 | ||
8881 | * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly | |
8882 | when base 16 is specified. Don't accept non-digits if radix > 10. | |
8883 | ||
8884 | Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com) | |
8885 | ||
8886 | * libc/include/math.h: Rename xxx_r fns to _xxx_r. | |
8887 | ||
8888 | Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com) | |
8889 | ||
8890 | * libc/include/sys/stat.h: Surround text after #endif with | |
8891 | comments. | |
8892 | ||
8893 | Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com) | |
8894 | ||
8895 | * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make | |
8896 | _malloc_r, _realloc_r, and free_r call the corresponding | |
8897 | non-reentrant functions. | |
8898 | ||
8899 | * libm/math/modf.c (modf): We now take the address of ipart, so | |
8900 | don't make it a register variable. | |
8901 | ||
8902 | Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com) | |
8903 | ||
8904 | * libm/math/*: Rename all xxx_r fns to _xxx_r. | |
8905 | ||
8906 | Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com) | |
8907 | ||
8908 | * libc/libc.texinfo and embedded docn throughout: formatting | |
8909 | improvements, minor rephrasing for clarity, and improved | |
8910 | reentrancy docn. | |
8911 | ||
8912 | Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
8913 | ||
8914 | * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug. | |
8915 | ||
8916 | * libc/stdio/cvt.c (_licvt): Print the right value on machines | |
8917 | where sizeof(int) != sizeof(long). | |
8918 | ||
8919 | Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
8920 | ||
8921 | * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c, | |
8922 | libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c, | |
8923 | libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c, | |
8924 | libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c, | |
8925 | libm/math/matherr.c: changes for better docn formatting (info). | |
8926 | ||
8927 | * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex, | |
8928 | libc/reent/reent.tex, libc/signal/signal.tex, | |
8929 | libc/stdio/stdio.tex, libc/stdlib/stdlib.tex, | |
8930 | libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex, | |
8931 | libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use | |
8932 | makeinfo node defaulting to get better Info file node structure. | |
8933 | (Requires recent sac change to doc/makedoc.c and doc/doc.str.) | |
8934 | Also include a few formerly missing sections (subroutines). | |
8935 | ||
8936 | * doc/doc.str: delete fossil expansion for "func" | |
8937 | ||
8938 | * default.menu, no-signal.menu: delete. | |
8939 | ||
8940 | * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify | |
8941 | method used to adjust doc for missing "signals" chapter when | |
8942 | signal_dir is empty. | |
8943 | ||
8944 | Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8945 | ||
8946 | * configure.in: added testsuite/libm.sac | |
8947 | ||
8948 | Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com) | |
8949 | ||
8950 | * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere | |
8951 | code model). | |
8952 | ||
8953 | Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com) | |
8954 | ||
8955 | * libm/Makefile.in: Use $(MAKE) rather than make, and define | |
8956 | MAKEOVERRIDES to be empty. | |
8957 | ||
8958 | Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com) | |
8959 | ||
8960 | * configure.in: Don't build mips-*-* with -msoft-float, since that | |
8961 | makes it incompatible with hard floating point. | |
8962 | ||
8963 | Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8964 | ||
8965 | * Makefile.in: added recursive 'make check' | |
8966 | ||
8967 | Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
8968 | ||
8969 | * configure.in: added ./testsuite ./testsuite/libm.paranoia | |
8970 | * ./testsuite/Makefile.in: created | |
8971 | * ./testsuite/libm.paranoia: paranoia tests added | |
8972 | ||
8973 | Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com) | |
8974 | ||
8975 | * configure.in: For mips-*-* set machine_dir to mips. | |
8976 | ||
8977 | * libc/machine/mips: New directory. | |
8978 | * libc/machine/mips/Makefile.in: New file. | |
8979 | * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of | |
8980 | setjmp and longjmp. | |
8981 | * libc/include/machine/setjmp.h: Added __mips__ case. | |
8982 | ||
8983 | * libc/machine/lmips: Removed unused and useless directory. | |
8984 | ||
8985 | Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com) | |
8986 | ||
8987 | * configure.in: Accept i486-*-sco* as well as i386-*-sco*. | |
8988 | ||
8989 | Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com) | |
8990 | ||
8991 | * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at | |
8992 | start up). | |
8993 | ||
8994 | Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com) | |
8995 | ||
8996 | * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than | |
8997 | SETJMP_H. | |
8998 | ||
8999 | Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com) | |
9000 | ||
9001 | * libm/test/convert.c: structure member errno -> errno_val. | |
9002 | Must include <errno.h> to use errno, it's a macro now. | |
9003 | * libm/test/math.c: Ditto. | |
9004 | * libm/test/math2.c: Include errno.h. | |
9005 | * libm/test/string.c: Ditto. | |
9006 | * libm/test/test.h: structure member errno -> errno_val. | |
9007 | Remove extern int errno decl. | |
9008 | ||
9009 | Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com) | |
9010 | ||
9011 | * libc/stdio/Makefile.in: Added dependencies on local header | |
9012 | files. | |
9013 | * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header | |
9014 | files. | |
9015 | ||
9016 | Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com) | |
9017 | ||
9018 | * libc/include/machine/ieeefp.h: Added __MIPSEB__ case. | |
9019 | ||
9020 | Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com) | |
9021 | ||
9022 | * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c: | |
9023 | Initialize _data. | |
9024 | ||
9025 | * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt. | |
9026 | * libc/stdio/local.h: Add prototype for _licvt. | |
9027 | ||
9028 | * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r | |
9029 | instead of malloc,reealloc. | |
9030 | ||
9031 | * libc/stdlib/local.h: New file. | |
9032 | * libc/stdlib/efgcvt.c: #include local.h. | |
9033 | (gcvt): Fix call to _gcvt. | |
9034 | * libc/stdlib/ecvtbuf.c: #include local.h. | |
9035 | ||
9036 | * libc/stdlib/Makefile.in: new files mallocr.c mstats.c. | |
9037 | * libc/stdlib/mallocr.c mstats.c malloc.h: New files. | |
9038 | * libc/stdlib/malloc.c: main routines moved to mallocr.c. | |
9039 | ||
9040 | * libc/stdlib/atexit.c: moved global data to struct _reent. | |
9041 | * libc/stdlib/exit.c: use struct _atexit in struct _reent. | |
9042 | ||
9043 | * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified. | |
9044 | ||
9045 | Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com) | |
9046 | ||
9047 | * libc/include/sys/reent.h: Stuff required by ANSI headers moved | |
9048 | here from ../reent.h. | |
9049 | ||
9050 | Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com) | |
9051 | ||
9052 | * Makefile.in (MATHOBJS_IN_LIBC): List of object files which | |
9053 | should be provided in both libc.a and libm.a. | |
9054 | (libc.a): Depend on targ-include and libm.a. Copy | |
9055 | $(MATHOBJS_IN_LIBC) from libm.a to libc.a. | |
9056 | (libm.a): Depend on targ-include. | |
9057 | * configure.in (subdirs): Removed libc/math. | |
9058 | ||
9059 | Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
9060 | ||
9061 | * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug. | |
9062 | ||
9063 | Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com) | |
9064 | ||
9065 | * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use | |
9066 | sys/reent.h instead of reent.h. | |
9067 | * libc/include/reent.h: Split into two parts: stuff needed by ANSI | |
9068 | headers moved to sys/reent.h. | |
9069 | * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h. | |
9070 | * libc/include/sys/signal.h: Define _MAX_SIGNALS if | |
9071 | __need__MAX_SIGNALS defined. | |
9072 | * libc/include/stdio.h: struct __sFILE moved to sys/reent.h. | |
9073 | std{in,out,err} refer to new _std{in,out,err} members. | |
9074 | ||
9075 | Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com) | |
9076 | ||
9077 | * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general | |
9078 | case. | |
9079 | ||
9080 | Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com) | |
9081 | ||
9082 | * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot, | |
9083 | rather than whatever macro seterrno() has. | |
9084 | ||
9085 | Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com) | |
9086 | ||
9087 | * libc/locale/locale.c: Reentrant routines _r_xxx renamed to | |
9088 | _xxx_r. struct reent_struct renamed to struct _reent for ANSI. | |
9089 | ||
9090 | * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of | |
9091 | __STDC__. | |
9092 | ||
9093 | * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c, | |
9094 | reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to | |
9095 | _xxx_r. struct reent_struct renamed to struct _reent for ANSI. | |
9096 | ||
9097 | * libc/signal/signal.c: Reentrant routines _r_xxx renamed to | |
9098 | _xxx_r. struct reent_struct renamed to struct _reent for ANSI. | |
9099 | ||
9100 | * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c, | |
9101 | fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c, | |
9102 | fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c, | |
9103 | mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c, | |
9104 | remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c, | |
9105 | sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h, | |
9106 | vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx | |
9107 | renamed to _xxx_r. struct reent_struct renamed to struct _reent | |
9108 | for ANSI. structure members given leading "_" for ANSI. Use | |
9109 | _HAVE_STDC instead of __STDC__ and _HAVE_STDARG. | |
9110 | ||
9111 | * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c, | |
9112 | mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c, | |
9113 | system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct | |
9114 | reent_struct renamed to struct _reent for ANSI. | |
9115 | Structure members given leading "_" for ANSI. | |
9116 | _CONST --> const in prototypes. | |
9117 | Use _HAVE_STDC instead of __STDC__. | |
9118 | ||
9119 | * libc/string/strtok.c: Reentrant routines _r_xxx renamed to | |
9120 | _xxx_r. | |
9121 | struct reent_struct renamed to struct _reent for ANSI. | |
9122 | Structure members given leading "_" for ANSI. | |
9123 | ||
9124 | * libc/time/asctime.c: Reentrant routines _r_xxx renamed to | |
9125 | _xxx_r. | |
9126 | struct reent_struct renamed to struct _reent for ANSI. | |
9127 | ||
9128 | * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h, | |
9129 | cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h, | |
9130 | gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c, | |
9131 | mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c, | |
9132 | tanh.h}: struct reent_struct renamed to struct _reent for ANSI. | |
9133 | ||
9134 | * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h, | |
9135 | signal.h, stdio.h, stdlib.h, string.h, time.h}: | |
9136 | Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG. | |
9137 | #ifndef _STRICT_ANSI non-ANSI routines. | |
9138 | Reentrant routines renamed from _r_xxx to _xxx_r. | |
9139 | No need to use _STRICT_ANSI on _xxx_r reentrant routines. | |
9140 | Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc. | |
9141 | Clean up namespace (structure members have leading "_"). | |
9142 | struct reent_struct renamed to struct _reent for ANSI compliance. | |
9143 | _CONST --> const in function prototypes. | |
9144 | ||
9145 | * libc/include/string.h: Add NULL and size_t. | |
9146 | ||
9147 | * libc/sys/sparc64/Makefile.in: New syscall routines for link, | |
9148 | unlink, wait, wait4. Reentrant syscall routines close, fork, | |
9149 | fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4, | |
9150 | write. | |
9151 | * libc/sys/sparc64/cerror.S (cerror_r): New routine. | |
9152 | * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S, | |
9153 | open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S, | |
9154 | write.S}: Define reentrant versions. | |
9155 | * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for | |
9156 | reentrant syscalls. | |
9157 | ||
9158 | * libc/sys/sparc64/crt0.S (start): Fix initialization of environ. | |
9159 | ||
9160 | * libc/include/stdlib.h (RAND_MAX): Fix value. | |
9161 | ||
9162 | Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com) | |
9163 | ||
9164 | * libc/sys/a29khif/_main.c: Removed unnecessary file. | |
9165 | * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved | |
9166 | VPATH support targets after all: target. | |
9167 | ||
9168 | * stub/mvme135/mvme.S: Renamed exceptionhandler to | |
9169 | exceptionHandler, which is what mvme135-stub.c expects. | |
9170 | ||
9171 | Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com) | |
9172 | ||
9173 | * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure. | |
9174 | ||
9175 | * libc/unix/getpass.c (getpass): Use stdin,stderr instead of | |
9176 | def_stdin/def_stderr (latter removed from stdio.h to make it ANSI | |
9177 | compliant). | |
9178 | ||
9179 | Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com) | |
9180 | ||
9181 | * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct | |
9182 | first. | |
9183 | libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read, | |
9184 | _r_write): Ditto. | |
9185 | libc/reent/fstatr.c (_r_fstat): Ditto. | |
9186 | libc/reent/linkr.c (_r_link, _r_unlink): Ditto. | |
9187 | libc/reent/sbrkr.c (_r_sbrk): Ditto. | |
9188 | libc/reent/statr.c (_r_stat): Ditto. | |
9189 | ||
9190 | * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open. | |
9191 | * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free. | |
9192 | * libc/stdio/fseek.c (fseek): Ditto for _r_fseek. | |
9193 | * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat. | |
9194 | * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open. | |
9195 | * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink. | |
9196 | * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink. | |
9197 | * libc/stdio/stdio.c (__sread): Ditto for _r_read. | |
9198 | (__swrite): Ditto for _r_lseek, _r_write. | |
9199 | (__sseek): Ditto for _r_lseek. | |
9200 | (__close): Ditto for _r_close. | |
9201 | * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close. | |
9202 | ||
9203 | * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk. | |
9204 | * libc/stdlib/system.c (_r_system): Ditto for _r_wait. | |
9205 | ||
9206 | * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns | |
9207 | to make reent_struct the first argument (and thus consistent with | |
9208 | the rest of newlib). | |
9209 | ||
9210 | * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove | |
9211 | reference to __STDC__. | |
9212 | ||
9213 | Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com) | |
9214 | ||
9215 | * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of | |
9216 | global __cleanup. | |
9217 | ||
9218 | Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com) | |
9219 | ||
9220 | * libc/stdio/freopen.c (freopen): Ensure stdio is initialized | |
9221 | first. | |
9222 | libc/stdio/fclose.c (fclose): Ditto. | |
9223 | ||
9224 | Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com) | |
9225 | ||
9226 | * Run through indent and rename reentrant routines for ANSI. | |
9227 | libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c | |
9228 | fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c | |
9229 | fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c | |
9230 | fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c | |
9231 | getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c | |
9232 | putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c | |
9233 | scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c | |
9234 | tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c | |
9235 | vsprintf.c wbuf.c wsetup.c local.h} | |
9236 | ||
9237 | * libc/locale/locale.c: Reformat and rename for ANSI, GNU style. | |
9238 | ||
9239 | * Run through indent and rename xxx_r fns to _r_xxx for ANSI. | |
9240 | libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c | |
9241 | assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c | |
9242 | dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c | |
9243 | mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c | |
9244 | strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h} | |
9245 | ||
9246 | * Run through indent. | |
9247 | libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c | |
9248 | memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c | |
9249 | strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c | |
9250 | strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c | |
9251 | strxfrm.c} | |
9252 | ||
9253 | * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c | |
9254 | localtime.c mktime.c strftime.c time.c}: | |
9255 | Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI. | |
9256 | ||
9257 | * Reformatting + renaming (for ANSI, GNU style, consistency). | |
9258 | libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h, | |
9259 | ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h, | |
9260 | signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h} | |
9261 | ||
9262 | Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com) | |
9263 | ||
9264 | * libc/include/stdio.h (stdin_r): Fix. | |
9265 | ||
9266 | Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com) | |
9267 | ||
9268 | * Makefile.in: Unexport some variables to keep GNU make from | |
9269 | putting them in the environment and using up needed ARG_MAX space | |
9270 | (a hack is used to let this work with older makes as well). | |
9271 | ||
9272 | Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com) | |
9273 | ||
9274 | * Makefile.in: Use $(MAKE) rather than make. | |
9275 | (MAKEOVERRIDES): Define to be empty. | |
9276 | (FLAGS_TO_PASS): Don't pass down LD (it's not used). | |
9277 | (libc.a, libm.a): Depend on targ-include. | |
9278 | * host/any (LD): Don't define. | |
9279 | (INCLUDES): Use targ-include. | |
9280 | * stub/Makefile.in (MAKEOVERRIDES): Define to be empty. | |
9281 | (FLAGS_TO_PASS): Don't pass down LD (it's not used). | |
9282 | * libc/Makefile.in: Use $(MAKE) rather than make. | |
9283 | (MAKEOVERRIDES): Define to be empty. | |
9284 | (FLAGS_TO_PASS): Don't pass LD (it's not used). | |
9285 | (all): Rewrote to be slightly smaller. | |
9286 | * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES): | |
9287 | Define to be empty. | |
9288 | (FLAGS_TO_PASS): Don't pass LD (it's not used). | |
9289 | * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used). | |
9290 | ||
9291 | Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com) | |
9292 | ||
9293 | * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict | |
9294 | with errno/errno.c. | |
9295 | ||
9296 | Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com) | |
9297 | ||
9298 | * Changes for reentrancy. | |
9299 | libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c: | |
9300 | Use ptr->_errno, not errno. | |
9301 | libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions. | |
9302 | libc/stdio/remove.c (remove_r): New function. | |
9303 | libc/stdio/rename.c (rename_r): New function. | |
9304 | libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c, | |
9305 | libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c, | |
9306 | libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use | |
9307 | reentrant versions of system calls. | |
9308 | libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r. | |
9309 | libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n. | |
9310 | libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r. | |
9311 | libc/stdio/findfp.c: Include <string.h>. | |
9312 | libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include | |
9313 | "local.h". | |
9314 | libc/stdio/wbuf.c: Include "fvwrite.h" | |
9315 | ||
9316 | * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include | |
9317 | <string.h>. | |
9318 | libc/stdlib/malloc.c: Call sbrk_r rather than sbrk. | |
9319 | (NULL): Don't define if already defined. | |
9320 | libc/stdlib/system.c: Call reentrant versions of system calls. | |
9321 | (system_r): New function. | |
9322 | ||
9323 | * Changes for reentrancy. | |
9324 | libc/include/_ansi.h (_PARAMS): New macro. | |
9325 | libc/include/errno.h: Define errno as a macro that calls __errno. | |
9326 | (__errno_r): New macro for reentrant code. | |
9327 | libc/include/math.h: Include reent.h. Declare many reentrant | |
9328 | functions. | |
9329 | (signgam): Now a macro, not a variable. | |
9330 | (struct exception): Added err field. | |
9331 | libc/include/reent.h: Don't declare __sglue. Added function | |
9332 | declarations. | |
9333 | (struct reent_struct): Moved errno to beginning. Added _signgam. | |
9334 | libc/include/stdio.h, libc/include/stdlib.h: Added function | |
9335 | declarations. | |
9336 | ||
9337 | * More reentrancy hacking. | |
9338 | libc/errno/errno.c (__errno): New function. | |
9339 | libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c, | |
9340 | libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New | |
9341 | files. | |
9342 | ||
9343 | * Added many new reentrant functions to libm/math/*. | |
9344 | libm/math/error.c (__matherror): Added reent_struct pointer | |
9345 | argument. Changed all callers. | |
9346 | libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead. | |
9347 | libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h, | |
9348 | libm/math/tan.h: Removed obsolete unused header files. | |
9349 | ||
9350 | * libc/sys/a29khif/stubs.s: Use register lr0, not v0. | |
9351 | ||
9352 | * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o. | |
9353 | ||
9354 | Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
9355 | ||
9356 | * libc/sys/a29khif/stubs.s: clobber safe register, and fill all | |
9357 | delay slots. | |
9358 | ||
9359 | Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) | |
9360 | ||
9361 | * libc/libc.texinfo: comment out reentrancy chapter (duh) | |
9362 | ||
9363 | Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) | |
9364 | ||
9365 | * libc/reent/reent.tex: New file. (text from | |
9366 | newlib/libc/libc.texinfo) | |
9367 | * libc/stdio/tmpnam.c: fixed doc typo | |
9368 | * libc/stdlib/rand.c: fixed doc typo | |
9369 | ||
9370 | Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) | |
9371 | ||
9372 | * libc/reent/reent.tex: New file. (text from | |
9373 | newlib/libc/libc.texinfo) | |
9374 | ||
9375 | Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
9376 | ||
9377 | support for reentrancy | |
9378 | * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c: | |
9379 | new files | |
9380 | * libc/errno/errno.c, libc/include/ieeefp.h, | |
9381 | libc/include/locale.h, libc/include/reent.h, | |
9382 | libc/include/signal.h, libc/include/stdio.h, | |
9383 | libc/include/stdlib.h, libc/include/string.h, libc/include/time.h, | |
9384 | libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c, | |
9385 | libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c, | |
9386 | libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c, | |
9387 | libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c, | |
9388 | libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c, | |
9389 | libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c, | |
9390 | libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c, | |
9391 | libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c, | |
9392 | libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c, | |
9393 | libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c, | |
9394 | libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h, | |
9395 | libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c, | |
9396 | libc/stdlib/__adjust.c, libc/stdlib/__exp10.c, | |
9397 | libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c, | |
9398 | libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c, | |
9399 | libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c, | |
9400 | libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c, | |
9401 | libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c, | |
9402 | libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c, | |
9403 | libc/time/strftime.c: modify to provide reentracy. | |
9404 | ||
9405 | new routines: | |
9406 | strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r, | |
9407 | perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r, | |
9408 | tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r, | |
9409 | srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r, | |
9410 | mstats_r, realloc_r, localeconv_r, setlocale_r | |
9411 | ||
9412 | Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com) | |
9413 | ||
9414 | * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h, | |
9415 | libc/include/sys/config.h, libc/include/sys/signal.h, | |
9416 | libc/include/sys/stat.h, libc/include/sys/types.h: For compiler | |
9417 | provided macros (such as m68000), use the ansi version | |
9418 | (__m68000__) so that the library can be used with code compiled | |
9419 | -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix, | |
9420 | and sparc. | |
9421 | ||
9422 | Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com) | |
9423 | ||
9424 | * configure.in (sparc*): Don't set -fsoft-float for sparc | |
9425 | configurations. Do set -fsoft-float for sparclite configurations. | |
9426 | ||
9427 | Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9428 | ||
9429 | * default.menu, no-signal.menu: alternate forms of libc main menu | |
9430 | (in newlib rather than newlib/libc due to configuration restrictions) | |
9431 | ||
9432 | * configure.in: select one of the two menus above, link to | |
9433 | libc.menu | |
9434 | ||
9435 | * libc/libc.texinfo: include menu from separate file | |
9436 | ||
9437 | Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com) | |
9438 | ||
9439 | * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in. | |
9440 | (info): Split long shell command in half. | |
9441 | * libc/Makefile.in (info, targetdep.tex): Don't pass everything to | |
9442 | sub-makes, just CHEW and TARGETDOC. | |
9443 | (targetdep.tex): Removed now special handling of sys and machine | |
9444 | subdirectories, made obsolete some time ago. | |
9445 | * libc/machine/Makefile.in (doc): Don't pass everything to | |
9446 | sub-make, just CHEW and TARGETDOC. | |
9447 | (Makefile): New target. | |
9448 | * libc/sys/Makefile.in (Makefile): New target. | |
9449 | ||
9450 | Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com) | |
9451 | ||
9452 | * Makefile.in (here and most subdirectories): Only pass down CHEW | |
9453 | and TARGETDOC when making info, not for other targets. | |
9454 | ||
9455 | * Makefile.in (here and most subdirectories), host/any: Use $(AR) | |
9456 | $(AR_FLAGS) rather than $(ARUPDATE). | |
9457 | ||
9458 | Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com) | |
9459 | ||
9460 | * Try to reduce command line length: | |
9461 | * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix, | |
9462 | CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW. | |
9463 | (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc. | |
9464 | (info): Pass CHEW to other subdirs. | |
9465 | ||
9466 | Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com) | |
9467 | ||
9468 | * configure.in: add signal_dir, like unix_dir, but by default it | |
9469 | is set to "signal" so that a29khif can turn it off (since a29khif | |
9470 | has raise() as part of machine-specific signal.s.) | |
9471 | ||
9472 | Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
9473 | ||
9474 | * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support | |
9475 | * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built | |
9476 | correctly. | |
9477 | * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c, | |
9478 | libc/stdio/vfprintf: type lint. | |
9479 | * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent | |
9480 | initialzation code. | |
9481 | * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls. | |
9482 | ||
9483 | Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com) | |
9484 | ||
9485 | * stub/mvme135/mvme135-asm.S: new file. | |
9486 | stub/mvme135mvme135-stub.c: moved all assembler routines into | |
9487 | mvme135-asm.S. | |
9488 | stub/mvme135/Makefile.in: build mvme135-stub.o. | |
9489 | ||
9490 | Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com) | |
9491 | ||
9492 | * Makefile.in: don't pass down $(CPP); use $(CC) -E in | |
9493 | sub-Makefiles instead, to try to avoid line length limitations. | |
9494 | ||
9495 | Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com) | |
9496 | ||
9497 | * libc/include/unistd.h (read, write): Use void* instead of | |
9498 | char*. | |
9499 | ||
9500 | Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com) | |
9501 | ||
9502 | * stub/go32/resetpc: sample script to send a reset packet to the | |
9503 | stub | |
9504 | ||
9505 | * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the | |
9506 | DOS environment, which compiles with Turbo C. | |
9507 | ||
9508 | * stub/go32/DSER32.LNK: new file, linker commands for serial | |
9509 | remote stub. | |
9510 | ||
9511 | * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to | |
9512 | start up message to identify version; call set_debug_traps. | |
9513 | ||
9514 | * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any | |
9515 | keyboard interaction); call handle_exception() in go_til_stop, | |
9516 | rather than return, so that the remote stub gets control. | |
9517 | ||
9518 | * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and | |
9519 | rename, rather than mv), set flags that work with current Turbo C, | |
9520 | including using the /3 flag; also, add commands to build dser32. | |
9521 | ||
9522 | * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match | |
9523 | default Turbo C installation (\tc rather than \usr) | |
9524 | ||
9525 | * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of | |
9526 | "&..." | |
9527 | ||
9528 | Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9529 | ||
9530 | * libc/include/math.h: added _DOUBLE_IS_32BITS checks | |
9531 | ||
9532 | Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9533 | ||
9534 | * libc/stdio/cvt.c (licvt): new function to convert ints when | |
9535 | sizeof(int) != sizeof(long). | |
9536 | ||
9537 | * libc/include/stdio.h: added prototype for iprintf. | |
9538 | * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff | |
9539 | ||
9540 | Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com) | |
9541 | ||
9542 | * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and | |
9543 | __REGISTER_PREFIX__. | |
9544 | ||
9545 | Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com) | |
9546 | ||
9547 | * libc/sys/m68kbare: moved into stub directory. | |
9548 | ||
9549 | Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com) | |
9550 | ||
9551 | * configure.in, Makefile.in: created new directory stub, to hold | |
9552 | sample code for specific targets. | |
9553 | ||
9554 | Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com) | |
9555 | ||
9556 | * restored libc/sys/go32/sys/fcntl.h, to override incorrect values | |
9557 | in the unified libc/include/sys/fcntl.h. | |
9558 | ||
9559 | Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com) | |
9560 | ||
9561 | * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01) | |
9562 | printed .01, not 0.01. | |
9563 | ||
9564 | Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com) | |
9565 | ||
9566 | * configure.in: compile with -m68000 for m68* targets. | |
9567 | ||
9568 | Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com) | |
9569 | ||
9570 | * libm/math/remainder.c (remainder): document the svr4 and sunos | |
9571 | references used to construct the function. | |
9572 | ||
9573 | Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com) | |
9574 | ||
9575 | * libm/math/remainder.c (rint, remainder): fix old typos. | |
9576 | * libm/math/Makefile.in: actually build remainder.c (functions | |
9577 | rint and remainder, from SysVr4 Programmer's Guide floor(3m) man | |
9578 | page.) | |
9579 | ||
9580 | Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com) | |
9581 | ||
9582 | * libc/string/bcopy.c: BSD version works on overlapping strings, | |
9583 | so ours should too. | |
9584 | ||
9585 | * libc/stdlib/system.c: always invoke /bin/sh, not getenv | |
9586 | ("SHELL"). | |
9587 | ||
9588 | Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com) | |
9589 | ||
9590 | * Makefile.in (docs): new target. | |
9591 | ||
9592 | Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com) | |
9593 | ||
9594 | * libc/include/sys/times.h: define clock_t as required by POSIX. | |
9595 | libc/include/time.h: protect clock_t from multiple definitions. | |
9596 | ||
9597 | Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) | |
9598 | ||
9599 | * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit | |
9600 | does not need more than the original three iterations to get | |
9601 | within 1 ulp. (Paranoia tests for rounding to better than that, | |
9602 | but further iterations *don't* help, only more subtle changes | |
9603 | can.) | |
9604 | ||
9605 | Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com) | |
9606 | ||
9607 | * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they | |
9608 | were doing nothing useful. | |
9609 | ||
9610 | Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com) | |
9611 | ||
9612 | * configure.in: define MALLOC_PROVIDED for vxworks targets; | |
9613 | removed sys_dir settings of vxworks68 and vxworks960. | |
9614 | host/any: don't pass -nostdinc to gcc, since newlib no longer | |
9615 | provides all required header files. | |
9616 | ||
9617 | * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED | |
9618 | is not defined; this provides a hook for VxWorks. | |
9619 | ||
9620 | Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) | |
9621 | ||
9622 | * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a | |
9623 | buffer if buf is NULL, don't do it here -- it is already being | |
9624 | done by makebuf elsewhere in stdio. | |
9625 | ||
9626 | Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com) | |
9627 | ||
9628 | * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so | |
9629 | that C programs can call functions without using initial | |
9630 | underscores. | |
9631 | ||
9632 | Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com) | |
9633 | ||
9634 | * libc/stdlib/abort.c (abort): call exit, in case kill returns. | |
9635 | ||
9636 | Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com) | |
9637 | ||
9638 | * configure.in: set TARGET_CFLAGS for certain CPU types to | |
9639 | -msoft-float. | |
9640 | ||
9641 | Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9642 | ||
9643 | * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h> | |
9644 | ||
9645 | Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com) | |
9646 | ||
9647 | * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and | |
9648 | m68k*-unknown-coff. | |
9649 | ||
9650 | Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com) | |
9651 | ||
9652 | * libc/include/stdio.h: define __need___va_list before including | |
9653 | <stdarg.h>, to avoid defining va_arg, et. al. | |
9654 | ||
9655 | Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com) | |
9656 | ||
9657 | * libc/sys/Makefile.in: handle the case of an empty $(sys_dir) | |
9658 | (don't cd to the user's home directory). | |
9659 | ||
9660 | * libc/Makefile.in: replaced all instances of $(MAKE) with make. | |
9661 | In general this is the wrong thing to do, but I can't get around | |
9662 | GNU make's insistence on passing command line arguments any other | |
9663 | way. | |
9664 | ||
9665 | Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com) | |
9666 | ||
9667 | * configure.in: always configure the libc/sys directory, since it | |
9668 | now provides a required documentation file. | |
9669 | ||
9670 | * Makefile.in: replaced all instances of $(MAKE) with make. In | |
9671 | general this is the wrong thing to do, but I can't get around GNU | |
9672 | make's insistence on passing command line arguments any other way. | |
9673 | ||
9674 | Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com) | |
9675 | ||
9676 | * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null | |
9677 | terminated. | |
9678 | ||
9679 | * libc/stdio/local.h: include <stdarg.h> to define va_list. | |
9680 | libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>. | |
9681 | ||
9682 | * libc/include/float.h, libc/include/stdarg.h, | |
9683 | libc/include/stddef.h, libc/include/varargs.h: removed; use gcc | |
9684 | versions instead. | |
9685 | libc/include/stdio.h: get size_t from <stddef.h>, and va_list from | |
9686 | <stdarg.h>, not from <machine/types.h>. Protect definition of | |
9687 | NULL. | |
9688 | libc/include/time.h: get size_t from stddef.h. Protect definition | |
9689 | of NULL. | |
9690 | libc/include/machine/limits.h: override gcc <limits.h> by defining | |
9691 | _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to | |
9692 | get correct INT_MIN and LONG_LONG values. | |
9693 | libc/include/machine/types.h: don't define ptrdiff_t, wchar_t, | |
9694 | size_t or va_list at all; they're now gotten from stddef.h | |
9695 | instead. | |
9696 | libc/include/machine/varargs.h: removed; use gcc version instead. | |
9697 | libc/include/sys/types.h: explicitly include <machine/types.h>. | |
9698 | ||
9699 | * libm/math/sqrt.h: using the fp-bit routines appears to require | |
9700 | more iterations. | |
9701 | ||
9702 | * Makefile.in, host/any: let system include files override machine | |
9703 | include files. | |
9704 | ||
9705 | Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) | |
9706 | ||
9707 | * libc/include/machine/types.h: allow __*_TYPE__ from cpp to | |
9708 | override _*_T_ definitions defaulted here. | |
9709 | ||
9710 | Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com) | |
9711 | ||
9712 | * Makefile.in (install): install the include files in | |
9713 | $(tooldir)/include, not $(exec_prefix)/include. | |
9714 | ||
9715 | Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com) | |
9716 | ||
9717 | * Makefile.in (install): fixed typo, and changed install to not | |
9718 | force rebuild of libc.a and libm.a. | |
9719 | ||
9720 | Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com) | |
9721 | ||
9722 | * libc/sys/a29khif/*: Changed all .include's to include | |
9723 | sys/sysmac.h, not plain sysmac.h. The header files live in sys so | |
9724 | that they will be installed for the user. | |
9725 | ||
9726 | * Makefile.in (all): create targ-include, a directory holding the | |
9727 | machine and system specific header files during the build. | |
9728 | (install): fixed installation of machine and system specific | |
9729 | header files. | |
9730 | ||
9731 | * Makefile.in: fixed comment. | |
9732 | host/any: change .s.o rule to use $(AS) rather than $(CC), so that | |
9733 | we can pass $(INCLUDES) to it. | |
9734 | ||
9735 | Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com) | |
9736 | ||
9737 | * libc/include/sys/param.h: new generic file, which may be | |
9738 | overridden for specific systems. | |
9739 | ||
9740 | * libc/include/sys/signal.h: define all ANSI signal names, and | |
9741 | NSIG (which is not ANSI) for a29k. | |
9742 | ||
9743 | Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com) | |
9744 | ||
9745 | * Makefile.in: don't pass down arguments the lower level makes | |
9746 | will not need. | |
9747 | * libc/Makefile.in: recurse directly, rather than using subdir_do, | |
9748 | in hopes of avoiding argument length limits. | |
9749 | * libm/Makefile.in: recurse directly, rather using subdir_do, in | |
9750 | hopes of avoiding argument length limits. | |
9751 | ||
9752 | Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com) | |
9753 | ||
9754 | * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that | |
9755 | mode_t is defined. | |
9756 | ||
9757 | Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com) | |
9758 | ||
9759 | * Fixed make info and make install-info for newlib, changing most | |
9760 | Makefile.in and several *.tex files. Moved doc directory from | |
9761 | libc to top level. | |
9762 | ||
9763 | * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const. | |
9764 | Should be rewritten. | |
9765 | ||
9766 | * libc/string/strings.tex: renamed node index to node index | |
9767 | function, so that it does not conflict with the top level index | |
9768 | node. | |
9769 | ||
9770 | * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300. | |
9771 | ||
9772 | Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com) | |
9773 | ||
9774 | * Overhauled general configuration for newlib. Eliminated all | |
9775 | target dependent Makefile fragments. Create libraries in newlib | |
9776 | rather than newlib/libc and newlib/libm. Use CC, et. al., rather | |
9777 | than CROSS_CC, et. al. Broke make docs; will fix later. | |
9778 | ||
9779 | * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const. | |
9780 | Should be rewritten. | |
9781 | ||
9782 | Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com) | |
9783 | ||
9784 | * libc/configure.in: cleaned up somewhat; switch on ${target} | |
9785 | rather than ${target_alias}. | |
9786 | * libm/configure.in: cleaned up somewhat; switch on ${target} | |
9787 | rather than ${target_alias}. | |
9788 | ||
9789 | * libc/ctype/ctype_.c: marked _ctype_ array _CONST. | |
9790 | * libc/include/ctype.h: marked _ctype_ as _CONST. | |
9791 | ||
9792 | * libc/locale/locale.c (lconv, localeconv): marked static lconv as | |
9793 | _CONST. | |
9794 | ||
9795 | * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue), | |
9796 | libc/stdio/vfscanf.c (__svfscanf): made static variables const. | |
9797 | libc/stdio/gets.c (gets): removed non-ANSI warning message. | |
9798 | libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable. | |
9799 | ||
9800 | * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens, | |
9801 | bigtens, tinytens): marked arrays _CONST. | |
9802 | libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca | |
9803 | rather than a static variable. | |
9804 | ||
9805 | * libc/time/asctime.c (asctime), libc/time/localtime.c | |
9806 | (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH, | |
9807 | _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname, | |
9808 | mname_len, mname): Marked static arrays _CONST. | |
9809 | ||
9810 | * libm/math/gamma.h: made local variables non-static. | |
9811 | ||
9812 | * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c, | |
9813 | libm/math/exp.c, libm/math/gamma.h: marked static arrays as | |
9814 | _CONST. | |
9815 | ||
9816 | * libm/math/constants.c: removed file, because the constants it | |
9817 | defined were never referenced. | |
9818 | libm/math/Makefile.in: removed references to constants.c. | |
9819 | libm/math/mathimpl.h: removed declarations of constants. | |
9820 | ||
9821 | Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com) | |
9822 | ||
9823 | * libc/include/machine/varargs.h: only call __builtin_saveregs if | |
9824 | it is sensibly defined in libgcc2. Checks preprocessor defines, | |
9825 | which is not a good solution. | |
9826 | ||
9827 | * libm/sqrt.c: sqrt(Infinity) should not be a domain error. | |
9828 | ||
9829 | * libm/frexp.c: handle denormalized numbers as arguments. | |
9830 | ||
9831 | * libm/math/Makefile.in: added some dependencies for .c files | |
9832 | which include local .h files. | |
9833 | ||
9834 | Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com) | |
9835 | ||
9836 | * libc/configure.in: set target_alias for OSE*. Replace | |
9837 | target_makefile_frag if it is blank. | |
9838 | ||
9839 | * libc/Makefile.in: make sure everything is passed to subsidiary | |
9840 | makes; create all directories when installing. | |
9841 | ||
9842 | * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use | |
9843 | CROSS_ARUPDATE instead of AR. | |
9844 | ||
9845 | * libm/configure.in: set target_alias for OSE*. Replace | |
9846 | target_makefile_frag if it is blank. | |
9847 | ||
9848 | * libm/Makefile.in: make sure everything is passed to subsidiary | |
9849 | makes; create all directories when installing. | |
9850 | ||
9851 | Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com) | |
9852 | ||
9853 | * add following change from libc copy. | |
9854 | ||
9855 | Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9856 | ||
9857 | * libc/libc.texinfo: make copyright disclaimers appear on back of | |
9858 | title page; make format of same slightly less ugly; avoid using | |
9859 | underbars in section headings (avoids nasty texinfo bug in table | |
9860 | of contents). | |
9861 | ||
9862 | * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in | |
9863 | comments only) avoid using underbars in section headings | |
9864 | ||
9865 | * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity, | |
9866 | isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc | |
9867 | changes in comments only): shorten headings ieeefp/infinity.c, | |
9868 | ieeefp/isnan.c: (doc, comments only) more informative headings | |
9869 | ||
9870 | * libc/math/bessel.c: (doc, comments only) shorten heading | |
9871 | ||
9872 | * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c | |
9873 | (doc, comments only) shorten headings | |
9874 | ||
9875 | * libc/time/localtime.c (doc, comments only): shorten headings | |
9876 | ||
9877 | * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity, | |
9878 | isnan | |
9879 | libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c, | |
9880 | libm/ieeefp/fpsticky.c (doc changes in comments only): shorten | |
9881 | headings | |
9882 | libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments | |
9883 | only) more informative headings | |
9884 | * libm/math/bessel.c: (doc, comments only) shorten heading | |
9885 | ||
9886 | Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) | |
9887 | ||
9888 | * .../Makefile.in: use CROSS_ARUPDATE consistently. | |
9889 | * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE | |
9890 | * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp. | |
9891 | * .../Makefile.in: get rid of .c.o rule - if TOP is correctly | |
9892 | defined, the one from the .mt file will be correct. | |
9893 | * libc/include/machine, libc/include/sys: created, and populated | |
9894 | with common files from machine/*/machine. ifdefs were used for | |
9895 | most, typically by handling exceptions first and then filling in | |
9896 | defaults. Files with D.J. Delorie copyright #included rather than | |
9897 | copied. Most files in include/sys really were the same in the | |
9898 | original. | |
9899 | * libc/include/...: cleaned up use of _EXFUN. | |
9900 | * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include | |
9901 | it with double quotes, not angles. | |
9902 | ||
9903 | Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com) | |
9904 | ||
9905 | * libc/Makefile.in: always create installation directories. | |
9906 | ||
9907 | Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
9908 | ||
9909 | * libc/configure.in: handle host properly (using canonical | |
9910 | triples), better error message for the case of target not found | |
9911 | ||
9912 | Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com) | |
9913 | ||
9914 | * libc/Makefile.in (insincdir): Ensure this directory exists | |
9915 | before attempting installation. | |
9916 | ||
9917 | Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9918 | ||
9919 | * libc/stdlib/assert.c: now calls abort like it should | |
9920 | * libc/sys/a29khif: many many patches for 29khif work | |
9921 | * libc/machine/i386: gnulib2 expanded there. | |
9922 | ||
9923 | Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9924 | ||
9925 | Added accurate fp conversion routines to stdlib, moved dcvt from | |
9926 | stdio to stdlib and called it ecvtbuf: | |
9927 | * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic | |
9928 | * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new | |
9929 | routines | |
9930 | * libc/libc.texinfo: Modifed to include the copyright info from | |
9931 | the mprec files | |
9932 | * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib. | |
9933 | * libc/test/ : many vector which tested for the implementation | |
9934 | defined returns of strange conversion requests have been updated | |
9935 | to relflect the new implementation | |
9936 | ||
9937 | Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9938 | ||
9939 | * libc/libc.texinfo: new chapter on variable arg lists | |
9940 | (stdarg.h/varargs.h) | |
9941 | * libc/libc.texinfo: new title | |
9942 | * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c: | |
9943 | (doc only) shorter headings for better formatting. | |
9944 | ||
9945 | Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9946 | ||
9947 | * libc/libc.texinfo: three more info menu entries | |
9948 | * libc/locale/locale.tex: new chapter | |
9949 | * libc/locale/locale.c: new doc for setlocale, localeconv | |
9950 | * libc/locale/Makefile.in: use new locale doc | |
9951 | * libc/signal/signal.tex: new chapter | |
9952 | * libc/signal/raise.c, libc/signal/signal.c: new doc | |
9953 | * libc/signal/Makefile.in: use new doc | |
9954 | * libc/time/time.tex: new chapter | |
9955 | * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c | |
9956 | libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c | |
9957 | libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc | |
9958 | * libc/time/Makefile.in: use new doc | |
9959 | ||
9960 | Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9961 | ||
9962 | * libm/math/log1p.c: split to use the new function way of float | |
9963 | function definition. math/log1p.h deleted | |
9964 | * libm/math/scalb.c: obsolete and deleted | |
9965 | * libm/math/scalbn.c: created from part log1p.c | |
9966 | * libm/math/Makefile.in: know about log1p and scalbn | |
9967 | ||
9968 | Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9969 | ||
9970 | * libc/ctype/isupper.c: revise doc; | |
9971 | libc/ctype/ctype.tex: use doc from isupper.c | |
9972 | ||
9973 | * libc/string/bzero.c: new doc | |
9974 | ||
9975 | Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
9976 | ||
9977 | * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c: | |
9978 | new doc | |
9979 | * libc/stdlib/Makefile.in: extract new doc | |
9980 | * libc/stdlib/stdlib.tex: use new doc | |
9981 | ||
9982 | * libc/string/strerror.c: expanded doc. | |
9983 | ||
9984 | * libc/stdio/Makefile.in: extract doc from more files | |
9985 | * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c, | |
9986 | libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c, | |
9987 | libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c, | |
9988 | libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c, | |
9989 | libc/stdio/vsprintf.c: new doc | |
9990 | * libc/stdio/stdio.tex: use new doc | |
9991 | ||
9992 | Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
9993 | ||
9994 | * libc/config/ebmon29k: added CROSS_CPP rule and other fixes | |
9995 | * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff, | |
9996 | finitef functions. | |
9997 | * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some | |
9998 | time ago. | |
9999 | ||
10000 | * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing) | |
10001 | * libc/stdio/setbuf.c: added ansi style definition. | |
10002 | * libc/stdio/setvbuf.c: added ansi definition, now mallocs own | |
10003 | buffer if none provided. | |
10004 | * libc/stdio/tmpfile.c: lint | |
10005 | * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer | |
10006 | rather than using static, also make sure file isn't already | |
10007 | present. Uses P_tmpdir. (tempnam): rewritten to use new | |
10008 | subroutine, and uses P_tmpdir. | |
10009 | * libc/stdio/siprintf.c: created | |
10010 | ||
10011 | Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
10012 | ||
10013 | Release 1.03 for NEC, major mods. Main differences from release | |
10014 | 1.02:: | |
10015 | ||
10016 | More tests in test/: | |
10017 | * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c, | |
10018 | log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors. | |
10019 | * test_ieee.c: tests for ieee flags & masks - get/set rounding, | |
10020 | get/set mask, get/set sticky and get/set roundtoi. Tests | |
10021 | that setting the bits changes the way arithmetic is done. | |
10022 | * string.c: added test to make sure memcmp does it with unsigned | |
10023 | chars. | |
10024 | * test.c: cleaned up and removed lint. | |
10025 | * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c, | |
10026 | dvec.c: tests for string to value conversions, sprintf, scanf, | |
10027 | atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt, | |
10028 | ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to | |
10029 | rounding in sprintf too. | |
10030 | * test_is.c: tests for isalnum, isalpha, isascii, iscntrl, | |
10031 | isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, | |
10032 | isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro | |
10033 | and function form. | |
10034 | * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow, | |
10035 | powf | |
10036 | ||
10037 | In the library: | |
10038 | * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c, | |
10039 | libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c, | |
10040 | libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c, | |
10041 | libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation | |
10042 | * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather | |
10043 | than sprintf. | |
10044 | * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. | |
10045 | * Method of producting float versions of double functions has | |
10046 | changed, functions will be modified gradually. So far: | |
10047 | libm/math/exp.c, libm/math/pow.c, libm/math/modf.c, | |
10048 | libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been | |
10049 | altered | |
10050 | * libc/string/memcmp.c: now uses unsigned chars | |
10051 | * libc/string/bcmp.c, libc/string/strcpy.c, | |
10052 | libc/stsring/strxfrm.c: fixed doc | |
10053 | * libc/sys/sysvnecv70.tex: fix example of sbrk code | |
10054 | \f | |
10055 | Local Variables: | |
10056 | version-control: never | |
10057 | End: |