]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2008-07-17 Ken Werner <ken.werner@de.ibm.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
eb19b8f9
JJ
12008-07-17 Ken Werner <ken.werner@de.ibm.com>
2
3 * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
4
17bfd1e0
JJ
52008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
6
7 * libc/machine/mn10300/memset.S: Fix bug where return value is
8 incorrectly set if number of bytes set is a multiple of 4.
9
2adedff8
JJ
102008-07-07 Hans-Peter Nilsson <hp@axis.com>
11
12 * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
13 (strncpy): Cast src to uintptr_t before checking alignment with "&".
14
18a635e3
JJ
152008-07-02 Jeff Johnston <jjohnstn@redhat.com>
16
17 * libc/argz/argz_count.c: Include stddef.h to get size_t.
18 * libc/argz/argz_extract.c: Ditto.
19 * libc/argz/argz_stringify.c: Ditto.
20 * libc/search/hash.h: Ditto.
21 * libc/sys/linux/include/sched.h: Ditto.
22 * libc/sys/linux/sys/types.h: Ditto.
23
a9f7d0a7
JJ
242008-07-02 Jeff Johnston <jjohnstn@redhat.com>
25
26 * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
27 source data is taken care of before loop unrolling.
28
5592f939
HPN
292008-06-25 Hans-Peter Nilsson <hp@axis.com>
30
31 Fix strict-aliasing issues with _strtod_r and Storeinc.
32 * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
33 rv, rv0 from double to type U. Use accessor macros dval, dword0
34 and dword1 for all accesses except for the ULtod call, where rv.i
35 replaces the pointer cast.
36 * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
37 of access macros. Tweak comment.
38 Remove #ifdef'd YES_ALIAS code.
39 (dword0, dword1, dval): Define in terms of uncast union member
40 access. Ditto for _DOUBLE_IS_32BITS variants.
41 (Storeinc): Replace aliasing-flawed microoptimized definition with
42 alternative suggested in comment. Remove now stale comment.
43
eb3f08ac
CV
442008-06-21 Corinna Vinschen <corinna@vinschen.de>
45
46 * libc/include/machine/setjmp.h (_longjmp): Define as function on
47 Cygwin.
48 (_setjmp): Ditto.
49
8fa475e4
EB
502008-06-18 Eric Blake <ebb9@byu.net>
51
52 Per Posix, strsignal returns non-const char*.
53 * libc/include/string.h (strsignal): Fix return type.
54
12b0cae7
JJ
552008-06-17 Ken Werner <ken.werner@de.ibm.com>
56
57 * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
58 support.
4e73927b
JJ
59
602008-06-16 Ken Werner <ken.werner@de.ibm.com>
61
62 * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
63 * libc/machine/spu/sys/sched.h: Likewise.
64 * libc/machine/spu/sys/syscall.h: Likewise.
65
b243d287
JJ
662008-06-16 Ken Werner <ken.werner@de.ibm.com>
67
68 * libc/machine/spu/mk_syscalls: Provide .type and .size directives
69 in generated assembler files.
70 * libc/machine/spu/fprintf.S: Regenerate.
71 * libc/machine/spu/fscanf.S: Regenerate.
72 * libc/machine/spu/printf.S: Regenerate.
73 * libc/machine/spu/scanf.S: Regenerate.
74 * libc/machine/spu/snprintf.S: Regenerate.
75 * libc/machine/spu/sprintf.S: Regenerate.
76 * libc/machine/spu/sscanf.S: Regenerate.
77 * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
78 and .size directives.
79 * libc/machine/spu/setjmp.S (setjmp): Likewise.
80 (longjmp): Likewise.
81
2b4c1b41
JJ
822008-06-11 Jeff Johnston <jjohnstn@redhat.com>
83
84 * libc/include/machine/_default_types.h: Fix GNUC check to
85 handle 4.0 and greater.
86
a0496b5e
JJ
872008-06-09 Ken Werner <ken.werner@de.ibm.com>
88
89 * libc/machine/spu/Makefile.am: Add new files.
90 * libc/machine/spu/Makefile.in: Likewise.
91 * libc/machine/spu/include/spu_timer.h: New file to add timer support
92 using interrupts.
93 * libc/machine/spu/spu_clock_stop.c: Likewise.
94 * libc/machine/spu/spu_clock_svcs.c: Likewise.
95 * libc/machine/spu/spu_timer_flih.S: Likewise.
96 * libc/machine/spu/spu_timer_free.c: Likewise.
97 * libc/machine/spu/spu_timer_internal.h: Likewise.
98 * libc/machine/spu/spu_timer_slih.c: Likewise.
99 * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
100 * libc/machine/spu/spu_timer_stop.c: Likewise.
101 * libc/machine/spu/spu_timer_svcs.c: Likewise.
102
3da06ba8
JJ
1032008-06-09 Ken Werner <ken.werner@de.ibm.com>
104
105 * libc/machine/spu/strcat.c: Return value fixed.
106 * libc/machine/spu/strncat.c: Likewise.
107
2dd1fb6f
EB
1082008-05-28 Eric Blake <ebb9@byu.net>
109
110 Fix bug in previous patch.
111 * libc/machine/i386/memset.S (memset): Mask second arg correctly.
112
676ae290
JJ
1132008-05-27 Jeff Johnston <jjohnstn@redhat.com>
114
115 * libc/string/memset.c: Fix documented prototype to remove
116 erroneous const attribute on first parameter.
117
70bff2d5
JJ
1182008-05-26 Eric Blake <ebb9@byu.net>
119
120 Optimize the generic and x86 memchr.
121 * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
122 Pre-align pointer so unaligned searches aren't penalized.
123 * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
124 operations are faster than repnz byte searches.
2dd1fb6f 125
a6bd72a2
JJ
1262008-05-26 Eric Blake <ebb9@byu.net>
127
128 Optimize the generic and x86 memset.
129 * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
130 Pre-align pointer so unaligned stores aren't penalized.
2dd1fb6f 131 * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
a6bd72a2
JJ
132 Pre-align pointer so unaligned stores aren't penalized. Prefer
133 8-byte over 4-byte alignment. Reduce register pressure.
2dd1fb6f 134
cae28869
JJ
1352008-05-26 Eric Blake <ebb9@byu.net>
136
137 Optimize the generic and x86 strlen.
138 * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
139 data so unaligned searches aren't penalized.
140 * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
141 Word operations are faster than repnz byte searches.
142
1fc30315
CV
1432008-05-23 Corinna Vinschen <corinna@vinschen.de>
144
145 * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
146
3c77dcff
JJ
1472008-05-22 Jeff Johnston <jjohnstn@redhat.com>
148
149 * libc/include/sys/reent.h: Add _h_errno field.
150 * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
151 now used in net directory.
152 * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
153 * libc/sys/linux/include/hesiod.h: Add needed macros for new code
154 in net directory.
155 * libc/sys/linux/include/netdb.h: Ditto.
156 * libc/sys/linux/include/resolv.h: Ditto.
157 * libc/sys/linux/include/stdint.h: Ditto.
158 * libc/sys/linux/include/arpa/nameser.h: Ditto.
159 * libc/sys/linux/include/net/ethernet.h: Ditto.
160 * libc/sys/linux/include/net/if_ppp.h: Ditto.
161 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
162 * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
163 * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
164 flags to avoid duplicate definition.
165 * libc/sys/linux/machine/i386/include/param.h: Ditto.
166 * libc/sys/linux/net/Makefile.am: Modified to account for removed and
167 added files.
168 * libc/sys/linux/net/Makefile.in: Regenerated.
169 * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
170 * libc/sys/linux/net/getaddrinfo.c: Ditto.
171 * libc/sys/linux/net/getnameinfo.c: Ditto.
172 * libc/sys/linux/net/getproto.c: Ditto.
173 * libc/sys/linux/net/getservent.c: Ditto.
174 * libc/sys/linux/net/inet_netof.c: Ditto.
175 * libc/sys/linux/net/inet_lnaof.c: Ditto.
176 * libc/sys/linux/net/ns_name.c: Ditto.
177 * libc/sys/linux/net/ns_netint.c: Ditto.
178 * libc/sys/linux/net/inet_ntoa.c: Ditto.
179 * libc/sys/linux/net/ns_parse.c: Ditto.
180 * libc/sys/linux/net/ns_print.c: Ditto.
181 * libc/sys/linux/net/ns_ttl.c: Ditto.
182 * libc/sys/linux/net/nsap_addr.c: Ditto.
183 * libc/sys/linux/net/rcmd.c: Ditto.
184 * libc/sys/linux/net/res_comp.c: Ditto.
185 * libc/sys/linux/net/res_data.c: Ditto.
186 * libc/sys/linux/net/res_debug.c: Ditto.
187 * libc/sys/linux/net/res_init.c: Ditto.
188 * libc/sys/linux/net/res_mkquery.c: Ditto.
189 * libc/sys/linux/net/res_query.c: Ditto.
190 * libc/sys/linux/net/res_send.c: Ditto.
191 * libc/sys/linux/net/send.c: Ditto.
192 * libc/sys/linux/stdlib/collate.c: Ditto.
193 * libc/sys/linux/sys/ioctl.h: Ditto.
194 * libc/sys/linux/sys/socket.h: Ditto.
195 * libc/sys/linux/sys/unistd.h: Ditto.
196 * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
197 used or because licensing includes advertising clause that cannot be
198 ignored.
199 * libc/sys/linux/iconv/strtab.c: Ditto.
200 * libc/sys/linux/include/libc_private.h: Ditto.
201 * libc/sys/linux/include/nsswitch.h: Ditto.
202 * libc/sys/linux/include/net/if_atm.h: Ditto.
203 * libc/sys/linux/include/net/if_media.h: Ditto.
204 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
205 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
206 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
207 * libc/sys/linux/intl/locale.alias: Ditto.
208 * libc/sys/linux/net/addr2ascii.3: Ditto.
209 * libc/sys/linux/net/bindresvport.c: Ditto.
210 * libc/sys/linux/net/byteorder.3: Ditto.
211 * libc/sys/linux/net/res_config.h: Ditto.
212 * libc/sys/linux/net/ether_addr.c: Ditto.
213 * libc/sys/linux/net/ethers.3: Ditto.
214 * libc/sys/linux/net/getaddrinfo.3: Ditto.
215 * libc/sys/linux/net/gethostbydns.c: Ditto.
216 * libc/sys/linux/net/gethostbyht.c: Ditto.
217 * libc/sys/linux/net/gethostbyname.3: Ditto.
218 * libc/sys/linux/net/gethostbynis.c: Ditto.
219 * libc/sys/linux/net/gethostnamadr.c: Ditto.
220 * libc/sys/linux/net/getifaddrs.3: Ditto.
221 * libc/sys/linux/net/getifaddrs.c: Ditto.
222 * libc/sys/linux/net/getipnodebyname.3: Ditto.
223 * libc/sys/linux/net/getnameinfo.3: Ditto.
224 * libc/sys/linux/net/getnetbydns.c: Ditto.
225 * libc/sys/linux/net/getnetbyht.c: Ditto.
226 * libc/sys/linux/net/getnetbynis.c: Ditto.
227 * libc/sys/linux/net/getnetent.3: Ditto.
228 * libc/sys/linux/net/getnetnamadr.c: Ditto.
229 * libc/sys/linux/net/getprotoent.3: Ditto.
230 * libc/sys/linux/net/getprotoent.c: Ditto.
231 * libc/sys/linux/net/getprotoname.c: Ditto.
232 * libc/sys/linux/net/getservbyname.c: Ditto.
233 * libc/sys/linux/net/getservbyport.c: Ditto.
234 * libc/sys/linux/net/getservent.3: Ditto.
235 * libc/sys/linux/net/herror.c: Ditto.
236 * libc/sys/linux/net/hesiod.3: Ditto.
237 * libc/sys/linux/net/hesiod.c: Ditto.
238 * libc/sys/linux/net/if_indextoname.3: Ditto.
239 * libc/sys/linux/net/inet.3: Ditto.
240 * libc/sys/linux/net/inet6_option_space.3: Ditto.
241 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
242 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
243 * libc/sys/linux/net/inet_net.3: Ditto.
244 * libc/sys/linux/net/inet_network.c: Ditto.
245 * libc/sys/linux/net/innetgr-stub.c: Ditto.
246 * libc/sys/linux/net/ip6opt.c: Ditto.
247 * libc/sys/linux/net/iso_addr.3: Ditto.
248 * libc/sys/linux/net/iso_addr.c: Ditto.
249 * libc/sys/linux/net/linkaddr.3: Ditto.
250 * libc/sys/linux/net/linkaddr.c: Ditto.
251 * libc/sys/linux/net/map_v4v6.c: Ditto.
252 * libc/sys/linux/net/name6.c: Ditto.
253 * libc/sys/linux/net/namespace.h: Ditto.
254 * libc/sys/linux/net/ns.3: Ditto.
255 * libc/sys/linux/net/ns_addr.c: Ditto.
256 * libc/sys/linux/net/ns_ntoa.c: Ditto.
257 * libc/sys/linux/net/nsdispatch.3: Ditto.
258 * libc/sys/linux/net/nsdispatch.c: Ditto.
259 * libc/sys/linux/net/nslexer.c: Ditto.
260 * libc/sys/linux/net/nslexer.l: Ditto.
261 * libc/sys/linux/net/nsparser.c: Ditto.
262 * libc/sys/linux/net/nsparser.h: Ditto.
263 * libc/sys/linux/net/nsparser.y: Ditto.
264 * libc/sys/linux/net/rcmd.3: Ditto.
265 * libc/sys/linux/net/rcmdsh.3: Ditto.
266 * libc/sys/linux/net/res_mkupdate.c: Ditto.
267 * libc/sys/linux/net/res_update.c: Ditto.
268 * libc/sys/linux/net/resolver.3: Ditto.
269 * libc/sys/linux/net/rthdr.c: Ditto.
270 * libc/sys/linux/net/vars.c: Ditto.
271 * libc/sys/linux/shlib-compat.h: New file.
272 * libc/sys/linux/machine/i386/atomic.h: Ditto.
273 * libc/sys/linux/net/XXX-lookup.c: Ditto.
274 * libc/sys/linux/net/alias-lookup.c: Ditto.
275 * libc/sys/linux/net/res_libc.c: Ditto.
276 * libc/sys/linux/net/aliases.h: Ditto.
277 * libc/sys/linux/net/check_pf.c: Ditto.
278 * libc/sys/linux/net/databases.def: Ditto.
279 * libc/sys/linux/net/digits_dots.c: Ditto.
280 * libc/sys/linux/net/ether_aton.c: Ditto.
281 * libc/sys/linux/net/ether_aton_r.c: Ditto.
282 * libc/sys/linux/net/ether_hton.c: Ditto.
283 * libc/sys/linux/net/ether_line.c: Ditto.
284 * libc/sys/linux/net/ether_ntoa.c: Ditto.
285 * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
286 * libc/sys/linux/net/ether_ntoh.c: Ditto.
287 * libc/sys/linux/net/etherent.h: Ditto.
288 * libc/sys/linux/net/ethers-lookup.c: Ditto.
289 * libc/sys/linux/net/function.def: Ditto.
290 * libc/sys/linux/net/getXXbyYY.c: Ditto.
291 * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
292 * libc/sys/linux/net/getXXent.c: Ditto.
293 * libc/sys/linux/net/getXXent_r.c: Ditto.
294 * libc/sys/linux/net/getaliasent.c: Ditto.
295 * libc/sys/linux/net/getaliasent_r.c: Ditto.
296 * libc/sys/linux/net/getaliasname.c: Ditto.
297 * libc/sys/linux/net/getaliasname_r.c: Ditto.
298 * libc/sys/linux/net/gethstbyad.c: Ditto.
299 * libc/sys/linux/net/gethstbyad_r.c: Ditto.
300 * libc/sys/linux/net/gethstbynm.c: Ditto.
301 * libc/sys/linux/net/gethstbynm2.c: Ditto.
302 * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
303 * libc/sys/linux/net/gethstbynm_r.c: Ditto.
304 * libc/sys/linux/net/gethstent.c: Ditto.
305 * libc/sys/linux/net/gethstent_r.c: Ditto.
306 * libc/sys/linux/net/getnetbyad.c: Ditto.
307 * libc/sys/linux/net/getnetbyad_r.c: Ditto.
308 * libc/sys/linux/net/getnetbynm.c: Ditto.
309 * libc/sys/linux/net/getnetbynm_r.c: Ditto.
310 * libc/sys/linux/net/getnetent.c: Ditto.
311 * libc/sys/linux/net/getnetent_r.c: Ditto.
312 * libc/sys/linux/net/getnetgrent.c: Ditto.
313 * libc/sys/linux/net/getnetgrent_r.c: Ditto.
314 * libc/sys/linux/net/getnssent.c: Ditto.
315 * libc/sys/linux/net/getnssent_r.c: Ditto.
316 * libc/sys/linux/net/getproto_r.c: Ditto.
317 * libc/sys/linux/net/getprtent.c: Ditto.
318 * libc/sys/linux/net/getprtent_r.c: Ditto.
319 * libc/sys/linux/net/getprtname.c: Ditto.
320 * libc/sys/linux/net/getprtname_r.c: Ditto.
321 * libc/sys/linux/net/getrpcbyname.c: Ditto.
322 * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
323 * libc/sys/linux/net/getrpcbynumber.c: Ditto.
324 * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
325 * libc/sys/linux/net/getrpcent.c: Ditto.
326 * libc/sys/linux/net/getrpcent_r.c: Ditto.
327 * libc/sys/linux/net/getservent_r.c: Ditto.
328 * libc/sys/linux/net/getsrvbynm.c: Ditto.
329 * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
330 * libc/sys/linux/net/getsrvbypt.c: Ditto.
331 * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
332 * libc/sys/linux/net/grp-lookup.c: Ditto.
333 * libc/sys/linux/net/herrno.c: Ditto.
334 * libc/sys/linux/net/hosts-lookup.c: Ditto.
335 * libc/sys/linux/net/ifaddrs.h: Ditto.
336 * libc/sys/linux/net/ifreq.c: Ditto.
337 * libc/sys/linux/net/ifreq.h: Ditto.
338 * libc/sys/linux/net/in6_addr.c: Ditto.
339 * libc/sys/linux/net/inet6_option.c: Ditto.
340 * libc/sys/linux/net/inet_mkadr.c: Ditto.
341 * libc/sys/linux/net/inet_net.c: Ditto.
342 * libc/sys/linux/net/key-lookup.c: Ditto.
343 * libc/sys/linux/net/local.h: Ditto.
344 * libc/sys/linux/net/netgroup.h: Ditto.
345 * libc/sys/linux/net/netgrp-lookup.c: Ditto.
346 * libc/sys/linux/net/network-lookup.c: Ditto.
347 * libc/sys/linux/net/not-cancel.h: Ditto.
348 * libc/sys/linux/net/ns_samedomain.c: Ditto.
349 * libc/sys/linux/net/nscd-types.h: Ditto.
350 * libc/sys/linux/net/nss.h: Ditto.
351 * libc/sys/linux/net/nsswitch.c: Ditto.
352 * libc/sys/linux/net/nsswitch.h: Ditto.
353 * libc/sys/linux/net/opensock.c: Ditto.
354 * libc/sys/linux/net/proto-lookup.c: Ditto.
355 * libc/sys/linux/net/pwd-lookup.c: Ditto.
356 * libc/sys/linux/net/res_debug.h: Ditto.
357 * libc/sys/linux/net/res_hconf.c: Ditto.
358 * libc/sys/linux/net/res_hconf.h: Ditto.
359 * libc/sys/linux/net/rexec.c: Ditto.
360 * libc/sys/linux/net/rpc-lookup.c: Ditto.
361 * libc/sys/linux/net/ruserpass.c: Ditto.
362 * libc/sys/linux/net/service-lookup.c: Ditto.
363 * libc/sys/linux/net/spwd-lookup.c: Ditto.
364 * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
365 * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
366
4962a945
EB
3672008-05-21 Eric Blake <ebb9@byu.net>
368
ae47b14a
EB
369 Optimize the generic strchr.
370 * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
371 data so unaligned searches aren't penalized. Special-case
372 searching for 0.
373
4962a945 374 Optimize strchr for x86.
ae47b14a
EB
375 * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
376 Pre-align data so unaligned searches aren't penalized.
377 Special-case searching for 0.
4962a945 378
cb1f8161
NC
3792008-05-20 Nick Clifton <nickc@redhat.com>
380
381 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
382
a9309ff5
JJ
3832008-05-20 DJ Delorie <dj@redhat.com>
384
385 * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
4962a945 386
26432b0b
JJ
3872008-05-14 Jeff Johnston <jjohnstn@redhat.com>
388
389 * libc/include/sys/reent.h: Change _REENT_INIT... macros to
390 access macro parameter with parentheses around it.
391
df93e6f1
MM
3922008-04-26 Mark Mitchell <mark@codesourcery.com>
393
394 * libc/include/stdint.h (SIZE_MIN): Remove.
395 (SIZE_MAX): Define.
396 * testsuite/newlib.stdlib/stdlib.exp: New.
397 * testsuite/newlib.stdlib/size_max.c: Likewise.
398
f77a1a88
EB
3992008-04-29 Eric Blake <ebb9@byu.net>
400
401 Fix 2008-04-14 regression in asprintf(ptr,"").
402 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
403 baggage.
404 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
405 * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
406 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
407 * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
408 * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
409 an initial buffer for asprintf.
410
78970a51
CV
4112008-04-24 Corinna Vinschen <corinna@vinschen.de>
412
413 * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
414 (fstatat): Fix type of third parameter.
415
026f9d29
NC
4162008-04-25 Nick Clifton <nickc@redhat.com>
417
418 * libc/machine/arm/setjmp.S: Fix thumb2 support.
419
51bef6a9
NC
4202008-04-24 Nick Clifton <nickc@redhat.com>
421
422 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
423 should be _DOUBLE_IS_32BITS.
424
0d02384a
CV
4252008-04-24 Corinna Vinschen <corinna@vinschen.de>
426
427 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
428 (UTIME_OMIT): Ditto.
429 (utimensat): Declare for Cygwin.
430 (futimens): Ditto.
431
e2af45bf
JJ
4322008-04-23 Ken Werner <ken.werner@de.ibm.com>
433
434 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
435 * libc/include/math.h: Likewise.
f77a1a88 436
ca48eb65
CV
4372008-04-23 Corinna Vinschen <corinna@vinschen.de>
438
439 * libc/include/stdio.h (renameat): Declare for Cygwin.
440 (symlinkat): Ditto.
441 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
442 (faccessat): Declare for Cygwin.
443 (fchownat): Ditto.
444 (linkat): Ditto.
445 (readlinkat): Ditto.
446 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
447 (AT_EACCESS): Ditto.
448 (AT_SYMLINK_NOFOLLOW): Ditto.
449 (AT_SYMLINK_FOLLOW): Ditto.
450 (AT_REMOVEDIR): Ditto.
451 (futimesat): Declare for Cygwin.
452 (openat): Ditto.
453 (unlinkat): Ditto.
454 * libc/include/sys/stat.h (fchmodat): Ditto.
455 (fstatat): Ditto.
456 (mkdirat): Ditto.
457 (mkfifoat): Ditto.
458 (mknodat): Ditto.
459
51bef6a9
NC
4602008-04-22 Nick Clifton <nickc@redhat.com>
461
462 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
463 register load/store instructions.
464
e9505050
JJ
4652008-04-16 Patrick Mansfield <patmans@us.ibm.com>
466
467 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
f77a1a88 468
c2bd84bc
JJ
4692008-04-16 Patrick Mansfield <patmans@us.ibm.com>
470
471 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
f77a1a88 472
45b14289
JJ
4732008-04-14 Patrick Mansfield <patmans@us.ibm.com>
474
475 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
f77a1a88 476 * libc/machine/spu/Makefile.am: Add new file impure.c.
45b14289
JJ
477 * libc/machine/spu/Makefile.in: Regenerate.
478 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
f77a1a88 479
eabd7de0
JJ
4802008-04-14 Jeff Johnston <jjohnstn@redhat.com>
481
482 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
483 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
484 to build special versions for sprintf/sscanf family functions.
485 * libc/stdio/Makefile.in: Regenerated.
f77a1a88
EB
486 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
487 Redefine to be _svfiprintf_r which is optimized to work with siprintf
eabd7de0
JJ
488 family of functions (i.e. no I/O) and does not support floating-point.
489 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
490 _svfprintf_r which is optimized to work with sprintf family of
491 functions and not use I/O.
f77a1a88 492 [STRING_ONLY](__sprint_r): New string only version of static function.
eabd7de0
JJ
493 designed to work with sprintf family of functions.
494 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
495 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
496 family of functions (i.e. no I/O) and no float-point support.
497 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
498 __ssvfscanf_r which is optimized to work with sscanf family of
499 functions and does not require I/O functions.
500 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
501 * libc/stdio/snprintf.c: Ditto.
502 * libc/stdio/sprintf.c: Ditto.
503 * libc/stdio/vasnprintf.c: Ditto.
504 * libc/stdio/vasprintf.c: Ditto.
505 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
506 * libc/stdio/sniprintf.c: Ditto.
507 * libc/stdio/vasiprintf.c: Ditto.
508 * libc/stdio/vsiprintf.c: Ditto.
509 * libc/stdio/vsniprintf.c: Ditto.
510 * libc/stdio/vsprintf.c: Ditto.
511 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
512 _ssvfscanf_r, and _ssvfiscanf_r.
513 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
514 * libc/stdio/vsscanf.c: Ditto.
515 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
516 * libc/stdio/vsiscanf.c: Ditto.
517
6f810581
DD
5182008-04-04 DJ Delorie <dj@redhat.com>
519
520 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
521 * libc/sys/configure: Regenerate with autoconf 2.61.
522 * libc/machine/configure: Regenerate with autoconf 2.61.
523
bd6e30d5
JJ
5242008-04-01 Patrick Mansfield <patmans@us.ibm.com>
525
526 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
527 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
528 * libc/machine/spu/Makefile.am: Add memcmp.c.
529 * libc/machine/spu/Makefile.in: Rebuild.
530 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
531
71f3a8f5
JJ
5322008-04-01 Patrick Mansfield <patmans@us.ibm.com>
533
534 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
535 -DMISSING_SYSCALL_NAMES.
536
1d4a4944
JJ
5372008-04-01 Patrick Mansfield <patmans@us.ibm.com>
538
539 * libc/machine/spu/Makefile.am: Add assert.c.
540 * libc/machine/spu/Makefile.in: Regenerate.
541 * libc/machine/spu/assert.c: New file.
542
3ab380aa
JJ
5432008-03-27 Patrick Mansfield <patmans@us.ibm.com>
544
545 * libc/include/reent.h: Define _func_r functions in this file to
546 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
547 defined.
f77a1a88 548
4af0c5e8
CV
5492008-03-27 Corinna Vinschen <corinna@vinschen.de>
550
551 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
552 constants when building for Cygwin.
553
88348faf
JJ
5542008-03-11 Jeff Johnston <jjohnstn@redhat.com>
555
d84985f7 556 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
88348faf
JJ
557 stdin gets resolved properly before refilling.
558
c6228428
JJ
5592008-03-07 Jeff Johnston <jjohnstn@redhat.com>
560
561 * libc/include/getopt.h: Hide newlib extensions under
562 the __need_getopt_newlib flag.
563 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
564 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
565 with their own getopt implementation.
566 * configure.host: Specify HAVE_GETOPT for x86-linux.
567
0382d267
JJ
5682008-03-07 Jeff Johnston <jjohnstn@redhat.com>
569
570 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
571 this macro completely instead of referring to CHECK_STD_INIT which
572 is only found in libc/stdio/local.h.
573 * libc/stdio/dprintf.c: Add include of local.h.
574 * libc/stdio/vdprintf.c: Ditto.
575 * libc/stdio/vdiprintf.c: Ditto.
576
beb0ab64
EB
5772008-03-04 Eric Blake <ebb9@byu.net>
578
579 Fix strtod("nan()", ptr).
580 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
581 n-char-sequence is omitted, still parse the ().
582
9ae00e9e
EB
5832008-03-03 Eric Blake <ebb9@byu.net>
584
585 Fix ftell bug after ungetc.
586 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
587 ftell.
588 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
589 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
590 repositioning underlying fd offset.
591
be62101c
JJ
5922008-03-02 Jeff Johnston <jjohnstn@redhat.com>
593
594 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
595 (required_argument, optional_argument): Ditto.
596
76ff710c
JJ
5972008-02-29 Gregory Pietsch <gpietsch@comcast.net>
598
599 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
600 data area so as to support reentrant calls. Change all callers
601 to fill in data area with global values and restore any changes
602 to the global values after call.
603 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
604 to support reentrancy that add a data area argument.
605 * libc/include/getopt.h: Add new _r routines and provide macros
606 so they can be called with using double-underscores.
607
7a44c13e
EB
6082008-02-21 Eric Blake <ebb9@byu.net>
609
610 Fix strtod("-0x", NULL).
611 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
612 fails.
613
de20111e
JJ
6142008-02-12 Jeff Johnston <jjohnstn@redhat.com>
615
616 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
617 for user specifying --disable-newlib-io-long-long on configure.
618 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
619 reentrant pointer passed in rather than _REENT.
620
f46f40b5
JJ
6212008-02-12 Peter Rosin <peda@lysator.liu.se>
622
623 * libc/stdlib/getopt.c (getopt_internal): Handle optional
624 arguments better for long options and short options not
625 appearing as the first option in a sequence.
626
74d928bf
JJ
6272008-02-11 Patrick Mansfield <patmans@us.ibm.com>
628
629 * libc/machine/spu/straddr.h: New file, supplies _straddr.
630 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
631 * libc/machine/spu/strcpy.c: Use _strcpy.
632 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
633 str[n]cpy and str[n]cat.
634 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
635 * libc/machine/spu/strncpy.c: Use _strcpy.
7a44c13e 636
9b924fc3
JJ
6372008-02-11 Patrick Mansfield <patmans@us.ibm.com>
638
639 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
640 calculation of its value.
7a44c13e 641
77ec26b0
HPN
6422008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
643
644 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
645 Make ISO C.
646
226f5a32
DD
6472008-01-21 DJ Delorie <dj@redhat.com>
648
649 * libc/sys/sh/syscalls.c (_isatty): New.
650
cece11c5
JJ
6512008-01-21 Neal H. Walfield <neal@gnu.org>
652
653 * Makefile.am (crt1.o): Use correct source.
654 * Makefile.in: Regenerated.
655
dc26a86f
EB
6562008-01-15 Eric Blake <ebb9@byu.net>
657
658 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
659 * libc/string/Makefile: Regenerate.
660
12df8a5b
CV
6612008-01-15 Corinna Vinschen <corinna@vinschen.de>
662
663 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
664 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
665 (sigsetjmp): Use __SIGMASK_FUNC.
666 (siglongjmp): Ditto.
667 (_setjmp): Define as macro.
668 (_longjmp): Ditto.
669
40617efc
EB
6702008-01-11 Eric Blake <ebb9@byu.net>
671
672 Make strstr and strcasestr O(n), not O(n^2); add memmem.
673 * libc/string/str-two-way.h: New file.
674 * libc/string/memmem.c (memmem): New file.
675 * libc/include/string.h (memmem): Declare for all platforms.
676 * libc/string/strstr.c (strstr): Provide O(n) implementation when
677 not optimizing for space.
678 * libc/string/strcasestr.c (strcasestr): Likewise.
679 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
680 (ELIX_2_SOURCES): ...this.
681 (ELIX_4_SOURCES): New category, for memmem.
682 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
683 (CHEWOUT_FILES): Build documentation for memmem.
684 * libc/string/strings.tex: Include new docs.
685
ceb32a18
JJ
6862008-01-08 Jeff Johnston <jjohnstn@redhat.com>
687
688 * libc/machine/m68k/memcpy.S: Remove % from register references
689 as this is already handled by m68kasm.h.
690 * libc/machine/m68k/memset.S: Ditto.
691
a3211370
JJ
6922008-01-07 Jeff Johnston <jjohnstn@redhat.com>
693
694 * libc/machine/m68k/m68kasm.h: New file.
695 * libc/machine/m68k/setjmp.S: Remove common definitions and
696 place in m68kasm.h. Include "m68kasm.h".
697 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
698 SYM() macro when referencing function name.
699 * libc/machine/m68k/memset.S: Ditto.
700
a639937a
JJ
7012008-01-03 Jeff Johnston <jjohnstn@redhat.com>
702
703 Make isatty syscall handling consistent with other newlib syscalls.
704
705 * libc/include/_syslist.h: Add _isatty.
706 * libc/include/reent.h: Add _isatty_r.
707 * libc/include/sys/unistd.h: Add _isatty.
708 * libc/posix/Makefile.am: Add new _isatty.c file.
709 * libc/posix/Makefile.in: Regenerated.
710 * libc/posix/_isatty.c: New file.
711 * libc/posix/isatty.c: Changed to call _isatty().
712 * libc/reent/Makefile.am: Add new isattyr.c file.
713 * libc/reent/Makefile.in: Regenerated.
714 * libc/reent/isattyr.c: New file.
715 * libc/stdio/freopen.c: Changed to call _isatty_r().
716 * libc/stdio/makebuf.c: Ditto.
717 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
718 * libc/sys/arc/isatty.c: Ditto.
719 * libc/sys/arm/syscalls.c: Ditto.
720 * libc/sys/d10v/syscalls.c: Ditto.
721 * libc/sys/h8300hms/syscalls.c: Ditto.
722 * libc/sys/h8500hms/syscalls.c: Ditto.
723 * libc/sys/linux/Makefile.am: Add new isatty.c file.
724 * libc/sys/linux/Makefile.in: Regenerated.
725 * libc/sys/linux/isatty.c: New file.
726 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
727 * libc/syscalls/Makefile.in: Regenerated.
728 * libc/syscalls/sysisatty.c: New file.
729
7c8bd7a0
JJ
7302008-01-02 Jeff Johnston <jjohnstn@redhat.com>
731
732 * libc/syscalls/sysclose.c: Always call reentrant version of the
733 underlying syscall since one is guaranteed to exist in libc/reent.
734 * libc/syscalls/sysexecve.c: Ditto.
735 * libc/syscalls/sysfcntl.c: Ditto.
736 * libc/syscalls/sysfork.c: Ditto.
737 * libc/syscalls/sysfstat.c: Ditto.
738 * libc/syscalls/sysgetpid.c: Ditto.
739 * libc/syscalls/sysgettod.c: Ditto.
740 * libc/syscalls/syskill.c: Ditto.
741 * libc/syscalls/syslink.c: Ditto.
742 * libc/syscalls/syslseek.c: Ditto.
743 * libc/syscalls/sysopen.c: Ditto.
744 * libc/syscalls/sysread.c: Ditto.
745 * libc/syscalls/syssbrk.c: Ditto.
746 * libc/syscalls/sysstat.c: Ditto.
747 * libc/syscalls/systimes.c: Ditto.
748 * libc/syscalls/sysunlink.c: Ditto.
749 * libc/syscalls/syswait.c: Ditto.
750 * libc/syscalls/syswrite.c: Ditto.
751
26b84293
JJ
7522007-12-19 Jeff Johnston <jjohnstn@redhat.com>
753
7a44c13e
EB
754 * NEWS: Update with 1.16.0 info.
755 * README: Ditto.
756 * acinclude.m4: Change version number to 1.16.0.
757 * aclocal.m4: Regenerated.
758 * configure: Ditto.
759 * doc/aclocal.m4: Ditto.
760 * doc/configure: Ditto.
761 * libc/*/aclocal.m4: Ditto.
762 * libc/*/configure: Ditto.
763 * libc/libc.texinfo: Ditto.
764 * libm/*/aclocal.m4: Ditto.
765 * libm/*/configure: Ditto.
766 * libm/libm.texinfo: Ditto.
767 * libc/sys/linux/shared.ld: Add VERS_1.16.
26b84293 768
6af69de3
JJ
7692007-12-19 Jeff Johnston <jjohnstn@redhat.com>
770
771 * libc/string/strcasestr.c: Remove id macro.
772 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
773 field reference to be __sched_priority.
774 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
775 * libc/sys/linux/linuxthreads/manager.c: Ditto.
776 * libc/sys/linux/stdlib/collate.c: Remove id macro.
777 * libc/sys/linux/stdlib/collcmp.c: Ditto.
778 * libc/sys/linux/stdlib/engine.c: Ditto.
779 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
780 * libc/sys/linux/stdlib/glob.c: Ditto.
781 * libc/sys/linux/stdlib/reallocf.c: Ditto.
782 * libc/sys/linux/stdlib/regcomp.c: Ditto.
783 * libc/sys/linux/stdlib/regerror.c: Ditto.
784 * libc/sys/linux/stdlib/regexec.c: Ditto.
785 * libc/sys/linux/stdlib/regfree.c: Ditto.
786 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
787 * libc/sys/linux/include/argp.h: Ditto.
788 * libc/sys/linux/sys/libc-lock.h: New file.
789 * libc/sys/linux/sys/stdint.h: Ditto.
790 * libc/sys/linux/include/sched.h: New file.
791
3cc8a378
JJ
7922007-12-19 Dave Korn <dave.korn@artimi.com>
793 Jeff Johnston <jjohnstn@redhhat.com>
794
795 * libc/include/_ansi.h: Add _LONG_LONG definition.
796 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
797 prototypes.
798 * libc/machine/i386/machine/fastmath.h: Add support for new i386
799 fast math versions of rint, lrint, and llrint family functions.
800 * libm/machine/i386/Makefile.am: Add new files.
801 * libm/machine/i386/Makefile.in: Regenerated.
802 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
803 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
804 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
805 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
806 libm/machine/i386/f_rintl.c: New files with fast math implementations.
807
41e94f24
JJ
8082007-12-19 Jeff Johnston <jjohnstn@redhat.com>
809
810 * libc/include/sys/features.h: Add checks for C90 compilers using
811 -ansi.
812
ac26b727
CV
8132007-12-19 Corinna Vinschen <corinna@vinschen.de>
814
815 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
816 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
817 wcpncpy.c.
818 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
819 * libc/string/Makefile.in: Regenerate.
820 * libc/string/wcpcpy.c: New file.
821 * libc/string/wcpncpy.c: New file.
822 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
823
478df8bb
CV
8242007-12-19 Corinna Vinschen <corinna@vinschen.de>
825
826 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
827 _wcsrtombs_r.
828
60bef55d
JJ
8292007-11-19 Nick Clifton <nickc@redhat.com>
830
831 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
832 * libc/machine/mn10300/Makefile.in: Regenerate.
833 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
834 .debug_frame section.
835 * libc/machine/mn10300/memcmp.S: Likewise.
836 * libc/machine/mn10300/memcpy.S: Likewise.
837 * libc/machine/mn10300/memset.S: Likewise.
838 * libc/machine/mn10300/strchr.S: Likewise.
839 * libc/machine/mn10300/strcmp.S: Likewise.
840 * libc/machine/mn10300/strcpy.S: Likewise.
841 * libc/machine/mn10300/strlen.S: Likewise.
842
8432007-11-15 Jeff Johnston <jjohnstn@redhat.com>
844
845 * libc/include/sys/_default_fcntl.h: New header file that
846 is the default version of sys/fcntl.h.
847 * libc/include/sys/fcntl.h: Changed to simply include
848 sys/_default_fcntl.h.
849 * libc/sys/arm/sys/fcntl.h: New file that includes
850 sys/_default_fcntl.h and defines O_BINARY.
851
478df8bb 8522007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
853
854 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
855
7b4cad4a
DB
8562007-11-07 Dave Brolley <brolley@redhat.com>
857
858 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 859
7b4cad4a
DB
860 * Contribute mep-elf from Red Hat
861 2006-10-27 DJ Delorie <dj@redhat.com>
862
863 * libc/include/machine/setjmp.h: Add MeP support.
864
865 2003-04-17 DJ Delorie <dj@redhat.com>
866
867 * configure.host (mep-*-*): Support "long long" type.
868
869 2001-06-06 DJ Delorie <dj@redhat.com>
870
871 * libc/include/machine/ieeefp.h (mep): Support little endian too.
872
873 2001-05-14 DJ Delorie <dj@redhat.com>
874
875 * configure.host: Add mep's machine_dir.
876 * libc/include/setjmp.h: Add mep support.
877 * libc/machine/mep: New.
878 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
879
880 2001-05-04 DJ Delorie <dj@redhat.com>
881
882 * configure.host: Add mep.
883 * libc/include/machine/ieeefp.h: Ditto.
884
69bfb481
DD
8852007-10-31 DJ Delorie <dj@redhat.com>
886
887 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
888 signal table, just use a default, in case initialization cause
889 recursion.
890
2a3a02a6
JJ
8912007-10-23 Jeff Johnston <jjohnstn@redhat.com>
892
893 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
894 size if output buffer is NULL.
895
70317d85
JJ
8962007-10-17 Jeff Johnston <jjohnstn@redhat.com>
897
898 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
899 fix when handling negative input values. Make function
900 consistent with math directory and glibc version such that
901 inf and nan values return inf and nan respectively with no
902 errno setting.
903 * libm/mathfp/sf_logarithm.c: Ditto.
904 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
905 * libm/math/wf_log.c: Ditto.
906 * libm/math/w_log10.c: Ditto.
907 * libm/math/wf_log10.c: Ditto.
908
923f9573
JJ
9092007-10-17 Jeff Johnston <jjohnstn@redhat.com>
910
911 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
912 return -inf.
913 * libm/mathfp/sf_logarithm.c: Ditto.
914
8b630840
JJ
9152007-10-17 Jeff Johnston <jjohnstn@redhat.com>
916
917 * libc/machine/i386/machine/fastmath.h: New file.
918
c99e78b8
EB
9192007-10-13 Eric Blake <ebb9@byu.net>
920
921 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
922 Correctly nest else within conditionals.
923 Reported by Artur Lipowski.
924
97f0a0ec
NC
9252007-10-09 Nick Clifton <nickc@redhat.com>
926
927 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
928 the STT_COMMON type.
929
b7bc4ccc
BE
9302007-10-09 Ben Elliston <bje@au.ibm.com>
931
932 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
933 before simdmath.h to get a definition for `vector'.
934 * libm/machine/spu/headers/asind2.h: Likewise.
935
1671fbe1
JJ
9362007-09-28 Patrick Mansfield <patmans@us.ibm.com>
937
938 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
939 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
940 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
941 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
942 * libm/machine/spu/headers/acos.h: Add domain check.
943 * libm/machine/spu/headers/acosf.h: Ditto.
944 * libm/machine/spu/headers/acosh.h: Ditto.
945 * libm/machine/spu/headers/acoshf.h: Ditto.
946 * libm/machine/spu/headers/asin.h: Ditto.
947 * libm/machine/spu/headers/asinf.h: Ditto.
948 * libm/machine/spu/headers/atanh.h: Ditto.
949 * libm/machine/spu/headers/atanhf.h: Ditto.
950 * libm/machine/spu/headers/fmod.h: Ditto.
951 * libm/machine/spu/headers/fmodf.h: Ditto.
952 * libm/machine/spu/headers/log.h: Ditto.
953 * libm/machine/spu/headers/log10.h: Ditto.
954 * libm/machine/spu/headers/log1p.h: Ditto.
955 * libm/machine/spu/headers/log1pf.h: Ditto.
956 * libm/machine/spu/headers/log2.h: Ditto.
957 * libm/machine/spu/headers/log2f.h: Ditto.
958 * libm/machine/spu/headers/sqrt.h: Ditto.
959 * libm/machine/spu/headers/sqrtf.h: Ditto.
960 * libm/machine/spu/headers/tgamma.h: Ditto.
961 * libm/machine/spu/headers/tgammaf.h: Ditto.
962
e30a7b84
JJ
9632007-09-28 Patrick Mansfield <patmans@us.ibm.com>
964
965 * libm/machine/spu/Makefile.am: Add new C files.
966 * libm/machine/spu/Makefile.in: Regenerate.
967 * libm/machine/spu/headers/acos.h: New file.
968 * libm/machine/spu/headers/acosd2.h: Ditto.
969 * libm/machine/spu/headers/acosf.h: Ditto.
970 * libm/machine/spu/headers/acosf4.h: Ditto.
971 * libm/machine/spu/headers/acosh.h: Ditto.
972 * libm/machine/spu/headers/acoshd2.h: Ditto.
973 * libm/machine/spu/headers/acoshf.h: Ditto.
974 * libm/machine/spu/headers/acoshf4.h: Ditto.
975 * libm/machine/spu/headers/asin.h: Ditto.
976 * libm/machine/spu/headers/asind2.h: Ditto.
977 * libm/machine/spu/headers/asinf.h: Ditto.
978 * libm/machine/spu/headers/asinf4.h: Ditto.
979 * libm/machine/spu/headers/asinh.h: Ditto.
980 * libm/machine/spu/headers/asinhd2.h: Ditto.
981 * libm/machine/spu/headers/asinhf.h: Ditto.
982 * libm/machine/spu/headers/asinhf4.h: Ditto.
983 * libm/machine/spu/headers/atan.h: Ditto.
984 * libm/machine/spu/headers/atan2.h: Ditto.
985 * libm/machine/spu/headers/atan2d2.h: Ditto.
986 * libm/machine/spu/headers/atan2f.h: Ditto.
987 * libm/machine/spu/headers/atan2f4.h: Ditto.
988 * libm/machine/spu/headers/atand2.h: Ditto.
989 * libm/machine/spu/headers/atanf4.h: Ditto.
990 * libm/machine/spu/headers/atanh.h: Ditto.
991 * libm/machine/spu/headers/atanhd2.h: Ditto.
992 * libm/machine/spu/headers/atanhf.h: Ditto.
993 * libm/machine/spu/headers/atanhf4.h: Ditto.
994 * libm/machine/spu/headers/cos.h: Ditto.
995 * libm/machine/spu/headers/cos_sin.h: Ditto.
996 * libm/machine/spu/headers/cosd2.h: Ditto.
997 * libm/machine/spu/headers/cosf.h: Ditto.
998 * libm/machine/spu/headers/cosf4.h: Ditto.
999 * libm/machine/spu/headers/cosh.h: Ditto.
1000 * libm/machine/spu/headers/coshd2.h: Ditto.
1001 * libm/machine/spu/headers/coshf.h: Ditto.
1002 * libm/machine/spu/headers/coshf4.h: Ditto.
1003 * libm/machine/spu/headers/divd2.h: Ditto.
1004 * libm/machine/spu/headers/divf4.h: Ditto.
1005 * libm/machine/spu/headers/erf.h: Ditto.
1006 * libm/machine/spu/headers/erf_utils.h: Ditto.
1007 * libm/machine/spu/headers/erfc.h: Ditto.
1008 * libm/machine/spu/headers/erfcd2.h: Ditto.
1009 * libm/machine/spu/headers/erfcf.h: Ditto.
1010 * libm/machine/spu/headers/erfcf4.h: Ditto.
1011 * libm/machine/spu/headers/erfd2.h: Ditto.
1012 * libm/machine/spu/headers/erff.h: Ditto.
1013 * libm/machine/spu/headers/erff4.h: Ditto.
1014 * libm/machine/spu/headers/exp.h: Ditto.
1015 * libm/machine/spu/headers/exp2.h: Ditto.
1016 * libm/machine/spu/headers/exp2d2.h: Ditto.
1017 * libm/machine/spu/headers/exp2f4.h: Ditto.
1018 * libm/machine/spu/headers/expd2.h: Ditto.
1019 * libm/machine/spu/headers/expf4.h: Ditto.
1020 * libm/machine/spu/headers/expm1.h: Ditto.
1021 * libm/machine/spu/headers/expm1d2.h: Ditto.
1022 * libm/machine/spu/headers/expm1f.h: Ditto.
1023 * libm/machine/spu/headers/expm1f4.h: Ditto.
1024 * libm/machine/spu/headers/floord2.h: Ditto.
1025 * libm/machine/spu/headers/floorf4.h: Ditto.
1026 * libm/machine/spu/headers/hypot.h: Ditto.
1027 * libm/machine/spu/headers/hypotd2.h: Ditto.
1028 * libm/machine/spu/headers/hypotf.h: Ditto.
1029 * libm/machine/spu/headers/hypotf4.h: Ditto.
1030 * libm/machine/spu/headers/isnan.h: Ditto.
1031 * libm/machine/spu/headers/isnand2.h: Ditto.
1032 * libm/machine/spu/headers/isnanf.h: Ditto.
1033 * libm/machine/spu/headers/isnanf4.h: Ditto.
1034 * libm/machine/spu/headers/ldexpd2.h: Ditto.
1035 * libm/machine/spu/headers/ldexpf4.h: Ditto.
1036 * libm/machine/spu/headers/lgamma.h: Ditto.
1037 * libm/machine/spu/headers/lgammad2.h: Ditto.
1038 * libm/machine/spu/headers/lgammaf.h: Ditto.
1039 * libm/machine/spu/headers/lgammaf4.h: Ditto.
1040 * libm/machine/spu/headers/log.h: Ditto.
1041 * libm/machine/spu/headers/log10.h: Ditto.
1042 * libm/machine/spu/headers/log10d2.h: Ditto.
1043 * libm/machine/spu/headers/log1p.h: Ditto.
1044 * libm/machine/spu/headers/log1pd2.h: Ditto.
1045 * libm/machine/spu/headers/log1pf.h: Ditto.
1046 * libm/machine/spu/headers/log1pf4.h: Ditto.
1047 * libm/machine/spu/headers/log2.h: Ditto.
1048 * libm/machine/spu/headers/log2d2.h: Ditto.
1049 * libm/machine/spu/headers/log2f4.h: Ditto.
1050 * libm/machine/spu/headers/logbf.h: Ditto.
1051 * libm/machine/spu/headers/logbf4.h: Ditto.
1052 * libm/machine/spu/headers/logd2.h: Ditto.
1053 * libm/machine/spu/headers/logf4.h: Ditto.
1054 * libm/machine/spu/headers/nearbyintf.h: Ditto.
1055 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
1056 * libm/machine/spu/headers/nextafter.h: Ditto.
1057 * libm/machine/spu/headers/nextafterd2.h: Ditto.
1058 * libm/machine/spu/headers/nextafterf.h: Ditto.
1059 * libm/machine/spu/headers/nextafterf4.h: Ditto.
1060 * libm/machine/spu/headers/pow.h: Ditto.
1061 * libm/machine/spu/headers/powd2.h: Ditto.
1062 * libm/machine/spu/headers/powf.h: Ditto.
1063 * libm/machine/spu/headers/powf4.h: Ditto.
1064 * libm/machine/spu/headers/recipd2.h: Ditto.
1065 * libm/machine/spu/headers/recipf4.h: Ditto.
1066 * libm/machine/spu/headers/rintf.h: Ditto.
1067 * libm/machine/spu/headers/rintf4.h: Ditto.
1068 * libm/machine/spu/headers/scalbnf4.h: Ditto.
1069 * libm/machine/spu/headers/signbit.h: Ditto.
1070 * libm/machine/spu/headers/signbitd2.h: Ditto.
1071 * libm/machine/spu/headers/simdmath.h: Ditto.
1072 * libm/machine/spu/headers/sin.h: Ditto.
1073 * libm/machine/spu/headers/sincos.h: Ditto.
1074 * libm/machine/spu/headers/sincosd2.h: Ditto.
1075 * libm/machine/spu/headers/sincosf.h: Ditto.
1076 * libm/machine/spu/headers/sincosf4.h: Ditto.
1077 * libm/machine/spu/headers/sind2.h: Ditto.
1078 * libm/machine/spu/headers/sinf.h: Ditto.
1079 * libm/machine/spu/headers/sinf4.h: Ditto.
1080 * libm/machine/spu/headers/sinh.h: Ditto.
1081 * libm/machine/spu/headers/sinhd2.h: Ditto.
1082 * libm/machine/spu/headers/sinhf.h: Ditto.
1083 * libm/machine/spu/headers/sinhf4.h: Ditto.
1084 * libm/machine/spu/headers/sqrtd2.h: Ditto.
1085 * libm/machine/spu/headers/sqrtf.h: Ditto.
1086 * libm/machine/spu/headers/sqrtf4.h: Ditto.
1087 * libm/machine/spu/headers/tan.h: Ditto.
1088 * libm/machine/spu/headers/tand2.h: Ditto.
1089 * libm/machine/spu/headers/tanf.h: Ditto.
1090 * libm/machine/spu/headers/tanf4.h: Ditto.
1091 * libm/machine/spu/headers/tanh.h: Ditto.
1092 * libm/machine/spu/headers/tanhd2.h: Ditto.
1093 * libm/machine/spu/headers/tanhf.h: Ditto.
1094 * libm/machine/spu/headers/tanhf4.h: Ditto.
1095 * libm/machine/spu/headers/tgamma.h: Ditto.
1096 * libm/machine/spu/headers/tgammad2.h: Ditto.
1097 * libm/machine/spu/headers/tgammaf.h: Ditto.
1098 * libm/machine/spu/headers/tgammaf4.h: Ditto.
1099 * libm/machine/spu/headers/truncd2.h: Ditto.
1100 * libm/machine/spu/headers/truncf4.h: Ditto.
1101 * libm/machine/spu/log2.c: Ditto.
1102 * libm/machine/spu/s_asinh.c: Ditto.
1103 * libm/machine/spu/s_atan.c: Ditto.
1104 * libm/machine/spu/s_cos.c: Ditto.
1105 * libm/machine/spu/s_erf.c: Ditto.
1106 * libm/machine/spu/s_expm1.c: Ditto.
1107 * libm/machine/spu/s_isnan.c: Ditto.
1108 * libm/machine/spu/s_log1p.c: Ditto.
1109 * libm/machine/spu/s_nextafter.c: Ditto.
1110 * libm/machine/spu/s_sin.c: Ditto.
1111 * libm/machine/spu/s_tan.c: Ditto.
1112 * libm/machine/spu/s_tanh.c: Ditto.
1113 * libm/machine/spu/sf_asinh.c: Ditto.
1114 * libm/machine/spu/sf_cos.c: Ditto.
1115 * libm/machine/spu/sf_erf.c: Ditto.
1116 * libm/machine/spu/sf_expm1.c: Ditto.
1117 * libm/machine/spu/sf_log1p.c: Ditto.
1118 * libm/machine/spu/sf_logb.c: Ditto.
1119 * libm/machine/spu/sf_nearbyint.c: Ditto.
1120 * libm/machine/spu/sf_nextafter.c: Ditto.
1121 * libm/machine/spu/sf_rint.c: Ditto.
1122 * libm/machine/spu/sf_sin.c: Ditto.
1123 * libm/machine/spu/sf_tan.c: Ditto.
1124 * libm/machine/spu/sf_tanh.c: Ditto.
1125 * libm/machine/spu/w_acos.c: Ditto.
1126 * libm/machine/spu/w_acosh.c: Ditto.
1127 * libm/machine/spu/w_asin.c: Ditto.
1128 * libm/machine/spu/w_atan2.c: Ditto.
1129 * libm/machine/spu/w_atanh.c: Ditto.
1130 * libm/machine/spu/w_cosh.c: Ditto.
1131 * libm/machine/spu/w_exp.c: Ditto.
1132 * libm/machine/spu/w_exp2.c: Ditto.
1133 * libm/machine/spu/w_hypot.c: Ditto.
1134 * libm/machine/spu/w_lgamma.c: Ditto.
1135 * libm/machine/spu/w_log.c: Ditto.
1136 * libm/machine/spu/w_log10.c: Ditto.
1137 * libm/machine/spu/w_pow.c: Ditto.
1138 * libm/machine/spu/w_sincos.c: Ditto.
1139 * libm/machine/spu/w_sinh.c: Ditto.
1140 * libm/machine/spu/w_tgamma.c: Ditto.
1141 * libm/machine/spu/wf_acos.c: Ditto.
1142 * libm/machine/spu/wf_acosh.c: Ditto.
1143 * libm/machine/spu/wf_asin.c: Ditto.
1144 * libm/machine/spu/wf_atan2.c: Ditto.
1145 * libm/machine/spu/wf_atanh.c: Ditto.
1146 * libm/machine/spu/wf_cosh.c: Ditto.
1147 * libm/machine/spu/wf_hypot.c: Ditto.
1148 * libm/machine/spu/wf_lgamma.c: Ditto.
1149 * libm/machine/spu/wf_pow.c: Ditto.
1150 * libm/machine/spu/wf_sincos.c: Ditto.
1151 * libm/machine/spu/wf_sinh.c: Ditto.
1152 * libm/machine/spu/wf_sqrt.c: Ditto.
1153 * libm/machine/spu/wf_tgamma.c: Ditto.
1154
505ea714
JJ
11552007-09-28 Patrick Mansfield <patmans@us.ibm.com>
1156
1157 * configure.host: Define _POSIX_MODE to match the existing vector
1158 math code, as we don't support the matherr callout.
1159 * libm/machine/spu/Makefile.am: New file.
1160 * libm/machine/spu/Makefile.in: Auto-generated.
1161 * libm/machine/spu/headers/atanf.h: New file.
1162 * libm/machine/spu/headers/cbrt.h: Ditto.
1163 * libm/machine/spu/headers/cbrtf.h: Ditto.
1164 * libm/machine/spu/headers/ceil.h: Ditto.
1165 * libm/machine/spu/headers/ceilf.h: Ditto.
1166 * libm/machine/spu/headers/copysign.h: Ditto.
1167 * libm/machine/spu/headers/copysignf.h: Ditto.
1168 * libm/machine/spu/headers/exp2f.h: Ditto.
1169 * libm/machine/spu/headers/expf.h: Ditto.
1170 * libm/machine/spu/headers/fabs.h: Ditto.
1171 * libm/machine/spu/headers/fabsf.h: Ditto.
1172 * libm/machine/spu/headers/fdim.h: Ditto.
1173 * libm/machine/spu/headers/fdimf.h: Ditto.
1174 * libm/machine/spu/headers/floor.h: Ditto.
1175 * libm/machine/spu/headers/floorf.h: Ditto.
1176 * libm/machine/spu/headers/fma.h: Ditto.
1177 * libm/machine/spu/headers/fmaf.h: Ditto.
1178 * libm/machine/spu/headers/fmax.h: Ditto.
1179 * libm/machine/spu/headers/fmaxf.h: Ditto.
1180 * libm/machine/spu/headers/fmin.h: Ditto.
1181 * libm/machine/spu/headers/fminf.h: Ditto.
1182 * libm/machine/spu/headers/fmod.h: Ditto.
1183 * libm/machine/spu/headers/fmodf.h: Ditto.
1184 * libm/machine/spu/headers/frexp.h: Ditto.
1185 * libm/machine/spu/headers/frexpf.h: Ditto.
1186 * libm/machine/spu/headers/ilogb.h: Ditto.
1187 * libm/machine/spu/headers/ilogbf.h: Ditto.
1188 * libm/machine/spu/headers/ldexp.h: Ditto.
1189 * libm/machine/spu/headers/ldexpf.h: Ditto.
1190 * libm/machine/spu/headers/llrint.h: Ditto.
1191 * libm/machine/spu/headers/llrintf.h: Ditto.
1192 * libm/machine/spu/headers/llround.h: Ditto.
1193 * libm/machine/spu/headers/llroundf.h: Ditto.
1194 * libm/machine/spu/headers/log10f.h: Ditto.
1195 * libm/machine/spu/headers/log2f.h: Ditto.
1196 * libm/machine/spu/headers/logf.h: Ditto.
1197 * libm/machine/spu/headers/lrint.h: Ditto.
1198 * libm/machine/spu/headers/lrintf.h: Ditto.
1199 * libm/machine/spu/headers/lround.h: Ditto.
1200 * libm/machine/spu/headers/lroundf.h: Ditto.
1201 * libm/machine/spu/headers/nearbyint.h: Ditto.
1202 * libm/machine/spu/headers/remainder.h: Ditto.
1203 * libm/machine/spu/headers/remainderf.h: Ditto.
1204 * libm/machine/spu/headers/remquo.h: Ditto.
1205 * libm/machine/spu/headers/remquof.h: Ditto.
1206 * libm/machine/spu/headers/rint.h: Ditto.
1207 * libm/machine/spu/headers/round.h: Ditto.
1208 * libm/machine/spu/headers/roundf.h: Ditto.
1209 * libm/machine/spu/headers/scalbn.h: Ditto.
1210 * libm/machine/spu/headers/scalbnf.h: Ditto.
1211 * libm/machine/spu/headers/sqrt.h: Ditto.
1212 * libm/machine/spu/headers/trunc.h: Ditto.
1213 * libm/machine/spu/headers/truncf.h: Ditto.
1214 * libm/machine/spu/headers/vec_literal.h: Ditto.
1215 * libm/machine/spu/llrint.c: Ditto.
1216 * libm/machine/spu/llrintf.c: Ditto.
1217 * libm/machine/spu/llround.c: Ditto.
1218 * libm/machine/spu/llroundf.c: Ditto.
1219 * libm/machine/spu/log2f.c: Ditto.
1220 * libm/machine/spu/s_cbrt.c: Ditto.
1221 * libm/machine/spu/s_ceil.c: Ditto.
1222 * libm/machine/spu/s_copysign.c: Ditto.
1223 * libm/machine/spu/s_fabs.c: Ditto.
1224 * libm/machine/spu/s_fdim.c: Ditto.
1225 * libm/machine/spu/s_floor.c: Ditto.
1226 * libm/machine/spu/s_fma.c: Ditto.
1227 * libm/machine/spu/s_fmax.c: Ditto.
1228 * libm/machine/spu/s_fmin.c: Ditto.
1229 * libm/machine/spu/s_frexp.c: Ditto.
1230 * libm/machine/spu/s_ilogb.c: Ditto.
1231 * libm/machine/spu/s_ldexp.c: Ditto.
1232 * libm/machine/spu/s_lrint.c: Ditto.
1233 * libm/machine/spu/s_lround.c: Ditto.
1234 * libm/machine/spu/s_nearbyint.c: Ditto.
1235 * libm/machine/spu/s_remquo.c: Ditto.
1236 * libm/machine/spu/s_rint.c: Ditto.
1237 * libm/machine/spu/s_round.c: Ditto.
1238 * libm/machine/spu/s_scalbn.c: Ditto.
1239 * libm/machine/spu/s_trunc.c: Ditto.
1240 * libm/machine/spu/sf_atan.c: Ditto.
1241 * libm/machine/spu/sf_cbrt.c: Ditto.
1242 * libm/machine/spu/sf_ceil.c: Ditto.
1243 * libm/machine/spu/sf_copysign.c: Ditto.
1244 * libm/machine/spu/sf_fabs.c: Ditto.
1245 * libm/machine/spu/sf_fdim.c: Ditto.
1246 * libm/machine/spu/sf_floor.c: Ditto.
1247 * libm/machine/spu/sf_fma.c: Ditto.
1248 * libm/machine/spu/sf_fmax.c: Ditto.
1249 * libm/machine/spu/sf_fmin.c: Ditto.
1250 * libm/machine/spu/sf_frexp.c: Ditto.
1251 * libm/machine/spu/sf_ilogb.c: Ditto.
1252 * libm/machine/spu/sf_ldexp.c: Ditto.
1253 * libm/machine/spu/sf_lrint.c: Ditto.
1254 * libm/machine/spu/sf_lround.c: Ditto.
1255 * libm/machine/spu/sf_remquo.c: Ditto.
1256 * libm/machine/spu/sf_round.c: Ditto.
1257 * libm/machine/spu/sf_scalbn.c: Ditto.
1258 * libm/machine/spu/sf_trunc.c: Ditto.
1259 * libm/machine/spu/w_fmod.c: Ditto.
1260 * libm/machine/spu/w_remainder.c: Ditto.
1261 * libm/machine/spu/w_sqrt.c: Ditto.
1262 * libm/machine/spu/wf_exp.c: Ditto.
1263 * libm/machine/spu/wf_exp2.c: Ditto.
1264 * libm/machine/spu/wf_fmod.c: Ditto.
1265 * libm/machine/spu/wf_log.c: Ditto.
1266 * libm/machine/spu/wf_log10.c: Ditto.
1267 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 1268
364faf91
JJ
12692007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1270
1271 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
1272
2f3d28fc
JJ
12732007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1274
1275 * libc/include/sched.h: New file, just include sys/sched.h.
1276 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
1277 prototype.
1278 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
1279 struct utimbuf definition.
1280
63fbe1fd
JJ
12812007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1282
1283 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
1284 specific struct and typedef.
1285
12862007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
1287
1288 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
1289 typedef dev_t, gid_t, and uid_t.
1290 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
1291 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
1292 Change to lower case for all __foo_t_defined names.
1293 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
1294 __uid_t, and __gid_t making them all four bytes. Change to lower case
1295 for all __foo_t_defined names.
1296
3908c985
JJ
12972007-09-18 Jeff Johnston <jjohnstn@redhat.com>
1298
1299 * libc/reent/renamer.c: New file.
1300 * libc/reent/Makefile.am: Add new file.
1301 * libc/reent/Makefile.in: Regenerated.
1302 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
1303 and add check for rename syscall.
1304
ba21046d
EB
13052007-09-17 Eric Blake <ebb9@byu.net>
1306
1307 Obey POSIX on printf("%.s", (char*)NULL).
1308 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
1309 for %s on NULL. Skip NULL check when optimizing for size.
1310
e5ae7230
JJ
13112007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1312
1313 * libc/include/sys/_types.h: Protect all types with flag
1314 checks to allow definition in machine/_types.h.
1315
36fe6da6
JJ
13162007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1317
1318 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
1319 definitions in light of the previous change.
1320
13212007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
1322
1323 * libc/include/machine/_default_types.h: New file, contains what
1324 was previously in libc/include/machine/_types.h.
1325 * libc/include/machine/_types.h: Now only includes
1326 machine/_default_types.h.
1327 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
1328 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
1329 with conditional declarations.
1330 * libc/machine/spu/machine/_types.h: New file, add SPU specific
1331 typedefs for _fpos_t and _fpos64_t.
1332
78e66fb9
JJ
13332007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1334
1335 * libc/include/math.h (_M_LOG2E): Replace with..
1336 (_M_LOG2_E): New macro.
1337 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
1338
345c1595
BD
13392007-09-06 Brian Dessent <brian@dessent.net>
1340
1341 * libc/reent/getreent.c: Allow for case where __getreent is
1342 defined as a macro.
1343
6494ee83
JJ
13442007-09-06 Jeff Johnston <jjohnstn@redhat.com>
1345
1346 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
1347 (log2): Use _M_LOG2E instead of M_LOG2E.
1348 (log2f): Ditto.
1349 (M_LOG2E): Define to be _M_LOG2E.
1350
86a934d2
JJ
13512007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1352
1353 * libm/math/wf_tgamma.c: Add missing include.
1354
6ddf8bef
JJ
13552007-08-31 Antony King <antony.king@st.com>
1356
ba21046d 1357 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
1358 bits and redefine associated dword0 macro (rvalue issue).
1359 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
1360 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1361 to prevent setting dword1 which is an rvalue only.
6ddf8bef 1362
d4a27886
JJ
13632007-08-28 Hans Kester <hans.kester@ellips.nl>
1364
1365 * configure.host: Added support for x86_64.
1366 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
1367 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
1368 * libc/machine/x86_64/aclocal.m4: Generated.
1369 * libc/machine/x86_64/configure.in: New.
1370 * libc/machine/x86_64/configure: Generated.
1371 * libc/machine/x86_64/Makefile.am: New.
1372 * libc/machine/x86_64/Makefile.in: Generated.
1373 * libc/machine/x86_64/setjmp.S: New.
1374 * libc/machine/x86_64/memcpy.S: New.
1375 * libc/machine/x86_64/memset.S: New.
1376 * libc/machine/configure.in: Added support for x86_64.
1377 * libc/machine/configure: Regenerated.
1378
309faeb5
JJ
13792007-08-24 Jeff Johnston <jjohnstn@redhat.com>
1380
1381 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
1382 to int before comparing it to a signed int value.
1383
8d44415e
HPN
13842007-08-24 Hans-Peter Nilsson <hp@axis.com>
1385
1386 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
1387 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
1388 Define.
1389
e6e56f7c
JJ
13902007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
1391
1392 Reduce the memory consumption of variable argument functions
1393 for SPU (cell):
1394 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
1395 to assembler sources.
1396 * libc/machine/spu/Makefile.in: Regenerated.
1397 * libc/machine/spu/stdio.c: Add __check_init function wrapping
1398 CHECK_INIT macro to use from assembler routines.
1399 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
1400 * libc/machine/spu/fiprintf.S: New file.
1401 * libc/machine/spu/fiscanf.S: Ditto.
1402 * libc/machine/spu/fprintf.S: Ditto.
1403 * libc/machine/spu/fscanf.S: Ditto.
1404 * libc/machine/spu/iprintf.S: Ditto.
1405 * libc/machine/spu/iscanf.S: Ditto.
1406 * libc/machine/spu/printf.S: Ditto.
1407 * libc/machine/spu/scanf.S: Ditto.
1408 * libc/machine/spu/siprintf.S: Ditto.
1409 * libc/machine/spu/siscanf.S: Ditto.
1410 * libc/machine/spu/sniprintf.S: Ditto.
1411 * libc/machine/spu/snprintf.S: Ditto.
1412 * libc/machine/spu/sprintf.S: Ditto.
1413 * libc/machine/spu/sscanf.S: Ditto.
1414 * libc/machine/spu/stack_reg_va.S: Ditto.
1415 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
1416 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
1417 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
1418 * libc/machine/spu/fiscanf.c: Ditto.
1419 * libc/machine/spu/fprintf.c: Ditto.
1420 * libc/machine/spu/fscanf.c: Ditto.
1421 * libc/machine/spu/iprintf.c: Ditto.
1422 * libc/machine/spu/iscanf.c: Ditto.
1423 * libc/machine/spu/printf.c: Ditto.
1424 * libc/machine/spu/scanf.c: Ditto.
1425 * libc/machine/spu/siprintf.c: Ditto.
1426 * libc/machine/spu/siscanf.c: Ditto.
1427 * libc/machine/spu/sniprintf.c: Ditto.
1428 * libc/machine/spu/snprintf.c: Ditto.
1429 * libc/machine/spu/sprintf.c: Ditto.
1430 * libc/machine/spu/sscanf.c: Ditto.
1431
90c6084b
JJ
14322007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1433
1434 * libc/include/tar.h: New.
1435
8fb88162
JJ
14362007-08-03 Jeff Johnston <jjohnstn@redhat.com>
1437
1438 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
1439 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
1440 * libc/sys/linux/intl/Makefile.in: Regenerated.
1441 * libc/sys/linux/intl/stpcpy.c: Renamed to...
1442 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
1443
6ddcdb9d
EB
14442007-08-02 Eric Blake <ebb9@byu.net>
1445
1446 Implement fmemopen and open_memstream.
1447 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
1448 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
1449 New file.
1450 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
1451 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
1452 functions together.
1453 (fmemopen, open_memstream): Declare new functions.
1454 * libc/stdio/stdio.tex: Document them.
1455 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
1456 fmemopen and open_memstream.
1457 * libc/stdio/Makefile.in: Regenerate.
1458
f7c978d5
EB
14592007-07-31 Eric Blake <ebb9@byu.net>
1460
1461 More POSIX stream corner cases.
1462 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
1463 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
1464 requested.
1465 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
1466
391b530a
EB
14672007-07-18 Eric Blake <ebb9@byu.net>
1468
1469 Fix 'make info'.
1470 * libc/stdio/stdio.tex: Add missing include.
1471 * libc/stdio/vfprintf.c: Use expected node name.
1472 * libc/stdio/vfscanf.c: Likewise.
1473 * libc/stdio/sscanf.c: Likewise.
1474 * libc/stdio/sprintf.c: Likewise.
1475 * libc/stdio/siscanf.c: Likewise.
1476 * libc/stdio/siprintf.c: Likewise.
1477 * libc/stdio/fopencookie.c: Quote raw {}.
1478 Reported by DJ Delorie.
1479
88c88881
EB
14802007-07-13 Eric Blake <ebb9@byu.net>
1481
08146e5a
EB
1482 Fix fflush issues.
1483 * libc/stdio/fflush.c (_fflush_r): New function.
1484 (fflush): Fix reentrancy and large offset behavior.
1485 * libc/include/stdio.h (_fflush_r): Add prototype.
1486 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
1487 * libc/stdio/freopen.c (_freopen_r): Likewise.
1488 * libc/stdio/fseek.c (_fseek_r): Likewise.
1489 * libc/stdio/ftell.c (_ftell_r): Likewise.
1490 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1491 * libc/stdio/refill.c (__srefill_r): Likewise.
1492 * libc/stdio/setvbuf.c (setvbuf): Likewise.
1493 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
1494 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
1495 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1496 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1497 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
1498 32-bit version if not large file.
1499 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1500 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
1501
88c88881
EB
1502 Documentation updates.
1503 * libc/stdio/ungetc.c: Document ungetc.
1504 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
1505 of files with documentation.
1506 * libc/stdio/Makefile.in: Regenerate.
1507 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
1508
c4ccbcce
JJ
15092007-07-11 Jeff Johnston <jjohnstn@redhat.com>
1510
1511 * libc/include/math.h: Fix so C99 functions/macros are accessible
1512 when -std=c99 is used when compiling and not when using C89.
1513
dec27025
CV
15142007-07-06 Corinna Vinschen <corinna@vinschen.de>
1515
1516 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
1517 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
1518 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
1519 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
1520 wcstoull_r.c.
1521 (CHEWOUT_FILES): Add .def files accordingly.
1522 * libc/stdlib/Makefile.in: Regenerate.
1523 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
1524 * libc/stdlib/strtoll.c: Fix portability note.
1525 * libc/stdlib/strtoull.c: Ditto.
1526 * libc/stdlib/wcstol.c: New file.
1527 * libc/stdlib/wcstoll.c: New file.
1528 * libc/stdlib/wcstoll_r.c: New file.
1529 * libc/stdlib/wcstoul.c: New file.
1530 * libc/stdlib/wcstoull.c: New file.
1531 * libc/stdlib/wcstoull_r.c: New file.
1532
0be2bc94
JJ
15332007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1534
1535 * libc/include/sys/time.h (gettimeofday): Change to proper
1536 prototype where second parameter is void *.
1537 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
1538 accordingly.
1539 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
1540 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
1541 * libc/sys/rdos/gettod.c: Ditto.
1542 * libc/sys/sh/syscalls.c: Ditto.
1543 * libc/time/time.c (time): Change call to _gettimeofday_r
1544 to pass NULL as 2nd argument.
1545
ba9af2d7
JJ
15462007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1547
1548 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
1549 * libc/sys/linux/intl/l10nflist.c: Ditto.
1550
a3721512
CV
15512007-07-04 Corinna Vinschen <corinna@vinschen.de>
1552
1553 * libc/include/wchar.h: Add prototype for wcsxfrm.
1554 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
1555 (CHEWOUT_FILES): Add wcsxfrm.def.
1556 * libc/string/Makefile.in: Regenerate.
1557 * libc/string/wcsxfrm.c: New file.
1558 * libc/string/wcstrings.tex: Add wcsxfrm.
1559
5d8b97a6
CV
15602007-06-28 Corinna Vinschen <corinna@vinschen.de>
1561
1562 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
1563 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
1564 stpncpy.c.
1565 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
1566 * libc/string/Makefile.in: Regenerate.
1567 * libc/string/stpcpy.c: New file.
1568 * libc/string/stpncpy.c: New file.
1569 * libc/string/strings.tex: Add stpcpy and stpncpy.
1570
3473e6bd
EB
15712007-06-27 Eric Blake <ebb9@byu.net>
1572
1573 Support __func__ in assert, as required by C99.
1574 * libc/stdlib/assert.c (__assert_func): New function.
1575 (__assert): Use __assert_func.
1576 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1577 possible.
1578
be977229
JJ
15792007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1580
1581 * libc/machine/spu/perror.c: Pass errno as the second argument to
1582 the assist call.
1583
d360ef18
JJ
15842007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1585
1586 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1587 defines; expose ftruncate, truncate and sync prototypes.
1588
f75c7518
JJ
15892007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1590
1591 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 1592 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
1593 visible.
1594
438b07b0
JJ
15952007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1596
1597 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1598 from a dropped patch.
1599 * libc/machine/spu/Makefile.in: Regenerate.
1600
c33ff785
JJ
16012007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1602
1603 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 1604 it just calls open with appropriate arguments.
c33ff785
JJ
1605 * libc/machine/spu/Makefile.am: Add creat.c.
1606 * libc/machine/spu/Makefile.in: Regenerate.
1607
ae473bdc
JJ
16082007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1609
1610 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1611 I accidentally dropped.
1612 * libc/machine/spu/Makefile.in: Regenerated.
1613
a8b08518
JJ
16142007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1615
1616 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1617 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1618 form and move outside of OS flag checks.
1619 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1620 * libc/machine/spu/Makefile.in: Regenerate.
1621 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1622 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1623
f4cd2a1d
CV
16242007-06-11 Corinna Vinschen <corinna@vinschen.de>
1625
1626 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1627 Define confstr constants for Cygwin. Add comment.
1628
32f67ec6
HPN
16292007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1630
1631 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1632 file-handle and a direct syscall, just use _open.
1633 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1634 file-handle.
1635
1636 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1637 passing on the exit value.
1638
6fb37475
JJ
16392007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1640
1641 * libc/string/strcasestr.c: New file.
1642 * libc/include/string.h: Add strcasestr.
1643 * libc/string/strings.tex: Add strcasestr.
1644 * libc/string/Makefile.am: Ditto.
1645 * libc/string/Makefile.in: Regenerated.
1646
1eeaeab8
JJ
16472007-06-06 Christian Groessler <chris@groessler.org>
1648
1649 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1650 rnd is done after the last local variable declaration.
1651
16522007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1653
1654 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1655
a5da131d
JJ
16562007-06-05 Christian Groessler <chris@groessler.org>
1657
3473e6bd 1658 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1659 declaration to top of function in keeping with C89 standard.
a5da131d 1660
17c61d6a
EB
16612007-06-04 Eric Blake <ebb9@byu.net>
1662
1663 Implement funopen, fopencookie.
1664 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1665 Switch to reentrant callbacks.
1666 * libc/include/stdio.h (funopen): Fix declaration.
1667 (fopencookie): Declare.
1668 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1669 (__sseek64, __swrite64): Fix prototypes.
1670 [__SCLE]: Pull in setmode declaration.
1671 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1672 reentrancy.
1673 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1674 (__sseek64, __swrite64): Fix reentrancy.
1675 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1676 reentrancy.
1677 * libc/stdio/ftell.c (_ftell_r): Likewise.
1678 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1679 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1680 * libc/stdio/freopen.c (_freopen_r): Likewise.
1681 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1682 * libc/stdio/refill.c (__srefill_r): Likewise.
1683 * libc/stdio/siscanf.c (eofread): Likewise.
1684 * libc/stdio/sscanf.c (eofread): Likewise.
1685 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1686 * libc/stdio/vsscanf.c (eofread1): Likewise.
1687 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1688 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1689 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1690 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1691 could be fixed.
1692 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1693 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1694 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1695 new files.
1696 * libc/stdio/Makefile.in: Regenerate.
1697
b2064783
EB
16982007-05-29 Eric Blake <ebb9@byu.net>
1699
1700 Avoid more compiler warnings.
1701 * libc/stdlib/btowc.c: Add missing header.
1702 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1703 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1704 * libc/stdlib/wctob.c: Add missing header.
1705 * libc/string/strcpy.c (strcpy): Avoid warnings.
1706 * libc/string/strrchr.c (strrchr): Likewise.
1707
76a2ee78
CV
17082007-05-29 Corinna Vinschen <corinna@vinschen.de>
1709
1710 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1711 argument.
1712 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1713 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1714 on empty input strings.
1715 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1716 looping through argz.
1717 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1718
75acf0bb
EB
17192007-05-27 Brian Dessent <brian@dessent.net>
1720
1721 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1722 handling %p.
1723
f5c58e9a
EB
17242007-05-25 Eric Blake <ebb9@byu.net>
1725
1726 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1727
d9a1ecc0 17282007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1729 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1730
1731 * libtool.m4: removed
1732 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1733 libtool. Move AC_PROG_AWK outside conditional.
1734 * libc/sys/linux/configure.in: Ditto.
1735 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1736 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1737 * libc/sys/linux/machine/i386/configure.in: Ditto.
1738
1739 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1740 initializing libtool.
1741 * libc/configure.in: Ditto.
1742 * libc/machine/configure.in: Ditto.
1743 * libc/machine/i386/configure.in: Ditto.
1744 * libc/sys/configure.in: Ditto.
1745 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1746 * libc/sys/linux/machine/configure.in: Ditto.
1747 * libm/configure.in: Ditto.
1748 * libm/machine/configure.in: Ditto.
1749
1750 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1751 * doc/Makefile.am: Ditto.
1752 * iconvdata/Makefile.am: Ditto.
1753 * libc/Makefile.am: Ditto.
1754 * libc/machine/Makefile.am: Ditto.
1755 * libc/machine/a29k/Makefile.am: Ditto.
1756 * libc/machine/arm/Makefile.am: Ditto.
1757 * libc/machine/bfin/Makefile.am: Ditto.
1758 * libc/machine/cris/Makefile.am: Ditto.
1759 * libc/machine/crx/Makefile.am: Ditto.
1760 * libc/machine/d10v/Makefile.am: Ditto.
1761 * libc/machine/d30v/Makefile.am: Ditto.
1762 * libc/machine/fr30/Makefile.am: Ditto.
1763 * libc/machine/frv/Makefile.am: Ditto.
1764 * libc/machine/h8300/Makefile.am: Ditto.
1765 * libc/machine/h8500/Makefile.am: Ditto.
1766 * libc/machine/hppa/Makefile.am: Ditto.
1767 * libc/machine/i386/Makefile.am: Ditto.
1768 * libc/machine/i960/Makefile.am: Ditto.
1769 * libc/machine/iq2000/Makefile.am: Ditto.
1770 * libc/machine/m32c/Makefile.am: Ditto.
1771 * libc/machine/m32r/Makefile.am: Ditto.
1772 * libc/machine/m68hc11/Makefile.am: Ditto.
1773 * libc/machine/m68k/Makefile.am: Ditto.
1774 * libc/machine/m88k/Makefile.am: Ditto.
1775 * libc/machine/mips/Makefile.am: Ditto.
1776 * libc/machine/mn10200/Makefile.am: Ditto.
1777 * libc/machine/mn10300/Makefile.am: Ditto.
1778 * libc/machine/mt/Makefile.am: Ditto.
1779 * libc/machine/necv70/Makefile.am: Ditto.
1780 * libc/machine/powerpc/Makefile.am: Ditto.
1781 * libc/machine/sh/Makefile.am: Ditto.
1782 * libc/machine/sparc/Makefile.am: Ditto.
1783 * libc/machine/spu/Makefile.am: Ditto.
1784 * libc/machine/tic4x/Makefile.am: Ditto.
1785 * libc/machine/tic80/Makefile.am: Ditto.
1786 * libc/machine/v850/Makefile.am: Ditto.
1787 * libc/machine/w65/Makefile.am: Ditto.
1788 * libc/machine/xscale/Makefile.am: Ditto.
1789 * libc/machine/xstormy16/Makefile.am: Ditto.
1790 * libc/machine/z8k/Makefile.am: Ditto.
1791 * libc/sys/Makefile.am: Ditto.
1792 * libc/sys/a29khif/Makefile.am: Ditto.
1793 * libc/sys/arc/Makefile.am: Ditto.
1794 * libc/sys/arm/Makefile.am: Ditto.
1795 * libc/sys/d10v/Makefile.am: Ditto.
1796 * libc/sys/decstation/Makefile.am: Ditto.
1797 * libc/sys/h8300hms/Makefile.am: Ditto.
1798 * libc/sys/h8500hms/Makefile.am: Ditto.
1799 * libc/sys/linux/Makefile.am: Ditto.
1800 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1801 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1802 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1803 * libc/sys/linux/machine/Makefile.am: Ditto.
1804 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1805 * libc/sys/m88kbug/Makefile.am: Ditto.
1806 * libc/sys/mmixware/Makefile.am: Ditto.
1807 * libc/sys/netware/Makefile.am: Ditto.
1808 * libc/sys/rdos/Makefile.am: Ditto.
1809 * libc/sys/rtems/Makefile.am: Ditto.
1810 * libc/sys/sh/Makefile.am: Ditto.
1811 * libc/sys/sparc64/Makefile.am: Ditto.
1812 * libc/sys/sun4/Makefile.am: Ditto.
1813 * libc/sys/sysmec/Makefile.am: Ditto.
1814 * libc/sys/sysnec810/Makefile.am: Ditto.
1815 * libc/sys/sysnecv850/Makefile.am: Ditto.
1816 * libc/sys/sysvi386/Makefile.am: Ditto.
1817 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1818 * libc/sys/tic80/Makefile.am: Ditto.
1819 * libc/sys/w65/Makefile.am: Ditto.
1820 * libc/sys/z8ksim/Makefile.am: Ditto.
1821 * libm/Makefile.am: Ditto.
1822 * libm/machine/Makefile.am: Ditto.
1823 * libm/machine/i386/Makefile.am: Ditto.
1824 * libm/machine/spu/Makefile.am: Ditto.
1825
1826 * aclocal.m4: Regenerate.
1827 * iconvdata/aclocal.m4: Regenerate.
1828 * libc/aclocal.m4: Regenerate.
1829 * libc/machine/aclocal.m4: Regenerate.
1830 * libc/machine/i386/aclocal.m4: Regenerate.
1831 * libc/sys/aclocal.m4: Regenerate.
1832 * libc/sys/linux/aclocal.m4: Regenerate.
1833 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1834 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1835 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1836 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1837 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1838 * libm/aclocal.m4: Regenerate.
1839 * libm/machine/aclocal.m4: Regenerate.
1840 * libm/machine/i386/aclocal.m4: Regenerate.
1841
1842 * Makefile.in: Regenerate.
1843 * doc/Makefile.in: Regenerate.
1844 * iconvdata/Makefile.in: Regenerate.
1845 * libc/Makefile.in: Regenerate.
1846 * libc/argz/Makefile.in: Regenerate.
1847 * libc/ctype/Makefile.in: Regenerate.
1848 * libc/errno/Makefile.in: Regenerate.
1849 * libc/iconv/Makefile.in: Regenerate.
1850 * libc/iconv/ccs/Makefile.in: Regenerate.
1851 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1852 * libc/iconv/ces/Makefile.in: Regenerate.
1853 * libc/iconv/lib/Makefile.in: Regenerate.
1854 * libc/locale/Makefile.in: Regenerate.
1855 * libc/machine/Makefile.in: Regenerate.
1856 * libc/machine/a29k/Makefile.in: Regenerate.
1857 * libc/machine/arm/Makefile.in: Regenerate.
1858 * libc/machine/bfin/Makefile.in: Regenerate.
1859 * libc/machine/cris/Makefile.in: Regenerate.
1860 * libc/machine/crx/Makefile.in: Regenerate.
1861 * libc/machine/d10v/Makefile.in: Regenerate.
1862 * libc/machine/d30v/Makefile.in: Regenerate.
1863 * libc/machine/fr30/Makefile.in: Regenerate.
1864 * libc/machine/frv/Makefile.in: Regenerate.
1865 * libc/machine/h8300/Makefile.in: Regenerate.
1866 * libc/machine/h8500/Makefile.in: Regenerate.
1867 * libc/machine/hppa/Makefile.in: Regenerate.
1868 * libc/machine/i386/Makefile.in: Regenerate.
1869 * libc/machine/i960/Makefile.in: Regenerate.
1870 * libc/machine/iq2000/Makefile.in: Regenerate.
1871 * libc/machine/m32c/Makefile.in: Regenerate.
1872 * libc/machine/m32r/Makefile.in: Regenerate.
1873 * libc/machine/m68hc11/Makefile.in: Regenerate.
1874 * libc/machine/m68k/Makefile.in: Regenerate.
1875 * libc/machine/m88k/Makefile.in: Regenerate.
1876 * libc/machine/mips/Makefile.in: Regenerate.
1877 * libc/machine/mn10200/Makefile.in: Regenerate.
1878 * libc/machine/mn10300/Makefile.in: Regenerate.
1879 * libc/machine/mt/Makefile.in: Regenerate.
1880 * libc/machine/necv70/Makefile.in: Regenerate.
1881 * libc/machine/powerpc/Makefile.in: Regenerate.
1882 * libc/machine/sh/Makefile.in: Regenerate.
1883 * libc/machine/sparc/Makefile.in: Regenerate.
1884 * libc/machine/spu/Makefile.in: Regenerate.
1885 * libc/machine/tic4x/Makefile.in: Regenerate.
1886 * libc/machine/tic80/Makefile.in: Regenerate.
1887 * libc/machine/v850/Makefile.in: Regenerate.
1888 * libc/machine/w65/Makefile.in: Regenerate.
1889 * libc/machine/xscale/Makefile.in: Regenerate.
1890 * libc/machine/xstormy16/Makefile.in: Regenerate.
1891 * libc/machine/z8k/Makefile.in: Regenerate.
1892 * libc/misc/Makefile.in: Regenerate.
1893 * libc/posix/Makefile.in: Regenerate.
1894 * libc/reent/Makefile.in: Regenerate.
1895 * libc/search/Makefile.in: Regenerate.
1896 * libc/signal/Makefile.in: Regenerate.
1897 * libc/stdio/Makefile.in: Regenerate.
1898 * libc/stdio64/Makefile.in: Regenerate.
1899 * libc/stdlib/Makefile.in: Regenerate.
1900 * libc/string/Makefile.in: Regenerate.
1901 * libc/sys/Makefile.in: Regenerate.
1902 * libc/sys/a29khif/Makefile.in: Regenerate.
1903 * libc/sys/arc/Makefile.in: Regenerate.
1904 * libc/sys/arm/Makefile.in: Regenerate.
1905 * libc/sys/d10v/Makefile.in: Regenerate.
1906 * libc/sys/decstation/Makefile.in: Regenerate.
1907 * libc/sys/h8300hms/Makefile.in: Regenerate.
1908 * libc/sys/h8500hms/Makefile.in: Regenerate.
1909 * libc/sys/linux/Makefile.in: Regenerate.
1910 * libc/sys/linux/argp/Makefile.in: Regenerate.
1911 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1912 * libc/sys/linux/dl/Makefile.in: Regenerate.
1913 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1914 * libc/sys/linux/intl/Makefile.in: Regenerate.
1915 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1916 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1917 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1918 * libc/sys/linux/machine/Makefile.in: Regenerate.
1919 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1920 * libc/sys/linux/net/Makefile.in: Regenerate.
1921 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1922 * libc/sys/m88kbug/Makefile.in: Regenerate.
1923 * libc/sys/mmixware/Makefile.in: Regenerate.
1924 * libc/sys/netware/Makefile.in: Regenerate.
1925 * libc/sys/rdos/Makefile.in: Regenerate.
1926 * libc/sys/rtems/Makefile.in: Regenerate.
1927 * libc/sys/sh/Makefile.in: Regenerate.
1928 * libc/sys/sparc64/Makefile.in: Regenerate.
1929 * libc/sys/sun4/Makefile.in: Regenerate.
1930 * libc/sys/sysmec/Makefile.in: Regenerate.
1931 * libc/sys/sysnec810/Makefile.in: Regenerate.
1932 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1933 * libc/sys/sysvi386/Makefile.in: Regenerate.
1934 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1935 * libc/sys/tic80/Makefile.in: Regenerate.
1936 * libc/sys/w65/Makefile.in: Regenerate.
1937 * libc/sys/z8ksim/Makefile.in: Regenerate.
1938 * libc/syscalls/Makefile.in: Regenerate.
1939 * libc/time/Makefile.in: Regenerate.
1940 * libc/unix/Makefile.in: Regenerate.
1941 * libm/Makefile.in: Regenerate.
1942 * libm/common/Makefile.in: Regenerate.
1943 * libm/machine/Makefile.in: Regenerate.
1944 * libm/machine/i386/Makefile.in: Regenerate.
1945 * libm/machine/spu/Makefile.in: Regenerate.
1946 * libm/math/Makefile.in: Regenerate.
1947 * libm/mathfp/Makefile.in: Regenerate.
1948
1949 * configure: Regenerate.
1950 * iconvdata/configure: Regenerate.
1951 * libc/configure: Regenerate.
1952 * libc/machine/configure: Regenerate.
1953 * libc/machine/i386/configure: Regenerate.
1954 * libc/sys/configure: Regenerate.
1955 * libc/sys/linux/configure: Regenerate.
1956 * libc/sys/linux/linuxthreads/configure: Regenerate.
1957 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1958 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1959 * libc/sys/linux/machine/configure: Regenerate.
1960 * libc/sys/linux/machine/i386/configure: Regenerate.
1961 * libm/configure: Regenerate.
1962 * libm/machine/configure: Regenerate.
1963 * libm/machine/i386/configure: Regenerate.
1964
aa5341f9
EB
19652007-05-23 Eric Blake <ebb9@byu.net>
1966
1967 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1968 sizeof(void*) is 8 but sizeof(long) is 4.
1969 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1970 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1971 to fix reentrancy and bug on encoding error in multibyte locales.
1972 Always return EOF on read error.
1973
4a9880e0
JJ
19742007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1975
1976 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1977 prototype.
1978 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1979 instead of the slot 0 value, remove any now unused variables, and
1980 for some cases, now store the result in an int vs int*.
1981 * libc/machine/spu/feof.c: Ditto.
1982 * libc/machine/spu/ferror.c: Ditto.
1983 * libc/machine/spu/fflush.c: Ditto.
1984 * libc/machine/spu/fgetc.c: Ditto.
1985 * libc/machine/spu/fgetpos.c: Ditto.
1986 * libc/machine/spu/fgets.c: Ditto.
1987 * libc/machine/spu/fileno.c: Ditto.
1988 * libc/machine/spu/fopen.c: Ditto.
1989 * libc/machine/spu/fprintf.c: Ditto.
1990 * libc/machine/spu/fputc.c: Ditto.
1991 * libc/machine/spu/fputs.c: Ditto.
1992 * libc/machine/spu/fread.c: Ditto.
1993 * libc/machine/spu/freopen.c: Ditto.
1994 * libc/machine/spu/fscanf.c: Ditto.
1995 * libc/machine/spu/fseek.c: Ditto.
1996 * libc/machine/spu/fsetpos.c: Ditto.
1997 * libc/machine/spu/ftell.c: Ditto.
1998 * libc/machine/spu/fwrite.c: Ditto.
1999 * libc/machine/spu/getc.c: Ditto.
2000 * libc/machine/spu/getchar.c: Ditto.
2001 * libc/machine/spu/gets.c: Ditto.
2002 * libc/machine/spu/printf.c: Ditto.
2003 * libc/machine/spu/putc.c: Ditto.
2004 * libc/machine/spu/putchar.c: Ditto.
2005 * libc/machine/spu/puts.c: Ditto.
2006 * libc/machine/spu/remove.c: Ditto.
2007 * libc/machine/spu/rename.c: Ditto.
2008 * libc/machine/spu/scanf.c: Ditto.
2009 * libc/machine/spu/setvbuf.c: Ditto.
2010 * libc/machine/spu/snprintf.c: Ditto.
2011 * libc/machine/spu/sprintf.c: Ditto.
2012 * libc/machine/spu/sscanf.c: Ditto.
2013 * libc/machine/spu/tmpfile.c: Ditto.
2014 * libc/machine/spu/tmpnam.c: Ditto.
2015 * libc/machine/spu/ungetc.c: Ditto.
2016 * libc/machine/spu/vfprintf.c: Ditto.
2017 * libc/machine/spu/vfscanf.c: Ditto.
2018 * libc/machine/spu/vprintf.c: Ditto.
2019 * libc/machine/spu/vscanf.c: Ditto.
2020 * libc/machine/spu/vsnprintf.c: Ditto.
2021 * libc/machine/spu/vsprintf.c: Ditto.
2022 * libc/machine/spu/vsscanf.c: Ditto.
2023
9a3ec862
EB
20242007-05-23 Eric Blake <ebb9@byu.net>
2025
2026 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
2027 Avoid warning when !FLOATING_POINT.
2028 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
2029 slightly.
2030
d48670ed
CV
20312007-05-23 Corinna Vinschen <vinschen@redhat.com>
2032
2033 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
2034 to zero.
2035 * libc/include/argz.h: Guard against multiple inclusion. Guard for
2036 use with C++.
2037
8aab2bc2
EB
20382007-05-18 Eric Blake <ebb9@byu.net>
2039
2040 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
2041 compilers.
2042 * libc/stdio/vfscanf.c: Likewise.
2043
b2250c70
JJ
20442007-05-17 Cary R. <cygcary <at> yahoo.com>
2045
2046 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
2047 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
2048 * libm/math/wf_atan2.c: Ditto.
2049
8aab2bc2 20502007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
2051
2052 * libm/common/Makefile.am: Add support for exp10, exp10f,
2053 pow10, and pow10f functions.
2054 * libm/common/Makefile.in: Regenerated.
2055 * libm/common/s_pow10.c: New file.
2056 * libm/common/sf_pow10.c: Ditto.
2057 * libm/common/s_exp10.c: Ditto.
2058 * libm/common/sf_exp10.c: Ditto.
2059 * libc/include/math.h [!pow10]: New pow10 prototype.
2060 [!pow10f]: New pow10f prototype.
2061 [!exp10]: New exp10 prototype.
2062 [!exp10f]: New exp10f prototype.
2063
487e9075
EB
20642007-05-17 Charles Wilson <cygwin@...>
2065
2066 * stdio/tmpfile.c: Include <sys/stat.h>.
2067 * stdio64/tmpfile64.c: Ditto.
2068
f6560775
EB
20692007-05-16 Eric Blake <ebb9@byu.net>
2070
d009633d
EB
2071 Close security hole in tmpfile.
2072 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
2073 generation and opening the fd.
2074 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
2075
895d76fe
EB
2076 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
2077 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
2078 required by POSIX.
2079 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
2080 avoid clash with <math.h>.
2081
f6560775
EB
2082 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
2083 * libc/search/hash.c (__hash_open): Likewise.
2084
34507ce0
EB
20852007-05-14 Eric Blake <ebb9@byu.net>
2086
2087 Reduce stack size of *printf.
2088 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
2089 in %f. Avoid malloc when possible for %S.
2090 (BUF): Improve stack locality by using smaller size.
2091 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
2092 (exponent): Use smaller stack size.
2093
b8a37af9
EB
20942007-05-11 Eric Blake <ebb9@byu.net>
2095
0962fe91
EB
2096 Minimize printf/scanf size on platforms that don't need C99.
2097 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
2098 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
2099 * configure.in (newlib-io-c99-formats): New configure option.
2100 (_WANT_IO_C99_FORMATS): Define appropriately.
2101 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
2102 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
2103 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
2104 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
2105 Likewise.
2106 * configure: Regenerate.
2107
b8a37af9
EB
2108 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
2109 (get_arg): Support '%a' and '%A'.
2110
81274c67
EB
21112007-05-09 Eric Blake <ebb9@byu.net>
2112
2113 Allow zero size with non-null buf in *asnprintf.
2114 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
2115 user's buf.
2116 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
2117 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
2118 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
2119
38ed4e51
EB
21202007-05-07 Charles Wilson <cygwin@...>
2121
2122 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
2123
b9db5292
EB
21242007-05-03 Eric Blake <ebb9@byu.net>
2125
2126 Add support for asnprintf, and improve *printf documentation.
2127 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
2128 (ELIX_2_SOURCES): ...to this.
2129 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
2130 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
2131 (CHEWOUT_FILES): Include diprintf in documentation.
2132 * libc/stdio/Makefile.in: Regenerate.
2133 * libc/stdio/diprintf.c: Improve documentation.
2134 * libc/stdio/dprintf.c: Likewise.
2135 * libc/stdio/siprintf.c: Likewise.
2136 * libc/stdio/sprintf.c: Likewise.
2137 * libc/stdio/vfprintf.c: Likewise.
2138 * libc/stdio/viprintf.c: Likewise.
2139 * libc/stdio/vsniprintf.c: Consolidate documentation.
2140 * libc/stdio/asiprintf.c: Refer to documentation.
2141 * libc/stdio/asprintf.c: Likewise.
2142 * libc/stdio/fiprintf.c: Likewise.
2143 * libc/stdio/fprintf.c: Likewise.
2144 * libc/stdio/iprintf.c: Likewise.
2145 * libc/stdio/printf.c: Likewise.
2146 * libc/stdio/sniprintf.c: Likewise.
2147 * libc/stdio/vdiprintf.c: Likewise.
2148 * libc/stdio/vdprintf.c: Likewise.
2149 * libc/stdio/vsiprintf.c: Likewise.
2150 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
2151 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
2152 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
2153 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
2154 file.
2155 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
2156 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
2157 typical case.
2158 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
2159 * libc/include/stdio.h: Add prototypes for new functions; sort
2160 existing functions.
2161
fb3937fa
KH
21622007-05-03 Kazu Hirata <kazu@codesourcery.com>
2163
2164 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2165 and memset.S.
2166 * libc/machine/m68k/Makefile.in: Regenerate.
2167 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
2168 * libc/machine/m68k/memset.S: Likewise.
2169
b4f09558
EB
21702007-05-01 Eric Blake <ebb9@byu.net>
2171
2172 * libc/stdio64/local64.h: Delete, move contents to...
2173 * libc/stdio/local.h: ...here.
2174 * libc/stdio64/fdopen64.c: Update includes.
2175 * libc/stdio64/fopen64.c: Likewise.
2176 * libc/stdio64/freopen64.c: Likewise.
2177 * libc/stdio64/fseeko64.c: Likewise.
2178 * libc/stdio64/ftello64.c: Likewise.
2179 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
2180 and stderr with 64-bit offset.
2181 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
2182 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
2183 * libc/stdio/mktemp.c (_gettemp): Likewise.
2184
2babeb3d
JJ
21852007-05-01 Cary R. <cygcary <at> yahoo.com>
2186
2187 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
2188 to treatment of NaN and +-inf arguments.
2189 * libm/math/ef_pow.c: Ditto.
2190 * libm/math/w_pow.c: Ditto.
2191 * libm/math/wf_pow.c: Ditto.
2192 * libm/math/w_acos.c: Fix domain errors to return NaN.
2193 * libm/math/w_asin.c: Ditto.
2194 * libm/math/wf_acos.c: Ditto.
2195 * libm/math/wf_asin.c: Ditto.
2196 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
2197 * libm/math/wf_log.c: Ditto.
2198 * libm/math/wf_log10.c: Ditto.
2199 * libm/math/w_log10.c: Ditto.
2200
643aff87
JJ
22012007-04-27 Jeff Johnston <jjohnstn@redhat.com>
2202
2203 * libc/machine/m68k/Makefile.am: Temporarily remove
2204 memcpy.S and memset.S until logic can be confirmed for
2205 !(__mcoldfile__) case.
2206 * libc/machine/m68k/Makefile.in: Regenerated.
2207
9e5957de
JJ
22082007-04-27 Kazu Hirata <kazu@codesourcery.com>
2209
2210 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2211 and memset.S.
2212 * libc/machine/m68k/Makefile.in: Regenerate.
2213 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
2214
976e9d28
JJ
22152007-04-26 Patrick Mansfield <patmans@us.ibm.com>
2216
2217 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
2218 overridden via machine/ieeefp.h.
2219 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
2220 macros for isnan and related macros.
2221 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
2222 overridden via machine/ieeefp.h.
2223 * libm/machine/spu/Makefile.am: Add new files.
2224 * libm/machine/spu/Makefile.in: Autogenerate with new files.
2225 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
2226 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
2227 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
2228 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
2229 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
2230 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
2231 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
2232
34450bd5
JJ
22332007-04-25 Jeff Johnston <jjohnstn@redhat.com>
2234
2235 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
2236 * libm/common/sf_fpclassify.c: ...here. New file.
2237 * libm/common/Makefile.am: Add sf_fpclassify.c.
2238 * libm/common/Makefile.in: Regenerated.
2239
42cd3e6c
JJ
22402007-04-25 Patrick Mansfield <patmans@us.ibm.com>
2241
2242 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
2243 ppu linux values. This file is a copy of the cris/sys/errno.h plus
2244 a few changes (see spu errno.h comments).
2245
8b366086
JJ
22462007-04-25 Eric Blake <ebb9@byu.net>
2247
2248 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
2249 that promote to int.
2250
245240b5
JJ
22512007-04-25 Patrick Mansfield <patmans@us.ibm.com>
2252
b4f09558 2253 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
2254 we clear the proper bits in the fpscr, and don't set some random ones.
2255
68f2517f
EB
22562007-04-24 Eric Blake <ebb9@byu.net>
2257
5866c023
EB
2258 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
2259 or NaN with %05f.
2260
27e5e9ab
EB
2261 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
2262 _MB_CAPABLE.
2263
68f2517f
EB
2264 * libc/include/limits.h (NL_ARGMAX): Define a default value.
2265 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
2266 NL_ARGMAX, if present.
2267
22682007-04-23 Brian Dessent <brian@dessent.net>
2269
2270 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
2271 has been specified with types 'f', 'F', 'g', or 'G', ensure the
2272 trailing decimal is printed.
2273
714d0b7a
JJ
22742007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
2275
2276 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
2277 file. Override Autoconf-2.59's version of these macros with
2278 fixed handling of multiple adjacent whitespace in arguments.
2279 * aclocal.m4: Regenerated forcefully.
2280 * configure: Ditto.
2281 * Makefile.in: Ditto.
2282 * libc/*Makefile.in: Ditto.
2283 * libc/*aclocal.m4: Ditto.
2284 * libc/*configure: Ditto.
2285 * libm/*Makefile.in: Ditto.
2286 * libm/*aclocal.m4: Ditto.
2287 * libm/*configure: Ditto.
2288
8aebc414
JJ
22892007-04-23 Jeff Johnston <jjohnstn@redhat.com>
2290
2291 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
2292 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
2293 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
2294 * libc/sys/arc/Makefile.in: Regenerated.
2295
fb5750bf
JJ
22962007-04-17 Brian Dessent <brian@dessent.net>
2297
2298 * libc/stdio/sscanf.c: Update documentation comments.
2299 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
2300
ba3ccd63
EB
23012007-04-12 Eric Blake <ebb9@byu.net>
2302
2303 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
2304 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
2305 (get_arg): Handle %1$F, %1$n.
2306
503e2d1c
EB
23072007-04-10 Eric Blake <ebb9@byu.net>
2308
2309 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
2310 CFLAGS=-O0.
2311
17c0c97d
EB
23122007-04-09 Eric Blake <ebb9@byu.net>
2313
2314 * libc/include/stdio.h: Add gcc format attributes to printf and
2315 scanf families.
2316
abe43f42 23172007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 2318
abe43f42
JJ
2319 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
2320 even if the passed in length n is shorter than the source string.
2321 This matches both the non-spu specific and the glibc strxfrm
2322 behaviour.
2323
0efa93c0
KH
23242007-04-04 Mark Mitchell <mark@codesourcery.com>
2325
2326 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
2327 functions registering additional atexit functions.
2328
07278e6c
KH
2329 * testsuite/lib/flags.exp (newlib_include_flags): Drop
2330 -I${newlib_dir}.
2331
748c1917 23322007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 2333
748c1917
JJ
2334 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
2335 prototype.
2336 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
2337 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
2338 * libc/machine/spu/fclose.c: Ditto.
2339 * libc/machine/spu/feof.c: Ditto.
2340 * libc/machine/spu/ferror.c: Ditto.
2341 * libc/machine/spu/fflush.c: Ditto.
2342 * libc/machine/spu/fgetc.c: Ditto.
2343 * libc/machine/spu/fgetpos.c: Ditto.
2344 * libc/machine/spu/fgets.c: Ditto.
2345 * libc/machine/spu/fileno.c: Ditto.
2346 * libc/machine/spu/fopen.c: Ditto.
2347 * libc/machine/spu/fprintf.c: Ditto.
2348 * libc/machine/spu/fputc.c: Ditto.
2349 * libc/machine/spu/fputs.c: Ditto.
2350 * libc/machine/spu/fread.c: Ditto.
2351 * libc/machine/spu/freopen.c: Ditto.
2352 * libc/machine/spu/fscanf.c: Ditto.
2353 * libc/machine/spu/fseek.c: Ditto.
2354 * libc/machine/spu/fsetpos.c: Ditto.
2355 * libc/machine/spu/ftell.c: Ditto.
2356 * libc/machine/spu/fwrite.c: Ditto.
2357 * libc/machine/spu/getc.c: Ditto.
2358 * libc/machine/spu/getchar.c: Ditto.
2359 * libc/machine/spu/gets.c: Ditto.
2360 * libc/machine/spu/perror.c: Ditto.
2361 * libc/machine/spu/printf.c: Ditto.
2362 * libc/machine/spu/putc.c: Ditto.
2363 * libc/machine/spu/putchar.c: Ditto.
2364 * libc/machine/spu/puts.c: Ditto.
2365 * libc/machine/spu/remove.c: Ditto.
2366 * libc/machine/spu/rename.c: Ditto.
2367 * libc/machine/spu/rewind.c: Ditto.
2368 * libc/machine/spu/scanf.c: Ditto.
2369 * libc/machine/spu/setbuf.c: Ditto.
2370 * libc/machine/spu/setvbuf.c: Ditto.
2371 * libc/machine/spu/snprintf.c: Ditto.
2372 * libc/machine/spu/sprintf.c: Ditto.
2373 * libc/machine/spu/sscanf.c: Ditto.
2374 * libc/machine/spu/tmpfile.c: Ditto.
2375 * libc/machine/spu/tmpnam.c: Ditto.
2376 * libc/machine/spu/ungetc.c: Ditto.
2377 * libc/machine/spu/vfprintf.c: Ditto.
2378 * libc/machine/spu/vfscanf.c: Ditto.
2379 * libc/machine/spu/vprintf.c: Ditto.
2380 * libc/machine/spu/vscanf.c: Ditto.
2381 * libc/machine/spu/vsnprintf.c: Ditto.
2382 * libc/machine/spu/vsprintf.c: Ditto.
2383 * libc/machine/spu/vsscanf.c: Ditto.
2384
a706aa2e
JJ
23852007-04-04 Jeff Johnston <jjohnstn@redhat.com>
2386
2387 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
2388
db7aa4b1
JJ
23892007-04-04 Eric Blake <ebb9@byu.net>
2390
2391 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
2392 (asiprintf): Avoid overhead.
2393 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
2394 (asprintf): Avoid overhead.
2395 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
2396 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
2397 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
2398 (fiprintf): Avoid overhead.
2399 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
2400 (fprintf): Avoid overhead.
2401 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
2402 (iprintf): Avoid overhead.
2403 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
2404 (printf): Avoid overhead.
2405 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
2406 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
2407 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
2408 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
2409 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
2410 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
2411 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
2412 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
2413 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
2414 vdiprintf.c.
2415 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
2416 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
2417
2c58b5a5
DK
24182007-03-30 Dave Korn <dave.korn@artimi.com>
2419
2420 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
2421 conflicting inline semantics between C99 and GNU89.
2422 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
2423 compatible with -fkeep-inline-functions usage.
2424 (__sputc_r): Likewise for consistency even though disabled.
2425
519aec5d
NC
24262007-03-29 Nick Clifton <nickc@redhat.com>
2427
2428 Reflect changes made to generic vfprintf.c:
2429 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2430 and add a "struct reent *" argument.
2431 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2432 argument and call _VFPRINTF_R instead of VFPRINTF.
2433 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2434 Fix uses of __sprint() and __sbprintf.
2435
24362007-03-20 Nick Clifton <nickc@redhat.com>
2437
2438 Reflect changes made to generic vfprintf.c:
2439 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2440 and add a "struct reent *" argument.
2441 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2442 argument and call _VFPRINTF_R instead of VFPRINTF.
2443 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2444 Fix uses of __sprint() and __sbprintf.
2445
443871a6
JJ
24462007-03-16 Charles Wilson <cygwin@...>
2447
2448 * libc/argz/argz_insert.c: "before" pointer is
2449 invalid after *argz realloc. Compute offset
2450 between "before" and *argz, and use it after
2451 reallocation instead.
2452
a167bcd8
JJ
24532007-03-16 Eric Blake <ebb9@byu.net>
2454
2455 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
2456 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2457
826b5591
JJ
24582007-03-15 Jeff Johnston <jjohnstn@redhat.com>
2459
2460 * configure.in: Add new --enable-newlib-reent-small option.
2461 * configure: Regenerated.
2462 * acconfig.h: Add _WANT_REENT_SMALL.
2463 * newlib.hin: Regenerated minus PACKAGE macros to add
2464 _WANT_REENT_SMALL macro.
2465 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
2466 if not already set.
2467 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
2468 there is no buffer.
2469 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
2470 use reentrant pointer passed in when resetting the file
2471 pointer to one of the std streams.
2472
14ba5e14
JJ
24732007-03-15 Eric Blake <ebb9@byu.net>
2474
2475 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
2476 (__smakebuf): Rename...
2477 (__smakebuf_r): to this.
2478 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
2479 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
2480 allocation, then rename...
2481 (__smakebuf_r): ...to this and fix reentrancy.
2482 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
2483 allocation, then rename...
2484 (__swsetup_r): ...to this and fix reentrancy.
2485 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
2486 * libc/stdio/refill.c (__srefill_r): Likewise.
2487 * libc/stdio/fclose.c (_fclose_r): Likewise.
2488 * libc/stdio/fread.c (_fread_r): Likewise.
2489 * libc/stdio/freopen.c (_freopen_r): Likewise.
2490 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2491 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2492 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
2493 failed asprintf allocation, and fix reentrancy.
2494 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
2495 as required by POSIX.
2496 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
2497 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
2498 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2499
99304ce6
JJ
25002007-03-12 Eric Blake <ebb9@byu.net>
2501
2502 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
2503 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
2504 allocation to caller.
2505 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
2506 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
2507 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2508
d9edc05f
JJ
25092007-02-23 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * libm/math/w_pow.c: Fix typo in documentation comment.
2512
59673dbb
JJ
25132007-02-21 Patrick Mansfield <patmans@us.ibm.com>
2514
2515 * libc/reent/timer.c: Removed (split into two new files).
2516 * libc/reent/timesr.c: New file for _times_r.
2517 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
2518 * reent/Makefile.in: Remove timer.c, add timesr.c and
2519 gettimeofdayr.c.
2520 * libc/reent/Makefile.am: Regenerate.
2521
547c5c61
JJ
25222007-02-20 Patrick Mansfield <patmans@us.ibm.com>
2523
2524 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
2525
3b7e017e
JJ
25262007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2527
2528 * libc/machine/spu/Makefile.am: Add new objects.
2529 * libc/machine/spu/Makefile.in: Regenerated.
2530 * libc/machine/spu/fiprintf.c: New file. Add implementation of
2531 integer-only version.
2532 * libc/machine/spu/fiscanf.c: Ditto.
2533 * libc/machine/spu/iprintf.c: Ditto.
2534 * libc/machine/spu/iscanf.c: Ditto.
2535 * libc/machine/spu/siprintf.c: Ditto.
2536 * libc/machine/spu/siscanf.c: Ditto.
2537 * libc/machine/spu/sniprintf.c: Ditto.
2538 * libc/machine/spu/vfiprintf.c: Ditto.
2539 * libc/machine/spu/vfiscanf.c: Ditto.
2540 * libc/machine/spu/viprintf.c: Ditto.
2541 * libc/machine/spu/viscanf.c: Ditto.
2542 * libc/machine/spu/vsiprintf.c: Ditto.
2543 * libc/machine/spu/vsiscanf.c: Ditto.
2544 * libc/machine/spu/vsniprintf.c: Ditto.
2545 * libc/machine/spu/fprintf.c: Add support for integer-only
2546 version.
2547 * libc/machine/spu/fscanf.c: Ditto.
2548 * libc/machine/spu/printf.c: Ditto.
2549 * libc/machine/spu/scanf.c: Ditto.
2550 * libc/machine/spu/snprintf.c: Ditto.
2551 * libc/machine/spu/sprintf.c: Ditto.
2552 * libc/machine/spu/sscanf.c: Ditto.
2553 * libc/machine/spu/vfprintf.c: Ditto.
2554 * libc/machine/spu/vfscanf.c: Ditto.
2555 * libc/machine/spu/vprintf.c: Ditto.
2556 * libc/machine/spu/vscanf.c: Ditto.
2557 * libc/machine/spu/vsnprintf.c: Ditto.
2558 * libc/machine/spu/vsprintf.c: Ditto.
2559 * libc/machine/spu/vsscanf.c: Ditto.
2560
960e5d8f
JJ
25612007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2562
2563 * libc/include/stdio.h: Add declaration for vsiprintf.
2564
958e329d
JJ
25652007-02-14 Patrick Mansfield <patmans@us.ibm.com>
2566
2567 Add a floating point environment for SPU (cell):
2568
2569 * configure.host: add libm_machine_dir=spu.
2570 * libm/machine/configure: Add spu.
2571 * libm/machine/configure.in: regenerated with spu added.
2572 * libc/machine/spu/include/fenv.h: New file.
2573 * libc/machine/spu/sys/fenv.h: Ditto.
2574 * libm/machine/spu/Makefile.am: Ditto.
2575 * libm/machine/spu/Makefile.in: Ditto.
2576 * libm/machine/spu/aclocal.m4: Ditto.
2577 * libm/machine/spu/configure: Ditto.
2578 * libm/machine/spu/configure.in: Ditto.
2579 * libm/machine/spu/fe_dfl_env.c: Ditto.
2580 * libm/machine/spu/feclearexcept.c: Ditto.
2581 * libm/machine/spu/fegetenv.c: Ditto.
2582 * libm/machine/spu/fegetexceptflag.c: Ditto.
2583 * libm/machine/spu/fegetround.c: Ditto.
2584 * libm/machine/spu/feholdexcept.c: Ditto.
2585 * libm/machine/spu/feraiseexcept.c: Ditto.
2586 * libm/machine/spu/fesetenv.c: Ditto.
2587 * libm/machine/spu/fesetexceptflag.c: Ditto.
2588 * libm/machine/spu/fesetround.c: Ditto.
2589 * libm/machine/spu/fetestexcept.c: Ditto.
2590 * libm/machine/spu/feupdateenv.c: Ditto.
2591 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2592 * libm/machine/spu/headers/fefpscr.h: Ditto.
2593 * libm/machine/spu/headers/fegetenv.h: Ditto.
2594 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2595 * libm/machine/spu/headers/fegetround.h: Ditto.
2596 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2597 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2598 * libm/machine/spu/headers/fesetenv.h: Ditto.
2599 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2600 * libm/machine/spu/headers/fesetround.h: Ditto.
2601 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2602 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2603
4f7e59f2
CV
26042007-02-14 Corinna Vinschen <corinna@vinschen.de>
2605
2606 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2607 Cygwin.
2608
d7e4c7a8
CV
26092007-02-08 Corinna Vinschen <corinna@vinschen.de>
2610
2611 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2612 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2613
0e37a2e6
CV
26142007-02-07 Corinna Vinschen <corinna@vinschen.de>
2615
2616 * libc/include/sys/features.h: Add definition of all supported
2617 _POSIX_xxx values for Cygwin.
2618 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2619 on Cygwin.
2620 (pthread_rwlockattr_t): Ditto.
2621 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2622 required by SUSv3. Unify formatting.
2623
6699fabb
JJ
26242007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2625
2626 * libc/include/sys/errno.h: Add ECANCELED.
2627
22a339e8 26282007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2629 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2630
2631 * libc/machine/spu/Makefile.am: Add objects.
2632 * libc/machine/spu/Makefile.in: Regenerated.
2633 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2634 implementation.
2635 * libc/machine/spu/snprintf.c: Ditto.
2636 * libc/machine/spu/sprintf.c: Ditto.
2637 * libc/machine/spu/sscanf.c: Ditto.
2638 * libc/machine/spu/remove.c: Ditto.
2639 * libc/machine/spu/rename.c: Ditto.
2640 * libc/machine/spu/tmpnam.c: Ditto.
2641 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2642 stdio stuffs.
2643 * libc/machine/spu/vsprintf.c: Ditto.
2644
7d592bb1 26452007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2646 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2647
2648 * configure.host: Enable SPU specific stdio directory.
2649 * libc/machine/spu/Makefile.am: Add objects.
2650 * libc/machine/spu/Makefile.in: Regenerated.
2651 * libc/machine/spu/c99ppe.h: Add macros and function
2652 declarations to initialize SPU specific stdio stuffs.
2653 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2654 specific FILE structures.
2655 * libc/machine/spu/perror.c: Add initialization routine of
2656 stdio stuffs.
2657 * libc/machine/spu/printf.c: Ditto.
2658 * libc/machine/spu/putchar.c: Ditto.
2659 * libc/machine/spu/puts.c: Ditto.
2660 * libc/machine/spu/vprintf.c: Ditto.
2661 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2662 implementation.
2663 * libc/machine/spu/feof.c: Ditto.
2664 * libc/machine/spu/ferror.c: Ditto.
2665 * libc/machine/spu/fileno.c: Ditto.
2666 * libc/machine/spu/fopen.c: Ditto.
2667 * libc/machine/spu/fclose.c: Ditto.
2668 * libc/machine/spu/freopen.c: Ditto.
2669 * libc/machine/spu/fflush.c: Ditto.
2670 * libc/machine/spu/fseek.c: Ditto.
2671 * libc/machine/spu/ftell.c: Ditto.
2672 * libc/machine/spu/rewind.c: Ditto.
2673 * libc/machine/spu/fgetpos.c: Ditto.
2674 * libc/machine/spu/fsetpos.c: Ditto.
2675 * libc/machine/spu/fread.c: Ditto.
2676 * libc/machine/spu/fwrite.c: Ditto.
2677 * libc/machine/spu/getc.c: Ditto.
2678 * libc/machine/spu/getchar.c: Ditto.
2679 * libc/machine/spu/gets.c: Ditto.
2680 * libc/machine/spu/fgetc.c: Ditto.
2681 * libc/machine/spu/fgets.c: Ditto.
2682 * libc/machine/spu/ungetc.c: Ditto.
2683 * libc/machine/spu/putc.c: Ditto.
2684 * libc/machine/spu/fputc.c: Ditto.
2685 * libc/machine/spu/fputs.c: Ditto.
2686 * libc/machine/spu/vfprintf.c: Ditto.
2687 * libc/machine/spu/vfscanf.c: Ditto.
2688 * libc/machine/spu/fprintf.c: Ditto.
2689 * libc/machine/spu/fscanf.c: Ditto.
2690 * libc/machine/spu/scanf.c: Ditto.
2691 * libc/machine/spu/vscanf.c: Ditto.
2692 * libc/machine/spu/setbuf.c: Ditto.
2693 * libc/machine/spu/setvbuf.c: Ditto.
2694 * libc/machine/spu/tmpfile.c: Ditto.
2695
26962007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2697
2698 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2699 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2700 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2701 structure.
2702 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2703 <sys/custom_file.h> to define custom FILE structure.
2704 * libc/include/sys/custom_file.h: New default header file
2705 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2706 * libc/machine/spu/sys/custom_file.h: New file.
2707
0733ae3b
JJ
27082007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2709
2710 * configure.host: Define stdio directory as a variable.
2711 * libc/Makefile.am: Define stdio related names
2712 as macros.
2713 * libc/configure.in: Add detection routine of stdio directory.
2714 * libc/Makefile.in: Regenerated.
2715 * libc/configure: Ditto.
2716 * libc/argz/Makefile.in: Ditto.
2717 * libc/ctype/Makefile.in: Ditto.
2718 * libc/errno/Makefile.in: Ditto.
2719 * libc/iconv/Makefile.in: Ditto.
2720 * libc/iconv/ccs/Makefile.in: Ditto.
2721 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2722 * libc/iconv/ces/Makefile.in: Ditto.
2723 * libc/iconv/lib/Makefile.in: Ditto.
2724 * libc/locale/Makefile.in: Ditto.
2725 * libc/misc/Makefile.in: Ditto.
2726 * libc/posix/Makefile.in: Ditto.
2727 * libc/reent/Makefile.in: Ditto.
2728 * libc/search/Makefile.in: Ditto.
2729 * libc/signal/Makefile.in: Ditto.
2730 * libc/stdio/Makefile.in: Ditto.
2731 * libc/stdio64/Makefile.in: Ditto.
2732 * libc/stdlib/Makefile.in: Ditto.
2733 * libc/string/Makefile.in: Ditto.
2734 * libc/syscalls/Makefile.in: Ditto.
2735 * libc/time/Makefile.in: Ditto.
2736 * libc/unix/Makefile.in: Ditto.
2737
cb7ba0e1
BE
27382007-01-30 Ben Elliston <bje@au.ibm.com>
2739
c7cd7849
BE
2740 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2741 fmt member.
2742 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2743 (printf): Pass fmt to va_start to suppress a warning.
2744
cb7ba0e1
BE
2745 * libc/search/hash.c (init_hash): Make `info' parameter const.
2746
f89533c1
JJ
27472007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2748
2749 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2750 * libc/machine/spu/vec_literal.h: Ditto.
2751 * libc/machine/spu/strncmp.c: Ditto.
2752
94b91791
JJ
27532007-01-15 Joseph Myers <joseph@codesourcery.com>
2754 Kazu Hirata <kazu@codesourcery.com>
2755
2756 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2757 for E500V1 and E500V2.
2758
26190be1
JJ
27592007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2760
2761 * libm/configure.in: Always configure machine directory.
2762 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2763 unconditionally.
2764 * libm/configure: Regenerated.
2765 * libm/Makefile.in: Ditto.
2766 * libm/*/Makefile.in: Ditto.
2767
8e0e8f40
JJ
27682007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2769
2770 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2771
9cd4a2de
JJ
27722007-01-02 Ben Elliston <bje@au.ibm.com>
2773
ba3ccd63
EB
2774 * doc/makedoc.c: Include <stdlib.h>.
2775 (malloc, realloc): Remove extern declarations.
9cd4a2de 2776
5fdec53f 27772006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2778
ba3ccd63
EB
2779 * NEWS: Update with 1.15.0 info.
2780 * README: Ditto.
2781 * acinclude.m4: Change version number to 1.15.0.
2782 * aclocal.m4: Regenerated.
2783 * configure: Ditto.
2784 * doc/aclocal.m4: Ditto.
2785 * doc/configure: Ditto.
2786 * libc/*/aclocal.m4: Ditto.
2787 * libc/*/configure: Ditto.
2788 * libc/libc.texinfo: Ditto.
2789 * libm/*/aclocal.m4: Ditto.
2790 * libm/*/configure: Ditto.
2791 * libm/libm.texinfo: Ditto.
2792 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2793
def943c1
JJ
27942006-12-18 Kazu Hirata <kazu@codesourcery.com>
2795
2796 Merge from newlib-csl-20060320-branch:
2797 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2798 Kazu Hirata <kazu@codesourcery.com>
2799
2800 * configure.host: Recognize fido.
2801
17c0c97d 28022006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2803
ba3ccd63
EB
2804 * libc/machine/spu/c99ppe.h: New file
2805 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2806 * libc/machine/spu/printf.c: New file
2807 * libc/machine/spu/putchar.c: New file
2808 * libc/machine/spu/puts.c: New file
2809 * libc/machine/spu/vprintf.c: New file
2810 * libc/machine/spu/vsnprintf.c: New file
2811 * libc/machine/spu/vsprintf.c: New file
2812 * libc/machine/spu/Makefile.am: Add new targets.
2813 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2814
78b7c6f8
JJ
28152006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2816
ba3ccd63
EB
2817 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2818 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2819
f5222560
JJ
28202006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2821
2822 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2823 2.6.5 version of Doug Lea's malloc which is the basis of
2824 this code.
2825
9b354d7f
JJ
28262006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2827
2828 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2829
4c0b8a07 28302006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2831 Eric Blake <ebb9@byu.net>
4c0b8a07 2832
ba3ccd63
EB
2833 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2834 read but unused data.
2835 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2836 even read streams may have side effects that must happen.
4c0b8a07 2837
dd52bb72
JJ
28382006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2839
ba3ccd63 2840 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2841 correctly.
2842
28432006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2844
ba3ccd63 2845 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2846
4e051d91
JJ
28472006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2848
ba3ccd63 2849 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2850 cell spu.
4e051d91 2851
489bb390
JJ
28522006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2853
2854 * libc/machine/spu/strncpy.c: Add padding.
2855
3e2d7a91
JJ
28562006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2857
17c0c97d 2858 * testsuite/newlib.string/tstring.c:
3e2d7a91 2859
0a2ef998
JJ
28602006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2861
2862 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2863 * libc/machine/spu/strrchr.c: Ditto.
2864
75190a8f
JJ
28652006-11-30 Lev Bishop <lev.bishop@gmail.com>
2866
2867 * libc/include/math.h: Allow C99 functions/macros to be
2868 defined for C++ even when __STRICT_ANSI__.
2869
7d794364
JJ
28702006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2871
2872 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2873 an asprintf-family buffer, make the default initial size 64.
2874
c4c7f139
JJ
28752006-11-29 Eric Blake <ebb9@byu.net>
2876
2877 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2878 asprintf, as well as quadratic realloc behavior.
2879
28802006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2881
2882 * libc/machine/spu/memset.c: Fix type of explicit cast.
2883 * libc/machine/spu/strncmp.c: Add explicit cast.
2884 * libc/machine/spu/strrchr.c: Ditto.
2885 * libc/machine/spu/strspn.c: Ditto.
2886
9bc5b618
JJ
28872006-11-22 Luca Barbato <lu_zero@gentoo.org>
2888
2889 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2890 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2891 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2892 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2893 * libc/machine/spu/strncat.c: Explicit cast.
2894 * libc/machine/spu/strncmp.c: Use spu_splats.
2895 * libc/machine/spu/strncpy.c: Explicit cast.
2896 * libc/machine/spu/strrchr.c: Use spu_splats.
2897 * libc/machine/spu/strspn.c: Use spu_splats.
2898
52077eb2
JJ
28992006-11-15 Till Straumann <strauman@slac.stanford.edu>
2900
2901 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2902
d1a2fe1a
JJ
29032006-11-14 Eric Blake <ebb9@byu.net>
2904
2905 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2906 (chclass): ' is a flag. j, t, and z are modifiers.
2907
9842c7e4 29082006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2909
2910 * configure.host: Add support for bfin.
2911 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2912 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2913 * libc/machine/bfin/aclocal.m4: Generate.
2914 * libc/machine/bfin/configure.in: New.
2915 * libc/machine/bfin/configure: Generate.
2916 * libc/machine/bfin/Makefile.am: New.
2917 * libc/machine/bfin/Makefile.in: Generate.
2918 * libc/machine/bfin/setjmp.S: New.
2919 * libc/machine/bfin/longjmp.S: New.
2920 * libc/machine/configure.in: Add bfin support.
2921 * libc/machine/configure: Generate.
2922
b1755fe7
CV
29232006-11-07 Corinna Vinschen <corinna@vinschen.de>
2924
2925 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2926 (_PC_FILESIZEBITS): Add definition.
2927 (_PC_2_SYMLINKS): Ditto.
2928 (_PC_SYMLINK_MAX): Ditto.
2929
d384d868
JJ
29302006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2931
2932 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2933 version optimized for the cell spu.
2934 * libc/machine/spu/memmove.c: Ditto.
2935 * libc/machine/spu/memset.c: Ditto.
2936 * libc/machine/spu/strcat.c: Ditto.
2937 * libc/machine/spu/strchr.c: Ditto.
2938 * libc/machine/spu/strcmp.c: Ditto.
2939 * libc/machine/spu/strcpy.c: Ditto.
2940 * libc/machine/spu/strcspn.c: Ditto.
2941 * libc/machine/spu/strlen.c: Ditto.
2942 * libc/machine/spu/strncat.c: Ditto.
2943 * libc/machine/spu/strncmp.c: Ditto.
2944 * libc/machine/spu/strncpy.c: Ditto.
2945 * libc/machine/spu/strpbrk.c: Ditto.
2946 * libc/machine/spu/strrchr.c: Ditto.
2947 * libc/machine/spu/strspn.c: Ditto.
2948 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2949 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2950 removing altivec style initializers.
2951 * libc/machine/spu/Makefile.am: Add new files to list so they build
2952 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2953
f29fdb2f
JJ
29542006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2955
2956 * README: Add a brief section on how to regenerate
2957 configuration files in newlib.
2958
884dc68f
JJ
29592006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2960
2961 * libc/include/math.h: (exception): Add a comment
2962 telling fixincludes that we handle C vs. C++ issue.
2963
f8fe93f9
JJ
29642006-10-11 Yang Tse <yangsita@gmail.com>
2965
6d441576
CV
2966 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2967 braced-groups.
f8fe93f9 2968
d95c5792
CV
29692006-10-11 Corinna Vinschen <corinna@vinschen.de>
2970
2971 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2972
e5e148d1
JJ
29732006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2974
2975 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2976 for clearerr, feof, or fileno.
17c0c97d
EB
2977 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2978 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2979 fake files, one for each standard stream.
2980 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2981 argument. For _REENT_SMALL, reset the file pointer if it
2982 matches one of the fake std stream pointers.
2983 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2984 argument.
2985 * libc/stdio/fclose.c: Ditto.
2986 * libc/stdio/feof.c: Ditto.
2987 * libc/stdio/ferror.c: Ditto.
2988 * libc/stdio/fflush.c: Ditto.
2989 * libc/stdio/fgetc.c: Ditto.
2990 * libc/stdio/fgets.c: Ditto.
2991 * libc/stdio/fileno.c: Ditto.
2992 * libc/stdio/findfp.c: Ditto.
2993 * libc/stdio/fputc.c: Ditto.
2994 * libc/stdio/fputs.c: Ditto.
2995 * libc/stdio/fread.c: Ditto.
2996 * libc/stdio/freopen.c: Ditto.
2997 * libc/stdio/fseek.c: Ditto.
2998 * libc/stdio/ftell.c: Ditto.
2999 * libc/stdio/fwrite.c: Ditto.
3000 * libc/stdio/getc.c: Ditto.
3001 * libc/stdio/getdelim.c: Ditto.
3002 * libc/stdio/putc.c: Ditto.
3003 * libc/stdio/refill.c: Ditto.
3004 * libc/stdio/setvbuf.c: Ditto.
3005 * libc/stdio/ungetc.c: Ditto.
3006 * libc/stdio/vfprintf.c: Ditto.
3007 * libc/stdio/vfscanf.c: Ditto.
3008 * libc/stdio/wbuf.c: Ditto.: Ditto.
3009 * libc/stdio/wsetup.c: Ditto.
3010 * libc/stdio64/freopen64.c: Ditto.
3011 * libc/stdio64/fseeko64.c: Ditto.
3012 * libc/stdio64/ftello64.c: Ditto.
3013 * libc/machine/powerpc/vfprintf.c: Ditto.
3014 * libc/machine/powerpc/vfscanf.c: Ditto.
3015
e83c3d0a
JJ
30162006-09-22 Paul Brook <paul@codesourcery.com>
3017
3018 * libc/include/sys/reent.h: Define and use __reent_assert.
3019
23754b33
JJ
30202006-09-13 Joel Sherrill <joel@oarcorp.com>
3021
3022 * libc/include/pthread.h: Add pthread barriers,
3023 rwlocks, and spinlocks. Change const to
3024 _CONST and prefix parameter names with
3025 an underscore.
3026 * libc/include/sys/types.h: Add id and attribute
3027 types for barriers, wrlocks, and spinlocks.
3028 * libc/include/sys/features.h: Enable barriers,
3029 wrlocks, and spinlocks for RTEMS.
3030
ba1bb1b3
JJ
30312006-09-13 Patrick Mansfield <patmans@us.ibm.com>
3032
3033 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
3034 supposed to be writable.
3035 * libm/common/s_lib_ver.c: Ditto.
3036
8f9f25da
JJ
30372006-09-12 Paul Brook <paul@codesourcery.com>
3038
3039 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
3040
0324070e
JJ
30412006-09-07 Masaki Muranaka <monaka@monami-software.com>
3042
8f9f25da 3043
0324070e
JJ
3044 * libc/machine/xstormy16/Makefile.am:
3045 Add $(lpfx) prefix to LIBADD objects.
3046 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
3047 * libc/machine/xstormy16/Makefile.in: Regenerated.
3048
d39002f9
JJ
30492006-09-06 Eric Blake <ebb9@byu.net>
3050
3051 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
3052 't', and 'z' modifiers.
3053
c023e783
KH
30542006-09-01 Kazu Hirata <kazu@codesourcery.com>
3055
3056 Merge from newlib-csl-20060320-branch:
3057 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
3058
3059 * configure.host: Tell it we have _rename and _system when
3060 building m68k-unknown-elf.
3061
85974265
JJ
30622006-08-29 Paul Brook <paul@codesourcery.com>
3063
3064 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
3065
c1f828e5
JJ
30662006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
3067
3068 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
3069 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
3070 This is needed to build all AVR and H8300 RTEMS multilib variants.
3071
b8e05321
JJ
30722006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
3073
3074 * libc/machine/configure.in: Add configuration for SPU.
3075 * libc/machine/configure: Regenerated.
3076 * libc/machine/spu/memcpy.c: Include string.h.
3077
380d8ec4
JJ
30782006-08-22 Eric Blake <ebb9@byu.net>
3079
3080 * libc/posix/popen.c (popen): Don't close output end of pipe in
3081 child if stdout was closed on entry.
3082 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
3083
a0922fcb
CF
30842006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
3085
3086 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
3087 line.
3088
84a79403
JJ
30892006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
3090
17c0c97d
EB
3091 * libc/time/gmtime.c: Correct man page; clock is not a
3092 local time and no conversion occurs.
84a79403 3093
0d8de89c
JJ
30942006-08-16 Joel Schopp <jschopp@austin.ibm.com>
3095
ba3ccd63
EB
3096 * configure.host (newlib_cflags) [spu]: Add special compiler
3097 options to reduce size.
0d8de89c 3098
734e8414
JJ
30992006-08-16 Joel Schopp <jschopp@austin.ibm.com>
3100
3101 * configure.host: Add spu support.
3102 * libc/include/stdint.h: Ditto.
3103 * libc/include/machine/ieeefp.h: Ditto.
3104 * libc/include/machine/setjmp.h: Ditto.
3105 * libc/include/sys/config.h: Ditto.
3106 * libc/include/sys/types.h: Ditto.
3107 * libc/machine/spu/Makefile.am: New file.
3108 * libc/machine/spu/Makefile.in: Ditto.
3109 * libc/machine/spu/aclocal.m4: Ditto.
3110 * libc/machine/spu/configure: Ditto.
3111 * libc/machine/spu/configure.in: Ditto.
3112 * libc/machine/spu/memcpy.c: Ditto.
3113 * libc/machine/spu/setjmp.S: Ditto.
3114
079b45dc
JJ
31152006-08-03 J"orn Rennecke <joern.rennecke@st.com>
3116
3117 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
3118 properly.
3119
2ebf115d
JJ
31202006-08-01 Jeff Johnston <jjohnstn@redhat.com>
3121
3122 * libc/Makefile.am: Add libc_TEXINFOS dependency on
3123 generated .texi files.
3124 * libm/Makefile.am: Add libm_TEXINFOS dependency on
3125 generated .texi files.
3126 * libc/Makefile.in: Regenerated.
3127 * libm/Makefile.in: Ditto.
3128
a1213494 31292006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 3130 Nigel Stephens <nigel@mips.com>
a1213494
JJ
3131
3132 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
3133 define this to force _impure_ptr to live in the .sdata section.
3134
0a85d87f
JJ
31352006-07-31 Jeff Johnston <jjohnstn@redhat.com>
3136
3137 * acinclude.m4: Check for readelf tool.
3138 * configure.in: Use ${READELF} instead of hard-coding.
3139 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3140
17c0c97d 31412006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
3142
3143 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
3144 to avoid conflict with newer glibc's revision of mremap.
3145
17c0c97d 31462006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 3147
17c0c97d 3148 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
3149 floating-point format support. Also redefine
3150 dword0 and dword1 macros.
3151 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
3152 to prevent setting dword1 which is an rvalue only.
3153
17c0c97d 31542006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
3155
3156 * libc/stdlib/Makefile.am: Add new gdtoa routines.
3157 * libc/stdlib/Makefile.in: Regenerated.
3158 * libc/stdlib/gd_qnan.h: New file.
3159 * libc/stdlib/gdtoa-gethex.c: Ditto.
3160 * libc/stdlib/gdtoa-hexnan.c: Ditto.
3161 * libc/stdlib/gdtoa.h: Ditto.
3162 * libc/stdlib/mprec.c: Add new helper routines needed by
3163 the new gdtoa code.
3164 * libc/stdlib/mprec.h: Integrate some defines and prototypes
3165 used by gdtoa routines here.
3166 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
3167 which adds C99 support such as nan, inf, and hexadecimal input
3168 format.
3169
c8956c6f
JJ
31702006-06-15 Corinna Vinschen <corinna@vinschen.de>
3171
3172 * libc/include/stdio.h (__sgetc_r): Fix typo.
3173 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
3174 * libc/stdio/rget.c (__srbuf): Reinstantiate.
3175 * libc/stdio/wbuf.c (__swbuf): Ditto.
3176
17c0c97d 31772006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
3178
3179 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 3180 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
3181 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
3182 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
3183 new reentrant I/O functions/macros for reading/writing.
3184 * libc/stdio/fgets.c: Ditto.
3185 * libc/stdio/fputc.c: Ditto.
3186 * libc/stdio/fputs.c: Ditto.
3187 * libc/stdio/fread.c: Ditto.
3188 * libc/stdio/fseek.c: Ditto.
3189 * libc/stdio64/fseeko64.c: Ditto.
3190 * libc/stdio/fwrite.c: Ditto.
3191 * libc/stdio/getc.c: Ditto.
3192 * libc/stdio/getc_u.c: Ditto.
3193 * libc/stdio/getchar.c: Ditto.
3194 * libc/stdio/getchar_u.c: Ditto.
3195 * libc/stdio/putc.c: Ditto.
3196 * libc/stdio/putc_u.c: Ditto.
3197 * libc/stdio/putchar.c: Ditto.
3198 * libc/stdio/puts.c: Ditto.
3199 * libc/stdio/vfprintf.c: Ditto.
3200 * libc/stdio/vfscanf.c: Ditto.
3201 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
3202 Change all previous callers of __sfvwrite. Set errno to EBADF and
3203 set error flag on if attempt is made to write to file that does not
3204 allow writing.
3205 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
3206 * libc/stdio/local.h: Ditto.
3207 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
3208 Set errno to EBADF and the error flag on if attempt is made to
3209 read unreadable file. Change all previous callers of __srefill.
3210 * libc/stdio/rget.c
3211 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
3212 all previous callers of __swbuf.
3213 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
3214 huge value macros are already defined correctly for i386 by <math.h>.
3215
c4cac45f
JJ
32162006-06-13 Sandra Loosemore <sandra@codesourcery.com>
3217
3218 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
3219 Make them do something useful in the ARM_RDI_MONITOR case.
3220
b5b6cbd8
JJ
32212006-06-07 Fred Fish <fnf@specifix.com>
3222
3223 * libc/search/hash_bigkey.c (MIN,MAX): Remove
3224 defines that are already supplied by <sys/param.h>.
3225
3cc3705c
JJ
32262006-06-07 Fred Fish <fnf@specifix.com>
3227
3228 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
3229
512c2879
JJ
32302006-06-05 Shaun Jackman <sjackman@gmail.com>
3231
3232 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
3233 usleep.c.
3234 * libc/posix/Makefile.in: Regenerate.
3235 * libc/posix/sleep.c: New file.
3236 * libc/posix/usleep.c: Ditto.
3237
6ea486a6
JJ
32382006-06-05 Shaun Jackman <sjackman@gmail.com>
3239
9eedc2e6 3240 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
3241 -DABORT_PROVIDED flag.
3242 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
3243 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
3244
2e7c576a
JJ
32452006-06-05 Jeff Johnston <jjohnstn@redhat.com>
3246
3247 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
3248 * Makefile.in: Regenerated.
3249 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
3250 extraneous CFLAGS reference now that CCASFLAGS are being extended
3251 properly via multilib.
3252 * libc/machine/sh/Makefile.in: Regenerated.
3253
3feae7b1
JJ
32542006-06-02 Shaun Jackman <sjackman@gmail.com>
3255
3256 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
3257 sigismember.
3258
f383bda5
JJ
32592006-05-23 Jeff Johnston <jjohnstn@redhat.com>
3260
3261 * libc/misc/dprintf.c: Removed.
3262 * libc/misc/__dprintf.c: Renamed from dprintf.c.
3263 * libc/misc/Makefile.am: Changed appropriately for rename.
3264 * libc/misc/Makefile.in: Regenerated.
3265
8eeee74e
JJ
32662006-05-23 Jeff Johnston <jjohnstn@redhat.com>
3267
3268 * libc/include/stdio.h: Protect dprintf prototype
3269 with #ifndef dprintf so as to not interfere with
3270 historical code defining their own dprintf macro.
3271
dc7798c6
JJ
32722006-05-18 Jeff Johnston <jjohnstn@redhat.com>
3273
3274 * libc/include/stdio.h: Add prototypes for fiscanf,
3275 iscanf, and siscanf.
3276
e1b888df
JR
32772006-05-11 J"orn Rennecke <joern.rennecke@st.com>
3278
3279 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
3280 (DEF_NEWLIB_VERSION).
3281 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
3282 * configure: Regenerate.
3283
7f32c41d
JJ
32842006-05-09 Jeff Johnston <jjohnstn@redhat.com>
3285
3286 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
3287 lib_a_SOURCES.
3288 * libc/ctype/Makefile.in: Regenerated.
3289
bac01fc8
JJ
32902006-05-09 Kazu Hirata <kazu@codesourcery.com>
3291
3292 * libc/machine/arm/Makefile.am: Fix a typo.
3293 * libc/machine/arm/Makefile.in: Regenerated.
3294
6c47d5b7
JR
32952006-05-08 J"orn Rennecke <joern.rennecke@st.com>
3296
3297 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
3298 * libc/machine/sh/Makefile.in: Regenerate.
3299
7cc7e374
JR
33002006-05-03 J"orn Rennecke <joern.rennecke@st.com>
3301
3302 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
3303 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
3304
a8b02d46
JJ
33052006-05-02 Jeff Johnston <jjohnstn@redhat.com>
3306
3307 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
3308 .s.
3309 * libc/sys/sysnec810/Makefile.in: Regenerated.
3310 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
3311 * libc/sys/sysnec810/io.S: Ditto.
3312 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
3313 * libc/sys/sysnec810/io.s: Ditto.
3314
8f8f1db1
JJ
33152006-05-01 Jeff Johnston <jjohnstn@redhat.com>
3316
3317 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
3318 be specified instead of object, do so.
3319 * libc/ctype/Makefile.am: Ditto.
3320 * libc/iconv/ccs/Makefile.am: Ditto.
3321 * libc/iconv/ces/Makefile.am: Ditto.
3322 * libc/iconv/lib/Makefile.am: Ditto.
3323 * libc/locale/Makefile.am: Ditto.
3324 * libc/posix/Makefile.am: Ditto.
3325 * libc/reent/Makefile.am: Ditto.
3326 * libc/search/Makefile.am: Ditto.
3327 * libc/stdio/Makefile.am: Ditto.
3328 * libc/stdio64/Makefile.am: Ditto.
3329 * libc/stdlib/Makefile.am: Ditto.
3330 * libc/string/Makefile.am: Ditto.
3331 * libc/syscalls/Makefile.am: Ditto.
3332 * libc/unix/Makefile.am: Ditto.
3333 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
3334 prefix added automatically. Any specified rules must use $(lpfx) for
3335 object file names.
3336 * libc/machine/arm/Makefile.am: Ditto.
3337 * libc/machine/cris/Makefile.am: Ditto.
3338 * libc/machine/crx/Makefile.am: Ditto.
3339 * libc/machine/d10v/Makefile.am: Ditto.
3340 * libc/machine/d30v/Makefile.am: Ditto.
3341 * libc/machine/fr30/Makefile.am: Ditto.
3342 * libc/machine/frv/Makefile.am: Ditto.
3343 * libc/machine/h8300/Makefile.am: Ditto.
3344 * libc/machine/h8500/Makefile.am: Ditto.
3345 * libc/machine/hppa/Makefile.am: Ditto.
3346 * libc/machine/i386/Makefile.am: Ditto.
3347 * libc/machine/i960/Makefile.am: Ditto.
3348 * libc/machine/iq2000/Makefile.am: Ditto.
3349 * libc/machine/m32c/Makefile.am: Ditto.
3350 * libc/machine/m32r/Makefile.am: Ditto.
3351 * libc/machine/m68hc11/Makefile.am: Ditto.
3352 * libc/machine/m68k/Makefile.am: Ditto.
3353 * libc/machine/m88k/Makefile.am: Ditto.
3354 * libc/machine/mips/Makefile.am: Ditto.
3355 * libc/machine/mn10200/Makefile.am: Ditto.
3356 * libc/machine/mn10300/Makefile.am: Ditto.
3357 * libc/machine/mt/Makefile.am: Ditto.
3358 * libc/machine/necv70/Makefile.am: Ditto.
3359 * libc/machine/powerpc/Makefile.am: Ditto.
3360 * libc/machine/sh/Makefile.am: Ditto.
3361 * libc/machine/sh/Makefile.in: Ditto.
3362 * libc/machine/sparc/Makefile.am: Ditto.
3363 * libc/machine/tic4x/Makefile.am: Ditto.
3364 * libc/machine/tic80/Makefile.am: Ditto.
3365 * libc/machine/v850/Makefile.am: Ditto.
3366 * libc/machine/w65/Makefile.am: Ditto.
3367 * libc/machine/xscale/Makefile.am: Ditto.
3368 * libc/machine/xstormy16/Makefile.am: Ditto.
3369 * libc/machine/z8k/Makefile.am: Ditto.
3370 * libc/sys/a29khif/Makefile.am: Ditto.
3371 * libc/sys/arm/Makefile.am: Ditto.
3372 * libc/sys/d10v/Makefile.am: Ditto.
3373 * libc/sys/h8300hms/Makefile.am: Ditto.
3374 * libc/sys/h8500hms/Makefile.am: Ditto.
3375 * libc/sys/linux/Makefile.am: Ditto.
3376 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3377 * libc/sys/linux/net/Makefile.am: Ditto.
3378 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3379 * libc/sys/m88kbug/Makefile.am: Ditto.
3380 * libc/sys/mmixware/Makefile.am: Ditto.
3381 * libc/sys/rdos/Makefile.am: Ditto.
3382 * libc/sys/rtems/Makefile.am: Ditto.
3383 * libc/sys/sh/Makefile.am: Ditto.
3384 * libc/sys/sun4/Makefile.am: Ditto.
3385 * libc/sys/sysmec/Makefile.am: Ditto.
3386 * libc/sys/sysnec810/Makefile.am: Ditto.
3387 * libc/sys/sysnecv850/Makefile.am: Ditto.
3388 * libc/sys/sysvi386/Makefile.am: Ditto.
3389 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3390 * libc/sys/tic80/Makefile.am: Ditto.
3391 * libc/sys/w65/Makefile.am: Ditto.
3392 * libc/sys/z8ksim/Makefile.am: Ditto.
3393 * libc/machine/necv70/fastmath.S: Renamed from .s file.
3394 * libc/machine/necv70/setjmp.S: Ditto.
3395 * libc/machine/necv70/fastmath.s: Removed.
3396 * libc/machine/necv70/setjmp.s: Ditto.
3397 * libc/machine/w65/*.S: New files renamed from .s files.
3398 * libc/machine/w65/*.s: Renamed and removed.
3399 * libc/sys/a29khif/*.S: New files renamed from .s files.
3400 * libc/sys/a29khif/*.s: Renamed and removed.
3401 * libc/sys/sysvi386/*.S: New files renamed from .s files.
3402 * libc/sys/sysvi386/*.s: Renamed and removed.
3403 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
3404 * libc/sys/sysvnecv70/*.s: Renamed and removed.
3405 * libc/*Makefile.in: Regenerated as appropriate.
3406
b34db572
DD
34072006-04-24 DJ Delorie <dj@redhat.com>
3408
3409 * libc/machine/sh/configure.in: Avoid link tests.
3410 * libc/machine/sh/configure: Regenerate.
3411
e163e3e1
JJ
34122006-04-18 Jeff Johnston <jjohnstn@redhat.com>
3413
3414 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
3415 (sigaddset, sigemptyset): Add return code.
3416
7ad96224
JJ
34172006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
3418
ba3ccd63
EB
3419 * acinclude.m4: New _NEWLIB_VERSION.
3420 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
3421 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
3422 Use new form of AC_INIT_AUTOMAKE.
3423 * configure.in: AC_PREREQ(2.59).
3424 Use autoconf-2.5.x version of AC_INIT.
3425 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
3426 autoconf-2.13's AC_OUTPUT.
3427 * libm/configure.in: Ditto.
3428 * libm/machine/configure.in: Ditto.
3429 * libm/machine/i386/configure.in: Ditto.
3430 * libc/configure.in: Ditto.
3431 * libc/machine/a29k/configure.in: Ditto.
3432 * libc/machine/arm/configure.in: Ditto.
3433 * libc/machine/configure.in: Ditto.
3434 * libc/machine/mn10300/configure.in: Ditto.
3435 * libc/machine/powerpc/configure.in: Ditto.
3436 * libc/machine/z8k/configure.in: Ditto.
3437 * libc/machine/h8300/configure.in: Ditto.
3438 * libc/machine/mips/configure.in: Ditto.
3439 * libc/machine/crx/configure.in: Ditto.
3440 * libc/machine/m68hc11/configure.in: Ditto.
3441 * libc/machine/h8500/configure.in: Ditto.
3442 * libc/machine/xscale/configure.in: Ditto.
3443 * libc/machine/d10v/configure.in: Ditto.
3444 * libc/machine/fr30/configure.in: Ditto.
3445 * libc/machine/sh/configure.in: Ditto.
3446 * libc/machine/tic80/configure.in: Ditto.
3447 * libc/machine/m32r/configure.in: Ditto.
3448 * libc/machine/xstormy16/configure.in: Ditto.
3449 * libc/machine/i386/configure.in: Ditto.
3450 * libc/machine/d30v/configure.in: Ditto.
3451 * libc/machine/mn10200/configure.in: Ditto.
3452 * libc/machine/frv/configure.in: Ditto.
3453 * libc/machine/mt/configure.in: Ditto.
3454 * libc/machine/i960/configure.in: Ditto.
3455 * libc/machine/v850/configure.in: Ditto.
3456 * libc/machine/necv70/configure.in: Ditto.
3457 * libc/machine/tic4x/configure.in: Ditto.
3458 * libc/machine/cris/configure.in: Ditto.
3459 * libc/machine/m68k/configure.in: Ditto.
3460 * libc/machine/m32c/configure.in: Ditto.
3461 * libc/machine/hppa/configure.in: Ditto.
3462 * libc/machine/w65/configure.in: Ditto.
3463 * libc/machine/iq2000/configure.in: Ditto.
3464 * libc/machine/sparc/configure.in: Ditto.
3465 * libc/machine/m88k/configure.in: Ditto.
3466 * libc/sys/linux/configure.in: Ditto.
3467 * libc/sys/linux/machine/configure.in: Ditto.
3468 * libc/sys/linux/machine/i386/configure.in: Ditto.
3469 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3470 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3471 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3472 * libc/sys/arm/configure.in: Ditto.
3473 * libc/sys/configure.in: Ditto.
3474 * libc/sys/decstation/configure.in: Ditto.
3475 * libc/sys/a29khif/configure.in: Ditto.
3476 * libc/sys/sysnecv850/configure.in: Ditto.
3477 * libc/sys/d10v/configure.in: Ditto.
3478 * libc/sys/netware/configure.in: Ditto.
3479 * libc/sys/mmixware/configure.in: Ditto.
3480 * libc/sys/h8500hms/configure.in: Ditto.
3481 * libc/sys/sh/configure.in: Ditto.
3482 * libc/sys/tic80/configure.in: Ditto.
3483 * libc/sys/rdos/configure.in: Ditto.
3484 * libc/sys/sysmec/configure.in: Ditto.
3485 * libc/sys/sysvi386/configure.in: Ditto.
3486 * libc/sys/h8300hms/configure.in: Ditto.
3487 * libc/sys/sparc64/configure.in: Ditto.
3488 * libc/sys/arc/configure.in: Ditto.
3489 * libc/sys/sysnec810/configure.in: Ditto.
3490 * libc/sys/m88kbug/configure.in: Ditto.
3491 * libc/sys/sysvnecv70/configure.in: Ditto.
3492 * libc/sys/z8ksim/configure.in: Ditto.
3493 * libc/sys/rtems/configure.in: Ditto.
3494 * libc/sys/w65/configure.in: Ditto.
3495 * libc/sys/sun4/configure.in: Ditto.
3496 * doc/configure.in: Ditto.
3497 * iconvdata/configure.in: Ditto.
3498 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 3499
34e66679
JJ
35002006-04-11 Jeff Johnston <jjohnstn@redhat.com>
3501
3502 * acinclude.m4: Properly add square brackets for
3503 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
3504 macros no longer available. Add LIB_AM_PROG_AS to
3505 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
3506 macro. Substitute lpfx (library object prefix).
3507 * configure.host: Set lpfx depending on whether
3508 libtool is used or not.
3509 * configure.in: Individually specify libc and libm
3510 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
3511 necessary.
3512 * Makefile.am: Use $(lpfx) to get object names for
3513 math-library functions that should also be in libc.
3514 * libc/machine/configure.in: Use case statement to determine
3515 AC_CONFIG_SUBDIRS statement.
3516 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3517 * libc/sys/linux/machine/configure.in: Ditto.
3518 * libc/sys/configure.in: Ditto.
3519 * libm/machine/configure.in: Ditto.
3520 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
3521 * libm/configure.in: Add AM_CONDITIONAL statement
3522 for HAVE_LIBM_MACHINE_DIR.
3523 * libc/machine/a29k/Makefile.am: Modified to work with
3524 latest automake. Change includes setting AM_CCASFLAGS
3525 so building .S files will properly pick up flags used
3526 to build C files.
3527 * libc/machine/arm/Makefile.am: Ditto.
3528 * libc/machine/crx/Makefile.am: Ditto.
3529 * libc/machine/d10v/Makefile.am: Ditto.
3530 * libc/machine/d30v/Makefile.am: Ditto.
3531 * libc/machine/fr30/Makefile.am: Ditto.
3532 * libc/machine/frv/Makefile.am: Ditto.
3533 * libc/machine/h8300/Makefile.am: Ditto.
3534 * libc/machine/h8500/Makefile.am: Ditto.
3535 * libc/machine/hppa/Makefile.am: Ditto.
3536 * libc/machine/i386/Makefile.am: Ditto.
3537 * libc/machine/iq2000/Makefile.am: Ditto.
3538 * libc/machine/m32c/Makefile.am: Ditto.
3539 * libc/machine/m32r/Makefile.am: Ditto.
3540 * libc/machine/m68hc11/Makefile.am: Ditto.
3541 * libc/machine/m68k/Makefile.am: Ditto.
3542 * libc/machine/m88k/Makefile.am: Ditto.
3543 * libc/machine/mips/Makefile.am: Ditto.
3544 * libc/machine/mn10200/Makefile.am: Ditto.
3545 * libc/machine/mn10300/Makefile.am: Ditto.
3546 * libc/machine/mt/Makefile.am: Ditto.
3547 * libc/machine/necv70/Makefile.am: Ditto.
3548 * libc/machine/powerpc/Makefile.am: Ditto.
3549 * libc/machine/sh/Makefile.am: Ditto.
3550 * libc/machine/sparc/Makefile.am: Ditto.
3551 * libc/machine/tic4x/Makefile.am: Ditto.
3552 * libc/machine/tic80/Makefile.am: Ditto.
3553 * libc/machine/v850/Makefile.am: Ditto.
3554 * libc/machine/w65/Makefile.am: Ditto.
3555 * libc/machine/xscale/Makefile.am: Ditto.
3556 * libc/machine/xstormy16/Makefile.am: Ditto.
3557 * libc/machine/z8k/Makefile.am: Ditto.
3558 * libc/sys/a29khif/Makefile.am: Ditto.
3559 * libc/sys/arc/Makefile.am: Ditto.
3560 * libc/sys/arm/Makefile.am: Ditto.
3561 * libc/sys/d10v/Makefile.am: Ditto.
3562 * libc/sys/decstation/Makefile.am: Ditto.
3563 * libc/sys/h8300hms/Makefile.am: Ditto.
3564 * libc/sys/h8500hms/Makefile.am: Ditto.
3565 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3566 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3567 * libc/sys/m88kbug/Makefile.am: Ditto.
3568 * libc/sys/mmixware/Makefile.am: Ditto.
3569 * libc/sys/netware/Makefile.am: Ditto.
3570 * libc/sys/rdos/Makefile.am: Ditto.
3571 * libc/sys/rtems/Makefile.am: Ditto.
3572 * libc/sys/sh/Makefile.am: Ditto.
3573 * libc/sys/sparc64/Makefile.am: Ditto.
3574 * libc/sys/sysmec/Makefile.am: Ditto.
3575 * libc/sys/sysnec810/Makefile.am: Ditto.
3576 * libc/sys/sysnecv850/Makefile.am: Ditto.
3577 * libc/sys/sysvi386/Makefile.am: Ditto.
3578 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3579 * libc/sys/tic80/Makefile.am: Ditto.
3580 * libc/sys/w65/Makefile.am: Ditto.
3581 * libc/sys/z8ksim/Makefile.am: Ditto.
3582 * libm/machine/i386/Makefile.am: Ditto.
3583 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3584 trap.S so that automake will generate a .S.o suffix rule.
3585 * libc/argz/Makefile.am: Modified to work with
3586 latest automake. Change includes adding lib_a_CFLAGS
3587 so automake doesn't complain about libtool and non-libtool
3588 libraries sharing objects.
3589 * libc/ctype/Makefile.am: Ditto.
3590 * libc/errno/Makefile.am: Ditto.
3591 * libc/iconv/ccs/Makefile.am: Ditto.
3592 * libc/iconv/ces/Makefile.am: Ditto.
3593 * libc/iconv/lib/Makefile.am: Ditto.
3594 * libc/locale/Makefile.am: Ditto.
3595 * libc/misc/Makefile.am: Ditto.
3596 * libc/posix/Makefile.am: Ditto.
3597 * libc/reent/Makefile.am: Ditto.
3598 * libc/search/Makefile.am: Ditto.
3599 * libc/signal/Makefile.am: Ditto.
3600 * libc/stdio/Makefile.am: Ditto.
3601 * libc/stdio64/Makefile.am: Ditto.
3602 * libc/stdlib/Makefile.am: Ditto.
3603 * libc/string/Makefile.am: Ditto.
3604 * libc/sys/linux/Makefile.am: Ditto.
3605 * libc/sys/linux/argp/Makefile.am: Ditto.
3606 * libc/sys/linux/cmath/Makefile.am: Ditto.
3607 * libc/sys/linux/dl/Makefile.am: Ditto.
3608 * libc/sys/linux/iconv/Makefile.am: Ditto.
3609 * libc/sys/linux/intl/Makefile.am: Ditto.
3610 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3611 * libc/sys/linux/net/Makefile.am: Ditto.
3612 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3613 * libc/syscalls/Makefile.am: Ditto.
3614 * libc/time/Makefile.am: Ditto.
3615 * libc/unix/Makefile.am: Ditto.
3616 * libm/Makefile.am: Ditto.
3617 * libm/common/Makefile.am: Ditto.
3618 * libm/math/Makefile.am: Ditto.
3619 * libm/mathfp/Makefile.am: Ditto.
3620 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3621
b577ecdf
JJ
36222006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3623
3624 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3625 anymore. Assume there is a gettimeofday syscall.
3626
ef79d97d
JJ
36272006-03-29 Shaun Jackman <sjackman@gmail.com>
3628
3629 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3630 for the declaration of n_long.
3631
15a1b33c
JJ
36322006-03-29 Shaun Jackman <sjackman@gmail.com>
3633
3634 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3635 struct sockaddr.
3636 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3637 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3638 (IFF_NOTRAILERS): New define.
3639 (struct ifreq): Add ifru_netmask.
3640 (ifr_netmask): New define.
3641
bcc4ff05
JJ
36422006-03-29 Shaun Jackman <sjackman@gmail.com>
3643
3644 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3645 match sys/ioctl.h.
3646
8fed3e2e
JJ
36472006-03-29 Shaun Jackman <sjackman@gmail.com>
3648
17c0c97d 3649 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3650 linux-newlib libc implementations.
3651
6507c097
JJ
36522006-03-29 Eric Blake <ebb9@byu.net>
3653
3654 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3655 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3656
fac690be
JJ
36572006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3658
3659 * libc/sys/linux/io.c (__mknod): Fix declaration of
3660 syscall to pass a dev_t as third argument rather than
3661 a pointer to dev_t.
3662
9e443adb
JJ
36632006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3664
3665 * libc/sys/linux/net/name6.c: Fix struct references.
3666
ce93dfe4
MM
36672006-03-22 Mark Mitchell <mark@codesourcery.com>
3668
3669 * configure.host: Allow hosts to set the default
3670 newlib_atexit_dynamic_alloc value.
3671 * configure.in: Likewise.
3672 * configure: Regenerated.
3673
3078fb4f
MM
36742006-03-20 Mark Mitchell <mark@codesourcery.com>
3675
3676 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3677 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3678 option.
3078fb4f
MM
3679 * configure: Regenerated.
3680 * newlib.hin: Regenerated.
3681 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3682 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3683 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3684 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3685
9d5cff74
JJ
36862006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3687
3688 * libc/sys/linux/linuxthreads/config.h: Remove definition
3689 of UINT32_C.
3690
490cfb83
JJ
36912006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3692
3693 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3694 for a string I/O file that isn't using the asprintf family.
3695
ce10f178
JJ
36962006-03-07 Eric Blake <ebb9@byu.net>
3697
3698 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3699 filename, allow read-only or write-only FILE atop O_RDWR file
3700 descriptor.
3701 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3702
ddf12e6b
JJ
37032006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3704
3705 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3706 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3707
cb197581
JJ
37082006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3709
3710 * libm/math/math.tex: Fix reference to sisnan.def which
3711 is now in common subdirectory.
3712 * libm/mathfp/mathfp.tex: Ditto.
3713
e48682cf
JJ
37142006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3715
17c0c97d 3716 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3717 s_isnand, and sf_isnanf object files.
3718 * Makefile.in: Regenerated.
3719 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3720 conflict if <math.h> has previously been included.
3721 * libc/include/math.h
bc88ea65
JJ
3722 * libc/include/math.h: Make isnan and isinf macros to
3723 conform to C99.
3724 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3725 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3726 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3727 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3728 * libm/common/Makefile.in: Regenerated.
3729 * libm/common/s_isinfd.c: New file.
3730 * libm/common/s_isnand.c: Ditto.
3731 * libm/common/sf_isinff.c: Ditto.
3732 * libm/common/sf_isnanf.c: Ditto.
3733 * libm/common/s_isinf.c: Moved from libm/math directory.
3734 * libm/common/s_isnan.c: Ditto.
3735 * libm/common/sf_isinf.c: Ditto.
3736 * libm/common/sf_isnan.c: Ditto.
3737 * libm/math/Makefile.am: Remove isinf and isnan family functions
3738 which have been moved into common directory.
3739 * libm/mathfp/Makefile.am: Ditto.
3740 * libm/math/Makefile.in: Regenerated.
3741 * libm/mathfp/Makefile.in: Ditto.
3742 * libm/math/s_isinf.c: Removed.
3743 * libm/math/s_isnan.c: Ditto.
3744 * libm/math/sf_isinf.c: Ditto.
3745 * libm/math/sf_isnan.c: Ditto.
3746 * libm/mathfp/s_isinf.c: Ditto.
3747 * libm/mathfp/s_isnan.c: Ditto.
3748 * libm/mathfp/sf_isinf.c: Ditto.
3749 * libm/mathfp/sf_isnan.c: Ditto.
3750
99db626d
JJ
37512006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3752
3753 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3754 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3755 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3756 seek, turn off the __SNPT no-optimization flag.
3757
49103e2b
JJ
37582006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3759
3760 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3761 will be defined.
3762 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3763 <features.h> to preset special flags.
3764
680e0f1f
CV
37652006-02-15 Corinna Vinschen <corinna@vinschen.de>
3766
3767 * libc/include/sys/time.h (struct timeval): Change member types
3768 according to SUSv3.
3769 * libc/include/sys/types.h (useconds_t): Change to unsigned
3770 according to SUSv3.
3771 (suseconds_t): Define type.
3772
d6593503
JJ
37732006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3774 David Carne <davidcarne@gmail.com>
3775
3776 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3777 instead of strlen to determine number of bytes to copy.
3778 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3779 before looking at storage location.
3780
9bbe6d5d
JJ
37812006-02-07 Paul Brook <paul@codesourcery.com>
3782
3783 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3784 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3785 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3786 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3787 * libc/sys/arm/trap.S: Disable for Thumb-2.
3788
d968b3c8
JJ
37892006-01-31 Leif Ekblad <leif@rdos.net>
3790
3791 * configure.host: RDOS support added
3792 * libc/include/sys/config.h: Ditto.
3793 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3794 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3795 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3796 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3797 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3798 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3799 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3800 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3801 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3802 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3803 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3804 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3805 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3806 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3807 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3808 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3809 * libc/sys/rdos/write.c: Ditto.
3810
3acaaf54
JJ
38112006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3812
3813 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3814 so as not to define PACKAGE and VERSION in newlib.h.
3815 * aclocal.m4: Regenerated.
3816 * configure: Ditto.
3817 * newlib.hin: Ditto.
3818
54abc854
JJ
38192006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3820
3821 * acconfig.h: New file to generate newlib.hin from.
3822 * newlib.hin: Regenerated.
3823 * stamp-h.in: Regenerated.
3824 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3825 called automatically.
3826 * Makefile.in: Regenerated.
3827 * acinclude.m4: Add proper comment for hack in previous change.
3828 * aclocal.m4 */aclocal.m4: Regenerated.
3829 * configure */configure: Regenerated.
3830
33c9cfbd
JJ
38312006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3832
3833 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3834 from being set to "../".
3835 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3836 * aclocal.m4: Regenerated.
3837 * configure: Ditto.
3838 * Makefile.in: Ditto.
3839 * doc/aclocal.m4: Ditto.
3840 * doc/configure: Ditto.
3841 * iconvdata/aclocal.m4: Ditto.
3842 * iconvdata/configure: Ditto.
3843 * libc/*/aclocal.m4: Ditto.
3844 * libc/*/configure: Ditto.
3845 * libc/libc.texinfo: Ditto.
3846 * libm/*/aclocal.m4: Ditto.
3847 * libm/*/configure: Ditto.
3848
dea958bc
JJ
38492006-01-10 Eric Blake <ebb9@byu.net>
3850
3851 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3852 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3853
216633f7
JJ
38542006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3855
3856 * libm/mathfp/s_frexp.c: Check for special values on
3857 the original input, not the manipulated output value.
3858 * libm/mathfp/sf_frexp.c: Ditto.
3859 * libm/mathfp/s_atangent.c: Don't use local value branch
3860 when checking for quadrant.
3861 * libm/mathfp/sf_atangent.c: Ditto.
3862
64ae8ab5
JJ
38632006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3864
3865 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3866 * libc/stdio64/freopen64.c: Ditto.
3867
0da7297e
JJ
38682006-01-09 Eric Blake <ebb9@byu.net>
3869
3870 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3871 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3872
a37aaf88
JJ
38732006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3874
3875 * libc/sys/linux/include/getopt.h: Add macros needed by
3876 new version of getopt.c in libc/stdlib.
3877
791c9bda
JJ
38782006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3879
3880 * libc/stdlib/getopt.c: Replaced with version
3881 that adds getopt_long and getopt_long_only support.
3882 * libc/include/getopt.h: New file.
3883
0217078f
JJ
38842005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3885
3886 * NEWS: Update with 1.14.0 info.
3887 * README: Ditto.
3888 * acinclude.m4: Change version number to 1.14.0.
3889 * aclocal.m4: Regenerated.
3890 * configure: Ditto.
3891 * doc/aclocal.m4: Ditto.
3892 * doc/configure: Ditto.
3893 * libc/*/aclocal.m4: Ditto.
3894 * libc/*/configure: Ditto.
3895 * libc/libc.texinfo: Ditto.
3896 * libm/*/aclocal.m4: Ditto.
3897 * libm/*/configure: Ditto.
3898 * libm/libm.texinfo: Ditto.
3899 * libc/sys/linux/shared.ld: Add VERS_1.14.
3900
a4cd7f20
JJ
39012005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3902
3903 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3904 take a pointer to struct stat64 rather than struct stat.
3905
843e635a
JJ
39062005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3907
3908 * libc/include/stdint.h: Prefer long over int for int32_t.
3909 Use __have_long32 to set up int32_t.
3910 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3911 (Sync with stdint.h).
3912
10cba930
CV
39132005-12-14 Corinna Vinschen <corinna@vinschen.de>
3914
3915 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3916 typo in O_NDELAY comment.
3917
c8ba5c22
JJ
39182005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3919
3920 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3921 * libc/include/machine/setjmp.h (__mt__): Likewise.
3922 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3923 * libc/machine/configure.in: Ditto.
3924
74ecef0d
NS
39252005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3926
3927 * configure.host: Replace ms1 arch with mt arch.
3928 * libc/machine/mt: Renamed from ms1 dir.
3929
2a1fc53c
JJ
39302005-12-08 Shaun Jackman <sjackman@gmail.com>
3931
3932 * libc/include/sys/types.h: Remove the ifdef armour around
3933 standard POSIX types.
3934
77e70d34
JJ
39352005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3936
3937 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3938 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3939 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3940 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3941 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3942
b1da33a0
CF
39432005-12-05 Christopher Faylor <cgf@timesys.com>
3944
3945 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3946 file. Declare unsetenv and _unsetenv_r when not cygwin.
3947
6b1a6ec6
JJ
39482005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3949
3950 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3951 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3952
d7d477b7
CF
39532005-11-18 Christopher Faylor <cgf@timesys.com>
3954
3955 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3956
c1534dbe
CF
39572005-11-18 Christopher Faylor <cgf@timesys.com>
3958
3959 * include/time.h: Remove more cygwin-specific stuff.
3960
d3e81bda
CF
39612005-11-18 Christopher Faylor <cgf@timesys.com>
3962
3963 * include/time.h: Move cygwin declarations to cygwin-specific header.
3964 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3965
1396951b
JJ
39662005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3967
3968 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3969 in libc/sys/linux/include.
3970 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3971 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3972 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3973 in libc/sys/linux/dl.
3974
37bd11ed
CF
39752005-11-11 Christopher Faylor <cgf@timesys.com>
3976
3977 * libc/include/sys/time.h: For cygwin, use general header rather than
3978 specific "sys/select.h".
3979
b397593c
JJ
39802005-11-08 Tom Walsh <tom@openhardware.net>
3981
3982 * libc/time/tzvars.c: New file.
3983 * libc/time/tzset_r.c: Moved globals into tzvars.c
3984 so other time functions needn't link in __tzset_r and its
3985 dependencies.
3986 * libc/time/Makefile.am: Add the new file.
3987 * libc/time/Makefile.in: Regenerated.
3988
86c6c421
CF
39892005-11-08 Christopher Faylor <cgf@timesys.com>
3990
3991 * libc/include/string.h: Add cygwin-specific function declaration.
3992
ef1206e4
CV
39932005-11-07 Corinna Vinschen <corinna@vinschen.de>
3994
3995 * libc/include/ieeefp.h: Add C++ guards.
3996
15eaca1c
JJ
39972005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3998
3999 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
4000 * libc/unix/getlogin.c: Ditto.
4001 * libc/unix/getpass.c: Ditto.
4002 * libc/unix/getut.c: Ditto.
4003 * libc/unix/ttyname.c: Ditto.
4004
d31a8623
JJ
40052005-11-03 Shaun Jackman <sjackman@gmail.com>
4006
4007 * libc/include/sys/unistd.h (readlink, symlink): Provide these
4008 prototypes by default.
4009 * libc/sys/linux/include/unistd.h (readlink): Remove this
4010 prototype.
4011 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
4012 prototypes.
4013
71ac53ee
JJ
40142005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
4015
4016 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
4017
dc1b6289
JJ
40182005-10-31 Darin Johnson <darin@usa.net>
4019
4020 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
4021 correct for constants.
4022
884c0ff0
JJ
40232005-10-28 Bob Wilson <bob.wilson@acm.org>
4024
4025 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
4026 * libc/stdio/siscanf.c: Likewise.
4027 * libc/stdio/sprintf.c: Likewise.
4028 * libc/stdio/sscanf.c: Likewise.
4029 * libc/stdio/vfprintf.c: Likewise.
4030 * libc/stdio/vfscanf.c: Likewise.
4031 * libc/stdio/viprintf.c: Likewise.
4032 * libc/stdio/viscanf.c: Likewise.
4033
a9c15f6f
JJ
40342005-10-28 Bob Wilson <bob.wilson@acm.org>
4035
4036 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
4037 example to use "_end" symbol instead of "end". Change write example
4038 to use "outbyte" instead of "writechar".
4039
a306ebc9
JJ
40402005-10-28 Bob Wilson <bob.wilson@acm.org>
4041
4042 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
4043 * libc/ctype/islower.c: Likewise.
4044 * libc/ctype/isupper.c: Likewise.
4045 * libc/ctype/iswalnum.c: Likewise.
4046 * libc/ctype/iswalpha.c: Likewise.
4047 * libc/ctype/iswblank.c: Likewise.
4048 * libc/ctype/iswcntrl.c: Likewise.
4049 * libc/ctype/iswdigit.c: Likewise.
4050 * libc/ctype/iswgraph.c: Likewise.
4051 * libc/ctype/iswlower.c: Likewise.
4052 * libc/ctype/iswprint.c: Likewise.
4053 * libc/ctype/iswpunct.c: Likewise.
4054 * libc/ctype/iswspace.c: Likewise.
4055 * libc/ctype/iswupper.c: Likewise.
4056 * libc/ctype/iswxdigit.c: Likewise.
4057 * libc/ctype/tolower.c: Likewise.
4058 * libc/ctype/toupper.c: Likewise.
4059 * libc/ctype/towctrans.c: Likewise.
4060 * libc/ctype/towlower.c: Likewise.
4061 * libc/ctype/towupper.c: Likewise.
4062 * libc/string/strcasecmp.c: Likewise.
4063 * libc/string/strcoll.c: Likewise.
4064 * libc/string/strings.tex: Likewise.
4065 * libc/string/strlwr.c: Likewise.
4066 * libc/string/strncasecmp.c: Likewise.
4067 * libc/string/strupr.c: Likewise.
4068 * libc/string/wcscoll.c: Likewise.
4069 * libc/string/wcslcat.c: Likewise.
4070 * libc/string/wcslcpy.c: Likewise.
4071 * libc/string/wcsnlen.c: Likewise.
4072 * libc/string/wcsstr.c: Likewise.
4073 * libc/string/wcstrings.tex: Likewise.
4074 * libc/string/wmemchr.c: Likewise.
4075 * libc/string/wmemcmp.c: Likewise.
4076 * libc/string/wmemcpy.c: Likewise.
4077 * libc/string/wmemmove.c: Likewise.
17c0c97d 4078 * libc/string/wmemset.c: Likewise.
a306ebc9 4079
239c2bf9
JJ
40802005-10-28 Bob Wilson <bob.wilson@acm.org>
4081
4082 * libc/misc/unctrl.c: Replace FUNCTION description.
4083 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
4084 * libc/stdio/getdelim.c: Fix spelling errors.
4085 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
4086 * libc/stdio/putw.c: Likewise.
4087 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 4088 documentation.
239c2bf9
JJ
4089 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
4090 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
4091 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
4092 * libc/stdlib/mlock.c: Likewise.
4093 * libc/stdlib/mstats.c: Likewise.
4094 * libc/time/tzlock.c: Likewise.
4095 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
4096 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 4097 and hyphenate "pseudo-random".
239c2bf9
JJ
4098 * libc/string/bcmp.c: Remove extra blank lines in documentation.
4099 * libc/string/strncat.c: Likewise.
4100 * libc/string/memchr.c: Remove extra ">" character in documentation.
4101 * libc/string/strcspn.c: Use "characters" instead of "chars".
4102 * libc/string/strpbrk.c: Likewise.
4103 * libc/string/strerror_r.c: Capitalize "GNU".
4104 * libc/string/strnlen.c: Likewise.
4105 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 4106 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
4107 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
4108 * libc/string/wcschr.c: Likewise.
4109 * libc/string/wcscmp.c: Likewise.
4110 * libc/string/wcscpy.c: Likewise.
4111 * libc/string/wcscspn.c: Likewise.
4112 * libc/string/wcslen.c: Likewise.
4113 * libc/string/wcsncat.c: Likewise.
4114 * libc/string/wcsncmp.c: Likewise.
4115 * libc/string/wcsncpy.c: Likewise.
4116 * libc/string/wcsnlen.c: Likewise.
4117 * libc/string/wcspbrk.c: Likewise.
4118 * libc/string/wcsrchr.c: Likewise.
4119 * libc/string/wcsspn.c: Likewise.
4120 * libc/string/wmemchr.c: Likewise.
4121 * libc/string/wmemcmp.c: Likewise.
4122 * libc/string/wmemcpy.c: Likewise.
4123 * libc/string/wmemset.c: Likewise.
4124 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
4125 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
4126 * libc/string/wcwidth.c: Likewise.
4127 * libm/common/s_modf.c: Remove extra period from documentation.
4128 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 4129 documentation.
239c2bf9
JJ
4130 * libm/mathfp/s_isnan.c: Likewise.
4131 * libm/math/s_ldexp.c: Fix punctuation.
4132 * libm/mathfp/s_ldexp.c: Likewise.
4133 * libm/math/w_log.c: Likewise.
4134 * libm/mathfp/s_logarithm.c: Likewise.
4135 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 4136 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 4137
2556eb8d
JJ
41382005-10-26 Shaun Jackman <sjackman@gmail.com>
4139
4140 * libc/posix/scandir.c (scandir): Update the function
4141 prototype to match the header.
4142 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
4143 extraneous #endif.
4144 * libc/sys/linux/sys/lock.h: Do not include
4145 machine/weakalias.h, since it's not used by this file.
4146
c9d71a8d
JJ
41472005-10-26 Jeff Johnston <jjohnstn@redhat.com>
4148
4149 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
4150 directories can override properly.
4151
09968b6d
JJ
41522005-10-20 Jeff Johnston <jjohnstn@redhat.com>
4153
4154 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
4155 gcc is 3.3 or greater, use special gcc builtins.
4156
c70571bd
CV
41572005-10-20 Corinna Vinschen <corinna@vinschen.de>
4158
4159 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
4160
a92822b7
CV
41612005-10-18 Corinna Vinschen <corinna@vinschen.de>
4162
4163 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
4164
d2c2c132
JJ
41652005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4166
4167 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
4168 * libm/common/Makefile.am: Add s_infconst.c support.
4169 * libm/common/Makefile.in: Regenerated.
4170 * libm/common/s_infconst.c: New file with float and
4171 long double infinity support added.
4172 * libm/math/Makefile.am: Remove s_infconst.c support.
4173 * libm/math/Makefile.in: Regenerated.
4174 * libm/math/s_infconst.c: Moved to common directory.
4175 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
4176 * libm/mathfp/Makefile.in: Regenerated.
4177 * libm/mathfp/s_infconst.c: Moved to common directory.
4178
4d57c1ed
JJ
41792005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4180
4181 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
4182 dbgprintf to prevent conflict with new dprintf function.
4183
1012585f
JJ
41842005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4185
4186 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
4187 "nan" processing for systems that have long double support.
4188
e9154015
JJ
41892005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * libc/sys/linux/sys/types.h (int8_t): Add type.
4192
1a869698
JJ
41932005-10-14 Bob Wilson <bob.wilson@acm.org>
4194
ba3ccd63
EB
4195 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
4196 * libm/common/Makefile.in: Regenerate.
4197 * libm/common/common.tex: Delete file.
4198 * libm/math/math.tex: Include .def files from common/.
4199 * libm/mathfp/mathfp.tex: Likewise.
1a869698 4200
e0811fb3
JJ
42012005-10-14 Bob Wilson <bob.wilson@acm.org>
4202
4203 * libc/libc.texinfo (Top): Surround this node with @ifnottex
4204 instead of @ifinfo. Update menu to add Introduction and match
4205 SUBDIRS order.
ba3ccd63 4206 (Introduction): New section.
e0811fb3 4207
e63c98c6
JJ
42082005-10-14 Bob Wilson <bob.wilson@acm.org>
4209
ba3ccd63
EB
4210 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
4211 with "Red Hat newlib C Library".
4212 * libc/sys.tex (Stubs): Likewise.
4213 * libm/math/math.tex (Math): Likewise.
4214 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 4215
339195bf
JJ
42162005-10-11 Shaun Jackman <sjackman@gmail.com>
4217
4218 * libc/include/stdio.h (dprintf): New declaration.
4219 (vdprintf): Ditto.
4220 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
4221 and vdprintf.c.
4222 * libc/stdio/Makefile.in: Regenerate.
4223 * libc/stdio/dprintf.c: New file.
4224 * libc/stdio/vdprintf.c: New file.
4225 * libc/stdio/stdio.tex (dprintf): New entry.
4226
da71e518
JJ
42272005-10-11 David Weatherford <weath@tensilica.com>
4228
4229 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 4230 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
4231 uppercase for E/F/G formats.
4232
f011605a
JJ
42332005-10-07 Bob Wilson <bob.wilson@acm.org>
4234
4235 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
4236 to ENOMEM on failure.
4237
bc037f3a
JJ
42382005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
4239
4240 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
4241
c7e20979
JJ
42422005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
4243
4244 * libc/include/stdint.h: Move magic to set __have_long* to the
4245 beginning. Use #if __have* instead of #if defined(__have*).
4246 Minor typo fixes.
4247
58e78add
JJ
42482005-10-04 James E Wilson <wilson@specifix.com>
4249
4250 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
4251 #error.
4252
8afb8202
JJ
42532005-10-03 Jeff Johnston <jjohnstn@redhat.com>
4254
4255 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
4256 incorporate Ralf's change below.
4257
14491fd0
JJ
42582005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
4259
17c0c97d 4260 * libc/include/stdint.h:
14491fd0
JJ
4261 Use __INTMAX_TYPE__ to derive intmax_t.
4262 Use __UINTMAX_TYPE__ to derive uintmax_t.
4263 Fix minor typo.
4264
ee694aea
JJ
42652005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
4266
17c0c97d 4267 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
4268 handling GCC >= 4.
4269
9f1926f2
JJ
42702005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4271
4272 * libc/sys/linux/include/stdint.h: Update to match functionality
4273 of generic newlib stdint.h.
4274
0ce4fcef
JJ
42752005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4276
4277 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
4278 and do not #undef the macro after it is used. Fix typos.
4279 Also change 64-bit constants to use the __have_long64 and
4280 __have_longlong64 flags to determine if long or long long
4281 constants should be used.
4282 * libc/include/inttypes.h: Include stddef.h to get wchar_t
4283 type defined.
4284
17060817
JJ
42852005-09-20 Shaun Jackman <sjackman@gmail.com>
4286
4287 * libc/include/stdint.h: Fix typo in names of
4288 LEAST macros.
4289
1e1d1d3d
JJ
42902005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4291
4292 * libc/sys/rtems/include/inttypes.h: Moved to...
4293 * libc/include/inttypes.h: ...here.
4294
cddfc170
JJ
42952005-09-19 Jeff Johnston <jjohnstn@redhat.com>
4296
4297 * libc/sys/rtems/include/stdint.h: Moved to...
4298 * libc/include/stdint.h: ...here.
4299
b10ab725
JJ
43002005-09-08 Jeff Johnston <jjohnstn@redhat.com>
4301
4302 * Makefile.am: Add include files under bits sub-directory.
4303 * Makefile.in: Regenerated.
4304 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
4305 actual value of 1 to be compatible with newer glibc headers.
4306 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
4307 glibc headers.
4308 * libc/sys/linux/sys/dirent.h: Ditto.
4309 * libc/sys/linux/argp/argp-xinl.c: Ditto.
4310 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
4311 profile_fixup routines are marked used so they won't be
4312 optimized away.
4313 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
4314 to mark functions as weak.
4315 * libc/sys/linux/dl/dl-open.c: Ditto.
4316 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
4317 rules about lvalues.
4318 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
4319 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
4320 weak_extern macro to mark functions as weak. Instead always
4321 use #pragma weak.
4322 * iconvdata/jis0208.h: Fix to work with gcc4.
4323 * libc/sys/linux/dl/dl-load.c: Ditto.
4324 * libc/sys/linux/dl/dl-reloc.c: Ditto.
4325 * libc/sys/linux/dl/do-rel.h: Ditto.
4326 * libc/sys/linux/dl/dynamic-link.h: Ditto.
4327 * libc/sys/linux/include/ltdl.h: Ditto.
4328 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
4329 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4330 * libc/sys/linux/net/ns_ntoa.c: Ditto.
4331 * libc/sys/linux/bits/initspin.h: New file.
4332 * libc/sys/linux/bits/libc-lock.h: Ditto.
4333 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
4334 * libc/sys/linux/bits/typesizes.h: Ditto.
4335
7b786e48
JJ
43362005-09-08 Eric Blake <ebb9@byu.net>
4337
4338 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
4339 before is NULL.
4340
32b09d75
JJ
43412005-09-08 Brian Dessent <brian@dessent.net>
4342
4343 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
4344 mantissa.
4345 * s_lrint.c: Ditto.
4346
8f36ef2f
JJ
43472005-09-02 Jeff Johnston <jjohnstn@redhat.com>
4348
4349 * libc/include/stdio.h: Add prototype for viprintf.
4350
cebe43dd
JJ
43512005-09-01 Jeff Johnston <jjohnstn@redhat.com>
4352
4353 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
4354 any positive power results in 0.
4355 * libm/mathfp/sf_pow.c (powf): Ditto.
4356
45c8bb8f
JJ
43572005-08-31 Paul Brook <paul@codesourcery.com>
4358
4359 * configure.host: Set have_crt0 to no for Arm targts when not
4360 providing syscalls. Set sys_dir=arm unconditionally.
4361 Default have_crt0 based on sys_dir.
4362 * configure.in: Use have_crt0.
4363 * libc/configure.in: Ditto.
4364 * libc/sys/configure.in: Ditto.
4365 * configure: Regenerate.
4366 * libc/configure: Regenerate.
4367 * libc/sys/configure: Regenerate.
4368 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
4369 Only build other files when providing syscalls.
4370 * libc/sys/arm/Makefile.in: Regenerate.
4371 * libc/sys/arm/aeabi_atexit.c: New file.
4372
dbeee890
CF
43732005-08-26 Christopher Faylor <cgf@timesys.com>
4374
4375 * libc/include/string.h: Revert previous change.
4376
377d3ea0
CF
43772005-08-25 Christopher Faylor <cgf@timesys.com>
4378
4379 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
4380
4797a77c
JJ
43812005-08-22 Shaun Jackman <sjackman@gmail.com>
4382
4383 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
4384 define _opendir as opendir, _readdir as readdir, and
4385 _closedir as closedir so that the implementations in
4386 libc/posix will be used.
4387
2e73582e
DD
43882005-08-10 DJ Delorie <dj@redhat.com>
4389
4390 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
4391
234cf97f
JJ
43922005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
4393
4394 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
4395 * libm/common/s_max.c: Ditto.
4396 * libm/common/sf_fmin.c: Ditto.
4397 * libm/common/s_min.c: Ditto.
4398
56448afa
JJ
43992005-08-10 DJ Delorie <dj@redhat.com>
4400
4401 * configure.host: Add m32c support.
4402 * libc/include/machine/ieeefp.h: Likewise.
4403 * libc/include/machine/setjmp.h: Likewise.
4404 * libc/include/sys/config.h: Likewise.
4405 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
4406 * libc/machine/m32c/aclocal.m4: New file.
4407 * libc/machine/m32c/configure: Ditto.
4408 * libc/machine/m32c/configure.in: Ditto.
4409 * libc/machine/m32c/Makefile.am: Ditto.
4410 * libc/machine/m32c/Makefile.in: Ditto.
4411 * libc/machine/m32c/setjmp.S: Ditto.
4412
0c5c6c23
JJ
44132005-08-02 Bob Wilson <bob.wilson@acm.org>
4414
ba3ccd63
EB
4415 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
4416 to the value for 2^126.
0c5c6c23 4417
12499c7a
HPN
44182005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
4419
4420 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
4421 used.
4422
395a327d 44232005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 4424 Darin Petkov <darin@tensilica.com>
395a327d
JJ
4425
4426 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
4427
108d7dd8
JJ
44282005-07-19 Paul Brook <paul@codesourcery.com>
4429
4430 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
4431
b776efc5
JJ
44322005-07-18 Joseph S. Myers <joseph@codesourcery.com>
4433
4434 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
4435 names after PASS and FAIL which do not depend on source directory
4436 name or on whether test passed or failed.
4437 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
4438
88540e24
JJ
44392005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
4440
4441 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
4442
85d62190 44432005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 4444
88540e24 4445 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
4446 twice for the same directory. _closedir calls free, and freeing
4447 the same pointer twice may cause a crash.
4448
dee9edd9
AH
44492005-07-06 Aldy Hernandez <aldyh@redhat.com>
4450
ba3ccd63
EB
4451 * configure.host: Added entry for ms1*.
4452 * libc/include/machine/ieeefp.h: Handle ms1.
4453 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
4454 * libc/machine/ms1/aclocal.m4: New.
4455 * libc/machine/ms1/configure: New.
4456 * libc/machine/ms1/configure.in: New.
4457 * libc/machine/ms1/Makefile.am: New.
4458 * libc/machine/ms1/Makefile.in: New.
4459 * libc/machine/ms1/setjmp.S: New.
dee9edd9 4460
cec1d3b4
JJ
44612005-07-04 Mark Mitchell <mark@codesourcery.com>
4462
4463 * Makefile.am (site.exp): Set tmpdir.
4464 * Makefile.in: Regenerated.
4465 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
4466 executables in $tmpdir.
4467 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
4468 libgloss version if not running in the build directory.
4469 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
4470 $tmpdir.
4471 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
4472 in $tmpdir.
4473
25d209f1
JJ
44742005-06-28 Dave Korn <dave.korn@artimi.com>
4475
4476 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
4477 and miscalculation caused by fp representation of zero.
4478 * libm/common/sf_lrint.c (lrintf): Likewise.
4479
68cdbb18
JJ
44802005-06-16 Christopher Faylor <cgf@timesys.com>
4481
4482 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
4483 determine characteristics of long double. Use a union instead.
4484 * ldtoa.c (_ldtoa_r): Ditto.
4485 (_ldcheck): Ditto.
4486 (_strtold): Ditto.
4487 (union uconv): New union.
4488
15c04fd1
JJ
44892005-06-03 Jeff Johnston <jjohnstn@redhat.com>
4490
4491 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
4492 instead of memcpy.
4493
cf55bf5e
JJ
44942005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4495
4496 * configure.host (mn10300-*): Add long long I/O support by default.
4497
b6e654c4
JJ
44982005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4499
4500 * libc/sys/linux/getpwuid.c: Removed.
4501 * libc/sys/linux/getpwnam.c: Removed.
4502 * libc/sys/linux/getpwent.c: New file containing logic
4503 from files removed above. This allows overriding of file
4504 in libc/unix.
4505 * libc/sys/linux/Makefile.am: Support changes above.
4506 * libc/sys/linux/Makefile.in: Regenerated.
4507
5456408b
JJ
45082005-04-28 Jeff Johnston <jjohnstn@redhat.com>
4509
4510 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
4511 when checking for multiple flags.
4512
1c74754f
HPN
45132005-04-18 Hans-Peter Nilsson <hp@axis.com>
4514
4515 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 4516 default_newlib_io_long_long="yes".
1c74754f 4517
6e75bff6
JJ
45182005-04-08 Jeff Johnston <jjohnstn@redhat.com>
4519
4520 * libc/include/libgen.h: New file.
4521
45222005-04-08 Shaun Jackman <sjackman@gmail.com>
4523
4524 * libc/unix/Makefile.am: Add support for basename and dirname.
4525 * libc/unix/Makefile.in: Regenerated.
4526 * libc/unix/basename.c: New file.
4527 * libc/unix/dirname.c: New file.
4528
95c136c4
JJ
45292005-04-07 Shaun Jackman <sjackman@gmail.com>
4530
4531 * libc/sys/linux/inode.c (lchown): New function.
4532
9ae26f7e
JJ
45332005-04-07 Shaun Jackman <sjackman@gmail.com>
4534
4535 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
4536 ELIX level is defined.
4537 * libc/unix/Makefile.in: Regenerated.
4538
85da7039
JJ
45392005-04-05 Dave Korn <dave.korn@artimi.com>
4540
4541 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
4542 something that looks like a "NaN", put back the characters processed.
4543
fefc73a0
CV
45442005-04-01 Corinna Vinschen <corinna@vinschen.de>
4545
4546 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
4547
e633fde1
CF
45482005-03-23 Christopher Faylor <cgf@timesys.com>
4549
4550 * configure.host: For cygwin, redefine CC with cygwin include directory
4551 first to mimic the behavior of the top-level configury. Move include
4552 directory out of newlib_cflags.
4553
859c94e8
JJ
45542005-03-22 Jeff Johnston <jjohnstn@redhat.com>
4555
4556 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 4557 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
4558 than errno.
4559
7e3fd32b
CF
45602005-03-22 Christopher Faylor <cgf@timesys.com>
4561
4562 * libc/include/machine/_types.h: Make trivial change to comment to
4563 avoid a spurious warning from gcc.
4564
d4eb8920
JJ
45652005-03-21 Nicholas Wourms <nwourms@netscape.net>
4566
4567 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4568 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4569 reent.h include.
4570
45030958 45712005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 4572 Corinna Vinschen <corinna@vinschen.de>
45030958 4573
ba3ccd63
EB
4574 * libc/include/ctype.h: Remove invalid +1 offset from
4575 ctype macro references to __ctype_ptr.
4576 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 4577
5c9b5ac7
CV
45782005-03-18 Corinna Vinschen <corinna@vinschen.de>
4579
4580 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4581 evaluate first parameter only once.
4582 (siglongjmp): Ditto.
4583
dd801fda
JJ
45842005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4585
4586 * configure.in: Add new check to see if compiler supports
4587 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4588 * configure: Regenerated.
4589 * Makefile.in: Ditto.
4590 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4591 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4592 aliasing the _ctype_ array to _ctype_b.
4593 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4594 _ctype_ as deprecated.
4595
333eabc6
HPN
45962005-03-17 Hans-Peter Nilsson <hp@axis.com>
4597
4598 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4599 -DCOMPACT_CTYPE.
4600
df5a5b35
JJ
46012005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4602
4603 * libc/sys/rtems/include/inttypes.h: New file.
4604 * libc/sys/rtems/include/stdint.h: Ditto.
4605
9d385fb0
JJ
46062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4607
4608 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4609
2e7d9bf9
JJ
46102005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4611
4612 * libc/include/machine/_types.h: New file.
4613 * libc/include/sys/types.h: Do not check for __rtems__
4614 when including <machine/_types.h>. Remove some redundant
4615 declarations now that <machine/_types.h> is included.
4616 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4617 shared header file.
4618
92a7e06e
JJ
46192005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4620
4621 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4622 L qualifier for these long constants.
4623
1139537a
JJ
46242005-02-25 Eric Blake <ebb9@byu.net>
4625
4626 * libc/include/time.h (__tzrule_struct): Make offset long, since
4627 a 16-bit int overflows on a 12-hour offset.
4628 * libc/sys/linux/include/time.h: Ditto.
4629 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4630 * libc/time/mktm_r.c: Ditto.
4631 * libc/time/gettzinfo.c: Ditto.
4632 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4633 years. Fix '%z' to use long, not int.
4634
f4fd7b4c
JJ
46352005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4636
4637 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4638 manipulate float values in integer form.
4639 * libm/common/sf_round.c: Ditto.
4640
f2f8a9a2
JJ
46412005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4642
4643 * libc/include/sys/types.h [__rtems__]: Include new
4644 header file machine/_types.h.
4645 * libc/include/machine/types.h: Ditto.
4646 * libc/sys/rtems/machine/_types.h: New file.
4647
39fd43d7
CV
46482005-02-23 Corinna Vinschen <corinna@vinschen.de>
4649
4650 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4651 (timezone): Drop cast from definition.
4652
6b9a74f9
JJ
46532005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4654
4655 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4656 (__tzrule_type, __tzinfo_type): New types.
4657 (__gettzinfo): New function.
4658 * libc/sys/linux/include/time.h: Ditto.
4659 * libc/time/Makefile.am: Add gettzinfo.c.
4660 * libc/time/Makefile.in: Regenerated.
4661 * libc/time/local.h: Moved __tzrule_type to time.h.
4662 * libc/time/mktime.c: Call __gettzinfo to reference
4663 __tznorth, __tzyear, and __tzrule array.
4664 * libc/time/mktm_r.c: Ditto.
4665 * libc/time/strftime.c: Ditto.
4666 * libc/time/tzset_r.c: Ditto. Also remove definition
4667 of __tzrule which is now in gettzinfo.c. Change _timezone
4668 references to not cast to time_t.
4669 * libc/time/gettzinfo.c: New file.
4670
6015cf9f
CV
46712005-02-23 Corinna Vinschen <corinna@vinschen.de>
4672
4673 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4674
5e4c05da
CV
46752005-02-22 Corinna Vinschen <corinna@vinschen.de>
4676
4677 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4678
f1d439fc
JJ
46792005-02-16 Eric Blake <ebb9@byu.net>
4680
4681 * libc/time/time.tex: Improve the documentation.
4682 * libc/time/strftime.c: Improve the documentation.
4683 (iso_year_adjust): New helper function.
4684 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4685 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4686 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4687 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4688 Avoid core dumps on valid inputs (maxsize == 0, or
4689 tim_p->tm_isdst > 1).
4690
18d3a03b
CV
46912005-02-08 Corinna Vinschen <corinna@vinschen.de>
4692
4693 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4694 members to uid_t and gid_t according to SUSv3.
4695 * libc/include/sys/time.h (utimes): Change second parameter
4696 to const according to SUSv3.
4697
1159e0fd
JJ
46982005-02-07 Antony King <antony.king@st.com>
4699
4700 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4701 called before _flockfile to prevent lock object use before
4702 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4703 take a struct _reent * instead of a FILE *.
4704 * libc/stdio/fclose.c (_fclose_r): Ditto.
4705 * libc/stdio/feof.c (feof): Ditto.
4706 * libc/stdio/ferror.c (ferror): Ditto.
4707 * libc/stdio/fflush.c (fflush): Ditto.
4708 * libc/stdio/fgetc.c (fgetc): Ditto.
4709 * libc/stdio/fgets.c (fgets): Ditto.
4710 * libc/stdio/fileno.c (fileno): Ditto.
4711 * libc/stdio/fputc.c (fputc): Ditto.
4712 * libc/stdio/fputs.c (fputs): Ditto.
4713 * libc/stdio/fread.c (fread): Ditto.
4714 * libc/stdio/freopen.c (_freopen_r): Ditto.
4715 * libc/stdio/fseek.c (_fseek_r): Ditto.
4716 * libc/stdio/ftell.c (_ftell_r): Ditto.
4717 * libc/stdio/fwrite.c (fwrite): Ditto.
4718 * libc/stdio/getc.c (getc): Ditto.
4719 * libc/stdio/getdelim.c (__getdelim): Ditto.
4720 * libc/stdio/putc.c (putc): Ditto.
4721 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4722 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4723 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4724 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4725 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4726 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4727 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4728 _reent * instead of a FILE * and so replace incorrect use of
4729 _REENT with argument.
4730 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4731 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4732 CHECK_INIT() take a struct _reent * instead of a FILE *.
4733 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4734 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4735 * libc/stdio/perror.c (perror): Ditto.
4736 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4737 * libc/stdio/putchar.c (putchar): Ditto.
4738 * libc/stdio/puts.c (puts): Ditto.
4739 * libc/stdio/refill.c (__srefill): Ditto.
4740 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4741 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4742 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4743 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4744 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4745 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4746 * libc/stdio/wbuf.c (__swbuf): Ditto.
4747 * libc/stdio/wsetup.c (__swsetup): Ditto.
4748 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4749 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4750 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4751 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4752 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4753 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4754 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4755 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4756 initialision of _data field in FILE structure.
4757 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4758
3d915670
JJ
47592005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4760
4761 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4762 (__sinit_lock): New lock.
4763 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4764 * libc/stdio/local.h: Add reference to new __sinit locking
4765 functions.
4766
b59cab1e
JJ
47672005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4768
4769 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4770 input variable names to avoid mixups with nesting macros.
4771
1815fdea
JJ
47722005-01-27 Hans-Peter Nilsson <hp@axis.com>
4773
4774 * configure.host: Add support for cris-*-* and crisv32-*-*.
4775 * libc/include/machine/ieeefp.h: Ditto.
4776 * libc/include/machine/setjmp.h: Ditto.
4777 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4778 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4779 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4780 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4781 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4782 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4783 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4784 files.
4785
f7d4d41a
JJ
47862005-01-27 Hans-Peter Nilsson <hp@axis.com>
4787
4788 * testsuite/newlib.string/memmove1.c: New test.
4789
1319dec6
JJ
47902005-01-27 Hans-Peter Nilsson <hp@axis.com>
4791
4792 * testsuite/include/check.h: Include stdlib.h.
4793
b45e65b0
JJ
47942005-01-27 Hans-Peter Nilsson <hp@axis.com>
4795
4796 * Makefile.am (stmp-targ-include): Support include header files
4797 from machine directories.
e9743354 4798 (install-data-local): Ditto.
b45e65b0
JJ
4799 * Makefile.in: Regenerate.
4800
dbfa92dd
JJ
48012005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4802
4803 * libc/include/string.h: Remove Linux-specific declaration of
4804 strsignal and add #include <sys/string.h>.
4805 * libc/include/sys/string.h: New file.
4806 * libc/include/sys/linux/sys/string.h: New file with strsignal
4807 declaration deleted above.
4808
6cb0c055
JJ
48092005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4810
4811 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4812 to POSIX standard for "C" locale. Allow %E and %O modifiers
4813 to be ignored as long as they precede valid specifiers according
4814 to POSIX.
4815
52429807
JJ
48162005-01-19 Shaun Jackman <sjackman@gmail.com>
4817
4818 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4819 environment variable is set.
4820
f693170a
JJ
48212005-01-19 Shaun Jackman <sjackman@gmail.com>
4822
ba3ccd63 4823 * tzset_r.c (_tzname): Add a comma.
f693170a 4824
464d01bf
AH
48252005-01-18 Aldy Hernandez <aldyh@redhat.com>
4826
4827 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4828 _VFPRINTF_R.
4829
f7a74742 48302005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4831
f7a74742
JJ
4832 * configure.in: Add test for .init_array.
4833 * configure: Regenerate.
4834 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4835 * libc/misc/Makefile.am: Add init.c
4836 * libc/misc/Makefile.in: Regenerate.
4837 * libc/misc/init.c: New file.
4838 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4839 _init/_fini if they exist.
17c0c97d 4840
8fa6cb9a
JJ
48412005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4842
4843 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4844 * (strtof): Ditto.
4845 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4846 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4847 functions for use by strtod and strtof.
4848 * Makefile.in: Regenerated.
17c0c97d 4849
034a3909 48502005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4851
034a3909
JJ
4852 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4853 bit-test in combination with NULL test.
17c0c97d 4854
9918ea2d 48552005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4856
ba3ccd63 4857 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4858
5cc3f592
JJ
48592004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4860
4861 * NEWS: Update with 1.13.0 info.
4862 * README: Ditto.
4863 * acinclude.m4: Change version number to 1.13.0.
4864 * aclocal.m4: Regenerated.
4865 * configure: Ditto.
4866 * doc/aclocal.m4: Ditto.
4867 * doc/configure: Ditto.
4868 * libc/*/aclocal.m4: Ditto.
4869 * libc/*/configure: Ditto.
4870 * libc/libc.texinfo: Ditto.
4871 * libm/*/aclocal.m4: Ditto.
4872 * libm/*/configure: Ditto.
4873 * libm/libm.texinfo: Ditto.
4874 * libc/sys/linux/shared.ld: Add VERS_1.13.
4875
d8ae996c
JJ
48762004-12-17 Christian Groessler <chris@groessler.org>
4877
4878 * libc/machine/z8k/memcmp.S: New file.
4879 * libc/machine/z8k/memcpy.S: Ditto.
4880 * libc/machine/z8k/memmove.S: Ditto.
4881 * libc/machine/z8k/memset.S: Ditto.
4882 * libc/machine/z8k/Makefile.am: Add new files.
4883 * libc/machine/z8k/Makefile.in: Regenerated.
4884 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4885 part. Implement Z8002 stdcall version.
4886
82673116
JJ
48872004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4888
4889 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4890 a low-level read if we don't get the full amount of bytes so
4891 EOF or error flags will be set.
4892
0082d4cf
JJ
48932004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4894
4895 * libc/time/tzset_r (_tzset_r): Properly skip over
4896 '/' when it is detected.
4897
3b54b74f
JJ
48982004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4899
4900 * libc/time/tzset_r (_tzset_r): Fix loop.
4901
4b30e154
JJ
49022004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4903
4904 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4905 m_day.
4906 (__tzcalc_limits): Fix reference to month array to be zero-based.
4907
465eab2e
JJ
49082004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4909
4910 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4911 and usleep.
4912
a2b1a849
JJ
49132004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4914
4915 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4916 libgcc dependencies.
4917 (libm_la_LDFLAGS): Ditto.
4918 * Makefile.in: Regenerated.
4919
c80a1731
JJ
49202004-12-03 Shaun Jackman <sjackman@gmail.com>
4921
4922 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4923 our link to use readlink so as to preserve any relative link created
4924 by install-toollibLIBRARIES.
4925 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4926
70e9da42
JJ
49272004-12-02 Shaun Jackman <sjackman@gmail.com>
4928
4929 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4930 time_t before including sys/stat.h, which uses it.
4931 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4932 <linux/time.h> just prior to definition of __KERNEL__ so as to
4933 allow building on Debian Linux where otherwise, mktime would
4934 be redefined.
4935
a330d85a
JJ
49362004-11-26 Paul Brook <paul@codesourcery.com>
4937
4938 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4939
c41a1cb7
JJ
49402004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4941
4942 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4943 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4944 * libc/stdlib/putenv.c: Ditto.
4945 * libc/stdlib/putenv_r.c: Ditto.
4946
16ac96ee
JJ
49472004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4948
4949 * libc/stdio/Makefile.am: Fix missing vfscanf.
4950 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4951
3bf09147 49522004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4953
3bf09147
JJ
4954 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4955 do some reordering.
4956 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4957 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4958 family functions.
4959 * libc/stdio/Makefile.in: Regenerated.
4960 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4961 * libc/stdio/iprintf.c: Ditto.
4962 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4963 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4964 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4965 * libc/stdio/stdio.tex: Add new functions.
4966 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4967 file and add special name defines so this file can be used
4968 to build vfiscanf.o.
4969 * libc/stdio/asiprintf.c: New file.
4970 * libc/stdio/fiscanf.c: Ditto.
4971 * libc/stdio/iscanf.c: Ditto.
4972 * libc/stdio/sccl.c: Ditto.
4973 * libc/stdio/siscanf.c: Ditto.
4974 * libc/stdio/vasiprintf.c: Ditto.
4975 * libc/stdio/viprintf.c: Ditto.
4976 * libc/stdio/viscanf.c: Ditto.
4977 * libc/stdio/vsiprintf.c: Ditto.
4978 * libc/stdio/vsiscanf.c: Ditto.
4979 * libc/stdio/vsniprintf.c: Ditto.
4980
0f0fcb04 49812004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4982
ba3ccd63
EB
4983 * libc/include/stdio.h: Add sniprintf.
4984 * libc/stdio/Makefile.am: Add sniprintf.c.
4985 * libc/stdio/Makefile.in: Regenerated.
4986 * libc/stdio/sniprintf.c: New file.
4987 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4988
1f8f7e2d
CF
49892004-11-17 Christopher Faylor <cgf@timesys.com>
4990
4991 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4992 EOF flag if successful.
4993
b08d08c7
CF
49942004-10-28 Christopher Faylor <cgf@timesys.com>
4995
4996 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4997 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4998 include.
4999
65b1964f
JJ
50002004-10-26 Jason Tishler <jason@tishler.net>
5001
5002 * libc/stdio/fread.c (fread): Fix return value for unbuffered
5003 fread.
5004
6382b7e3 50052004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
5006
5007 * libc/include/machine/setjmp.h: Add AVR support.
5008 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
5009
73131c2d 50102004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 5011
ba3ccd63
EB
5012 * libc/include/sys/signal.h: If <signal.h> didn't include
5013 this header file, include <signal.h> to account for
5014 applications that take advantage that the two header
5015 files are the same in glibc.
17c0c97d 5016
1185687a
JJ
50172004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
5018
ba3ccd63
EB
5019 * configure.host: Add support for crx.
5020 * libc/include/machine/ieeefp.h: Ditto.
5021 * libc/include/machine/setjmp.h: Ditto.
5022 * libc/machine/crx/Makefile.am: New file.
5023 * libc/machine/crx/configure.in: Ditto.
5024 * libc/machine/crx/setjmp.S: Ditto.
5025 * libc/machine/crx/getenv.c: Ditto.
5026 * libc/machine/crx/aclocal.m4: Generate.
5027 * libc/machine/crx/configure: Ditto.
5028 * libc/machine/crx/Makefile.in: Ditto.
5029 * libc/machine/crx/sys/asm.h: New file.
5030 * libc/machine/crx/sys/libh.h: Ditto.
5031 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 5032
423152ed
JJ
50332004-10-05 Jeff Johnston <jjohnstn@redhat.com>
5034
5035 * Makefile.am (stmp-targ-include): Support sys header files
5036 from machine directories.
5037 * Makefile.in: Regenerated.
5038
3ea9de76
JJ
50392004-10-04 Jeff Johnston <jjohnstn@redhat.com>
5040
5041 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
5042 count skipped zero characters as part of the nread count for %n.
5043 * libc/machine/powerpc/vfscanf.c: Ditto.
5044
2a6e1223
JJ
50452004-09-24 Jeff Johnston <jjohnstn@redhat.com>
5046
5047 * libc/stdio/local.h: Include <stdlib.h>.
5048
d163f2fc
CV
50492004-09-24 Corinna Vinschen <corinna@vinschen.de>
5050
5051 * libc/stdio/fread.c (fread): Include <malloc.h>.
5052
602de582
JJ
50532004-09-22 Jeff Johnston <jjohnstn@redhat.com>
5054
5055 * libc/stdio/fread.c (fread): For non-space-optimized case,
5056 add special code for unbuffered files to use user buffer and
5057 only require one low-level system read.
5058
32e73f4d
ILT
50592004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
5060
5061 * libc/machine/xscale/setjmp.S: New file, copied from
5062 libc/machine/arm/setjmp.S.
5063 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
5064 * libc/machine/xscale/Makefile.in: Regenerate.
5065
ed6859b8
JJ
50662004-09-16 Antony King <antony.king@st.com>
5067
5068 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
5069 with locking API.
17c0c97d 5070 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
5071 check for__SSTR in _flags and if set, skip lock request.
5072 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5073 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
5074 not NULL.
5075 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
5076 initialisation of _file to -1 in local FILE.
5077 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
5078 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
5079 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
5080 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
5081 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
5082 _flags in local FILE to prevent locking.
5083 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
5084
7a0f6966
JJ
50852004-09-16 Antony King <antony.king@st.com>
5086
5087 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
5088 and only walk the reentrancy parameter.
5089 (_fwalk_reent): Ditto.
5090 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
5091
c77672c0
JJ
50922004-09-16 Antony King <antony.king@st.com>
5093
5094 * libc/stdio64/freopen64.c: Remove casting of fp lock to
5095 _LOCK_RECURSIVE_T.
5096
5c44c2e5
JJ
50972004-09-16 Antony King <antony.king@st.com>
5098
5099 * libc/time/tzlock.c: Add default stubs that use generic
5100 locking code.
5101
14613e5e
JJ
51022004-09-16 Antony King <antony.king@st.com>
5103
5104 * libc/ctype/ctype.tex: Added missing documentation.
5105 * libc/stdio/stdio.tex Ditto.
5106 * libc/stdlib/stdlib.tex Ditto.
5107 * libc/string/strings.tex Ditto.
5108 * libc/time/time.tex: Ditto.
5109 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
5110
181cb051
JJ
51112004-09-15 Corinna Vinschen <vinschen@redhat.com>
5112
5113 * libc/reent/impure.c (reent_data): Define as alias to impure_data
5114 when building for Cygwin.
5115 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
5116 _global_impure_ptr.
5117
51d4a7ea
JJ
51182004-09-15 Jeff Johnston <jjohnstn@redhat.com>
5119
5120 * configure.host: Reverting 2004-09-14 change as fix has occurred on
5121 Cygwin side.
5122 * configure.in: Ditto.
5123 * libc/configure.in: Ditto.
5124 * libc/sys/configure.in: Ditto.
5125 * configure: Ditto.
5126 * libc/configure: Ditto.
5127 * libc/sys/configure: Ditto.
5128 * libc/include/sys/reent.h: Ditto.
5129 * libc/stdlib/__atexit.c: Ditto.
5130 * libc/stdlib/__call_atexit.c: Ditto.
5131 * libc/stdlib/cxa_atexit.c: Ditto.
5132 * libc/stdlib/cxa_finalize.c: Ditto.
5133 * libc/sys/cygwin/Makefile.am: Removed again.
5134 * libc/sys/cygwin/Makefile.in: Ditto.
5135 * libc/sys/cygwin/aclocal.m4: Ditto.
5136 * libc/sys/cygwin/configure: Ditto.
5137 * libc/sys/cygwin/configure.in: Ditto.
5138 * libc/sys/cygwin/dummy.c: Ditto.
5139 * libc/sys/cygwin/sys/reent.h: Ditto.
5140
98650d2f
JJ
51412004-09-14 Jeff Johnston <jjohnstn@redhat.com>
5142
5143 * configure.host: Add Cygwin sys directory.
5144 * configure.in: Do not set CRT0 for cygwin.
5145 * libc/configure.in: Ditto.
5146 * libc/sys/configure.in: Ditto.
5147 * configure: Regenerated.
5148 * libc/configure: Ditto.
5149 * libc/sys/configure: Ditto.
5150 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
5151 * libc/stdlib/__atexit.c: Keep cxa support protected by new
5152 __REENT_HAS_CXA_SUPPORT flag.
5153 * libc/stdlib/__call_atexit.c: Ditto.
5154 * libc/stdlib/cxa_atexit.c: Ditto.
5155 * libc/stdlib/cxa_finalize.c: Ditto.
5156 * libc/sys/cygwin/Makefile.am: New file.
5157 * libc/sys/cygwin/Makefile.in: Ditto.
5158 * libc/sys/cygwin/aclocal.m4: Ditto.
5159 * libc/sys/cygwin/configure: Ditto.
5160 * libc/sys/cygwin/configure.in: Ditto.
5161 * libc/sys/cygwin/dummy.c: Ditto.
5162 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
5163 version of reent.h.
5164
d4c8e53b
JJ
51652004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5166
5167 * libc/iconv/iconv.tex: Updated with new content.
5168 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
5169 instead of NLS_DEFAULT_NLSPATH.
5170 * libc/iconv/lib/iconvnls.h: Fix typo.
5171 * libc/include/sys/iconvnls.h: New file.
5172
0c8593cf
JJ
51732004-09-09 Paul Brook <paul@codesourcery.com>
5174
5175 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
5176 and _is_cxa.
5177 (struct _atexit): Add _next when _REENT_SMALL.
5178 (struct _reent): Add _atexit0 when _REENT_SMALL.
5179 (_REENT_INIT_PTR): Adjust.
5180 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
5181 __call_exit.c.
5182 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
5183 * libc/stdlib/Makefile.in: Regenerate.
5184 * libc/stdlib/__atexit.c: New file.
5185 * libc/stdlib/__call_atexit.c: New file.
5186 * libc/stdlib/atexit.h: Remove old definitions. Add new.
5187 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
5188 * libc/stdlib/cxa_atexit.c: New file.
5189 * libc/stdlib/cxa_finalize.c: New file.
5190 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
5191 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
5192 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
5193 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
5194 _on_exit_args_ptr.
5195
c6ed5a85
JJ
51962004-08-23 Jeff Johnston <jjohnstn@redhat.com>
5197
5198 * libc/include/sys/unistd.h (getpass): Change prototype to use
5199 const instead of __const.
5200
721a934c
JJ
52012004-08-16 Nathan Sidwell <nathan@codesourcery.com>
5202
5203 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
5204 #if.
5205
4e53fc28
JJ
52062004-08-12 Jeff Johnston <jjohnstn@redhat.com>
5207
5208 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
5209 on linux systems with glibc 2.3.3 installed.
5210 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
5211 profile_fixup so newlib can build on fc3 system.
17c0c97d 5212
82045f12
AO
52132004-07-30 Alexandre Oliva <aoliva@redhat.com>
5214
5215 Introduce SH2a support.
5216 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
5217 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
5218 __SH2A_SINGLE_ONLY__, too.
5219 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
5220 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
5221 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
5222 2004-02-10 DJ Delorie <dj@redhat.com>
5223 * libc/sys/sh/crt0.S (start_l): Support sh2a.
5224
ad6b1d79
JJ
52252004-07-29 Jeff Johnston <jjohnstn@redhat.com>
5226
5227 * libc/time/strptime.c: Correct full-name of "March" typo.
5228
63b9dcc4
JJ
52292004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
5230
17c0c97d 5231 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 5232
dbfd3394
JJ
52332004-07-16 Jeff Johnston <jjohnstn@redhat.com>
5234
5235 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
5236 calls, if realloc fails, free up buffer as it is no longer
5237 used.
5238
6edb3da9
JJ
52392004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5240
5241 * libc/iconv/iconv.tex: Updated to represent recent changes.
5242 * libc/iconv/lib/iconv.c: Documentation updated.
5243
578a3560
NC
52442004-07-07 Nick Clifton <nickc@redhat.com>
5245
5246 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
5247 for xStormy16.
5248
2bc257e3
JJ
52492004-07-06 Chris Demetriou <cgd@broadcom.com>
5250
5251 * configure.host (mips*-*-elf*): Default long long printing
5252 support.
5253
75e7ffaa
JJ
52542004-07-05 Jeff Johnston <jjohnstn@redhat.com>
5255
5256 * libc/Makefile.am (libc.dvi): Add target and specify
5257 same dependencies as libc.info.
5258 * libc/Makefile.in: Regenerated.
5259 * libm/Makefile.am (libm.dvi): Add target and specify
5260 same dependencies as libm.info.
5261 * libm/Makefile.in: Regenerated.
5262
76ce12c3
JJ
52632004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5264
5265 * acinclude.m4: Move --enable-newlib-iconv option back here.
5266 * configure.in: Remove --enable-newlib-iconv option. Don't
5267 tie iconv support to --enable-newlib-mb.
5268 * aclocal.m4: Regenerated.
5269 * configure: Ditto.
5270 * doc/aclocal.m4, doc/configure: Ditto.
5271 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
5272 * libm/*/aclocal.m4: Ditto.
5273 * libm/*/configure: Ditto.
5274 * libc/*/aclocal.m4: Ditto.
5275 * libc/*/configure: Ditto.
5276
660dade3
JJ
52772004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5278
5279 * acinclude.m4: Move iconv options into configure.in.
5280 * aclocal.m4: Regenerated.
5281 * configure: Ditto.
5282 * configure.in: Add iconv options.
5283 * newlib.hin: Add new iconv encodings and remove deleted ones.
5284 * doc/aclocal.m4: Regenerated.
5285 * doc/configure: Ditto.
5286 * iconvdata/aclocal.m4: Ditto.
5287 * iconvdata/configure: Ditto.
5288 * libc/iconv: Design change. New size-optimized ccs format.
5289 * libc/iconv/AUTHORS: Removed.
5290 * libc/iconv/COPYING: Ditto.
5291 * libc/iconv/README.ORIGINAL: Ditto.
5292 * libc/iconv/README.TODO: Ditto.
5293 * libc/iconv/charset.aliases: Ditto.
5294 * libc/iconv/encoding.aliases: New file.
5295 * libc/iconv/Makefile.am: Updated.
5296 * libc/iconv/Makefile.in: Regenerated.
5297 * libc/iconv/iconv.tex: Updated.
5298 * libc/iconv/ccs/Makefile.am: Ditto.
5299 * libc/iconv/ccs/Makefile.in: Regenerated.
5300 * libc/iconv/ccs/big5.c: Updated.
5301 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5302 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5303 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5304 * libc/iconv/ccs/cp775.c: Ditto.
5305 * libc/iconv/ccs/cp850.c: Ditto.
5306 * libc/iconv/ccs/cp852.c: Ditto.
5307 * libc/iconv/ccs/cp855.c: Ditto.
5308 * libc/iconv/ccs/cp866.c: Ditto.
5309 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5310 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
5311 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5312 * libc/iconv/ccs/iconv_mktbl: Ditto.
5313 * libc/iconv/ccs/jis_x0201.c: Ditto.
5314 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5315 * libc/iconv/ccs/shift_jis.c: Ditto.
5316 * libc/iconv/ccs/us_ascii.c: Ditto.
5317 * libc/iconv/ccs/ccs.h: New file.
5318 * libc/iconv/ccs/ccsbi.c: Ditto.
5319 * libc/iconv/ccs/ccsbi.h: Ditto.
5320 * libc/iconv/ccs/ccsnames.h: Ditto.
5321 * libc/iconv/ccs/iso_8859_10.c: Ditto.
5322 * libc/iconv/ccs/iso_8859_11.c: Ditto.
5323 * libc/iconv/ccs/iso_8859_13.c: Ditto.
5324 * libc/iconv/ccs/iso_8859_14.c: Ditto.
5325 * libc/iconv/ccs/iso_8859_3.c: Ditto.
5326 * libc/iconv/ccs/iso_8859_6.c: Ditto.
5327 * libc/iconv/ccs/iso_8859_7.c: Ditto.
5328 * libc/iconv/ccs/iso_8859_8.c: Ditto.
5329 * libc/iconv/ccs/iso_8859_9.c: Ditto.
5330 * libc/iconv/ccs/iso_ir_111.c: Ditto.
5331 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
5332 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
5333 * libc/iconv/ccs/koi8_ru.c: Ditto.
5334 * libc/iconv/ccs/koi8_uni.c: Ditto.
5335 * libc/iconv/ccs/mktbl.pl: Ditto.
5336 * libc/iconv/ccs/win_1250.c: Ditto.
5337 * libc/iconv/ccs/win_1251.c: Ditto.
5338 * libc/iconv/ccs/win_1252.c: Ditto.
5339 * libc/iconv/ccs/win_1253.c: Ditto.
5340 * libc/iconv/ccs/win_1254.c: Ditto.
5341 * libc/iconv/ccs/win_1255.c: Ditto.
5342 * libc/iconv/ccs/win_1256.c: Ditto.
5343 * libc/iconv/ccs/win_1257.c: Ditto.
5344 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
5345 * libc/iconv/ccs/iso_8859_15.c: Updated.
5346 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5347 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5348 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5349 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5350 * libc/iconv/ccs/koi8_r.c: Ditto.
5351 * libc/iconv/ccs/koi8_u.c: Ditto.
5352 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
5353 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
5354 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5355 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5356 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5357 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5358 * libc/iconv/ccs/binary/Makefile.am: Updated.
5359 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
5360 * libc/iconv/ccs/binary/big5.cct: Updated.
5361 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5362 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5363 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5364 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
5365 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
5366 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
5367 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
5368 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
5369 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5370 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5371 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5372 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5373 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5374 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5375 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5376 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5377 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5378 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
5379 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
5380 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
5381 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
5382 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
5383 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
5384 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
5385 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
5386 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
5387 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
5388 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
5389 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
5390 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
5391 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
5392 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
5393 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
5394 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
5395 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
5396 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
5397 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
5398 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
5399 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
5400 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
5401 * libc/iconv/ces/Makefile.am: Updated.
5402 * libc/iconv/ces/Makefile.in: Regenerated.
5403 * libc/iconv/ces/ucs-2-internal.c: Updated.
5404 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5405 * libc/iconv/ces/utf-16.c: Ditto.
5406 * libc/iconv/ces/utf-8.c: Ditto.
5407 * libc/iconv/ces/cesbi.c: New file.
5408 * libc/iconv/ces/cesbi.h: Ditto.
5409 * libc/iconv/ces/cesdeps.h: Ditto.
5410 * libc/iconv/ces/euc.c: Ditto.
5411 * libc/iconv/ces/mkdeps.pl: Ditto.
5412 * libc/iconv/ces/table-pcs.c: Ditto.
5413 * libc/iconv/ces/table.c: Ditto.
5414 * libc/iconv/ces/ucs-2.c: Ditto.
5415 * libc/iconv/ces/ucs-4.c: Ditto.
5416 * libc/iconv/ces/us-ascii.c: Ditto.
5417 * libc/iconv/ces/euc-jp.c: Removed.
5418 * libc/iconv/ces/euc-kr.c: Ditto.
5419 * libc/iconv/ces/euc-tw.c: Ditto.
5420 * libc/iconv/ces/gb2312.c: Ditto.
5421 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
5422 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5423 * libc/iconv/lib/Makefile.am: Updated.
5424 * libc/iconv/lib/Makefile.in: Regenerated.
5425 * libc/iconv/lib/endian.h: Updated.
5426 * libc/iconv/lib/iconv.c: Ditto.
5427 * libc/iconv/lib/local.h: Ditto.
5428 * libc/iconv/lib/aliases.c: Removed.
5429 * libc/iconv/lib/bialiasesi.c: Ditto.
5430 * libc/iconv/lib/biccs.c: Ditto.
5431 * libc/iconv/lib/bices.c: Ditto.
5432 * libc/iconv/lib/ccs.c: Ditto.
5433 * libc/iconv/lib/ces.c: Ditto.
5434 * libc/iconv/lib/ces_euc.c: Ditto.
5435 * libc/iconv/lib/ces_iso2022.c: Ditto.
5436 * libc/iconv/lib/ces_table.c: Ditto.
5437 * libc/iconv/lib/converter.c: Ditto.
5438 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
5439 * libc/iconv/lib/loaddata.c: Ditto.
5440 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
5441 * libc/iconv/lib/aliasesi.c: Ditto.
5442 * libc/iconv/lib/conv.h: Ditto.
5443 * libc/iconv/lib/encnames.h: Ditto.
5444 * libc/iconv/lib/encoding.deps: Ditto.
5445 * libc/iconv/lib/iconvnls.c: Ditto.
5446 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
5447 * libc/iconv/lib/nullconv.c: Ditto.
5448 * libc/iconv/lib/ucsconv.c: Ditto.
5449 * libc/iconv/lib/ucsconv.h: Ditto.
5450 * libc/include/iconv.h: Update copyright.
5451 * libc/*/aclocal.m4: Regenerated.
5452 * libc/*/configure: Ditto.
5453 * libm/*/aclocal.m4: Ditto.
5454 * libm/*/configure: Ditto.
5455
9a6831be
AO
54562004-06-22 Alexandre Oliva <aoliva@redhat.com>
5457
eb6a452a
AO
5458 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
5459 instead of typedefing jmp_buf.
5460
9a6831be
AO
5461 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
5462 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
5463 * libc/machine/h8300/defines.h (LEN): New macro.
5464 * libc/machine/h8300/memcpy.S: Add h8sx version.
5465 * libc/machine/h8300/memset.S: Likewise.
5466 * libc/machine/h8300/strcmp.S: Likewise.
5467 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
5468 * libc/machine/h8300/h8sx_strcpy.S: New file.
5469 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
5470 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
5471 __H8300SX__.
5472 * libc/include/machine/setjmp.h: Likewise.
5473 * libc/include/sys/config.h: Likewise.
5474 * libc/machine/h8300/defines.h: Likewise.
5475 * libc/machine/h8300/setjmp.S: Likewise.
5476 * libc/machine/h8300/strcmp.S: Likewise.
5477 * libc/sys/h8300hms/close.S: Likewise.
5478 * libc/sys/h8300hms/fstat.S: Likewise.
5479 * libc/sys/h8300hms/lseek.S: Likewise.
5480 * libc/sys/h8300hms/read.S: Likewise.
5481 * libc/sys/h8300hms/write.S: Likewise.
5482 * libc/sys/h8300hms/crt0.S: Likewise.
5483 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
5484 __H8300SX__ is defined.
5485 * libc/sys/h8300hms/setarch.h: Likewise.
5486
80dba41e
JJ
54872004-06-17 Jeff Johnston <jjohnstn@redhat.com>
5488
5489 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
5490 out change which set _GLOBAL_REENT to _global_impure_ptr until
5491 we understand why Cygwin breaks because of it.
5492
be910599
JJ
54932004-06-14 Jeff Johnston <jjohnstn@redhat.com>
5494
5495 * libc/sys/linux/machine/i386/syscall.h: For now, set up
5496 __syscall_return macro for systems with vsyscall.
5497
d0bd3e6f
JJ
54982004-06-11 Antony King <antony.king@st.com>
5499
5500 * libc/include/sys/_types.h: Include <sys/lock.h> and change
5501 _flock_t to be of type _LOCK_RECURSIVE_T.
5502 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
5503 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
5504 (_global_impure_ptr): New declaration.
5505 (_GLOBAL_REENT): Change to be _global_impure_ptr.
5506 * libc/include/sys/stdio.h: Include <sys/lock.h> and
5507 <sys/reent.h>.
5508 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
5509 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5510 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
5511 * libc/stdio/fclose.c: Remove casting of fp lock to
5512 _LOCK_RECURSIVE_T.
5513 * libc/stdio/findfp.c: Ditto.
5514 * libc/stdio/fopen.c: Ditto.
5515 * libc/stdio/freopen.c: Ditto.
5516 * libc/stdio/vfprintf.c: Ditto.
5517 * libc/stdio64/fopen64.c: Ditto.
5518 * libc/stdlib/envlock.c: Add default stubs that use generic
5519 locking code.
5520 * libc/stdlib/mlock.c: Ditto.
5521
5522 Jeff Johnston <jjohnstn@redhat.com>
5523 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
5524 (_flock_t): Change to be a struct containing a single member
5525 named mutex which is of type __flock_mutex_t.
5526
db7033a9
JJ
55272004-06-09 Jeff Johnston <jjohnstn@redhat.com>
5528
5529 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
5530 from /usr/include/asm/signal.h instead of kernel sources. Also
5531 default max to 32 if not found in header file.
5532 * libc/sys/linux/Makefile.in: Regenerated.
5533 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
5534 systems where __syscall_return is not defined.
5535 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
5536 systems to use syscall() function instead of assembler interrupt.
5537
a170abec
JJ
55382004-06-09 Toralf Lund <toralf@procaptura.com>
5539
5540 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
5541 files from libc/sys/arm to libc/machine/arm.
5542 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
5543 library build support for files moved from libc/sys/arm.
5544 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
5545 references to access and setjmp.
5546 * configure.host: Add checks for newlib_may_supply_syscalls to
5547 determine whether or not to use sys/arm directory and use
5548 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 5549
8b57e664
JJ
55502004-06-02 Jeff Johnston <jjohnstn@redhat.com>
5551
5552 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
5553 reset digit flags appropriately after we have discovered "0x".
5554 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5555
3f611058
JJ
55562004-05-27 Jeff Johnston <jjohnstn@redhat.com>
5557
5558 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
5559 from here ...
5560 (_VFPRINTF_R): ... to here so all I/O printf routines
5561 are covered.
5562
bb42a35c
JJ
55632004-05-26 Jeff Johnston <jjohnstn@redhat.com>
5564
5565 * libc/search/hash_buf.c: Protect MAX and MIN macros from
5566 redefinition.
5567 * libc/search/hash.c: Ditto.
5568
227e6ef6
JJ
55692004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5570
5571 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5572 (_WANT_IO_LONG_LONG): Ditto.
5573 (_WANT_IO_LONG_DOUBLE): Ditto.
5574 * configure.in: Add new configuration options
5575 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5576 which tie to new defines in newlib.hin.
5577 * configure: Regenerated.
5578 * configure.host: Add checks for new configuration options. Also
5579 fix up check for --enable-newlib-io-pos-args so configuration
5580 option will override any default for a given platform.
5581 Remove defining compiler flags for the _WANT_IO* options.
5582 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5583 instead of looking for old compiler flags.
5584 * libc/stdio/vfscanf.c: Ditto.
5585 * libc/stdio/vfieeefp.h: Ditto.
5586 * libc/machine/powerpc/vfprintf.c: Ditto.
5587 * libc/machine/powerpc/vfscanf.c: Ditto.
5588
9178da95
JJ
55892004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5590
5591 * testsuite/include/check.h: Add include of <stdio.h>.
5592
cf3aae91
CV
55932004-05-17 Corinna Vinschen <corinna@vinschen.de>
5594
5595 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5596
5b4c8ae2
JJ
55972004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5598
5599 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5600 of free.
5601
56022004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5603
5604 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5605 list for reentrant pointer. Call _vfiprintf_r.
5606 * libc/stdio/siprintf.c (_siprintf_r): New function.
5607 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5608 pointer argument. Change all callers. Call _VFPRINTF_R.
5609 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5610 prototypes.
5611
631fbe65
JJ
56122004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5613
5614 * libc/include/sys/param.h: Remove endian info and include
5615 <machine/endian.h> instead.
5616 * libc/include/machine/endian.h: New file.
5617 * libc/include/machine/param.h: Ditto.
5618 * libc/machine/arm/machine/endian.h: Ditto.
5619 * libc/machine/arm/machine/param.h: Ditto.
5620 * libc/sys/arm/sys/param.h: Removed.
5621 * libc/sys/sysvi386/sys/param.h: Ditto.
5622 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5623
1af84bb7
JJ
56242004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5625
5626 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5627 multibyte functions return failure for %C, %S, %lc, and %ls
5628 format specifiers.
5629
1c63798e
JJ
56302004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5631
5632 * testsuite/include/check.h (CHECK): Add flush of stdout.
5633
20b0251a
JJ
56342004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5635
5636 * libc/include/stdio.h (_ungetc_r): New prototype.
5637 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5638 (__submore): Add reentrant struct pointer argument.
5639 (ungetc): Change to call _ungetc_r.
5640
6194cf4a
JJ
56412004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5642
5643 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5644 function pointer argument.
5645 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5646 to specify function pointer arguments.
5647 (__fwalk, __fwalk_reent): Ditto.
5648
b4ddf489
AH
56492004-04-26 Aldy Hernandez <aldyh@redhat.com>
5650
ba3ccd63
EB
5651 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5652 CT_INT case.
b4ddf489 5653
f777e3a5
JJ
56542004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5655
5656 * configure.in: Define _MB_CAPABLE if mb supported.
5657 * configure: Regenerated.
5658 * configure.host: Remove manual setting of MB_CAPABLE compiler
5659 flag.
5660 * newlib.hin: Add _MB_CAPABLE flag.
5661 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5662 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5663 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5664 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5665 * libc/ctype/jp2uc.c: Ditto.
5666 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5667 * libc/locale/locale.c: Ditto
5668 * libc/machine/powerpc/vfscanf.c: Ditto
5669 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5670 * libc/stdlib/mblen.c: Ditto
5671 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5672 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5673 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5674 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5675 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5676 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5677 * libc/sys/linux/intl/explodename.c: Ditto
5678 * libc/sys/linux/intl/finddomain.c: Ditto
5679 * libc/sys/linux/intl/l10nflist.c: Ditto
5680 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5681 * libc/sys/linux/intl/localealias.c: Ditto
5682
27c7566c
JJ
56832004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5684
5685 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5686 (__svfscanf_r): In integer conversions, leave out leading zeroes
5687 which are not part of a base prefix.
5688 Keep track of width truncation to fit into buf, not counting left-out
5689 zeroes against width till the truncation has been compensated for.
5690 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5691
c00f9719
JJ
56922004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5693
5694 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5695
05b31577
JJ
56962004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5697
5698 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5699 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5700 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5701 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5702 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5703 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5704 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5705 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5706 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5707 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5708 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5709 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5710 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5711 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5712 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5713 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5714 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5715 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5716 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5717 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5718 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5719 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5720 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5721 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5722 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5723 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5724 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5725 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5726 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5727 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5728 copyright notices to top of file, ensure that <_ansi.h> is
5729 included, be consistent with open parentheses, use _DEFUN macro,
5730 include "local.h" where needed, and remove various compiler
5731 warnings.
5732
04e8fca1
JJ
57332004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5734
5735 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5736 (__svfscanf_r): In integer conversions, leave out leading zeroes
5737 which are not part of a base prefix.
5738 Keep track of width truncation to fit into buf, not counting left-out
5739 zeroes against width till the truncation has been compensated for.
5740
9090ec74
CV
57412004-04-20 Corinna Vinschen <corinna@vinschen.de>
5742
5743 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5744
1c17deea
CV
57452004-04-20 Corinna Vinschen <corinna@vinschen.de>
5746
5747 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5748
54c7940f
CV
57492004-04-10 Corinna Vinschen <corinna@vinschen.de>
5750
5751 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5752 to SUSv3.
5753
47dcaf56
JJ
57542004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5755
5756 * libc/stdio/fclose.c (_fclose_r): New function.
5757 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5758 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5759 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5760 * libc/include/stdio.h (_fclose_r): New prototype.
5761 * libc/stdio/fopen.c: Fix typo in comment.
5762
57632004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5764
5765 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5766 to handle _r reentrant functions.
5767
4121d8cf
JJ
57682004-04-08 Eric Christopher <echristo@redhat.com>
5769
5770 * libc/include/machine/setjmp.h: Fix endif locations.
5771
59c9f5f5
JJ
57722004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5773
5774 * libc/time/strptime.c: Add standard includes to avoid
5775 warning messages at compilation time.
5776
38f4f023
JJ
57772004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5778
5779 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5780 of file.
5781
57822004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5783
5784 * libc/machine/h8300/Makefile.am: Reformat slightly.
5785 * libc/machine/h8300/Makefile.in: Regenerate.
5786
38f4f023 57872004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5788
5789 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5790 __sfp_lock_acquire.
17c0c97d 5791 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5792
10dcf7e7
JJ
57932004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5794
5795 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5796 releasing a file.
5797 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5798 fwalk.
5799 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5800 _flockfile/_funlockfile.
5801 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5802 to recursive.
5803 Change __lock_acquire/__lock_release calls for __sfp_lock to
5804 __sfp_lock_acquire/__sfp_lock_release throughout.
5805 (std): Make sure that file lock is only initialized once.
5806 (__sfp): Move _file initialization. Initialize file lock.
5807 (__sfp_lock_acquire): New function.
5808 (__sfp_lock_release): Ditto.
5809 (__fp_lock_all): Remove __sfp_lock_acquire call.
5810 (__fp_unlock_all): Remove __sfp_lock_release call.
5811 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5812 Add calls to _flockfile/_funlockfile. Remove
5813 __lock_init_recursive call.
5814 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5815 * libc/stdio/fwalk.c (__fwalk): New static function.
5816 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5817 file pointers.
5818 * libc/stdio/local.h: Add defines for
5819 __sfp_lock_acquire/__sfp_lock_release when
5820 single threaded. Add function prototypes otherwise.
5821 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5822 _flockfile/_funlockfile.
5823 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5824 Add calls to _flockfile/_funlockfile. Remove
5825 __lock_init_recursive call.
5826 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5827 list.
10dcf7e7 5828
ec475b09
JJ
58292004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5830
5831 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5832 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5833 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5834 to be __LOCK_INIT_RECURSIVE.
5835
2c4ef10a
JJ
58362004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5837
5838 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5839 _exit.c with _exit.S.
5840 * libc/sys/h8300hms/Makefile.in: Regenerate.
5841 * libc/sys/h8300hms/_exit.c: Remove.
5842 * libc/sys/h8300hms/_exit.S: New.
5843
41c3da6a
JJ
58442004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5845
5846 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5847 Change __sfp_lock to static global.
5848 (__fp_lock): New static function.
5849 (__fp_unlock): Ditto.
5850 (__fp_lock_all): New function.
17c0c97d 5851 (__fp_unlock_all): Ditto.
41c3da6a 5852
0ccf5430
CF
58532004-02-10 Christopher Faylor <cgf@redhat.com>
5854
5855 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5856 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5857 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5858 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5859
3536f0fb
CF
58602004-02-09 Christopher Faylor <cgf@redhat.com>
5861
5862 * libc/include/time.h (TIMER_RELTIME): New define.
5863
6a6e493a
JJ
58642004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5865
5866 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5867 * libc/stdlib/Makefile.in: Regenerated.
5868
733309f5
CF
58692004-02-08 Christopher Faylor <cgf@redhat.com>
5870
5871 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5872 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5873 defined.
5874 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5875
b4a84c66
JJ
58762004-02-05 Paul Brook <paul@codesourcery.com>
5877
17c0c97d 5878 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5879 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5880
4669438f
JJ
58812004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5882
5883 * NEWS: Update with 1.12.0 info.
5884 * README: Ditto.
5885 * acinclude.m4: Change version number to 1.12.0.
5886 * aclocal.m4: Regenerated.
5887 * configure: Ditto.
5888 * doc/aclocal.m4: Ditto.
5889 * doc/configure: Ditto.
5890 * libc/*/aclocal.m4: Ditto.
5891 * libc/*/configure: Ditto.
5892 * libc/libc.texinfo: Ditto.
5893 * libm/*/aclocal.m4: Ditto.
5894 * libm/*/configure: Ditto.
5895 * libm/libm.texinfo: Ditto.
5896 * libc/sys/linux/shared.ld: Add VERS_1.12.
5897
94d61fcb
JJ
58982004-02-02 Joel Sherrill <joel@oarcorp.com>
5899
5900 * configure.host: Add support for tic4x.
5901 * libc/include/machine/ieeefp.h: Ditto.
5902 * libc/include/machine/setjmp.h: Ditto.
5903 * libc/machine/tic4x/Makefile.am: New file.
5904 * libc/machine/tic4x/configure.in: Ditto.
5905 * libc/machine/tic4x/setjmp.S: Ditto.
5906 * libc/machine/tic4x/aclocal.m4: Generated.
5907 * libc/machine/tic4x/configure: Ditto.
5908 * libc/machine/tic4x/Makefile.in: Ditto.
5909
c730e0e7
JJ
59102004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5911
5912 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5913 file chain on the passed in reentrancy struct if it
5914 is _GLOBAL_REENT.
5915
2892ec68 59162004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5917 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5918
5919 * libc/iconv/iconv.tex: Updated with more information.
5920
ff41498a 59212004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5922 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5923
5924 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5925 struct for std streams and traverse the global reeentrancy
5926 struct for all other streams.
5927
d5b6c234
JJ
59282004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5929
5930 * libc/stdlib/atexit.c: Protect global atexit list with a
5931 lock when newlib is multithreaded.
5932
01e0a777
JJ
59332004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5934
5935 * configure.in: Add support to generate iconv converter flags
5936 for newlib.h
5937 * newlib.hin: Add iconv converter flags.
5938 * configure: Regenerated.
5939 * libc/Makefile.in: Ditto.
5940 * libc/configure.in: Moved iconv converter parsing logic to
5941 top level newlib configure.in.
5942 * libc/configure: Regenerated.
5943 * libc/iconv/Makefile.in: Ditto.
5944 * libc/iconv/README.TODO
5945 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5946 UCS2/UCS4/UTF8.
5947 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5948 newlib.h can be used.
5949 * libc/iconv/ces/Makefile.am: Ditto.
5950 * libc/iconv/lib/Makefile.am: Ditto.
5951 * libc/iconv/ccs/Makefile.in: Regenerated.
5952 * libc/iconv/ces/Makefile.in: Ditto.
5953 * libc/iconv/lib/Makefile.in: Ditto.
5954 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5955 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5956 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5957 defined in newlib.h.
5958 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5959 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5960 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5961 * libc/iconv/ccs/cp775.c: Ditto.
5962 * libc/iconv/ccs/cp850.c: Ditto.
5963 * libc/iconv/ccs/cp852.c: Ditto.
5964 * libc/iconv/ccs/cp855.c: Ditto.
5965 * libc/iconv/ccs/cp866.c: Ditto.
5966 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5967 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5968 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5969 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5970 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5971 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5972 * libc/iconv/ccs/jis_x0201.c: Ditto.
5973 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5974 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5975 * libc/iconv/ccs/koi8_r.c: Ditto.
5976 * libc/iconv/ccs/koi8_u.c: Ditto.
5977 * libc/iconv/ccs/ksx1001.c: Ditto.
5978 * libc/iconv/ccs/shift_jis.c: Ditto.
5979 * libc/iconv/ccs/us_ascii.c: Ditto.
5980 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5981 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5982 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5983 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5984 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5985 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5986 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5987 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5988 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5989 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5990 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5991 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5992 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5993 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5994 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5995 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5996 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5997 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5998 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5999 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6000 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6001 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6002 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6003 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
6004 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
6005 * libc/iconv/ces/euc-kr.c: Ditto.
6006 * libc/iconv/ces/euc-tw.c: Ditto.
6007 * libc/iconv/ces/gb2312.c: Ditto.
6008 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
6009 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6010 * libc/iconv/ces/ucs-2-internal.c: Ditto.
6011 * libc/iconv/ces/ucs-4-internal.c: Ditto.
6012 * libc/iconv/ces/utf-16.c: Ditto.
6013 * libc/iconv/ces/utf-8.c: Ditto.
6014 * libc/iconv/lib/aliases.c: Ditto.
6015 * libc/iconv/lib/biccs.c: Ditto.
6016 * libc/iconv/lib/bices.c: Ditto.
6017 * libc/iconv/lib/ccs.c: Ditto.
6018 * libc/iconv/lib/ces.c: Ditto.
6019 * libc/iconv/lib/ces_euc.c: Ditto.
6020 * libc/iconv/lib/ces_iso2022.c: Ditto.
6021 * libc/iconv/lib/ces_table.c: Ditto.
6022 * libc/iconv/lib/converter.c: Ditto.
6023 * libc/iconv/lib/deps.h: Ditto.
6024 * libc/iconv/lib/endian.h: Ditto.
6025 * libc/iconv/lib/iconv.c: Ditto.
6026 * libc/iconv/lib/loaddata.c: Ditto.
6027 * libc/iconv/lib/local.h: Include newlib.h.
6028 * libc/argz/Makefile.in: Regenerated.
6029 * libc/ctype/Makefile.in: Ditto.
6030 * libc/errno/Makefile.in: Ditto.
6031 * libc/iconv/ccs/binary/Makefile.in: Ditto.
6032 * libc/locale/Makefile.in: Ditto.
6033 * libc/misc/Makefile.in: Ditto.
6034 * libc/posix/Makefile.in: Ditto.
6035 * libc/reent/Makefile.in: Ditto.
6036 * libc/search/Makefile.in: Ditto.
6037 * libc/signal/Makefile.in: Ditto.
6038 * libc/stdio/Makefile.in: Ditto.
6039 * libc/stdio64/Makefile.in: Ditto.
6040 * libc/stdlib/Makefile.in: Ditto.
6041 * libc/string/Makefile.in: Ditto.
6042 * libc/syscalls/Makefile.in: Ditto.
6043 * libc/time/Makefile.in: Ditto.
6044 * libc/unix/Makefile.in: Ditto.
6045 * testsuite/newlib.iconv/iconv.exp: New file.
6046 * testsuite/newlib.iconv/iconvjp.c: Ditto.
6047 * testsuite/newlib.iconv/iconvnm.c: Ditto.
6048 * testsuite/newlib.iconv/iconvru.c: Ditto.
6049
786ab12c
JJ
60502004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6051
6052 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
6053 (--enable-newlib-builtin-converters): Ditto.
6054 * configure.in: Add code to set _ICONV_ENABLED flag.
6055 Set _MB_LEN_MAX to 1 if not mb enabled.
6056 * configure: Regenerated.
6057 * aclocal.m4: Ditto.
6058 * Makefile.in: Ditto.
6059 * newlib.hin: Add _ICONV_ENABLED flag.
6060 * libc/Makefile.am: Add support for iconv.
6061 * libc/configure.in: Ditto.
6062 * libc/Makefile.in: Regenerated.
6063 * libc/aclocal.m4: Ditto.
6064 * libc/configure: Ditto.
6065 * libc/libc.texinfo: Add iconv documentation.
6066 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
6067 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
6068 libc/iconv/README.TODO, libc/iconv/charset.aliases,
6069 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
6070 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
6071 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
6072 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
6073 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
6074 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
6075 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
6076 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
6077 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
6078 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
6079 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
6080 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
6081 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
6082 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
6083 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
6084 libc/iconv/ccs/binary/big5.cct,
6085 libc/iconv/ccs/binary/cns11643_plane1.cct,
6086 libc/iconv/ccs/binary/cns11643_plane14.cct,
6087 libc/iconv/ccs/binary/cns11643_plane2.cct,
6088 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
6089 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
6090 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
6091 libc/iconv/ccs/binary/iso_8859_1.cct,
6092 libc/iconv/ccs/binary/iso_8859_15.cct,
6093 libc/iconv/ccs/binary/iso_8859_2.cct,
6094 libc/iconv/ccs/binary/iso_8859_4.cct,
6095 libc/iconv/ccs/binary/iso_8859_5.cct,
6096 libc/iconv/ccs/binary/jis_x0201.cct,
6097 libc/iconv/ccs/binary/jis_x0208_1983.cct,
6098 libc/iconv/ccs/binary/jis_x0212_1990.cct,
6099 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
6100 libc/iconv/ccs/binary/ksx1001.cct,
6101 libc/iconv/ccs/binary/shift_jis.cct,
6102 libc/iconv/ccs/binary/us_ascii.cct,
6103 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
6104 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
6105 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
6106 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
6107 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
6108 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
6109 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
6110 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
6111 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
6112 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
6113 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
6114 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
6115 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
6116 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
6117 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
6118 * libc/sys/linux/include/iconv.h: Ditto.
6119 * libc/include/sys/_types.h (_iconv_t): Added.
6120 * doc/aclocal.m4: Regenerated.
6121 * doc/configure: Ditto.
6122 * doc/Makefile.in: Ditto.
6123 * iconvdata/Makefile.in: Ditto.
6124 * iconvdata/aclocal.m4: Ditto.
6125 * iconvdata/configure: Ditto.
6126 * libc/*aclocal.m4: Ditto.
6127 * libc/*Makefile.in: Ditto.
6128 * libc/*configure: Ditto.
6129 * libm/*aclocal.m4: Ditto.
6130 * libm/*Makefile.in: Ditto.
6131 * libm/*configure: Ditto.
6132
ed1a95dc
JJ
61332004-01-22 Thomas Pfaff <tpfaff@gmx.net>
6134
6135 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 6136 by a lock when newlib is multithreaded.
ed1a95dc 6137
7d4be1ef
JJ
61382004-01-21 Jeff Johnston <jjohnstn@redhat.com>
6139
6140 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
6141 pointer to match C99 spec.
6142 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
6143 dst is NULL. Also fix to not alter src pointer when dst is NULL
6144 and call _mbrtowc_r instead of _mbtowc_r.
6145 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
6146 of _wctomb_r.
6147
403f752c
JJ
61482004-01-19 Thomas Pfaff <tpfaff@gmx.net>
6149
6150 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
6151 * libc/stdio/freopen.c (freopen): Ditto.
6152
85b6d63b
CF
61532004-01-16 Christopher Faylor <cgf@redhat.com>
6154
6155 * libc/stdio/vfprintf.c: Add sys/lock.h include.
6156
4af71a91
JJ
61572004-01-16 Thomas Pfaff <tpfaff@gmx.net>
6158
6159 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
6160 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
6161 Add calls to __lock_init_recursive and __lock_close_recursive
6162 instead.
6163
6a150987
JJ
61642004-01-15 Thomas Pfaff <tpfaff@gmx.net>
6165
6166 * libc/stdio/fclose.c: Include sys/lock.h.
6167 (fclose): Destroy lock when file is closed.
6168 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
6169 member.
6170 * libc/stdio/freopen.c: Include sys/lock.h.
6171 (_freopen_r): Destroy lock when file is closed.
6172 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
6173 _lock member.
6174
c9524c0c
JJ
61752004-01-08 Joel Sherrill <joel@oarcorp.com>
6176
ba3ccd63
EB
6177 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
6178 Remove warnings.
c9524c0c 6179
9f13ccb3
JJ
61802004-01-08 Joel Sherrill <joel@oarcorp.com>
6181
ba3ccd63
EB
6182 * libc/sys/rtems/sys/queue.h: New file.
6183 * libc/include/sys/signal.h: Reflect renumbering of signals to
6184 fit into 32-bit mask.
6185 * libc/include/sys/unistd.h: Add fdatasync() prototype.
6186 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
6187 required. In particular, add the reentrant variants of libc calls.
6188 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 6189
9488c414
JJ
61902004-01-06 Mark Mitchell <mark@codesourcery.com>
6191
6192 * libc/sys/arm/syscalls.c (unistd.h): Include it.
6193 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
6194 Similarly for stdout and stderr.
6195
5125f919
JJ
61962004-01-06 Jeff Johnston <jjohnstn@redhat.com>
6197
6198 * libc/libc.texinfo: Correct escape character for @ sign
6199 so file will be processed by make info. Update copyright years.
6200 * libm/libm.texinfo: Ditto.
6201
9fc92ceb
JJ
62022003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6203
6204 * libc/include/sys/stat.h: No longer include stat-dj.h.
6205 * libc/include/sys/stat-dj.h: Removed.
6206
25c7dad1
JJ
62072003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6208
6209 * libc/include/wchar.h: Include <sys/reent.h>.
6210
576593dd
CF
62112003-12-05 Christopher Faylor <cgf@redhat.com>
6212
6213 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
6214 when defining _mbrtowc.
6215 * libc/stdlib/mbsinit.c: Ditto.
6216 * libc/stdlib/mbsrtowcs.c: Ditto.
6217 * libc/stdlib/wcrtomb.c: Ditto.
6218 * libc/stdlib/wcsrtombs.c: Ditto.
6219 * libc/stdlib/wctob.c: Ditto.
6220
62212003-12-05 Christopher Faylor <cgf@redhat.com>
6222
6223 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
6224 errors when defining _mbrtowc.
6225 * libc/stdlib/mbsinit.c: Ditto.
6226 * libc/stdlib/mbsrtowcs.c: Ditto.
6227
4c889d62
CF
62282003-12-05 Christopher Faylor <cgf@redhat.com>
6229
6230 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
6231 errors when defining _mbrtowc.
6232
5d109bde
JJ
62332003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6234
6235 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
6236 of mb routines for %lc and %ls support.
6237 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
6238 %ls, and %S support. Remove CYGNUS_NEC markers and
6239 code within.
6240
3aca0888
JJ
62412003-12-04 Jeff Johnston <jjohnstn@redhat.com>
6242
6243 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
6244 _wcrtomb_r, and _wcsrtombs_r.
6245
18dcb167
CV
62462003-12-01 Corinna Vinschen <corinna@vinschen.de>
6247
6248 * libc/include/sys/fcntl.h: Don't define struct flock when on
6249 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
6250
93f8e673
CF
62512003-11-28 Christopher Faylor <cgf@redhat.com>
6252
6253 * libc/include/sys/signal.h: Use system specific signal file when
6254 building on cygwin.
6255
cc2a11e0
JJ
62562003-11-27 Jeff Johnston <jjohnstn@redhat.com>
6257
6258 * libc/include/stdlib.h (_atoi_r): New prototype.
6259 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
6260
83bf7d2f
JJ
62612003-11-27 Jeff Johnston <jjohnstn@redhat.com>
6262
6263 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
6264 * libc/stdlib/atol.c (_atol_r): New reentrant function.
6265 * libc/stdlib/atoll.c (_atoll_r): Ditto.
6266
5d109bde 62672003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
6268 Jeff Johnston <jjohnstn@redhat.com>
6269
6270 * libc/include/stdlib.h (lldiv_t): New type.
6271 (atoll, llabs, lldiv): New prototypes.
6272 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
6273 * libc/stdlib/stdlib.tex: Ditto.
6274 * libc/stdlib/Makefile.in: Regenerated.
6275 * libc/stdlib/atoll.c: New file.
6276 * libc/stdlib/llabs.c: Ditto.
6277 * libc/stdlib/lldiv.c: Ditto.
6278
0a707c79
JJ
62792003-11-26 Corinna Vinschen <corinna@vinschen.de>
6280
6281 * libc/include/fcntl.h: Declare syscalls only when building newlib.
6282 * libc/include/unistd.h: Ditto.
6283 * libc/include/stat.h: Ditto. Also declare struct stat64.
6284
5d109bde 62852003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
6286
6287 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
6288 specifier to use ch instead of *fmt.
6289
5d109bde 62902003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
6291
6292 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
6293 code within checks for MB_CAPABLE. For non-mb-capable platforms,
6294 use simple byte logic.
6295
4f6149d6
JJ
62962003-11-21 Jeff Johnston <jjohnstn@redhat.com>
6297
6298 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
6299 _strtold routine for processing floats and doubles since it
6300 is not as fast as _strtod_r.
6301
17c0c97d 63022003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 6303
17c0c97d 6304 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 6305 for normal mode.
17c0c97d 6306 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
6307 for normal mode.
6308 * libc/machine/h8300/reg_memcpy.S : Likewise.
6309 * libc/machine/h8300/reg_memset.S : Likewise.
6310 * libc/machine/h8300/strcmp.S : Likewise.
6311
64cfc6f2
JJ
63122003-11-19 Nicholas Wourms <nwourms@netscape.net>
6313
6314 * configure.host: Enable positional arguments for printf
6315 family for Cygwin.
6316 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
6317 pointer reference for quad_ptr_t.
6318
e1dc8171
JJ
63192003-11-19 Jeff Johnston <jjohnstn@redhat.com>
6320
6321 * libc/stdio/scanf.c: Don't include local.h more than once.
6322
a472290f
JJ
63232003-11-18 Corinna Vinschen <corinna@vinschen.de>
6324
6325 * libc/include/sys/fcntl.h: Declare _open64.
6326 * libc/include/sys/stat.h: Declare _fstat64.
6327 * libc/include/sys/unistd.h: Declare _lseek64.
6328
a2f1155c
CV
63292003-11-17 Corinna Vinschen <corinna@vinschen.de>
6330
6331 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
6332 (setprogname): Ditto.
6333
030441fc
JJ
63342003-11-10 Jeff Johnston <jjohnstn@redhat.com>
6335
6336 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
6337 to use (Ebits + 1) which accounts for the sign-bit.
6338
fe359733
JJ
63392003-11-07 Jeff Johnston <jjohnstn@redhat.com>
6340
17c0c97d 6341 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
6342 x86 build.
6343 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
6344 and set up default flags to pass to aclocal.
6345 * iconvdata/Makefile.in: Regenerated.
6346 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
6347 and getpwuid routines.
6348 * libc/sys/linux/Makefile.in: Regenerated.
6349 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
6350 applications to link with newlib's shared libc library.
6351 * libc/sys/linux/getpwnam.c: Ditto.
6352 * libc/sys/linux/getpwuid.c: Ditto.
6353 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
6354 that were formerly supplied by /usr/include/linux/types.h with
6355 kernel types.
6356 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
6357 test _ELIX_LEVEL macro.
6358
2985521f
JJ
63592003-11-07 Jeff Johnston <jjohnstn@redhat.com>
6360
6361 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
6362 referring to _NO_LONGLONG macro.
6363
dcad6a89
JJ
63642003-11-06 Jeff Johnston <jjohnstn@redhat.com>
6365
6366 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
6367 in LOG() macro so this will compile on gcc 3.4 and up.
6368 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6369 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6370 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6371 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6372 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6373 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6374 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6375 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6376 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6377 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6378 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6379 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6380 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6381 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6382 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6383 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6384 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6385 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6386 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6387 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6388 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6389 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6390 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6391 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6392 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6393 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6394 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6395 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6396 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6397 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6398 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6399 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6400 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6401 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6402 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6403 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6404
d2ffac09 64052003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 6406 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
6407
6408 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
6409 %ls, %S, %lc, and %C format specifiers.
6410 (get_arg): Ditto.
6411 * libc/stdio/sprintf.c: Add documentation regarding new
6412 format specifiers added in vfprintf.c.
6413
da2d1227
JJ
64142003-11-05 Jeff Johnston <jjohnstn@redhat.com>
6415
6416 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
6417 to make code work as specified in standard.
6418
3ef05bac
JJ
64192003-10-23 Jeff Johnston <jjohnstn@redhat.com>
6420
6421 * configure.in: Use absolute newlib basedir when forming
6422 CC_FOR_NEWLIB include options.
6423 * configure: Regenerated.
6424
5d109bde 64252003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
6426
6427 * libc/string/wcsnlen.c: New file.
6428 * libc/include/wchar.h: Add wcsnlen prototype.
6429 * libc/string/Makefile.am: Add wcsnlen support.
6430 * libc/string/Makefile.in: Regenerated.
6431 * libc/string/wcstrings.tex: Add wcsnlen documentation.
6432
63a823f8
RS
64332003-10-22 Richard Sandiford <rsandifo@redhat.com>
6434
6435 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
6436
76a7df52
JJ
64372003-10-20 Bob Wilson <bob.wilson@acm.org>
6438
6439 * libc/locale/locale.c: Use double quotes in code.
6440 * libc/locale/locale.tex: Likewise.
6441 * libc/libc.texinfo: Hyphenate "floating-point".
6442 * libc/machine/necv70/necv70.tex: Likewise.
6443 * libc/stdio/sprintf.c: Likewise.
6444 * libc/stdio/sscanf.c: Likewise.
6445 * libc/stdlib/atof.c: Likewise.
6446 * libc/stdlib/ldtoa.c: Fix comment typo.
6447 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
6448 * libc/stdlib/ldiv.c: Likewise.
6449 * libm/common/s_expm1.c: Likewise.
6450 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
6451 * libm/common/s_infinity: Hyphenate "double- and single-precision".
6452 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
6453 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
6454 and "floating-point".
6455 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
6456 * libm/math/e_pow.c: Fix comment typo.
6457 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
6458 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
6459 * libm/math/s_atan.c: Likewise.
6460 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
6461 * libm/math/s_isnan.c: Hyphenate "single-precision" and
6462 "floating-point". Use "nonzero".
6463 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6464 * libm/math/w_acos.c: Likewise.
6465 * libm/math/w_acosh.c: Likewise.
6466 * libm/math/w_asin.c: Likewise.
6467 * libm/math/w_atan2.c: Likewise.
6468 * libm/math/w_atanh.c: Likewise.
6469 * libm/math/w_cosh.c: Likewise.
6470 * libm/math/w_exp.c: Likewise.
6471 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
6472 version of 2^x in the description.
6473 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
6474 * libm/math/w_gamma.c: Likewise.
6475 * libm/math/w_hypot.c: Likewise.
6476 * libm/math/w_j0.c: Likewise.
6477 * libm/math/w_sinh.c: Likewise.
6478 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
6479 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
6480 "floating-point".
6481 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
6482 * libm/mathfp/e_atanh.c: Likewise.
6483 * libm/mathfp/e_hypot.c: Likewise.
6484 * libm/mathfp/er_lgamma.c: Likewise.
6485 * libm/mathfp/s_acos.c: Likewise.
6486 * libm/mathfp/s_asine.c: Likewise.
6487 * libm/mathfp/s_asinh.c: Likewise.
6488 * libm/mathfp/s_atan.c: Likewise.
6489 * libm/mathfp/s_atan2.c: Likewise.
6490 * libm/mathfp/s_atangent.c: Likewise.
6491 * libm/mathfp/s_cosh.c: Likewise.
6492 * libm/mathfp/s_exp.c: Likewise.
6493 * libm/mathfp/s_fmod.c: Likewise.
6494 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
6495 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
6496 "floating-point". Use "nonzero".
6497 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
6498 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6499 * libm/mathfp/s_sineh.c: Likewise.
6500 * libm/mathfp/w_jn.c: Likewise.
6501
b11926e7
JJ
65022003-10-15 Alexandre Oliva <aoliva@redhat.com>
6503
6504 * Makefile.am: Add $(MAKE) comments to multido and multiclean
6505 lines, to enable parallel make.
6506 * Makefile.in: Rebuilt.
6507
31271d5c
CF
65082003-10-14 Christopher Faylor <cgf@redhat.com>
6509
6510 * libc/time/clock.c: Clarify documentation of return value when no
6511 measurement is available.
6512
bc707cbd
JJ
65132003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
6514
6515 * libm/configure.in: Check libm_machine_dir, not machine_dir.
6516 * libm/configure: Regenerate.
6517 * libm/Makefile.in: Ditto.
6518
f4b10605
JR
65192003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
6520
6521 * libc/machine/sh/strncpy.S: New file.
6522 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
6523 * libc/machine/sh/Makefile.in: Regenerate.
6524
ce044d8f
JW
65252003-09-11 James E Wilson <wilson@specifixinc.com>
6526
6527 * MAINTAINERS: Update my e-mail address.
6528
080ef411
CV
65292003-09-10 Corinna Vinschen <corinna@vinschen.de>
6530
6531 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
6532
3a767b69
JJ
65332003-09-09 Jeff Johnston <jjohnstn@redhat.com>
6534
080ef411
CV
6535 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
6536 prototype.
6537 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
6538 _simdldcheck(). Also add unsigned cast for index variable in
6539 for loop using sizeof operators.
6540 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
6541 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
6542 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
6543 plus fix shift calculation for determining if there is a
6544 carry from word2.
3a767b69 6545
84154fcc
CV
65462003-09-09 Corinna Vinschen <corinna@vinschen.de>
6547
6548 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
6549 setgroupent for Cygwin.
6550
f1b15058
JJ
65512003-09-05 Jeff Johnston <jjohnstn@redhat.com>
6552
6553 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
6554 is different for _REENT_SMALL than when using regular reent
6555 struct.
6556
cf88c20f 65572003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 6558
b73263e4
BE
6559 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
6560 modern versions of GCC issue a warning.
6561
0a8fd4dc
BE
6562 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
6563 after continuation characters that induces a warning from modern
6564 versions of GCC.
6565
10a32423
BE
65662003-09-04 Ben Elliston <bje@wasabisystems.com>
6567
6568 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6569 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6570
ed027a53
JJ
65712003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6572
6573 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6574 * libc/stdlib/exit.c : Ditto.
6575 * libc/stdlib/on_exit.c: Ditto.
6576
880fa247
JJ
65772003-08-27 Corinna Vinschen <corinna@vinschen.de>
6578
6579 * libc/include/reent.h: Define stat64 as __stat64 when
6580 compiling newlib for Cygwin.
6581
54c1d7ea
JJ
65822003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6583
6584 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6585 __stat64 when compiling newlib.
6586
0eca0750
JJ
65872003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6588
6589 * libc/include/stdio.h: Allow the io64 function prototypes for
6590 Cygwin when compiling newlib.
6591 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6592 to expose the Cygwin struct __stat64 type.
6593 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6594 pointer.
6595 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6596
9d4aef19
CF
65972003-08-23 Christopher Faylor <cgf@redhat.com>
6598
6599 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6600 definition to fseeko64.
6601
9fc9e1c9
JJ
66022003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6603
6604 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6605 * libc/stdio: Globally remove/replace all references to fp->_data.
6606 Replace with _REENT or _GLOBAL_REENT where appropriate.
6607 * libc/stdio/asprintf.c: Ditto.
6608 * libc/stdio/fclose.c: Ditto.
6609 * libc/stdio/fvwrite.c: Ditto.
6610 * libc/stdio/makebuf.c: Ditto.
6611 * libc/stdio/refill.c: Ditto.
6612 * libc/stdio/local.h: Ditto.
6613 * libc/stdio/setvbuf.c: Ditto.
6614 * libc/stdio/sscanf.c: Ditto.
6615 * libc/stdio/stdio.c: Ditto.
6616 * libc/stdio/ungetc.c: Ditto.
6617 * libc/stdio/vfscanf.c: Ditto.
6618 * libc/stdio/vsscanf.c: Ditto.
6619 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6620 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6621 * libc/stdio/vsnprintf.c: Ditto.
6622 * libc/stdio/vsprintf.c: Ditto.
6623 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6624 instead of _REENT to walk file list.
6625 * libc/stdio/fflush.c: Ditto.
6626 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6627 version call reentrant version with _REENT argument.
6628 * libc/stdio/fsetpos.c: Ditto.
6629 * libc/stdio/fseek.c: Ditto.
6630 * libc/stdio/fseeko.c: Ditto.
6631 * libc/stdio/ftell.c: Ditto.
6632 * libc/stdio/ftello.c: Ditto.
6633 * libc/stdio/freopen.c: Ditto.
6634 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6635 new files to chain. Also use _GLOBAL_REENT pointer for
6636 cleaning up.
6637 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6638 * libc/stdio/siprintf.c: Ditto.
6639 * libc/stdio/iprintf.c: Ditto.
6640 * libc/stdio/fprintf.c: Ditto.
6641 * libc/stdio/printf.c: Ditto.
6642 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6643 * libc/stdio/sprintf.c: Ditto.
6644 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6645 * libc/stdio/rewind.c: Call _fseek_r directly.
6646 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6647 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6648 data pointer.
6649 (get_arg): Add extra struct _reent pointer argument.
6650 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6651 to fp->_data.
6652 * libc/stdio64/fopen64.c: Ditto.
6653 * libc/stdio64/freopen64.c: Ditto.
6654 * libc/stdio64/fsetpos64.c: Ditto.
6655 * libc/stdio64/ftello64.c: Ditto.
6656 * libc/stdio64/local64.h: Ditto.
6657 * libc/stdio64/stdio64.c: Ditto.
6658 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6659 _fstat64_r for the meantime.
6660
8f021114
JJ
66612003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6662
6663 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6664 overflow detection.
17c0c97d 6665
db979bb4 66662003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6667
db979bb4
JJ
6668 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6669 extern "C".
6670
6efbdc7d
JJ
66712003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6672
6673 * libc/include/math.h: Add prototypes for __signbitf and
6674 __signbitd.
6675
e895fc20
JJ
66762003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6677
6678 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6679 correct type of conversion when dealing with EUCJP or SJIS.
6680 * libc/ctype/iswblank.c: Ditto.
6681 * libc/ctype/iswcntrl.c: Ditto.
6682 * libc/ctype/iswprint.c: Ditto.
6683 * libc/ctype/iswpunct.c: Ditto.
6684 * libc/ctype/iswspace.c: Ditto.
6685 * libc/ctype/towlower.c: Ditto.
6686 * libc/ctype/towupper.c: Ditto.
6687
0302dfe5
NC
66882003-07-31 Nick Clifton <nickc@redhat.com>
6689
6690 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6691 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6692 Remove reference to deleted v850ea port.
6693 * configure.host: Remove reference to deleted v850ea port.
6694 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6695 prevents the ctbp system register from being initialised.
6696
42de5592
JJ
66972003-07-29 Honda Hiroki <hhonda@ipflex.com>
6698
6699 * libc/stdio/vfprintf.c: Set output size to 1 when
6700 we have %f format with precision 0 and # flag not specified.
6701
e5de27b6
AO
67022003-07-29 Alexandre Oliva <aoliva@redhat.com>
6703
6704 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6705 .am33_2.
6706
3c98a593
CF
67072003-07-25 Christopher Faylor <cgf@redhat.com>
6708
6709 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6710
e222bf67
CF
67112003-07-25 Christopher Faylor <cgf@redhat.com>
6712
6713 * configure.host: Find cygwin include directory, when appropriate.
6714
03536757
CF
67152003-07-24 Christopher Faylor <cgf@redhat.com>
6716
6717 * libc/stdio64/fdopen64.c: New file.
6718 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6719 * libc/stdio64/Makefile.in: Regenerate.
6720 * libc/include/stdio.h (fdopen64): Define.
6721 * libc/include/stdio.h (_fdopen64_r): Ditto.
6722
18072a4f
AO
67232003-07-10 Alexandre Oliva <aoliva@redhat.com>
6724
6725 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6726 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6727 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6728 restore callee-saved FP registers.
6729
e0bec12f
JR
67302003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6731
6732 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6733 for __sh__.
6734 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6735 truncate.c.
6736 * libc/sys/sh/Makefile.in: Regenerate.
6737 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6738 * libc/sys/sh/ftruncate.c: New file.
6739 * libc/sys/sh/truncate.c: Likewise.
6740
03d65dd9
AO
67412003-07-09 Alexandre Oliva <aoliva@redhat.com>
6742
6743 * libc/include/math.h (nan, nanf): Update prototype to C99.
6744 * libm/common/s_nan.c (nan): Likewise.
6745 * libm/common/s_nanf.c (nanf, nan): Likewise.
6746 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6747
74aa9d7d
JJ
67482003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6749
6750 * libc/include/stdbool.h: Removed as this is defined by gcc.
6751
0a447ef3
JJ
67522003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6753
6754 * libc/include/stdbool.h: New header file defined by C99.
6755
282eff9a
JJ
67562003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6757
6758 * libc/include/sys/types.h (int8_t): Make signed.
6759
4e989b11
JJ
67602003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6761
6762 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6763
07b40cf8
JJ
67642003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6765
6766 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6767 on if we actually created the shared memory file exclusively.
6768
7daa7891
JJ
67692003-06-27 Joe Vornehm <joev@mitre.org>
6770
6771 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6772 comparisons to account for unsigned internal value w.
6773
51fa7562
JJ
67742003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6775
6776 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6777 wrbuf for a non-creating open.
6778
b8f7ea5c
JJ
67792003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6780
6781 * libc/machine/h8300/setarch.h: New.
6782 * libc/machine/h8300/memcpy.S: Use it.
6783 * libc/machine/h8300/memset.S: Likewise.
6784 * libc/machine/h8300/reg_memcpy.S: Likewise.
6785 * libc/machine/h8300/reg_memset.S: Likewise.
6786 * libc/machine/h8300/setjmp.S: Likewise.
6787 * libc/machine/h8300/strcmp.S: Likewise.
6788
6d7ea52a
RS
67892003-06-24 Richard Sandiford <rsandifo@redhat.com>
6790
6791 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6792 to atexit().
6793
5a74f2aa
JJ
67942003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6795
6796 * configure.host (iq2000): Add tabs.
6797
8266e478
JJ
67982003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6799
6800 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6801 to handle latest on_exit change.
6802 * libc/sys/linux/Makefile.am: Remove special compilation
6803 for malloc.c and mcheck.c.
6804 * libc/sys/linux/Makefile.in: Regenerated.
6805 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6806 after including <features.h>.
6807 * libc/sys/linux/mcheck.c: Ditto.
6808 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6809 for <features.h>.
6810 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6811 add -DNOT_IN_libc to C flags.
6812 * libc/sys/linux/intl/Makefile.in: Regenerated.
6813 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6814 * libc/sys/linux/linuxthreads/semaphore.h: Include
6815 <bits/pthreadtypes.h>.
6816 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6817 including <features.h>.
6818 * libc/sys/linux/sys/lock.h: Ditto.
6819
0efe117b
NC
68202003-06-11 Nick Clifton <nickc@redhat.com>
6821
6822 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6823 _on_exit_args_ptr.
6824
bfdfd7e6 68252003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6826 Anthony Green <green@redhat.com>
17c0c97d 6827
bfdfd7e6
AG
6828 * configure.host: Add iq2000 support.
6829 * newlib/libc/include/machine/ieeefp.h: Ditto.
6830 * newlib/libc/include/machine/setjmp.h: Ditto.
6831 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6832 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6833 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6834 libc/machine/iq2000/Makefile.in: New files.
6835
d9e4104b
RS
68362003-06-10 Richard Sandiford <rsandifo@redhat.com>
6837
6838 * libc/sys/h8300hms/setarch.h: New file.
6839 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6840 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6841 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6842 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6843
729d1ff9
JJ
68442003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6845
ba3ccd63
EB
6846 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6847 definition.
6848 * libc/argz/argz_add_sep.c: Ditto.
6849 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6850 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6851 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6852 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6853 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6854 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6855 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6856 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6857 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6858 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6859 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6860 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6861 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6862 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6863 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6864 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6865 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6866 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6867 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6868 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6869
75d7d177 68702003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6871
75d7d177
NC
6872 * libc/include/sys/reent.h (struct _on_exit_args): New
6873 structure containing fields used by the on_exit() function.
ba3ccd63 6874 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6875 _REENT_SMALL do his via a pointer that is initialised when
6876 needed.
ba3ccd63 6877 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6878 structure, if one has been allocated.
ba3ccd63 6879 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6880 _fntypes field.
ba3ccd63 6881 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6882 _on_exit_args structure. For _REENT_SMALL, allocate a
6883 structure if one does not exist.
ba3ccd63 6884 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6885 structure.
6886
2129f283
JJ
68872003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6888
6889 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6890 * libc/sys/linux/net/Makefile.in: Regenerated.
6891
bf3bcac2
JJ
68922003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6893
6894 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6895 * libc/reent/fcntlr.c: Ditto.
6896 * libc/reent/fstat64r.c: Ditto.
6897 * libc/reent/linkr.c: Ditto.
6898 * libc/reent/lseek64r.c: Ditto.
6899 * libc/reent/lseekr.c: Ditto.
6900 * libc/reent/openr.c: Ditto.
6901 * libc/reent/readr.c: Ditto.
6902 * libc/reent/reent.c: Ditto.
6903 * libc/reent/sbrkr.c: Ditto.
6904 * libc/reent/signalr.c: Ditto.
6905 * libc/reent/signgam.c: Ditto.
6906 * libc/reent/statr.c: Ditto.
6907 * libc/reent/timer.c: Ditto.
6908 * libc/reent/unlinkr.c: Ditto.
6909 * libc/reent/writer.c: Ditto.
6910 * libc/syscalls/sysclose.c: Ditto.
6911 * libc/syscalls/sysexecve.c: Ditto.
6912 * libc/syscalls/sysfcntl.c: Ditto.
6913 * libc/syscalls/sysfork.c: Ditto.
6914 * libc/syscalls/sysfstat.c: Ditto.
6915 * libc/syscalls/sysgetpid.c: Ditto.
6916 * libc/syscalls/sysgettod.c: Ditto.
6917 * libc/syscalls/syskill.c: Ditto.
6918 * libc/syscalls/syslink.c: Ditto.
6919 * libc/syscalls/syslseek.c: Ditto.
6920 * libc/syscalls/sysopen.c: Ditto.
6921 * libc/syscalls/sysread.c: Ditto.
6922 * libc/syscalls/syssbrk.c: Ditto.
6923 * libc/syscalls/sysstat.c: Ditto.
6924 * libc/syscalls/systimes.c: Ditto.
6925 * libc/syscalls/sysunlink.c: Ditto.
6926 * libc/syscalls/syswait.c: Ditto.
6927 * libc/syscalls/syswrite.c: Ditto.
6928
702ceb23
JJ
69292003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6930
6931 * libc/time/tzset_r.c: Change local variables that are
6932 set via sscanf using the %h format specifier to be unsigned short
6933 instead of int.
6934
102861c9
JJ
69352003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6936
6937 * configure.host: Allow i[34567]86 variant.
6938 * configure.in: Likewise.
6939 * README: Likewise to the docs.
6940 * configure: Regenerated.
6941 * Makefile.in: Ditto.
6942
b359e82c
JJ
69432003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6944 Tom Fitzsimmons <fitzsim@redhat.com>
6945
6946 * configure.in: Add iconvdata support for x86 linux.
6947 * configure: Regenerated.
17c0c97d 6948 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6949 library, iconv, and linuxthreads support.
6950 * libc/sys/linux/configure.in: Ditto.
6951 * libc/sys/linux/Makefile.in: Regenerated.
6952 * libc/sys/linux/configure: Ditto.
6953 * iconvdata/EUC-JP.irreversible: New file.
6954 * iconvdata/Makefile.am: Ditto.
6955 * iconvdata/Makefile.in: Ditto.
6956 * iconvdata/SJIS.irreversible: Ditto.
6957 * iconvdata/aclocal.m4: Ditto.
6958 * iconvdata/configure: Ditto.
6959 * iconvdata/configure.in: Ditto.
6960 * iconvdata/dummy.c: Ditto.
6961 * iconvdata/euc-jp.c: Ditto.
6962 * iconvdata/gconv-modules: Ditto.
6963 * iconvdata/jis0201.c: Ditto.
6964 * iconvdata/jis0201.h: Ditto.
6965 * iconvdata/jis0208.c: Ditto.
6966 * iconvdata/jis0208.h: Ditto.
6967 * iconvdata/jis0212.c: Ditto.
6968 * iconvdata/jis0212.h: Ditto.
6969 * iconvdata/sjis.c: Ditto.
6970 * libc/include/errno.h: Protect definition of error_t.
6971 * libc/sys/linux/gethostid.c: New file.
6972 * libc/sys/linux/sethostid.c: Ditto.
6973 * libc/sys/linux/dl/Makefile.am: Ditto.
6974 * libc/sys/linux/dl/Makefile.in: Ditto.
6975 * libc/sys/linux/dl/abi-tag.h: Ditto.
6976 * libc/sys/linux/dl/atomicity.h: Ditto.
6977 * libc/sys/linux/dl/dl-addr.c: Ditto.
6978 * libc/sys/linux/dl/dl-cache.c: Ditto.
6979 * libc/sys/linux/dl/dl-cache.h: Ditto.
6980 * libc/sys/linux/dl/dl-close.c: Ditto.
6981 * libc/sys/linux/dl/dl-debug.c: Ditto.
6982 * libc/sys/linux/dl/dl-deps.c: Ditto.
6983 * libc/sys/linux/dl/dl-dst.h: Ditto.
6984 * libc/sys/linux/dl/dl-error.c: Ditto.
6985 * libc/sys/linux/dl/dl-fini.c: Ditto.
6986 * libc/sys/linux/dl/dl-init.c: Ditto.
6987 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6988 * libc/sys/linux/dl/dl-libc.c: Ditto.
6989 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6990 * libc/sys/linux/dl/dl-load.c: Ditto.
6991 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6992 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6993 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6994 * libc/sys/linux/dl/dl-misc.c: Ditto.
6995 * libc/sys/linux/dl/dl-object.c: Ditto.
6996 * libc/sys/linux/dl/dl-open.c: Ditto.
6997 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6998 * libc/sys/linux/dl/dl-profile.c: Ditto.
6999 * libc/sys/linux/dl/dl-profstub.c: Ditto.
7000 * libc/sys/linux/dl/dl-reloc.c: Ditto.
7001 * libc/sys/linux/dl/dl-runtime.c: Ditto.
7002 * libc/sys/linux/dl/dl-support.c: Ditto.
7003 * libc/sys/linux/dl/dl-sym.c: Ditto.
7004 * libc/sys/linux/dl/dl-version.c: Ditto.
7005 * libc/sys/linux/dl/dlfcn.h: Ditto.
7006 * libc/sys/linux/dl/do-lookup.h: Ditto.
7007 * libc/sys/linux/dl/do-rel.h: Ditto.
7008 * libc/sys/linux/dl/dynamic-link.h: Ditto.
7009 * libc/sys/linux/dl/kernel-features.h: Ditto.
7010 * libc/sys/linux/dl/ldsodefs.h: Ditto.
7011 * libc/sys/linux/dl/libintl.h: Ditto.
7012 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
7013 * libc/sys/linux/dl/unsecvars.h: Ditto.
7014 * libc/sys/linux/iconv/Makefile.am: Ditto.
7015 * libc/sys/linux/iconv/Makefile.in: Ditto.
7016 * libc/sys/linux/iconv/categories.def: Ditto.
7017 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
7018 * libc/sys/linux/iconv/gconv.c: Ditto.
7019 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
7020 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
7021 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
7022 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
7023 * libc/sys/linux/iconv/gconv_close.c: Ditto.
7024 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
7025 * libc/sys/linux/iconv/gconv_db.c: Ditto.
7026 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
7027 * libc/sys/linux/iconv/gconv_int.h: Ditto.
7028 * libc/sys/linux/iconv/gconv_open.c: Ditto.
7029 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
7030 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
7031 * libc/sys/linux/iconv/hash-string.h: Ditto.
7032 * libc/sys/linux/iconv/iconv.c: Ditto.
7033 * libc/sys/linux/iconv/iconv.h: Ditto.
7034 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
7035 * libc/sys/linux/iconv/iconv_close.c: Ditto.
7036 * libc/sys/linux/iconv/iconv_open.c: Ditto.
7037 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
7038 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
7039 * libc/sys/linux/iconv/loadinfo.h: Ditto.
7040 * libc/sys/linux/iconv/localeinfo.h: Ditto.
7041 * libc/sys/linux/iconv/loop.c: Ditto.
7042 * libc/sys/linux/iconv/skeleton.c: Ditto.
7043 * libc/sys/linux/iconv/strtab.c: Ditto.
7044 * libc/sys/linux/include/dl-hash.h: Ditto.
7045 * libc/sys/linux/include/dlfcn.h: Ditto.
7046 * libc/sys/linux/include/fnmatch.h: Ditto.
7047 * libc/sys/linux/include/gconv.h: Ditto.
7048 * libc/sys/linux/include/glob.h: Ditto.
7049 * libc/sys/linux/include/hesiod.h: Ditto.
7050 * libc/sys/linux/include/ifaddrs.h: Ditto.
7051 * libc/sys/linux/include/libc_private.h: Ditto.
7052 * libc/sys/linux/include/link.h: Ditto.
7053 * libc/sys/linux/include/namespace.h: Ditto.
7054 * libc/sys/linux/include/netconfig.h: Ditto.
7055 * libc/sys/linux/include/netdb.h: Ditto.
7056 * libc/sys/linux/include/nsswitch.h: Ditto.
7057 * libc/sys/linux/include/regex.h: Ditto.
7058 * libc/sys/linux/include/resolv.h: Ditto.
7059 * libc/sys/linux/include/rune.h: Ditto.
7060 * libc/sys/linux/include/runetype.h: Ditto.
7061 * libc/sys/linux/include/semaphore.h: Ditto.
7062 * libc/sys/linux/include/setlocale.h: Ditto.
7063 * libc/sys/linux/include/un-namespace.h: Ditto.
7064 * libc/sys/linux/include/wordexp.h: Ditto.
7065 * libc/sys/linux/include/arpa/ftp.h: Ditto.
7066 * libc/sys/linux/include/arpa/inet.h: Ditto.
7067 * libc/sys/linux/include/arpa/nameser.h: Ditto.
7068 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
7069 * libc/sys/linux/include/arpa/telnet.h: Ditto.
7070 * libc/sys/linux/include/arpa/tftp.h: Ditto.
7071 * libc/sys/linux/include/net/bpf.h: Ditto.
7072 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
7073 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
7074 * libc/sys/linux/include/net/bridge.h: Ditto.
7075 * libc/sys/linux/include/net/ethernet.h: Ditto.
7076 * libc/sys/linux/include/net/fddi.h: Ditto.
7077 * libc/sys/linux/include/net/if.h: Ditto.
7078 * libc/sys/linux/include/net/if_arc.h: Ditto.
7079 * libc/sys/linux/include/net/if_arp.h: Ditto.
7080 * libc/sys/linux/include/net/if_atm.h: Ditto.
7081 * libc/sys/linux/include/net/if_dl.h: Ditto.
7082 * libc/sys/linux/include/net/if_gif.h: Ditto.
7083 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
7084 * libc/sys/linux/include/net/if_llc.h: Ditto.
7085 * libc/sys/linux/include/net/if_media.h: Ditto.
7086 * libc/sys/linux/include/net/if_mib.h: Ditto.
7087 * libc/sys/linux/include/net/if_ppp.h: Ditto.
7088 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
7089 * libc/sys/linux/include/net/if_slvar.h: Ditto.
7090 * libc/sys/linux/include/net/if_sppp.h: Ditto.
7091 * libc/sys/linux/include/net/if_stf.h: Ditto.
7092 * libc/sys/linux/include/net/if_tap.h: Ditto.
7093 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
7094 * libc/sys/linux/include/net/if_tun.h: Ditto.
7095 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
7096 * libc/sys/linux/include/net/if_types.h: Ditto.
7097 * libc/sys/linux/include/net/if_var.h: Ditto.
7098 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
7099 * libc/sys/linux/include/net/intrq.h: Ditto.
7100 * libc/sys/linux/include/net/iso88025.h: Ditto.
7101 * libc/sys/linux/include/net/net_osdep.h: Ditto.
7102 * libc/sys/linux/include/net/netisr.h: Ditto.
7103 * libc/sys/linux/include/net/pfil.h: Ditto.
7104 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
7105 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
7106 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
7107 * libc/sys/linux/include/net/radix.h: Ditto.
7108 * libc/sys/linux/include/net/raw_cb.h: Ditto.
7109 * libc/sys/linux/include/net/route.h: Ditto.
7110 * libc/sys/linux/include/net/slcompress.h: Ditto.
7111 * libc/sys/linux/include/net/slip.h: Ditto.
7112 * libc/sys/linux/include/net/zlib.h: Ditto.
7113 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
7114 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
7115 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
7116 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
7117 * libc/sys/linux/include/netinet/igmp.h: Ditto.
7118 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
7119 * libc/sys/linux/include/netinet/in.h: Ditto.
7120 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
7121 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
7122 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
7123 * libc/sys/linux/include/netinet/in_var.h: Ditto.
7124 * libc/sys/linux/include/netinet/ip.h: Ditto.
7125 * libc/sys/linux/include/netinet/ip6.h: Ditto.
7126 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
7127 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
7128 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
7129 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
7130 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
7131 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
7132 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
7133 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
7134 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
7135 * libc/sys/linux/include/netinet/tcp.h: Ditto.
7136 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
7137 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
7138 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
7139 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
7140 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
7141 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
7142 * libc/sys/linux/include/netinet/udp.h: Ditto.
7143 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
7144 * libc/sys/linux/include/netinet6/ah.h: Ditto.
7145 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
7146 * libc/sys/linux/include/netinet6/esp.h: Ditto.
7147 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
7148 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
7149 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
7150 * libc/sys/linux/include/netinet6/in6.h: Ditto.
7151 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
7152 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
7153 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
7154 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
7155 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
7156 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
7157 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
7158 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
7159 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
7160 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
7161 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
7162 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
7163 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
7164 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
7165 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
7166 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
7167 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
7168 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
7169 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
7170 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
7171 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
7172 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
7173 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
7174 * libc/sys/linux/include/netns/idp.h: Ditto.
7175 * libc/sys/linux/include/netns/idp_var.h: Ditto.
7176 * libc/sys/linux/include/netns/ns.h: Ditto.
7177 * libc/sys/linux/include/netns/ns_error.h: Ditto.
7178 * libc/sys/linux/include/netns/ns_if.h: Ditto.
7179 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
7180 * libc/sys/linux/include/netns/sp.h: Ditto.
7181 * libc/sys/linux/include/netns/spidp.h: Ditto.
7182 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
7183 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
7184 * libc/sys/linux/include/netns/spp_var.h: Ditto.
7185 * libc/sys/linux/include/rpc/Makefile: Ditto.
7186 * libc/sys/linux/include/rpc/auth.h: Ditto.
7187 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
7188 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
7189 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
7190 * libc/sys/linux/include/rpc/clnt.h: Ditto.
7191 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
7192 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
7193 * libc/sys/linux/include/rpc/des.h: Ditto.
7194 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
7195 * libc/sys/linux/include/rpc/nettype.h: Ditto.
7196 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
7197 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
7198 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
7199 * libc/sys/linux/include/rpc/raw.h: Ditto.
7200 * libc/sys/linux/include/rpc/rpc.h: Ditto.
7201 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
7202 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
7203 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
7204 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
7205 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
7206 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
7207 * libc/sys/linux/include/rpc/svc.h: Ditto.
7208 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
7209 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
7210 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
7211 * libc/sys/linux/include/rpc/types.h: Ditto.
7212 * libc/sys/linux/include/rpc/xdr.h: Ditto.
7213 * libc/sys/linux/intl/Makefile.am: Ditto.
7214 * libc/sys/linux/intl/Makefile.in: Ditto.
7215 * libc/sys/linux/intl/bindtextdom.c: Ditto.
7216 * libc/sys/linux/intl/catgets.c: Ditto.
7217 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
7218 * libc/sys/linux/intl/config.h: Ditto.
7219 * libc/sys/linux/intl/dcgettext.c: Ditto.
7220 * libc/sys/linux/intl/dcigettext.c: Ditto.
7221 * libc/sys/linux/intl/dcngettext.c: Ditto.
7222 * libc/sys/linux/intl/dgettext.c: Ditto.
7223 * libc/sys/linux/intl/dngettext.c: Ditto.
7224 * libc/sys/linux/intl/explodename.c: Ditto.
7225 * libc/sys/linux/intl/finddomain.c: Ditto.
7226 * libc/sys/linux/intl/gettext.c: Ditto.
7227 * libc/sys/linux/intl/gettext.h: Ditto.
7228 * libc/sys/linux/intl/gettextP.h: Ditto.
7229 * libc/sys/linux/intl/hash-string.h: Ditto.
7230 * libc/sys/linux/intl/l10nflist.c: Ditto.
7231 * libc/sys/linux/intl/loadinfo.h: Ditto.
7232 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
7233 * libc/sys/linux/intl/locale.alias: Ditto.
7234 * libc/sys/linux/intl/localealias.c: Ditto.
7235 * libc/sys/linux/intl/ngettext.c: Ditto.
7236 * libc/sys/linux/intl/open_catalog.c: Ditto.
7237 * libc/sys/linux/intl/plural.c: Ditto.
7238 * libc/sys/linux/intl/plural.y: Ditto.
7239 * libc/sys/linux/intl/stpcpy.c: Ditto.
7240 * libc/sys/linux/intl/textdomain.c: Ditto.
7241 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
7242 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
7243 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
7244 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
7245 * libc/sys/linux/linuxthreads/attr.c: Ditto.
7246 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
7247 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
7248 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
7249 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
7250 * libc/sys/linux/linuxthreads/config.h: Ditto.
7251 * libc/sys/linux/linuxthreads/configure: Ditto.
7252 * libc/sys/linux/linuxthreads/configure.in: Ditto.
7253 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
7254 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
7255 * libc/sys/linux/linuxthreads/events.c: Ditto.
7256 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
7257 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
7258 * libc/sys/linux/linuxthreads/internals.h: Ditto.
7259 * libc/sys/linux/linuxthreads/join.c: Ditto.
7260 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
7261 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
7262 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
7263 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
7264 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
7265 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
7266 * libc/sys/linux/linuxthreads/manager.c: Ditto.
7267 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
7268 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
7269 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
7270 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
7271 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
7272 * libc/sys/linux/linuxthreads/prio.c: Ditto.
7273 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
7274 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
7275 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
7276 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
7277 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
7278 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
7279 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
7280 * libc/sys/linux/linuxthreads/queue.h: Ditto.
7281 * libc/sys/linux/linuxthreads/reent.c: Ditto.
7282 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
7283 * libc/sys/linux/linuxthreads/restart.h: Ditto.
7284 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
7285 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
7286 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
7287 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
7288 * libc/sys/linux/linuxthreads/signals.c: Ditto.
7289 * libc/sys/linux/linuxthreads/specific.c: Ditto.
7290 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
7291 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
7292 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
7293 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
7294 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7295 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
7296 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7297 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7298 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7299 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7300 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7301 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7302 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7303 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7304 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7305 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7306 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7307 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7308 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7309 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7310 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7311 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7312 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7313 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7314 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7315 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7316 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7317 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7318 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7319 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7320 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7321 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7322 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7323 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7324 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7325 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7326 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7327 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7328 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7329 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7330 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7331 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
7332 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
7333 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
7334 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
7335 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
7336 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
7337 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
7338 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
7339 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
7340 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
7341 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
7342 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
7343 * libc/sys/linux/linuxthreads/unload.c: Ditto.
7344 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
7345 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
7346 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
7347 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
7348 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
7349 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
7350 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
7351 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
7352 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
7353 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
7354 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
7355 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
7356 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
7357 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
7358 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
7359 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
7360 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
7361 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
7362 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
7363 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
7364 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
7365 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
7366 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
7367 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
7368 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
7369 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
7370 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
7371 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
7372 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
7373 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
7374 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
7375 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
7376 * libc/sys/linux/net/Makefile.am: Ditto.
7377 * libc/sys/linux/net/Makefile.in: Ditto.
7378 * libc/sys/linux/net/addr2ascii.3: Ditto.
7379 * libc/sys/linux/net/addr2ascii.c: Ditto.
7380 * libc/sys/linux/net/ascii2addr.c: Ditto.
7381 * libc/sys/linux/net/base64.c: Ditto.
7382 * libc/sys/linux/net/bindresvport.c: Ditto.
7383 * libc/sys/linux/net/byteorder.3: Ditto.
7384 * libc/sys/linux/net/ether_addr.c: Ditto.
7385 * libc/sys/linux/net/ethers.3: Ditto.
7386 * libc/sys/linux/net/getaddrinfo.3: Ditto.
7387 * libc/sys/linux/net/getaddrinfo.c: Ditto.
7388 * libc/sys/linux/net/gethostbydns.c: Ditto.
7389 * libc/sys/linux/net/gethostbyht.c: Ditto.
7390 * libc/sys/linux/net/gethostbyname.3: Ditto.
7391 * libc/sys/linux/net/gethostbynis.c: Ditto.
7392 * libc/sys/linux/net/gethostnamadr.c: Ditto.
7393 * libc/sys/linux/net/getifaddrs.3: Ditto.
7394 * libc/sys/linux/net/getifaddrs.c: Ditto.
7395 * libc/sys/linux/net/getipnodebyname.3: Ditto.
7396 * libc/sys/linux/net/getnameinfo.3: Ditto.
7397 * libc/sys/linux/net/getnameinfo.c: Ditto.
7398 * libc/sys/linux/net/getnetbydns.c: Ditto.
7399 * libc/sys/linux/net/getnetbyht.c: Ditto.
7400 * libc/sys/linux/net/getnetbynis.c: Ditto.
7401 * libc/sys/linux/net/getnetent.3: Ditto.
7402 * libc/sys/linux/net/getnetnamadr.c: Ditto.
7403 * libc/sys/linux/net/getproto.c: Ditto.
7404 * libc/sys/linux/net/getprotoent.3: Ditto.
7405 * libc/sys/linux/net/getprotoent.c: Ditto.
7406 * libc/sys/linux/net/getprotoname.c: Ditto.
7407 * libc/sys/linux/net/getservbyname.c: Ditto.
7408 * libc/sys/linux/net/getservbyport.c: Ditto.
7409 * libc/sys/linux/net/getservent.3: Ditto.
7410 * libc/sys/linux/net/getservent.c: Ditto.
7411 * libc/sys/linux/net/herror.c: Ditto.
7412 * libc/sys/linux/net/hesiod.3: Ditto.
7413 * libc/sys/linux/net/hesiod.c: Ditto.
7414 * libc/sys/linux/net/if_indextoname.3: Ditto.
7415 * libc/sys/linux/net/ifname.c: Ditto.
7416 * libc/sys/linux/net/inet.3: Ditto.
7417 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
7418 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
7419 * libc/sys/linux/net/inet_addr.c: Ditto.
7420 * libc/sys/linux/net/inet_lnaof.c: Ditto.
7421 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
7422 * libc/sys/linux/net/inet_net.3: Ditto.
7423 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
7424 * libc/sys/linux/net/inet_net_pton.c: Ditto.
7425 * libc/sys/linux/net/inet_neta.c: Ditto.
7426 * libc/sys/linux/net/inet_netof.c: Ditto.
7427 * libc/sys/linux/net/inet_network.c: Ditto.
7428 * libc/sys/linux/net/inet_ntoa.c: Ditto.
7429 * libc/sys/linux/net/inet_ntop.c: Ditto.
7430 * libc/sys/linux/net/inet_pton.c: Ditto.
7431 * libc/sys/linux/net/innetgr-stub.c: Ditto.
7432 * libc/sys/linux/net/ip6opt.c: Ditto.
7433 * libc/sys/linux/net/iso_addr.3: Ditto.
7434 * libc/sys/linux/net/iso_addr.c: Ditto.
7435 * libc/sys/linux/net/issetugid-stub.c: Ditto.
7436 * libc/sys/linux/net/linkaddr.3: Ditto.
7437 * libc/sys/linux/net/linkaddr.c: Ditto.
7438 * libc/sys/linux/net/map_v4v6.c: Ditto.
7439 * libc/sys/linux/net/name6.c: Ditto.
7440 * libc/sys/linux/net/namespace.h: Ditto.
7441 * libc/sys/linux/net/ns.3: Ditto.
7442 * libc/sys/linux/net/ns_addr.c: Ditto.
7443 * libc/sys/linux/net/ns_name.c: Ditto.
7444 * libc/sys/linux/net/ns_netint.c: Ditto.
7445 * libc/sys/linux/net/ns_ntoa.c: Ditto.
7446 * libc/sys/linux/net/ns_parse.c: Ditto.
7447 * libc/sys/linux/net/ns_print.c: Ditto.
7448 * libc/sys/linux/net/ns_ttl.c: Ditto.
7449 * libc/sys/linux/net/nsap_addr.c: Ditto.
7450 * libc/sys/linux/net/nsdispatch.3: Ditto.
7451 * libc/sys/linux/net/nsdispatch.c: Ditto.
7452 * libc/sys/linux/net/nslexer.c: Ditto.
7453 * libc/sys/linux/net/nslexer.l: Ditto.
7454 * libc/sys/linux/net/nsparser.c: Ditto.
7455 * libc/sys/linux/net/nsparser.h: Ditto.
7456 * libc/sys/linux/net/nsparser.y: Ditto.
7457 * libc/sys/linux/net/rcmd.3: Ditto.
7458 * libc/sys/linux/net/rcmd.c: Ditto.
7459 * libc/sys/linux/net/rcmdsh.3: Ditto.
7460 * libc/sys/linux/net/rcmdsh.c: Ditto.
7461 * libc/sys/linux/net/recv.c: Ditto.
7462 * libc/sys/linux/net/res_comp.c: Ditto.
7463 * libc/sys/linux/net/res_config.h: Ditto.
7464 * libc/sys/linux/net/res_data.c: Ditto.
7465 * libc/sys/linux/net/res_debug.c: Ditto.
7466 * libc/sys/linux/net/res_init.c: Ditto.
7467 * libc/sys/linux/net/res_mkquery.c: Ditto.
7468 * libc/sys/linux/net/res_mkupdate.c: Ditto.
7469 * libc/sys/linux/net/res_query.c: Ditto.
7470 * libc/sys/linux/net/res_send.c: Ditto.
7471 * libc/sys/linux/net/res_update.c: Ditto.
7472 * libc/sys/linux/net/resolver.3: Ditto.
7473 * libc/sys/linux/net/rthdr.c: Ditto.
7474 * libc/sys/linux/net/send.c: Ditto.
7475 * libc/sys/linux/net/un-namespace.h: Ditto.
7476 * libc/sys/linux/net/vars.c: Ditto.
7477 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
7478 * libc/sys/linux/stdlib/Makefile.am: Ditto.
7479 * libc/sys/linux/stdlib/Makefile.in: Ditto.
7480 * libc/sys/linux/stdlib/cclass.h: Ditto.
7481 * libc/sys/linux/stdlib/cname.h: Ditto.
7482 * libc/sys/linux/stdlib/collate.c: Ditto.
7483 * libc/sys/linux/stdlib/collate.h: Ditto.
7484 * libc/sys/linux/stdlib/collcmp.c: Ditto.
7485 * libc/sys/linux/stdlib/engine.c: Ditto.
7486 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
7487 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
7488 * libc/sys/linux/stdlib/glob.3: Ditto.
7489 * libc/sys/linux/stdlib/glob.c: Ditto.
7490 * libc/sys/linux/stdlib/reallocf.c: Ditto.
7491 * libc/sys/linux/stdlib/regcomp.c: Ditto.
7492 * libc/sys/linux/stdlib/regerror.c: Ditto.
7493 * libc/sys/linux/stdlib/regex.3: Ditto.
7494 * libc/sys/linux/stdlib/regex2.h: Ditto.
7495 * libc/sys/linux/stdlib/regexec.c: Ditto.
7496 * libc/sys/linux/stdlib/regfree.c: Ditto.
7497 * libc/sys/linux/stdlib/utils.h: Ditto.
7498 * libc/sys/linux/stdlib/wordexp.c: Ditto.
7499 * libc/sys/linux/stdlib/wordfree.c: Ditto.
7500 * libc/sys/linux/sys/dlfcn.h: Ditto.
7501 * libc/sys/linux/sys/elfclass.h: Ditto.
7502 * libc/sys/linux/sys/event.h: Ditto.
7503 * libc/sys/linux/sys/ioccom.h: Ditto.
7504 * libc/sys/linux/sys/libc-tsd.h: Ditto.
7505 * libc/sys/linux/sys/link.h: Ditto.
7506 * libc/sys/linux/sys/lock.h: Ditto.
7507 * libc/sys/linux/sys/param.h: Ditto.
7508 * libc/sys/linux/sys/socket.h: Ditto.
7509 * libc/sys/linux/sys/sockio.h: Ditto.
7510
17c0c97d 75112003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 7512
17c0c97d 7513 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
7514 normal mode
7515 * newlib/libc/machine/h8300/memset.S: Likewise
7516 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
7517 * newlib/lib/machine/h8300/reg_memset.S: Likewise
7518 * newlib/lib/machine/h8300/setjmp.S: Likewise
7519 * newlib/lib/machine/h8300/strcmp.S: Likewise
7520 * newlib/lib/sys/h8300hms/crt0.S: Likewise
7521
8a4b4764
CV
75222003-05-13 Corinna Vinschen <corinna@vinschen.de>
7523
7524 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
7525 * libc/include/stdio.h: Ditto.
7526 * libc/include/sys/config.h: Ditto.
7527 * libc/stdio/mktemp.c: Ditto.
7528
837e070f
CV
75292003-05-13 Corinna Vinschen <corinna@vinschen.de>
7530
7531 * libc/locale/ldpart.c (__part_load_locale): Substitute
7532 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
7533 * libc/search/hash.c (__hash_open): Ditto.
7534 (init_hash): Ditto.
7535 * libc/stdio/fseek.c (fseek): Ditto.
7536 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7537 * libc/stdio/mktemp.c (_gettemp): Ditto.
7538
b47fcdf0
CV
75392003-05-12 Corinna Vinschen <corinna@vinschen.de>
7540
7541 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
7542
11e3a520
CV
75432003-05-12 Corinna Vinschen <corinna@vinschen.de>
7544
7545 * configure.host: Accomodate removing the libc/sys/cygwin dir.
7546 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
7547 if __CYGWIN_USE_BIG_TYPES__ is set.
7548 * libc/search/hash.c (__hash_open): Ditto.
7549 (init_hash): Ditto.
7550 * libc/stdio/fseek.c (fseek): Ditto.
7551 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7552 * libc/stdio/mktemp.c (_gettemp): Ditto.
7553 * libc/sys/cygwin/Makefile.am: Remove.
7554 * libc/sys/cygwin/Makefile.in: Remove.
7555 * libc/sys/cygwin/aclocal.m4: Remove.
7556 * libc/sys/cygwin/configure: Remove.
7557 * libc/sys/cygwin/configure.in: Remove.
7558 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
7559 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
7560 directory.
7561 * libc/sys/cygwin/sys/param.h: Ditto.
7562 * libc/sys/cygwin/sys/utime.h: Ditto.
7563 * libc/sys/cygwin/sys/utmp.h: Ditto.
7564
d1b5e65b
CV
75652003-05-11 Corinna Vinschen <corinna@vinschen.de>
7566
7567 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7568
ec48a953
CF
75692003-05-10 Christopher Faylor <cgf@redhat.com>
7570
7571 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7572 64 bit inodes.
7573
a3cc5851
CV
75742003-05-09 Corinna Vinschen <corinna@vinschen.de>
7575
7576 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7577 Include cygwin/config.h instead.
7578
57ff95d3
JJ
75792003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7580
7581 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7582 all code with #ifdef __SPE__ test.
7583 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7584
cfd2c7be
CF
75852003-04-15 Chris January <chris@atomice.net>
7586
7587 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7588 Cygwin.
7589
6f48c0ae
JR
75902003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7591
7592 * libc/machine/sh/memset.S: Avoid clobbering volatile
7593 objects following a tiny to-be-set array in the same quadword.
7594
8f8d09c0
CV
75952001-04-09 Corinna Vinschen <corinna@vinschen.de>
7596
17c0c97d 7597 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
7598 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7599 * libc/string/Makefile.in: Regenerated.
7600 * libc/string/wcswidth.c: New file.
7601 * libc/string/wcwidth.c: New file.
7602 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7603
40c3b2d0
JR
7604Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7605
7606 * libc/machine/sh/memset.S: Fix problem with alloco region
7607 exceeding destination region for length >= 88 bytes, start
7608 & 0x16 == 0, end & 0x1f == 18.
7609
8ae6a3dd
CV
76102001-04-03 Corinna Vinschen <corinna@vinschen.de>
7611
7612 * libc/string/wcscoll.c: Fix comment.
7613
d122b1cc
CV
76142001-04-02 Corinna Vinschen <corinna@vinschen.de>
7615
7616 * libc/include/wchar.h: Add definition for wcscoll.
7617 * libc/string/Makefile.am: Add wcscoll.c.
7618 * libc/string/Makefile.in: Regenerated.
7619 * libc/string/wcscoll.c: New file.
17c0c97d 7620 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7621
31ee99a4
CV
76222003-04-01 Corinna Vinschen <corinna@vinschen.de>
7623
7624 * libc/stdio/sscanf.c: Update flags description.
7625 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7626 type.
7627 (__svfscanf_r): Add 'hh' and 'll' handling.
7628
d78045ee
CV
76292003-04-01 Corinna Vinschen <corinna@vinschen.de>
7630
7631 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7632 __d_position member to _off_t.
7633
e6bdc6c5
JJ
76342003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7635
7636 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7637 count all characters used to create number against maximum width.
7638 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7639
e65d559e
JJ
76402003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7641
7642 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7643 support.
7644 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7645 flag to support simulator only extensions.
7646
6b3bb52b
JJ
76472003-03-17 Bob Cassels <bcassels@abinitio.com>
7648
ba3ccd63 7649 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7650 then for end of string, so you can do wcschr(x, '\0').
7651
17c0c97d 76522003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7653
7654 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7655 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7656 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7657 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7658 * libc/stdio/fseeko.c (fseeko): Ditto.
7659 * libc/stdio/ftello.c (ftello): Ditto.
7660 * libc/stdio/stdio.c (__swrite): Ditto.
7661 (__sseek): Ditto.
7662 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7663 * libc/stdio/fseek.c (fseek): Ditto.
7664 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7665 * libc/stdio/ftell.c (ftell): Ditto.
7666 * libc/stdio/local.h: Declare __sseek using _off_t.
7667
150c2818
CV
76682003-03-09 Corinna Vinschen <corinna@vinschen.de>
7669
7670 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7671
2c440f9c
CV
76722003-03-09 Corinna Vinschen <corinna@vinschen.de>
7673
7674 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7675 Cygwin.
7676
f882fd15
CV
76772003-03-09 Corinna Vinschen <corinna@vinschen.de>
7678
7679 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7680 Cygwin.
7681 * libc/include/sys/stat.h: Ditto.
7682 * libc/include/sys/unistd.h: Ditto.
7683 * libc/sys/cygwin/sys/dirent.h: Ditto.
7684
01d61543
CF
76852003-03-07 Christopher Faylor <cgf@redhat.com>
7686
7687 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7688 declaration of getopt and avoid getopt_long declaration.
7689 * libc/sys/cygwin/include/unistd.h: Remove.
7690
5582abd2
CV
76912003-03-07 Corinna Vinschen <corinna@vinschen.de>
7692
7693 * configure.host: Define stdio64_dir for Cygwin.
7694 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7695 Cygwin 64bit file access requirements.
7696 Drop definition of f*64() functions when compiled for Cygwin.
7697 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7698 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7699 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7700
641da1eb
JJ
77012003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7702
7703 * libc/include/sys/reent.h: Remove extraneous _sig_func
7704 declaration.
7705
77062003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7707
7708 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7709 * libc/sys/h8300hms/Makefile.in: Regenerated.
7710 * libc/sys/h8300hms/close.S: New file.
7711 * libc/sys/h8300hms/fstat.S: Ditto.
7712 * libc/sys/h8300hms/lseek.S: Ditto.
7713 * libc/sys/h8300hms/open.S: Ditto.
7714 * libc/sys/h8300hms/stat.S: Ditto.
7715 * libc/sys/h8300hms/read.S: New file to replace read.c.
7716 * libc/sys/h8300hms/read.c: Removed.
7717 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7718 _lseek, _close, _stat, _fstat.
7719 * libc/sys/h8300hms/write.S: New file to replace write.c.
7720 * libc/sys/h8300hms/write.c: Removed.
7721
bac50d6b
NC
77222003-02-20 Nick Clifton <nickc@redhat.com>
7723
7724 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7725
bac50d6b
NC
7726 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7727
7728 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7729 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7730
7731 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7732
7733 * configure.host: set sys_dir, syscall_dir, and
7734 newlib_cflags for ep9312 host.
7735
ba3ccd63 7736 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7737 statements.
7738
12ee7037
JJ
77392003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7740
ba3ccd63 7741 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7742
1e810ba0
JJ
77432003-02-18 Christian Groessler <chris@groessler.org>
7744
7745 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7746 support z8001 segmented mode.
7747
b1ca765e
JJ
77482003-02-18 Earnie Boyd <earnie@users.sf.net>
7749
7750 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7751 with a NULL value.
7752
51a46b54
CF
77532003-02-10 Christopher Faylor <cgf@redhat.com>
7754
7755 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7756 Don't define some types under cygwin.
7757
313f1349
JJ
77582003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7759
17c0c97d 7760 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7761 option to allow disabling of syscalls being supplied in newlib.
7762 * aclocal.m4: Regenerated.
7763 * configure: Ditto.
7764 * configure.host: Add support of new configuration option and add
7765 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7766 * doc/aclocal.m4: Regenerated.
7767 * doc/configure: Ditto.
7768 * libc/*aclocal.m4: Ditto.
7769 * libc/*configure: Ditto.
7770 * libm/*aclocal.m4: Ditto.
7771 * libm/*configure: Ditto.
7772 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7773 is disabled.
7774 * libc/sys/arm/Makefile.in: Regenerated.
7775
5017a3da
JJ
77762003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7777
7778 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7779 -1 to be sure it cannot later match a valid file fd causing
7780 isatty() to return 1.
7781 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7782 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7783 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7784
ad36f7d1
JJ
77852003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7786
7787 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7788 buffer based on the precision, after we have processed the input value
7789 in a local buffer and know its relative magnitude.
ad36f7d1 7790
a74181ee
JJ
77912003-01-31 Michael Snyder <msnyder@redhat.com>
7792
7793 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7794 into registers r1 and r2, so that the simulator can distinguish
7795 this trap from a breakpoint trap. Copied from libgloss.
7796
b85498d4
JJ
77972003-01-31 Michael Snyder <msnyder@redhat.com>
7798
7799 * libc/sys/h8300hms/crt0.S (_start): Change local label
7800 from .loop to .Loop, so that ld and gdb will ignore it.
7801
4700b829
JJ
78022003-01-29 Jason Tishler <jason@tishler.net>
7803
7804 * libc/include/time.h: Declare nanosleep() under Cygwin.
7805
0127ae40
NC
78062003-01-24 Nick Clifton <nickc@redhat.com>
7807
7808 * Add sh2e support:
7809
7810 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7811
7812 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7813 * libc/machine/sh/setjmp.S: Likewise.
7814 * libc/include/machine/ieeefp.h: Likewise.
7815
8bbcd9a1
CV
78162003-01-24 Corinna Vinschen <corinna@vinschen.de>
7817
7818 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7819 for Cygwin.
7820
b8838e6f 78212003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7822
b8838e6f
JJ
7823 * libc/time/difftime.c : Typecast the result to double.
7824
f9e41155
CF
78252003-01-20 Christopher Faylor <cgf@redhat.com>
7826
7827 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7828
6b5a7988
NC
78292003-01-18 Nick Clifton <nickc@redhat.com>
7830
7831 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7832 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7833
c3e92877
JJ
78342003-01-16 Joel Sherrill <joel@OARcorp.com>
7835
ba3ccd63
EB
7836 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7837 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7838 constants are defined in each file in the shared versions in
7839 libc/include.
7840 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7841 autoconf can link programs.
7842 * libc/include/machine/types.h: Explicitly specify signed on
7843 intXX_t types to ensure they are signed.
c3e92877 7844
84510217
CF
78452003-01-14 Christopher Faylor <cgf@redhat.com>
7846
7847 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7848 extensions.
7849
b3934ab3
RS
78502003-01-08 Richard Sandiford <rsandifo@redhat.com>
7851
7852 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7853
be9c60e5
JJ
78542003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7855
7856 * libc/stdio/sprintf.c: fix typo
7857 * libc/stdio/vfprintf.c: fix typo
7858
d4c3a750
JJ
78592003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7860
7861 * configure.host: Support long double I/O for x86-linux.
7862 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7863 large enough to hold formatted result.
7864 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7865
b2294aaa
JJ
78662003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7867
7868 * Makefile.am: Add vasprintf.
7869 * Makefile.in: Regenerated.
7870
ea5e5daf
JJ
78712003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7872
7873 * asprintf.c (_asprintf_r): insure both declarations
7874 are the same.
7875
5c581eca
CF
78762002-12-28 Christopher Faylor <cgf@redhat.com>
7877
7878 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7879 than defining getopt directly.
7880
60b0838f
JJ
78812002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7882
7883 * NEWS: Update with 1.11.0 info.
7884 * README: Ditto.
7885 * acinclude.m4: Change version number to 1.11.0.
7886 * aclocal.m4: Regenerated.
7887 * configure: Ditto.
7888 * doc/aclocal.m4: Ditto.
7889 * doc/configure: Ditto.
7890 * libc/*/aclocal.m4: Ditto.
7891 * libc/*/configure: Ditto.
7892 * libc/libc.texinfo: Ditto.
7893 * libm/*/aclocal.m4: Ditto.
7894 * libm/*/configure: Ditto.
7895 * libm/libm.texinfo: Ditto.
7896 * libc/sys/linux/shared.ld: Add VERS_1.11.
7897
10501d57
JJ
78982002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7899
7900 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7901 Solutions to Red Hat Inc.
7902 * libc/machine/i386/f_atan2f.S: Ditto.
7903 * libc/machine/i386/f_exp.c: Ditto.
7904 * libc/machine/i386/f_expf.c: Ditto.
7905 * libc/machine/i386/f_frexp.S: Ditto.
7906 * libc/machine/i386/f_frexpf.S: Ditto.
7907 * libc/machine/i386/f_ldexp.S: Ditto.
7908 * libc/machine/i386/f_ldexpf.S: Ditto.
7909 * libc/machine/i386/f_log.S: Ditto.
7910 * libc/machine/i386/f_log10.S: Ditto.
7911 * libc/machine/i386/f_log10f.S: Ditto.
7912 * libc/machine/i386/f_logf.S: Ditto.
7913 * libc/machine/i386/f_pow.c: Ditto.
7914 * libc/machine/i386/f_powf.c: Ditto.
7915 * libc/machine/i386/f_tan.S: Ditto.
7916 * libc/machine/i386/f_tanf.S: Ditto.
7917 * libc/machine/i386/memchr.S: Ditto.
7918 * libc/machine/i386/memcmp.S: Ditto.
7919 * libc/machine/i386/memcpy.S: Ditto.
7920 * libc/machine/i386/memmove.S: Ditto.
7921 * libc/machine/i386/memset.S: Ditto.
7922 * libc/machine/i386/strchr.S: Ditto.
7923 * libc/machine/i386/strlen.S: Ditto.
7924 * libm/machine/i386/f_atan2.S: Ditto.
7925 * libm/machine/i386/f_atan2f.S: Ditto.
7926 * libm/machine/i386/f_exp.c: Ditto.
7927 * libm/machine/i386/f_expf.c: Ditto.
7928 * libm/machine/i386/f_frexp.S: Ditto.
7929 * libm/machine/i386/f_frexpf.S: Ditto.
7930 * libm/machine/i386/f_ldexp.S: Ditto.
7931 * libm/machine/i386/f_ldexpf.S: Ditto.
7932 * libm/machine/i386/f_log.S: Ditto.
7933 * libm/machine/i386/f_log10.S: Ditto.
7934 * libm/machine/i386/f_log10f.S: Ditto.
7935 * libm/machine/i386/f_logf.S: Ditto.
7936 * libm/machine/i386/f_pow.c: Ditto.
7937 * libm/machine/i386/f_powf.c: Ditto.
7938 * libm/machine/i386/f_tan.S: Ditto.
7939 * libm/machine/i386/f_tanf.S: Ditto.
7940
9b3f0d16
JJ
79412002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7942
7943 * libc/stdlib/environ.c: Update license to Red Hat.
7944 * libc/machine/hppa/setjmp.S: Ditto.
7945 * libm/test/Makefile.in: Ditto.
7946
d693ad84
JJ
79472002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7948
7949 * configure.host: Remove references to go32.
7950 * libc/sys/go32/*: Removed.
7951
7da92d15
JJ
79522002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7953
7954 * libc/include/sys/config.h: Change setting of INT_MAX
7955 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7956 __H8300S__. Also consolidate flag settings for these
7957 platforms.
7958
ea01c7f5
JJ
79592002-12-10 Joel Sherrill <joel@OARcorp.com>
7960
7961 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7962 for i386-rtems targets.
7963
c049dd5a
JJ
79642002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7965
7966 * libc/include/stdlib.h (strtof): New prototype (from C99).
7967 (strtodf): Changed from prototype to macro which redefines
7968 to strtof.
7969 * libc/stdlib/atof.c: Change documentation to refer to strtof
7970 instead of strtodf.
7971 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7972 strtodf.
7973 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7974 (strtof): New function.
7975 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7976 calls strtof.
7977
46a402e0
CF
79782002-11-27 Christopher Faylor <cgf@redhat.com>
7979
7980 * libc/string/memset.c (memset): Fix comment.
7981
b3cc01b0
CF
79822002-11-26 Christopher Faylor <cgf@redhat.com>
7983
7984 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7985 function.
7986
d90f3dc1
CF
79872002-11-25 Christopher Faylor <cgf@redhat.com>
7988
7989 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7990 variable, introduced below, everywhere.
7991
f24585c6
KH
79922002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7993
7994 * libc/string/memset.c (memset): Make it safe even if
7995 sizeof (int) = 2.
7996
2955fd76
JJ
79972002-11-22 Joe Buehler <jbuehler@hekimian.com>
7998
7999 * configure.in: Change check for libc/include in ${CC} to
8000 use an intermediate value so as to work with different shells.
8001 * configure: Regenerated.
8002 * Makefile.in: Ditto.
8003
40ce7368
JJ
80042002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
8005
8006 * libc/sys/h8300hms/read.c: Add support for normal mode
8007 architecture.
8008
505746ad
JJ
80092002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
8010
8011 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
8012 code for __H8300H__ and __H8300S__. Also return 32-bit return code
8013 when -mint32 is used.
8014
28ecb2f5
NC
80152002-11-18 Nick Clifton <nickc@redhat.com>
8016
8017 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
8018
665b994e
JJ
80192002-11-14 Jeff Johnston <jjohnstn@redhat.com>
8020
ba3ccd63
EB
8021 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
8022 only issue one pass/fail message for a compile/link/execute.
8023 * testsuite/newlib.elix/elix.exp: New file.
8024 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 8025
e91ec2e3
CF
80262002-11-06 Christopher Faylor <cgf@redhat.com>
8027
8028 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
8029 * libc/stdlib/mlock.c: Ditto.
8030 * libc/stdlib/msize.c: Ditto.
8031 * libc/stdlib/msize.c: Ditto.
8032 * libc/stdlib/mtrim.c: Ditto.
8033 * libc/stdlib/valloc.c: Ditto.
8034
944772c7
JJ
80352002-11-12 Jeff Johnston <jjohnstn@redhat.com>
8036
ba3ccd63
EB
8037 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
8038 for inf/nan, make sure that the check ignores the sign bit.
944772c7 8039
dd7ee147
JJ
80402002-11-07 Joel Sherrill <joel@OARcorp.com>
8041
ba3ccd63
EB
8042 * libc/sys/rtems/machine: New directory.
8043 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
8044 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
8045 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
8046 targets more BSD like when installed without requiring files to
8047 be overwritten at install point when RTEMS itself is installed.
8048 * Makefile.am: Pick up system dependent machine .h files such as
8049 might be found on a BSD-ish system.
8050 * Makefile.in: Regenerate.
8051 * libc/include/machine/types.h: When on an RTEMS target, define a
8052 few BSD flavor types.
dd7ee147
JJ
8053
80542002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
8055
8056 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
8057
18cd62b7
JJ
80582002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8059
ba3ccd63
EB
8060 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
8061 * libc/include/wctype.h: Ditto.
18cd62b7 8062
d2888812
JJ
80632002-11-04 Jeff Johnston <jjohnstn@redhat.com>
8064
ba3ccd63
EB
8065 * libc/include/wchar.h: Add extern "C" specifier if C++.
8066 * libc/include/wctype.h: Ditto.
d2888812 8067
978ea3cf
JJ
80682002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8069
ba3ccd63
EB
8070 * testsuite/newlib.wctype/tiswctype.c: New test case.
8071 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 8072
a42cf80a
JJ
80732002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8074
ba3ccd63
EB
8075 * libc/sys/linux/machine/i386/include/endian.h: New file.
8076 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 8077
c9ccb1f2
JJ
80782002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8079
8080 * libm/machine/i386/aclocal.m4: Regenerated.
8081 * libm/machine/i386/configure: Ditto.
8082
94c5b430
JJ
80832002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8084
ba3ccd63
EB
8085 * testsuite/include/check.h: New header file to use with
8086 test cases.
8087 * testsuite/lib/newlib.exp: Add testsuite/include directory
8088 to list of header files to use.
8089 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
8090 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 8091
ccdae543
RS
80922002-10-11 Graham Stott <graham.stott@btinternet.com>
8093 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
8094
8095 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
8096 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
8097 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
8098
73972116
JS
80992002-10-07 Joel Sherrill <joel@OARcorp.com>
8100
8101 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
8102 dummy programs.
8103
89e3fcba
JS
81042002-10-07 Joel Sherrill <joel@OARcorp.com>
8105
8106 * libc/include/pthread.h: Define PTHREAD_CANCELED.
8107
54ec52e4
JS
81082002-10-07 Joel Sherrill <joel@OARcorp.com>
8109
8110 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
8111 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
8112 compile with current GNU tools.
8113
d389acba
JJ
81142002-10-07 Jeff Johnston <jjohnstn@redhat.com>
8115
8116 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
8117 the build library.
8118 * configure.in: Ditto.
8119 * Makefile.in: Regenerated.
8120 * configure: Ditto.
8121 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
8122 for specifying configured libraries/directories.
8123 * libc/sys/linux/configure.in: Ditto.
8124 * libc/sys/linux/Makefile.in: Regenerated.
8125 * libc/sys/linux/configure: Ditto.
8126
af5a221f
JJ
81272002-10-03 Jeff Johnston <jjohnstn@redhat.com>
8128
8129 * libc/include/reent.h: Update documentation at start of file.
8130
59a758bd
JW
81312002-09-27 Jim Wilson <wilson@redhat.com>
8132
8133 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
8134 the ctbp register.
8135
1ed3c86d
JJ
81362002-09-27 Jeff Johnston <jjohnstn@redhat.com>
8137
8138 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
8139 Also convert to EUCJP before using arrays. For values not in
8140 the conversion arrays, return WEOF.
8141 * libc/ctype/jp2uc.h: Change from one array to a number of
8142 arrays to account for the fact that the originating table
8143 is not contiguous for the input values since some are invalid.
8144
6e1dfd2d
JJ
81452002-09-24 Jeff Johnston <jjohnstn@redhat.com>
8146
8147 * libc/time/ctime.c: Fix prototype documentation.
8148
06f1353a
CV
81492002-09-24 Corinna Vinschen <corinna@vinschen.de>
8150
8151 * libc/include/sys/errno.h: Add EOVERFLOW.
8152
1e0e64c9
JJ
81532002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8154
8155 * libc/include/wctype.h: New file.
8156
1525d127
JJ
81572002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8158
ba3ccd63
EB
8159 * libc/ctype/Makefile.am: Add new files.
8160 * libc/ctype/Makefile.in: Regenerated.
8161 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
8162 and wctrans functions to documentation index.
8163 * libc/ctype/iswalnum.c: New file.
8164 * libc/ctype/iswalpha.c: Ditto.
8165 * libc/ctype/iswblank.c: Ditto.
8166 * libc/ctype/iswcntrl.c: Ditto.
8167 * libc/ctype/iswctype.c: Ditto.
8168 * libc/ctype/iswdigit.c: Ditto.
8169 * libc/ctype/iswgraph.c: Ditto.
8170 * libc/ctype/iswlower.c: Ditto.
8171 * libc/ctype/iswprint.c: Ditto.
8172 * libc/ctype/iswpunct.c: Ditto.
8173 * libc/ctype/iswspace.c: Ditto.
8174 * libc/ctype/iswupper.c: Ditto.
8175 * libc/ctype/iswxdigit.c: Ditto.
8176 * libc/ctype/jp2uc.c: Ditto.
8177 * libc/ctype/jp2uc.h: Ditto.
8178 * libc/ctype/local.h: Ditto.
8179 * libc/ctype/towctrans.c: Ditto.
8180 * libc/ctype/towlower.c: Ditto.
8181 * libc/ctype/towupper.c: Ditto.
8182 * libc/ctype/utf8alpha.h: Ditto.
8183 * libc/ctype/utf8print.h: Ditto.
8184 * libc/ctype/utf8punct.h: Ditto.
8185 * libc/ctype/wctrans.c: Ditto.
8186 * libc/ctype/wctype.c: Ditto.
8187 * libc/locale/locale.c (__lc_ctype): New external array to
8188 replace static lc_ctype array.
8189 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
8190 rather than reentrancy structure's _current_locale field.
8191 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 8192
da25e61f
JJ
81932002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8194
8195 * configure.host: Minor comment and formatting changes.
8196 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
8197 * libc/Makefile.in: Regenerated.
8198 * libc/include/sys/config.h: Minor format change.
8199
5b9ee539
JJ
82002002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8201
8202 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
8203 statement comment.
8204
50558bf3
JJ
82052002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8206
8207 * libc/posix/opendir.c (opendir): Change code to check
8208 for HAVE_FCNTL before calling fcntl.
8209 * libc/search/hash.c (hash_open): Ditto.
8210 * libc/search/hash_page.c (open_tmp): Ditto.
8211 * libc/reent/Makefile.am: Add fcntlr.c.
8212 * libc/reent/Makefile.in: Regenerated.
8213 * libc/reent/fcntlr.c: New file.
8214 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
8215 instead of _fcntl when HAVE_FCNTL flag is set.
8216 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
8217 to see if _fcntl or _fcntl_r should be called. If flag is not
8218 set, default to ENOSYS stub.
8219
9211a1ad
JJ
82202002-09-16 Jeff Johnston <jjohnstn@redhat.com>
8221
8222 * libc/include/wchar.h (mbstate_t): Change protective flag to
8223 be _MBSTATE_T.
8224 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
8225 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
8226 for Cygwin.
8227 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
8228
a8615092
JJ
82292002-09-11 Jeff Johnston <jjohnstn@redhat.com>
8230
ba3ccd63
EB
8231 * acinclude.m4 (enable-newlib-mb): Change check to
8232 default newlib_mb variable to empty string rather than "no".
8233 * configure.host: Remove hard-coding of -DMB_CAPABLE for
8234 x86-linux and Cygwin. Add code to check for newlib_mb
8235 being unset in which case set to "yes" for x86-linux and
8236 Cygwin. Change check for newlib_mb being "yes" to allow
8237 for an empty string.
8238 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
8239 * newlib.hin (_MB_LEN_MAX): New define to configure.
8240 * aclocal.m4: Regenerated.
8241 * configure: Ditto.
8242 * libc/include/limits.h: New file.
8243 * libc/sys/linux/include/limits.h: Ditto.
8244 * doc/aclocal.m4 doc/configure libc/aclocal.m4
8245 libc/configure libc/machine/aclocal.m4
8246 libc/machine/configure libc/machine/a29k/aclocal.m4
8247 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8248 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8249 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8250 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8251 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
8252 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
8253 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8254 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8255 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8256 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8257 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8258 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
8259 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
8260 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8261 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8262 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8263 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8264 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8265 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8266 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8267 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8268 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8269 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8270 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8271 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
8272 libc/machine/xscale/configure
8273 libc/machine/xstormy16/aclocal.m4
8274 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
8275 libc/machine/z8k/configure libc/sys/aclocal.m4
8276 libc/sys/configure libc/sys/a29khif/aclocal.m4
8277 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
8278 libc/sys/arc/configure libc/sys/arm/aclocal.m4
8279 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8280 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
8281 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
8282 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
8283 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
8284 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
8285 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
8286 libc/sys/idt/configure libc/sys/linux/aclocal.m4
8287 libc/sys/linux/configure
8288 libc/sys/linux/machine/aclocal.m4
8289 libc/sys/linux/machine/configure
8290 libc/sys/linux/machine/i386/aclocal.m4
8291 libc/sys/linux/machine/i386/configure
8292 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8293 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
8294 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8295 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8296 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8297 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8298 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8299 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8300 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8301 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8302 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8303 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8304 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8305 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8306 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8307 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 8308
be83844e
JJ
83092002-09-09 Jeff Johnston <jjohnstn@redhat.com>
8310
ba3ccd63
EB
8311 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
8312 code that clears the .bss section.
be83844e 8313
9c64d2a7
JJ
83142002-09-09 Jeff Johnston <jjohnstn@redhat.com>
8315
ba3ccd63
EB
8316 * libc/include/sys/_types.h (_mbstate_t): Changed to use
8317 unsigned char internally.
8318 * libc/sys/linux/sys/_types.h: Ditto.
8319 * libc/include/sys/reent.h
8320 * libc/stdlib/mblen.c (mblen): Use function-specific state
8321 value from default reentrancy structure.
8322 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
8323 _mbtowc_r is less than 0, reset state __count value and
8324 return -1.
8325 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
8326 is NULL, use the function-specific pointer provided in the
8327 default reentrancy structure.
8328 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
8329 If input state pointer is NULL, use function-specific area
8330 provided in reentrancy structure.
8331 * libc/stdlib/mbsrtowcs.c: Ditto.
8332 * libc/stdlib/wcrtomb.c: Ditto.
8333 * libc/stdlib/wcsrtombs.c: Ditto.
8334 * libc/stdlib/mbstowcs.c: Reformat.
8335 * libc/stdlib/wcstombs.c: Ditto.
8336 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
8337 reset the state's __count value and return -1.
8338 * libc/stdlib/mbtowc.c: Ditto.
8339 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
8340 If number of bytes is used up before completing a valid multibyte
8341 character, return -2 and save the state.
8342 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
8343 and change some __count references to __state for clarity.
9c64d2a7 8344
218b7a56
JJ
83452002-09-06 Jeff Johnston <jjohnstn@redhat.com>
8346
8347 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
8348 is defined by <limits.h>.
8349
c210a6ea
JJ
83502002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8351
8352 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
8353 defined.
8354
efa077ce
JJ
83552002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8356
ba3ccd63
EB
8357 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
8358 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
8359 __WCHAR_MAX__ or 0x7fffffffu.
8360 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
8361 * libc/string/wcsncmp.c: Ditto.
efa077ce 8362
e4b0ebc1
JJ
83632002-09-03 Jeff Johnston <jjohnstn@redhat.com>
8364
8365 * libc/string/wcschr.c: Add include of <stddef.h>.
8366 * libc/string/wcspbrk.c: Ditto.
8367 * libc/string/wcsrchr.c: Ditto.
8368 * libc/string/wcsstr.c: Ditto.
8369
3db40db7
JJ
83702002-09-03 Jeff Johnston <jjohnstn@redhat.com>
8371
ba3ccd63
EB
8372 * libc/include/sys/_types.h (_flock_t): Added.
8373 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
8374 (__lock_try_acquire_recursive): Ditto.
8375 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
8376 _lock field.
8377 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
8378 field.
8379 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
8380 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
8381 * libc/sys/linux/include/time.h (struct timespec): Moved from
8382 <sys/types.h> and added check for __need_timespec flag so type
8383 can be defined by itself.
8384 * libc/sys/linux/sys/_types.h (_flock_t): New type.
8385 * libc/sys/linux/sys/types.h (struct timespec): Moved to
8386 <time.h>.
3db40db7 8387
cd45f029
TF
83882002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
8389
8390 * libc/sys/linux/argp: New directory.
8391 * libc/sys/linux/getopt.c: New file.
8392 * libc/sys/linux/getopt1.c: New file.
8393 * libc/sys/linux/getoptlong.c: Remove file.
8394 * libc/sys/linux/include/argp.h: New file.
8395 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
8396 based on ELIX level.
8397 (SUBDIRS): Add argp_dir.
8398 (SUBLIBS): Add ARGP_LIB.
8399 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
8400 getopt_long.$(oext).
8401 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
8402
3c689185
JJ
84032002-08-29 Jeff Johnston <jjohnstn@redhat.com>
8404
ba3ccd63
EB
8405 * libc/libc.texinfo: Add node reference to wide-character strings.
8406 * libc/string/wcstrings.tex: New file.
3c689185 8407 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
8408 * libc/string/Makefile.am (doc): Add wide-character string
8409 chapter to documentation.
8410 * libc/string/Makefile.in: Regenerated.
3c689185 8411
890e7a1d
JJ
84122002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8413
ba3ccd63
EB
8414 * libc/include/wchar.h: Define NULL. Define WEOF more general
8415 way. Declare functions in newlib manner.
8416 * libc/stdlib/Makefile.am: Delete wmem*.c
8417 * libc/stdlib/Makefile.in: Regenerated.
8418 * libc/stdlib/wmemchr.c: Delete.
8419 * libc/stdlib/wmemcmp.c: Ditto.
8420 * libc/stdlib/wmemcpy.c: Ditto.
8421 * libc/stdlib/wmemmove.c: Ditto.
8422 * libc/stdlib/wmemset.c: Ditto.
8423 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
8424 * libc/string/Makefile.in: Regenerated.
8425 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
8426 * libc/string/wcschr.c: Ditto.
8427 * libc/string/wcscmp.c: Ditto.
8428 * libc/string/wcscpy.c: Ditto.
8429 * libc/string/wcscspn.c: Ditto.
8430 * libc/string/wcslcat.c: Ditto.
8431 * libc/string/wcslcpy.c: Ditto.
8432 * libc/string/wcslen.c: Ditto.
8433 * libc/string/wcsncat.c: Ditto.
8434 * libc/string/wcsncmp.c: Ditto.
8435 * libc/string/wcsncpy.c: Ditto.
8436 * libc/string/wcspbrk.c: Ditto.
8437 * libc/string/wcsrchr.c: Ditto.
8438 * libc/string/wcsspn.c: Ditto.
8439 * libc/string/wcsstr.c: Ditto.
8440 * libc/string/wmemchr.c: Ditto.
8441 * libc/string/wmemcmp.c: Ditto.
8442 * libc/string/wmemcpy.c: Ditto.
8443 * libc/string/wmemmove.c: Ditto.
8444 * libc/string/wmemset.c: Ditto.
890e7a1d 8445
86620e21
JJ
84462002-08-29 Jeff Johnston <jjohnstn@redhat.com>
8447
ba3ccd63
EB
8448 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
8449 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
8450 and is treated as if "C" was specified.
86620e21 8451
f3741c27
JJ
84522002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8453
ba3ccd63
EB
8454 * Makefile.am (install-data-local): Move install of build
8455 newlib.h after installing headers in libc/include so as to
8456 overwrite default newlib.h.
8457 * Makefile.in: Regenerated.
f3741c27 8458
48da61f5
JJ
84592002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8460
ba3ccd63
EB
8461 * libc/include/newlib.h: New file for tools that use newlib
8462 headers but don't build newlib first (e.g. gcc).
48da61f5 8463
d82a94ac
JJ
84642002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8465
8466 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
8467 * libc/stdlib/wmemcmp.c: Ditto.
8468 * libc/stdlib/wmemcpy.c: Ditto.
8469 * libc/stdlib/wmemmove.c: Ditto.
8470 * libc/stdlib/wmemset.c: Ditto.
8471
7d08241b
JJ
84722002-08-27 Egor Duda <deo@logos-m.ru>
8473
8474 * libc/stdlib/wmemchr.c: New file.
8475 * libc/stdlib/wmemcmp.c: Ditto.
8476 * libc/stdlib/wmemcpy.c: Ditto.
8477 * libc/stdlib/wmemmove.c: Ditto.
8478 * libc/stdlib/wmemset.c: Ditto.
8479 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
8480 * configure.host: Default -DMB_CAPABLE for cygwin.
8481 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
8482 wmemmove() and wmemset(). Add include of <_ansi.h>.
8483 * libc/stdlib/Makefile.in: Regenerate.
8484
8da1639b
JJ
84852002-08-27 Jeff Johnston <jjohnstn@redhat.com>
8486
ff2bf852 8487 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
8488 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
8489 (install-data-local): Install newlib.h.
8490 * Makefile.in: Regenerated.
8491 * aclocal.m4: Ditto.
8492 * configure: Ditto.
17c0c97d 8493 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
8494 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
8495 and _NEWLIB_VERSION to fill in newlib.h header file entries.
8496 In AC_OUTPUT statement, unset ac_file so multilib support does
8497 not use last ac_file temporary used in newlib.h configuration.
8498 * libc/include/_ansi.h: Include <newlib.h>.
8499 * newlib.hin: New template file for newlib.h.
8500 * stamp-h.in: New file.
8501
a4421c11
JJ
85022002-08-26 Wu Yongwei <adah@netstd.com>
8503
ba3ccd63 8504 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 8505
90b65e2d
JJ
85062002-08-26 Jeff Johnston <jjohnstn@redhat.com>
8507
8508 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
8509 * Makefile.in: Regenerated.
8510 * acinclude.m4: Add support for --enable-newlib-elix-level option.
8511 * aclocal.m4: Regenerated.
8512 * configure: Ditto.
8513 * configure.host: Add code to define _ELIX_LEVEL if
8514 --enable-newlib-elix-level option is used.
17c0c97d 8515 * configure.in:
90b65e2d
JJ
8516 * libc/aclocal.m4: Regenerated.
8517 * libc/configure: Ditto.
8518 * libc/argz/Makefile.am: Add EL/IX level checking.
8519 * libc/argz/Makefile.in: Regenerated.
8520 * libc/argz/dummy.c: New file.
8521 * libc/ctype/Makefile.am: Add EL/IX level checking.
8522 * libc/ctype/Makefile.in: Regenerated.
8523 * libc/locale/Makefile.am: Add EL/IX level checking.
8524 * libc/locale/Makefile.in: Regenerated.
8525 * libc/posix/Makefile.am: Add EL/IX level checking.
8526 * libc/posix/Makefile.in: Regenerated.
8527 * libc/posix/telldir.c: Add EL/IX level checking.
8528 * libc/reent/Makefile.am: Ditto.
8529 * libc/reent/fstat64r.c: Ditto.
8530 * libc/reent/lseek64r.c: Ditto.
8531 * libc/reent/open64r.c: Ditto.
8532 * libc/reent/Makefile.in: Regenerated.
8533 * libc/search/Makefile.am: Add EL/IX level checking.
8534 * libc/search/Makefile.in: Regenerated.
8535 * libc/stdio/Makefile.am: Add EL/IX level checking.
8536 * libc/stdio/Makefile.in: Regenerated.
8537 * libc/stdio64/Makefile.am: Add EL/IX level checking.
8538 * libc/stdio64/Makefile.in: Regenerated.
8539 * libc/stdio64/dummy.c: New file.
9b487837 8540 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
8541 after first include.
8542 * libc/stdio64/fopen64.c: Ditto.
8543 * libc/stdio64/freopen64.c: Ditto.
8544 * libc/stdio64/fseeko64.c: Ditto.
8545 * libc/stdio64/fsetpos64.c: Ditto.
8546 * libc/stdio64/ftello64.c: Ditto.
8547 * libc/stdio64/tmpfile64.c: Ditto.
8548 * libc/stdlib/Makefile.am: Add EL/IX level checking.
8549 * libc/stdlib/Makefile.in: Regenerated.
8550 * libc/stdlib/mstats.c: Add EL/IX level checking.
8551 * libc/string/Makefile.am: Ditto.
8552 * libc/string/Makefile.in: Regenerated.
8553 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
8554 * libc/sys/linux/Makefile.in: Regenerated.
8555 * libc/sys/linux/aclocal.m4: Ditto.
8556 * libc/sys/linux/configure: Ditto.
8557 * libc/sys/linux/aio.c: Add EL/IX level checking.
8558 * libc/sys/linux/ftok.c: Ditto.
8559 * libc/sys/linux/getdate.c: Ditto.
8560 * libc/sys/linux/ids.c: Ditto.
8561 * libc/sys/linux/inode.c: Ditto.
8562 * libc/sys/linux/io.c: Ditto.
8563 * libc/sys/linux/process.c: Ditto.
8564 * libc/sys/linux/resource.c: Ditto.
8565 * libc/sys/linux/sched.c: Ditto.
8566 * libc/sys/linux/sig.c: Ditto.
8567 * libc/sys/linux/termios.c: Ditto.
8568 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8569 __libc___waitpid weak aliases.
8570 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8571 that generate the code for a syscall, but do not create a
8572 weak alias.
8573 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8574 * libc/syscalls/Makefile.in: Regenerated.
8575 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8576 functionality.
8577 * libc/unix/Makefile.am: Add EL/IX level checking.
8578 * libc/unix/Makefile.in: Regenerated.
8579
2e2b268c
CF
85802002-08-26 Christopher Faylor <cgf@redhat.com>
8581
8582 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8583 wrapper macros to standard malloc functions.
8584 * libc/include/stdlib.h: Ditto.
8585 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8586
8d9112f2
TF
85872002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8588
8589 * libc/include/langinfo.h: New file.
8590 * libc/include/wchar.h: Likewise.
8591 * libc/include/sys/syslimits.h: Likewise.
8592 * libc/locale/fix_grouping.c: Likewise.
8593 * libc/locale/ldpart.c: Likewise.
8594 * libc/locale/ldpart.h: Likewise.
8595 * libc/locale/lmessages.c: Likewise.
8596 * libc/locale/lmessages.h: Likewise.
8597 * libc/locale/lmonetary.c: Likewise.
8598 * libc/locale/lmonetary.h: Likewise.
8599 * libc/locale/lnumeric.c: Likewise.
8600 * libc/locale/lnumeric.h: Likewise.
8601 * libc/locale/nl_langinfo.3: Likewise.
8602 * libc/locale/nl_langinfo.c: Likewise.
8603 * libc/locale/timelocal.c: Likewise.
8604 * libc/locale/timelocal.h: Likewise.
8605 * libc/stdlib/btowc.c: Likewise.
8606 * libc/stdlib/mbrlen.c: Likewise.
8607 * libc/stdlib/mbrtowc.c: Likewise.
8608 * libc/stdlib/mbsinit.c: Likewise.
8609 * libc/stdlib/mbsrtowcs.c: Likewise.
8610 * libc/stdlib/wcrtomb.c: Likewise.
8611 * libc/stdlib/wcsrtombs.c: Likewise.
8612 * libc/stdlib/wctob.c: Likewise.
8613 * libc/sys/linux/prof-freq.c: Likewise.
8614 * libc/sys/linux/profile.c: Likewise.
8615 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8616 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8617 * libc/include/stdlib.h: Change re-entrant functions to take
8618 mbstate_t pointers.
8619 * libc/include/sys/_types.h: Define _mbstate_t.
8620 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8621 * libc/include/sys/errno.h (EILSEQ): New error code.
8622 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8623 structure to use mbstate_t.
8624 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8625 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8626 * libc/machine/powerpc/vfscanf.c: Likewise.
8627 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8628 * libc/stdio/vfprintf.c: Likewise.
8629 * libc/stdio/vfscanf.c: Likewise.
8630 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8631 * libc/stdlib/mblen.c: Use mbstate_t.
8632 * libc/stdlib/mblen_r.c: Likewise.
8633 * libc/stdlib/mbstowcs.c: Likewise.
8634 * libc/stdlib/mbstowcs_r.c: Likewise.
8635 * libc/stdlib/mbtowc.c: Likewise.
8636 * libc/stdlib/mbtowc_r.c: Likewise.
8637 * libc/stdlib/wcstombs.c: Likewise.
8638 * libc/stdlib/wcstombs_r.c: Likewise.
8639 * libc/stdlib/wctomb_r.c: Likewise.
8640 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8641 profile.c.
8642 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8643 dl-procinfo.c.
8644 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8645 * libc/sys/linux/sys/types.h (off_t): Define type.
8646 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8647 to C-UTF-8.
8648 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8649
fe47ea33
JJ
86502002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8651
ba3ccd63
EB
8652 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8653 (AlignPage): Continue macro on next line.
fe47ea33 8654
ada73509
JJ
86552002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8656
8657 * libc/sys/linux/include/pthread.h: New file.
8658
64b5e8f2
JJ
86592002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8660
8661 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8662 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8663 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8664 to get mprec.h.
8665 * libc/machine/powerpc/Makefile.in: Regenerated.
8666 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8667 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8668 redundant fixed-point conversion prototypes.
8669 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8670 after setting __need_inttypes.
8671
a94b60ce
CF
86722002-08-18 Christopher Faylor <cgf@redhat.com>
8673
8674 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8675
29e17a86
JJ
86762002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8677
ba3ccd63
EB
8678 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8679 _LONG_DOUBLE to double.
29e17a86 8680
936b520f
JJ
86812002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8682
8683 * configure.host: Add powerpc*-*-eabispe* configuration.
8684 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8685 * libc/machine/powerpc/atosfix32.c: Ditto.
8686 * libc/machine/powerpc/atosfix64.c: Ditto.
8687 * libc/machine/powerpc/atoufix16.c: Ditto.
8688 * libc/machine/powerpc/atoufix32.c: Ditto.
8689 * libc/machine/powerpc/atoufix64.c: Ditto.
8690 * libc/machine/powerpc/fix64.h: Ditto.
8691 * libc/machine/powerpc/simdldtoa.c: Ditto.
8692 * libc/machine/powerpc/strtosfix16.c: Ditto.
8693 * libc/machine/powerpc/strtosfix32.c: Ditto.
8694 * libc/machine/powerpc/strtosfix64.c: Ditto.
8695 * libc/machine/powerpc/strtoufix16.c: Ditto.
8696 * libc/machine/powerpc/strtoufix32.c: Ditto.
8697 * libc/machine/powerpc/strtoufix64.c: Ditto.
8698 * libc/machine/powerpc/ufix64toa.c: Ditto.
8699 * libc/machine/powerpc/configure.in: Add check for
8700 powerpc*-eabispe and add fixed-point conversion functions.
8701 * libc/machine/powerpc/configure: Regenerated.
8702 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8703 %r and %R format specifiers which handle fixed-point data.
8704 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8705 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8706 function prototypes.
8707
ad552766
JJ
87082002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8709
8710 * Makefile.am: Move cmath stuff into libc/sys/linux.
8711 * Makefile.in: Regenerated.
8712 * configure.host: Default -DMB_CAPABLE for x86-linux.
8713 * libc/include/reent.h: Define _sbrk to take signed int argument.
8714 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8715 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8716 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8717 locale for LC_CTYPE and LC_MESSAGES.
8718 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8719 * libc/sys/linux/brk.c: Change sbrk prototype.
8720 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8721 include <sys/features.h>.
8722 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8723 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8724 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8725 with a few local additions.
8726 * libc/sys/linux/sys/features.h: New file.
8727 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8728 to take signed argument.
8729 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8730 prototypes to take signed size argument.
8731
d3bd3632
TF
87322002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8733
8734 * libc/sys/linux/cmath: New directory.
8735 * libc/sys/linux/include/cmathcalls.h: New file.
8736 * libc/sys/linux/include/complex.h: New file.
8737 * libc/sys/linux/machine/i386/huge_val.h: New file
8738 * libm/math/w_sincos.c: New file
8739 * libm/math/wf_sincos.c: New file
8740 * libm/mathfp/s_sincos.c: New file
8741 * libm/mathfp/sf_sincos.c: New file
8742 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8743 * libc/include/math.h: Add sincos and sincosf declarations.
8744 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8745 (SUBLIBS): Likewise.
8746 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8747 * libm/math/Makefile.am (src): Add w_sincos.c.
8748 (fsrc): Add wf_sincos.c.
8749 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8750 (fsrc): Add sf_sincos.c.
8751
b3a9676b
JJ
87522002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8753
8754 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8755 Declare as extern chars and use the address operator to
8756 properly use values set in linker script.
8757
659e7062
JJ
87582002-08-09 Jason Tishler <jason@tishler.net>
8759
8760 * libc/stdlib/mallocr.c: Include <limits.h>.
8761 (request2size): Change macro to do
8762 unsigned long comparisons and avoid signed overflow.
8763 (mALLOc): Add overflow check for the number of bytes to allocate.
8764 (rEALLOc): Ditto.
8765
037240a2
JJ
87662002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8767
8768 * configure.host: Add check for --enable-newlib-io-pos-args
8769 and define WANT_IO_POS_ARGS flag if enabled. Define
8770 the flag by default for x86-linux configurations.
8771 * configure.in: Add support for --enable-newlib-io-pos-args.
8772 * libc/configure.in: Ditto.
8773 * configure: Regenerated.
8774 * libc/configure: Ditto.
8775 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8776 vfprintf.c and vfiprintf.c.
8777 * libc/stdio/Makefile.in: Regenerated.
8778 * libc/stdio/vfprintf.c: Add positional argument support that
8779 is enabled by compiling with -DWANT_IO_POS_ARGS.
8780
172fda76
RS
87812002-08-07 Richard Sandiford <rsandifo@redhat.com>
8782
8783 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8784 based on __mips_soft_float rather than __mips64.
8785 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8786 of both 32-bit and 64-bit code.
8787
4866247e
CF
87882002-08-04 Christopher Faylor <cgf@redhat.com>
8789
8790 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8791 arguments for popen to match similar functionality in fopen.
8792
b96332ce
CV
87932002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8794
8795 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8796
60d99bce
JJ
87972002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8798
ba3ccd63
EB
8799 * libc/sys/linux/Makefile.am: Add aio64.c.
8800 * libc/sys/linux/Makefile.in: Regenerated.
8801 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8802 * libc/sys/linux/aio64.c: New file.
60d99bce 8803
80a21be0
JJ
88042002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8805
8806 * libc/include/sys/param.h (MAX, MIN): Added macros.
8807 * libc/sys/linux/Makefile.am: Add new files.
8808 * libc/sys/linux/Makefile.in: Regenerated.
8809 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8810 * libc/sys/linux/inode.c (fchdir): Added syscall.
8811 * libc/sys/linux/ftw.c: New file.
8812 * libc/sys/linux/ftw64.c: Ditto.
8813 * libc/sys/linux/getwd.c: Ditto.
8814 * libc/sys/linux/scandir64.c: Ditto.
8815 * libc/sys/linux/strverscmp.c: Ditto.
8816 * libc/sys/linux/versionsort.c: Ditto.
8817 * libc/sys/linux/versionsort64.c: Ditto.
8818
6b6425cb
JJ
88192002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8820
8821 * libc/string/strings.tex: Fix typo for memccpy.
8822
dc8ac8e6
JJ
88232002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8824
8825 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8826 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8827
aa0ca6fd
JJ
88282002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8829
8830 * libc/sys/linux/Makefile.am: Add fclean.c.
8831 * libc/sys/linux/Makefile.in: Regenerated.
8832 * libc/sys/linux/fclean.c: New file.
8833
61921945
JJ
88342002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8835
8836 * libc/sys/linux/Makefile.am: Add confstr.c.
8837 * libc/sys/linux/Makefile.in: Regenerated.
8838 * libc/sys/linux/confstr.c: New file.
8839 * libc/sys/linux/confstr.h: Ditto.
8840 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8841 <bits/environments.h>.
8842
3d966a92
JJ
88432002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8844
8845 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8846 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8847 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8848 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8849 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8850 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8851
53b5bff7
JJ
88522002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8853
8854 * libc/sys/linux/Makefile.am: Add new files.
8855 * libc/sys/linux/Makefile.in: Regenerated.
8856 * libc/sys/linux/fstab.c: New file.
8857 * libc/sys/linux/fstatvfs.c: Ditto.
8858 * libc/sys/linux/fstatvfs64.c: Ditto.
8859 * libc/sys/linux/internal_statvfs.c: Ditto.
8860 * libc/sys/linux/mntent.c: Ditto.
8861 * libc/sys/linux/mntent_r.c: Ditto.
8862 * libc/sys/linux/statvfs.c: Ditto.
8863 * libc/sys/linux/statvfs64.c: Ditto.
8864 * libc/sys/linux/include/paths.h: Ditto.
8865 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8866 with double-underscore weak-aliases.
8867 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8868
9cef8ef5
JJ
88692002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8870
8871 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8872 to use _sig_func_ptr type casted constants.
8873 (_sig_func_ptr): Typedef moved to sys/signal.h.
8874 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8875 For __rtems, use POSIX definition, otherwise default to ANSI.
8876 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8877
a703e0f2
JJ
88782002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8879
ba3ccd63
EB
8880 * configure.host: Recognize m6811-elf and m6812-elf targets.
8881 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8882 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8883 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8884 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8885 according to __INT_MAX__.
8886 (_POINTER_INT): Define to short.
8887 * libc/machine/m68hc11/Makefile.am: New file.
8888 * libc/machine/m68hc11/Makefile.in: New file.
8889 * libc/machine/m68hc11/configure.in: New file.
8890 * libc/machine/m68hc11/configure: New file.
8891 * libc/machine/m68hc11/aclocal.m4: New file.
8892 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8893
d254189b
JJ
88942002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8895
8896 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8897 prototypes.
8898 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8899 * libc/stdlib/Makefile.in: Regenerated.
8900 * libc/stdlib/strdup.c: Removed.
8901 * libc/stdlib/strdup_r.c: Removed.
8902 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8903 mempcpy.c, strndup.c, and strndup_r.c.
8904 * libc/string/Makefile.in: Regenerated.
8905 * libc/string/memccpy.c: New file.
8906 * libc/string/mempcpy.c: Ditto.
8907 * libc/string/strndup.c: Ditto.
8908 * libc/string/strndup_r.c: Ditto.
8909 * libc/string/strdup.c: New file moved from stdlib.
8910 * libc/string/strdup_r.c: Ditto.
8911 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8912
bc100655
JJ
89132002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8914
ba3ccd63
EB
8915 * libc/include/stdio.h: Move fcloseall prototype within
8916 #ifndef _REENT_ONLY section.
8917 * libc/sys/linux/Makefile.am: Add new files.
8918 * libc/sys/linux/Makefile.in: Regenerated.
8919 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8920 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8921 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8922 * libc/sys/linux/ctermid.c: New file.
8923 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8924 * libc/sys/linux/readdir64.c: Ditto.
8925
f5f27f07
JJ
89262002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8927
8928 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8929 * libc/stdio/Makefile.am: Added fcloseall.c support.
8930 * libc/stdio/Makefile.in: Regenerated.
8931 * libc/stdio/fcloseall.c: New file.
8932 * libc/stdio64/Makefile.am: Remove missing .def references.
8933 * libc/stdio64/Makefile.in: Regenerated.
8934
d541ba3e
JJ
89352002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8936
8937 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8938 * libc/machine/powerpc/times.c: New file.
8939 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8940 * libc/machine/powerpc/Makefile.in: Regenerated.
8941
89422002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8943
ba3ccd63
EB
8944 * libc/machine/powerpc/time.c: New file.
8945 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8946 time.c.
e964bca8
JJ
8947 * libc/machine/powerpc/Makefile.in: Regenerated.
8948
5e7d0a55
TF
89492002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8950
8951 * libc/libc.texinfo: Change copyright notices to Red Hat from
8952 Cygnus.
8953 * libm/libm.texinfo: Likewise.
8954 * README: Change docs URL to
8955 http://sources.redhat.com/newlib/docs.html.
8956
504628e7
JJ
89572002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8958
ba3ccd63
EB
8959 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8960 * libc/sys/linux/Makefile.in: Regenerated.
8961 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8962 * libc/sys/linux/io.c: Add ftruncate syscall.
8963 * libc/sys/linux/fpathconf.c: New file.
8964 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8965 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8966 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8967
b155ad9f
JJ
89682002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8969
8970 * libc/stdio64/Makefile.am: Remove missing files.
8971 * libc/stdio64/Makefile.in: Regenerated.
8972
c119e0ab
JJ
89732002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8974
ba3ccd63
EB
8975 * libc/include/sys/config.h[__i386__][__linux__]: Define
8976 _LARGE64FILE_SOURCE to 1.
8977 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8978 * libc/sys/linux/Makefile.in: Regenerated.
8979 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8980 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8981 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8982 of <linux/resource.h>.
8983 * libc/sys/linux/getrlimit64.c: New file.
8984 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8985
9b022d6d
TF
89862002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8987
8988 * libc/argz/argz_replace.c: Include buf_findstr.h.
8989 * libc/argz/buf_findstr.c: Likewise.
8990 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8991 value to (char *).
8992 * libc/argz/envz_get.c: Likewise.
8993 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8994 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8995 * libc/stdlib/getsubopt.3: New file.
8996 * libc/stdlib/getsubopt.c: New file.
8997 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8998 Change esp to ebp.
8999
dee51391
JJ
90002002-07-17 Jeff Johnston <jjohnstn@redhat.com>
9001
9002 * configure.host(stdio64_dir): New setting that is used to
9003 enable building of new stdio64 directory.
9004 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
9005 large files.
9006 (stmp-stdio64,stdio64.texi): New targets to optionally add in
9007 stdio64 info to info files.
9008 * libc/Makefile.in: Regenerated.
9009 * libc/configure: Ditto.
9010 * libc/configure.in: Add configuration variables that are set
9011 when stdio64 is selected as subdir in configure.host.
9012 * libc/libc.texinfo: Add optional menu item for Stdio64, based
9013 on whether STDIO64 flag is set or not.
9014 * libc/sys.tex: Add optional stdio64 syscalls based on whether
9015 STDIO64 flag is set or not.
9016 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
9017 _r sycall routines.
9018 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
9019 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
9020 (__SL64): New file flag indicating file is opened via fopen64.
9021 * libc/include/sys/_types.h(_off64_t): Added.
9022 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
9023 * libc/include/sys/reent.h(struct __sFILE64): New file structure
9024 for 64-bit offset large file support.
9025 (__FILE): New intermediate type either set to struct __sFILE64 or
9026 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
9027 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
9028 * libc/reent/Makefile.in: Regenerated.
9029 * libc/reent/fstat64r.c: New file.
9030 * libc/reent/lseek64r.c: Ditto.
9031 * libc/reent/open64r.c: Ditto.
9032 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 9033 based on whether STDIO64 flag is set.
dee51391
JJ
9034 * libc/stdio/stdio.tex: Add blank line.
9035 * libc/stdio64/Makefile.am: New file.
9036 * libc/stdio64/Makefile.in: Ditto.
9037 * libc/stdio64/fgetpos64.c: Ditto.
9038 * libc/stdio64/fopen64.: Ditto.
9039 * libc/stdio64/freopen64.c: Ditto.
9040 * libc/stdio64/fseeko64.c: Ditto.
9041 * libc/stdio64/fsetpos64.c: Ditto.
9042 * libc/stdio64/ftello64.c: Ditto.
9043 * libc/stdio64/local64.h: Ditto.
9044 * libc/stdio64/stdio64.c: Ditto.
9045 * libc/stdio64/stdio64.tex: Ditto.
9046 * libc/stdio64/tmpfile64.c: Ditto.
9047 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
9048 open64.
9049
778876f6
JJ
90502002-07-16 Jeff Johnston <jjohnstn@redhat.com>
9051
ba3ccd63
EB
9052 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
9053 if LIBC_EXTRA_LIB is present.
9054 * libc/Makefile.in: Regenerated.
778876f6 9055 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
9056 * libc/argz/Makefile.am: Add doc support.
9057 * libc/search/Makefile.am: Ditto.
9058 * libc/argz/Makefile.in: Regenerated.
9059 * libc/search/Makefile.in: Ditto.
9060 * libc/misc/misc.tex: Add ffs function.
9061 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 9062
37981145
JJ
90632002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9064
9065 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
9066 definition that was removed in error.
9067
38b5dc59
JJ
90682002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9069
9070 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 9071 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
9072 __IEEE_LITTLE_ENDIAN must be defined for each platform).
9073 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
9074 remove redundant floating point definitions.
9075
8cb61a96
JJ
90762002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9077
ba3ccd63
EB
9078 * libc/sys/linux/callocr.c: Fix so code references
9079 calloc.
8cb61a96 9080
edba3282
JJ
90812002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9082
ba3ccd63
EB
9083 * libc/sys/linux/Makefile.am: Add new files.
9084 * libc/sys/linux/Makefile.in: Regenerated.
9085 * libc/sys/linux/bp-sym.h: Moved to include directory.
9086 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
9087 * libc/sys/linux/inode.c: Set _LIBC to 1.
9088 * libc/sys/linux/mq_close.c: Ditto.
9089 * libc/sys/linux/mq_getattr.c: Ditto.
9090 * libc/sys/linux/mq_open.c: Ditto.
9091 * libc/sys/linux/mq_receive.c: Ditto.
9092 * libc/sys/linux/mq_send.c: Ditto.
9093 * libc/sys/linux/mq_setattr.c: Ditto.
9094 * libc/sys/linux/mq_unlink.c: Ditto.
9095 * libc/sys/linux/calloc.c: New file.
9096 * libc/sys/linux/callocr.c: Ditto.
9097 * libc/sys/linux/cfreer.c: Ditto.
9098 * libc/sys/linux/config.h: Ditto.
9099 * libc/sys/linux/free.c: Ditto.
9100 * libc/sys/linux/freer.c: Ditto.
9101 * libc/sys/linux/msize.c: Ditto.
9102 * libc/sys/linux/msizer.c: Ditto.
9103 * libc/sys/linux/mstats.c: Ditto.
9104 * libc/sys/linux/mtrim.c: Ditto.
9105 * libc/sys/linux/mtrimr.c: Ditto.
9106 * libc/sys/linux/pvallocr.c: Ditto.
9107 * libc/sys/linux/realloc.c: Ditto.
9108 * libc/sys/linux/reallocr.c: Ditto.
9109 * libc/sys/linux/thread-m.h: Ditto.
9110 * libc/sys/linux/vallocr.c: Ditto.
9111 * libc/sys/linux/bp-checks.h: Ditto.
9112 * libc/sys/linux/libc-symbols.h: Ditto.
9113 * libc/sys/linux/libc-tsd.h: Ditto.
9114 * libc/sys/linux/libintl.h: Ditto.
9115 * libc/sys/linux/malign.c: Ditto.
9116 * libc/sys/linux/malignr.c: Ditto.
9117 * libc/sys/linux/mallinfor.c: Ditto.
9118 * libc/sys/linux/malloc.c: Ditto.
9119 * libc/sys/linux/mallocr.c: Ditto.
9120 * libc/sys/linux/malloptr.c: Ditto.
9121 * libc/sys/linux/mallstatsr.c: Ditto.
9122 * libc/sys/linux/mcheck.c: Ditto.
9123 * libc/sys/linux/mhooks.h: Ditto.
9124 * libc/sys/linux/include/bp-sym.h: Ditto.
9125 * libc/sys/linux/include/malloc.h: Ditto.
9126 * libc/sys/linux/include/mcheck.h: Ditto.
9127 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
9128 getpagesize.c.
9129 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
9130 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
9131 * libc/sys/linux/machine/i386/getpagesize.c: New file.
9132 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
9133 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9134 * libc/sys/linux/machine/i386/sysdep.h: New file.
9135 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
9136 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
9137 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 9138
ea20b60a
JJ
91392002-07-12 Jeff Johnston <jjohnstn@redhat.com>
9140
9141 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
9142 instead of <asm/siginfo.h>.
9143 * libc/sys/linux/sys/signal.h: Change to include various linux
9144 <bits/xxx.h> header files, rather than <linux/signal.h> so as
9145 to work with multiple releases of glibc header files.
9146
2fc82912
JJ
91472002-07-11 Chris Demetriou <cgd@broadcom.com>
9148
ba3ccd63
EB
9149 * testsuite/newlib.search/hsearchtest.c: New file to test
9150 newlib/libc/search.
9151 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 9152
4a404e97 91532002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
9154
9155 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
9156 a terminal.
9157 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
9158
6aec558e
JJ
91592002-07-08 Jeff Johnston <jjohnstn@redhat.com>
9160
ba3ccd63 9161 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 9162
e47e6f0e 9163Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
9164
9165 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
9166 Make strcmp.S unconditional.
9167 * libc/machine/sh/Makefile.in: Regenerate.
9168 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
9169 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
9170 for SHcompact.
9171
89ffbd66
JJ
91722002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9173
9174 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
9175 define before including <sys/lock.h>.
9176
ae6c4c84
JJ
91772002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9178
9179 * libc/include/utime.h: Add include of <_ansi.h>.
9180 * libc/sys/linux/Makefile.am: Add utimes.c.
9181 * libc/sys/linux/Makefile.in: Regenerated.
9182 * libc/sys/linux/inode.c(__umask): New static routine.
9183 (umask): Written to use __umask and attempt to thread lock.
9184 (getumask): New function written to use __umask and thread lock.
9185 * libc/sys/linux/utimes.c: New file.
9186 * libc/sys/linux/sys/time.h: Fix utimes prototype.
9187 * libc/sys/linux/sys/utime.h: New file.
9188
a6cac46c
TF
91892002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
9190
9191 * libtool.m4: New file.
9192 * libc/sys/linux/process.c: Implement vfork in terms of fork,
9193 rather than as a syscall.
9194
30b2092f
JJ
91952002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9196
9197 * libc/include/stdio.h: Add new prototypes.
9198 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
9199 * libc/stdio/Makefile.in: Regenerated.
9200 * libc/stdio/fseek.c: Add fseeko documentation.
9201 * libc/stdio/ftell.c: Add ftello documentation.
9202 * libc/stdio/fseeko.c: New file.
9203 * libc/stdio/ftello.c: New file.
9204
7501704d
JJ
92052002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9206
ba3ccd63
EB
9207 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
9208 * libc/stdio/Makefile.in: Regenerated.
9209 * libc/stdio/asprintf.c: New file.
9210 * libc/stdio/vasprintf.c: Ditto.
9211 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
9212 the buffer for asprintf support.
9213 * libc/stdio/sprintf.c: Add asprintf documentation.
9214 * libc/stdio/vfprintf.c: Add vasprintf documentation.
9215 * libc/include/stdio.h: Add new prototypes.
7501704d 9216
66eee32b
TF
92172002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9218
9219 * libc/search/hcreate.c: Remove advertising clause from license.
9220 * libc/search/hcreate_r.c: Likewise.
9221
cec4a9f8
JJ
92222002-07-02 Chris Demetriou <cgd@broadcom.com>
9223
ba3ccd63
EB
9224 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
9225 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
9226 Check that one of them is defined and error out if not.
cec4a9f8 9227 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
9228 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
9229 (DB_LITTLE_ENDIAN): New defines.
9230 * libc/search/hash.c: Replace all incorrect checks for
9231 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
9232 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
9233 * libc/search/hash_page.c: Likewise.
cec4a9f8 9234
2d5eb17e
TF
92352002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9236
9237 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
9238
c1a3171f
JJ
92392002-06-27 Benjamin Kosnik <bkoz@redhat.com>
9240
ba3ccd63
EB
9241 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
9242 * libc/include/time.h: Same.
9243 * libc/include/string.h: Same.
9244 * libc/include/stdlib.h: Same.
9245 * libc/include/signal.h: Same.
9246 * libc/include/setjmp.h: Same.
9247 * libc/include/math.h: Same.
9248 * libc/include/locale.h: Same.
9249 * libc/include/ctype.h: Same.
9250 * libc/include/machine/setjmp.h: Same.
9251 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
9252 (_END_STD_C): Add.
c1a3171f 9253
533b4e66
JJ
92542002-06-27 Jeff Johnston <jjohnstn@redhat.com>
9255
ba3ccd63
EB
9256 * libc/include/sys/_types.h: Define _ssize_t as int if int is
9257 32-bits, otherwise define it as long.
9258 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
9259 and define ssize_t as _ssize_t.
9260 * libc/reent/readr.c: Change return type to _ssize_t.
9261 * libc/reent/writer.c: Ditto.
9262 * libc/sys/linux/Makefile.am: Add aio.c.
9263 * libc/sys/linux/Makefile.in: Regenerated.
9264 * libc/sys/linux/aio.c: New file.
9265 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
9266 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 9267
c36e6dd7
TF
92682002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
9269
54be629f
TF
9270 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
9271 exponent_is_even_int variable. Handle case where x is
9272 negative, and y is an odd integer.
9273 * libm/mathfp/sf_pow.c (powf): Likewise.
9274
c36e6dd7
TF
9275 * libm/mathfp/er_lgamma.c: Remove __kernel references.
9276 * libm/mathfp/erf_lgamma.c: Likewise.
9277 * libm/mathfp/s_tgamma.c: Likewise.
9278 * libm/mathfp/sf_tgamma.c: Likewise.
9279
baf051ca
JJ
92802002-06-27 Jeff Johnston <jjohnstn@redhat.com>
9281
ba3ccd63
EB
9282 * libc/sys/linux/Makefile.am: Add new clock routines.
9283 * libc/sys/linux/Makefile.in: Regenerated.
9284 * libc/sys/linux/clock_getres.c: New file.
9285 * libc/sys/linux/clock_gettime.c: Ditto.
9286 * libc/sys/linux/clock_settime.c: Ditto.
9287 * libc/sys/linux/hp-timing.h: Ditto.
9288 * libc/sys/linux/libc-internal.h: Ditto.
9289 * libc/sys/linux/sysconf.c: Fix typo.
9290 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
9291 * libc/sys/linux/machine/hp-timing.h: New file.
9292 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
9293 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9294 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
9295 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
9296 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
9297 * libc/sys/linux/sys/linux_time.h: New file.
9298 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
9299 replace with <sys/linux_time.h>.
baf051ca 9300
0431ed4e
JR
9301Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
9302
9303 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
9304
fc067ba5
JJ
93052002-06-25 Jeff Johnston <jjohnstn@redhat.com>
9306
ba3ccd63
EB
9307 * libc/sys/linux/Makefile.am: Consolidate additional items under
9308 ADD_OBJS.
9309 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 9310
ffddf61e
JJ
93112002-06-25 Jeff Johnston <jjohnstn@redhat.com>
9312
ba3ccd63
EB
9313 * libc/sys/linux/sethostname.c: New file.
9314 * libc/sys/linux/Makefile.am: Add sethostname.c support.
9315 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 9316
d5487d3f
TF
93172002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9318
9319 * libc/search/db_local.h: New file.
9320 * libc/include/db.h: Remove.
9321 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
9322 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
9323 "db_local.h".
9324 * libc/search/hash_bigkey.c: Likewise.
9325 * libc/search/hash_buf.c: Likewise.
9326 * libc/search/hash_func.c: Likewise.
9327 * libc/search/hash_log2.c: Likewise.
9328 * libc/search/hash_page.c: Likewise.
9329
93302002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 9331
1e7ca711 9332 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
9333 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
9334 * libc/machine/sh/Makefile.am: Regenerate.
9335
59c6d6c4
JJ
93362002-06-24 Jeff Johnston <jjohnstn@redhat.com>
9337
ba3ccd63
EB
9338 * libc/sys/linux/gethostname.c: Change name to __gethostname and
9339 add gethostname alias.
59c6d6c4 9340
a70486d7
JJ
93412002-06-24 Jeff Johnston <jjohnstn@redhat.com>
9342
9343 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 9344 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 9345 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 9346 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
9347 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
9348 * libm/common/fdlibm.h: Ditto.
9349
3118725a
TF
93502002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9351
9352 * libc/include/ndbm.h: Remove.
9353 * libc/search/ndbm.c: Remove.
9354
30a06168
TF
93552002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
9356
9357 * libc/stdio/fseek.c (fseek): Fix braces.
9358
01f5155e
CV
93592002-06-21 Corinna Vinschen <corinna@vinschen.de>
9360
9361 * libc/time/strftime.c (strftime): Add %e format specifier.
9362
930bc96b
TF
93632002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
9364
9365 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
9366 previously defined.
9367
55105f86
JJ
93682002-06-21 Richard Earnshaw (rearnsha@arm.com)
9369
ba3ccd63
EB
9370 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
9371 (BYTE_ORDER): Define as appropriate for the target.
55105f86 9372
2e78444a
JJ
93732002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9374
9375 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
9376 to _ssize_t.
9377 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
9378
d427d092
JJ
93792002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9380
9381 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
9382 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
9383 [HAVE_GETDATE](getdate_err): New error code.
9384 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
9385 * libc/stdio/Makefile.in: Regenerated.
9386 * libc/stdio/getdelim.c: New file.
9387 * libc/stdio/getline.c: Ditto.
9388 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
9389 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
9390 * libc/sys/linux/Makefile.in: Regenerated.
9391 * libc/sys/linux/getdate.c: New file.
9392 * libc/sys/linux/getdate_err.c: Ditto.
9393 * libc/sys/linux/ntp_gettime.c: Ditto.
9394 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
9395 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
9396
35728d4f
JJ
93972002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9398
9399 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
9400 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
9401 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
9402 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
9403 * libc/include/sys/param.h: Remove i386 case which is handled
9404 by default case.
9405 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
9406 definitions in case they are already defined.
9407 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
9408 _IEEE_LITTLE_ENDIAN flags.
9409 * libc/include/sys/reent.h: Change __uint32_t references to
9410 use _ULong instead.
9411 (_REENT_GETDATE_REENT_P): New macro.
9412 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
9413 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
9414 * libc/search/hash.h: Add default setting of BYTE_ORDER,
9415 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
9416 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
9417 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
9418 pid_t, off_t, loff_t, caddr_t, and daddr_t type
9419 definitions which are done by subsequent glibc headers.
9420 Add macro definitions to prevent subsequent header files from
9421 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
9422 intptr_t to after glibc definitions of types they are based on.
9423
4a2bfab7
JJ
94242002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9425
9426 * libc/include/errno.h: Protect from multiple inclusion.
9427
f42d18ea
NC
94282002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
9429
9430 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
9431
a7b23a8f
TF
94322002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
9433
9434 * Makefile.am (LIB_OBJECTLISTS): Add
9435 libc/search/objectlist.awk.in.
9436 * libc/Makefile.am (SUBDIRS): Add search.
9437 (SUBLIBS): Add search/libsearch.la.
9438 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
9439 * libc/search: New directory.
9440 * libc/search/Makefile.am: New file.
9441 * libc/search/extern.h: New file.
9442 * libc/search/hash.c: New file.
9443 * libc/search/hash.h: New file.
9444 * libc/search/hash_bigkey.c: New file.
9445 * libc/search/hash_buf.c: New file.
9446 * libc/search/hash_func.c: New file.
9447 * libc/search/hash_log2.c: New file.
9448 * libc/search/hash_page.c: New file.
9449 * libc/search/hcreate.3: New file.
9450 * libc/search/hcreate.c: New file.
a7b23a8f
TF
9451 * libc/search/hcreate_r.c: New file.
9452 * libc/search/ndbm.c: New file.
9453 * libc/search/page.h: New file.
9454 * libc/search/tdelete.c: New file.
9455 * libc/search/tdestroy.c: New file.
9456 * libc/search/tfind.c: New file.
9457 * libc/search/tsearch.3: New file.
9458 * libc/search/tsearch.c: New file.
9459 * libc/search/twalk.c: New file.
9460 * libc/include/db.h: New file.
9461 * libc/include/ndbm.h: New file.
9462 * libc/include/search.h: New file.
9463 * libc/include/sys/queue.h: New file.
9464 * libc/include/sys/cdefs.h: New file.
9465 * libc/include/sys/param.h
9466 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
9467 LITTLE_ENDIAN or BIG_ENDIAN.
9468 * libc/include/sys/errno.h (EFTYPE): New macro.
9469 * libc/search/bsearch.c: Move from libc/stdlib.
9470 * libc/search/qsort.c: Likewise.
9471 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
9472 qsort.c.
9473 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
9474 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
9475
ef467338
JJ
94762002-06-19 Jeff Johnston <jjohnstn@redhat.com>
9477
ba3ccd63
EB
9478 * libc/sys/linux/Makefile.am: Add support for message queue routines,
9479 ipc routines, and ftok.
9480 * libc/sys/linux/Makefile.in: Regenerated.
9481 * libc/sys/linux/ftok.c: New file.
9482 * libc/sys/linux/ipc.c: Ditto.
9483 * libc/sys/linux/mq_close.c: Ditto.
9484 * libc/sys/linux/mq_getattr.c: Ditto.
9485 * libc/sys/linux/mq_notify.c: Ditto.
9486 * libc/sys/linux/mq_open.c: Ditto.
9487 * libc/sys/linux/mq_receive.c: Ditto.
9488 * libc/sys/linux/mq_send.c: Ditto.
9489 * libc/sys/linux/mq_setattr.c: Ditto.
9490 * libc/sys/linux/mq_unlink.c: Ditto.
9491 * libc/sys/linux/mqlocal.h: Ditto.
9492 * libc/sys/linux/include/mqueue.h: Ditto.
9493 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
9494 __uid_t_defined.
ef467338 9495
7f55c08c
TF
94962002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
9497
9498 * libm/common/sf_lround.c (round): Change name to: (lround).
9499 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
9500 remquof.
9501
c9ca68d7
TF
95022002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9503
9504 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
9505 procedure.
9506 (newlib_pass_fail): Change to compile and run only one file.
9507 * testsuite/newlib.locale/locale.exp: Use new
9508 newlib_pass_fail_all procedure.
9509 * testsuite/newlib.string/string.exp: Likewise.
9510
4ecedd09
DB
95112002-06-18 Dave Brolley <brolley@redhat.com>
9512
9513 From Catherine Moore, Michael Meissner, Richard Sandiford:
9514 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
9515 (_JBTYPE): Ditto.
9516 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
9517 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
9518 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
9519 * configure.host: Support frv-*-*.
9520 * libc/machine/frv/Makefile.am: New file.
9521 * libc/machine/frv/configure.in: New file.
9522 * libc/machine/frv/setjmp.S: New file.
9523
af1c257a
TF
95242002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9525
9526 * libc/include/ctype.h: Remove isblank macro.
9527
9528 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
9529 * libc/ctype/isblank.c: New file.
9530 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
9531 declaration. Add isblank macro.
9532
4e04fa90
JJ
95332002-06-18 Jeff Johnston <jjohnstn@redhat.com>
9534
ba3ccd63
EB
9535 * testsuite/newlib.stdlib/atexit.c: New file.
9536 * testsuite/newlib.stdlib/atexit.exp: Ditto.
9537 * testsuite/newlib.string/tstring.c: Change default start size
9538 to something more reasonable for embedded platforms.
4e04fa90 9539
b56d7e79
TF
95402002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9541
ece3c72f
TF
9542 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
9543
b56d7e79
TF
9544 * libc/argz: New directory.
9545 * libc/argz/*: New files.
9546 * libc/argz/argz_add.c: New file.
9547 * libc/argz/argz_add_sep.c: New file.
9548 * libc/argz/argz_append.c: New file.
9549 * libc/argz/argz_count.c: New file.
9550 * libc/argz/argz_create.c: New file.
9551 * libc/argz/argz_create_sep.c: New file.
9552 * libc/argz/argz_delete.c: New file.
9553 * libc/argz/argz_extract.c: New file.
9554 * libc/argz/argz_insert.c: New file.
9555 * libc/argz/argz_next.c: New file.
9556 * libc/argz/argz_replace.c: New file.
9557 * libc/argz/argz_stringify.c: New file.
9558 * libc/argz/buf_findstr.c: New file.
9559 * libc/argz/envz_add.c: New file.
9560 * libc/argz/envz_entry.c: New file.
9561 * libc/argz/envz_get.c: New file.
9562 * libc/argz/envz_merge.c: New file.
9563 * libc/argz/envz_remove.c: New file.
9564 * libc/argz/envz_strip.c: New file.
9565 * libc/include/argz.h: New file.
9566 * libc/include/envz.h: New file.
9567 * Makefile.am (LIBC_OBJECTLISTS): Add
9568 libc/argz/objectlist.awk.in.
9569 * libc/Makefile.am (SUBDIRS): Add argz.
9570 (SUBLIBS): Add argz/libargz.la.
9571 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9572 * libc/include/errno.h: Add error_t typedef.
9573
d062d3dd
JJ
95742002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9575
9576 * libc/include/stdlib.h: Add _Exit prototype.
9577 * libc/stdlib/Makefile.am: Add _Exit.c support.
9578 * libc/stdlib/Makefile.in: Ditto.
9579 * libc/stdlib/_Exit.c: New file.
9580
a47e66ae
JJ
95812002-06-13 Stephen L. Moshier <steve@moshier.net>
9582
9583 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9584 x is close to -1.0 and y is very large to use ax (absolute value)
9585 instead of x.
9586 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9587
13f7d71f
JR
9588Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9589
9590 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9591 Fix clobbering bytes before destination if src and dst have same
9592 non-zero misalignment.
1f1fb421
JR
9593
9594 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9595 Fixed bug in writing end of set region.
9596
b2e8018f
CF
95972002-06-10 Christopher Faylor <cgf@redhat.com>
9598
9599 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9600 spawnve declaration.
9601
0953fe64
TF
96022002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9603
9604 * libm/common/s_fdim.c: New file.
9605 * libm/common/s_fma.c: Likewise.
9606 * libm/common/s_fmax.c: Likewise.
9607 * libm/common/s_fmin.c: Likewise.
9608 * libm/common/s_fpclassify.c: Likewise.
9609 * libm/common/s_lrint.c: Likewise.
9610 * libm/common/s_lround.c: Likewise.
9611 * libm/common/s_nearbyint.c: Likewise.
9612 * libm/common/s_remquo.c: Likewise.
9613 * libm/common/s_round.c: Likewise.
9614 * libm/common/s_scalbln.c: Likewise.
9615 * libm/common/s_signbit.c: Likewise.
9616 * libm/common/s_trunc.c: Likewise.
9617 * libm/common/sf_fdim.c: Likewise.
9618 * libm/common/sf_fma.c: Likewise.
9619 * libm/common/sf_fmax.c: Likewise.
9620 * libm/common/sf_fmin.c: Likewise.
9621 * libm/common/sf_lrint.c: Likewise.
9622 * libm/common/sf_lround.c: Likewise.
9623 * libm/common/sf_nearbyint.c: Likewise.
9624 * libm/common/sf_remquo.c: Likewise.
9625 * libm/common/sf_round.c: Likewise.
9626 * libm/common/sf_scalbln.c: Likewise.
9627 * libm/common/sf_trunc.c: Likewise.
9628 * libm/math/w_exp2.c: Likewise.
9629 * libm/math/w_tgamma.c: Likewise.
9630 * libm/math/wf_exp2.c: Likewise.
9631 * libm/math/wf_tgamma.c: Likewise.
9632 * libm/mathfp/s_exp2.c: Likewise.
9633 * libm/mathfp/s_tgamma.c: Likewise.
9634 * libm/mathfp/sf_exp2.c: Likewise.
9635 * libm/mathfp/sf_tgamma.c: Likewise.
9636 * libm/math/er_gamma.c: Fix return value.
9637 * libm/math/erf_gamma.c: Likewise.
9638 * libm/mathfp/er_gamma.c: Likewise.
9639 * libm/mathfp/erf_gamma.c: Likewise.
9640 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9641 declarations and macros.
9642 Regenerated all Makefile.in, aclocal.m4 and configure files to
9643 use new libtool macros in top-level libtool.m4
9644
39e65e01
JJ
96452002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9646
ba3ccd63
EB
9647 * libc/include/string.h[__linux__]: Add strsignal prototype.
9648 * libc/include/sys/lock.h: New file with default locking support.
9649 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9650 and psignal.
9651 * libc/posix/Makefile.am: Add support for readdir_r.c.
9652 * libc/posix/Makefile.in: Regenerated.
9653 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9654 * libc/posix/opendir.c: Add lock support.
9655 * libc/posix/readdir.c: Ditto.
9656 * libc/posix/rewinddir.c: Ditto.
9657 * libc/posix/scandir.c: Ditto.
9658 * libc/posix/seekdir.c: Ditto.
9659 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9660 clean up leftover hash table entries.
9661 * libc/posix/readdir_r.c: New file.
9662 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9663 * libc/sys/linux/Makefile.in: Regenerated.
9664 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9665 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9666 * libc/sys/linux/psignal.c: New file.
9667 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9668
cc890e89
CV
96692002-06-03 Corinna Vinschen <corinna@vinschen.de>
9670
9671 * libc/include/sys/types.h: Don't define dev_t when compiling for
9672 Cygwin.
9673
ea55e3f7
JJ
96742002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9675
ba3ccd63
EB
9676 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9677 make siglist.inc dependent on sig.c instead of signal.c.
9678 * libc/sys/linux/Makefile.in: Regenerated.
9679 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9680 use NSIG instead of _NSIG.
9681 * libc/sys/linux/sigaction.c: New file.
9682 * libc/sys/linux/signal.c: Changed to be linux signal() function
9683 so as to override regular newlib default signal.c.
9684 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9685 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9686 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9687 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9688 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9689 default linux sigset_t typedef by defining it equal to __sigset_t.
9690 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9691 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9692
9d362914
JJ
96932002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9694
ba3ccd63
EB
9695 * libc/sys/linux/Makefile.am: Add support for new files.
9696 * libc/sys/linux/Makefile.in: Regenerated.
9697 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9698 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9699 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9700 it is in a separate file now.
9701 * libc/sys/linux/machine/i386/Makefile.am
9702 * libc/sys/linux/machine/i386/Makefile.in
9703 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9704 * libc/sys/linux/sigaction.c: New file.
9705 * libc/sys/linux/sigqueue.c: Ditto.
9706 * libc/sys/linux/sigwait.c: Ditto.
9707 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9708 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9709
b1f07180
JJ
97102002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9711
ba3ccd63
EB
9712 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9713 tcsendbrk.c.
9714 * libc/sys/linux/Makefile.in: Regenerated.
9715 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9716 tcgetpgrp(), and tcsetpgrp() functions.
9717 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9718 to get __MAX_BAUD rate.
9719 * libc/sys/linux/machine/i386/include/termios.h: New file.
9720 * libc/include/machine/termios.h: Ditto.
9721 * libc/sys/linux/cfspeed.c: Ditto.
9722 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9723
d29587b4
JJ
97242002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9725
ba3ccd63
EB
9726 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9727 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9728 * libc/string/Makefile.in: Regenerated.
9729 * libc/string/strerror_r.c: New file.
9730 * libc/string/strnlen.c: New file.
9731 * libc/sys/linux/Makefile.am: Add rename.c.
9732 * libc/sys/linux/Makefile.in: Regenerated.
9733 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9734
9a292385
TF
97352002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9736
9737 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9738 * libc/sys/linux/sys/time.h: Add conversion macros.
9739 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9740 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9741 * libc/sys/linux/gethostname.c: New file.
9742 * libc/sys/linux/seteuid.c: New file.
9743 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9744
7a364eb3
JJ
97452002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9746
ba3ccd63
EB
9747 * libc/string/Makefile.am: Add support for strsep.c.
9748 * libc/string/Makefile.in: Regenerated.
9749 * libc/string/strsep.c: New file.
9750 * libc/string/strtok.c: Change to call __strtok_r service routine.
9751 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9752 additional flag parameter regarding whether to skip leading delimeters.
9753 Change strtok_r to call __strtok_r.
7a364eb3 9754
164ee5b0
JJ
97552002-05-23 Gareth Pearce <tilps@hotmail.com>
9756
ba3ccd63
EB
9757 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9758 * libc/stdio/Makefile.in: Regenerated.
9759 * libc/stdio/setbuffer.c: New file.
9760 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9761
f6b2b567
JJ
97622002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9763
ba3ccd63
EB
9764 * libc/sys/linux/Makefile.am: Add resource.c.
9765 * libc/sys/linux/Makefile.in: Regenerated.
9766 * libc/sys/linux/resource.c: New file.
9767 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9768 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9769 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9770 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9771 are now found in libc/sys/linux/resource.c.
f6b2b567 9772
afe56517
JJ
97732002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9774
ba3ccd63
EB
9775 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9776 to use void * pointers and comply with Single Unix spec.
9777 * libc/string/bcmp.c: Change to use void * instead of char *.
9778 * libc/string/bcopy.c: Ditto.
9779 * libc/string/bzero.c: Ditto.
afe56517 9780
7736feb2
JJ
97812002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9782
9783 * libc/sys/linux/shm_open.c: New file.
9784 * libc/sys/linux/shm_unlink.c: Ditto.
9785 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9786 shm_unlink.c.
9787 * libc/sys/linux/Makefile.in: Regenerated.
9788 * libc/sys/linux/sys/types.h: Add some additional checks to see
9789 if clock_t or time_t is already defined.
9790
19f111bd
JJ
97912002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9792
ba3ccd63
EB
9793 * Makefile.am: Don't pass $toollibdir down directly in
9794 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9795 Pass it under the name: top_toollibdir.
9796 * Makefile.in: Regenerated.
19f111bd 9797
c811b1ee
CV
97982002-05-22 Corinna Vinschen <vinschen@redhat.com>
9799
9800 * libc/include/sys/types.h: Revert previous patch.
9801
2b43ad33
CV
98022002-05-22 Corinna Vinschen <vinschen@redhat.com>
9803
9804 * libc/include/sys/types.h: Include cygwin/types.h always under
9805 Cygwin, not only if _POSIX_THREADS is defined.
9806
dd671cde
TF
98072002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9808
9809 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9810
5e2cbfb6
JJ
98112002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9812
9813 * Makefile.am: Copy and install headers from sys/machine/include
9814 directory. Also pass $toollibdir to lower-level directories.
9815 * Makefile.in: Regenerated.
17c0c97d 9816 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9817 stderr to use _REENT macro instead of _impure_ptr directly.
9818 * libc/include/sys/config.h[__i386__][__linux__]: Define
9819 __DYNAMIC_REENT__.
17c0c97d 9820 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9821 call to __getreent() function if !__SINGLE_THREAD__ and
9822 __DYNAMIC_REENT__ is set.
9823 * libc/reent/Makefile.am: Add support for getreent.c.
9824 * libc/reent/Makefile.in: Regenerated.
9825 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9826 * libc/sys/linux/Makefile.am: Add support for new files.
9827 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9828 * libc/sys/linux/Makefile.in: Regenerated.
9829 * libc/sys/linux/configure: Ditto.
9830 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9831 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9832 their __libc_ counterparts.
9833 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9834 and weak-alias to regular names.
9835 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9836 to pread64 and __pread64.
9837 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9838 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9839 weak-alias to pwrite64.
9840 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9841 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9842 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9843 name with __ instead of __libc_.
5e2cbfb6
JJ
9844 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9845 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9846 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9847 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9848 to raise.
9849 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9850 __libc_send to __send.
9851 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9852 __gettimeofday.
9853 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9854 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9855 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9856 type and typedef __jmp_buf to jmp_buf.
9857 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9858 setjmp.S.
9859 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9860 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9861 section.
9862 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9863 prefix for function macros and then use weak_alias() to regular names.
9864 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9865 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9866 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9867 to be flockfile() and funlockfile() respectively.
9868 * libc/sys/linux/sys/types.h
9869 * libc/reent/getreent.c: New file.
9870 * libc/sys/linux/flockfile.c: Ditto.
9871 * libc/sys/linux/funlockfile.c: Ditto.
9872 * libc/sys/linux/getreent.c: Ditto.
9873 * libc/sys/linux/pread.c: Ditto.
9874 * libc/sys/linux/pwrite.c: Ditto.
9875 * libc/sys/linux/raise.c: Ditto.
9876 * libc/sys/linux/system.c: Ditto.
9877 * libc/sys/linux/tcdrain.c: Ditto.
9878 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9879 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9880 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9881 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9882 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9883
7fc85bd1
TF
98842002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9885
9886 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9887 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9888 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9889 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9890
6935231f 9891Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9892
9893 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9894 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9895 exit point.
d7a2f413 9896
3a6cb01b
TF
98972002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9898
a68fa571
TF
9899 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9900 options when testing natively on i[3456]86-*-linux.
9901
3a6cb01b
TF
9902 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9903 only one pass or fail per test file. Trim \r's from output
9904 values received from test programs. Remove support for named
9905 tests.
9906 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9907 newlib_check_output behaviour.
9908 * testsuite/newlib.locale/UTF-8.c: Likewise.
9909
dc824ef7
JJ
99102002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9911
ba3ccd63
EB
9912 * libc/include/stdlib.h: Add on_exit prototype.
9913 * libc/include/sys/reent.h (struct _atexit): Add argument array
9914 and bits to track type of exit routine to support both on_exit
9915 and atexit.
9916 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9917 by default and change the setting of the atexit structure.
9918 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9919 * libc/stdlib/on_exit.c: New file.
9920 * libc/stdlib/Makefile.am: Add support for on_exit.
9921 * libc/stdlib/Makefile.in: Regenerated.
9922 * libc/stdlib/atexit.c: Change to initialize types field.
9923 * libc/stdlib/exit.c: Change to look at types field for each
9924 exit routine and either call an atexit-style or an on_exit-style
9925 routine accordingly.
dc824ef7 9926
48d91b4a
JJ
99272002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9928
ba3ccd63
EB
9929 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9930 allow v specifier with n or L specifiers. For vector c format,
9931 move tmp declaration to the top.
48d91b4a 9932
024739eb
JJ
99332002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9934
ba3ccd63
EB
9935 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9936 the original format specifier when looping for vectors to compensate
9937 for any changes made in vector %g format processing.
9938 Also add syntax checking for various invalid scenarios
9939 involving vector format extensions.
9940 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9941 return code setting for vector formats. Also treat vector
9942 separator mismatch as a match error instead of an input error.
9943 Perform some syntax checking for vector formats.
024739eb 9944
7d2ce898
TF
99452002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9946
9947 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9948 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9949 * libc/string/strlcat.c: New file.
9950 * libc/string/strlcpy.c: New file.
9951
809b6ce7
JJ
99522002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9953
9954 * libc/string/strchr.c: Fix comment typo.
9955
76490806
TF
99562002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9957
0c048a9a
TF
9958 * acinclude.m4: Add support for --enable-newlib-multithread.
9959 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9960 --enable-newlib-multithread=no.
9961
76490806
TF
9962 * libc/stdio/getc_u.c: New file.
9963 * libc/stdio/getchar_u.c: New file.
9964 * libc/stdio/putc_u.c: New file.
9965 * libc/stdio/putchar_u.c: New file.
9966 * libc/include/stdio.h: Add declarations for getc_unlocked,
9967 getchar_unlocked, putc_unlocked and putchar_unlocked.
9968 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9969 (CHEWOUT_FILES): Add new files' .def's.
9970 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9971
96bff22c
JR
9972Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9973
9974 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9975 Also handle as single quad word when destination ends at last
9976 byte of first quad word. Fix byte selection in single quad code.
9977
e71372fa
TF
99782002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9979
9980 * libc/include/sys/stdio.h: New file.
9981 * libc/sys/linux/sys/stdio.h: New file.
9982 * libc/include/stdio.h: Add declarations for flockfile,
9983 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9984 * libc/stdio/clearerr.c: Add file locking.
9985 * libc/stdio/fclose.c: Likewise.
9986 * libc/stdio/feof.c: Likewise.
9987 * libc/stdio/ferror.c: Likewise.
9988 * libc/stdio/fflush.c: Likewise.
9989 * libc/stdio/fgetc.c: Likewise.
9990 * libc/stdio/fgetpos.c: Likewise.
9991 * libc/stdio/fgets.c: Likewise.
9992 * libc/stdio/fileno.c: Likewise.
9993 * libc/stdio/fputc.c: Likewise.
9994 * libc/stdio/fputs.c: Likewise.
9995 * libc/stdio/fread.c: Likewise.
9996 * libc/stdio/freopen.c: Likewise.
9997 * libc/stdio/fseek.c: Likewise.
9998 * libc/stdio/ftell.c: Likewise.
9999 * libc/stdio/fwrite.c: Likewise.
10000 * libc/stdio/getc.c: Likewise.
10001 * libc/stdio/putc.c: Likewise.
10002 * libc/stdio/setvbuf.c: Likewise.
10003 * libc/stdio/ungetc.c: Likewise.
10004 * libc/stdio/vfprintf.c: Likewise.
10005
a03790e4
JJ
100062002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10007
60b2107c
TF
10008 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
10009 support for 'p' format. Fix code to print bytes for vector
10010 integer formats that do not specify 'h' or 'l'.
10011 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
10012 for 'p' specifier. Fix code to scan 16 bytes for vector integer
10013 formats that do not specify 'h' or 'l'.
10014
10015 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
10016
9c7d6a9d
TF
100172002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
10018
10019 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
10020 (_sbrk): Add cast of return value.
10021
c33c3635
JJ
100222002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10023
10024 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
10025 (_REENT_L64A_BUF): New macro for accessing area.
10026 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
10027 * libc/stdlib/Makefile.in: Regenerated.
10028 * libc/stdlib/a64l.c: New file.
10029 * libc/stdlib/l64a.c: New file.
10030
f78e59a8
JJ
100312002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10032
ba3ccd63
EB
10033 * libc/unix/pread.c: Fix typo for _pread_r.
10034 * libc/unix/pwrite.c: Fix type for _pwrite_r.
10035 * libc/sys/linux/pread64.c: Fix typo for read syscall.
10036 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 10037
4b3f6588
CF
100382002-05-03 Christopher Faylor <cgf@redhat.com>
10039
10040 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
10041
e911832c
TF
100422002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10043
10044 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
10045
0d0fdc8d
CF
100462002-05-01 Christopher Faylor <cgf@redhat.com>
10047
10048 * utmp.h: Define more UNIX constants.
10049
1e997c56
TF
100502002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10051
0717f01c
TF
10052 * Makefile.am: Add support for checking multilibs.
10053
09841445
TF
10054 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
10055 (SUBDEFS): Add LIBC_EXTRA_DEF.
10056 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
10057 (LIBC_EXTRA_DEF): Likewise.
10058 (extra_dir): Likewise.
10059 * libc/machine/xscale/machine: New directory.
10060 * libc/machine/xscale/machine/profile.h: New file.
10061
1e997c56
TF
10062 * Makefile.am (site.exp): Remove newlib_cflags. Add
10063 multibuildtop.
10064 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
10065 * testsuite/lib/flags.exp: New file.
10066 * testsuite/lib/newlib.exp: Load flags.exp.
10067 (newlib_target_compile): Remove libgloss directory references.
10068 (newlib_init): Remove newlib_cflags references.
10069
4cf4f010
TF
100702002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
10071
f6bdb6f9
TF
10072 * testsuite/lib/newlib.exp (newlib_target_compile): Change
10073 method of finding libgloss_target_dir.
10074
4cf4f010
TF
10075 * Makefile.am (site.exp): Change host_alias, host_triplet,
10076 target_alias, target_triplet to refer to gcc's host and target
10077 variables (newlib's build and host variables).
10078 * testsuite/lib/newlib.exp (newlib_init): Change build
10079 references to host references, host references to target
10080 references to reflect Makefile.am changes.
10081 (newlib_target_compile): Likewise.
10082 (newlib_finish): Likewise.
10083
83096ae8
JJ
100842002-04-29 Jeff Johnston <jjohnstn@redhat.com>
10085
10086 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
10087
822afa53
JL
100882002-04-29 Jonathan Larmour <jlarmour@redhat.com>
10089
10090 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
10091 (_system): New function. Ditto.
10092 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
10093 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
10094 targets.
10095
29798f0d
JJ
100962002-04-29 Jeff Johnston <jjohnstn@redhat.com>
10097
ba3ccd63
EB
10098 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
10099 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
10100 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
10101 * libc/sys/linux/Makefile.in: Regenerated.
10102 * libc/unix/Makefile.in: Ditto.
10103 * libc/sys/linux/pread64.c: New file.
10104 * libc/sys/linux/pwrite64.c: Ditto.
10105 * libc/unix/pread.c: Ditto.
10106 * libc/unix/pwrite.c: Ditto.
29798f0d 10107
557856bd
JJ
101082002-04-26 Jeff Johnston <jjohnstn@redhat.com>
10109
10110 * libc/sys/linux/Makefile.am: Add io64.c.
10111 * libc/sys/linux/Makefile.in: Regenerated.
10112 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 10113 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
10114 * libc/sys/linux/io64.c: New file.
10115
7b2b12d5
JJ
101162002-04-26 Jeff Johnston <jjohnstn@redhat.com>
10117
10118 * configure.in (CC_FOR_NEWLIB): New variable that
10119 bases on $(CC) and adds targ-include and libc/include as
10120 -isystem directives if they are not already part of $(CC).
10121 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
10122 $(CC_FOR_NEWLIB).
10123 * configure: Regenerated.
10124 * Makefile.in: Ditto.
10125
c62adacc
JJ
101262002-04-25 Jeff Johnston <jjohnstn@redhat.com>
10127
10128 * libc/sys/linux/Makefile.am: Add support for sched.c.
10129 * libc/sys/linux/Makefile.in: Regenerated.
10130 * libc/sys/linux/sched.c: New file.
10131 * libc/sys/linux/sys/types.h: Add struct timespec.
10132
217ad4a0
TF
101332002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10134
10135 * configure.in (CC_FOR_BUILD): Set to gcc whether
10136 cross-compiling or not.
10137 (CC): Add -isystem's for targ-include and libc/include when they
10138 do not already appear in CC.
10139
eaa75b70
TF
101402002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10141
10142 * Makefile.am (check-DEJAGNU): New target.
10143 (site.exp): Likewise.
10144 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
10145 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
10146 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
10147 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
10148 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
10149 * testsuite: New directory.
10150 * testsuite/config: Likewise.
10151 * testsuite/lib: Likewise.
10152 * testsuite/newlib.locale: Likewise.
10153 * testsuite/newlib.string: Likewise.
10154 * testsuite/config/default.exp: New file.
10155 * testsuite/lib/checkoutput.exp: New file.
10156 * testsuite/lib/newlib.exp: New file.
10157 * testsuite/lib/passfail.exp: New file.
10158 * testsuite/newlib.locale/UTF-8.c: New file.
10159 * testsuite/newlib.locale/UTF-8.exp: New file.
10160 * testsuite/newlib.locale/locale.exp: New file.
10161 * testsuite/newlib.string/string.exp: New file.
10162 * testsuite/newlib.string/tstring.c: New file.
10163
b9f9f699
JJ
101642002-04-23 Jeff Johnston <jjohnstn@redhat.com>
10165
ba3ccd63
EB
10166 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
10167 * libc/sys/linux/Makefile.am: Add support for mmap.c.
10168 * libc/sys/linux/Makefile.in: Regenerated.
10169 * libc/sys/linux/mmap.c: New file.
10170 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
10171 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 10172
7394edbb
TF
101732002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10174
10175 * acinclude.m4 (newlib_cflags): Remove include directories that
10176 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
10177
b9f9f699 101782002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
10179
10180 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
10181 * libc/machine/xscale/memcmp.c: Ditto.
10182 * libc/machine/xscale/memcpy.c: Ditto.
10183 * libc/machine/xscale/memmove.c: Ditto.
10184 * libc/machine/xscale/memset.c: Ditto.
10185 * libc/machine/xscale/strchr.c: Ditto.
10186 * libc/machine/xscale/strcmp.c: Ditto.
10187 * libc/machine/xscale/strcpy.c: Ditto.
10188 * libc/machine/xscale/strlen.c: Ditto.
10189
2dd4c4dc
JJ
101902002-04-19 Alexandre Oliva <aoliva@redhat.com>
10191
ba3ccd63
EB
10192 * libc/include/sys/config.h: Remove include of <limits.h>.
10193 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
10194 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 10195
0d844014
JJ
101962002-04-19 Jeff Johnston <jjohnstn@redhat.com>
10197
10198 * configure.host: Add support for powerpc-eabialtivec*.
10199 * libc/include/malloc.h: Add include of <machine/malloc.h>.
10200 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
10201 * libc/include/machine/malloc.h: New file.
10202 * libc/include/machine/stdlib.h: Ditto.
10203 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
10204 * libc/machine/powerpc/Makefile.am: Add conditional objects and
10205 sources based on configuration.
10206 * libc/machine/powerpc/Makefile.in: Regenerated.
10207 * libc/machine/powerpc/configure: Ditto.
10208 * libc/machine/powerpc/configure.in: Add check for
10209 powerpc-eabialtivec* in which case add in additional source files.
10210 * libc/machine/powerpc/setjmp.S: Add altivec support.
10211 * libc/machine/powerpc/vec_calloc.c: New file.
10212 * libc/machine/powerpc/vec_free.c: Ditto.
10213 * libc/machine/powerpc/vec_malloc.c: Ditto.
10214 * libc/machine/powerpc/vec_mallocr.c: Ditto.
10215 * libc/machine/powerpc/vec_realloc.c: Ditto.
10216 * libc/machine/powerpc/machine/malloc.h: Ditto.
10217 * libc/machine/powerpc/machine/stdlib.h: Ditto.
10218 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
10219 with added altivec format specifiers.
10220 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
10221 added altivec format specifiers.
10222
d413aadc
JS
102232002-04-19 Joel Sherrill <joel@OARcorp.com>
10224
10225 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
10226 while autoconf is trying to link main(){}.
10227
27193895
JJ
102282002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10229
ba3ccd63
EB
10230 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
10231 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 10232
10d00216
JJ
102332002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10234
6b0f808e
JJ
10235 * libc/time/time.tex: Add tzset info.
10236
102372002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10238
10239 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10240 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10241 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10242 (tzname): Defined for all platforms.
10243 (daylight, timezone): Defined only for CYGWIN.
10244 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
10245 environment set up.
10246 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
10247 environment variable is set.
10248 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
10249 tzset_r.c.
10250 * libc/time/Makefile.in: Regenerated.
10251 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10252 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10253 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10254 * libc/time/local.h: New local header file.
10255 * libc/time/mktime.c (mktime): Add timezone support.
10256 * libc/time/mktm_r.c: New file which is the common engine
10257 for gmtime_r and lcltime_r. This code has timezone support.
10258 * libc/time/strftime.c (strftime): Add %Z timezone support.
10259 * libc/time/tzlock.c: New file containing timezone lock stubs.
10260 * libc/time/tzset.c: New file containing tzset() routine.
10261 * libc/time/tzset_r.c: New file containing _tzset_r and
10262 internal routine for calculating timezone changes for specified year.
10263
102642002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10265
10266 * configure.in (CRT0_DIR): Set to libc/.
10267 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10268 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10269 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10270 $(CRT1_DIR)/$(CRT1).
10271 * libc/machine/xstormy16/Makefile.in: Regenerated.
10272 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10273 * libc/machine/xstormy16/configure: Regenerated.
10274
102752002-04-13 Alexandre Oliva <aoliva@redhat.com>
10276
10277 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10278 fails, don't bail out, and try to correct next time.
10279
10280 * libc/include/sys/config.h: Include limits.h.
10281
102822002-04-12 Eric Norum <eric.norum@usask.com>
10283
10284 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10285 routine to allow autoconf to determine that building executables
10286 for rtems works.
10287 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10288 (rtems_gxx_mutex_once): Ditto.
10289
102902002-04-09 Tom Rix <trix@redhat.com>
10291
10292 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10293
102942002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10295
ba3ccd63
EB
10296 * libc/include/time.h: Fix strptime declaration.
10297 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 10298 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10299 * libc/time/strptime.c: New file.
6b0f808e
JJ
10300
103012002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10302
10303 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10304 siglongjmp prototype, and sigsetjmp macro definition.
10305 * libc/sys/linux/siglongjmp.c: New file.
10306 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10307 * libc/sys/linux/Makefile.in: Regenerated.
10308
103092002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10310
10311 * Makefile.am: Add support for installing crt1.o if one exists.
10312 * configure.host: Specify crt1.o for linux.
10313 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10314 * Makefile.in: Regenerated.
10315 * configure: Ditto.
10316 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10317 Added for non-Cygwin, non-RTEMS configurations.
10318 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10319 * libc/sys/linux/Makefile.in: Regenerated.
10320 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10321 by gcc. This fixes problem with reconfiguring linux newlib build.
10322 * libc/sys/linux/sysconf.c: New file.
10323
103242002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10325
10326 * configure.host: Add support for machine subdirectory of
10327 sys subdirectory.
10328 * configure.in: Add check for sys machine subdirectory.
10329 * Makefile.am: Ditto.
10330 * configure: Regenerated.
10331 * Makefile.in: Ditto.
10332 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10333 * libc/sys/linux/sys/syscall.h: Ditto.
10334 * libc/sys/linux/sleep.c: New file.
10335 * libc/sys/linux/socket.c: Ditto.
10336 * libc/sys/linux/sockops.h: Ditto.
10337 * libc/sys/linux/stack.c: Ditto.
10338 * libc/sys/linux/usleep.c: Ditto.
10339 * libc/sys/linux/machine/Makefile.am: Ditto.
10340 * libc/sys/linux/machine/Makefile.in: Ditto.
10341 * libc/sys/linux/machine/aclocal.m4: Ditto.
10342 * libc/sys/linux/machine/configure: Ditto.
10343 * libc/sys/linux/machine/configure.in: Ditto.
10344 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10345 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10346 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10347 * libc/sys/linux/machine/i386/configure: Ditto.
10348 * libc/sys/linux/machine/i386/configure.in: Ditto.
10349 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10350 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10351 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10352 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10353 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10354 * libc/sys/linux/sys/select.h: Ditto.
10355 * libc/sys/linux/configure.in: Add support for machine directory.
10356 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10357 * libc/sys/linux/Makefile.in: Regenerated.
10358 * libc/sys/linux/configure: Ditto.
10359 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10360 * libc/sys/linux/inode.c: Ditto.
10361 * libc/sys/linux/linux.c: Ditto.
10362 * libc/sys/linux/process.c: Ditto.
10363 * libc/sys/linux/systat.c: Ditto.
10364 * libc/sys/linux/time.c: Ditto.
10365 * libc/sys/linux/wait.c: Ditto.
10366 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10367 * libc/sys/linux/io.c: Change header plus add readv/writev.
10368 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10369 use __sigsuspend syscall.
10370 * libc/sys/linux/select.c: Change header plus change select to
10371 use _newselect syscall.
10372 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10373 used by glibc header files.
10374 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10375 types.
10376
103772002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10378
10379 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10380 initializing a struct _reent that has been dynamically allocated.
10381 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10382 _REENT_SMALL and does nothing otherwise.
10383 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10384 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10385 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10386 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10387 [_REENT_SMALL](struct _misc_reent): New structure containing
10388 miscellaneous reentrant areas needed by newlib.
10389 [_REENT_SMALL](struct _reent): Add _misc pointer.
10390 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10391 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10392 and _REENT_STRTOK_LAST macros.
10393 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10394 and _REENT_MBLEN_STATE macros.
10395 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10396 and _REENT_MBTOWC_STATE macros.
10397 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10398 and _REENT_WCTOMB_STATE macros.
10399
104002002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10401
10402 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10403
10404Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10405
10406 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10407
10408Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10409
10410 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10411 Store high part of leading bytes too.
10412
104132002-03-22 Richard Sandiford <rsandifo@redhat.com>
10414
10415 * libm/math/ef_hypot.c: Increase scale factor to 68.
10416
104172002-03-13 Alexandre Oliva <aoliva@redhat.com>
10418
10419 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10420 error.
10421
104222002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10423
ba3ccd63
EB
10424 * libc/sys/go32/access.c: Change license to relaxed license
10425 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
10426
104272002-03-12 Richard Earnshaw <rearnsha@arm.com>
10428
10429 * libc/sys/arm/access.c: New file.
10430 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10431 * libc/sys/arm/Makefile.in: Regenerate.
10432 * libc/sys/arm/syscalls.c (_stat): New function.
10433
104342002-03-11 Michael Meissner <meissner@redhat.com>
10435
10436 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10437 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10438 * libc/machine/mips/Makefile.in: Regenerate.
10439 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10440 * libc/machine/mips/memset.c: Dito.
10441 * libc/machine/mips/strcmp.c: Dito.
10442 * libc/machine/mips/strlen.c: Dito.
10443 * libc/machine/mips/strncmp.c: Dito.
10444
104452002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10446
10447 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10448 object so it works for shared library or statici library.
104492002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10450
10d00216
JJ
10451 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10452 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10453 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10454 (tzname): Defined for all platforms.
10455 (daylight, timezone): Defined only for CYGWIN.
10456 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
10457 environment set up.
10458 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
10459 environment variable is set.
10460 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
10461 tzset_r.c.
10462 * libc/time/Makefile.in: Regenerated.
10463 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10464 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10465 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10466 * libc/time/local.h: New local header file.
10467 * libc/time/mktime.c (mktime): Add timezone support.
10468 * libc/time/mktm_r.c: New file which is the common engine
10469 for gmtime_r and lcltime_r. This code has timezone support.
10470 * libc/time/strftime.c (strftime): Add %Z timezone support.
10471 * libc/time/tzlock.c: New file containing timezone lock stubs.
10472 * libc/time/tzset.c: New file containing tzset() routine.
10473 * libc/time/tzset_r.c: New file containing _tzset_r and
10474 internal routine for calculating timezone changes for specified year.
10475
5f1c13c6
TF
104762002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10477
10478 * configure.in (CRT0_DIR): Set to libc/.
10479 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10480 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10481 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10482 $(CRT1_DIR)/$(CRT1).
10483 * libc/machine/xstormy16/Makefile.in: Regenerated.
10484 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10485 * libc/machine/xstormy16/configure: Regenerated.
10486
0cc261b1
AO
104872002-04-13 Alexandre Oliva <aoliva@redhat.com>
10488
2f3009bd
AO
10489 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10490 fails, don't bail out, and try to correct next time.
10491
0cc261b1
AO
10492 * libc/include/sys/config.h: Include limits.h.
10493
26116455
JJ
104942002-04-12 Eric Norum <eric.norum@usask.com>
10495
10496 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10497 routine to allow autoconf to determine that building executables
10498 for rtems works.
10499 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10500 (rtems_gxx_mutex_once): Ditto.
10501
4608280d
TR
105022002-04-09 Tom Rix <trix@redhat.com>
10503
10504 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10505
dea7e25c
JJ
105062002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10507
ba3ccd63
EB
10508 * libc/include/time.h: Fix strptime declaration.
10509 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 10510 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10511 * libc/time/strptime.c: New file.
dea7e25c 10512
c5ef1e95
JJ
105132002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10514
10515 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10516 siglongjmp prototype, and sigsetjmp macro definition.
10517 * libc/sys/linux/siglongjmp.c: New file.
10518 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10519 * libc/sys/linux/Makefile.in: Regenerated.
10520
6e6cd5bd
JJ
105212002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10522
10523 * Makefile.am: Add support for installing crt1.o if one exists.
10524 * configure.host: Specify crt1.o for linux.
10525 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10526 * Makefile.in: Regenerated.
10527 * configure: Ditto.
10528 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10529 Added for non-Cygwin, non-RTEMS configurations.
10530 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10531 * libc/sys/linux/Makefile.in: Regenerated.
10532 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10533 by gcc. This fixes problem with reconfiguring linux newlib build.
10534 * libc/sys/linux/sysconf.c: New file.
10535
fa4a16a1
JJ
105362002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10537
10538 * configure.host: Add support for machine subdirectory of
10539 sys subdirectory.
10540 * configure.in: Add check for sys machine subdirectory.
10541 * Makefile.am: Ditto.
10542 * configure: Regenerated.
10543 * Makefile.in: Ditto.
10544 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10545 * libc/sys/linux/sys/syscall.h: Ditto.
10546 * libc/sys/linux/sleep.c: New file.
10547 * libc/sys/linux/socket.c: Ditto.
10548 * libc/sys/linux/sockops.h: Ditto.
10549 * libc/sys/linux/stack.c: Ditto.
10550 * libc/sys/linux/usleep.c: Ditto.
10551 * libc/sys/linux/machine/Makefile.am: Ditto.
10552 * libc/sys/linux/machine/Makefile.in: Ditto.
10553 * libc/sys/linux/machine/aclocal.m4: Ditto.
10554 * libc/sys/linux/machine/configure: Ditto.
10555 * libc/sys/linux/machine/configure.in: Ditto.
10556 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10557 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10558 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10559 * libc/sys/linux/machine/i386/configure: Ditto.
10560 * libc/sys/linux/machine/i386/configure.in: Ditto.
10561 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10562 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10563 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10564 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10565 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10566 * libc/sys/linux/sys/select.h: Ditto.
10567 * libc/sys/linux/configure.in: Add support for machine directory.
10568 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10569 * libc/sys/linux/Makefile.in: Regenerated.
10570 * libc/sys/linux/configure: Ditto.
10571 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10572 * libc/sys/linux/inode.c: Ditto.
10573 * libc/sys/linux/linux.c: Ditto.
10574 * libc/sys/linux/process.c: Ditto.
10575 * libc/sys/linux/systat.c: Ditto.
10576 * libc/sys/linux/time.c: Ditto.
10577 * libc/sys/linux/wait.c: Ditto.
10578 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10579 * libc/sys/linux/io.c: Change header plus add readv/writev.
10580 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10581 use __sigsuspend syscall.
10582 * libc/sys/linux/select.c: Change header plus change select to
10583 use _newselect syscall.
10584 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10585 used by glibc header files.
10586 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10587 types.
10588
d4dca0e4
JJ
105892002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10590
10591 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10592 initializing a struct _reent that has been dynamically allocated.
10593 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10594 _REENT_SMALL and does nothing otherwise.
10595 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10596 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10597 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10598 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10599 [_REENT_SMALL](struct _misc_reent): New structure containing
10600 miscellaneous reentrant areas needed by newlib.
10601 [_REENT_SMALL](struct _reent): Add _misc pointer.
10602 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10603 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10604 and _REENT_STRTOK_LAST macros.
10605 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10606 and _REENT_MBLEN_STATE macros.
10607 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10608 and _REENT_MBTOWC_STATE macros.
10609 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10610 and _REENT_WCTOMB_STATE macros.
10611
54a7c6d2
JJ
106122002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10613
10614 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10615
c82479b1
CF
10616Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10617
10618 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10619
43ecf6e8
JR
10620Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10621
10622 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10623 Store high part of leading bytes too.
10624
a485d93f
RS
106252002-03-22 Richard Sandiford <rsandifo@redhat.com>
10626
10627 * libm/math/ef_hypot.c: Increase scale factor to 68.
10628
62a963ee
AO
106292002-03-13 Alexandre Oliva <aoliva@redhat.com>
10630
10631 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10632 error.
10633
c53d8453
JJ
106342002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10635
ba3ccd63
EB
10636 * libc/sys/go32/access.c: Change license to relaxed license
10637 used in identical file throughout newlib/libgloss.
c53d8453 10638
d2a246ad
JJ
106392002-03-12 Richard Earnshaw <rearnsha@arm.com>
10640
10641 * libc/sys/arm/access.c: New file.
10642 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10643 * libc/sys/arm/Makefile.in: Regenerate.
10644 * libc/sys/arm/syscalls.c (_stat): New function.
10645
eabb48d5
MM
106462002-03-11 Michael Meissner <meissner@redhat.com>
10647
10648 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10649 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10650 * libc/machine/mips/Makefile.in: Regenerate.
10651 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10652 * libc/machine/mips/memset.c: Dito.
10653 * libc/machine/mips/strcmp.c: Dito.
10654 * libc/machine/mips/strlen.c: Dito.
10655 * libc/machine/mips/strncmp.c: Dito.
10656
2a606041
JJ
106572002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10658
eabb48d5
MM
10659 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10660 object so it works for shared library or statici library.
10661 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10662
55f26f11
JR
10663Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10664
96bff22c
JR
10665 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10666 Add memcpy.S, memset.S and strcpy.S.
10667 * libc/machine/sh/Makefile.in: Regenerate.
10668 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10669 (SHHI, SHLO): Define.
96bff22c
JR
10670 * libc/machine/sh/memset.S: Add code for SH5.
10671 * libc/machine/sh/memset.S: Likewise.
10672 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10673
afecf2fa
JJ
106742002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10675
10676 * configure.host: Add check for --disable-newlib-io-float
10677 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10678 if appropriate.
10679 * acinclude.m4: Added --disable-newlib-io-float option.
10680 * aclocal.m4: Regenerated.
10681 * configure: Ditto.
10682 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10683 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10684 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10685 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10686 if NO_FLOATING_POINT flag is not defined.
10687
c1010a63
JJ
106882002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10689
10690 * libc/include/sys/config.h: Add __extension__ in front of
10691 long long references.
10692
630c657e
CV
106932002-02-23 Corinna Vinschen <corinna@vinschen.de>
10694
10695 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10696 (_stat): Ditto.
10697
59ee2e20
CV
106982002-02-23 Corinna Vinschen <corinna@vinschen.de>
10699
10700 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10701 of off_t.
10702
2dd68dc2
NC
107032002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10704
10705 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10706 clobbered registers.
10707
55500bf1
TF
107082002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10709
10710 * configure.host (newlib_cflags): When host is in m68* add
10711 -DCOMPACT_CTYPE.
10712
ba0173f0
JJ
107132002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10714
ba3ccd63
EB
10715 * libc/include/sys/config.h: Add definitions for
10716 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10717
7b61d0c5
JJ
107182002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10719
ba3ccd63
EB
10720 * libc/sys/mmixware/link.c: New.
10721 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10722 volatile.
10723 * libc/sys/mmixware/times.c (_times): Renamed from times.
10724 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10725 properly by reading previous contents, not through BinaryReadWrite.
10726 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10727 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10728
a505db65
CV
107292002-02-10 Corinna Vinschen <corinna@vinschen.de>
10730
10731 * libc/include/grp.h: Don't declare group functions when compiling
10732 Cygwin.
10733
f3b39c45
CV
107342002-02-09 Corinna Vinschen <corinna@vinschen.de>
10735
10736 * libc/include/grp.h: Include Cygwin specific header.
10737 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10738 when compiling for Cygwin.
10739 * libc/include/sys/types.h: Don't define off_t, uid_t
10740 and gid_t when compiling for Cygwin.
10741
82b3ac56
MG
107422002-02-08 matthew green <mrg@redhat.com>
10743
10744 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10745 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10746
9f25eed9
AO
107472002-02-08 Alexandre Oliva <aoliva@redhat.com>
10748
10749 Contribute sh64-elf.
10750 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10751 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10752 support in printf.
10753 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10754 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10755 any labels.
10756 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10757 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10758 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10759 * libc/machine/sh/configure.in: Rework conditionals.
10760 * libc/machine/sh/Makefile.am: Likewise.
10761 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10762 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10763 * configure.host: Match `sh*'.
10764 * libc/include/machine/setjmp.h: Define for SH5.
10765 * libc/machine/sh/configure.in: Detect SH5.
10766 * libc/machine/sh/configure: Rebuilt.
10767 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10768 * libc/machine/sh/Makefile.in: Rebuilt.
10769 * libc/machine/sh/asm.h: Adjust for SH5.
10770 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10771 * libc/sys/sh/crt0.S: Likewise.
10772 * libc/sys/sh/trap.S: Likewise.
10773
a2a405ae
JJ
107742002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10775
10776 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10777 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10778 (LIB_SOURCES): Remove $(mach_add_src).
10779 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10780 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10781 * libc/machine/i386/Makefile.in: Regenerate.
10782
27478365
JJ
107832002-02-05 Manik Raina <manik@cisco.com>
10784
994fa212 10785 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10786 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10787 s, p, k, and outstr.
10788 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10789
815a37f7
JJ
107902002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10791
10792 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10793 _REENT_CHECK_EMERGENCY macro.
10794
a4139c12
MG
107952002-02-03 matthew green <mrg@redhat.com>
10796
10797 * libc/reent/signgam.c (__signgam): Fix error in previous.
10798
8195aff7
MG
107992002-02-02 matthew green <mrg@redhat.com>
10800
10801 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10802
10803 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10804 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10805 * libc/include/sys/reent.h (struct _reent): Completely new version
10806 for _REENT_SMALL.
10807 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10808 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10809 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10810 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10811 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10812 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10813 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10814 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10815 (_REENT_EMERGENCY): Likewise.
10816
10817 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10818 the start of the real __sFILE, used for stdin, stdout and stderr until
10819 they are setup properly.
10820 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10821 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10822 allocated stdin, stdout and stderr.
10823 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10824 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10825 * libc/stdio/perror.c (_perror_r): Likewise.
10826 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10827 * libc/stdio/putchar.c (_putchar_r): Likewise.
10828 * libc/stdio/puts.c (_puts_r): Likewise.
10829 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10830 * libc/stdio/vprintf.c (vprintf): Likewise.
10831 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10832
10833 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10834
10835 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10836 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10837 for _REENT_SMALL.
10838 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10839 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10840
10841 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10842 _REENT_SMALL.
10843 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10844 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10845 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10846 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10847 * libc/stdlib/rand48.c (__dorand48): Likewise.
10848 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10849 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10850 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10851 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10852 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10853 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10854 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10855 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10856 * libc/stdlib/rand.c (rand): Likewise.
10857
10858 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10859 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10860
10861 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10862 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10863 * libc/include/sys/reent.h (struct _mprec): New structure.
10864
10865 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10866 _unused_strtok_last.
10867 * libc/string/strtok.c (strtok): Use a local static variable.
10868
10869 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10870 (_REENT_EMERGENCY_SIZE): Likewise.
10871 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10872 _REENT_ASCTIME_BUF().
10873 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10874 _REENT_TM().
10875
10876 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10877 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10878 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10879 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10880 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10881 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10882
9c2e7642
GK
108832002-02-01 Geoffrey Keating <geoffk@redhat.com>
10884
10885 * configure.host (xstormy16): Don't use the generic malloc.
10886 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10887 * libc/machine/xstormy16/Makefile.in: Regenerate.
10888 * libc/machine/xstormy16/mallocr.c: New file.
10889 * libc/machine/xstormy16/tiny-malloc.c: New file.
10890
4bb6112f
TF
108912002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10892
10893 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10894 when _CYGWIN_TYPES_H is not defined.
10895
8d345552
TF
108962002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10897
10898 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10899
bcc49082
TF
109002002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10901
10902 * libc/include/sys/signal.h: Remove pthread_kill declaration
10903 when __CYGWIN__ is defined.
10904
13baedeb
CF
109052002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10906
10907 * libc/include/time.h: Add prototype for strptime for Cygwin.
10908
b2db0ebc
NC
109092002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10910
ebf139fb
NC
10911 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10912 dst was not word aligned.
10913
b2db0ebc
NC
10914 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10915 if too much memory is requested.
10916
798c015d
JJ
109172002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10918
10919 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10920 reads blanks from the input file to break if EOF reached
10921 rather than end processing.
10922
46ad2ef4
JJ
109232002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10924
10925 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10926
86b06396
JJ
109272002-01-07 Alan Matsuoka <alanm@redhat.com>
10928
ba3ccd63
EB
10929 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10930 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10931 libc/include/sys/config.h: Ditto.
86b06396 10932
423d5064
CV
109332001-12-28 Corinna Vinschen <corinna@vinschen.de>
10934
10935 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10936
f6eff1c0
GK
109372001-12-22 Geoffrey Keating <geoffk@redhat.com>
10938 Catherine Moore <clm@redhat.com>
10939 Richard Henderson <rth@redhat.com>
10940 Corinna Vinschen <vinschen@redhat.com>
10941
10942 * configure.host: Add support for xstormy16.
10943 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10944 * libc/include/machine/setjmp.h: Add support for xstormy16.
10945 * libc/include/sys/config.h: Add support for xstormy16.
10946 * libc/machine/xstormy16/Makefile.am: New file.
10947 * libc/machine/xstormy16/Makefile.in: New file.
10948 * libc/machine/xstormy16/aclocal.m4: New file.
10949 * libc/machine/xstormy16/configure: New file.
10950 * libc/machine/xstormy16/configure.in: New file.
10951 * libc/machine/xstormy16/setjmp.S: New file.
10952
1f93c55f
TF
109532001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10954
10955 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10956 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10957
13b918be
CV
109582001-12-19 Corinna Vinschen <corinna@vinschen.de>
10959
10960 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10961 * libm/machine/Makefile.in: Regenerated through automake.
10962
08e857b4
TF
109632001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10964
10965 * Makefile.am (DOCDIR): Force to empty string when doc
10966 directory is not present.
10967
60565ed6
TF
109682001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10969
10970 * libc/machine/i386/f_*: Move to libm/machine/i386.
10971
109722001-12-18 Joel Sherrill <joel@OARcorp.com>
10973
10974 * libm/machine/Makefile.am: Add dummy doc stub so
10975 "make info" works.
10976
109772001-12-17 Joel Sherrill <joel@OARcorp.com>
10978
10979 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10980
fc504135
TF
109812001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10982
10983 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10984 $(COMPILE) rather than $(CC).
10985 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10986 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10987 $(LIB_COMPILE) change.
10988 (vfiprintf.$(oext)): Likewise.
10989
efeae9a3
CV
109902001-12-17 Corinna Vinschen <vinschen@redhat.de>
10991
10992 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10993 conditionalized including of getopt stuff.
10994
cdf7120d
TF
109952001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10996
10997 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10998 compile line.
f85be99c 10999 (vfiprintf.$(oext)): Likewise.
cdf7120d 11000
2e1a7175
TF
110012001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11002
11003 * Makefile.shared: New file.
11004 * libc/sys/linux/shared.ld: New file.
11005 * libm/machine/*: New files.
11006 * libm/machine/i386/*: New files.
11007 * Makefile.am: Add libtool support. Change math and mathfp
11008 references to variables.
11009 * configure.host: Add variables for libtool support. Add
11010 libm_machine_dir variable.
11011 * configure.in: Add objectlist variables, for libtool
11012 support. Add CC_FOR_BUILD tests.
11013 * libc/Makefile.am: Add libtool support. Change crt0.o
11014 reference to be a variable reference.
11015 * libc/configure.in: Add libtool support. Change sublib
11016 names to be lib${subdir}.la when using libtool.
11017 * libc/ctype/Makefile.am: Add libtool support.
11018 * libc/errno/Makefile.am: Likewise.
11019 * libc/locale/Makefile.am: Likewise.
11020 * libc/machine/Makefile.am: Likewise.
11021 * libc/machine/configure.in: Likewise.
11022 * libc/machine/i386/Makefile.am: Likewise.
11023 * libc/machine/i386/configure.in: Likewise.
11024 * libc/misc/Makefile.am: Likewise.
11025 * libc/posix/Makefile.am: Likewise.
11026 * libc/reent/Makefile.am: Likewise.
11027 * libc/signal/Makefile.am: Likewise.
11028 * libc/stdio/Makefile.am: Likewise.
11029 * libc/stdlib/Makefile.am: Likewise.
11030 * libc/string/Makefile.am: Likewise.
11031 * libc/sys/Makefile.am: Likewise.
11032 * libc/sys/configure.in: Likewise.
11033 * libc/sys/linux/Makefile.am: Add libtool support. Change
11034 awk reference to a variable reference. Change signal.h
11035 reference to a variable reference.
11036 * libc/sys/linux/configure.in: Add libtool support.
11037 * libc/syscalls/Makefile.am: Likewise.
11038 * libc/time/Makefile.am: Likewise.
11039 * libc/unix/Makefile.am: Likewise.
11040 * libm/Makefile.am: Add libtool support. Change math and
11041 mathfp references to variables.
11042 * libm/configure.in: Add libtool support. Add
11043 LIBM_MACHINE_LIB variable.
11044 * libm/common/Makefile.am: Add libtool support.
11045 * libm/math/Makefile.am: Likewise.
11046 * libm/mathfp/Makefile.am: Likewise.
11047 Regenerate all Makefile.in, aclocal.m4, and configure.
11048
b92591a1
JJ
110492001-12-13 Anita Kulkarni <anitak@kpit.com>
11050
ba3ccd63 11051 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 11052
355b664e
CF
110532001-12-06 John Peacock <jpeacock@rowman.com>
11054
11055 * libc/include/sys/unistd.h: Correct ualarm declaration.
11056
e9853806
NC
110572001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
11058
11059 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
11060 vector before calling the initialisation functions.
11061
a8e091b0
CF
110622001-11-29 Christopher Faylor <cgf@redhat.com>
11063
11064 * libc/include/dirent.h: Protect against multiple inclusion.
11065
ab634123
CF
110662001-11-27 Christopher Faylor <cgf@redhat.com>
11067
11068 * libc/include/sys/types.h: Define useconds_t.
11069 * libc/include/sys/ulimit.h: Declare ualarm.
11070
d37e401e
CF
110712001-11-21 Christopher Faylor <cgf@redhat.com>
11072
11073 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
11074
8ac90051
HPN
110752001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
11076
11077 * libc/sys/mmixware/*: Tweak license header in all source files.
11078
d7ca37e4
CV
110792001-11-12 Corinna Vinschen <vinschen@redhat.com>
11080
11081 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
11082 to here. Rearrange for general inclusion by stdlib.h.
11083 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
11084 isn't defined.
11085 * libc/sys/linux/include/alloca.h: Move to libc/include.
11086
28f8744e
AG
110872001-11-12 Anthony Green <green@redhat.com>
11088
11089 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
11090
4cede8c4
HPN
110912001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
11092
11093 * libc/sys/mmixware/*: Correct spacing in all source files.
11094 * libc/sys/mmixware/syscall.h: Move misplaced file...
11095 * libc/sys/mmixware/sys/syscall.h: ...here.
11096
8be9b48b
JJ
110972001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
11098
ba3ccd63
EB
11099 * libc/include/machine/ieeefp.h: Add support for mmix target.
11100 * libc/include/machine/setjmp.h: Ditto.
11101 * configure.host: Ditto.
11102 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
11103 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
11104 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
11105 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
11106 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
11107 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
11108 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
11109 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
11110 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
11111 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
11112 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
11113 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
11114 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
11115 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
11116 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
11117 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
11118 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
11119 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 11120
c7dd4f95
CV
111212001-11-05 Corinna Vinschen <corinna@vinschen.de>
11122
11123 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
11124 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
11125 when __CYGWIN__ is defined.
11126 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
11127 logwtmp().
11128
a6a6f9fe
JJ
111292001-11-01 Arati Dikey <aratidikey@hotmail.com>
11130
11131 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
11132 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
11133 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
11134 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
11135
d0504c35
JJ
111362001-10-24 Christopher Faylor <cgf@redhat.com>
11137
11138 * libc/stdio/fseek.c: Reset pointer to buffer base
11139 when forced to seek outside of current buffer contents.
11140 This prevents the code from erroneously thinking there is
11141 anything in the current buffer.
11142
0280c8c0
GK
111432001-10-22 Geoffrey Keating <geoffk@redhat.com>
11144
11145 * libc/include/math.h: The C++ standard adds the single-precision
11146 versions of the elementary functions.
11147
333d6098
CF
111482001-10-22 Christopher Faylor <cgf@redhat.com>
11149
11150 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
11151 throughout.
11152 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
11153 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
11154 * system.c (_system_r): Ditto.
11155
c7118319
CV
111562001-10-17 Corinna Vinschen <corinna@vinschen.de>
11157
11158 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 11159 __CYGWIN__ or __rtems__ is defined.
c7118319 11160
5665b0e1
JJ
111612001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
11162
ba3ccd63
EB
11163 * libc/include/stdlib.h: add declarations for
11164 _strtoull_r, _strtoll_r, strtoull, and strtoll.
11165 * libc/stdio/local.h: remove declarations of
11166 __strtoull_r and __strtoll_r.
11167 * libc/stdio/vfscanf.c(__svfscanf_r): call
11168 _strtoull_r instead of __strtoull_r. Ditto
11169 _strtoll_r vs. __strtoll_r.
11170 * libc/stdlib/Makefile.am: add new files to
11171 .c list and .def list
11172 * libc/stdlib/Makefile.in: regenerate
11173 * libc/stdlib/strtoll_r.c: rename __strtoll_r
11174 as _strtoll_r
11175 * libc/stdlib/strtoull_r.c: rename __strtoull_r
11176 as _strtoull_r
11177 * libc/stdlib/strtoull.c: new file
11178 * libc/stdlib/strtoll.c: new file
5665b0e1 11179
d2d5eb41
CF
11180Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
11181
11182 * libc/include/process.h: Add getpid() declaration.
11183
448e3c14
NC
111842001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
11185
11186 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
11187 for new style arm/elf ctor/dtor handling.
11188 Minor formatting tidy up.
11189
7a2afbbb
JJ
111902001-09-13 Jeff Johnston <jjohnstn@redhat.com>
11191
11192 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
11193 and strtoull_r.c.
11194 * libc/stdlib/Makefile.in: Regenerated.
11195 * libc/stdlib/strtoll_r.c: New file.
11196 * libc/stdlib/strtoull_r.c: New file.
11197 * libc/stdio/local.h: Add prototypes for long long string
11198 conversion routines.
11199 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
11200 tied to %L integer conversion specifier.
11201
6342caa4
JJ
11202Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
11203
ba3ccd63
EB
11204 * strftime.c (strftime): Fix "%W" implementation to properly handle
11205 Mondays too.
6342caa4 11206
b2d319cb
JJ
112072001-09-07 Jeff Law <law@redhat.com>
11208
ba3ccd63
EB
11209 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
11210 __fini with "mov.l" instead of "mov.w".
b2d319cb 11211
233823ba
CV
112122001-09-05 Corinna Vinschen <corinna@vinschen.de>
11213
11214 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
11215 and getopt.h.
11216
63c17b54
JJ
112172001-09-04 Jason Merrill <jason_merrill@redhat.com>
11218
11219 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
11220
a3e67ddf
CV
112212001-09-03 Corinna Vinschen <corinna@vinschen.de>
11222
11223 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
11224 field.
11225 (__DIRENT_VERSION): New define.
11226
6d47f33a
CV
112272001-09-03 Corinna Vinschen <corinna@vinschen.de>
11228
11229 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
11230 Shrink __d_reserved accordingly to keep structure size.
11231 (dirfd): Declare external.
6d47f33a 11232
348c5e06
JJ
112332001-08-29 Joel Sherrill <joel@OARcorp.com>
11234
11235 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
11236
112372001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11238
11239 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
11240 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
11241 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
11242 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
11243 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
11244 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
11245 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
11246 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
11247 Add conditional compilation to avoid HW FPU instructions
11248 when compiled for soft-float.
11249
f29865c5
JJ
112502001-08-29 Jeff Johnston <jjohnstn@redhat.com>
11251
11252 * Makefile.am: Add check for ln failing when creating libg.a
11253 so that cp gets used as a backup.
11254 * Makefile.in: Regenerated.
11255
9e2a4ef8
JJ
112562001-08-29 Jeff Johnston <jjohnstn@redhat.com>
11257
11258 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
11259 No longer include time.h. Add struct __tm to use for
11260 _localtime_buf in the reentrant structure. Add a
11261 _NULL definition to use in initializing the reentrant struct.
11262 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
11263 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
11264 <sys/_types.h>.
11265 * libc/include/sys/unistd.h: Include <sys/_types.h>.
11266 * libc/time/lcltime.c (localtime): Cast the reentrant struct
11267 _localtime_buf to be struct tm *.
11268
1ae900d6
JR
11269Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
11270
11271 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
11272 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
11273 __ctors_end.
11274 * libc/sys/h8300hms/syscalls.c: Include errno.h.
11275 (_unlink): New stub function.
11276
8e26d5b5
CF
11277Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
11278
11279 * libc/include/sys/errno.h: Add a cautionary comment.
11280
e8267664
JJ
112812001-08-21 Jeff Johnston <jjohnstn@redhat.com>
11282
11283 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
11284 for SIZE_SZ so that alignment ends up a minimum of 8.
11285
4acf3edf
CF
11286Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
11287
11288 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
11289 arguments.
11290
11291 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
11292 Cygwin.
11293
52c80be8
JJ
112942001-08-13 Jeff Johnston <jjohnstn@redhat.com>
11295
11296 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
11297 macro constants for mallopt options.
11298 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
11299
a7061f7f
JJ
113002001-08-02 Jeff Johnston <jjohnstn@redhat.com>
11301
11302 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
11303 otherwise default.
11304
0b4bfdd5
AH
113052001-07-12 Aldy Hernandez <aldyh@redhat.com>
11306
ba3ccd63 11307 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 11308
2b6b730c
NC
113092001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
11310
11311 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
11312 Define for little endian ARMs.
11313
11314 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
11315 __IEEE_BYTES_LITTLE_ENDIAN is defined.
11316
25842b68
JJ
113172001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
11318
ba3ccd63 11319 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 11320
371b76ef
JJ
113212001-06-11 Egor Duda <deo@logos-m.ru>
11322
ba3ccd63
EB
11323 * libc/ctype/ctype_.c: When compiled with gcc on platforms
11324 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
11325 initialized memory region. Platform can define COMPACT_CTYPE
11326 to avoid allocation of the additional 128 bytes of data.
11327 Add pointer to _ctype_ array. Always initialize all _ctype_
11328 array elements.
371b76ef 11329
43b44bc5
JL
113302001-06-08 Jonathan Larmour <jlarmour@redhat.com>
11331
11332 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
11333 NULL pointer.
11334
188bc140
NC
113352001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
11336
11337 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
11338
2ce88418
NC
113392001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
11340
11341 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
11342 matching, non-word alignment, and the length is <= 4 but more than
11343 enough to move them over a word boundary.
11344 Add comments explaining what each instruction does.
11345
ca60ed47
CF
11346Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
11347
11348 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 11349 * libc/include/sys/unistd.h: Ditto.
ca60ed47 11350
8b3bcfba
JJ
113512001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
11352
ba3ccd63 11353 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 11354
b09e3cf8
JJ
113552001-05-01 Jeff Johnston <jjohnstn@redhat.com>
11356
11357 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
11358 real file systems, let __smakebuf() determine if line buffering
11359 should be used for stdout.
11360
0ca66974
JJ
113612001-04-27 Jeff Johnston <jjohnstn@redhat.com>
11362
11363 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
11364
7cb7017a
JJ
113652001-04-27 Jeff Johnston <jjohnstn@redhat.com>
11366
11367 * libc/include/stdlib.h: Add prototype for _strtod_r.
11368
a874cd21
JJ
113692001-04-24 Charles Wilson <cwilson@ece.gatech.edu
11370
ba3ccd63
EB
11371 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
11372 * libc/stdio/vprintf.c (_vprintf_r): new function
11373 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
11374 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
11375 _DEFUN, and call _vfprintf_r, not vfprintf.
11376 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
11377 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
11378 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 11379
cb4cc283 113802001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 11381
cb4cc283
CF
11382 * libc/include/sys/unistd.h [X_OK]: Use better protection against
11383 Cygwin X_OK definitions in sys/file.h.
11384
8c9df1d5
CF
11385Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
11386
11387 * libc/include/sys/time.h: Define timercmp and other macros for
11388 __CYGWIN__, too.
11389
3ac6f3a7 113902001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 11391
3ac6f3a7
JJ
11392 * acinclude.m4: Added --enable-malloc-debugging configure flag.
11393 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
11394 --enable-malloc-debugging selected.
11395 * aclocal.m4 configure: Regenerated.
11396 libm/aclocal.m4 libm/configure: Ditto.
11397 * libc/aclocal.m4 libc/configure: Ditto.
11398 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
11399 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
11400 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
11401 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
11402 * doc/aclocal.m4 doc/configure: Ditto.
11403
52cb9e69
JJ
114042001-04-20 Jeff Johnston <jjohnstn@redhat.com>
11405
11406 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
11407 into one list.
11408 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
11409 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
11410 function prototypes.
11411 (_fscanf_r, _sscanf_r): Ditto.
11412 * libc/include/stdlib.h: Added _strtod_r prototype.
11413 * libc/stdio/Makefile.am: Add new v*scanf functions.
11414 * libc/stdio/Makefile.in: Regenerate.
11415 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
11416 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
11417 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
11418 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
11419 (sscanf): Changed to call __svfscanf_r with _REENT argument.
11420 (_sscanf_r): New routine.
11421 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
11422 with __svfscanf_r prototype.
11423 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
11424 routines.
11425 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
11426 structure as argument as calls reentrant versions of helper functions
11427 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
11428 to _strtol_r and _strtod_r respectively.
11429 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
11430 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
11431 _REENT argument.
11432 * libc/stdio/vscanf.c: New file.
11433 * libc/stdio/vsscanf.c: Ditto.
11434
ee9f39fb
JJ
114352001-04-19 Robert Collins <rbtcollins@hotmail.com>
11436
11437 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
11438 Define daylight to _daylight if it is not defined
17c0c97d 11439 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
11440 (Cannot be used with the timezone() function.)
11441
273861e3
JJ
114422001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
11443
ba3ccd63
EB
11444 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
11445 Correct the numerical values.
273861e3 11446
a25b8414
CF
114472001-04-13 Robert Collins <rbtcollins@hotmail.com>
11448
11449 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
11450
b8a8c59d
CV
11451Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
11452
11453 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
11454 on case insensitve file systems.
11455
74f8cc63
CF
114562001-04-12 Robert Collins <rbtcollins@hotmail.com>
11457
11458 * libc/include/sys/features.h: Add appropriate defines for Cygwin
11459 pthread support.
11460 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
11461 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
11462 types. Include <cygwin/types.h> for the cygwin specific typedefs.
11463
16740220
RS
114642001-04-04 Richard Sandiford <rsandifo@redhat.com>
11465
11466 * libc/include/machine/ieeefp.h: Comment about new configuration
11467 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
11468 * libm/common/fdlib.h: Define new macros for testing floats.
11469 * libm/common/sf_*: Use them.
11470 * libm/math/ef_*: Likewise.
11471 * libm/math/sf_*: Likewise.
11472
0694d8d3
JJ
114732001-03-29 Jeff Johnston <jjohnstn@redhat.com>
11474
11475 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
11476 prolog to by-pass possible assembler error.
11477
4833b38c
JJ
114782001-03-21 Egor Duda <deo@logos-m.ru>
11479
ba3ccd63
EB
11480 Allow building internal stubs for non-reentrant syscalls
11481 if target provides its own malloc
11482 * libc/reent/reent.c (errno): Move definition here.
11483 * libc/reent/sbrkr.c: From here.
4833b38c 11484
d17d6d42
CF
114852001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
11486
11487 * libc/include/sys/types.h (BSD int typedefs): Guard with
11488 _BSDTYPES_DEFINED rather than _WINSOCK_H.
11489 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
11490 _SYS_TYPES_FD_SET.
11491 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
11492 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
11493
c7ee75cd
CV
11494Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
11495
11496 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
11497 _PC_POSIX_SECURITY constants for Cygwin.
11498
63dc5d80
CV
11499Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
11500
11501 * libc/sys/cygwin/crt0.c: Add copyright hint.
11502 * libc/sys/cygwin/sys/dirent.h: Ditto.
11503 * libc/sys/cygwin/sys/param.h: Ditto.
11504 * libc/sys/cygwin/sys/utime.h: Ditto.
11505 * libc/sys/cygwin/sys/utmp.h: Ditto.
11506
6f637037
AO
115072001-03-13 Alexandre Oliva <aoliva@redhat.com>
11508
11509 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
11510 equivalent to LONGINT.
11511
e69b6f73
JJ
115122001-03-08 Richard Sandiford <rsandifo@redhat.com>
11513
ba3ccd63
EB
11514 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
11515 jmpbuf on MIPS64 targets.
11516 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 11517
6198dece
CF
11518Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
11519
17c0c97d 11520 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 11521 declarations.
6198dece 11522
cfc05d96
JJ
11523Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
11524
ba3ccd63
EB
11525 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
11526 For RTEMS, define to be ssize_t. Default to int if not defined.
11527 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
11528 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
11529 * libc/stdio/local.h (__sread, __swrite): Likewise.
11530 * libc/include/sys/reent.h (_read, _write): Likewise.
11531 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
11532 * libc/syscalls/sysread.c (read): Likewise.
11533 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 11534
6249353a
JJ
115352001-03-05 Jeff Johnston <jjohnstn@redhat.com>
11536
ba3ccd63 11537 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 11538
658b5db9
CF
11539Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
11540
11541 * libc/include/sys/stat.h: Use special defines for executable stat bits
11542 when compiling for Cygwin.
11543 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
11544 for Cygwin.
11545
19ca46d5
JJ
115462001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11547
11548 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
11549 of strtok_r is always defined.
11550
b73ed85e
JJ
115512001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11552
11553 * libc/include/machine/ansi.h: New dummy header file.
11554
ee37ede1
JJ
115552001-02-22 Jeff Johnston <jjohnstn@redhat.com>
11556
11557 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
11558 changed the copyright information to allow free modification of the
11559 file with no reference to "copying.dj".
11560 * libc/include/sys/stat-dj.h: Ditto.
11561 * libc/machine/i386/setjmp.S: Ditto.
11562 * libc/sys/h8300hms/sys/file.h: Ditto.
11563 * libc/sys/sysmec/access.c: Ditto.
11564 * libc/sys/sysnecv850/access.c: Ditto.
11565 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
11566 * libc/stdlib/getenv_r.c: Ditto.
11567 * libc/stdlib/putenv_r.c: Ditto.
11568 * libc/stdlib/setenv_r.c: Ditto.
11569 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11570 modifications will now be in the _r version of this file.
11571 * libc/stdlib/putenv.c: Ditto.
11572 * libc/stdlib/setenv.c: Ditto.
11573 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11574 valid. Added a reference to DJ's web page that contains his address.
11575 * libc/sys/go32/*.s: Removed references to DJ's old address.
11576 * libc/sys/go32/*.c: Ditto.
11577 * libc/sys/go32/*.h: Ditto.
11578 * libc/sys/go32/*.S: Ditto.
11579 * libc/sys/go32/sys/*.h: Ditto.
11580
3a8fc0e4
JJ
115812001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11582
11583 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11584 HAVE_FCNTL flag check.
11585 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11586 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11587
b24ee749
CF
11588Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11589
11590 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11591
ab4745dc
JJ
115922001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11593
ba3ccd63
EB
11594 * libc/include/stdlib.h: Add declarations of rand48 functions and
11595 their reentrant versions.
11596 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11597 struct _rand48 for shared parameters of rand48 functions.
11598 (struct _reent): Add a variable _r48 of struct _rand48.
11599 (_REENT_INIT): Add _r48 initialization.
11600 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11601 (CHEWOUT_FILES): Add rand48.def.
11602 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11603 * libc/stdlib/Makefile.in: Regenerated.
11604 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11605 NetBSD C library.
11606 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11607 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11608 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11609 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11610 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11611 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11612 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11613 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11614 * libc/stdlib/rand48.c (__dorand48): Ditto.
11615 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11616 parameters into macros referring them in the reentrant structure.
ab4745dc 11617
a34c461f
JJ
116182001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11619
11620 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11621 Cygwin definition has correct prototype.
11622
34f31ff2
JJ
116232001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11624
11625 * libc/include/sys/stat.h: Must revert change for mknod
11626 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11627 prototype.
11628
5336d6de
JJ
116292001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11630
11631 * libc/include/stdio.h: Revert putw prototype.
11632
8915d10a
JJ
116332001-02-08 Edward M. Lee <tailbert@yahoo.com>
11634
ba3ccd63
EB
11635 * libc/include/grp.h: add prototype for initgroups.
11636 * libc/include/stdio.h: fix prototype for putw.
11637 * libc/include/sys/signal.h: add prototype for killpg.
11638 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11639 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11640 vhangup and remove duplicate sysconf prototype.
11641
93ac4487
JJ
116422001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11643
11644 * libc/sys/rtems/sys/types.h: Removed.
11645
31f5feea
JJ
116462001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11647
ba3ccd63 11648 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11649
b5139f59
AO
116502001-02-01 Alexandre Oliva <aoliva@redhat.com>
11651
11652 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11653 SYS_get_argN):
11654 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11655 __setup_argv_and_call_main): New.
11656
e29d8355
JJ
116572001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11658
11659 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11660 if defined.
11661 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11662 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11663 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11664 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11665
82ea92f3
CF
11666Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11667
11668 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11669 compiling under Cygwin.
11670
3aaa66f8
JJ
116712001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11672
11673 * libc/include/math.h (signgam): Change to errno-like solution
11674 using a function to return the address of the real signgam.
11675 * libc/reent/signgam.c: New file containing __signgam().
11676 * libc/reent/Makefile.am: Added signgam.c to list of files.
11677 * libc/reent/Makefile.in: Regenerated.
11678
610b895a
AO
116792001-01-25 Alexandre Oliva <aoliva@redhat.com>
11680
b0913397
AO
11681 * libc/sys/sh/syscalls.c (_times): New.
11682
610b895a
AO
11683 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11684 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11685
3643210e
JJ
116862001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11687
11688 * libc/include/math.h (signgam): Regress previous fix as
11689 it does not handle programs with extern int signgam in them.
11690
841081c9
JJ
116912001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11692
11693 * libc/include/math.h (signgam): Changed to a macro refering to
11694 its location in the reentrant structure.
11695
e9cd87b8
JJ
116962001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11697
11698 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11699 that suppressed . for %.0f, 0.1. Check now looks if there
11700 are padding zeroes (expt) in addition to any digits (ndig) to
11701 print.
11702
a302b48c
JJ
117032001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11704
11705 * libc/sys/arc/Makefile.am: New file.
11706 * libc/sys/arc/Makefile.in: Ditto.
11707 * libc/sys/arc/aclocal.m4: Ditto.
11708 * libc/sys/arc/configure: Ditto.
11709 * libc/sys/arc/configure.in: Ditto.
11710 * libc/sys/arc/crt0.S: Ditto.
11711 * libc/sys/arc/isatty.c: Ditto.
11712 * libc/sys/arc/mem-layout.c: Ditto.
11713 * libc/sys/arc/sbrk.c: Ditto.
11714 * libc/sys/arc/syscalls.c: Ditto.
11715 * libc/sys/arc/sys/syscall.h: Ditto.
11716
d0319c3b
CF
11717Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11718
11719 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11720
e45ab890
CF
11721Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11722
11723 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11724
1376245a
DD
11725Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11726
11727 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11728
92b57543
NC
117292001-01-09 Nick Clifton <nickc@redhat.com>
11730
11731 * configure.host (v859): Remove unsupported compiler options.
11732
7d6d33d4
JJ
11733Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11734
11735 * src/newlib/configure.host (*-*-rtems*): add printf long long
11736 support for RTEMS.
11737
602f8b5a 117382000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11739
ba3ccd63 11740 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11741
9c2b8183
JJ
11742Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11743
11744 * configure.host: Turn on long double I/O for Cygwin.
11745
804368d3
JJ
11746Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11747
11748 * MAINTAINERS: Removed Ranjith.
11749 * NEWS: Updated for 1.9.0.
11750 * README: Updated.
11751 * acinclude.m4: Updated to release 1.9.0.
11752 * aclocal.m4 configure
11753 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11754 libc/machine/aclocal.m4 libc/machine/configure
11755 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11756 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11757 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11758 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11759 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11760 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11761 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11762 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11763 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11764 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11765 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11766 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11767 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11768 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11769 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11770 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11771 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11772 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11773 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11774 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11775 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11776 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11777 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11778 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11779 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11780 libc/sys/aclocal.m4 libc/sys/configure
11781 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11782 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11783 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11784 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11785 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11786 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11787 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11788 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11789 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11790 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11791 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11792 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11793 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11794 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11795 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11796 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11797 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11798 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11799 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11800 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11801 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11802 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11803 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11804 libm/aclocal.m4 libm/configure: Regenerated.
11805
0985d43f
CV
11806Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11807
11808 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11809 when __CYGWIN__ is defined.
11810
b6182a09
JJ
118112000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11812
11813 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11814 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11815 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11816 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11817 calls to the two removed routines to a single _ldcheck call.
11818 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11819
adbbb034
JJ
118202000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11821
11822 * Makefile.am: Fixed install-data-local target to use
11823 $(mkinstalldirs) for the installed header files to ensure
11824 the directories exist before copying.
11825 * Makefile.in: Regenerated.
11826
cbd19336
JJ
118272000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11828
11829 * libc/include/sys/unistd.h: Restored Cygwin _SC
11830 constants and moved new constants appropriately
11831 so Cygwin will build.
11832
8fb37963
JJ
118332000-12-11 Joel Sherrill <joel@OARcorp.com>
11834
ba3ccd63
EB
11835 * Merge RTEMS specific .h files into main libc/include.
11836 * libc/sys/rtems/include/signal.h: Removed.
11837 * libc/sys/rtems/include/time.h: Removed.
11838 * libc/sys/rtems/sys/features.h: Removed.
11839 * libc/sys/rtems/sys/sched.h: Removed.
11840 * libc/sys/rtems/sys/siginfo.h: Removed.
11841 * libc/sys/rtems/sys/signal.h: Removed.
11842 * libc/sys/rtems/sys/time.h: Removed.
11843 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11844 definitions for time_t and clock_t since these are
11845 no longer in time.h.
ba3ccd63
EB
11846 * libc/include/pthread.h: New file.
11847 * libc/include/sys/sched.h: New file.
11848 * libc/include/sys/features.h: New file.
11849 * libc/include/time.h: Removed duplicate definition of clock_t
11850 and time_t, get them from <sys/types.h> instead. Add prototypes
11851 for POSIX clock and timer functionality.
8fb37963 11852 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11853 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11854 * libc/include/sys/signal.h: Add more complete set of POSIX
11855 signal functionality including real-time and threaded signals.
11856 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11857 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11858 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11859 Added numerous primitive definitions
11860 for pthreads including macros, pthread_attr_t,
17c0c97d 11861 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11862 pthread_once_t, and pthread_t.
ba3ccd63
EB
11863 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11864 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11865 Feature flags removed and moved to new file <sys/features.h>.
11866 Full set of POSIX sysconf() constants
8fb37963 11867
2efbc2a7
JJ
118682000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11869
11870 * configure.host: Added x86 linux target.
11871 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11872 definitions provided if not already defined.
11873 * libc/sys/linux/crt0.c: New file.
11874 * libc/sys/linux/Makefile.am: Ditto.
11875 * libc/sys/linux/Makefile.in: Ditto.
11876 * libc/sys/linux/aclocal.m4: Ditto.
11877 * libc/sys/linux/brk.c: Ditto.
11878 * libc/sys/linux/configure: Ditto.
11879 * libc/sys/linux/configure.in: Ditto.
11880 * libc/sys/linux/getoptlong.c: Ditto.
11881 * libc/sys/linux/ids.c: Ditto.
11882 * libc/sys/linux/inode.c: Ditto.
11883 * libc/sys/linux/io.c: Ditto.
11884 * libc/sys/linux/linux.c: Ditto.
11885 * libc/sys/linux/process.c: Ditto.
11886 * libc/sys/linux/realpath.c: Ditto.
11887 * libc/sys/linux/select.c: Ditto.
11888 * libc/sys/linux/signal.c: Ditto.
11889 * libc/sys/linux/systat.c: Ditto.
11890 * libc/sys/linux/termios.c: Ditto.
11891 * libc/sys/linux/time.c: Ditto.
11892 * libc/sys/linux/wait.c: Ditto.
11893 * libc/sys/linux/include/alloca.h: Ditto.
11894 * libc/sys/linux/include/getopt.h: Ditto.
11895 * libc/sys/linux/include/stdint.h: Ditto.
11896 * libc/sys/linux/include/unistd.h: Ditto.
11897 * libc/sys/linux/sys/cdefs.h: Ditto.
11898 * libc/sys/linux/sys/dirent.h: Ditto.
11899 * libc/sys/linux/sys/errno.h: Ditto.
11900 * libc/sys/linux/sys/fcntl.h: Ditto.
11901 * libc/sys/linux/sys/file.h: Ditto.
11902 * libc/sys/linux/sys/ioctl.h: Ditto.
11903 * libc/sys/linux/sys/resource.h: Ditto.
11904 * libc/sys/linux/sys/signal.h: Ditto.
11905 * libc/sys/linux/sys/stat.h: Ditto.
11906 * libc/sys/linux/sys/syscall.h: Ditto.
11907 * libc/sys/linux/sys/termios.h: Ditto.
11908 * libc/sys/linux/sys/time.h: Ditto.
11909 * libc/sys/linux/sys/types.h: Ditto.
11910 * libc/sys/linux/sys/utmp.h: Ditto.
11911 * libc/sys/linux/sys/utsname.h: Ditto.
11912 * libc/sys/linux/sys/wait.h: Ditto.
11913
a08c98bb
JJ
119142000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11915
ba3ccd63
EB
11916 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11917 can be a relative path to $(top_srcdir)/install.sh so ensure the
11918 autoconf detected settings are properly passed recursively.
11919 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11920 properly to subdirectories.
a08c98bb
JJ
11921 * Makefile.in: Regenerated.
11922
b294082c
JJ
119232000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11924
ba3ccd63
EB
11925 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11926 a floating point register unless really printing a floating
11927 point number.
b294082c 11928
2005ab6b
JJ
119292000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11930
11931 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11932 Also removed \r's.
11933 (asctoeg): Replaced alloca call with stack array and malloc
11934 when storage exceeds reasonable limit.
11935 (e53toe): Fixed einfin calls missing ldp parameter.
11936 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11937
9f6e8f1b
JJ
119382000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11939
2005ab6b 11940
9f6e8f1b
JJ
11941 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11942
6bdac416
JJ
119432000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11944
11945 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11946 * libc/stdlib/Makefile.in: Regenerated.
11947 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11948 * libc/stdio/vfieeefp.h: Added long double bit structures.
11949 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11950 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11951 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11952 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11953 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11954 _strtold routines used for conversions between character
11955 and long double.
11956
ec270d31
CV
11957Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11958
11959 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11960
db2d9549
JJ
119612000-12-04 Joel Sherrill <joel@OARcorp.com>
11962
ba3ccd63 11963 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11964 tick rate so use sysconf() to ask.
11965
6ba54a15
JJ
119662000-12-04 Joel Sherrill <joel@OARcorp.com>
11967
ba3ccd63 11968 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11969
8677b819
JJ
119702000-12-04 Joel Sherrill <joel@OARcorp.com>
11971
ba3ccd63
EB
11972 * libc/include/sys/time.h: Added BSD timer manipulation macros
11973 used by RTEMS code.
8677b819 11974
1b61a706
JJ
119752000-12-04 Joel Sherrill <joel@OARcorp.com>
11976
ba3ccd63
EB
11977 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11978 referenced by code generated by gcc 2.8.1.
11979 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11980 satisfy gcc.
11981
f5e7c124
JJ
119822000-12-04 Joel Sherrill <joel@OARcorp.com>
11983
ba3ccd63 11984 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11985
768abc9c
JJ
119862000-12-04 Joel Sherrill <joel@OARcorp.com>
11987
ba3ccd63 11988 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11989
9e5dd5ea
JJ
119902000-12-04 Joel Sherrill <joel@OARcorp.com>
11991
ba3ccd63 11992 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11993 OpenRisc CPUs.
ba3ccd63 11994 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11995
768abc9c 119962000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11997
ba3ccd63
EB
11998 * libc/include/sys/errno.h: Added comments on many error numbers.
11999 * libc/string/strerror.c: Added some more strings.
7713fb6f 12000
b273323f
JJ
120012000-11-30 Jeff Johnston <jjohnstn@redhat.com>
12002
12003 * libc/sys/sh/syscalls.c (_link): New stub.
12004
0ffc3b94
NC
120052000-11-29 Nick Clifton <nickc@redhat.com>
12006
12007 * configure.host: Add xscale target.
12008 * libc/machine/xscale: New directory.
12009 * libc/machine/xscale/Makefile.am: New file.
12010 * libc/machine/xscale/Makefile.in: New file.
12011 * libc/machine/xscale/aclocal.m4: New file.
12012 * libc/machine/xscale/configure: New file.
12013 * libc/machine/xscale/configure.in: New file.
12014 * libc/machine/xscale/memchr.S: New file.
12015 * libc/machine/xscale/memcmp.S: New file.
12016 * libc/machine/xscale/memcpy.S: New file.
12017 * libc/machine/xscale/memmove.S: New file.
12018 * libc/machine/xscale/memset.S: New file.
12019 * libc/machine/xscale/strchr.S: New file.
12020 * libc/machine/xscale/strcmp.S: New file.
12021 * libc/machine/xscale/strcpy.S: New file.
12022 * libc/machine/xscale/strlen.S: New file.
12023
cbbf0f96
CV
12024Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12025
12026 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
12027 avoid compiler warnings.
12028
73dea790
MM
120292000-11-22 Michael Meissner <meissner@redhat.com>
12030
12031 * libc/posix/execl.c (execl): Don't reference environ directly,
12032 reference it only via a static pointer to avoid problems with some
12033 shared library systems and with different uses of small data where
12034 the user specifies his own version of environ.
12035 * libc/posix/execv.c (execv): Ditto.
12036 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
12037 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
12038 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
12039
12040 * libc/stdlib/getenv.c (environ): Delete unused reference to
12041 environ.
12042
12043 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
12044 colorization.
12045 * libc/stdlib/system.c: Ditto.
12046
08eac2ae
CF
12047Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
12048
12049 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
12050 including windows headers.
12051
5478bf37
JJ
120522000-11-20 Jeff Johnston <jjohnstn@redhat.com>
12053
12054 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
12055 * libc/include/dirent.h: Added definition of MAXNAMLEN if
12056 not defined by sys/dirent.h.
12057 * libc/posix/execvp.c: Added include of dirent.h to get
12058 MAXNAMLEN value which used to be in unistd.h.
12059
3a760728
CV
12060Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12061
12062 * libc/include/sys/types.h: Change type of i to `size_t' in
12063 FD_ZERO macro to avoid compiler warnings.
12064
86fff69f
CF
12065Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
12066
12067 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
12068 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
12069
ba9e88d2
CV
12070Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12071
12072 * libc/include/sys/unistd.h: Add defines for sysconf values
12073 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
12074 _SC_AVPHYS_PAGES.
12075
a8018ef3
CF
12076Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
12077
12078 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
12079 declarations for __CYGWIN__.
12080
b944c6f6
GK
120812000-09-19 Geoffrey Keating <geoffk@cygnus.com>
12082
12083 * libc/signal/signal.c (__sigtramp_r): ISO C requires
12084 case labels to be integral constant expressions, so
12085 use an if/else tree instead.
12086 (_raise_r): Likewise.
12087
7f18fcb4
JJ
120882000-09-13 Jeff Johnston <jjohnstn@redhat.com>
12089
12090 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
12091 clipping patch from e-mail reader.
12092
242361df
JJ
120932000-09-13 Will Cohen <wcohen@redhat.com>
12094
12095 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
12096 Added return value 0.
12097 (_longjmp): Allow longjmp to return value of second argument
12098 passed to it.
12099
8a8c59b9
JJ
121002000-09-06 Jeff Johnston <jjohnstn@redhat.com>
12101
ba3ccd63
EB
12102 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
12103 inline code to prevent having to include another header file.
8a8c59b9 12104
a385ae75
CF
12105Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
12106
12107 * Makefile.am: Fix space vs. tab problem in install-data-local.
12108 * Makefile.in: Regenerate.
12109
12110Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
12111
12112 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
12113 (_EXPARM): New macro for defining a function parameter.
12114 * libc/include/stdlib.h: Use _EXPARM.
12115 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
12116
a36cd013
JJ
121172000-09-05 Manfred Hollstein <manfredh@redhat.com>
12118
ba3ccd63
EB
12119 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
12120 required, as documented in the gnu coding standards.
12121 * Makefile.in: Regenerate.
a36cd013 12122
f825dfda
JJ
121232000-09-05 Jeff Johnston <jjohnstn@redhat.com>
12124
12125 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
12126 make O_NDELAY and O_NONBLOCK have the same value.
12127
4ba9aab7
JJ
121282000-08-30 Kazu Hirata <kazu@hxi.com>
12129
ba3ccd63 12130 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 12131
db7acc38
JJ
121322000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
12133
ba3ccd63
EB
12134 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
12135 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
12136 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
12137 everywhere else.
db7acc38 12138
44e36af4
GK
121392000-08-30 Geoffrey Keating <geoffk@cygnus.com>
12140
12141 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
12142 * libc/include/string.h: Don't include <sys/types.h>,
12143 as it causes really bad namespace pollution. Don't declare
12144 swab(), it is properly declared in unistd.h.
12145
00a2f168
JJ
121462000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
12147
ba3ccd63
EB
12148 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
12149 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 12150
6beeb240
JJ
121512000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12152
ba3ccd63
EB
12153 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
12154 only if _DIRENT_HAVE_D_NAMLEN is defined.
12155 (alphasort): aligned prototype with
12156 libc/sys/cygwin/sys/dirent.h and simplified function body.
12157 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
12158 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 12159
ef44da42
JJ
121602000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12161
ba3ccd63
EB
12162 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
12163 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
12164 Added __CLI and __STI macros (controlled via
12165 _I386MACH_ALLOW_HW_INTERRUPTS macro).
12166 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
12167 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
12168 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
12169 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
12170 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
12171 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
12172 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
12173 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
12174 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
12175 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
12176 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
12177 for all global entry points.
12178 * libc/machine/i386/setjmp.S: removed code replicated in
12179 libc/machine/i386/i386mach.h and included i386mach.h instead;
12180 Use __CLI and __STI instead of cli and sti.
ef44da42 12181
14d3488d
DD
121822000-08-25 DJ Delorie <dj@redhat.com>
12183
12184 * libc/include/sys/unistd.h (environ): this one isn't from the
12185 DLL, no __IMPORT
12186
c9ca4412
CF
12187Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
12188
12189 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
12190 environ when compiling under cygwin since it is already declared in
12191 unistd.h.
12192
2d5862de
JJ
121932000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12194
12195 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
12196 like x << y-z to the equivalent x << (y-z).
12197 (d2b): changed if statements with assignment to perform the
12198 assignment prior to the if check.
12199 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
12200 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
12201 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
12202 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
12203 precedence.
12204 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 12205 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
12206 execve.c).
12207 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
12208 precedence.
12209 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
12210 clarify && and || precendence (and to remove pascalism).
12211 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
12212 * libm/math/s_infconst.c: added another pair of braces to all
12213 initializers for __infinity (need three: for __infinity[1] array,
12214 for union __dmath, and for i[2]).
12215
0888fedd
JJ
122162000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12217
199359f0
JJ
12218 * libc/stdlib/abort.c: changed description: uses "raise" instead of
12219 "getpid" and "kill"; added: uses "write" and "_exit".
12220 Also included unistd.h for "_exit" prototype.
12221 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
12222 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 12223 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
12224 extern char **environ.
12225 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
12226 prototypes.
12227 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
12228 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
12229 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
12230 * libc/reent/openr.c: included fcntl.h for "open" prototype.
12231 * libc/reent/signalr.c: included signal.h for "kill" prototype,
12232 unistd.h for "getpid" prototype.
12233 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
12234 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
12235 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
12236 prototype. Also included stdlib.h for "abort", string.h for
12237 "strdup" and "strncmp" prototypes.
12238 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
12239 "strncpy", unistd.h for "read" and "close" prototypes.
12240 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
12241 "strcat" prototypes.
12242
122432000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
12244
0888fedd
JJ
12245 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
12246 used later (ifdef __SCLE)
12247 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
12248 used later (ifdef MB_CAPABLE)
12249 * libc/string/memset.c (memset): removed unused variables "count"
12250 and "unaligned_addr"
12251 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
12252 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
12253 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
12254 and "gid"
12255
a334e5ef
JJ
122562000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12257
ba3ccd63
EB
12258 * libc/stdlib/envlock.c: changed documented "__env_lock" and
12259 "__env_unlock" prototype from "void *" or "char *" to
12260 "struct _reent *" to match real function. Also added include
a334e5ef 12261 of envlock.h.
ba3ccd63
EB
12262 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
12263 "__malloc_unlock" prototype from "void *" or "char *" to
12264 "struct _reent *" to match real function.
12265 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
12266 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 12267
644b7f26
DD
122682000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
12269
12270 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
12271 and prototype in cygwin's utmp.h
12272
5bacbf10
JJ
122732000-08-16 Eric Fifer <efifer@sanwaint.com>
12274
ba3ccd63 12275 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 12276
38a6bf98
NC
122772000-08-09 Nick Clifton <nickc@cygnus.com>
12278
12279 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
12280 epilogue and to allow the functions to be used in a Thumb based
12281 toolchain.
12282
befe0fb3
JJ
122832000-08-08 Jeff Johnston <jjohnstn@redhat.com>
12284
12285 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
12286 so size of 0 results in nothing being written to string.
12287 Also fixed code so that when size is non-zero, there is only
12288 a maximum of size - 1 characters written to the array and
12289 a nul terminator is appended at the end.
12290 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
12291
749d9bcd
DD
122922000-08-01 DJ Delorie <dj@redhat.com>
12293
12294 * libc/include/sys/config.h: define __IMPORT appropriately
12295 * libc/include/ctype.h (_ctype_): use __IMPORT
12296 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
12297 * libc/include/math.h (__mb_cur_max): ditto
12298 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
12299 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
12300 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
12301 * libc/include/unistd.h (environ): ditto
12302
7c110b17
MM
123032000-07-28 Michael Meissner <meissner@redhat.com>
12304
12305 * libc/include/math.h (__infinity): Declare as an array without
12306 bounds to get around small data support. Rewrite Cygwin support
12307 to be more general.
12308 * libm/math/s_infconst.c (__infinity): Ditto.
12309 * libm/mathfp/s_infconst.c (__infinity): Ditto.
12310
bf7be721
CF
12311Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
12312
12313 * libc/include/math.h: Use appropriate dll import linkage for
12314 __infinity under Cygwin.
12315
91a8d90b
DD
123162000-07-13 DJ Delorie <dj@cygnus.com>
12317
12318 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
12319
ba2048d3
JJ
12320Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
12321
12322 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
12323 to argument list for AngelSWI_Reason_GetCmdLine.
12324
4634da64
JJ
12325Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12326
12327 * configure.host: Add support for AVR target.
12328 * libc/include/machine/ieeefp.h: Likewise.
12329 * libc/include/sys/config.h: Likewise.
12330
b19f72a2
RK
12331Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
12332
12333 * README: Newlib 1.8.2 must be built in a separate directory
12334 than the sources.
12335
a704d94a
JJ
12336Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12337
ba3ccd63
EB
12338 * libc/include/sys/reent.h (_rand_next): Added __extension__
12339 qualifier as long long type is not strict ANSI.
12340 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
12341 to long long constant.
a704d94a 12342
b585720b
CV
12343Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
12344
ba3ccd63
EB
12345 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
12346 `setegid' provided by Cygwin.
b585720b 12347
01c327ba
CV
12348Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
12349
ba3ccd63
EB
12350 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
12351 account for Cygwin.
01c327ba 12352
46a43a99
JJ
12353Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12354
ba3ccd63
EB
12355 * libc/include/sys/reent.h (_rand_next): Changed to
12356 unsigned long long and moved to end of _reent struct in _new union.
12357 (_REENT_INIT): Changed to move _rand_next initialization.
12358 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
12359 linear congruential algorithm that is used by DJGPP.
46a43a99 12360
a68078cb
RK
12361Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
12362
12363 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
12364 * libc/include/sys/config.h: Define __RAND_MAX.
12365
518882f3
JJ
12366Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12367
ba3ccd63
EB
12368 * libc/stdlib/rand_r.c: New algorithm that meets minimal
12369 standard.
518882f3 12370
d51d968a
CF
12371Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
12372
12373 * libc/include/string.h: Work around problem with strsignal and gdb.
12374
d2dd5765
CF
12375Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
12376
12377 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
12378 * libc/include/malloc.h: Ditto.
12379 * libc/include/process.h: Ditto.
12380 * libc/include/stdio.h: Ditto.
12381 * libc/include/stdlib.h: Ditto.
12382 * libc/include/time.h: Ditto.
12383 * libc/include/machine/setjmp.h: Ditto.
12384 * libc/include/sys/errno.h: Ditto.
12385 * libc/include/sys/signal.h: Ditto.
12386 * libc/include/sys/stat.h: Ditto.
12387 * libc/include/sys/time.h: Ditto.
12388 * libc/include/sys/unistd.h: Ditto.
12389 * libc/include/string.h: Ditto. strsignal should return a const char *.
12390
88870218
JJ
123912000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
12392
12393 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
12394 * libm/common/s_log1p.c (log1p): Likewise.
12395 * libm/common/s_scalbn.c (scalbn): Likewise.
12396 * libm/math/e_log.c: Likewise.
12397 * libm/math/e_asin.c: Likewise.
12398 * libm/math/ef_asin.c: Likewise.
12399 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
12400 * libm/math/e_j1.c (pone, qone): Likewise.
12401 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
12402 * libm/math/ef_j1.c (ponef, qonef): Likewise.
12403 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
12404 * libm/mathfp/e_j1.c (pone, qone): Likewise.
12405 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
12406 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
12407
c4e1aa01
DD
124082000-05-19 DJ Delorie <dj@cygnus.com>
12409
12410 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
12411 (__sread): always read in binary mode
12412 (__swrite): always write in binary mode
12413 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
12414 compatibility issues with different dll versions
12415 * libc/stdio/fopen.c: use __stextmode
12416 * libc/stdio/fdopen.c: ditto
12417 * libc/stdio/freopen.c: ditto
12418 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
12419 * libc/stdio/local.h: declare __stextmode
17c0c97d 12420
f4393261
DD
124212000-05-18 DJ Delorie <dj@cygnus.com>
12422
12423 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 12424
2b533fac
JJ
12425Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12426
12427 * libc/include/ctype.h: Changed tolower and toupper macros
12428 to use __extension__ to prevent pedantic warnings.
12429
75362a76
RK
12430Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
12431
12432 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
12433 structures.
12434
ec463fc7
JW
12435Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
12436
12437 * libc/include/machine/ieeefp.h: Add ia64 support.
12438 * configure.host: Likewise.
12439
f35ceefa
JJ
12440Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
12441
ba3ccd63
EB
12442 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
12443 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
12444 ANSI standard.
12445
b96fca8c
CV
12446Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
12447
ba3ccd63
EB
12448 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
12449 host or network path") used by cygwin. Add some comments.
b96fca8c 12450
49d64538
JJ
12451Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
12452
12453 * libc/include/stdio.h (FILE): define __SCLE for "convert line
12454 endings" for Cygwin.
12455 (__sgetc): convert line endings if needed
12456 (__sputc): ditto
12457 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
12458 * libc/stdio/fopen.c (_fopen_r): ditto
12459 * libc/stdio/freopen.c (freopen): ditto
12460 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
12461 * libc/stdio/fvwrite.c (__sfvwrite): ditto
12462
91fb1e7f
AO
12463Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
12464
12465 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
12466 post-increment when it is worth it, spacewise.
12467
c87be3e4
JJ
12468Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12469
12470 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
12471 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 12472 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
12473 return type.
12474 * libc/stdio/putchar.c (putchar): Added return statement.
12475 * libc/stdio/refill.c (lflush): Added correct parentheses.
12476 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 12477 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
12478 prints long value to use l qualifier.
12479 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
12480 messages and initialized local values: ilim, ilim1, and spec_case.
12481 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
12482 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
12483 * libc/stdlib/mprec.c: Ditto.
12484 * libc/stdlib/setenv_r.c: Ditto.
12485 * libc/stdlib/strtod.c: Ditto.
12486 * libc/stdlib/strtol.c: Ditto.
12487 * libc/stdlib/strtoul.c: Ditto.
12488 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
12489 * libm/common/sf_log1p.c: Ditto.
12490 * libm/common/sf_scalbn.c: Ditto.
12491 * libm/math/ef_log.c: Ditto.
12492
11f5b065
CV
12493Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
12494
ba3ccd63
EB
12495 * libc/posix/execvp.c (execvp): Check path for
12496 trailing slash.
11f5b065 12497
796e3b20
CV
12498Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
12499
ba3ccd63
EB
12500 * libc/include/sys/unistd.h: Add prototypes for
12501 fchmod, fchown, lchown.
796e3b20 12502
b489803a
JJ
12503Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12504
12505 * acinclude.m4: Changed release to 1.8.2.
12506 * aclocal.m4 configure doc/aclocal.m4 doc/configure
12507 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
12508 libc/machine/configure libc/machine/a29k/aclocal.m4
12509 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12510 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12511 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12512 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12513 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
12514 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12515 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12516 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12517 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12518 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12519 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12520 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12521 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12522 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12523 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12524 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12525 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12526 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
12527 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12528 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
12529 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
12530 libc/machine/v850/configure libc/machine/w65/aclocal.m4
12531 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
12532 libc/machine/z8k/configure libc/sys/aclocal.m4
12533 libc/sys/aclocal.m4 libc/sys/configure
12534 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12535 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12536 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12537 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12538 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12539 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12540 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12541 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12542 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12543 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12544 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12545 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12546 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12547 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12548 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12549 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12550 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12551 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12552 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12553 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12554 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12555 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12556 libm/aclocal.m4 libm/configure: Regenerated.
12557
79908d67
NC
125582000-03-24 Nick Clifton <nickc@cygnus.com>
12559
12560 * libc/sys/arm/syscalls.c: Fix compile time warnings.
12561 (do_AngelSWI): Add "cc" to list o registers clobbered.
12562
7684ddaf
FN
12563Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12564
12565 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 12566 information to be clobbered by an Angel C library support syscall.
7684ddaf 12567
b8ec20c8
JJ
12568Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12569
12570 * libc/stdlib/envlock.c: Fixed comment typo.
12571
fae4c299
JJ
12572Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12573
12574 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12575 code to update nread as each character is processed instead
12576 of using buffer contents which throw away leading zeroes.
12577
dc98804b
RK
12578Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12579
ba3ccd63 12580 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 12581
5ed2f523
JJ
12582Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12583
12584 * libc/include/string.h: Include <sys/types.h>.
12585
1cf0ee34
AO
12586Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12587
12588 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12589 with XSH5, not SVID.
12590
e9c94978
JJ
12591Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12592
ba3ccd63 12593 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 12594 to make it compatible with XPG4 definition which is
e9c94978
JJ
12595 defined in <unistd.h>. There is a conflict in the SVID 3
12596 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 12597 * libc/string/swab.c: Ditto.
e9c94978 12598
3072163c
JJ
12599Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12600
ba3ccd63
EB
12601 * libc/include/string.h: Changed last argument to size_t.
12602 * libc/string/swab.c: Changed last argument to size_t.
3072163c 12603
f205ea7a
AO
12604Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12605
12606 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12607 (CHEWOUT_FILES): Added unlinkr.def.
12608 * libc/reent/Makefile.in: Rebuilt.
12609 * libc/sys.tex: Include unlinkr.def.
12610 * libc/reent/linkr.c (_unlink_r): Moved to...
12611 * libc/reent/unlinkr.c: ... new file.
12612
85dd2e5b
AO
12613Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12614
12615 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12616 (CHEWOUT_FILES): Added swab.def.
12617 * libc/string/Makefile.in: Rebuilt.
12618 * libc/string/string.tex: Include swab.def.
12619 * libc/include/string.h (swab): Declare.
12620 * libc/string/swab.c: New file.
12621
c5053058
AO
12622Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12623
12624 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12625 (CHEWOUT_FILES): Added getw.def and putw.def.
12626 * libc/stdio/Makefile.in: Rebuilt.
12627 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12628 * libc/stdio/getw.c: New file.
12629 * libc/stdio/putw.c: New file.
12630
dbaf37cf
JJ
12631Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12632
12633 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12634 is non-null before looking at mode[2].
12635
bc019ef2
RK
12636Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12637
12638 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12639 * libm/mathfp/sf_atan.c: Ditto.
12640
12641Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12642
12643 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12644
cd641b2d
RK
12645Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12646
12647 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12648 _DOUBLE_IS_32BITS.
12649
b0ba0ac2
JJ
12650Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12651
12652 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12653 call prior to calling _VFPRINTF_R so reentrant data area is set.
12654 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12655
8a0efa53
CF
12656Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12657
12658 * libc/stdio/vfscanf.c (limits.h): #include.
12659 (MAX_LONG_LEN): #define.
12660 (__svfscanf): Handle floating point numbers with arbitrary amounts
12661 of leading zeroes.
12662
126632000-02-15 Nick Clifton <nickc@cygnus.com>
12664
12665 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12666 zero. Set the blocksize to 1024/
12667
12668Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12669
12670 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12671 with line buffering.
12672
12673Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12674
17c0c97d 12675 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12676 * aclocal.m4 configure libc/aclocal.m4
12677 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12678 libc/locale/Makefile.in libc/machine/aclocal.m4
12679 libc/machine/configure libc/machine/a29k/aclocal.m4
12680 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12681 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12682 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12683 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12684 libc/machine/fr30/configure
12685 libc/machine/h8300/aclocal.m4
12686 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12687 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12688 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12689 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12690 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12691 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12692 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12693 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12694 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12695 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12696 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12697 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12698 libc/machine/powerpc/configure
8a0efa53
CF
12699 libc/machine/sh/aclocal.m4
12700 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12701 libc/machine/sparc/configure
12702 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12703 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12704 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12705 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12706 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12707 libc/reent/Makefile.in
8a0efa53
CF
12708 libc/signal/Makefile.in
12709 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12710 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12711 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12712 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12713 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12714 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12715 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12716 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12717 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12718 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12719 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12720 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12721 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12722 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12723 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12724 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12725 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12726 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12727 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12728 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12729 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12730 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12731 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12732 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12733 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12734 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12735 libm/configure: Regenerated.
12736
12737Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12738
12739 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12740 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12741 * libc/include/string.h: Added _strdup_r.
17c0c97d 12742 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12743 * libc/stdlib/strdup.c: Ditto.
12744 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12745 * libc/include/stdlib.h: Ditto.
17c0c97d 12746 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12747 * libc/string/Makefile.in: Regenerated.
12748 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12749 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12750 management calls to reentrant versions.
12751 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12752 * libc/stdlib/wctomb.c: Ditto.
12753 * libc/stdlib/mblen.c: Ditto.
12754 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12755 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12756 * libc/stdlib/getenv.c: Ditto.
12757 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12758 and _strdup_r.
12759
12760Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12761
12762 patch from Corinna Vinschen <corinna@vinschen.de>
12763 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12764
bc019ef2 12765Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12766
12767 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12768 * libm/mathfp/s_ldexp.c: Ditto.
12769 * libm/mathfp/sf_atangent.c: Ditto.
12770 * libm/mathfp/sf_ldexp.c: Ditto.
12771
12772Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12773
12774 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12775 * libc/include/locale.h: define NULL to be 0.
12776
12777Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12778
12779 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12780 function.
12781
12782Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12783
12784 * libc/machine/mn10300/setjmp.S: Handle am33.
12785
127861999-11-26 Nick Clifton <nickc@cygnus.com>
12787
12788 * libc/sys/arm/syscalls.c: Add function prototypes.
12789 (stack_ptr): Move declaration before function definitions.
12790
12791Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12792
12793 * NEWS: Updated version information.
12794 * README: Ditto.
12795
12796Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12797
12798 * libc/machine/i386/strchr.S: Fixed alignment test.
12799
12800Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12801
12802 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12803
12804Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12805
12806 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12807 ensuring that there is space between the two.
8a0efa53
CF
12808
12809Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12810
12811 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12812 only.
12813
128141999-10-08 Vadim Egorov <egorovv@1c.ru>
12815
12816 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12817 section
12818
12819Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12820
12821 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12822 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12823
12824Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12825 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12826 per POSIX 1003.1b.
12827 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12828 per POSIX 1003.1b.
12829
128301999-09-13 DJ Delorie <dj@cygnus.com>
12831
12832 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12833 also.
12834
12835Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12836
12837 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12838 also note BUFSIZ as its size.
12839
12840Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12841
12842 * configure.host: Corrected feature defines for RTEMS.
12843 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12844 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12845 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12846 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12847 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12848 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12849 _PC_PRIO_IO, and _PC_SYNC_IO.
12850 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12851 * libc/machine/m68k/Makefile.in: Regenerated.
12852 * libc/machine/m68k/strcpy.c: New file.
12853 * libc/machine/m68k/strlen.c: New file.
12854 * libc/stdio/tmpnam.c: Always make the returned name usable.
12855 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12856 * libc/sys/rtems/sys/dirent.h: New file.
12857 * libc/sys/rtems/sys/types.h: Added dev_t.
12858
12859Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12860
12861 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12862
12863Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12864
12865 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12866 my patch.
12867
12868Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12869
12870 patch from Jeff Johnston <jjohnstn@cygnus.com>
12871 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12872 buffer is not in a useful state.
12873
128741999-09-01 Nick Clifton <nickc@cygnus.com>
12875
12876 * libc/sys/arm/syscalls.c (_link): Add stub.
12877
12878Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12879
12880 * ftell.c (ftell): Use actual position within buffer for text mode.
12881 * findfp.c (std): Initialize ptr->_bf._size.
12882
12883Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12884
12885 * libc/include/sys/unistd.h: Add nice() declaration.
12886
128871999-08-09 Nick Clifton <nickc@cygnus.com>
12888
12889 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12890 declare as a thumb function so that the disassembler will see the
12891 mode change.
12892
12893Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12894
12895 * libc/reent/reent.tex: Updated list of reentrant functions.
12896
128971999-07-09 Michael Meissner <meissner@cygnus.com>
12898
12899 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12900
8a0efa53
CF
12901Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12902
12903 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12904 separate file.
12905 * libc/stdio/snprintf.c: New file.
12906 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12907 separate file.
12908 * libc/stdio/vsnprintf.c: New file.
12909 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12910 * libc/stdio/Makefile.in: Regenerated.
12911
12912Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12913
12914 Patch submitted by Egor Duda <deo@logos-m.ru>:
12915 * libc/include/stdio.h: Add declarations for *nprintf.
12916 * libc/stdio/sprintf.c (snprintf): New function.
12917 (_snprintf_r): New function.
12918 * libc/stdio/vsprintf.c (vsnprintf): New function.
12919 (_vnsprintf_r): New function.
12920
12921Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12922
12923 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12924 * libm/Makefile.am (stmp-targetdep): Ditto.
12925 * libc/Makefile.in: Regenerated.
12926 * libm/Makefile.in: Ditto.
12927
12928Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12929
12930 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12931 * libm/Makefile.am (stmp-targetdep): Ditto.
12932 * libc/Makefile.in: Regenerated.
12933 * libm/Makefile.in: Ditto.
12934
12935Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12936
12937 * Makefile.am: Removed dependencies on all-recursive and added "."
12938 to the SUBDIRS list to prevent infinite recursion from occurring.
12939 Also removed any references to EXTRA_DATA.
12940 * libc/Makefile.am: Ditto.
12941 * libc/machine/Makefile.am: Ditto.
12942 * libc/machine/i386/Makefile.am: Ditto.
12943 * libm/Makefile.am: Ditto.
12944 * libc/sys/Makefile.am: Ditto.
12945 * Makefile.in: Regenerated.
12946 * aclocal.m4: Ditto.
12947 * configure: Ditto.
12948 * doc/Makefile.in: Ditto.
12949 * doc/aclocal.m4: Ditto.
12950 * doc/configure: Ditto.
12951 * libc/Makefile.in: Ditto.
12952 * libc/aclocal.m4: Ditto.
12953 * libc/configure: Ditto.
12954 * libc/machine/Makefile.in: Ditto.
12955 * libc/machine/aclocal.m4: Ditto.
12956 * libc/machine/configure: Ditto.
12957 * libc/machine/mn10300/Makefile.in: Ditto.
12958 * libc/machine/mn10300/aclocal.m4: Ditto.
12959 * libc/machine/mn10300/configure: Ditto.
12960 * libc/sys/Makefile.in: Ditto.
12961 * libc/sys/aclocal.m4: Ditto.
12962 * libc/sys/configure: Ditto.
12963 * libm/Makefile.in: Ditto.
12964 * libm/aclocal.m4: Ditto.
12965 * libm/configure: Ditto.
12966
12967Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12968
12969 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12970
12971Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12972
12973 * libc/include/stdlib.h: Add reentrant routines.
12974 * libc/stdlib/Makefile.am: Add reentrant routines.
12975 * libc/stdlib/Makefile.in: Ditto.
12976 * libc/stdlib/envlock.c: New file.
12977 * libc/stdlib/envlock.h: New file.
12978 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12979 * libc/stdlib/getenv_r.c: New file.
12980 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12981 * libc/stdlib/mblen_r.c: New file.
12982 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12983 * libc/stdlib/setenv_r.c: New file.
12984 * libc/stdlib/stdlib.tex: Add reentrant routines.
12985
12986Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12987
12988 * libc/include/sys/types.h: Define __MS_types__ whenever
12989 cygwin or win32.
12990
12991Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12992
12993 * libc/include/machine/ieeefp.h: Always default to little
12994 endian if Windows, regardless of architecture.
12995 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12996 regardless of architecture.
12997
12998Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12999
13000 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
13001 _WIN32 isn't defined.
13002
13003Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
13004
13005 * libm/common/s_rint.c (rint): Add volatile qualifier for
13006 intermediate value w.
13007 * libm/common/sf_rint.c (rintf): Ditto.
13008
13009Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
13010
13011 * libc/sys/arm/syscalls.c (remap_handle): Added check to
13012 ensure that std streams are initialized before being referenced.
13013
130141999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
13015
13016 * README: Update reference to newlib@cygnus.com new
13017 newlib@sourceware.cygnus.com address.
13018
13019Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
13020
13021 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
13022 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
13023 defined, even if _WIN32 isn't defined.
13024
13025Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
13026
13027 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
13028
13029Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13030
13031 * libc/include/sys/reent.h: Change Long and ULong to __Long and
13032 __ULong.
13033 * libc/stdlib/dtoa.c: Ditto.
13034 * libc/stdlib/mprec.c: Ditto.
13035 * libc/stdlib/mprec.h: Ditto.
13036 * libc/stdlib/strtod.c: Ditto.
13037
130381999-04-21 Nick Clifton <nickc@cygnus.com>
13039
13040 * configure.host (mcore): Remove mcore machine directory.
13041
130421999-04-18 Nick Clifton <nickc@cygnus.com>
13043
13044 * libc/include/machine/ieeefp.h: Add support for mcore target.
13045 * libc/include/machine/setjmp.h: Add support for mcore target.
13046 * configure.host: Add support for mcore target.
13047
130481999-04-13 Mark Salter <msalter@cygnus.com>
13049
13050 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
13051 * libc/sys/arm/syscalls.c: Added isatty.
13052
13053Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13054
13055 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
13056 insert zeroes after significant digits.
13057
13058Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 13059
8a0efa53
CF
13060 * libc/stdio/vfprintf.c (cvt): Changed floating point
13061 cvt routine to use union used by dtoa to properly determine
13062 if the sign bit is on or not.
13063 * libc/stdio/vfieeefp.h: New file
17c0c97d 13064
8a0efa53
CF
13065Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13066
13067 * aclocal.m4: Regenerated.
13068 * configure: Regenerated.
13069
13070Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13071
13072 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
13073 f_tanf reference.
13074 * libc/machine/i386/Makefile.in: Regenerated.
13075
13076Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
13077
13078 * acinclude.m4: Changed to work with new automake.
13079 * configure: Regenerated.
13080 * libc/machine/i386/aclocal.m4: Regenerated.
13081 * libc/machine/i386/configure: Regenerated.
13082
13083Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
13084
13085 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
13086 for telldir() and seekdir(). Rename unused structure element
13087 for use with these two routines.
13088
13089Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
13090
13091 * libc/time/mktime.c (validate_structure): Multiple fixes to
13092 code to handle cases where input fields are outside valid ranges.
13093 * libc/stdlib/div.c (div): Modified invalid rounding check.
13094 * libc/stdlib/ldiv.c (ldiv): Ditto.
13095
13096Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
13097
13098 * libc/machine/i386/memcpy.S: Performance rewrite.
13099 * libc/machine/i386/memmove.S: Ditto.
13100 * libc/machine/i386/i386mach.h: Added more register definitions.
13101 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
13102 option used.
13103 * libc/include/machine/fastmath.h: Add definitions for x86
13104 fast-math routines.
13105
13106Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13107
13108 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
13109
13110Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
13111
13112 Adjust newlib headers for new Cygwin Win32 API header files:
13113 * libc/include/sys/time.h: Check _WINSOCK_H rather than
13114 _GNU_H_WINDOWS32_SOCKETS.
13115 * libc/include/sys/types.h: Ditto.
13116
13117Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13118
13119 *include/sys/reent.h: Add checks for size of Bigint element Long.
13120 *libc/dtoa.c: Change routines to use generic Long type.
13121 *libc/mprec.c: Change routines to use generic Long type.
13122 *libc/mprec.h: Change routines to use generic Long type.
13123
13124Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
13125
13126 * libc/Makefile.am: Add .def files.
13127 * libc/Makefile.in: Regenerate.
13128 * libc/e_acosh.c: Documentation update.
13129 * libc/e_atanh.c: Documentation update.
13130 * libc/e_hypot.c: Documentation update.
13131 * libc/e_remainder.c: Documentation update.
13132 * libc/er_lgamma.c: Documentation update.
13133 * libc/mathfp.tex: Documentation update.
13134 * libc/s_acos.c: Documentation update.
13135 * libc/s_atan.c: Documentation update.
13136 * libc/s_atan2.c: Documentation update.
13137 * libc/s_cosh.c: Documentation update.
13138 * libc/s_fmod.c: Documentation update.
13139 * libc/s_isnan.c: Documentation update.
13140 * libc/s_log10.c: Documentation update.
13141 * libc/s_pow.c: Documentation update.
13142 * libc/w_jn.c: Documentation update.
13143
13144Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
13145
13146 * aclocal.m4: Regenerate.
13147 * configure: Regenerate.
13148
13149Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
13150
ba3ccd63
EB
13151 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
13152 to return 1 if user specified return code is 0.
13153 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
13154
13155Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
13156
13157 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
13158 to save the return address. Fixed longjmp to return to the original
13159 calling address of setjmp and to return the user specified return code
13160 rather than default to 1.
13161 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
13162
13163Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
13164
13165 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
13166
131671999-02-10 Nick Clifton <nickc@cygnus.com>
13168
13169 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
13170 volatile so that its assignments will not be discarded.
13171
13172Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
13173
13174 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
13175 be __STRICT_ANSI__ which is generated by compiler.
13176 * libc/include/ctype.h: Ditto.
13177 * libc/include/math.h: Ditto.
13178 * libc/include/stdio.h: Ditto.
13179 * libc/include/stdlib.h: Ditto.
13180 * libc/include/string.h: Ditto.
13181 * libc/include/sys/signal.h: Ditto.
13182
131831999-02-08 Nick Clifton <nickc@cygnus.com>
13184
13185 * configure.host: Add support for StrongARM target.
13186
13187Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
13188
13189 * libc/string/strncpy.c (strncpy): Removed redundant code
13190 that was copying bytes if data unaligned.
13191
131921999-02-02 Brendan Kehoe <brendan@cygnus.com>
13193
13194 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
13195 mbstowcs.def, and wcstombs.def.
13196
13197Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
13198
13199 * libc/include/sys/errno.h: Add Cygwin errno.
13200 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
13201 is specified.
13202
132031999-01-29 Nick Clifton <nickc@cygnus.com>
13204
13205 * libc/sys/arm/syscalls.c: Move C library functions into seperate
13206 file.
17c0c97d 13207
8a0efa53
CF
13208 * libc/sys/arm/libcfunc.c: New file containing C library functions
13209 from syscalls.c
13210
13211 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
13212 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
13213
13214
132151999-01-27 Michael Meissner <meissner@cygnus.com>
13216
13217 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
13218 type, and cut size in half so that the jmp_buf array is guaranteed
13219 to be aligned on a 64-bit boundary.
13220
13221Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
13222
13223 * libc/string/strings.tex: Added information about
13224 strcasecmp and strncasecmp.
13225 * libc/stdlib/stdlib.tex: Added missing information
13226 about mblen, mbstowcs, and wcstombs.
13227 * libc/string/strchr.c: Changed how mask is built to use
13228 shift operators so register will be used instead of storage.
13229
132301999-01-22 DJ Delorie <dj@cygnus.com>
13231
13232 * libc/include/stdlib.h: don't use dllimport if we're building
13233 newlib, since it's inside cygwin.dll
13234
13235Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
13236
13237 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
13238 _ctype_ under cygwin.
13239
13240Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
13241
13242 * include/stdlib.h: Fix typo from previous checkin.
13243
13244Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
13245
13246 * include/ctype.h: Use __declspec(dllimport) method for exporting
13247 variable from cygwin DLL.
13248 * include/time.h: Ditto.
13249 * sys/errno.h: Ditto.
13250 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
13251 * libc/locale/locale.c: Use __declspec(dllexport) method for
13252 exporting variable from cygwin DLL.
13253
13254Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
13255
13256 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
13257 access of bogus pointer will result in SIGSEGV.
13258
132591999-01-07 Nick Clifton <nickc@cygnus.com>
13260
13261 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
13262 of an underscore prefix to function names.
13263
13264Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
13265
13266 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
13267 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
13268
132691998-12-31 Michael Meissner <meissner@cygnus.com>
13270
13271 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
13272 to `%' if not already defined.
13273
132741998-12-30 Michael Meissner <meissner@cygnus.com>
13275
13276 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
13277 arguments const char *, not char *.
13278 * libc/include/stdio.h (_tempnam_r): Ditto.
13279
13280 * libc/include/sys/reent.h (struct _reent): The _sig_func type
13281 points to a function taking an integer, not void.
13282
13283Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
13284
13285 * configure.host: Add a define for Cygwin builds.
13286 * libc/include/ctype.h: Don't use dll imported variables in newlib.
13287
13288Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
13289
13290 * libc/include/ctype.h: Define _ctype_ as dll imported variable
13291 for use with Cygwin.
13292 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
13293 dll imported variables for use with Cygwin.
13294 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
13295 as a dll imported variable for Cygwin.
13296
13297Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
13298
13299 * libc/include/sys/unistd.h: Add proto for getpass.
13300
13301Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
13302
13303 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
13304 alphasort.
13305
13306Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
13307
13308 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
13309 not posix_path_list_p.
13310
133111998-12-15 Nick Clifton <nickc@cygnus.com>
13312
13313 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
13314 a signed int.
13315
133161998-12-13 Nick Clifton <nickc@cygnus.com>
13317
13318 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
13319
133201998-12-12 Nick Clifton <nickc@cygnus.com>
13321
13322 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
13323 <msalter@cygnus.com>
13324 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
13325 * libc/machine/fr30/Makefile.in: Regenerated.
13326
133271998-12-11 Nick Clifton <nickc@cygnus.com>
13328
13329 * configure.host: Remove use of libc/sys for FR30 port.
13330 * libc/sys/fr30: Remove directory (replaced by libgloss).
13331
133321998-12-10 Ken Raeburn <raeburn@cygnus.com>
13333
13334 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
13335 * libc/string/strncat.c (ALIGNED): Ditto.
13336
13337Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
13338
13339 * libc/include/sys/time.h: include sys/types.h
13340
13341Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
13342
13343 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
13344 comparison found when checking word at a time.
13345
133461998-12-04 Nick Clifton <nickc@cygnus.com>
13347
13348 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
13349
133501998-12-03 Nick Clifton <nickc@cygnus.com>
13351
13352 * libc/sys/fr30/syscalls.c (_times): New function stub.
13353
13354Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
13355
13356 * configure.host (mach_add_setjmp): Replaced mach_add_objs
13357 with mach_add_setjmp flag which indicates if setjmp should
13358 be added to the machine directory objects.
13359 * acinclude.m4: Removed reference to mach_add_objs.
13360 * aclocal.m4: Regenerated.
13361 * Makefile.in: Regenerated.
13362 * configure: Regenerated.
13363 * libc/aclocal.m4: Regenerated.
13364 * libc/Makefile.in: Regenerated.
13365 * libc/configure: Regenerated.
13366 * libc/machine/aclocal.m4: Regenerated.
13367 * libc/machine/Makefile.in: Regenerated.
13368 * libc/machine/configure: Regenerated.
13369 * libc/machine/i386/aclocal.m4: Regenerated.
13370 * libc/machine/i386/Makefile.am: Altered to selectively add
13371 setjmp.S to the src files list.
13372 * libc/machine/i386/Makefile.in: Regenerated.
13373 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
13374 * libc/machine/i386/configure: Regenerated.
13375
133761998-12-02 Nick Clifton <nickc@cygnus.com>
13377
13378 * libc/sys/fr30/crt0.s (_start): Fix function names.
13379
13380 * libc/machine/fr30: New directory
13381 * libc/machine/fr30/Makefile.am: New file.
13382 * libc/machine/fr30/Makefile.in: New generated file.
13383 * libc/machine/fr30/configure.in: New file.
13384 * libc/machine/fr30/configure: New generated file.
13385 * libc/machine/fr30/aclocal.m4: New generated file.
13386 * libc/sys/fr30/Makefile.am: New file.
13387 * libc/sys/fr30/Makefile.in: New generated file.
13388 * libc/sys/fr30/configure.in: New file.
13389 * libc/sys/fr30/configure: New generated file.
13390 * libc/sys/fr30/syscalls.c: New file.
13391
13392Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
13393
13394 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
13395
133961998-12-01 Ken Raeburn <raeburn@cygnus.com>
13397
13398 * libc/time/strftime.c (strftime): Also handle %y for years before
13399 1900.
13400
13401Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
13402
13403 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
13404 UNIX convention. Perform tolower on characters before comparing
13405 them rather than use toupper.
13406 * libc/string/strncasecmp.c (strncasecmp): Ditto.
13407
13408Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 13409
8a0efa53
CF
13410 * configure.host: Added using i386 machine directory
13411 for all x86 cross-compiler and configuring
13412 which added object files to use via new "mach_add_objs" variable.
13413 * configure: Regenerated.
13414 * libc/configure: Regenerated.
13415 * libc/Makefile.in: Regenerated.
13416 * libc/aclocal.m4: Regenerated.
13417 * libc/ctype/Makefile.in: Regenerated.
13418 * libc/errno/Makefile.in: Regenerated.
13419 * libc/locale/Makefile.in: Regenerated.
13420 * libc/machine/Makefile.in: Regenerated.
13421 * libc/machine/aclocal.m4: Regenerated.
13422 * libc/machine/configure: Regenerated.
13423 * libc/posix/Makefile.in: Regenerated.
13424 * libc/reent/Makefile.in: Regenerated.
13425 * libc/signal/Makefile.in: Regenerated.
13426 * libc/stdio/Makefile.in: Regenerated.
13427 * libc/stdlib/Makefile.in: Regenerated.
13428 * libc/string/Makefile.in: Regenerated.
13429 * libc/string/memmove.c: Optimized code to use memcpy
13430 logic when performing a non-destructive copy.
13431 * libc/string/strncmp.c: Altered code to allow building
13432 optimized for size or speed.
13433 * libc/syscalls/Makefile.in: Regenerated.
13434 * libc/time/Makefile.in: Regenerated.
13435 * libc/unix/Makefile.in: Regenerated.
13436 * libc/machine/i386/Makefile.am: Added new files and reference
13437 to "mach_add_objs" to indicate optional object files.
13438 * libc/machine/i386/Makefile.in: Regenerated.
13439 * libc/machine/i386/aclocal.m4: Regenerated.
13440 * libc/machine/i386/configure: Regenerated.
13441 * libc/machine/i386/memchr.S: New file that implements
13442 function in Intel assembler.
13443 * libc/machine/i386/memcmp.S: ditto.
13444 * libc/machine/i386/memcpy.S: ditto.
13445 * libc/machine/i386/memmove.S: ditto.
13446 * libc/machine/i386/memset.S: ditto.
13447 * libc/machine/i386/strchr.S: ditto.
13448 * libc/machine/i386/strlen.S: ditto.
13449 * libc/machine/i386/f_atan2.S: New file that implements
13450 fast version of math function to be used by compiler when
13451 --ffast_math compile option is used.
13452 * libc/machine/i386/f_atan2f.S: ditto.
13453 * libc/machine/i386/f_exp.c: ditto.
13454 * libc/machine/i386/f_expf.c: ditto.
13455 * libc/machine/i386/f_frexp.S: ditto.
13456 * libc/machine/i386/f_frexpf.S: ditto.
13457 * libc/machine/i386/f_ldexp.S: ditto.
13458 * libc/machine/i386/f_ldexpf.S: ditto.
13459 * libc/machine/i386/f_log.S: ditto.
13460 * libc/machine/i386/f_logf.S: ditto.
13461 * libc/machine/i386/f_log10.S: ditto.
13462 * libc/machine/i386/f_log10f.S: ditto.
13463 * libc/machine/i386/f_math.h: New file.
13464 * libc/machine/i386/f_pow.c: ditto.
13465 * libc/machine/i386/f_powf.S: ditto.
13466 * libc/machine/i386/f_tan.S: ditto.
13467 * libc/machine/i386/f_tan.S: ditto.
13468 * libc/machine/i386/i386mach.h: New file.
13469
13470Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
13471
13472 patch from Mumit Khan <khan@xraylith.wisc.edu>
13473 * libc/include/stdio.h (tempnam): Add prototype.
13474 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
13475 (tempnam): Adhere to prototype.
13476
13477Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
13478
13479 * Makefile.am: Add default for AR_FLAGS.
13480 * Makefile.in: Regenerate.
13481
13482Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
13483
13484 * libc/include/time.h: move __cplusplus wrapper after includes
13485 * libc/include/sys/time.h: ditto. If Cygwin, include
13486 sys/select.h.
13487 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
13488
134891998-11-23 Ken Raeburn <raeburn@cygnus.com>
13490
13491 * libc/time/strftime.c (strftime): Handle %y after year 2000.
13492
13493Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
13494
13495 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
13496 abnormnal end-of-crt0 marker.
13497
13498Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
13499
13500 * libc/sys/fr30/crt0.s: New file/directory.
13501 * libc/include/machine/setjmp.h: Add FR30 target.
13502 * libc/include/machine/ieeefp.h: Add FR30 target.
13503 * configure.host: Add FR30 target.
13504
13505Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13506
ba3ccd63
EB
13507 * libm/math: Files that are duplicated in common directory removed.
13508 * libm/math/fdlibm.h: Removed.
13509 * libm/math/s_cbrt.c: Removed.
13510 * libm/math/s_copysign.c: Removed.
13511 * libm/math/s_expm1.c: Removed.
13512 * libm/math/s_finite.c: Removed.
13513 * libm/math/s_ilogb.c: Removed.
13514 * libm/math/s_infinity.c: Removed.
13515 * libm/math/s_lib_ver.c: Removed.
13516 * libm/math/s_log1p.c: Removed.
13517 * libm/math/s_logb.c: Removed.
13518 * libm/math/s_matherr.c: Removed.
13519 * libm/math/s_modf.c: Removed.
13520 * libm/math/s_nan.c: Removed.
13521 * libm/math/s_nextafter.c: Removed.
13522 * libm/math/s_rint.c: Removed.
13523 * libm/math/s_scalbn.c: Removed.
13524 * libm/math/sf_cbrt.c: Removed.
13525 * libm/math/sf_copysign.c: Removed.
13526 * libm/math/sf_expm1.c: Removed.
13527 * libm/math/sf_finite.c: Removed.
13528 * libm/math/sf_ilogb.c: Removed.
13529 * libm/math/sf_infinity.c: Removed.
13530 * libm/math/sf_log1p.c: Removed.
13531 * libm/math/sf_logb.c: Removed.
13532 * libm/math/sf_modf.c: Removed.
13533 * libm/math/sf_nan.c: Removed.
13534 * libm/math/sf_nextafter.c: Removed.
13535 * libm/math/sf_rint.c: Removed.
13536 * libm/math/sf_scalbn.c: Removed.
13537 * libm/math/Makefile.am: Removed references to deleted files (above).
13538 * libm/math/Makefile.in: Regenerated.
13539 * libm/Makefile.am: Added common directory to math.
13540 * libm/Makefile.in: Regenerated.
8a0efa53
CF
13541
13542Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13543
ba3ccd63
EB
13544 * libm/mathfp: Add non-ANSI functions.
13545 * libm/mathfp/e_acosh.c acosh(): New file.
13546 * libm/mathfp/e_atanh.c atanh(): New file.
13547 * libm/mathfp/e_hypot.c hypot(): New file.
13548 * libm/mathfp/e_j0.c j0(): New file.
13549 * libm/mathfp/e_j1.c j1(): New file.
13550 * libm/mathfp/e_remainder.c remainder(): New file.
13551 * libm/mathfp/e_scalb.c scalb(): New file.
13552 * libm/mathfp/ef_acosh.c acoshf(): New file.
13553 * libm/mathfp/ef_atanh.c atanhf(): New file.
13554 * libm/mathfp/ef_hypot.c hypotf(): New file.
13555 * libm/mathfp/ef_j0.c j0f(): New file.
13556 * libm/mathfp/ef_j1.c j1f(): New file.
13557 * libm/mathfp/ef_remainder.c remainderf(): New file.
13558 * libm/mathfp/ef_scalb.c scalbf(): New file.
13559 * libm/mathfp/er_gamma.c gamma_r: New file.
13560 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
13561 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
13562 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
13563 * libm/mathfp/w_cabs.c cabs(): New file.
13564 * libm/mathfp/w_drem.c drem(): New file.
13565 * libm/mathfp/w_jn.c jn(): New file.
13566 * libm/mathfp/wf_cabs.c cabsf(): New file.
13567 * libm/mathfp/wf_drem.c dremf(): New file.
13568 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
13569
13570Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13571
13572 * libc/sys/cygwin32: remove directory and contents
13573 * libc/sys/cygwin: and add back, losing the "32".
13574 * configure.host: check for cygwin* instead of cygwin32.
13575 * acinclude.m4: ditto.
13576 * aclocal.m4: regenerate with aclocal
13577 * configure: regenerate with autoconf
13578
13579Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13580
13581 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13582 for length
13583
13584Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13585
13586 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13587 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13588 to make rand/srand, strtok, asctime, localtime, w_gamma,
13589 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13590 time.h to bring in struct tm definition.
13591 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13592 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13593 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13594 instead of static variable.
13595 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13596 struct reent instead of static variable.
13597 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13598 struct reent instead of static variable.
13599 * libm/math/Makefile.am: Removed s_signgam.o.
13600 * libm/math/Makefile.in: Regenerated.
13601 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13602 struct reent instead of global variable 'signgam'.
13603 * libm/math/w_lgamma.c (lgamma): Likewise.
13604 * libm/math/wf_gamma.c (gammaf): Likewise.
13605 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13606 * libm/math/s_signgam.c: Removed.
13607 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13608 to be const.
13609 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13610 to be const.
13611 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13612 libc/include/reent.h.
13613 * libc/reent/Makefile.in: Regenerated.
13614 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13615 to be const.
13616 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13617 'JIS_action_table' to be const.
13618 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13619
13620Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13621
13622 * acinclude.m4: $with_target_subdir should default to '.'
13623 or confusion results when configuring in same directory as sources.
13624 * Regenerate all aclocal.m4 and configure files.
13625
13626Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13627
13628 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13629 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13630 for platforms where sizeof(size_t) < sizeof(long) via
13631 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13632
8a0efa53
CF
13633Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13634
13635 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13636 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13637 which sets _CLOCKS_PER_SEC_ for selected machines.
13638 * libc/include/machine/time.h: New file.
13639
13640Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13641
13642 * libc/syscalls/sysexecve.c: New file.
13643 * libc/syscalls/sysgettod.c: New file.
13644 * libc/syscalls/systimes.c: New file.
13645 * libc/syscalls/Makefile.am: Added new objects.
13646 * libc/syscalls/Makefile.in: Regenerated.
13647 * libc/include/_syslist.h (_execve): Moved define in file.
13648 * libc/include/reent.h: Added _execve_r declaration.
13649 * libc/Makefile.in: Regenerated.
13650 * libc/ctype/Makefile.in: Regenerated.
13651 * libc/errno/Makefile.in: Regenerated.
13652 * libc/locale/Makefile.in: Regenerated.
13653 * libc/machine/Makefile.in: Regenerated.
13654 * libc/misc/Makefile.in: Regenerated.
13655 * libc/posix/Makefile.in: Regenerated.
13656 * libc/reent/Makefile.in: Regenerated.
13657 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13658 * libc/signal/Makefile.in: Regenerated.
13659 * libc/stdio/Makefile.in: Regenerated.
13660 * libc/time/Makefile.in: Regenerated.
13661 * libc/unix/Makefile.in: Regenerated.
13662 * libm/mathfp/Makefile.in: Regenerated.
13663
13664Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13665
13666 * libc/string/Makefile.in: Regenerated.
13667 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13668 * libc/string/memcpy.c (memcpy): Ditto.
13669 * libc/string/memcmp.c (memcmp): Ditto.
13670 * libc/string/memset.c (memset): Ditto.
13671 * libc/string/strchr.c (strchr): Ditto.
13672 * libc/string/strcmp.c (strcmp): Ditto.
13673 * libc/string/strcpy.c (strcpy): Ditto.
13674 * libc/string/strlen.c (strlen): Ditto.
13675
13676Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13677
13678 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13679 to generate aclocal.m4.
13680 * libm/Makefile.in: Regenerated.
13681 * libm/aclocal.m4: Regenerated.
13682 * libm/configure: Regenerated.
13683 * libm/math/Makefile.in: Regenerated.
13684 * libm/mathfp/Makefile.in: Regenerated.
13685
136861998-09-25 Mark Salter <msalter@cygnus.com>
13687
13688 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13689 by adding leading and trailing underscores to symbol names.
13690
13691Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13692
13693 * Makefile.in: Add default for AR_FLAGS.
13694
13695Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13696
13697 patch from ian@airs.com (Ian Taylor):
13698 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13699 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13700 is needed for detecting the build machine. Required for
13701 cygwin native builds.
13702
13703 * Regenerate all aclocal.m4 and configure files.
13704
13705Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13706
13707 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13708 used to start with LC.
13709
13710Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13711
13712 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13713 (longjmp): Likewise.
13714
13715Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13716
13717 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13718 the test for small number of bytes.
13719
13720Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13721
13722 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13723 math library that uses floating point algorithms instead of the old
13724 libm.
13725 * Makefile.in: Regenerate with automake version 1.3b.
13726 * configure: Rebuild.
13727 * libm/Makefile.in: Regenerate with automake version 1.3b.
13728 * libm/aclocal.m4: Regenerate.
13729 * libm/configure: Rebuild.
13730 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13731 * libm/acinclude.m4: Define macros for configure.in.
13732 * libm/config.h.in: Generate.
13733 * libm/mathfp/Makefile.am: New file.
13734 * libm/mathfp/Makefile.in: Generate.
13735 * libm/mathfp/s_acos.c (acos): New file.
13736 * libm/mathfp/s_asin.c (asin): New file.
13737 * libm/mathfp/s_asine.c (asine): New file.
13738 * libm/mathfp/s_atan.c (atan): New file.
13739 * libm/mathfp/s_atan2.c (atan2): New file.
13740 * libm/mathfp/s_atangent.c (atangent): New file.
13741 * libm/mathfp/s_ceil.c (ceil): New file.
13742 * libm/mathfp/s_copysign.c (copysign): New file.
13743 * libm/mathfp/s_cos.c (cos): New file.
13744 * libm/mathfp/s_cosh.c (cosh): New file.
13745 * libm/mathfp/s_exp.c (exp): New file.
13746 * libm/mathfp/s_fabs.c (fabs): New file.
13747 * libm/mathfp/s_finite.c (finite): New file.
13748 * libm/mathfp/s_floor.c (floor): New file.
13749 * libm/mathfp/s_fmod.c (fmod): New file.
13750 * libm/mathfp/s_frexp.c (frexp): New file.
13751 * libm/mathfp/s_infconst.c: New file.
13752 * libm/mathfp/s_isinf (isinf).c: New file.
13753 * libm/mathfp/s_isnan.c (isnan): New file.
13754 * libm/mathfp/s_ispos.c (ispos): New file.
13755 * libm/mathfp/s_ldexp.c (ldexp): New file.
13756 * libm/mathfp/s_log.c (log): New file.
13757 * libm/mathfp/s_log10.c (log10): New file.
13758 * libm/mathfp/s_logarithm.c (logarithm): New file.
13759 * libm/mathfp/s_mathcnst.c: New file.
13760 * libm/mathfp/s_modf (modf).c: New file.
13761 * libm/mathfp/s_numtest.c (numtest): New file.
13762 * libm/mathfp/s_pow.c (pow): New file.
13763 * libm/mathfp/s_scalbn.c (scalbn): New file.
13764 * libm/mathfp/s_sin (sin).c: New file.
13765 * libm/mathfp/s_sine.c (sine): New file.
13766 * libm/mathfp/s_sineh.c (sineh): New file.
13767 * libm/mathfp/s_sinf.c (sinf): New file.
13768 * libm/mathfp/s_sinh.c (sinh): New file.
13769 * libm/mathfp/s_sqrt.c (sqrt): New file.
13770 * libm/mathfp/s_tan.c (tan): New file.
13771 * libm/mathfp/s_tanh.c (tanh): New file.
13772 * libm/mathfp/sf_acos.c (acosf): New file.
13773 * libm/mathfp/sf_asin.c (asinf): New file.
13774 * libm/mathfp/sf_asine.c (asinef): New file.
13775 * libm/mathfp/sf_atan.c (atanf): New file.
13776 * libm/mathfp/sf_atan2.c (atan2f): New file.
13777 * libm/mathfp/sf_atangent.c (atangent): New file.
13778 * libm/mathfp/sf_ceil.c (ceilf): New file.
13779 * libm/mathfp/sf_copysign.c (copysignf): New file.
13780 * libm/mathfp/sf_cos.c (cosf): New file.
13781 * libm/mathfp/sf_cosh.c (coshf): New file.
13782 * libm/mathfp/sf_exp.c (expf): New file.
13783 * libm/mathfp/sf_fabs.c (fabsf): New file.
13784 * libm/mathfp/sf_finite.c (finitef): New file.
13785 * libm/mathfp/sf_floor.c (floorf): New file.
13786 * libm/mathfp/sf_fmod.c (fmodf): New file.
13787 * libm/mathfp/sf_frexp.c (frexpf): New file.
13788 * libm/mathfp/sf_isinf.c (isinff): New file.
13789 * libm/mathfp/sf_isnan.c (isnanf): New file.
13790 * libm/mathfp/sf_ispos.c (isposf): New file.
13791 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13792 * libm/mathfp/sf_log.c (logf): New file.
13793 * libm/mathfp/sf_log10.c (log10f): New file.
13794 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13795 * libm/mathfp/sf_modf.c (modff): New file.
13796 * libm/mathfp/sf_numtest.c (numtestf): New file.
13797 * libm/mathfp/sf_pow.c (powf): New file.
13798 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13799 * libm/mathfp/sf_sin.c (sinf): New file.
13800 * libm/mathfp/sf_sine.c (sinef): New file.
13801 * libm/mathfp/sf_sineh.c (sinehf): New file.
13802 * libm/mathfp/sf_sinh.c (sinhf): New file.
13803 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13804 * libm/mathfp/sf_tan.c (tanf): New file.
13805 * libm/mathfp/sf_tanh.c (tanhf): New file.
13806 * libm/mathfp/zmath.h: New file.
13807
13808Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13809
13810 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13811 exit if it has been overwritten by pre-fetching in delay slot.
13812
138131998-09-01 Michael Meissner <meissner@cygnus.com>
13814
13815 * Makefile.am (tooldir): Add in host_alias, so that multilib
13816 libraries are installed in the directory the compiler looks in.
13817 * Makefile.in: Regenerate.
13818
13819 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13820
13821Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13822
13823 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13824 ahead of test for number of bytes being moved.
13825
13826Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13827
13828 * libc/include/sys/unistd.h: Nothing special needed for
13829 _exit under cygwin.
13830
13831Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13832
13833 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13834 conform to user label naming conventions.
8a0efa53
CF
13835
13836Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13837
13838 * libc/sys/cygwin32/sys/utime.h: variable names in
13839 protos should start with two leading underscores
13840 * libc/include/string.h: ditto
13841 * libc/include/sys/signal.h: ditto
13842 * libc/include/sys/stat.h: ditto
13843 * libc/include/sys/time.h: ditto
13844 * libc/include/sys/unistd.h: ditto
13845 * libc/include/ctype.h: ditto
13846 * libc/include/stdlib.h: ditto
13847 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13848 void, same with _sig_func.
13849
13850Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13851
13852 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13853 for MB_CAPABLE to reduce code size when newlib is not configured
13854 with --enable-newlib-mb.
13855 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13856 mbtowc_r.o to minimize size.
8a0efa53 13857 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13858
8a0efa53
CF
13859Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13860
13861 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13862 to -DREENT.
13863 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13864
8a0efa53
CF
13865Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13866
13867 * Makefile.am (MAKEOVERRIDES): Define.
13868 * Makefile.in: Rebuild.
13869
13870Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13871
13872 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13873
13874Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13875
13876 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13877 newlib_cflags when looking for targ-include.
13878 * */aclocal.m4, */configure: Rebuild.
13879
13880Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13881
ba3ccd63
EB
13882 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13883 to "_end".
8a0efa53
CF
13884
13885Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13886
13887 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13888 on SPARCs with little-endian data.
13889 * libc/include/machine/ieeefp.h: Ditto.
13890
13891Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13892
13893 * acinclude.m4: Handle a relative srcdir correctly when setting
13894 newlib_cflags.
13895 * */aclocal.m4, */configure: Rebuild.
13896
13897Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13898
13899 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13900 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13901 * libm/math/wrf_gamma.c (gammaf_r): ditto
13902 * libm/math/wr_lgamma.c (lgamma_r): ditto
13903 * libm/math/wr_gamma.c (gamma_r): ditto
13904 * libm/math/wf_sqrt.c (sqrtf): ditto
13905 * libm/math/wf_sinh.c (sinhf): ditto
13906 * libm/math/wf_scalb.c (scalbf): ditto
13907 * libm/math/wf_remainder.c (remainderf): ditto
13908 * libm/math/wf_pow.c (powf): ditto
13909 * libm/math/wf_log10.c (log10f): ditto
13910 * libm/math/wf_log.c (logf): ditto
13911 * libm/math/wf_lgamma.c (lgammaf): ditto
13912 * libm/math/wf_jn.c (jnf, ynf): ditto
13913 * libm/math/wf_j1.c (j1f, y1f): ditto
13914 * libm/math/wf_j0.c (j0f, y0f): ditto
13915 * libm/math/wf_hypot.c (hypotf): ditto
13916 * libm/math/wf_gamma.c (gammaf): ditto
13917 * libm/math/wf_fmod.c (fmodf): ditto
13918 * libm/math/wf_exp.c (expf): ditto
13919 * libm/math/wf_cosh.c (coshf): ditto
13920 * libm/math/wf_atanh.c (atanhf): ditto
13921 * libm/math/wf_atan2f.c (atan2f): ditto
13922 * libm/math/wf_asin.c (asinf): ditto
13923 * libm/math/wf_acosh.c (acoshf): ditto
13924 * libm/math/wf_acos.c (acosf): ditto
13925 * libm/math/w_sqrt.c (sqrt): ditto
13926 * libm/math/w_sinh.c (sinh): ditto
13927 * libm/math/w_scalb.c (scalb): ditto
13928 * libm/math/w_remainder.c (remainder): ditto
13929 * libm/math/w_pow.c (pow): ditto
13930 * libm/math/w_log10.c (log10): ditto
13931 * libm/math/w_log.c (log): ditto
13932 * libm/math/w_lgamma.c (lgamma): ditto
13933 * libm/math/w_jn.c (jn, yn): ditto
13934 * libm/math/w_j1.c (j1, y1): ditto
13935 * libm/math/w_j0.c (j0, y0): ditto
13936 * libm/math/w_hypot.c (hypot): ditto
13937 * libm/math/w_gamma.c (gamma): ditto
13938 * libm/math/w_fmod.c (fmod): ditto
13939 * libm/math/w_exp.c (exp): ditto
13940 * libm/math/w_cosh.c (cosh): ditto
13941 * libm/math/w_atanh.c (atanh): ditto
13942 * libm/math/w_atan2f.c (atan2): ditto
13943 * libm/math/w_asin.c (asin): ditto
13944 * libm/math/w_acosh.c (acosh): ditto
13945 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13946
13947Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13948
13949 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13950 (fsrc): Add wf_cabs.c and wf_drem.c.
13951 * libm/math/Makefile.in: Rebuild.
13952
13953 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13954 unused directory variables. Remove duplicate CFLAGS.
13955 * Makefile.in: Rebuild.
13956
13957 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13958 with $(CC_FOR_BUILD).
13959 (makedoc.o): Likewise.
13960 * doc/Makefile.in: Rebuild.
13961
13962 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13963 force a definition of COMPILE.
13964 (libfoo_a_SOURCES): Define.
13965 * libc/sys/cygwin32/Makefile.in: Rebuild.
13966 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13967 force a definition of COMPILE.
13968 (libfoo_a_SOURCES): Define.
13969 * libc/sys/tic80/Makefile.in: Rebuild.
13970
13971Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13972
13973 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13974 flag.
13975
13976Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13977
13978 * Build using autoconf and automake. Added many Makefile.am and
13979 configure.in files, plus generated files. Old configure.in files
13980 and all old Makefile.in files completely replaced. Removed
13981 host/any. Added acinclude.m4 and configure.host.
13982
13983Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13984
13985 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13986 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13987
13988Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13989
13990 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13991 * libc/machine/sh/Makefile.in: Add rules for new files.
13992
13993Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13994
13995 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13996 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13997 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13998
13999Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
14000
14001 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
14002 code is ignored.
14003
14004Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
14005
14006 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
14007 internal static buffer when s is NULL, as prescribed by ANSI.
14008
140091998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
14010
14011 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
14012 removed.
14013 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
14014 libc/stdlib will be used for h8300hms.
17c0c97d 14015
8a0efa53
CF
14016Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14017
14018 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
14019 version that can be built either for speed or size.
14020 * libc/machine/mn10300/memset.S (_memset): ditto
14021 * libc/machine/mn10300/memchr.S (_memchr): ditto
14022 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
14023 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
14024 * libc/machine/mn10300/strchr.S (_strchr): ditto
14025 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
14026 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
14027 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 14028 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
14029 strcmp.o, strcpy.o, and strlen.o.
14030
14031Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
14032
14033 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
14034 been replaced with libgloss/mn10200.
14035
14036Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
14037
14038 * libc/string/strchr.c (strchr): Make s a constant pointer to
14039 avoid warning.
14040
14041Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
14042
14043 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
14044 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
14045 board SWIs instead of Demon board SWIs).
14046
14047Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
14048
14049 * libc/string/strncat.c (strncat): Make -Os act the same as
14050 PREFER_SIZE_OVER_SPEED being defined.
14051
14052Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
14053
14054 * libc/string/memchr.c (memchr): Make -Os act the same as
14055 PREFER_SIZE_OVER_SPEED being defined.
14056 * libc/string/memcmp.c (memcmp): Ditto.
14057 * libc/string/memcpy.c (memcpy): Ditto.
14058 * libc/string/memset.c (memset): Ditto.
14059 * libc/string/strcat.c (strcat): Ditto.
14060 * libc/string/strchr.c (strchr): Ditto.
14061 * libc/string/strcmp.c (strcmp): Ditto.
14062 * libc/string/strcpy.c (strcpy): Ditto.
14063 * libc/string/strlen.c (strlen): Ditto.
14064 * libc/string/strncat.c (strncat): Ditto.
14065 * libc/string/strncmp.c (strncmp): Ditto.
14066 * libc/string/strncpy.c (strncpy): Ditto.
14067
14068Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
14069
14070 * libc/include/sys/itimer.h: remove
14071 * libc/include/sys/time.h: itimer stuff should be here
14072
14073Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
14074
14075 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
14076 bit instead of comparing to 0 so -0.0 can be printed correctly.
14077
14078Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14079
14080 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
14081
14082Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
14083
14084 * libc/include/sys/unistd.h: fix sync() proto
14085 * libc/include/sys/fcntl.h: remove _close which is already
14086 defined in unistd.h.
14087 * libc/include/sys/time.h: add getitimer proto
14088
14089Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
14090
14091 * libc/string/strchr.c: convert arg to unsigned char
14092 * libc/include/stdlib.h: add protos for random, srandom
14093 * libc/include/sys/stat.h: add lstat proto
14094 * libc/include/sys/time.h: add setitimer proto
14095 * libc/include/sys/unistd.h: add readlink, symlink protos
14096 * libc/include/process.h: instead of including windows.h and using
14097 HANDLEs in sexec protos, just use void *s. Need to include
14098 sys/types.h.
14099
14100Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
14101
14102 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
14103
14104Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
14105
14106 * libc/include/process.h: add secure exec protos
14107
14108Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
14109
14110 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
14111 which are accessed as both doubles and integers.
14112 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
14113 * libc/stdlib/strtod.c (_strtod_r): Likewise.
14114 * libc/stdlib/mprec.h: Add "union double_union" and change
14115 word0/word1 macros to use it.
14116
14117Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
14118
14119 * libc/include/sys/signal.h: add __cplusplus wrapper
14120
14121Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
14122
14123 * libc/include/sys/utime.h: new generic file that gets replaced by
14124 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
14125 function.
14126 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
14127 * libc/include/time.h: remove duplicate utime proto
14128 * libc/include/utime.h: add comment
14129
14130Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
14131
14132 * libc/include/sys/time.h: Add missing include to
14133 allow use of _EXFUN. Remove times function that is
14134 already defined in times.h.
14135
14136Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
14137
14138 * libc/include/time.h: Fix typo in tzset.
14139
14140Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
14141
14142 * libc/include/sys/time.h: add missing Cygwin32 function protos
14143 * libc/include/sys/unistd.h: ditto
14144 * libc/include/time.h: ditto
14145
14146Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
14147
14148 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
14149 FIXME.
14150 * libc/include/sys/types.h: add a new __MS_types__ section
14151 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
14152 __BIT_TYPES_DEFINED__.
14153
14154Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
14155
14156 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
14157 since it overrides the one in libc/include/sys. Also, start
14158 including types.h.
14159
14160Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
14161
14162 * libm/math/Makefile.in: add s_signgam.o to obj list
14163
14164Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
14165
14166 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
14167
14168Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
14169
14170 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
14171 so don't use defines.
14172
14173Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
14174
14175 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
14176
14177Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
14178
14179 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 14180 _current_locale as default locale.
8a0efa53
CF
14181
14182Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
14183
14184 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 14185 insufficient space in a chunk.
8a0efa53
CF
14186
14187Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
14188
14189 * configure.in (links): Added check for --enable-newlib-mb configure
14190 option which defines the MB_CAPABLE macro.
14191 * libc/locale/locale.c (_setlocale_r): Added support for setting
14192 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
14193 defined.
14194 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
14195 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
14196 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
14197 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
14198 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 14199 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
14200 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
14201 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
14202 * libc/stdlib/Makefile.in: Added new multibyte
14203 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
14204 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
14205 _mbstowcs_r(), and _wcstombs_r().
14206 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
14207 for JIS, SJIS, and EUC-JP characters.
14208 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 14209 MB_CAPABLE defined.
8a0efa53
CF
14210 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
14211 MB_CAPABLE defined.
14212 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
14213 MB_CAPABLE defined.
14214 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
14215 if MB_CAPABLE defined.
14216 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
14217 if MB_CAPABLE defined.
14218 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
14219 to the format string processing when MB_CAPABLE.
14220 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
14221 call _mbtowc_r().
14222
14223Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
14224
14225 The following modifications are courtesy of Anthony Thompson,
14226 athompson@cambridge.arm.com:
14227 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
14228 boith RDI and RDP monitors.
14229 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
14230 RDI and RDP monitors.
14231
14232Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
14233
14234 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
14235 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
14236 (_swiopen): Fixed open flags to treat write with append as just append.
14237 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
14238 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
14239
14240Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14241
14242 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
14243 When needing to transfer an initial 2-byte-word, store as
14244 two single bytes.
14245
14246Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14247
14248 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
14249 __SH3E__ .
14250 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
14251 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
14252
14253Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
14254
14255 * configure.in (target_cflags): If --enable-target-optspace, use
14256 -Os to compile newlib rather than -O2. Default to using -Os for
14257 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
14258 used.
14259
14260Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
14261
ba3ccd63
EB
14262 * libc/include/machine/setjmp.h: change sigsetjmp and
14263 siglongjmp definitions to use an array instead of a struct
14264 for __CYGWIN32__
8a0efa53
CF
14265
14266Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
14267
14268 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
14269
14270Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
14271
14272 * libc/string/strxfrm.c: fix to get correct return value
14273
14274Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
14275
14276 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
14277 builds. Make mode change labels global so that they will be seen
14278 by the debugger.
14279
14280Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
14281
14282 * configure.in (links): Do not use ARM debiugging protocols for PE
14283 builds.
14284
14285 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 14286 message.
8a0efa53
CF
14287
14288Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14289
14290 * libc/stdio/findfp.c (__sinit): Made stdout default to
14291 line buffered mode as defined by ANSI.
14292
14293Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
14294
14295 * libc/include/sys/itimer.h: New file.
14296
14297 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
14298
14299Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14300
14301 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
14302 failure.
14303
14304Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
14305
14306 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
14307 insns.
14308
14309Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
14310
14311 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
14312
14313Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
14314
14315 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
14316 support.
14317
14318 * libc/include/machine/setjmp.h: Add D30V support.
14319
14320 * configure.in (d30v-*): Add d30v machine directory.
14321
14322Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
14323
14324 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
14325 been replaced with libgloss/mn10300.
14326
14327Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
14328
14329 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
14330 it is no longer needed.
14331
14332Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14333
ba3ccd63 14334 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
14335
14336Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
14337
14338 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 14339 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 14340 that time.
8a0efa53
CF
14341
14342Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 14343
8a0efa53
CF
14344 patch from cgf@bbc.com (Christopher Faylor):
14345 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
14346 convention of closing fp prior to attempting to open the file
14347 argument. This allows correct operation when reopening
14348 stdin/stdout/stderr. Replaces last freopen.c patch.
14349
14350Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
14351
ba3ccd63
EB
14352 patch from cgf@bbc.com (Christopher Faylor):
14353 * libc/stdio/freopen.c: freopen was not preserving the fd
14354 of the stream being operated on. This confuses programs that
14355 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
14356
14357Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
14358
14359 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
14360
14361Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
14362
14363 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
14364
14365Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
14366
14367 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
14368 altered to not use a branch. Also added hint that last
14369 bclr in longjmp will likely result in branch.
17c0c97d 14370
8a0efa53
CF
14371
14372Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
14373
ba3ccd63 14374 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
14375
14376Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
14377
14378 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
14379 v850 builds.
14380
17c0c97d 14381 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
14382
14383Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
14384
14385 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
14386 that loads FR14 to specify offset of 8 rather than 4
14387 so it loads from offset 96 (where setjmp stored it).
14388
14389Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14390
14391 * libc/machine/sh/memcpy.S: (_memcpy): Update to
14392 latest version supplied by customer.
14393 * libc/machine/sh/memset.S (_memset): Ditto.
14394
14395Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
14396
14397 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 14398 PR14730).
8a0efa53
CF
14399
14400Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
14401
ba3ccd63 14402 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
14403
14404Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
14405
ba3ccd63 14406 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
14407 defined
14408
14409Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14410
14411 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
14412 TI Libraries to link to libc.a
14413
8a0efa53
CF
14414Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
14415
14416 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
14417 * libc/include/sys/stat.h (_{,f}stat): Ditto.
14418 * libc/include/sys/wait.h (_wait): Ditto.
14419 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
14420 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
14421
14422Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
14423
14424 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
14425 minded stabs so function name shows up when running the simulator
14426 with -t.
14427 * libc/sys/d10v/{crt0,trap}.S: Ditto.
14428
14429Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
14430
17c0c97d 14431 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
14432 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
14433 Use R5 where we used to use R3.
17c0c97d 14434
8a0efa53
CF
14435Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
14436
14437 * libc/stdlib/getopt.c (getopt): replaced __progname
14438 with nargv[0] to improve portability to imbedded systems.
14439
14440Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
14441
14442 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
14443 patch supplied by Tont.Thompson@arm.com to fix the creation of the
14444 stdout file.
14445
14446Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
14447
14448 * libc/stdio/tmpnam.c (worker): Generate a different file name
14449 each time.
14450
14451 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
14452 fails, try an execlp for sh.
14453
14454 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
14455 option for the winsup include directory.
14456
14457Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
14458
14459 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
14460 debugging interface from Tony.Thompson@arm.com.
17c0c97d 14461
8a0efa53
CF
14462 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
14463 * libc/sys/arm/swi.h: ditto.
14464
14465Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14466
14467 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
14468 DIR struct used for readdir hashes.
14469
14470Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
14471
14472 * libc/string/strchr.c: Use "unsigned chars" as necessary.
14473
14474Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
14475
14476 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
14477 integer targets.
14478
14479Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
14480
14481 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
14482 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
14483 * libc/include/malloc.h: Add extern "C" if __cplusplus.
14484 (__malloc_copy): Declare.
14485
14486Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
14487
14488 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
14489 <sys/config.h>.
14490 (POINTER_UINT): Define.
14491 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
14492 (MALLOC_ALIGNMENT): Don't define if already defined.
14493 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
14494 long.
14495
14496Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
14497
14498 * libc/string/memset.c (memset): Fiddle with code so that the long
14499 value being stored is not a stack value. Unroll storing longs 4
14500 times.
14501
14502Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
14503
14504 * Reduce code size for libm modules.
14505 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
14506 and simply move code into sqrt.
14507 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
14508 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
14509 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
14510 * libm/math/wr_gamma.c (gamma_r): Likewise.
14511 * libm/math/wf_sinh.c (sinfh): Likewise.
14512 * libm/math/w_sinh.c (sinh): Likewise.
14513 * libm/math/wf_scalb.c (scalbf): Likewise.
14514 * libm/math/w_scalb.c (scalb): Likewise.
14515 * libm/math/wf_remainder.c (remainderf): Likewise.
14516 * libm/math/w_remainder.c (remainder): Likewise.
14517 * libm/math/wf_pow.c (powf): Likewise.
14518 * libm/math/w_pow.c (pow): Likewise.
14519 * libm/math/wf_log10.c (log10f): Likewise.
14520 * libm/math/w_log10.c (log10): Likewise.
14521 * libm/math/wf_log.c (logf): Likewise.
14522 * libm/math/w_log.c (log): Likewise.
14523 * libm/math/w_lgamma.c (lgamma): Likewise.
14524 * libm/math/wf_lgamma.c (lgammaf): Likewise.
14525 * libm/math/wf_jn.c (jnf): Likewise.
14526 * libm/math/w_jn.c (jn): Likewise.
14527 * libm/math/wf_j1.c (j1f): Likewise.
14528 * libm/math/w_j1.c (j1): Likewise.
14529 * libm/math/wf_j0.c (j0f): Likewise.
14530 * libm/math/w_j0.c (j0): Likewise.
14531 * libm/math/wf_hypot.c (hypotf): Likewise.
14532 * libm/math/w_hypot.c (hypot): Likewise.
14533 * libm/math/wf_gamma.c (gammaf): Likewise.
14534 * libm/math/w_gamma.c (gamma): Likewise.
14535 * libm/math/wf_fmod.c (fmodf): Likewise.
14536 * libm/math/w_fmod.c (fmod): Likewise.
14537 * libm/math/wf_exp.c (expf): Likewise.
14538 * libm/math/w_exp.c (exp): Likewise.
14539 * libm/math/wf_cosh.c (coshf): Likewise.
14540 * libm/math/w_cosh.c (cosh): Likewise.
14541 * libm/math/wf_atanh.c (atanhf): Likewise.
14542 * libm/math/w_atanh.c (atanh): Likewise.
14543 * libm/math/wf_atan2.c (atan2f): Likewise.
14544 * libm/math/w_atan2.c (atan2): Likewise.
14545 * libm/math/wf_asin.c (asinf): Likewise.
14546 * libm/math/w_asin.c (asin): Likewise.
14547 * libm/math/wf_acosh.c (acoshf): Likewise.
14548 * libm/math/w_acosh.c (acosh): Likewise.
14549 * libm/math/wf_acos.c (asocf): Likewise.
14550 * libm/math/w_acos.c (acos): Likewise.
14551 * libm/math/wf_sqrt.c (sqrtf): Likewise.
14552 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
14553 for embedded systems.
14554
14555Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
14556
14557 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
14558 Lea in case of a foreign sbrk.
14559
14560Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
14561
14562 Incorporate Doug Lea's malloc:
14563 * libc/stdlib/mallocr.c: Completely replaced.
14564 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
14565 (realloc): Remove.
14566 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14567 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14568 mallopt.
14569 (mallinfo, malloc_stats, mallopt): New functions.
14570 (_mstats_r): Just call _malloc_stats_r.
14571 * libc/stdlib/malign.c: New file.
14572 * libc/stdlib/mlock.c: New file.
14573 * libc/stdlib/msize.c: New file.
14574 * libc/stdlib/mtrim.c: New file.
14575 * libc/stdlib/realloc.c: New file.
14576 * libc/stdlib/valloc.c: New file.
14577 * libc/stdlib/malloc.h: Remove.
14578 * libc/stdlib/callocr.c: Remove.
14579 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14580 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14581 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14582 reallocr.o, valloc.o, vallocr.o.
14583 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14584 (MALLOC_CFLAGS): New variable.
14585 (mallocr.o): New target, build from mallocr.c.
14586 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14587 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14588 (msizer.o, malloptr.o): Likewise.
14589 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14590 (valloc.o): New target.
14591 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14592 * libc/include/malloc.h: Declare struct mallinfo, and new
14593 routines.
14594 * libc/include/stdlib.h (cfree): Correct declaration.
14595
14596Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14597
14598 * libc/include/machine/setjmp.h: Add support for Thumb target.
14599
14600 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14601
14602 * configure.in (links): Add support for Thumb target.
14603
14604Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14605
14606 * libc/sys/arm/setjmp.S: Updated with version from branch.
14607
14608Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14609
14610 * libc/include/stdio.h: add POSIX-required define L_ctermid
14611 for ctermid
14612
14613Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14614
14615 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14616 addition to MISSING_SYSCALL_NAMES.
14617
14618Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14619
14620 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14621
14622Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14623
ba3ccd63
EB
14624 * libc/include/string.h: change strsignal proto to return
14625 a char *. This eliminates compile problems in gdb resulting
14626 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14627
14628Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14629
ba3ccd63
EB
14630 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14631 winsup/include) so as not to conflict with the one in
14632 libc/include.
8a0efa53
CF
14633 * libc/include/string.h: add protos for strsignal, strtosigno
14634
14635Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14636
14637 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14638
14639 * configure.in (d30v-*-*): Add configuration.
14640
14641Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14642
14643 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14644 to select which kind of debug monitor is in use for an ARM target.
14645
14646 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14647 Angel and Demon debug monitors. Part of this code was supplied by
14648 Tony Thompson at ARM: athompso@arm.com.
14649
14650Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14651
14652 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14653 semantics when the count is greater than the length of the second
14654 source string.
14655
14656Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14657
14658 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14659 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14660 truncate and ftruncate take off_t, not size_t
14661
14662Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14663
14664 * libc/string/strcat.c (strcat): Add missing comment end.
14665 * libc/string/strncat.c (strncat): Likewise.
14666
14667Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14668
14669 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14670 targets.
14671 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14672 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14673 defined.
8a0efa53
CF
14674 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14675 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14676 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14677
14678Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14679
14680 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14681 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14682
14683Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14684
14685 * libc/machine/i386/setjmp.S: New file.
14686 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14687 (OFILES): Add setjmp.o.
14688 (setjmp.o): Add rule for.
14689 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14690
14691Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14692 Jeffrey A Law (law@cygnus.com)
14693
14694 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14695 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14696 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14697 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14698
14699Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14700
14701 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14702 rules.
8a0efa53
CF
14703
14704 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14705 endianness.
8a0efa53
CF
14706
14707 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14708 buffer size.
14709
14710 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14711 endianness.
8a0efa53
CF
14712
14713Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14714
14715 * libc/stdlib/setenv.c: change unsetenv definition to match
14716 style of setenv (with _DEFUN). The string should be a const.
14717 * libc/include/stdlib.h: unsetenv proto should return void.
14718
14719Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14720
14721 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14722
14723Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14724
14725 * libc/stdio/glue.h: remove.
14726 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14727 * libc/stdio/Makefile.in: remove glue.h dependencies
14728
14729Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14730
14731 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14732
8a0efa53
CF
14733Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14734
14735 * configure.in (target_cpu): Add `arc'.
14736
14737Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14738
17c0c97d 14739 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14740 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14741 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14742 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14743 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14744
14745Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14746
14747 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14748
14749Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14750
14751 * libc/include/stdio.h (siprintf): Declare.
14752
14753Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14754
14755 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14756 TARGET_CFLAGS and NEWLIB_FLAGS.
14757
14758Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14759
14760 * configure.in (links): Add support for v850ea target.
14761
14762Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14763
14764 * configure.in (links): Add support for v850e target.
14765
14766Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14767
14768 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14769
14770Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14771
14772 * configure.in (arc-*-*): Add support for.
14773 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14774
14775Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14776
14777 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14778
14779Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14780
14781 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14782 comparison which accesses invalid memory when the key is
14783 larger than the last member of the array.
14784 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14785 for CYGWIN32
14786 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14787
14788Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14789
14790 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14791 not _STRICT_ANSI.
14792
14793Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14794
14795 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14796 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14797
14798Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14799
14800 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14801 to load/store memory.
14802
14803Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14804
14805 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14806 underscores if _WIN32.
14807
14808Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14809
14810 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14811 support ifdef _USE_WRITE missed in last change.
14812 From Anders Blomdell <anders.blomdell@control.lth.se>.
14813
14814Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14815
14816 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14817 (_tmpnam_r, _tempnam_r): Update.
14818
14819Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14820
14821 * libc/machine/sparc/setjmp.S: New file.
14822 * libc/machine/sparc/Makefile.in: Add setjmp.
14823 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14824
14825Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14826
14827 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14828
14829Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14830
14831 From Joel Sherrill <joel@oarcorp.com>.
14832 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14833
14834 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14835 * configure.in: Recognize *-*-rtems*.
14836 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14837 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14838 time.h,times.h,types.h}: New files.
14839 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14840
14841Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14842
14843 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14844 * include/sys/wait.h: correct operator precidence bug
14845 in WIFSIGNALED
8a0efa53
CF
14846
14847Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14848
14849 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14850 with newlib's unsetenv function
14851 * libc/sys/cygwin32/sys: new directory for includes
14852 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14853 here from winsup/include/sys
14854
14855Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14856
14857 * libc/include/sys/unistd.h: _exit should only be
14858 labelled noreturn when not __CYGWIN32__
14859 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14860 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14861 increment NSIG
14862
14863Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14864
14865 * libc/include/sys/time.h: Only define timeval and timezone if
14866 _GNU_H_WINDOWS32_SOCKETS is not defined.
14867 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14868
14869Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14870
14871 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14872 * libc/machine/mn10300/setjmp.S: Likewise.
14873
14874 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14875 the mn10300 (more relaxing opportunities).
14876
14877Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14878
14879 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14880 Build libraries with -mstrict-align.
14881
14882Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14883
14884 * libc/string/strlwr.c: New file.
14885 * libc/string/strupr.c: New file.
14886 * libc/include/string.h: Declare strlwr and strupr.
14887 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14888 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14889 (strlwr.o, strupr.o): New targets.
14890 * libc/string/strings.tex: Include strlwr and strupr docs.
14891
14892 * libc/include/sys/types.h: Don't define u_char, et. al., if
14893 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14894 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14895 _types_fd_set rather than fd_set, and define fd_set as a macro.
14896
14897 * libc/include/malloc.h: New file.
14898
14899 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14900 strnicmp if they are not already defined.
14901
14902 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14903 _timezone, _daylight, and _tzname.
14904
14905Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14906
14907 * configure.in: Sort all configuration tables.
14908
14909 From Joel Sherrill <joel@oarcorp.com>
14910 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14911
14912Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14913
14914 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14915 use int when declaring kill.
14916
14917 * libc/include/sys/timeb.h: New file.
14918
14919Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14920
14921 * libc/include/sys/time.h: add itimer support for Cygwin32
14922
14923Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14924
14925 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14926 out a message that abort was called to stderr.
14927
14928Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14929
14930 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14931 so that libio doesn't freak.
14932
14933 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14934 int.
14935
14936 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14937 memory sizes, not int.
14938
14939Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14940
14941 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14942 appropriate.
8a0efa53
CF
14943 * libm/math/ef_sqrt.c: Ditto.
14944
14945 * libc/sys/sysmec/times.c(_times): Change to times.
14946
14947 * libc/sys/sysmec/read.c(_read): The third argument is
14948 size_t.
14949 * libc/sys/sysmec/write.c (_write): Ditto.
14950
14951 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14952 (_lseek): It's off_t for the second argument.
14953
14954Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14955
14956 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14957 as well as machine/ieeefp.h.
14958
14959Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14960
14961 * libc/include/sys/signal.h: add signal protos for winsup
14962 functions (when __CYGWIN32__), include types.h
14963 * libc/include/sys/types.h: Change __go32_types__ internal
14964 define to __MS_types__ since it's used for more than just
14965 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14966 defined.
14967 * libc/include/sys/unistd.h: add ftruncate proto for
14968 winsup functions (when __CYGWIN32__)
14969
14970Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14971
14972 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14973
14974Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14975
14976 * libc/include/machine/setjmp.h: Add tic80 support.
14977 * libc/machine/tic80/setjmp.S: Likewise.
14978
14979Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14980
ba3ccd63
EB
14981 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14982 link programs from libraries only (such as in the X11
14983 distribution)
8a0efa53
CF
14984
14985Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14986
14987 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14988 supplied elsewhere in newlib.
14989
14990Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14991
14992 * Makefile.in (INSTALL): Change install.sh to install-sh.
14993
14994Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14995
14996 * README: update WWW address for on-line documentation.
14997
14998Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14999
15000 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
15001 increment NSIG
15002
15003Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
15004
15005 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
15006 mn10300.
15007 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
15008
15009Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
15010
15011 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
15012 * libc/sys/d10v/syscalls.c: Likewise.
15013 * libc/sys/h8300hms/sbrk.c: Likewise.
15014 * libc/sys/h8500hms/syscalls.c: Likewise.
15015 * libc/sys/m88kbug/syscalls.c: Likewise.
15016 * libc/sys/sh/syscalls.c: Likewise.
15017 * libc/sys/sysmec/sbrk.c: Likewise.
15018 * libc/sys/sysnecv850/sbrk.c: Likewise.
15019 * libc/sys/w65/syscalls.c: Likewise.
15020 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
15021
15022Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
15023
15024 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
15025 emulated syscall instead of "trap".
15026
15027Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
15028
15029 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
15030 not trap 0.
15031
15032Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
15033
15034 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
15035
15036Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
15037
15038 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
15039 not "sh".
15040 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
15041 not "d10v".
15042 * libc/sys/tic80/crt0.c: New file for TIc80.
15043 * libc/sys/tic80/Makefile.in: New file for TIc80.
15044 * libc/machine/tic80/Makefile.in: New file for TIc80.
15045
15046Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
15047
15048 * libc/machine/sh/memcpy.S: New file.
15049 * libc/machine/sh/memset.S: New file.
15050 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
15051
15052Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
15053
15054 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
15055 for TIc80.
15056
15057Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
15058
15059 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
15060 the mn10200.
15061
15062Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
15063
15064 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
15065 (patch from andrew@pogo.WV.TEK.COM).
15066
15067Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
15068
15069 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
15070 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
15071
15072Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
15073
15074 * configure.in: Add cases for "tic80" to set machine_dir,
15075 sys_dir, and syscall_dir.
15076
15077Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
15078
15079 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
15080
15081Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
15082
15083 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
15084
15085Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
15086
15087 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
15088 Use proper constant prefix.
15089
15090Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
15091
15092 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
15093 that loses on the mn10200 where ints and pointers are different
15094 sizes.
15095
15096Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
15097
15098 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
15099 target as signal is provided in winsup.
15100
15101Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
15102
15103 * libc/include/sys/process.h: Corrected const definitions
15104 in spawn functions. Added cwait.
15105
15106Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
15107
15108 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
15109 doubles.
15110 * libc/include/sys/config.h: Similarly.
15111
15112Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15113
15114 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
15115 target_cflags.
15116 (i[3456]86-*-sco*): Ditto.
15117
15118 * libc/signal/Makefile.in (OFILES): Add signal.o.
15119 (CFILES): Add signal.c.
15120
15121 * libc/signal/raise.c (_raise_r): Only compile code if
15122 SIGNAL_PROVIDED is defined.
15123
15124 * libc/signal/signal.c: Redo whole file so that it works with
15125 current newlib. Use _kill_r if no signal handler provided.
15126
15127 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
15128 signal stubs.
15129 * libc/sys/sysvnecv70/Makefile.in: Ditto.
15130 * libc/sys/sysnecv850/Makefile.in: Ditto.
15131
15132 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
15133 * libc/sys/sysmec/{raise,signal}.c: Ditto.
15134 * libc/sys/sysvnecv70/signal.s: Ditto.
15135 * libc/sys/sysnecv850/raise.c: Ditto.
15136
15137 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
15138 simulator and debugger can tell the difference between a signal
15139 being raised and an exit system call.
15140
15141 * NEWS: Document software signals being provided.
15142
15143Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15144
15145 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
15146 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
15147 include/sys/config.h.
15148 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
15149 Change from 'inpure_data'.
15150 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
15151 &impure_data, not &inpure_data.
15152
15153 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
15154 and and System V ABI, define so that _impure_ptr lives in the
15155 .sdata section.
15156
15157Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15158
15159 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
15160 nothing if not defined.
15161 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
15162 its attributes.
15163
17c0c97d 15164 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
15165
15166Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
15167
15168 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
15169 * libc/sys/sysmec/trap.s: Handle mn10200 too.
15170 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
15171
15172Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
15173
15174 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
15175
15176Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
15177
ba3ccd63 15178 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
15179
15180Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15181
15182 * libc/misc/ffs.c: New file to support ffs function for GCC test
15183 gcc.c-torture/execute/960909-1.c.
15184
15185 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
15186
15187Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
15188
15189 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
15190 * libc/sys/sysmec/trap.S: Likewise.
15191
15192Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
15193
15194 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
15195 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
15196
15197Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
15198
15199 * libc/sys/sysmec/signal.c: Dummy file.
15200 * libc/sys/sysmec/Makefile.in: Build it.
15201
15202Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
15203
15204 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
15205 mips16.
15206
15207Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
15208
15209 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
15210 c-startup and simulator traps.
15211
15212
15213 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
15214 * libc/sys/sysmec/trap0.S: Likewise.
15215
15216Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15217
15218 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
15219 round to double word alignment.
15220 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
15221 byte alignment.
15222
15223 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
15224
15225 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
15226 out of memory.
15227
15228Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
15229
15230 * configure.in: Handle mn10200 and mn10300.
15231 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
15232 * libc/include/sys/config.h: Likewise.
15233 * libc/sys/sysmec: New directory for mec stuff.
15234 * libc/machine/mn10300: New directory for mn10300 stuff.
15235 * libc/machine/mn10200: Similarly for mn10200 stuff.
15236
15237Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
15238
15239 * libc/sys/arm/crt0.S: Use .text, not .section .text.
15240 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
15241
15242 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
15243 (nlink_t): Change type from unsigned int to unsigned short.
15244 (mode_t): Ensure size is 32 bits even if int is 16.
15245 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
15246 (st_spare[123]): Change type from int to long.
15247
15248Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15249
15250 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
15251 byte boundary.
15252
15253 * configure.in (d10v*): Define SMALL_MEMORY.
15254
15255Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15256
15257 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
15258 -mrelocatable-lib and -mno-eabi flags.
15259
15260Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
15261
15262 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
15263 Fix handling of mis-aligned source operand when both the
15264 destination & length are properly aligned.
17c0c97d 15265
8a0efa53
CF
15266Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
15267
15268 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
15269 times.o, time.o and gettime.o
15270 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
15271 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
15272 SYS_gettimeofday.
15273
15274Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
15275
15276 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
15277 * libc/sys/sysnecv850/access.c: New file.
15278
15279Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
15280
15281 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
15282
15283 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
15284 long.
15285
15286Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
15287
15288 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
15289
15290Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
15291
15292 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
15293 * libc/include/sys/config.h: Add m32r support.
15294
15295Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
15296
15297 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
15298 here.
15299
15300Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
15301
15302 * libc/include/machine/setjmp.h: Add D10v support.
15303
15304Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
15305
15306 * configure.in: Configure the "libc/syscalls" directory for
15307 the v850.
15308
15309 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
15310 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
15311 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
15312 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
15313 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
15314
15315Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
15316
15317 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
15318 stack for args for main and other routines. Zero out args for
15319 main.
15320
15321 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
15322 correctly.
15323
15324Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15325
15326 * libc/stdio/findfp.c (std): Remove extraneous ';' after
15327 function.
15328
15329 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
15330
15331 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
15332 real system calls now.
15333
15334 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
15335 before casting them to int.
15336 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
15337
15338 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
15339 aligning pointer.
15340 * libc/string/memset.c (memset): Ditto.
17c0c97d 15341
8a0efa53
CF
15342 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
15343 first convert ints to _POINTER_INT to eliminate GCC warning.
15344
15345 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
15346 processing %p.
15347
15348 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
15349 from 65000 if ints are only 16 bits.
15350
15351 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
15352 from 50000 if ints are only 16 bits.
15353
15354 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
15355 int type that is the same size as a pointer.
15356
15357 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
15358 processing %p.
15359 (get_number): Explicitly cast number to long before shifting by 16
15360 or 24, in case ints are short.
15361
15362 * libc/include/sys/config.h (_POINTER_INT): Define as short.
15363
15364Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
15365
15366 * libc/string.h: Added ffs, removed swab.
15367 * libc/sys/errno.h: Added EOPNOTSUPP.
15368 * libc/sys/unistd.h: Added swab.
15369
15370Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
15371
15372 * libc/include/sys/stat.h: Added fchmod.
15373 * libc/include/sys/unistd.h: Added fsync.
15374
15375Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
15376
15377 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
15378 and ECONNRESET (104) for cygwin32.
15379
15380Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
15381
ba3ccd63
EB
15382 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
15383 do the static destructors.
17c0c97d 15384
8a0efa53
CF
15385Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
15386
15387 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
15388
15389Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
15390
15391 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
15392 * configure.in: Recognize m32r-*-*.
15393
15394Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
15395
15396 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
15397 __rt_stkovf_split_small): Added default software stack overflow
15398 handlers, which just call SWI_Exit.
8a0efa53 15399 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 15400 limit initialisation.
8a0efa53
CF
15401
15402Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
15403
15404 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
15405
15406Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
15407
15408 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 15409
8a0efa53
CF
15410Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15411
15412 * libc/machine/d10v/setjmp.S: Use ';' for comments.
15413 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
15414
15415 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
15416 branch around a single ldi instruction.
15417
15418 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
15419 Call exit, instead of just issuing a stop instruction.
15420
15421Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15422
15423 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
15424
15425Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15426
15427 * libc/stdlib/mprec.h: Explicitly declare all large constants as
15428 longs, and then cast them to __uint32_t.
15429
15430 * libc/include/sys/config.h: Protect against multiple inclusions.
15431
15432Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
15433
15434 * configure.in (d10v*): Set syscall_dir.
15435
15436Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
15437
15438 * libc/sys/d10v/crt0.S: Set stack pointer.
15439
15440Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
15441
15442 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
15443 in assembly for efficiency. Change calling convention to allow
15444 long ints to be returned.
15445
15446Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15447
15448 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
15449
15450Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
15451
15452 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
15453 Handle empty entries in $PATH.
15454
15455Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
15456
15457 * libc/machine/d10v/setjmp.S: Make it really work.
15458
15459Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
15460
15461 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
15462 the .stack section.
15463
15464Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
15465
15466 * sys/sysnecv850/sys/file.h: Remove.
15467 * sys/sysnecv850/sys/syscall.h: New file.
15468 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
15469 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
15470 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
15471 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
15472 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
15473 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
15474 * sys/sysnec850/trap.S: New file.
15475 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
15476 syscalls.
15477 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
15478 * sys/sysnec850/sbrk.c: New version.
15479
15480Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
15481
15482 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
15483 as long as r6 is less than r7.
15484
15485Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
15486
15487 * Makefile.in (mostlyclean): Separate from clean target. Don't
15488 remove *.a or targ-include.
15489 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
15490
15491Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15492
15493 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
15494 d10v.
15495 (__SMALL_BITFIELDS): Ditto.
15496
15497 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
15498
15499Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
15500
15501 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
15502 prefix.
15503
15504 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
15505 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
15506 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
15507 * libc/sys/sysnecv850/write.c (write): Likewise.
15508
15509 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
15510 .bss.
15511
15512Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15513
15514 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
15515 appropriately for D10V, depending on -mint16/-mint32.
15516
15517Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
15518
15519 * configure.in: Add cases for D10V.
15520
15521Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15522
15523 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
15524
15525Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
15526
15527 * libc/include/machine/ieeefp.h: Fix typo.
15528
15529Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
15530
15531 * libc/sys/d10v: New directory for D10V stuff.
15532 * libc/include/machine/ieeefp.h: Add D10V defines.
15533
15534Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
15535
15536 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
15537 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
15538 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
15539 * libc/string/strerror.c (strerror): Add them.
15540
15541Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
15542
15543 * libc/sys/sysnecv850: New directory for v850 stuff.
15544
15545 * libc/machine/v850: New directory for v850 stuff.
15546 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
15547
15548 * configure.in: Add support for the v850.
15549
15550 * libc/include/machine/ieeefp.h: Add v850 defines.
15551 * libc/include/machine/setjmp.h: Likewise.
15552 * libc/include/sys/config.h: Add v850 defines.
15553
15554Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
15555
15556 * libc/include/machine/ieeefp.h
15557 * libc/include/machine/setjmp.h
15558 * libc/include/sys/fcntl.h
15559 * libc/include/sys/signal.h
15560 * libc/include/sys/types.h
15561 * libc/stdlib/system.c:
15562 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
15563 API availability, __CYGWIN32__ for cygwin32 environment specific).
15564
15565Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
15566
ba3ccd63
EB
15567 * libc/include/stdlib.h: add multibyte character functions. Add
15568 __eprintf for assert.
8a0efa53
CF
15569
15570Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15571
15572 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15573 arithmetic or __alignof__ to properly get the alignment, instead
15574 of hardwiring it to 4.
15575
15576Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15577
15578 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15579 on append stream (fix from NetBSD sources), adjust curoff offset
15580 for ungetc's benefit.
15581 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15582 * libc/stdio/rewind.c: replace code with up to date NetBSD
15583 code to undo hacks made to work around above problem of not
15584 having fflush call mentioned above
15585
15586Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15587
15588 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
15589 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15590 Partially revert last changes. The thread specific errno is set
15591 iff if the underlying syscall fails and the global errno is not
15592 zero.
8a0efa53
CF
15593
15594Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15595
15596 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
15597 into their own files.
15598 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
15599 New files containing functions formally in filer.c
15600 * libc/reent/Makefile.in: Updated for above change.
15601
15602 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
15603 syscall fails, not if errno is changed.
15604 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
15605 _write_r): Likewise.
15606 * libc/reent/fstatr.c (_fstat_r): Likewise.
15607 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15608 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15609 * libc/reent/signalr.c (_kill_r): Likewise.
15610 * libc/reent/statr.c (_stat_r): Likewise.
15611 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15612
15613 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 15614 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
15615 than as a common.
15616
15617 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
15618 instead of calling vfprintf so that i*printf will not require
15619 floating point support code.
15620
8a0efa53
CF
15621Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15622
15623 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15624 path delimiter.
15625 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15626 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15627
15628Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15629
15630 * libc/include/signal.h: _sig_func_ptr function takes an int
15631 * libc/include/sys/signal.h: sa_handler function takes an int
15632
15633Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15634
15635 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15636 * libc/include/sys/config.h: Add missing H8/S conditional.
15637
15638Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15639
15640 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15641
15642Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15643
15644 * libc/include/machine/setjmp.h: Handle H8/S.
15645 * libc/include/machine/ieeefp.h: Likewise.
15646 * libc/include/sys/config.h: Likewise.
15647 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15648 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15649 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15650 * libc/sys/h8300hms/crt0.S: Likewise.
15651
15652Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15653
ba3ccd63 15654 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15655 (oldincludedir, docdir): Removed.
ba3ccd63 15656 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15657 (oldincludedir, docdir): Removed.
ba3ccd63 15658 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15659 (oldincludedir, docdir): Removed.
ba3ccd63 15660 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15661 (oldincludedir, docdir): Removed.
15662
15663Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15664
15665 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15666 _reent struct.
15667
15668Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15669
15670 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15671 fetch current path rules with sysconf and handler posix/win32
15672 appropriately.
15673
15674 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15675
15676 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15677 (WAIT_CHILD): Always define.
15678
15679Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15680
15681 * libc/stdlib/eprintf.c: New file.
15682 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15683 (eprintf.o): New target.
15684
15685Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15686
15687 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15688 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15689
15690Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15691
15692 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15693 NT in PowerPC endianess cases.
15694
15695Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15696
15697 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15698
15699Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15700
15701 * libc/string/strtok.c: Fix doc typo.
15702
15703Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15704
15705 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15706 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15707
15708 * libc/include/stdlib.h (rand_r): Added new declaration.
15709 (_rand_r, _srand_r): Removed declarations.
15710 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15711 have been made obsolete by rand_r.
8a0efa53 15712 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15713 by POSIX.1c.
15714
8a0efa53 15715 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15716 strtok_r().
8a0efa53
CF
15717
15718Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15719
15720 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15721 structure on Solaris, and PowerPC systems even though __svr4__ is
15722 defined.
15723
15724Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15725
15726 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15727
15728Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15729
15730 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15731 directory. This matches the current layout of the build
15732 directory.
8a0efa53
CF
15733
15734Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15735
15736 * libc/machine/h8300/__main.S: Delete. No longer needed.
15737 * libc/machine/h8300/Makefile.in: Corresponding changes.
15738 * libc/sys/h8300hms/crt1.c: New file.
15739 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15740 * libc/sys/h8300hms/crt0.s: Call __main.
15741
15742 * libc/sys/h8300hms/crt0.S: Use temporary label names
15743 for branch targets.
15744
15745Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15746
15747 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15748
15749Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15750
15751 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15752 .sdata on the PowerPC so that we can link newlib with code
15753 compiled with -msdata.
15754
15755Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15756
15757 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15758
15759Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15760
15761 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15762 exception handler to __cygwin_exception_handler.
15763
15764Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15765
15766 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15767
15768Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15769
15770 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15771 SunOS VPATH.
15772 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15773 wcstombs.o): Likewise.
15774
15775Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15776
15777 * libc/stdlib/environ.c (initial_env): New static local.
15778 (environ): Point to `initial_env'.
15779
15780 * libc/include/machine/setjmp.h: Clean up.
15781 (__H8300H__,__PPC__): Define _JBTYPE.
15782 (__arm__): Provide entry for.
15783 (sigjmp_buf): Delete.
15784 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15785
15786Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15787
15788 * libc/machine/h8300/strcmp.S: Sign extend the result to
15789 32bits so we don't lose with -mint32.
15790
15791Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15792
15793 * libc/sys/go32/sys/errno.h: New file.
15794 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15795 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15796 errno's address (make compatible with rest of newlib).
15797 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15798 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15799
15800Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15801
15802 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15803 * libc/machine/sparc/Makefile.in: Build them.
15804 * libc/machine/sparc/machine/sparclet.h: New file.
15805
15806Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15807
15808 * libc/machine/sh/asm.h: New file.
15809 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15810 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15811
15812Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15813
15814 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15815 as first argument. Call _dtoa_r and pass the reent structure
15816 instead of calling __dtoa.
15817
15818Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15819
15820 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15821 the h8300, h8500, and others. Add comments for some rather
15822 dubious code.
15823
15824Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15825
15826 * Makefile.in (check): Check that testsuite exists before cd.
15827
15828Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15829
15830 * libc/include/string.h (strsep): Correct prototype.
15831
15832Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15833
15834 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15835 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15836 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15837
15838Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15839
15840 * libc/posix/{creat.c,isatty.c}: New files.
15841 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15842
15843 * libc/sys/sparc64/crt0.S (environ): Delete.
15844 (.LHaveBias): Renamed from HaveBias.
15845
15846Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15847
15848 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15849 (_morecore_r): Delete SBRK_IS_ALLOC support.
15850
15851Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15852
15853 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15854 module rather than touch, so we don't get warning messages when
15855 all of the libraries are combined into libc.a.
15856
15857Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15858
15859 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15860 crt0.s replaced by version in libgloss.
15861
15862Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15863
15864 * libc/reent/Makefile.in (OFILES): Add impure.o.
15865 * libc/reent/impure.o: New file, define initial reentrancy struct.
15866 * libc/reent/reent.c: Remove above definition.
15867
15868 * libm/math/sf_asinh.c: Fix typo.
15869
15870 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15871 srf_ldexp.o.
15872
8a0efa53
CF
15873 * libm/libm.texinfo: Change documentation to reflect changes
15874 in reentrancy model.
15875 * libm/math/w_gamma.c: Likewise.
15876
15877Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15878
15879 * configure.in (*-*-cygwin32): New.
15880 (*-*-win32): Deleted.
15881 * libc/sys/win32 renamed libc/sys/cygwin32.
15882
15883Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15884
15885 * libc/include/sys/file.h: New include file.
15886
15887Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15888
15889 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15890
15891Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15892
15893 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15894
15895Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15896
15897 * doc/makedoc.c (realloc): Declare at file scope.
15898 (catchar): Not here.
15899
15900Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15901
15902 * Makefile.in (VERSION): Update to 1.7.0.
15903 * {libc,libm}/Makefile.in (VERSION): Likewise.
15904 * configure.in: Minor clean up of multilib stuff.
15905
15906 From David Johnson <davidj@ICSI.Berkeley.EDU>
15907 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15908
15909 * libc/stdlib/environ.c: New file.
15910 * libc/stdlib/Makefile.in (OFILES): Build it.
15911 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15912 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15913 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15914 * libc/sys/netware/environ.c: Deleted.
15915
15916Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15917
15918 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15919
15920Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15921
15922 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15923 declaration out to external scope and declare it PTR, not char *.
15924
15925Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15926
15927 * libc/include/sys/unistd.h (getpagesize): New declaration.
15928 (_SC_PAGESIZE): New definition.
15929 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15930 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15931
15932Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15933
15934 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15935 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15936
15937Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15938
15939 * libm/math/*.c: Removed _foo_r() reentrancy API.
15940 * libc/include/math.h: Removed _foo_r prototypes and macros.
15941
17c0c97d 15942 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15943 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15944 the standard IEEE double precision functions to the files that
8a0efa53
CF
15945 implement IEEE single precision functions. (ie. On those systems
15946 sin is moved from s_sin.c to sf_sin.c). There should eventually
15947 be use of a C extension (like gcc's alias attribute) so that the
15948 wrappers are not needed at all.
15949
15950 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15951 strict NEC V810 compiler.
8a0efa53 15952 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15953 for same reason.
8a0efa53
CF
15954
15955Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15956
15957 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15958 from NetBSD C library.
8a0efa53
CF
15959 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15960
17c0c97d 15961 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15962 and adapted from implementation I wrote for NetBSD C library.
15963 The difference is __assert doesn't take a format argument,
15964 so that there won't be multiple copies of the same string
15965 constant in the executable if assertions are enabled in
17c0c97d 15966 more than one source module.
8a0efa53
CF
15967 * libc/include/assert.h (assert): Changed to call __assert.
15968
15969Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15970
15971 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15972 word1 on systems with 32 bit doubles.
15973 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15974 so that we can do arithmetic on them.
15975 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15976 compilers.
15977
8a0efa53
CF
15978Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15979
15980 * libc/sys/arm/crt0.S: Zero bss.
15981
15982Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15983
15984 * libc/include/unctrl.h: New file.
15985 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15986 * configure.in (subdirs): Add libc/misc.
15987 * libc/Makefile.in (SUBDIRS): Add misc.
15988 (SUBLIBS): Add misc/lib.a.
15989
15990 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15991
15992Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15993
15994 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15995 (_vfprintf_r): Call CHECK_INIT.
15996
15997Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15998
15999 * Makefile.in (MULTITOP): Delete.
16000 (MULTISRCTOP, MULTIBUILDTOP): Add.
16001 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
16002 instead of cfg-ml-pos.in.
16003
16004Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
16005
16006 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
16007 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 16008 presence.
8a0efa53
CF
16009
16010Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16011
16012 * libc/string/strtok.c: Include string.h to pick up strtok_r
16013 prototype.
16014
16015Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16016
16017 * libc/string/strtok.c: include <_ansi.h>.
16018 * libc/time/asctime_r.c: `reresult' -> `result'.
16019
16020Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16021
16022 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
16023 in #ifndef _REENT_ONLY ... #endif conditional.
16024
16025 * libc/include/string.h (_strtok_r): Remove declaration.
16026 * libc/include/time.h (_asctime_r): Remove declaration.
16027 * libc/string/strtok.c (_strtok_r): Removed.
16028 * libc/time/asctime.c (_asctime_r): Removed.
16029
16030 * libc/string/Makefile.in (OFILES): Add new object.
16031 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 16032 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 16033 from NetBSD C library.
17c0c97d 16034 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
16035 strtok_r.
16036
16037 * libc/time/Makefile.in (OFILES): Add new objects.
16038 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
16039 New files, reentrant time functions specified by POSIX.1c.
16040 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 16041 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
16042 functions.
16043 * libc/time/lcltime.c: Renamed from localtime.c
16044
16045 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
16046 gmtime_r, and localtime_r.
16047
16048Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
16049
16050 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
16051 * libc/include/sys/unistd.h (getlogin): Revert change of
16052 Oct 19.
16053 * libc/include/sys/signal.h (sigprocmask): Change prototype
16054 so it compiles with c++.
16055
16056Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
16057
16058 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
16059 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
16060 to give some room in case we need to align the jmp_buf.
17c0c97d 16061
8a0efa53
CF
16062 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
16063 the new ppc-asm.h include file the compiler provides to specify
16064 function prologue/epilogue. Eliminate saves of the xer and ctr
16065 registers, which are volatile. Before starting to save registers,
16066 align to 8 byte boundary.
16067
16068Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
16069
16070 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 16071 referenced by standard libraries.
8a0efa53
CF
16072
16073Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 16074
8a0efa53
CF
16075 * libc/unix/Makefile.in, libc/string/Makefile.in,
16076 libc/stdio/Makefile.in, libc/reent/Makefile.in,
16077 libc/posix/Makefile.in:
16078 Remove tabs from otherwise empty line. Confuses some
16079 older non-GNU versions of "make".
16080
16081Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
16082
16083 * libc/sys/unistd.h (getlogin): Returns const char *.
16084
16085Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
16086
16087 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
16088 * libc/include/errno.h: Moved into and include...
16089 * libc/include/sys/errno.h: New file.
16090 * libc/include/sys/wait.h: New file.
16091 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
16092 * libc/sys/win32/*: Moved out.
16093 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
16094 * configure.in (i[345]86-*-win32): HAVE_RENAME
16095
16096Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
16097
16098 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
16099 avoid macro expansion for these two names.
16100
16101Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
16102
16103 * libc/machine/h8500/psi.S: r6 renamed to fp.
16104
16105Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
16106
16107 * configure.in (powerpc*): No longer need to define
16108 NO_LONGLONG_POINTERS to supress warnings.
16109
16110Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16111
16112 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
16113 through PTR instead of directly.
16114
16115 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
16116 non-standard constructor support.
16117
16118Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16119
16120 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
16121 address of the Bigint instead of the address of its _x field,
16122 as the size the result buffer was calculated accordingly.
8a0efa53
CF
16123 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
16124
16125 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 16126 from NetBSD C library. No longer special cases division by
8a0efa53
CF
16127 zero (which needs to be done by the application anyway), but
16128 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
16129
16130 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
16131 NetBSD C library.
16132
16133Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16134
16135 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 16136 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
16137 * libc/stdio/cvt.c: Removed.
16138 * libc/stdio/Makefile: Updated.
17c0c97d 16139
8a0efa53
CF
16140Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
16141
16142 * libc/sys/win32/syscalls.c (rename): New.
16143 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
16144
16145Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16146
16147 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
16148 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
16149
16150 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
16151 (setjmp.o): Delete rule to build setjmp.o.
16152 * libc/sys/sh/setjmp.S: Delete file.
16153
16154Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16155
16156 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
16157 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
16158 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 16159 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
16160 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
16161 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
16162
16163Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
16164
16165 * libc/sys/posix/popen.c (sys/types.h): Include.
16166
16167Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
16168
16169 * libc/sys/win32/syscalls.h (fhandler): New struct.
16170 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
16171 (__fhandler_normal): Declare.
16172 (hinfo): New member op_handlers.
16173 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
16174 (__write): Likewise.
16175 (_read, _write, _open, _close, _lseek): Validate fd here.
16176 Move file type specific stuff to foo_normal.
16177 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
16178 New functions.
16179 (__lookup_fhandler): New function.
16180 (__lookup_fhandler_hook, __fhandler_normal): New variables.
16181
16182 From anders.blomdell@control.lth.se (Anders Blomdell)
16183 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
16184 Don't touch standard handles.
16185 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
16186 (_execve): Only create __FD_TABLE__ if necessary.
16187 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
16188
16189Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
16190
16191 * libc/sys/win32/sys/termios.h (FLUSHO): New.
16192 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
16193 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
16194 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
16195 without a handler is received.
16196 * libc/sys/win32/Makefile.in: Remove --nodelete.
16197 * libc/sys/win32/resouce.c (gettimeofday): New.
16198 * libc/sys/win32/syscalls.c (path_to_real_path): New.
16199 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
16200
16201Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
16202
16203 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
16204 Don't append "/*" to search pattern if trailing '/' already there,
16205 append "*".
16206 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
16207 like /'s, convert them to \'s. Handle //<drive>/ path names.
16208 Add space for quoted \'s in arg string. Print translated prog name
16209 and original prog name.
16210 (_execve): Handle parent doing exec a teensy bit better.
16211 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
16212 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
16213 path needs conversion, handle both cases. Delete `const' from result.
16214 (hash_path_name): New function.
16215 (_open): Call it.
16216 (_stat): Likewise. Fill in more fields for directories.
16217 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
16218 (wait_for_any): Fix trace message.
16219 (waitpid): Explicitly test for intpid == 0.
16220
16221 From anders.blomdell@control.lth.se (Anders Blomdell)
16222 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
16223 so `next' is valid.
16224
16225Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
16226
16227 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
16228 complicated.
16229
16230Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16231
ba3ccd63
EB
16232 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
16233 at all, not just == 1.
16234 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
16235
16236Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16237
ba3ccd63
EB
16238 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
16239 * libc/sys/win32/include/wintypes.h: include <winnt.h>
16240 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
16241 file.
8a0efa53
CF
16242
16243Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
16244
16245 * libc/sys/syscalls.c (getcwd): Fix off by one error.
16246
16247 * libc/sys/signal.c (sleep): Fill it in.
16248 * libc/sys/termios.c (tcflush): Use PurgeComm
16249 (tcsetattr): Set some more of the bits.
16250 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
16251
16252Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
16253
16254 * libc/sys/arm/crt0.S (fp): Initialize to 0.
16255 Conditionally include .idata$3 stuff ifdef __pe__.
16256
16257Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
16258
16259 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
16260 * libc/sys/win32/pipe.c (pipe): Ditto.
16261 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
16262 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
16263 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
16264 (tcgetattr): Contents are new.
16265 * libc/sys/win32/include/winkernel.h (DCB): New.
16266 (GetCommState, SetCommState): New.
16267
16268Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
16269
16270 * libc/sys/arm/crt0.S (_start): Define.
16271
16272Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
16273
16274 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
16275 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
16276
16277 * libc/sys/win32/sysconf.c: New
16278 * libc/sys/win32/sys/winadvapi.h: New
16279 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
16280 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
16281 * libc/sys/win32/pipe.c (pipe): Ditto.
16282 * libc/sys/win32/signal.c (_raise): New.
16283 (_kill): Moved from spawn.c
16284 * libc/sys/win32/spawn.c (kill): Moved to signal.c
16285 * libc/sys/win32/syscalls.c (__read): Use new fields.
16286 (_open): Ditto.
16287 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
16288 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
16289 * libc/include/sys/unistd.h (rmdir): Takes const path.
16290 * libc/include/sys/stat.h (mkdir): Takes const path.
16291 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
16292
16293Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
16294
16295 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
16296
16297 Add support for specifying paths as //<drive>/foo/bar.
16298 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
16299 (__path_to_real_path): Declare.
16300 (PATH_TO_REAL_PATH): New macro.
16301 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
16302 (__path_needs_conversion_p, __path_to_real_path): New functions.
16303 (_open): Fix test for error return from CreateFileA.
16304 Handle new path syntax.
16305 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
16306 * libc/sys/win32/dirsearch.c (opendir): Likewise.
16307
16308Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
16309
16310 * libc/sys/win32/include/*.h: Reorganized
16311 * libc/sys/win32/include/WINREADME: New.
16312 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
16313 * libc/sys/win32/*.c: Fix for new include scheme.
16314 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
16315 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
16316 * libc/sys/win32/passwd.c (*): Fix.
16317 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
16318 (_stat): Get directory owner and permissions right.
16319 * libc/sys/win32/syscalls.h (uinfo): New.
16320 * libc/sys/win32/version.def: Remove leading underscores.
16321
16322Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16323
16324 * libc/sys/win32/key.c: include "include/wincon.h".
16325
16326Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
16327
16328 * libc/sys/win32/{key, stubs}.c: New.
16329 * libc/sys/win32/Makefile: Adjust to cope.
16330 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
16331 (environ_init): Change env names to upper case.
16332 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
16333 * libc/sys/win32/passwd.c (*): Fill in the functions.
16334 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
16335 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
16336 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
16337 (_open): Initialze hmap->execable_p too.
16338 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
16339 (_fstat): Fill in permissions.
16340 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
16341
16342Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
16343
16344 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
16345 if defined.
16346 (cfg-ml-pos.in invocation): Likewise.
16347
16348Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16349
16350 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
16351 s_isnan.o and sf_isnan.o.
16352
16353Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
16354
16355 * All Makefile.in files: added maintainer-clean target as a
16356 synonym for realclean.
16357
16358Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
16359
16360 * libc/include/machine/setjmp.h: Add hppa support.
16361 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
16362 support.
16363 * libc/machine/hppa/Makefile.in: Related changes.
16364
16365Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
16366
16367 * configure.in (machine_dir): Don't set for v810-*-*.
16368
16369Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16370
16371 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
16372 conventions correctly.
16373
16374Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
16375
16376 * libc/stdio/puts.c: Update documentation of return value to match
16377 ANSI standard.
16378
16379Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
16380
16381 Fix file descriptor inheritance.
16382 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
16383 (NOT_OPEN_FD): Fix.
16384 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
16385 close-on-exec flag not set. Initialize child's entire fd table.
16386 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
16387 CHILD_P.
16388 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
16389 if CHILD_P. Initialize entire hmap entry.
16390 (dup): Only create new handle as inheritable if CHILD_P.
16391 (dup2): Likewise. Properly initialize hmap entry.
16392
16393 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
16394 _spawn.
16395 (_exit): Use CHILD_P.
16396 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
16397 (_stat): Likewise.
16398
16399Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16400
16401 * libc/sys/win32/crt0.c (passover): fix up the state table.
16402 * libc/posix/popen.c: Added.
16403 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 16404
8a0efa53
CF
16405Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
16406
16407 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
16408 h8/500 define _DOUBLE_IS_32BITS.
16409
16410Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
16411
16412 Get vfork/exec/spawn/cwait/wait working again.
16413 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
16414 (procinfo): New member vfork_level.
16415 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
16416 (vfork_init_first): Use GetCurrentProcessId to get pid.
16417 Initialize vfork_level.
16418 (vfork_init): Delete __PID__.
16419 (environ_init): New function. Undo patch of Aug 19, Posix says
16420 environment variables are case sensitive.
16421 (mainCRTStartup): Call it.
16422 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
16423 (my_longjump: Make static.
16424 (_spawn): New argument `h'. Delete setting of __PID__.
16425 Delete local `idx'. Look for chars that need quotes, rather than
16426 ones that don't. Set handle of created process in `h'.
16427 Result is process id if created task.
16428 (allocate_spawn_entry): New function.
16429 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
16430 (_execve): Set __FD_TABLE__ before spawning child.
16431 Scan our fd table when passing fds, not our parent's.
16432 Store handle and pid in procinfo entry.
16433 (vfork0): Ensure strace message always printed.
16434 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
16435 (vfork): Don't clobber result of vfork0.
16436 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
16437 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
16438
16439 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
16440 and `exit_code'.
16441 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
16442 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 16443 adding vfork level to pseudo-pid.
8a0efa53
CF
16444 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
16445 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
16446 (_exit): If child, set exit code.
16447 (__vfork_record_death): Only close process handle if valid.
16448 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
16449 didn't exec.
16450 (wait_for_any): Likewise. Start scan after root entry.
16451
16452Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16453
16454 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
16455 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
16456 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
16457 of actual file length.
16458
16459 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
16460 * libc/include/paths.h: _PATH_BSHELL added.
16461 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
16462 and STDERR_FILENO.
16463
16464Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16465
16466 * libc/include/ar.h: Added.
16467 * libc/include/sys/types.h: ino_t goes back to 32-bits.
16468 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
16469 * libc/sys/win32/syscalls.c (_open): compute .namehash based
16470 on filename.
16471 (_fstat): use .namehash for inode number of the fd.
16472
16473Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
16474
16475 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
16476 Change hinfo to __this_procinfo.
16477 * libc/sys/win32/crt0.c: Remove procinfo_list.
16478
16479Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16480
16481 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
16482 win32 environment.
16483
16484Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16485
16486 * libc/sys/win32/include/grp.h: Removed.
16487 * libc/sys/include/grp.h: Added.
16488 * libc/sys/win32/grp.c: Include <grp.h>.
16489
16490Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
16491
16492 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
16493 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
16494 Defined for all but strict ANSI.
16495 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
16496 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
16497 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 16498 _MAX_SIGNALS to NSIG.
8a0efa53
CF
16499 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
16500 __hmap): Deleted.
16501 (__strace, __vfork_next_pid): New.
16502 (__exe_suffix): Default to 1.
16503 (passover, table): Understand quoted arguments.
16504 (vfork_init_first): New.
16505 (vfork_init): Initialize new process structure.
16506 (mainCRTStartup): Pass environ to main.
16507 * exceptions.c (__sig_mask): New
16508 (ehandler3): Ignore signals in mask.
16509 (really_exit): Remove CHILD_P test.
16510 * pipe.c (pipe, dup, dup2): Use new process and file structure.
16511 * resource.c (getrusage): Ditto.
16512 * signal.c (sigprocmask): New.
16513 * spawn.c (*): Rewritten.
16514 * syscalls.c (*): Use new process and file structure.
16515 (find_unused_handle): New.
16516 * syscalls.h (MAX_HANDLES): Deleted.
16517 (hinfo): Removed child_created_p.
16518 (MAX_CHILDREN): Deleted.
16519 (vfork_jmp_info, procinfo): New.
16520 * wait.c (*): Mostly new.
16521 * sys/strace.h (_STRACE_PARANOID): New.
16522 * sys/param.h: New file.
16523
16524Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16525
ba3ccd63
EB
16526 * libc/include/sys/stat.h: add S_BLKSIZE.
16527 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
16528 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
16529 types under win32.
16530 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 16531
ba3ccd63
EB
16532 * libc/sys/win32/Makefile.in: add grp.c.
16533 * libc/sys/win32/grp.c: include grp.h correctly.
16534 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
16535 of the st structure with real information.
16536 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
16537
16538Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
16539
16540 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
16541 and (maybe) sparc64.
16542 (nlink_t): Provide typedef.
16543
16544Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16545
16546 * libc/sys/win32/grp.c: New file.
16547 * libc/sys/win32/include/grp.h: New file.
16548
16549Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16550
16551 * libc/include/machine/ieeefp.h: Added whitespace to make this
16552 file easier to maintain.
16553 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
16554 depending on the value of __LITTLE_ENDIAN__.
16555 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 16556
8a0efa53
CF
16557Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
16558
16559 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 16560 routines. _raise() and getpid().
8a0efa53
CF
16561
16562Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
16563
16564 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
16565
16566Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16567
16568 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 16569 and VR4300 processor.
8a0efa53
CF
16570 * libc/sys/vr4300: Add directory.
16571 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 16572 monitor run-time support.
8a0efa53
CF
16573
16574Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16575
16576 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16577 * libc/stdlib/stdlib.tex: Don't include atol.def.
16578
16579Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16580
16581 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16582
16583Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16584
16585 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16586
16587Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16588
16589 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16590 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16591 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16592 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16593 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16594
16595Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16596
16597 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16598
16599Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16600
16601 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16602 * libc/stdlib/atoff.c: New file.
16603 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16604 * libc/stdlib/atoi.c (atol): Removed.
16605 * libc/stdlib/atol.c: Removed duplicate documentation.
16606
16607 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16608 #ifndef _STRICT_ANSI conditional.
16609 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16610 * libc/ctype/_tolower.c: New file.
16611 * libc/ctype/_toupper.c: New file.
16612 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16613 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16614 * libc/ctype/toascii.c (_toascii): Removed.
16615
16616Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16617
16618 * libc/sys/sparc64/sys/types.h: Deleted.
16619
16620Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16621
16622 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16623 and recognize Windows_95 systems.
16624
16625Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16626
16627 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16628 and passed fds should be opened in text mode.
16629
16630Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16631
16632 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16633 in __hmap, set to binary mode by default.
16634
16635Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16636
16637 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16638 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16639 vector 34.
16640
16641Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16642
16643 * Makefile.in (install): Install all libraries found in the
16644 top level. If there's a sys/<type>/include directory,
16645 install those headers into include.
16646
16647 * libc/sys/win32/kernel.def351: Delete
16648 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16649 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16650 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16651 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16652 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16653 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16654 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16655 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16656
16657 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16658 * libc/sys/win32/crt0.c: Force all env names to upper case.
16659 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16660 * libc/sys/win32/*.c: Headers have moved.
16661 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16662 __vfork_child_idx is now __vfork_child_ptr.
16663
16664 * posix/execvp (execvp): Don't crash if no PATH envname.
16665
16666Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16667
16668 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16669 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16670 through the _freelist instead of through the _reclaim list.
16671 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16672 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16673 sources.
16674
16675Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16676
16677 * libc/machine/h8500/setjmp.S: New file.
16678 * libc/include/machine/setjmp.h: Updated for H8/500.
16679
16680Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16681
16682 * libc/sys/win32/syscalls.c (_open): More stracing.
16683 (_stat): Open the file in O_BINARY.
16684
16685Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16686
16687 * libc/machine/h8300/setjmp.S: New file.
16688 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16689
16690Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16691
16692 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16693 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16694 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16695 __exe_suffix. Free fd_tab after setting env variable.
16696 (spawnv,_execve): Update.
16697 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16698 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16699 (__small_vfprintf): New function.
16700 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16701 * libc/sys/win32/wait.c (cwait): Validate argument.
16702
16703 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16704 (process_deletion_queue): Likewise.
16705
16706 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16707
16708Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16709
16710 * libc/sys/win32: Copyrights and gratuitous indenting.
16711
16712Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16713
16714 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16715 (process_deletion_queue): Likewise.
16716 (__close_all_files): New function.
16717 (_close): Only queue file deletion if really a file.
16718 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16719 _P_APPEND_EXE.
16720 (_exit): Call __close_all_files.
16721
16722 * libc/stdlib/system.c: #include <errno.h>.
16723 (_system_r): Fix results in -DNO_EXEC case.
16724
16725 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16726 Reorganize structure.
16727 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16728 if argument is valid. Save directory name in DIR. malloc space
16729 for dirent struct separately.
16730 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16731
16732 * libc/include/errno.h (ENAMETOOLONG): Define.
16733 * libc/string/strerror.c (strerror): Reword ENFILE.
16734 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16735
16736Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16737
16738 * libc/sys/win32/crt0.c (__progname): New global.
16739 (mainCRTStartup): Support strace=bitmask,filename.
16740 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16741 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16742 if error.
16743 (getcwd): Handle len too small. Convert '\\' to '/'.
16744 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16745 Add prototypes for open, creat, fcntl.
16746 (O_APPEND): Change value to conform to Microsoft's value.
16747 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16748
16749 * libc/stdlib/getopt.c: New file.
16750 * libc/stdlib/Makefile.in: Build it.
16751
16752Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16753
16754 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16755 Fix scanning of $PATH.
16756 * libc/posix/exec*.c: Call _execve, not execve.
16757 * libc/posix/execve.c: New file.
16758 * libc/posix/Makefile.in (OFILES): Add execve.o.
16759
16760 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16761 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16762 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16763 * libc/sys/win32/crt0.c: Update _STRACE calls.
16764 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16765
16766 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16767
16768 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16769 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16770 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16771 Print __seterrno trace message first.
16772 (_execve): Renamed from execve.
16773 (vfork): Update __strace usage.
16774 (__vfork_child_pid): Deleted.
16775 (__vfork_children, __vfork_child_idx): New globals.
16776 (_spawnvp): New function.
16777 (spawnvp, spawnv, _execve): Call _spawnvp.
16778 (init_child): Record child in __vfork_children.
16779 (__vfork_get_entry, __vfork_record_death): New functions.
16780 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16781 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16782 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16783 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16784 (children): New typedef.
16785 (__vfork_children,__vfork_child_idx): Declare.
16786 (__vfork_get_entry,__vfork_record_death): Declare.
16787 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16788 (waitpid): Handle pid == -1.
16789 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16790 * configure.in (i386-win32): Add -DNO_FORK.
16791 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16792 * libc/reent/execr.c (_fork_r): Likewise.
16793 * libc/stdlib/system.c (do_system): New function.
16794 If WIN32, try to get shell path from $SH_PATH, use vfork.
16795 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16796 otherwise return 0.
16797
16798Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16799
16800 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16801 * libc/sys/win32/fcntl.h: Don't include self.
16802 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16803 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16804 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16805 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16806 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16807 Correct prototypes.
16808 * libc/sys/win32/strace.c: New file.
16809 * libc/sys/win32/smallprint.c: New file.
16810 * libc/sys/win32/crt0.c (func): Delete.
16811 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16812 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16813 * libc/sys/win32/exceptions.c: Lint.
16814 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16815 Clean up handle usage.
16816 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16817 (open.c): Default file type is text.
16818 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16819 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16820
16821Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16822
16823 * configure.in (posix_dir, libc_posix_lib): New variables.
16824 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16825 (i[345]86-*-win32): Define posix_dir.
16826 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16827 (if unix_dir): Fix typo.
16828 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16829 scandir,seekdir,telldir}: New files.
16830 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16831 from libc/unix.
16832 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16833 (SUBDIRS): Add posix.
16834 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16835
16836 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16837 (NSIG): Increase to 21.
16838 * libc/include/sys/unistd.h (pid_t): Move from here,
16839 * libc/include/sys/types.h (pid_t): to here.
16840
16841 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16842 (__ptrace): Delete.
16843 (hinfo): New members close_exec_p, child_created_p.
16844 (struct exception_list): Define.
16845 (__hmap): Redefine as pointer to table.
16846 (__parent_hmap, __child_hmap): New globals.
16847 (__set_errno, __really_exit): Declare.
16848 (__vfork_child_pid): Declare.
16849 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16850 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16851 (__parent_hmap, __child_hmap): New globals.
16852 (__hmap): Redefine as pointer to active map.
16853 (__get_console): New function.
16854 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16855 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16856 mapping table from it if defined.
16857 (argv, envp): Dump if __strace >= 4.
16858 (main): Call here.
16859 * libc/sys/win32/exceptions.c (myp): Redefine.
16860 (__syscalls_b): Delete.
16861 (__stack_trace): New function.
16862 (ehandler3): Update to use _STRACE. Print stack trace.
16863 Call __really_exit instead of exit.
16864 (init_exceptions): Delete args argc,argv. New arg mine.
16865 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16866 FindFirstFileA, FindNextFileA, GetComputerNameA,
16867 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16868 * libc/sys/win32/signal.c (signal): Validate arg.
16869 (alarm, sleep): Define as stubs for now.
16870 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16871 (__syscalls_b, errno): Delete.
16872 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16873 (__seterrno): Handle more errors.
16874 (__sys_printf): Renamed from _ptrace.
16875 (__really_exit): New function.
16876 (queue_file_deletion, process_deletion_queue): New functions.
16877 (__resume_parent): New function.
16878 (_unlink): Handle trying to delete open file.
16879 (__totime_t): Renamed from totime_t.
16880 (setsid, __read, __write): New functions.
16881 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16882 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16883 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16884 * libc/sys/win32/console.c: Update to new definition of __hmap.
16885 * libc/sys/win32/Makefile.in: Build new files.
16886 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16887 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16888 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16889 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16890
16891Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16892
16893 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16894
16895Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16896
16897 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16898 have been made to the master dtoa.c sources (from netlib.att.com)
16899 since they were integrated into newlib in early 1992. Fixes
16900 problems with storage leaks and handling of numbers with very
16901 negative exponents.
17c0c97d 16902
8a0efa53
CF
16903Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16904
16905 * Makefile.in (all): set rootpre and srcrootpre before calling
16906 sub-makes.
16907
16908Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16909
16910 * libc/sys/win32/crt0.c: Change __hmap usage.
16911 * libc/sys/win32/exceptions.c: Use _ptrace call.
16912 * libc/sys/win32/syscalls.c: Use _ptrace call.
16913 (read, write): Cope with DOS style CRLF when in TEXT mode.
16914 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16915 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16916 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16917 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16918 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16919
16920Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16921
16922 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16923
16924 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16925 wrappers for hypot() and remainder() for BSD libm compatibility.
16926 These are public domain implementations written by me for the
16927 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16928 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16929 (fobj): Added wf_cabs.o and wf_drem.o.
16930
16931Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16932
16933 * libc/sys/h8500hms/misc.c: New file.
16934 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16935
16936Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16937
16938 * libc/time/localtime.c (localtime): Fix problem with leap year
16939 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16940
8a0efa53
CF
16941Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16942
16943 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16944
16945 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16946 (_exit): Use argument.
16947
16948Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16949
16950 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16951
16952Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16953
16954 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16955
16956Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16957
16958 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16959 target_cflags.
16960
16961Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16962
16963 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16964 ptrace with case insensitivity
16965 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16966 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16967 New files.
16968
16969Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16970
16971 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16972 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16973 (all, install, *clean): Use new multilib support.
16974 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16975
16976Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16977
16978 * libc/include/sys/signal.h (__WIN32__): New.
16979
16980 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16981
16982 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16983 (ulp, b2d): Handle 32 bit doubles.
16984 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16985 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16986
16987Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16988
16989 from medp@primag.co.uk:
16990 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16991 dynamically allocated buffers.
16992
16993Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16994
16995 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16996 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16997
16998Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16999
17000 * configure.in (powerpc): Fix previous fix.
17001
17002Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
17003
17004 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
17005 directories for this target.
17006
17007Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17008
17009 * configure.in (hppa): Add machine_dir definition.
17010 * libc/machine/hppa: New directory with PA specific implementations
17011 of the basic memory/string functions.
17012
17013Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
17014
17015 * configure.in: Update current PowerPC multilib directories.
17016 Split big and little endian configurations.
17017
17018Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
17019
17020 * configure.in: Add --enable-single-float option to configure to
17021 control use of MIPS single-float directories. Default to yes.
17022
17023 * Makefile.in (all): Don't recurse into multilib directory if it
17024 does not exist.
17025
17026Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17027
17028 * libc/sys/sh/syscalls.c: Fix typo.
17029
17030Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
17031
17032 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
17033 Pass down DLLTOOL.
17034 * libc/include/process.h: Define WAIT_CHILD.
17035 * libc/include/types.h: Get sizes right for win32.
17036 * configure.in (i386-*-pe): Becomes i386-win32.
17037 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
17038 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
17039 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
17040 is defined.
17041
17042Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
17043
17044 * configure.in (i[345]86-*-pe): New target (NT).
17045 * host/any: DLLTOOL new.
17046 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
17047 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
17048 WIN32 (just enough to cross host the comp-tools).
17049
17050Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
17051
17052 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
17053 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
17054
17055Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
17056
17057 * libc/include/machine/ieeefp.h (arm): Change to always be
17058 __IEEE_BIG_ENDIAN (even on little endian ARM's).
17059
17060Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
17061
17062 * libc/sys/crt0.S: Initialze sp, and call exit after main.
17063 * libc/sys/syscalls.c (abort): New.
17064 * configure.in (arm): Define ABORT_PROVIDED.
17065
17066Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17067
17068 * configure.in (powerpc): Define multidirs.
17069
17070Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
17071
17072 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
17073
17074Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
17075
17076 * configure.in (sparclite): Delete target_cflags. Define multidirs.
17077
17078Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
17079
17080 * configure.in, libc/include/machine/ieeefp.h: Modified
17081 for arm:
17082 libc/machine/arm/*, libc/sys/arm/*: New
17083
17084Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17085
17086 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
17087 __powerpc__ when determining endianness.
17088
17089Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17090
17091 * configure.in (m68*): Add multidir for the m68332.
17092
17093 * host/any (CC): Fix typo in last change.
17094
17095Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
17096
17097 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
17098 when determining endianness.
17099 * libc/include/machine/ieeefp.h: Ditto.
17100 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
17101 operands.
17102
17103Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
17104
17105 * libc/include/errno.h (ENOTEMPTY): Define.
17106
17107Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17108
17109 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
17110 target_cflags.
17111
17112 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
17113 and umultiply.o.
17114
17115 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
17116 instead of only when open succeeds. ANSI requires that multiple
17117 calls to tmpnam() result in different files.
17118
17119 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
17120 objects pulled in from /lib/libc.a that must be renamed before
17121 being pulled into newlib. /lib/libc.a's div.o conflicted with
17122 newlib's file with the same name.
17123
17124 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
17125
17126 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
17127 the build tree will only be used if the executables are present
17128 (instead of just the Makefiles).
17129
17130 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
17131 wcstombs): Define.
17132 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
17133 versions of these functions that I orignally wrote for the
17134 NetBSD C library.
17135 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
17136 versions I wrote for NetBSD.
17137
17138Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
17139
17140 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
17141 * libc/sys/sparclite/crt0.s: ditto.
17142
17143Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
17144
17145 * configure.in: Add soft-float for proelf.
17146
17147Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
17148
17149 * libc/stdlib/mprec.h (Bcopy): Copy the right number
17150 of bytes.
17151
17152Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
17153
17154 * Makefile.in (all): Depend on `force'.
17155 * configure.in (syscall_dir): Renamed from fake_sys_dir.
17156 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
17157 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
17158 * libc/Makefile.in: Likewise.
17159 * libc/include/reent.h: Update syscall references.
17160 (_fcntl_r): Add prototype.
17161 * libc/syscalls/*.c #include <reent.h>.
17162 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
17163
17164Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
17165
17166 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
17167 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
17168 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
17169 (time.h, sys/types.h): Always include (even if MSDOS).
17170 (stat): Fix prototype.
17171
17172Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
17173
17174 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
17175
17176Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
17177
17178 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
17179
17180Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
17181
17182 * libc/include/regdef.h: New file.
17183 * libc/machine/mips/machine/regdef.h: New file.
17184
17185Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
17186
17187 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
17188
17189Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
17190
17191 * libc/sys/sh/crt0.S: Pass main's return to exit.
17192 * libc/sys/sh/trap.S: Put errno in the right place.
17193
17194Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17195
17196 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
17197 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
17198 * libm/math/ef_rem_pio2.c: Likewise.
17199 * libm/math/e_log10.c: Remove unused static one.
17200 * libm/math/ef_log10.c: Likewise.
17201 * libm/math/s_frexp.c: Likewise.
17202 * libm/math/sf_frexp.c: Likewise.
17203
17204Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
17205
17206 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
17207 longjmp.S: Upgraded.
17208 * libc/sys/go32/sys/setjmp.h: Upgraded.
17209 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
17210
17211Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17212
17213 * configure.in: Add many entries to multidirs for mips targets.
17214
17215Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17216
17217 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
17218 5.2 which fixes bug where jn(-1,x) is three times larger than
17219 the actual answer.
17220 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
17221
17222Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
17223
17224 * libc/sys/w65/sys/syscalls.h: New file
17225 * libc/include/machine/ieeefp.h: W65 support.
17226 * libc/include/sys/config.h: Ditto.
17227 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
17228 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
17229 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
17230
17231Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17232
17233 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
17234
17235Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
17236
17237 * Makefile.in, configure.in: Remove any references to the old
17238 "stub" dir.
17239
17240Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17241
17242 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
17243 uses ... in prototype.
17244
17245
17246Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
17247
17248 * libc/sys/a29khif/sys/libconfig.h: Remove.
17249 * libc/sys/go32/sys/libconfig.h: Remove.
17250 * libc/sys/sun4/sys/libconfig.h: Remove.
17251 * libc/sys/sysvi386/sys/libconfig.h: Remove.
17252 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
17253 * libc/sys/sparc64/sys/libconfig.h: Remove.
17254
17255 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
17256 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
17257 * libc/include/math.h: Change all uses of _FLOAT_RET and
17258 _FLOAT_ARG to float.
17259 * libm/test/math.c: Likewise.
17260 * testsuite/libm.sac/math.c: Likewise.
17261 * testsuite/libm.sac/working/math.c: Likewise.
17262
17263Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
17264
17265 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
17266 gcc calls gas with endian option.
17267 * configure.in (sh): Build little endian version too.
17268
17269Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17270
17271 * configure.in: Configure big and little endian versions for MIPS
17272 targets.
17273
17274Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
17275
17276 * libc/include/limits.h: Deleted.
17277 * libc/include/machine/limits.h: Deleted.
17278
17279Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
17280
17281 * ChangeLog: Remove stub directory. This has all been rewritten
17282 and moved to devo/libgloss.
17283
17284Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17285
17286 * Makefile.in (dvi): Add to info target, use $@ in sub make.
17287 (docs): Merge into info target.
17288 * libm/Makefile.in (dvi): Add $(srcdir).
17289 * libm/math/Makefile.in (chobjs): Remove underscores from file
17290 names. Texinfo doesn't like them.
17291 (wacos.def, ...): Add explicit targets for all .def files.
17292 * libm/math/math.tex: Remove underscores from @include file names.
17293 * doc/Makefile.in (dvi): Add dummy target.
17294 * testsuite/Makefile.in (dvi): Add dummy target.
17295
17296Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
17297
17298 * Makefile.in (VERSION): Define. For net newlib releases.
17299
17300Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
17301
17302 * README: New file.
17303
17304Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
17305
17306 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
17307
17308Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17309
17310 * libc/stdlib/setenv.c (_findenv): Declare.
17311
17312 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
17313 fcntl to not use _EXFUN, and change string parameters to open and
17314 creat to be ``const char *''.
17315 * libc/sys/sparc64/sys/fcntl.h: Likewise.
17316 * libc/sys/sparc64/creat.c (creat): Make PATH const.
17317 * libc/syscalls/sysopen.c: Include <fcntl.h>.
17318 (open) Make _FILE const.
17319 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
17320 (_creat): Make PATH const.
17321 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
17322 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
17323 * libc/sys/m88kbug/syscalls.c (open): Likewise.
17324 * libc/sys/sh/syscalls.c (_open): Likewise.
17325 * stub/shared/glue.c (open): Make BUF const.
17326 * stub/ex93x/syscalls.c (open): Make FILENAME const.
17327
17328Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
17329
17330 * libc/include/errno.h: Add ENMFILE
17331 * libc/include/sys/config.h: Support Z8000.
17332 * libc/include/sys/signal.h: New signals for go32.
17333 * libc/machine/h8500/psi.S (__addpsir0r0): New function
17334 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
17335 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
17336 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
17337 size is variable, depending upon CHUNK_POWER.
17338 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
17339
17340Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
17341
17342 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
17343
17344Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17345
17346 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
17347
17348Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17349
17350 * configure.in: Change i[34]86 to i[345]86.
17351
17352 * libc/include/math.h: Don't define HUGE_VAL if it is already
17353 defined.
17354
17355Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17356
17357 * testsuite/libm.sac/test_erfc.c: Correct some result values.
17358 * testsuite/libm.sac/test_gammaf.c: Likewise.
17359 * testsuite/libm.sac/test_sin.c: Likewise.
17360 * testsuite/libm.sac/test_tanh.c: Likewise.
17361
17362Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17363
17364 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
17365 already set. Define typedefs __int32_t and __uint32_t.
17366 * libc/include/math.h: Include <machine/ieeefp.h>.
17367 (union __dmath): Use __uint32_t.
17368 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
17369 instead of int and unsigned int.
17370
17371Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17372
17373 Replace the math library with the SunPRO fdlibm package.
17374 * libm/math: Completely changed all files.
17375 * libm/ieeefp: Remove contents and directory.
17376 * libm/Makefile.in (LIBM_FP_LIB): Remove.
17377 (SUBDIRS): Just set to math/lib.a.
17378 * libm/libm.texinfo: Updated for new library.
17379 * libc/include/math.h: Extensive changes for new math library.
17380 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
17381 from _FLOAT_ARG to float.
17382 (maxpowtwo, maxpowtwof): Don't declare.
17383 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
17384 (libm_fp_lib): Removed.
17385 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
17386 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
17387 argument to ${RUNTEST}.
17388 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
17389 (.c.o): New rule.
17390 (RUNTESTFLAGS): Set CC and CFLAGS.
17391 (TESTS): Remove test_log2 and test_log2f.
17392 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
17393 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
17394 _FLOAT_ARG, for single precision argument type.
17395 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
17396 expected failure. Close the input pipe.
17397 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
17398 Correct misspelling of inaccurate.
17399 (test_mok): Use ``inaccurate'', not ``wrong''.
17400 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
17401 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
17402 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
17403 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
17404 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
17405 test_yn.c): Correct many result values. Many are still wrong.
17406
17407 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
17408 just copy the string.
17409 (_gcvt): Always return the buffer.
17410
17411Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17412
17413 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
17414
17415Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
17416
17417 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
17418 structure.
17419 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
17420 (_reclaim_reent): declare new entry point.
17421 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
17422 functions.
17423
17424 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
17425 ever allocated, so that we can later reclaim them all.
17426 (pow5mult): make reentrant.
17427
17428 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
17429 so that when given NULL as a buffer, return a pointer to static
17430 space in the rent structure. This is not documented behaviour;
17431 it's only to support ecvt and fcvt, which aren't ANSI anyway.
17432 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
17433 therefore become reentrant).
17c0c97d 17434
8a0efa53
CF
17435 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
17436
17437Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17438
17439 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
17440
17441Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17442
17443 * Makefile.in: Make link to libg.a after libc.a; this is needed
17444 for the testsuites to build executables when everything comes
17445 from the tree.
17446
17447Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
17448
17449 * libc/Makefile.in: Add a VERSION variable so we can keep track.
17450 * libm/Makefile.in: Add a VERSION variable so we can keep track.
17451
17452Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17453
17454 * libc/include/stdio.h: Use __VALIST, not va_list.
17455
17456Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
17457
17458 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
17459 testsuite/libm.sac/execute.exp:
17460 Replace error proc calls with perror calls.
17461
17462Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
17463
17464 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
17465 * libc/include/time.h: #define NULL as 0L.
17466
17467Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
17468
17469 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
17470 care of it.
17471
17472Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17473
17474 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
17475 not __unix__.
17476
17477Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
17478
17479 * configure.in (TARGET_CFLAGS): Set -O2 as default.
17480 (z8k-*-*): Use syscalls fake sys dir.
17481 * libc/sys/z8k/glue.c: Rename syscalls.
17482 * libc/sys/go32/Makefile.in: Use new routines.
17483 * libc/machine/Makefile.in: Fix typo in ln stuff.
17484
17485Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17486
17487 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
17488 * libc/Makefile.in (crt0.o): Likewise.
17489 * libc/machine/Makefile.in (lib.a): Likewise.
17490 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
17491
17492 All Makefile.in files: Added mostlyclean, realclean and distclean
17493 targets.
17494
17495 * Makefile.in: Don't bother to unexport XTRAFLAGS or
17496 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
17497 the top level Makefile.
17498
17499Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
17500
17501 * libc/sys/sparc64/sys/stat.h: New file.
17502 * libc/sys/sparc64/sys/time.h: New file.
17503 * libc/sys/sparc64/sys/types.h: New file.
17504
17505Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
17506
17507 * stub/ex93x/crt0.s (start): Add code to clear bss.
17508
17509Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
17510
17511 * libc/include/sys/types.h (time_t): Properly protect inside
17512 #ifndef __time_t_defined.
17513
17514 * libc/stdio/fileno.c: New file.
17515 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
17516 (fileno.o): Add dependency.
17517 * libc/include/stdio.h (__sgetc): Rename never to _never.
17518 (fileno macro): Disable, needs to do CHECK_INIT first.
17519
17520Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
17521
17522 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 17523 goal.
8a0efa53
CF
17524
17525 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
17526 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
17527 runtest.
17528 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
17529 runtest.
17530
17531Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
17532
17533 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
17534 of the various constants.
17535
17536Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
17537
17538 * libc/include/math.h: #ifndef __math_68881 around things which
17539 conflict with the (gcc-provided) inline functions in
17540 gcc/ginclude/math-68881.h.
17541
17542Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
17543
17544 * libc/include/_syslist.h (_gettimeofday): Define.
17545 (_times): Ditto.
17546 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
17547 (struct tms, timeval, timezone): Declare.
17548 (_gettimeofday_r, _times_r): Declare.
17549 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
17550 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17551 (time_t): Add multiple definition protection, __time_t_defined.
17552 * libc/include/sys/time.h: Don't #include <time.h>.
17553 Always define struct timezone (remove #ifndef _TIME_H_).
17554 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
17555 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17556 * libc/reent/Makefile.in (OFILES): Add timer.o.
17557 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
17558 * libc/reent/timer.c: New file.
17559 * libc/time/clock.c: #include <reent.h>.
17560 (clock): Call _times_r instead of times.
17561 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
17562 HAVE_GET_TIME_OF_DAY.
17563 Add comment regarding supporting OS routine(s) required (for docs).
17564 #include <reent.h>.
17565 (time): Call _gettimeofday_r instead of gettimeofday.
17566 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17567 * libc/time/ctime.c: Ditto.
17568 * libc/time/strftime.c: Ditto.
17569 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17570 (TEMPLATE_SFILES_R): Define here. Also define times.
17571 Add times_r.o/times.S dependence.
17572 (time2.c, junk.c): Deleted.
17573 * libc/sys/sparc64/time2.c: Deleted.
17574 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17575
17576 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17577 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17578 * libc/sys/sparc64/junk.c: Deleted.
17579
17580Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17581
17582 * libc/sys/sparc64/Makefile.in: Add times syscall.
17583 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17584 be used with and without it. Add comment clarifying Medium/Anywhere
17585 model requirements.
17586 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17587 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17588 even if obsolete.
17589
17590Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17591
17592 * configure.in (target_cflags): Move init.
17593 (sparc64-*-*): Define HAVE_BLKSIZE.
17594
17595Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17596
17597 * libc/include/sys/_types.h: New file.
17598 * libc/include/reent.h: #include it.
17599 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17600 MISSING_SYSCALL_NAMES.
17601 Sort syscalls.
17602 * libc/include/_syslist.h: Remove _raise.
17603 * libc/reent/signalr.c: New file.
17604 * libc/reent/Makefile.in: Compile it.
17605 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17606 Add doc for raise and _raise_r.
17607 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17608 (raise): Call _raise_r.
17609 (_raise_r): Call _getpid_r and _kill_r.
17610 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17611 (abort): Loop forever calling raise and _exit.
17612
17613Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17614
17615 * configure.in: Remove extraneous echo.
17616
17617Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17618
17619 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17620 collision with unistd.h, and fix for svr4.
17621
17622Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17623
17624 * libc/stdio/local.h (_llicvt): Declare.
17625 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17626 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17627 (_llicvt): Define.
17628 (_sicvt): Fix function header (`value' is short).
17629 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17630 Add printing of long long's support.
17631 Add printing of 8 byte pointer support.
17632
17633Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17634
17635 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17636 stat, chmod): New hooks.
8a0efa53
CF
17637 (sbrk): Abort if stack and heap collide.
17638 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17639 shortcut when given small args.
17640 * libc/machine/sh/setjmp.s: Rewritten.
17641 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17642 of cmp/str instruction.
17643
17644Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17645
17646 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17647 and machine_dir powerpc.
17648 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17649 Add cases for __powerpc__.
17650 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17651 New files.
17652
17653 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17654
17655Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17656
17657 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17658 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17659
17660Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17661
17662 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17663 (print_e): More comments to describe args, etc.
17664 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17665 trailing blanks.
17666 (_gcvt): Remove locals decpt, sign, end, p, done.
17667 More comments for print_e invocation.
17668 Pass "type" to print_e as is (g/G).
17669
17670Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17671
17672 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17673 stock m68000.
8a0efa53
CF
17674
17675Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17676
17677 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17678 works with any sized pointer, including ones bigger than ints and
17679 longs.
17680
17681Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17682
17683 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17684
17685Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17686
17687 * libc/include/stdlib.h (_calloc_r): Add prototype.
17688 * libc/machine/h8500/negsi2.c: New file.
17689 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17690 large unsigned numbers.
17691 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17692 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17693 works when sizeof(size_t) != sizeof(char *).
17694 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17695 get play area
17696 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17697
17698Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17699
17700 * libc/include/assert.h (assert): Handle -traditional.
17701
17702Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17703
17704 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17705 the end of a line (ie. anything before a backslash continuation)
17706 so that bash handles them.
17707
17708Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17709
17710 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17711 stat to lstat
8a0efa53
CF
17712
17713Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17714
17715 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17716 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17717 libc/machine/sh/udivsi3.s: Use new calling convention.
17718
17719Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17720
17721 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17722 chmod, access, chdir, chown by making _path const. Also fix _amode
17723 param of access.
17724
17725Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17726
17727 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17728 _khif_tmpnam, because it doesn't comply with ANSI but may be
17729 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17730 colliding with this one (pr 2176.)
8a0efa53
CF
17731 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17732 the wrong idea anyhow.
17733
17734Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17735
17736 * configure.in: Remove h8300h, we have multilib now.
17737
17738Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17739
17740 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17741 functions, to get preference over the ones in libiberty (since we
17742 provide correct declarations in <string.h>.
17743 * libc/string/Makefile.in: add support for strncasecmp,
17744 strcasecmp.
17745
17746Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17747
17748 * Change netware config not to look for cpu explicitly.
17749
17750Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17751
17752 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17753 * libc/sys/sparc64/Makefile.in: Add dependencies.
17754
17755Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17756
17757 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17758
17759Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17760
17761 * libc/include/sys/reent.h: make structure smaller by allocating
17762 some stuff when needed.
17763 * libc/signal/signal.c: allocate as needed
17764 * libc/stdio/findfp.c,stdio/local.h: ditto
17765 * libc/stdlib/mprec.c: ditto
17766
17767 * libc/time/localtime.c: don't return a dangling stack ptr.
17768
17769Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17770
17771 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17772
17773Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17774
17775 * libc/include/stdio.h (__sputc): comment out static inline which
17776 confuses coff toolchains.
17777
17778Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17779
17780 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17781 _write.s, getpid.c, kill.c, read.s}:
17782 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17783 through the syscalls directory.
17784
17785Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17786
17787 * configure.in: fixed double quote gotcha.
17788
17789Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17790
17791 * stub/ex931: stub library for sparclite board.
17792 * stub/idp: Renamed from mc68ec. Added contructor table
17793 stuff to linker script.
17794 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17795 stuff to linker script.
17796
17797Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17798
17799 * configure.in: Configure testsuites only if they exist.
17800
17801Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17802
17803 * configure.in: Don't set machine_dir for i386 until there is
17804 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17805 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17806 CLOCK_PROVIDED and MALLOC_PROVIDED.
17807
17808 * libc/sys/netware: New directory. Contains simplistic and
17809 probably incorrect stubs for NetWare. Should be enough to load
17810 the library.
17811 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17812 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17813 stub files.
17814
17815 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17816 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17817 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17818 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17819
17820Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17821
17822 * testsuite/Makefile.in: add "docs" dummy target for consistency
17823 with rest of newlib; turn "info" and "install-info" into dummy
17824 targets, since they wouldn't have worked. (Depended on
17825 nonexistent "doc" subdir.)
17826
17827Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17828
17829 * configure.in: handle mips* instead of mips
17830
17831Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17832
17833 * libc/include/sys/dirent.h: New file. If it is not overridden by
17834 a version of libc/sys/*/sys/dirent.h, it includes the next
17835 <dirent.h> file in case there is one lurking somewhere.
17836
17837Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17838
17839 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17840 compliance, namely: Accept a minus sign. Consider a single 0 with
17841 a radix of 0 as being a conversion. Determine overflow correctly.
17842 If an overflow occurs, set *ptr to the end of the number, not the
17843 middle.
17844 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17845
17846Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17847
17848 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17849
17850Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17851
17852 * Makefile.in (INSTALL): Use $srcrootpre.
17853 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17854 can't handle it.
17855 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17856 it.
17857 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17858 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17859 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17860 * libm/math/Makefile.in (matherr.o): Ditto.
17861
17862Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17863
17864 * configure.in: Build multidirs for z8k.
17865 * libc/include/stdlib.h (_strtoul_r): add prototype.
17866 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17867 * libc/include/machine/setjmp.h: Add for z8k.
17868 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17869 * libc/sys/z8ksim/glue.c: tidy up.
17870
17871Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17872
17873 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17874 New files. Requires execve system call.
17875 * libc/unix/Makefile.in: Use them.
17876 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17877 Deleted, moved to libc/unix.
17878 * libc/sys/sparc64/Makefile.in: Remove them.
17879
17880Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17881
17882 * libc/sys/sparc64/{template.S template_r.S}: New files.
17883 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17884 from templates.
17885 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17886 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17887 umask.S unlink.S wait4.S write.S}: Removed, now built from
17888 templates.
17889
17890Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17891
17892 * libc/time/time.c: #include <_ansi.h>.
17893
17894Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17895
17896 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17897
17898Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17899
17900 * configure.in: match m8* rather than m88k so that m88110 is
17901 recognized as well.
17902
17903Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17904
17905 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17906 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17907 misc.c: New file.
17908
17909 * configure.in: Add multilib support to h8300.
17910
17911Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17912
17913 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17914 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17915 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17916
17917Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17918
17919 * configure.in: Corrected multidirs for sparc target.
17920
17921Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17922
17923 Support for building newlib multiple times with different
17924 compilation flags.
17925 * configure.in: Only configure doc at top level. Set multidirs
17926 when appropriate for target, unless not at top level. If
17927 multidirs is set, independently configure each subdirectory.
17928 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17929 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17930 automagically set by configure.in.
17931 (all): If MULTIDIRS is set, build multiple copies of libraries.
17932 (install): If MULTIDIRS is set, install multiple copies of
17933 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17934 MULTISUBDIR is set, don't bother to install header files.
17935 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17936 ${srcrootpre}.
17937 * stub/configure.in: Set MULTISUBDIR appropriately.
17938 * stub/Makefile.in (install): Install in
17939 $(tooldir)/lib/$(MULTISUBDIR).
17940 * All Makefile.in files: Define SRCTOP as well as TOP.
17941
17942Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17943
17944 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17945 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17946
17947Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17948
17949 * libc/sys/h8300hms/exit.c (_exit): New function.
17950
17951Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17952
17953 * configure.in: recognize m88110.
17954
17955Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17956
17957 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17958 prototype main and call with args.
17959
17960Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17961
17962 First real try at system traps for m88k-bug.
17963 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17964 to real trap calls.
17965 * libc/sys/m88kbug/sys/systraps.h: new file.
17966
17967Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17968
17969 Patches to fix info building when target does not use sys
17970 directory.
17971 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17972 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17973 libc/sys.tex.
17974 * libc/sys/Makefile.in (doc): do nothing.
17975
17976Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17977
17978 * libc/Makefile.in (CRT0): new macro.
17979 (all): depend on $(CRT0) rather than crt0.o.
17980
17981 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17982 do not default crt0, instead, set crt0 and crt0_dir based on
17983 sys_dir and stub_dir.
17984
17985 * Makefile.in (CRT0_DIR): new macro.
17986 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17987 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17988 $(CRT0).
17989 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17990
17991Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17992
17c0c97d
EB
17993 * testsuite/lib/libm.exp:
17994 added code to support compiling and linking of tests for
17995 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17996 pass or failure of the tests.
17997
17998 * testsuite/config/unix-libm.exp:
17999 platform specific proc's for dealing with compiler, linker
18000 and the way we execute and process the test results.
18001
18002 * testsuite/libm.sac/execute.exp:
17c0c97d 18003 generic framework for the sac tests. the config and lib
8a0efa53
CF
18004 expect code for specific platforms tie it all together.
18005
18006 * testsuite/libm.sac/test_is.c:
18007 changed the output of the test to be consistant with the
18008 other tests. parsing of pass nad fail messages is now fixed.
18009
18010Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
18011
18012 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
18013 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
18014 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
18015 #ifdef __cplusplus, surround by extern ""C { ... }.
18016 * libc/include/assert.h: Do *not* protect assert.h against
18017 multiple inclusion! Also, #undef it before #define, to allow
18018 redefinition.
18019 * libc/include/stdio.h (getlogin, cuserid): Removed. These
18020 should be only in unistd.h.
18021
18022 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
18023 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
18024 ... }.
18025
18026Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
18027
18028 * libc/machine/sparc/Makefile.in: Must create a library, even
18029 if empty.
18030
18031Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18032
18033 * configure.in: set machine_dir for m88k. edit crt0 definition
18034 into makefiles.
18035
18036 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
18037
18038 * libc/Makefile.in (all): also build crt0.o.
18039
18040 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
18041 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
18042 to remove CRT0.
18043
18044 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
18045 (all): reworked to build in place.
18046 (clean): remove lib.a
18047 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
18048
18049 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
18050 (_start): key off edata rather than _start_bss.
18051
18052Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
18053
18054 * libc/include/sys/unistd.h, libc/include/reent.h,
18055 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
18056
18057Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18058
18059 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
18060
18061 * Makefile.in (libc.a): break into two rules, one for libc.a and
18062 one for libc/libc.a. Force subdirs current before rebuilding
18063 library.
18064 (libm.a): break into two rules, one for libm.a and one for
18065 libm/libm.a. Force subdirs current before rebuilding library.
18066
18067 * libc/Makefile.in (SUBLIBS): fix typo.
18068
18069 * libc/sys/Makefile.in (all): force descent into subdirs, then
18070 rebuild library iff out of of date.
18071
18072Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18073
18074 Rework so that library is built and then finished rather than
18075 being built on each invocation of make.
18076
18077 * host/any (machine_dir, sys_dir, signal_dir): these are not
18078 shared and have been moved to their associated Makefile.in's.
18079 (AR_FLAGS): switch to qc which is faster.
18080 * configure.in: no longer assign machine_dir for m88k. set
18081 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
18082 stub_dir set, then add to configdirs. add comment about silly
18083 configuration.
18084 (configdirs): drop stub. It will be added only
18085 when needed.
18086 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
18087 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
18088 stub_lib, crt0): new variables for tailoring lower level
18089 makefiles. Assign accordingly and edit into makefiles.
18090 * libm/Makefile.in: updated copyright.
18091 (TARGETLIB): removed.
18092 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
18093 (SUBDIRS): removed TARGETDEP_DIRS.
18094 (LIBM_FP_LIB, SUBLIBS): new macros.
18095 (all): reworked.
18096 (force): new target to force rebuilds.
18097 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18098 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
18099 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
18100 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
18101 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
18102 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
18103 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
18104 stub/m68kmvme/Makefile.in: updated copyright.
18105 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
18106 (all): reworked. made this the default rule.
18107 (clean): also remove lib.a.
18108 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18109 * stub/Makefile.in: updated copyright.
18110 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
18111 (stub_lib): new macro.
18112 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
18113 RANLIB.
18114 (all): reworked.
18115 (clean, install): assume stub_dir exists.
18116 (Makefile): depend on configure.in. call $(SHELL) rather than
18117 sh. drop redundant ./
18118 * stub/configure.in (stublib): new macro, assign it, edit it into
18119 makefiles.
18120 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
18121 updated copyright.
18122 (all): reworked.
18123 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18124 * libc/Makefile.in (TARGETCRT0): removed.
18125 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
18126 TARGETCRT0.
18127 (SUBDIRS): drop TARGETDEP_DIRS.
18128 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
18129 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
18130 (force): new target to force rebuilds.
18131 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
18132 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
18133 removed.
18134 (clean): assume sys_dir always exists.
18135 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
18136 drop redundant ./
18137 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
18138 libc/locale/Makefile.in, libc/machine/Makefile.in,
18139 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
18140 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
18141 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
18142 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
18143 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
18144 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
18145 libc/signal/Makefile.in, libc/stdio/Makefile.in,
18146 libc/stdlib/Makefile.in, libc/string/Makefile.in,
18147 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
18148 libc/time/Makefile.in, libc/unix/Makefile.in,
18149 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
18150 (TARGETLIB): removed.
18151 (all): reworked.
18152 (clean): also remove lib.a.
18153 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18154 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
18155 new macros.
18156 (SUBDIRS): moved to follow frag inclusion, change stub to
18157 stub_dir.
18158 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
18159 are now set in the libc Makefile.
18160 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
18161 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
18162 TARGETCRT0.
18163 (force): new target to force rebuilds.
18164 * stub/configure.in: determine and set stub_lib for for Makefile.
18165
18166Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
18167
18168 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
18169 crt0.s renamed to crt0.S.
18170 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
18171
18172 * libc/machine/h8300/Makefile.in: Make `all' the default target.
18173 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
18174 h8300h.
18175 * libc/machine/h8300/defines.h: Add macros to handle pointers for
18176 h8300 (16 bits) and h8300h (32 bits).
18177 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
18178 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
18179
18180Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
18181
18182 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
18183 implementation of setjmp and longjmp for the m88k.
18184 * libc/include/machine/setjmp.h: Added __m88000__ case.
18185
18186Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
18187
18188 * configure.in: Recognize h8300h as variant of h8300.
18189
18190Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18191
18192 * libc/include/sys/unistd.h (read, write): get prototypes right.
18193 (sbrk): New prototype.
18194 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
18195 * libc/stdio/local.h: Include unistd.h.
18196 * libc/machine/h8300/syscalls.c: Names have changed.
18197
18198Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
18199
18200 * configure.in: add sys_dir assignment for m88k-bug.
18201
18202Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
18203
18204 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
18205 a.out or elf.
18206 * libc/sys/sparc64: all *.S files: Use new macros.
18207 * libc/sys/sparc64/isatty.c: New file.
18208 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
18209 functions beyond what newlib provides.
18210
18211Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
18212
18213 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
18214 svr4.
18215
18216Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
18217
18218 * libc/include/machine/ieeefp.h: Add support for h8/300h.
18219
18220Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
18221
18222 * configure.in: add m88k.
18223 * libc/include/machine/ieeefp.h: add case for m88k. Also add
18224 sanity check so no one else need ever chase what I did to find
18225 this.
18226
18227 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
18228
18229Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
18230
18231 * doc/makedoc.c: Include <ctype.h>.
18232
18233Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
18234
18235 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18236 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18237 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18238
18239 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
18240
18241Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
18242
18243 * libc/include/errno.h (ENOSYS): Added.
18244
18245 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
18246
18247Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18248
18249 * libc/stdio/fflush.c (fflush): Check for reent struct
18250 initialization.
18251 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
18252
18253Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
18254
18255 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
18256 out of dtoa.c so it doesn't pollute the namespace.
18257 * libc/include/_syslist.h: new file -- mappings from _function to
18258 function, for systems where we can't win (by default, all of them,
18259 until we start updating system calls.)
18260 * libc/syscalls: new directory -- stubs for exporting _function
18261 names as unmodified function names.
18262 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
18263 _syslist.h on all platforms by default, but put hooks in for
18264 fake_sys_dir so we can include it when we've renamed the system
18265 calls.
18266 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
18267 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
18268 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
18269 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
18270 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
18271 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
18272 non ANSI functions to call _function.
18273
18274Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
18275
18276 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
18277 when base 16 is specified. Don't accept non-digits if radix > 10.
18278
18279Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
18280
18281 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
18282
18283Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18284
18285 * libc/include/sys/stat.h: Surround text after #endif with
18286 comments.
18287
18288Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
18289
18290 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
18291 _malloc_r, _realloc_r, and free_r call the corresponding
18292 non-reentrant functions.
18293
18294 * libm/math/modf.c (modf): We now take the address of ipart, so
18295 don't make it a register variable.
18296
18297Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
18298
18299 * libm/math/*: Rename all xxx_r fns to _xxx_r.
18300
18301Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
18302
18303 * libc/libc.texinfo and embedded docn throughout: formatting
18304 improvements, minor rephrasing for clarity, and improved
18305 reentrancy docn.
18306
18307Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18308
18309 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
18310
18311 * libc/stdio/cvt.c (_licvt): Print the right value on machines
18312 where sizeof(int) != sizeof(long).
18313
18314Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18315
18316 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
18317 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
18318 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
18319 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
18320 libm/math/matherr.c: changes for better docn formatting (info).
18321
18322 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
18323 libc/reent/reent.tex, libc/signal/signal.tex,
18324 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
18325 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
18326 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
18327 makeinfo node defaulting to get better Info file node structure.
18328 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
18329 Also include a few formerly missing sections (subroutines).
18330
18331 * doc/doc.str: delete fossil expansion for "func"
18332
18333 * default.menu, no-signal.menu: delete.
18334
18335 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 18336 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
18337 signal_dir is empty.
18338
18339Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18340
18341 * configure.in: added testsuite/libm.sac
18342
18343Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
18344
18345 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
18346 code model).
18347
18348Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
18349
18350 * libm/Makefile.in: Use $(MAKE) rather than make, and define
18351 MAKEOVERRIDES to be empty.
18352
18353Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
18354
18355 * configure.in: Don't build mips-*-* with -msoft-float, since that
18356 makes it incompatible with hard floating point.
18357
18358Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18359
18360 * Makefile.in: added recursive 'make check'
18361
18362Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18363
18364 * configure.in: added ./testsuite ./testsuite/libm.paranoia
18365 * ./testsuite/Makefile.in: created
18366 * ./testsuite/libm.paranoia: paranoia tests added
18367
18368Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
18369
18370 * configure.in: For mips-*-* set machine_dir to mips.
18371
18372 * libc/machine/mips: New directory.
18373 * libc/machine/mips/Makefile.in: New file.
18374 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
18375 setjmp and longjmp.
18376 * libc/include/machine/setjmp.h: Added __mips__ case.
18377
18378 * libc/machine/lmips: Removed unused and useless directory.
18379
18380Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
18381
18382 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
18383
18384Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
18385
18386 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
18387 start up).
18388
18389Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
18390
18391 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
18392 SETJMP_H.
18393
18394Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
18395
18396 * libm/test/convert.c: structure member errno -> errno_val.
18397 Must include <errno.h> to use errno, it's a macro now.
18398 * libm/test/math.c: Ditto.
18399 * libm/test/math2.c: Include errno.h.
18400 * libm/test/string.c: Ditto.
18401 * libm/test/test.h: structure member errno -> errno_val.
18402 Remove extern int errno decl.
18403
18404Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
18405
18406 * libc/stdio/Makefile.in: Added dependencies on local header
18407 files.
18408 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
18409 files.
18410
18411Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
18412
18413 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
18414
18415Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
18416
18417 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
18418 Initialize _data.
18419
18420 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
18421 * libc/stdio/local.h: Add prototype for _licvt.
18422
18423 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
18424 instead of malloc,reealloc.
18425
18426 * libc/stdlib/local.h: New file.
18427 * libc/stdlib/efgcvt.c: #include local.h.
18428 (gcvt): Fix call to _gcvt.
18429 * libc/stdlib/ecvtbuf.c: #include local.h.
18430
18431 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
18432 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
18433 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
18434
18435 * libc/stdlib/atexit.c: moved global data to struct _reent.
18436 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
18437
18438 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
18439
18440Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
18441
18442 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
18443 here from ../reent.h.
18444
18445Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
18446
18447 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
18448 should be provided in both libc.a and libm.a.
18449 (libc.a): Depend on targ-include and libm.a. Copy
18450 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
18451 (libm.a): Depend on targ-include.
18452 * configure.in (subdirs): Removed libc/math.
18453
18454Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18455
18456 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
18457
18458Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
18459
18460 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
18461 sys/reent.h instead of reent.h.
18462 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 18463 headers moved to sys/reent.h.
8a0efa53
CF
18464 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
18465 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
18466 __need__MAX_SIGNALS defined.
18467 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
18468 std{in,out,err} refer to new _std{in,out,err} members.
18469
18470Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
18471
18472 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
18473 case.
18474
18475Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
18476
18477 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
18478 rather than whatever macro seterrno() has.
18479
18480Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
18481
18482 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
18483 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18484
18485 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
18486 __STDC__.
18487
18488 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
18489 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
18490 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18491
18492 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
18493 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18494
18495 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
18496 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
18497 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
18498 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
18499 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
18500 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
18501 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
18502 renamed to _xxx_r. struct reent_struct renamed to struct _reent
18503 for ANSI. structure members given leading "_" for ANSI. Use
18504 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18505
18506 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
18507 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
18508 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
18509 reent_struct renamed to struct _reent for ANSI.
18510 Structure members given leading "_" for ANSI.
18511 _CONST --> const in prototypes.
18512 Use _HAVE_STDC instead of __STDC__.
18513
18514 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
18515 _xxx_r.
18516 struct reent_struct renamed to struct _reent for ANSI.
18517 Structure members given leading "_" for ANSI.
18518
18519 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
18520 _xxx_r.
18521 struct reent_struct renamed to struct _reent for ANSI.
18522
18523 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
18524 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
18525 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
18526 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
18527 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
18528
18529 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
18530 signal.h, stdio.h, stdlib.h, string.h, time.h}:
18531 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18532 #ifndef _STRICT_ANSI non-ANSI routines.
18533 Reentrant routines renamed from _r_xxx to _xxx_r.
18534 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
18535 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
18536 Clean up namespace (structure members have leading "_").
18537 struct reent_struct renamed to struct _reent for ANSI compliance.
18538 _CONST --> const in function prototypes.
18539
18540 * libc/include/string.h: Add NULL and size_t.
18541
18542 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
18543 unlink, wait, wait4. Reentrant syscall routines close, fork,
18544 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
18545 write.
18546 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
18547 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
18548 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
18549 write.S}: Define reentrant versions.
18550 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
18551 reentrant syscalls.
18552
18553 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
18554
18555 * libc/include/stdlib.h (RAND_MAX): Fix value.
18556
18557Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
18558
18559 * libc/sys/a29khif/_main.c: Removed unnecessary file.
18560 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
18561 VPATH support targets after all: target.
18562
18563 * stub/mvme135/mvme.S: Renamed exceptionhandler to
18564 exceptionHandler, which is what mvme135-stub.c expects.
18565
18566Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18567
18568 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18569
18570 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18571 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18572 compliant).
18573
18574Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18575
18576 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18577 first.
18578 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18579 _r_write): Ditto.
18580 libc/reent/fstatr.c (_r_fstat): Ditto.
18581 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18582 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18583 libc/reent/statr.c (_r_stat): Ditto.
18584
18585 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18586 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18587 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18588 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18589 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18590 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18591 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18592 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18593 (__swrite): Ditto for _r_lseek, _r_write.
18594 (__sseek): Ditto for _r_lseek.
18595 (__close): Ditto for _r_close.
18596 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18597
18598 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18599 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18600
18601 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18602 to make reent_struct the first argument (and thus consistent with
18603 the rest of newlib).
18604
18605 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18606 reference to __STDC__.
18607
18608Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18609
18610 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 18611 global __cleanup.
8a0efa53
CF
18612
18613Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18614
18615 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18616 first.
18617 libc/stdio/fclose.c (fclose): Ditto.
18618
18619Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18620
18621 * Run through indent and rename reentrant routines for ANSI.
18622 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18623 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18624 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18625 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18626 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18627 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18628 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18629 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18630 vsprintf.c wbuf.c wsetup.c local.h}
18631
18632 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18633
18634 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18635 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18636 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18637 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18638 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18639 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18640
18641 * Run through indent.
18642 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18643 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18644 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18645 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18646 strxfrm.c}
18647
18648 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18649 localtime.c mktime.c strftime.c time.c}:
18650 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18651
18652 * Reformatting + renaming (for ANSI, GNU style, consistency).
18653 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18654 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18655 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18656
18657Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18658
18659 * libc/include/stdio.h (stdin_r): Fix.
18660
18661Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18662
18663 * Makefile.in: Unexport some variables to keep GNU make from
18664 putting them in the environment and using up needed ARG_MAX space
18665 (a hack is used to let this work with older makes as well).
18666
18667Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18668
18669 * Makefile.in: Use $(MAKE) rather than make.
18670 (MAKEOVERRIDES): Define to be empty.
18671 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18672 (libc.a, libm.a): Depend on targ-include.
18673 * host/any (LD): Don't define.
17c0c97d 18674 (INCLUDES): Use targ-include.
8a0efa53
CF
18675 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18676 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18677 * libc/Makefile.in: Use $(MAKE) rather than make.
18678 (MAKEOVERRIDES): Define to be empty.
18679 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18680 (all): Rewrote to be slightly smaller.
18681 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18682 Define to be empty.
18683 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18684 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18685
18686Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18687
18688 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18689 with errno/errno.c.
18690
18691Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18692
18693 * Changes for reentrancy.
18694 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18695 Use ptr->_errno, not errno.
18696 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18697 libc/stdio/remove.c (remove_r): New function.
18698 libc/stdio/rename.c (rename_r): New function.
18699 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18700 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18701 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18702 reentrant versions of system calls.
18703 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18704 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18705 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18706 libc/stdio/findfp.c: Include <string.h>.
18707 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18708 "local.h".
18709 libc/stdio/wbuf.c: Include "fvwrite.h"
18710
18711 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18712 <string.h>.
18713 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18714 (NULL): Don't define if already defined.
18715 libc/stdlib/system.c: Call reentrant versions of system calls.
18716 (system_r): New function.
18717
18718 * Changes for reentrancy.
18719 libc/include/_ansi.h (_PARAMS): New macro.
18720 libc/include/errno.h: Define errno as a macro that calls __errno.
18721 (__errno_r): New macro for reentrant code.
18722 libc/include/math.h: Include reent.h. Declare many reentrant
18723 functions.
18724 (signgam): Now a macro, not a variable.
18725 (struct exception): Added err field.
18726 libc/include/reent.h: Don't declare __sglue. Added function
18727 declarations.
18728 (struct reent_struct): Moved errno to beginning. Added _signgam.
18729 libc/include/stdio.h, libc/include/stdlib.h: Added function
18730 declarations.
18731
18732 * More reentrancy hacking.
18733 libc/errno/errno.c (__errno): New function.
18734 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18735 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18736 files.
17c0c97d 18737
8a0efa53
CF
18738 * Added many new reentrant functions to libm/math/*.
18739 libm/math/error.c (__matherror): Added reent_struct pointer
18740 argument. Changed all callers.
18741 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18742 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18743 libm/math/tan.h: Removed obsolete unused header files.
18744
18745 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18746
18747 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18748
18749Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18750
18751 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18752 delay slots.
18753
18754Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18755
ba3ccd63 18756 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18757
18758Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18759
ba3ccd63 18760 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18761 newlib/libc/libc.texinfo)
18762 * libc/stdio/tmpnam.c: fixed doc typo
18763 * libc/stdlib/rand.c: fixed doc typo
18764
18765Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18766
ba3ccd63 18767 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18768 newlib/libc/libc.texinfo)
18769
18770Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18771
18772 support for reentrancy
18773 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18774 new files
18775 * libc/errno/errno.c, libc/include/ieeefp.h,
18776 libc/include/locale.h, libc/include/reent.h,
18777 libc/include/signal.h, libc/include/stdio.h,
18778 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18779 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18780 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18781 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18782 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18783 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18784 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18785 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18786 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18787 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18788 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18789 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18790 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18791 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18792 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18793 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18794 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18795 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18796 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18797 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18798 libc/time/strftime.c: modify to provide reentracy.
18799
18800 new routines:
18801 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18802 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18803 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18804 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18805 mstats_r, realloc_r, localeconv_r, setlocale_r
18806
18807Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18808
18809 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18810 libc/include/sys/config.h, libc/include/sys/signal.h,
18811 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18812 provided macros (such as m68000), use the ansi version
18813 (__m68000__) so that the library can be used with code compiled
18814 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18815 and sparc.
18816
18817Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18818
18819 * configure.in (sparc*): Don't set -fsoft-float for sparc
18820 configurations. Do set -fsoft-float for sparclite configurations.
18821
18822Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18823
18824 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18825 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18826
18827 * configure.in: select one of the two menus above, link to
18828 libc.menu
18829
ba3ccd63 18830 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18831
18832Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18833
18834 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18835 (info): Split long shell command in half.
17c0c97d
EB
18836 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18837 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18838 (targetdep.tex): Removed now special handling of sys and machine
18839 subdirectories, made obsolete some time ago.
18840 * libc/machine/Makefile.in (doc): Don't pass everything to
18841 sub-make, just CHEW and TARGETDOC.
18842 (Makefile): New target.
18843 * libc/sys/Makefile.in (Makefile): New target.
18844
18845Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18846
18847 * Makefile.in (here and most subdirectories): Only pass down CHEW
18848 and TARGETDOC when making info, not for other targets.
18849
18850 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18851 $(AR_FLAGS) rather than $(ARUPDATE).
18852
18853Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18854
18855 * Try to reduce command line length:
18856 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18857 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18858 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18859 (info): Pass CHEW to other subdirs.
18860
18861Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18862
18863 * configure.in: add signal_dir, like unix_dir, but by default it
18864 is set to "signal" so that a29khif can turn it off (since a29khif
18865 has raise() as part of machine-specific signal.s.)
18866
18867Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18868
18869 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18870 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18871 correctly.
18872 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18873 libc/stdio/vfprintf: type lint.
18874 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18875 initialzation code.
18876 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18877
18878Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18879
18880 * stub/mvme135/mvme135-asm.S: new file.
18881 stub/mvme135mvme135-stub.c: moved all assembler routines into
18882 mvme135-asm.S.
18883 stub/mvme135/Makefile.in: build mvme135-stub.o.
18884
18885Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18886
18887 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18888 sub-Makefiles instead, to try to avoid line length limitations.
18889
18890Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18891
18892 * libc/include/unistd.h (read, write): Use void* instead of
18893 char*.
18894
18895Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18896
18897 * stub/go32/resetpc: sample script to send a reset packet to the
18898 stub
18899
18900 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18901 DOS environment, which compiles with Turbo C.
18902
18903 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18904 remote stub.
8a0efa53
CF
18905
18906 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18907 start up message to identify version; call set_debug_traps.
18908
18909 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18910 keyboard interaction); call handle_exception() in go_til_stop,
18911 rather than return, so that the remote stub gets control.
18912
18913 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18914 rename, rather than mv), set flags that work with current Turbo C,
18915 including using the /3 flag; also, add commands to build dser32.
18916
18917 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18918 default Turbo C installation (\tc rather than \usr)
18919
18920 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18921 "&..."
8a0efa53
CF
18922
18923Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18924
18925 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18926
18927Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18928
18929 * libc/stdio/cvt.c (licvt): new function to convert ints when
18930 sizeof(int) != sizeof(long).
18931
18932 * libc/include/stdio.h: added prototype for iprintf.
18933 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18934
18935Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18936
18937 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18938 __REGISTER_PREFIX__.
18939
18940Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18941
18942 * libc/sys/m68kbare: moved into stub directory.
18943
18944Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18945
18946 * configure.in, Makefile.in: created new directory stub, to hold
18947 sample code for specific targets.
18948
18949Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18950
18951 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18952 in the unified libc/include/sys/fcntl.h.
18953
18954Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18955
18956 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18957 printed .01, not 0.01.
18958
18959Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18960
18961 * configure.in: compile with -m68000 for m68* targets.
18962
18963Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18964
18965 * libm/math/remainder.c (remainder): document the svr4 and sunos
18966 references used to construct the function.
18967
18968Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18969
18970 * libm/math/remainder.c (rint, remainder): fix old typos.
18971 * libm/math/Makefile.in: actually build remainder.c (functions
18972 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18973 page.)
18974
18975Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18976
18977 * libc/string/bcopy.c: BSD version works on overlapping strings,
18978 so ours should too.
18979
18980 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18981 ("SHELL").
18982
18983Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18984
18985 * Makefile.in (docs): new target.
18986
18987Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18988
18989 * libc/include/sys/times.h: define clock_t as required by POSIX.
18990 libc/include/time.h: protect clock_t from multiple definitions.
18991
18992Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18993
18994 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18995 does not need more than the original three iterations to get
18996 within 1 ulp. (Paranoia tests for rounding to better than that,
18997 but further iterations *don't* help, only more subtle changes
18998 can.)
18999
19000Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
19001
19002 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
19003 were doing nothing useful.
19004
19005Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
19006
19007 * configure.in: define MALLOC_PROVIDED for vxworks targets;
19008 removed sys_dir settings of vxworks68 and vxworks960.
19009 host/any: don't pass -nostdinc to gcc, since newlib no longer
19010 provides all required header files.
19011
19012 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
19013 is not defined; this provides a hook for VxWorks.
19014
19015Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19016
19017 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
19018 buffer if buf is NULL, don't do it here -- it is already being
19019 done by makebuf elsewhere in stdio.
19020
19021Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
19022
19023 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
19024 that C programs can call functions without using initial
19025 underscores.
19026
19027Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
19028
19029 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
19030
19031Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
19032
19033 * configure.in: set TARGET_CFLAGS for certain CPU types to
19034 -msoft-float.
19035
19036Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
19037
19038 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
19039
19040Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
19041
19042 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
19043 m68k*-unknown-coff.
19044
19045Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
19046
19047 * libc/include/stdio.h: define __need___va_list before including
19048 <stdarg.h>, to avoid defining va_arg, et. al.
19049
19050Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
19051
19052 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
19053 (don't cd to the user's home directory).
19054
19055 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
19056 In general this is the wrong thing to do, but I can't get around
19057 GNU make's insistence on passing command line arguments any other
19058 way.
19059
19060Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
19061
19062 * configure.in: always configure the libc/sys directory, since it
19063 now provides a required documentation file.
19064
19065 * Makefile.in: replaced all instances of $(MAKE) with make. In
19066 general this is the wrong thing to do, but I can't get around GNU
19067 make's insistence on passing command line arguments any other way.
19068
19069Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
19070
19071 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
19072 terminated.
19073
19074 * libc/stdio/local.h: include <stdarg.h> to define va_list.
19075 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
19076
19077 * libc/include/float.h, libc/include/stdarg.h,
19078 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
19079 versions instead.
19080 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
19081 <stdarg.h>, not from <machine/types.h>. Protect definition of
19082 NULL.
19083 libc/include/time.h: get size_t from stddef.h. Protect definition
19084 of NULL.
19085 libc/include/machine/limits.h: override gcc <limits.h> by defining
19086 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
19087 get correct INT_MIN and LONG_LONG values.
19088 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
19089 size_t or va_list at all; they're now gotten from stddef.h
19090 instead.
19091 libc/include/machine/varargs.h: removed; use gcc version instead.
19092 libc/include/sys/types.h: explicitly include <machine/types.h>.
19093
19094 * libm/math/sqrt.h: using the fp-bit routines appears to require
19095 more iterations.
19096
19097 * Makefile.in, host/any: let system include files override machine
19098 include files.
19099
19100Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19101
19102 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
19103 override _*_T_ definitions defaulted here.
19104
19105Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
19106
19107 * Makefile.in (install): install the include files in
19108 $(tooldir)/include, not $(exec_prefix)/include.
19109
19110Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
19111
19112 * Makefile.in (install): fixed typo, and changed install to not
19113 force rebuild of libc.a and libm.a.
19114
19115Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
19116
19117 * libc/sys/a29khif/*: Changed all .include's to include
19118 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
19119 that they will be installed for the user.
19120
19121 * Makefile.in (all): create targ-include, a directory holding the
19122 machine and system specific header files during the build.
19123 (install): fixed installation of machine and system specific
19124 header files.
19125
19126 * Makefile.in: fixed comment.
19127 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
19128 we can pass $(INCLUDES) to it.
19129
19130Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
19131
19132 * libc/include/sys/param.h: new generic file, which may be
19133 overridden for specific systems.
19134
19135 * libc/include/sys/signal.h: define all ANSI signal names, and
19136 NSIG (which is not ANSI) for a29k.
19137
19138Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
19139
19140 * Makefile.in: don't pass down arguments the lower level makes
19141 will not need.
19142 * libc/Makefile.in: recurse directly, rather than using subdir_do,
19143 in hopes of avoiding argument length limits.
19144 * libm/Makefile.in: recurse directly, rather using subdir_do, in
19145 hopes of avoiding argument length limits.
19146
19147Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
19148
19149 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
19150 mode_t is defined.
19151
19152Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
19153
19154 * Fixed make info and make install-info for newlib, changing most
19155 Makefile.in and several *.tex files. Moved doc directory from
19156 libc to top level.
19157
19158 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
19159 Should be rewritten.
19160
19161 * libc/string/strings.tex: renamed node index to node index
19162 function, so that it does not conflict with the top level index
19163 node.
19164
19165 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
19166
19167Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
19168
19169 * Overhauled general configuration for newlib. Eliminated all
19170 target dependent Makefile fragments. Create libraries in newlib
19171 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
19172 than CROSS_CC, et. al. Broke make docs; will fix later.
19173
19174 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
19175 Should be rewritten.
19176
19177Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
19178
19179 * libc/configure.in: cleaned up somewhat; switch on ${target}
19180 rather than ${target_alias}.
17c0c97d 19181 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
19182 rather than ${target_alias}.
19183
19184 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
19185 * libc/include/ctype.h: marked _ctype_ as _CONST.
19186
19187 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
19188 _CONST.
19189
19190 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
19191 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
19192 libc/stdio/gets.c (gets): removed non-ANSI warning message.
19193 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
19194
19195 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
19196 bigtens, tinytens): marked arrays _CONST.
19197 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
19198 rather than a static variable.
19199
19200 * libc/time/asctime.c (asctime), libc/time/localtime.c
19201 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
19202 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
19203 mname_len, mname): Marked static arrays _CONST.
19204
19205 * libm/math/gamma.h: made local variables non-static.
19206
19207 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
19208 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
19209 _CONST.
19210
19211 * libm/math/constants.c: removed file, because the constants it
19212 defined were never referenced.
19213 libm/math/Makefile.in: removed references to constants.c.
19214 libm/math/mathimpl.h: removed declarations of constants.
19215
19216Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
19217
19218 * libc/include/machine/varargs.h: only call __builtin_saveregs if
19219 it is sensibly defined in libgcc2. Checks preprocessor defines,
19220 which is not a good solution.
19221
19222 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
19223
19224 * libm/frexp.c: handle denormalized numbers as arguments.
19225
19226 * libm/math/Makefile.in: added some dependencies for .c files
19227 which include local .h files.
19228
19229Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
19230
19231 * libc/configure.in: set target_alias for OSE*. Replace
19232 target_makefile_frag if it is blank.
19233
19234 * libc/Makefile.in: make sure everything is passed to subsidiary
19235 makes; create all directories when installing.
19236
19237 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
19238 CROSS_ARUPDATE instead of AR.
19239
19240 * libm/configure.in: set target_alias for OSE*. Replace
19241 target_makefile_frag if it is blank.
19242
19243 * libm/Makefile.in: make sure everything is passed to subsidiary
19244 makes; create all directories when installing.
19245
19246Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
19247
ba3ccd63 19248 * add following change from libc copy.
8a0efa53
CF
19249
19250Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19251
19252 * libc/libc.texinfo: make copyright disclaimers appear on back of
19253 title page; make format of same slightly less ugly; avoid using
19254 underbars in section headings (avoids nasty texinfo bug in table
19255 of contents).
19256
19257 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
19258 comments only) avoid using underbars in section headings
19259
19260 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
19261 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
19262 changes in comments only): shorten headings ieeefp/infinity.c,
19263 ieeefp/isnan.c: (doc, comments only) more informative headings
19264
19265 * libc/math/bessel.c: (doc, comments only) shorten heading
19266
19267 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
19268 (doc, comments only) shorten headings
19269
19270 * libc/time/localtime.c (doc, comments only): shorten headings
19271
19272 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
19273 isnan
19274 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
19275 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
19276 headings
19277 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
19278 only) more informative headings
19279 * libm/math/bessel.c: (doc, comments only) shorten heading
19280
19281Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19282
19283 * .../Makefile.in: use CROSS_ARUPDATE consistently.
19284 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
19285 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
19286 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
19287 defined, the one from the .mt file will be correct.
19288 * libc/include/machine, libc/include/sys: created, and populated
19289 with common files from machine/*/machine. ifdefs were used for
19290 most, typically by handling exceptions first and then filling in
19291 defaults. Files with D.J. Delorie copyright #included rather than
19292 copied. Most files in include/sys really were the same in the
19293 original.
19294 * libc/include/...: cleaned up use of _EXFUN.
19295 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
19296 it with double quotes, not angles.
19297
19298Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
19299
19300 * libc/Makefile.in: always create installation directories.
19301
19302Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
19303
19304 * libc/configure.in: handle host properly (using canonical
19305 triples), better error message for the case of target not found
19306
19307Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
19308
19309 * libc/Makefile.in (insincdir): Ensure this directory exists
19310 before attempting installation.
19311
19312Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19313
19314 * libc/stdlib/assert.c: now calls abort like it should
19315 * libc/sys/a29khif: many many patches for 29khif work
19316 * libc/machine/i386: gnulib2 expanded there.
19317
19318Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19319
ba3ccd63 19320 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
19321 stdio to stdlib and called it ecvtbuf:
19322 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
19323 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
19324 routines
19325 * libc/libc.texinfo: Modifed to include the copyright info from
19326 the mprec files
19327 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
19328 * libc/test/ : many vector which tested for the implementation
19329 defined returns of strange conversion requests have been updated
19330 to relflect the new implementation
19331
19332Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19333
19334 * libc/libc.texinfo: new chapter on variable arg lists
19335 (stdarg.h/varargs.h)
19336 * libc/libc.texinfo: new title
19337 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
19338 (doc only) shorter headings for better formatting.
19339
19340Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19341
19342 * libc/libc.texinfo: three more info menu entries
19343 * libc/locale/locale.tex: new chapter
19344 * libc/locale/locale.c: new doc for setlocale, localeconv
19345 * libc/locale/Makefile.in: use new locale doc
19346 * libc/signal/signal.tex: new chapter
19347 * libc/signal/raise.c, libc/signal/signal.c: new doc
19348 * libc/signal/Makefile.in: use new doc
19349 * libc/time/time.tex: new chapter
19350 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
19351 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
19352 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
19353 * libc/time/Makefile.in: use new doc
19354
19355Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19356
19357 * libm/math/log1p.c: split to use the new function way of float
19358 function definition. math/log1p.h deleted
19359 * libm/math/scalb.c: obsolete and deleted
19360 * libm/math/scalbn.c: created from part log1p.c
19361 * libm/math/Makefile.in: know about log1p and scalbn
19362
19363Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19364
19365 * libc/ctype/isupper.c: revise doc;
19366 libc/ctype/ctype.tex: use doc from isupper.c
19367
19368 * libc/string/bzero.c: new doc
19369
19370Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19371
19372 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
19373 new doc
19374 * libc/stdlib/Makefile.in: extract new doc
19375 * libc/stdlib/stdlib.tex: use new doc
19376
19377 * libc/string/strerror.c: expanded doc.
19378
19379 * libc/stdio/Makefile.in: extract doc from more files
19380 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
19381 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
19382 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
19383 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
19384 libc/stdio/vsprintf.c: new doc
19385 * libc/stdio/stdio.tex: use new doc
19386
19387Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19388
19389 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
19390 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
19391 finitef functions.
19392 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
19393 time ago.
19394
19395 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
19396 * libc/stdio/setbuf.c: added ansi style definition.
19397 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
19398 buffer if none provided.
19399 * libc/stdio/tmpfile.c: lint
19400 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
19401 rather than using static, also make sure file isn't already
19402 present. Uses P_tmpdir. (tempnam): rewritten to use new
19403 subroutine, and uses P_tmpdir.
19404 * libc/stdio/siprintf.c: created
19405
19406Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19407
19408 Release 1.03 for NEC, major mods. Main differences from release
19409 1.02::
19410
19411 More tests in test/:
19412 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
19413 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
19414 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
19415 get/set mask, get/set sticky and get/set roundtoi. Tests
19416 that setting the bits changes the way arithmetic is done.
19417 * string.c: added test to make sure memcmp does it with unsigned
19418 chars.
19419 * test.c: cleaned up and removed lint.
19420 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
19421 dvec.c: tests for string to value conversions, sprintf, scanf,
19422 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
19423 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
19424 rounding in sprintf too.
19425 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
19426 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
19427 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
19428 and function form.
19429 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
19430 powf
19431
19432 In the library:
19433 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
19434 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
19435 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
19436 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
19437 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
19438 than sprintf.
17c0c97d 19439 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
19440 * Method of producting float versions of double functions has
19441 changed, functions will be modified gradually. So far:
19442 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
19443 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
19444 altered
19445 * libc/string/memcmp.c: now uses unsigned chars
19446 * libc/string/bcmp.c, libc/string/strcpy.c,
19447 libc/stsring/strxfrm.c: fixed doc
19448 * libc/sys/sysvnecv70.tex: fix example of sbrk code
19449\f
19450Local Variables:
19451version-control: never
19452End:
This page took 2.507819 seconds and 5 git commands to generate.