]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2008-05-26 Eric Blake <ebb9@byu.net>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
cae28869
JJ
12008-05-26 Eric Blake <ebb9@byu.net>
2
3 Optimize the generic and x86 strlen.
4 * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
5 data so unaligned searches aren't penalized.
6 * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
7 Word operations are faster than repnz byte searches.
8
1fc30315
CV
92008-05-23 Corinna Vinschen <corinna@vinschen.de>
10
11 * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
12
3c77dcff
JJ
132008-05-22 Jeff Johnston <jjohnstn@redhat.com>
14
15 * libc/include/sys/reent.h: Add _h_errno field.
16 * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
17 now used in net directory.
18 * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
19 * libc/sys/linux/include/hesiod.h: Add needed macros for new code
20 in net directory.
21 * libc/sys/linux/include/netdb.h: Ditto.
22 * libc/sys/linux/include/resolv.h: Ditto.
23 * libc/sys/linux/include/stdint.h: Ditto.
24 * libc/sys/linux/include/arpa/nameser.h: Ditto.
25 * libc/sys/linux/include/net/ethernet.h: Ditto.
26 * libc/sys/linux/include/net/if_ppp.h: Ditto.
27 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
28 * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
29 * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
30 flags to avoid duplicate definition.
31 * libc/sys/linux/machine/i386/include/param.h: Ditto.
32 * libc/sys/linux/net/Makefile.am: Modified to account for removed and
33 added files.
34 * libc/sys/linux/net/Makefile.in: Regenerated.
35 * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
36 * libc/sys/linux/net/getaddrinfo.c: Ditto.
37 * libc/sys/linux/net/getnameinfo.c: Ditto.
38 * libc/sys/linux/net/getproto.c: Ditto.
39 * libc/sys/linux/net/getservent.c: Ditto.
40 * libc/sys/linux/net/inet_netof.c: Ditto.
41 * libc/sys/linux/net/inet_lnaof.c: Ditto.
42 * libc/sys/linux/net/ns_name.c: Ditto.
43 * libc/sys/linux/net/ns_netint.c: Ditto.
44 * libc/sys/linux/net/inet_ntoa.c: Ditto.
45 * libc/sys/linux/net/ns_parse.c: Ditto.
46 * libc/sys/linux/net/ns_print.c: Ditto.
47 * libc/sys/linux/net/ns_ttl.c: Ditto.
48 * libc/sys/linux/net/nsap_addr.c: Ditto.
49 * libc/sys/linux/net/rcmd.c: Ditto.
50 * libc/sys/linux/net/res_comp.c: Ditto.
51 * libc/sys/linux/net/res_data.c: Ditto.
52 * libc/sys/linux/net/res_debug.c: Ditto.
53 * libc/sys/linux/net/res_init.c: Ditto.
54 * libc/sys/linux/net/res_mkquery.c: Ditto.
55 * libc/sys/linux/net/res_query.c: Ditto.
56 * libc/sys/linux/net/res_send.c: Ditto.
57 * libc/sys/linux/net/send.c: Ditto.
58 * libc/sys/linux/stdlib/collate.c: Ditto.
59 * libc/sys/linux/sys/ioctl.h: Ditto.
60 * libc/sys/linux/sys/socket.h: Ditto.
61 * libc/sys/linux/sys/unistd.h: Ditto.
62 * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
63 used or because licensing includes advertising clause that cannot be
64 ignored.
65 * libc/sys/linux/iconv/strtab.c: Ditto.
66 * libc/sys/linux/include/libc_private.h: Ditto.
67 * libc/sys/linux/include/nsswitch.h: Ditto.
68 * libc/sys/linux/include/net/if_atm.h: Ditto.
69 * libc/sys/linux/include/net/if_media.h: Ditto.
70 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
71 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
72 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
73 * libc/sys/linux/intl/locale.alias: Ditto.
74 * libc/sys/linux/net/addr2ascii.3: Ditto.
75 * libc/sys/linux/net/bindresvport.c: Ditto.
76 * libc/sys/linux/net/byteorder.3: Ditto.
77 * libc/sys/linux/net/res_config.h: Ditto.
78 * libc/sys/linux/net/ether_addr.c: Ditto.
79 * libc/sys/linux/net/ethers.3: Ditto.
80 * libc/sys/linux/net/getaddrinfo.3: Ditto.
81 * libc/sys/linux/net/gethostbydns.c: Ditto.
82 * libc/sys/linux/net/gethostbyht.c: Ditto.
83 * libc/sys/linux/net/gethostbyname.3: Ditto.
84 * libc/sys/linux/net/gethostbynis.c: Ditto.
85 * libc/sys/linux/net/gethostnamadr.c: Ditto.
86 * libc/sys/linux/net/getifaddrs.3: Ditto.
87 * libc/sys/linux/net/getifaddrs.c: Ditto.
88 * libc/sys/linux/net/getipnodebyname.3: Ditto.
89 * libc/sys/linux/net/getnameinfo.3: Ditto.
90 * libc/sys/linux/net/getnetbydns.c: Ditto.
91 * libc/sys/linux/net/getnetbyht.c: Ditto.
92 * libc/sys/linux/net/getnetbynis.c: Ditto.
93 * libc/sys/linux/net/getnetent.3: Ditto.
94 * libc/sys/linux/net/getnetnamadr.c: Ditto.
95 * libc/sys/linux/net/getprotoent.3: Ditto.
96 * libc/sys/linux/net/getprotoent.c: Ditto.
97 * libc/sys/linux/net/getprotoname.c: Ditto.
98 * libc/sys/linux/net/getservbyname.c: Ditto.
99 * libc/sys/linux/net/getservbyport.c: Ditto.
100 * libc/sys/linux/net/getservent.3: Ditto.
101 * libc/sys/linux/net/herror.c: Ditto.
102 * libc/sys/linux/net/hesiod.3: Ditto.
103 * libc/sys/linux/net/hesiod.c: Ditto.
104 * libc/sys/linux/net/if_indextoname.3: Ditto.
105 * libc/sys/linux/net/inet.3: Ditto.
106 * libc/sys/linux/net/inet6_option_space.3: Ditto.
107 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
108 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
109 * libc/sys/linux/net/inet_net.3: Ditto.
110 * libc/sys/linux/net/inet_network.c: Ditto.
111 * libc/sys/linux/net/innetgr-stub.c: Ditto.
112 * libc/sys/linux/net/ip6opt.c: Ditto.
113 * libc/sys/linux/net/iso_addr.3: Ditto.
114 * libc/sys/linux/net/iso_addr.c: Ditto.
115 * libc/sys/linux/net/linkaddr.3: Ditto.
116 * libc/sys/linux/net/linkaddr.c: Ditto.
117 * libc/sys/linux/net/map_v4v6.c: Ditto.
118 * libc/sys/linux/net/name6.c: Ditto.
119 * libc/sys/linux/net/namespace.h: Ditto.
120 * libc/sys/linux/net/ns.3: Ditto.
121 * libc/sys/linux/net/ns_addr.c: Ditto.
122 * libc/sys/linux/net/ns_ntoa.c: Ditto.
123 * libc/sys/linux/net/nsdispatch.3: Ditto.
124 * libc/sys/linux/net/nsdispatch.c: Ditto.
125 * libc/sys/linux/net/nslexer.c: Ditto.
126 * libc/sys/linux/net/nslexer.l: Ditto.
127 * libc/sys/linux/net/nsparser.c: Ditto.
128 * libc/sys/linux/net/nsparser.h: Ditto.
129 * libc/sys/linux/net/nsparser.y: Ditto.
130 * libc/sys/linux/net/rcmd.3: Ditto.
131 * libc/sys/linux/net/rcmdsh.3: Ditto.
132 * libc/sys/linux/net/res_mkupdate.c: Ditto.
133 * libc/sys/linux/net/res_update.c: Ditto.
134 * libc/sys/linux/net/resolver.3: Ditto.
135 * libc/sys/linux/net/rthdr.c: Ditto.
136 * libc/sys/linux/net/vars.c: Ditto.
137 * libc/sys/linux/shlib-compat.h: New file.
138 * libc/sys/linux/machine/i386/atomic.h: Ditto.
139 * libc/sys/linux/net/XXX-lookup.c: Ditto.
140 * libc/sys/linux/net/alias-lookup.c: Ditto.
141 * libc/sys/linux/net/res_libc.c: Ditto.
142 * libc/sys/linux/net/aliases.h: Ditto.
143 * libc/sys/linux/net/check_pf.c: Ditto.
144 * libc/sys/linux/net/databases.def: Ditto.
145 * libc/sys/linux/net/digits_dots.c: Ditto.
146 * libc/sys/linux/net/ether_aton.c: Ditto.
147 * libc/sys/linux/net/ether_aton_r.c: Ditto.
148 * libc/sys/linux/net/ether_hton.c: Ditto.
149 * libc/sys/linux/net/ether_line.c: Ditto.
150 * libc/sys/linux/net/ether_ntoa.c: Ditto.
151 * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
152 * libc/sys/linux/net/ether_ntoh.c: Ditto.
153 * libc/sys/linux/net/etherent.h: Ditto.
154 * libc/sys/linux/net/ethers-lookup.c: Ditto.
155 * libc/sys/linux/net/function.def: Ditto.
156 * libc/sys/linux/net/getXXbyYY.c: Ditto.
157 * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
158 * libc/sys/linux/net/getXXent.c: Ditto.
159 * libc/sys/linux/net/getXXent_r.c: Ditto.
160 * libc/sys/linux/net/getaliasent.c: Ditto.
161 * libc/sys/linux/net/getaliasent_r.c: Ditto.
162 * libc/sys/linux/net/getaliasname.c: Ditto.
163 * libc/sys/linux/net/getaliasname_r.c: Ditto.
164 * libc/sys/linux/net/gethstbyad.c: Ditto.
165 * libc/sys/linux/net/gethstbyad_r.c: Ditto.
166 * libc/sys/linux/net/gethstbynm.c: Ditto.
167 * libc/sys/linux/net/gethstbynm2.c: Ditto.
168 * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
169 * libc/sys/linux/net/gethstbynm_r.c: Ditto.
170 * libc/sys/linux/net/gethstent.c: Ditto.
171 * libc/sys/linux/net/gethstent_r.c: Ditto.
172 * libc/sys/linux/net/getnetbyad.c: Ditto.
173 * libc/sys/linux/net/getnetbyad_r.c: Ditto.
174 * libc/sys/linux/net/getnetbynm.c: Ditto.
175 * libc/sys/linux/net/getnetbynm_r.c: Ditto.
176 * libc/sys/linux/net/getnetent.c: Ditto.
177 * libc/sys/linux/net/getnetent_r.c: Ditto.
178 * libc/sys/linux/net/getnetgrent.c: Ditto.
179 * libc/sys/linux/net/getnetgrent_r.c: Ditto.
180 * libc/sys/linux/net/getnssent.c: Ditto.
181 * libc/sys/linux/net/getnssent_r.c: Ditto.
182 * libc/sys/linux/net/getproto_r.c: Ditto.
183 * libc/sys/linux/net/getprtent.c: Ditto.
184 * libc/sys/linux/net/getprtent_r.c: Ditto.
185 * libc/sys/linux/net/getprtname.c: Ditto.
186 * libc/sys/linux/net/getprtname_r.c: Ditto.
187 * libc/sys/linux/net/getrpcbyname.c: Ditto.
188 * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
189 * libc/sys/linux/net/getrpcbynumber.c: Ditto.
190 * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
191 * libc/sys/linux/net/getrpcent.c: Ditto.
192 * libc/sys/linux/net/getrpcent_r.c: Ditto.
193 * libc/sys/linux/net/getservent_r.c: Ditto.
194 * libc/sys/linux/net/getsrvbynm.c: Ditto.
195 * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
196 * libc/sys/linux/net/getsrvbypt.c: Ditto.
197 * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
198 * libc/sys/linux/net/grp-lookup.c: Ditto.
199 * libc/sys/linux/net/herrno.c: Ditto.
200 * libc/sys/linux/net/hosts-lookup.c: Ditto.
201 * libc/sys/linux/net/ifaddrs.h: Ditto.
202 * libc/sys/linux/net/ifreq.c: Ditto.
203 * libc/sys/linux/net/ifreq.h: Ditto.
204 * libc/sys/linux/net/in6_addr.c: Ditto.
205 * libc/sys/linux/net/inet6_option.c: Ditto.
206 * libc/sys/linux/net/inet_mkadr.c: Ditto.
207 * libc/sys/linux/net/inet_net.c: Ditto.
208 * libc/sys/linux/net/key-lookup.c: Ditto.
209 * libc/sys/linux/net/local.h: Ditto.
210 * libc/sys/linux/net/netgroup.h: Ditto.
211 * libc/sys/linux/net/netgrp-lookup.c: Ditto.
212 * libc/sys/linux/net/network-lookup.c: Ditto.
213 * libc/sys/linux/net/not-cancel.h: Ditto.
214 * libc/sys/linux/net/ns_samedomain.c: Ditto.
215 * libc/sys/linux/net/nscd-types.h: Ditto.
216 * libc/sys/linux/net/nss.h: Ditto.
217 * libc/sys/linux/net/nsswitch.c: Ditto.
218 * libc/sys/linux/net/nsswitch.h: Ditto.
219 * libc/sys/linux/net/opensock.c: Ditto.
220 * libc/sys/linux/net/proto-lookup.c: Ditto.
221 * libc/sys/linux/net/pwd-lookup.c: Ditto.
222 * libc/sys/linux/net/res_debug.h: Ditto.
223 * libc/sys/linux/net/res_hconf.c: Ditto.
224 * libc/sys/linux/net/res_hconf.h: Ditto.
225 * libc/sys/linux/net/rexec.c: Ditto.
226 * libc/sys/linux/net/rpc-lookup.c: Ditto.
227 * libc/sys/linux/net/ruserpass.c: Ditto.
228 * libc/sys/linux/net/service-lookup.c: Ditto.
229 * libc/sys/linux/net/spwd-lookup.c: Ditto.
230 * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
231 * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
232
4962a945
EB
2332008-05-21 Eric Blake <ebb9@byu.net>
234
ae47b14a
EB
235 Optimize the generic strchr.
236 * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
237 data so unaligned searches aren't penalized. Special-case
238 searching for 0.
239
4962a945 240 Optimize strchr for x86.
ae47b14a
EB
241 * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
242 Pre-align data so unaligned searches aren't penalized.
243 Special-case searching for 0.
4962a945 244
cb1f8161
NC
2452008-05-20 Nick Clifton <nickc@redhat.com>
246
247 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
248
a9309ff5
JJ
2492008-05-20 DJ Delorie <dj@redhat.com>
250
251 * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
4962a945 252
26432b0b
JJ
2532008-05-14 Jeff Johnston <jjohnstn@redhat.com>
254
255 * libc/include/sys/reent.h: Change _REENT_INIT... macros to
256 access macro parameter with parentheses around it.
257
df93e6f1
MM
2582008-04-26 Mark Mitchell <mark@codesourcery.com>
259
260 * libc/include/stdint.h (SIZE_MIN): Remove.
261 (SIZE_MAX): Define.
262 * testsuite/newlib.stdlib/stdlib.exp: New.
263 * testsuite/newlib.stdlib/size_max.c: Likewise.
264
f77a1a88
EB
2652008-04-29 Eric Blake <ebb9@byu.net>
266
267 Fix 2008-04-14 regression in asprintf(ptr,"").
268 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
269 baggage.
270 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
271 * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
272 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
273 * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
274 * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
275 an initial buffer for asprintf.
276
78970a51
CV
2772008-04-24 Corinna Vinschen <corinna@vinschen.de>
278
279 * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
280 (fstatat): Fix type of third parameter.
281
026f9d29
NC
2822008-04-25 Nick Clifton <nickc@redhat.com>
283
284 * libc/machine/arm/setjmp.S: Fix thumb2 support.
285
51bef6a9
NC
2862008-04-24 Nick Clifton <nickc@redhat.com>
287
288 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
289 should be _DOUBLE_IS_32BITS.
290
0d02384a
CV
2912008-04-24 Corinna Vinschen <corinna@vinschen.de>
292
293 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
294 (UTIME_OMIT): Ditto.
295 (utimensat): Declare for Cygwin.
296 (futimens): Ditto.
297
e2af45bf
JJ
2982008-04-23 Ken Werner <ken.werner@de.ibm.com>
299
300 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
301 * libc/include/math.h: Likewise.
f77a1a88 302
ca48eb65
CV
3032008-04-23 Corinna Vinschen <corinna@vinschen.de>
304
305 * libc/include/stdio.h (renameat): Declare for Cygwin.
306 (symlinkat): Ditto.
307 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
308 (faccessat): Declare for Cygwin.
309 (fchownat): Ditto.
310 (linkat): Ditto.
311 (readlinkat): Ditto.
312 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
313 (AT_EACCESS): Ditto.
314 (AT_SYMLINK_NOFOLLOW): Ditto.
315 (AT_SYMLINK_FOLLOW): Ditto.
316 (AT_REMOVEDIR): Ditto.
317 (futimesat): Declare for Cygwin.
318 (openat): Ditto.
319 (unlinkat): Ditto.
320 * libc/include/sys/stat.h (fchmodat): Ditto.
321 (fstatat): Ditto.
322 (mkdirat): Ditto.
323 (mkfifoat): Ditto.
324 (mknodat): Ditto.
325
51bef6a9
NC
3262008-04-22 Nick Clifton <nickc@redhat.com>
327
328 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
329 register load/store instructions.
330
e9505050
JJ
3312008-04-16 Patrick Mansfield <patmans@us.ibm.com>
332
333 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
f77a1a88 334
c2bd84bc
JJ
3352008-04-16 Patrick Mansfield <patmans@us.ibm.com>
336
337 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
f77a1a88 338
45b14289
JJ
3392008-04-14 Patrick Mansfield <patmans@us.ibm.com>
340
341 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
f77a1a88 342 * libc/machine/spu/Makefile.am: Add new file impure.c.
45b14289
JJ
343 * libc/machine/spu/Makefile.in: Regenerate.
344 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
f77a1a88 345
eabd7de0
JJ
3462008-04-14 Jeff Johnston <jjohnstn@redhat.com>
347
348 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
349 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
350 to build special versions for sprintf/sscanf family functions.
351 * libc/stdio/Makefile.in: Regenerated.
f77a1a88
EB
352 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
353 Redefine to be _svfiprintf_r which is optimized to work with siprintf
eabd7de0
JJ
354 family of functions (i.e. no I/O) and does not support floating-point.
355 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
356 _svfprintf_r which is optimized to work with sprintf family of
357 functions and not use I/O.
f77a1a88 358 [STRING_ONLY](__sprint_r): New string only version of static function.
eabd7de0
JJ
359 designed to work with sprintf family of functions.
360 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
361 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
362 family of functions (i.e. no I/O) and no float-point support.
363 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
364 __ssvfscanf_r which is optimized to work with sscanf family of
365 functions and does not require I/O functions.
366 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
367 * libc/stdio/snprintf.c: Ditto.
368 * libc/stdio/sprintf.c: Ditto.
369 * libc/stdio/vasnprintf.c: Ditto.
370 * libc/stdio/vasprintf.c: Ditto.
371 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
372 * libc/stdio/sniprintf.c: Ditto.
373 * libc/stdio/vasiprintf.c: Ditto.
374 * libc/stdio/vsiprintf.c: Ditto.
375 * libc/stdio/vsniprintf.c: Ditto.
376 * libc/stdio/vsprintf.c: Ditto.
377 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
378 _ssvfscanf_r, and _ssvfiscanf_r.
379 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
380 * libc/stdio/vsscanf.c: Ditto.
381 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
382 * libc/stdio/vsiscanf.c: Ditto.
383
6f810581
DD
3842008-04-04 DJ Delorie <dj@redhat.com>
385
386 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
387 * libc/sys/configure: Regenerate with autoconf 2.61.
388 * libc/machine/configure: Regenerate with autoconf 2.61.
389
bd6e30d5
JJ
3902008-04-01 Patrick Mansfield <patmans@us.ibm.com>
391
392 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
393 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
394 * libc/machine/spu/Makefile.am: Add memcmp.c.
395 * libc/machine/spu/Makefile.in: Rebuild.
396 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
397
71f3a8f5
JJ
3982008-04-01 Patrick Mansfield <patmans@us.ibm.com>
399
400 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
401 -DMISSING_SYSCALL_NAMES.
402
1d4a4944
JJ
4032008-04-01 Patrick Mansfield <patmans@us.ibm.com>
404
405 * libc/machine/spu/Makefile.am: Add assert.c.
406 * libc/machine/spu/Makefile.in: Regenerate.
407 * libc/machine/spu/assert.c: New file.
408
3ab380aa
JJ
4092008-03-27 Patrick Mansfield <patmans@us.ibm.com>
410
411 * libc/include/reent.h: Define _func_r functions in this file to
412 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
413 defined.
f77a1a88 414
4af0c5e8
CV
4152008-03-27 Corinna Vinschen <corinna@vinschen.de>
416
417 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
418 constants when building for Cygwin.
419
88348faf
JJ
4202008-03-11 Jeff Johnston <jjohnstn@redhat.com>
421
d84985f7 422 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
88348faf
JJ
423 stdin gets resolved properly before refilling.
424
c6228428
JJ
4252008-03-07 Jeff Johnston <jjohnstn@redhat.com>
426
427 * libc/include/getopt.h: Hide newlib extensions under
428 the __need_getopt_newlib flag.
429 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
430 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
431 with their own getopt implementation.
432 * configure.host: Specify HAVE_GETOPT for x86-linux.
433
0382d267
JJ
4342008-03-07 Jeff Johnston <jjohnstn@redhat.com>
435
436 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
437 this macro completely instead of referring to CHECK_STD_INIT which
438 is only found in libc/stdio/local.h.
439 * libc/stdio/dprintf.c: Add include of local.h.
440 * libc/stdio/vdprintf.c: Ditto.
441 * libc/stdio/vdiprintf.c: Ditto.
442
beb0ab64
EB
4432008-03-04 Eric Blake <ebb9@byu.net>
444
445 Fix strtod("nan()", ptr).
446 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
447 n-char-sequence is omitted, still parse the ().
448
9ae00e9e
EB
4492008-03-03 Eric Blake <ebb9@byu.net>
450
451 Fix ftell bug after ungetc.
452 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
453 ftell.
454 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
455 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
456 repositioning underlying fd offset.
457
be62101c
JJ
4582008-03-02 Jeff Johnston <jjohnstn@redhat.com>
459
460 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
461 (required_argument, optional_argument): Ditto.
462
76ff710c
JJ
4632008-02-29 Gregory Pietsch <gpietsch@comcast.net>
464
465 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
466 data area so as to support reentrant calls. Change all callers
467 to fill in data area with global values and restore any changes
468 to the global values after call.
469 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
470 to support reentrancy that add a data area argument.
471 * libc/include/getopt.h: Add new _r routines and provide macros
472 so they can be called with using double-underscores.
473
7a44c13e
EB
4742008-02-21 Eric Blake <ebb9@byu.net>
475
476 Fix strtod("-0x", NULL).
477 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
478 fails.
479
de20111e
JJ
4802008-02-12 Jeff Johnston <jjohnstn@redhat.com>
481
482 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
483 for user specifying --disable-newlib-io-long-long on configure.
484 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
485 reentrant pointer passed in rather than _REENT.
486
f46f40b5
JJ
4872008-02-12 Peter Rosin <peda@lysator.liu.se>
488
489 * libc/stdlib/getopt.c (getopt_internal): Handle optional
490 arguments better for long options and short options not
491 appearing as the first option in a sequence.
492
74d928bf
JJ
4932008-02-11 Patrick Mansfield <patmans@us.ibm.com>
494
495 * libc/machine/spu/straddr.h: New file, supplies _straddr.
496 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
497 * libc/machine/spu/strcpy.c: Use _strcpy.
498 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
499 str[n]cpy and str[n]cat.
500 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
501 * libc/machine/spu/strncpy.c: Use _strcpy.
7a44c13e 502
9b924fc3
JJ
5032008-02-11 Patrick Mansfield <patmans@us.ibm.com>
504
505 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
506 calculation of its value.
7a44c13e 507
77ec26b0
HPN
5082008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
509
510 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
511 Make ISO C.
512
226f5a32
DD
5132008-01-21 DJ Delorie <dj@redhat.com>
514
515 * libc/sys/sh/syscalls.c (_isatty): New.
516
cece11c5
JJ
5172008-01-21 Neal H. Walfield <neal@gnu.org>
518
519 * Makefile.am (crt1.o): Use correct source.
520 * Makefile.in: Regenerated.
521
dc26a86f
EB
5222008-01-15 Eric Blake <ebb9@byu.net>
523
524 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
525 * libc/string/Makefile: Regenerate.
526
12df8a5b
CV
5272008-01-15 Corinna Vinschen <corinna@vinschen.de>
528
529 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
530 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
531 (sigsetjmp): Use __SIGMASK_FUNC.
532 (siglongjmp): Ditto.
533 (_setjmp): Define as macro.
534 (_longjmp): Ditto.
535
40617efc
EB
5362008-01-11 Eric Blake <ebb9@byu.net>
537
538 Make strstr and strcasestr O(n), not O(n^2); add memmem.
539 * libc/string/str-two-way.h: New file.
540 * libc/string/memmem.c (memmem): New file.
541 * libc/include/string.h (memmem): Declare for all platforms.
542 * libc/string/strstr.c (strstr): Provide O(n) implementation when
543 not optimizing for space.
544 * libc/string/strcasestr.c (strcasestr): Likewise.
545 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
546 (ELIX_2_SOURCES): ...this.
547 (ELIX_4_SOURCES): New category, for memmem.
548 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
549 (CHEWOUT_FILES): Build documentation for memmem.
550 * libc/string/strings.tex: Include new docs.
551
ceb32a18
JJ
5522008-01-08 Jeff Johnston <jjohnstn@redhat.com>
553
554 * libc/machine/m68k/memcpy.S: Remove % from register references
555 as this is already handled by m68kasm.h.
556 * libc/machine/m68k/memset.S: Ditto.
557
a3211370
JJ
5582008-01-07 Jeff Johnston <jjohnstn@redhat.com>
559
560 * libc/machine/m68k/m68kasm.h: New file.
561 * libc/machine/m68k/setjmp.S: Remove common definitions and
562 place in m68kasm.h. Include "m68kasm.h".
563 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
564 SYM() macro when referencing function name.
565 * libc/machine/m68k/memset.S: Ditto.
566
a639937a
JJ
5672008-01-03 Jeff Johnston <jjohnstn@redhat.com>
568
569 Make isatty syscall handling consistent with other newlib syscalls.
570
571 * libc/include/_syslist.h: Add _isatty.
572 * libc/include/reent.h: Add _isatty_r.
573 * libc/include/sys/unistd.h: Add _isatty.
574 * libc/posix/Makefile.am: Add new _isatty.c file.
575 * libc/posix/Makefile.in: Regenerated.
576 * libc/posix/_isatty.c: New file.
577 * libc/posix/isatty.c: Changed to call _isatty().
578 * libc/reent/Makefile.am: Add new isattyr.c file.
579 * libc/reent/Makefile.in: Regenerated.
580 * libc/reent/isattyr.c: New file.
581 * libc/stdio/freopen.c: Changed to call _isatty_r().
582 * libc/stdio/makebuf.c: Ditto.
583 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
584 * libc/sys/arc/isatty.c: Ditto.
585 * libc/sys/arm/syscalls.c: Ditto.
586 * libc/sys/d10v/syscalls.c: Ditto.
587 * libc/sys/h8300hms/syscalls.c: Ditto.
588 * libc/sys/h8500hms/syscalls.c: Ditto.
589 * libc/sys/linux/Makefile.am: Add new isatty.c file.
590 * libc/sys/linux/Makefile.in: Regenerated.
591 * libc/sys/linux/isatty.c: New file.
592 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
593 * libc/syscalls/Makefile.in: Regenerated.
594 * libc/syscalls/sysisatty.c: New file.
595
7c8bd7a0
JJ
5962008-01-02 Jeff Johnston <jjohnstn@redhat.com>
597
598 * libc/syscalls/sysclose.c: Always call reentrant version of the
599 underlying syscall since one is guaranteed to exist in libc/reent.
600 * libc/syscalls/sysexecve.c: Ditto.
601 * libc/syscalls/sysfcntl.c: Ditto.
602 * libc/syscalls/sysfork.c: Ditto.
603 * libc/syscalls/sysfstat.c: Ditto.
604 * libc/syscalls/sysgetpid.c: Ditto.
605 * libc/syscalls/sysgettod.c: Ditto.
606 * libc/syscalls/syskill.c: Ditto.
607 * libc/syscalls/syslink.c: Ditto.
608 * libc/syscalls/syslseek.c: Ditto.
609 * libc/syscalls/sysopen.c: Ditto.
610 * libc/syscalls/sysread.c: Ditto.
611 * libc/syscalls/syssbrk.c: Ditto.
612 * libc/syscalls/sysstat.c: Ditto.
613 * libc/syscalls/systimes.c: Ditto.
614 * libc/syscalls/sysunlink.c: Ditto.
615 * libc/syscalls/syswait.c: Ditto.
616 * libc/syscalls/syswrite.c: Ditto.
617
26b84293
JJ
6182007-12-19 Jeff Johnston <jjohnstn@redhat.com>
619
7a44c13e
EB
620 * NEWS: Update with 1.16.0 info.
621 * README: Ditto.
622 * acinclude.m4: Change version number to 1.16.0.
623 * aclocal.m4: Regenerated.
624 * configure: Ditto.
625 * doc/aclocal.m4: Ditto.
626 * doc/configure: Ditto.
627 * libc/*/aclocal.m4: Ditto.
628 * libc/*/configure: Ditto.
629 * libc/libc.texinfo: Ditto.
630 * libm/*/aclocal.m4: Ditto.
631 * libm/*/configure: Ditto.
632 * libm/libm.texinfo: Ditto.
633 * libc/sys/linux/shared.ld: Add VERS_1.16.
26b84293 634
6af69de3
JJ
6352007-12-19 Jeff Johnston <jjohnstn@redhat.com>
636
637 * libc/string/strcasestr.c: Remove id macro.
638 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
639 field reference to be __sched_priority.
640 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
641 * libc/sys/linux/linuxthreads/manager.c: Ditto.
642 * libc/sys/linux/stdlib/collate.c: Remove id macro.
643 * libc/sys/linux/stdlib/collcmp.c: Ditto.
644 * libc/sys/linux/stdlib/engine.c: Ditto.
645 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
646 * libc/sys/linux/stdlib/glob.c: Ditto.
647 * libc/sys/linux/stdlib/reallocf.c: Ditto.
648 * libc/sys/linux/stdlib/regcomp.c: Ditto.
649 * libc/sys/linux/stdlib/regerror.c: Ditto.
650 * libc/sys/linux/stdlib/regexec.c: Ditto.
651 * libc/sys/linux/stdlib/regfree.c: Ditto.
652 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
653 * libc/sys/linux/include/argp.h: Ditto.
654 * libc/sys/linux/sys/libc-lock.h: New file.
655 * libc/sys/linux/sys/stdint.h: Ditto.
656 * libc/sys/linux/include/sched.h: New file.
657
3cc8a378
JJ
6582007-12-19 Dave Korn <dave.korn@artimi.com>
659 Jeff Johnston <jjohnstn@redhhat.com>
660
661 * libc/include/_ansi.h: Add _LONG_LONG definition.
662 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
663 prototypes.
664 * libc/machine/i386/machine/fastmath.h: Add support for new i386
665 fast math versions of rint, lrint, and llrint family functions.
666 * libm/machine/i386/Makefile.am: Add new files.
667 * libm/machine/i386/Makefile.in: Regenerated.
668 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
669 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
670 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
671 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
672 libm/machine/i386/f_rintl.c: New files with fast math implementations.
673
41e94f24
JJ
6742007-12-19 Jeff Johnston <jjohnstn@redhat.com>
675
676 * libc/include/sys/features.h: Add checks for C90 compilers using
677 -ansi.
678
ac26b727
CV
6792007-12-19 Corinna Vinschen <corinna@vinschen.de>
680
681 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
682 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
683 wcpncpy.c.
684 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
685 * libc/string/Makefile.in: Regenerate.
686 * libc/string/wcpcpy.c: New file.
687 * libc/string/wcpncpy.c: New file.
688 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
689
478df8bb
CV
6902007-12-19 Corinna Vinschen <corinna@vinschen.de>
691
692 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
693 _wcsrtombs_r.
694
60bef55d
JJ
6952007-11-19 Nick Clifton <nickc@redhat.com>
696
697 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
698 * libc/machine/mn10300/Makefile.in: Regenerate.
699 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
700 .debug_frame section.
701 * libc/machine/mn10300/memcmp.S: Likewise.
702 * libc/machine/mn10300/memcpy.S: Likewise.
703 * libc/machine/mn10300/memset.S: Likewise.
704 * libc/machine/mn10300/strchr.S: Likewise.
705 * libc/machine/mn10300/strcmp.S: Likewise.
706 * libc/machine/mn10300/strcpy.S: Likewise.
707 * libc/machine/mn10300/strlen.S: Likewise.
708
7092007-11-15 Jeff Johnston <jjohnstn@redhat.com>
710
711 * libc/include/sys/_default_fcntl.h: New header file that
712 is the default version of sys/fcntl.h.
713 * libc/include/sys/fcntl.h: Changed to simply include
714 sys/_default_fcntl.h.
715 * libc/sys/arm/sys/fcntl.h: New file that includes
716 sys/_default_fcntl.h and defines O_BINARY.
717
478df8bb 7182007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
719
720 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
721
7b4cad4a
DB
7222007-11-07 Dave Brolley <brolley@redhat.com>
723
724 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 725
7b4cad4a
DB
726 * Contribute mep-elf from Red Hat
727 2006-10-27 DJ Delorie <dj@redhat.com>
728
729 * libc/include/machine/setjmp.h: Add MeP support.
730
731 2003-04-17 DJ Delorie <dj@redhat.com>
732
733 * configure.host (mep-*-*): Support "long long" type.
734
735 2001-06-06 DJ Delorie <dj@redhat.com>
736
737 * libc/include/machine/ieeefp.h (mep): Support little endian too.
738
739 2001-05-14 DJ Delorie <dj@redhat.com>
740
741 * configure.host: Add mep's machine_dir.
742 * libc/include/setjmp.h: Add mep support.
743 * libc/machine/mep: New.
744 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
745
746 2001-05-04 DJ Delorie <dj@redhat.com>
747
748 * configure.host: Add mep.
749 * libc/include/machine/ieeefp.h: Ditto.
750
69bfb481
DD
7512007-10-31 DJ Delorie <dj@redhat.com>
752
753 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
754 signal table, just use a default, in case initialization cause
755 recursion.
756
2a3a02a6
JJ
7572007-10-23 Jeff Johnston <jjohnstn@redhat.com>
758
759 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
760 size if output buffer is NULL.
761
70317d85
JJ
7622007-10-17 Jeff Johnston <jjohnstn@redhat.com>
763
764 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
765 fix when handling negative input values. Make function
766 consistent with math directory and glibc version such that
767 inf and nan values return inf and nan respectively with no
768 errno setting.
769 * libm/mathfp/sf_logarithm.c: Ditto.
770 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
771 * libm/math/wf_log.c: Ditto.
772 * libm/math/w_log10.c: Ditto.
773 * libm/math/wf_log10.c: Ditto.
774
923f9573
JJ
7752007-10-17 Jeff Johnston <jjohnstn@redhat.com>
776
777 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
778 return -inf.
779 * libm/mathfp/sf_logarithm.c: Ditto.
780
8b630840
JJ
7812007-10-17 Jeff Johnston <jjohnstn@redhat.com>
782
783 * libc/machine/i386/machine/fastmath.h: New file.
784
c99e78b8
EB
7852007-10-13 Eric Blake <ebb9@byu.net>
786
787 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
788 Correctly nest else within conditionals.
789 Reported by Artur Lipowski.
790
97f0a0ec
NC
7912007-10-09 Nick Clifton <nickc@redhat.com>
792
793 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
794 the STT_COMMON type.
795
b7bc4ccc
BE
7962007-10-09 Ben Elliston <bje@au.ibm.com>
797
798 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
799 before simdmath.h to get a definition for `vector'.
800 * libm/machine/spu/headers/asind2.h: Likewise.
801
1671fbe1
JJ
8022007-09-28 Patrick Mansfield <patmans@us.ibm.com>
803
804 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
805 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
806 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
807 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
808 * libm/machine/spu/headers/acos.h: Add domain check.
809 * libm/machine/spu/headers/acosf.h: Ditto.
810 * libm/machine/spu/headers/acosh.h: Ditto.
811 * libm/machine/spu/headers/acoshf.h: Ditto.
812 * libm/machine/spu/headers/asin.h: Ditto.
813 * libm/machine/spu/headers/asinf.h: Ditto.
814 * libm/machine/spu/headers/atanh.h: Ditto.
815 * libm/machine/spu/headers/atanhf.h: Ditto.
816 * libm/machine/spu/headers/fmod.h: Ditto.
817 * libm/machine/spu/headers/fmodf.h: Ditto.
818 * libm/machine/spu/headers/log.h: Ditto.
819 * libm/machine/spu/headers/log10.h: Ditto.
820 * libm/machine/spu/headers/log1p.h: Ditto.
821 * libm/machine/spu/headers/log1pf.h: Ditto.
822 * libm/machine/spu/headers/log2.h: Ditto.
823 * libm/machine/spu/headers/log2f.h: Ditto.
824 * libm/machine/spu/headers/sqrt.h: Ditto.
825 * libm/machine/spu/headers/sqrtf.h: Ditto.
826 * libm/machine/spu/headers/tgamma.h: Ditto.
827 * libm/machine/spu/headers/tgammaf.h: Ditto.
828
e30a7b84
JJ
8292007-09-28 Patrick Mansfield <patmans@us.ibm.com>
830
831 * libm/machine/spu/Makefile.am: Add new C files.
832 * libm/machine/spu/Makefile.in: Regenerate.
833 * libm/machine/spu/headers/acos.h: New file.
834 * libm/machine/spu/headers/acosd2.h: Ditto.
835 * libm/machine/spu/headers/acosf.h: Ditto.
836 * libm/machine/spu/headers/acosf4.h: Ditto.
837 * libm/machine/spu/headers/acosh.h: Ditto.
838 * libm/machine/spu/headers/acoshd2.h: Ditto.
839 * libm/machine/spu/headers/acoshf.h: Ditto.
840 * libm/machine/spu/headers/acoshf4.h: Ditto.
841 * libm/machine/spu/headers/asin.h: Ditto.
842 * libm/machine/spu/headers/asind2.h: Ditto.
843 * libm/machine/spu/headers/asinf.h: Ditto.
844 * libm/machine/spu/headers/asinf4.h: Ditto.
845 * libm/machine/spu/headers/asinh.h: Ditto.
846 * libm/machine/spu/headers/asinhd2.h: Ditto.
847 * libm/machine/spu/headers/asinhf.h: Ditto.
848 * libm/machine/spu/headers/asinhf4.h: Ditto.
849 * libm/machine/spu/headers/atan.h: Ditto.
850 * libm/machine/spu/headers/atan2.h: Ditto.
851 * libm/machine/spu/headers/atan2d2.h: Ditto.
852 * libm/machine/spu/headers/atan2f.h: Ditto.
853 * libm/machine/spu/headers/atan2f4.h: Ditto.
854 * libm/machine/spu/headers/atand2.h: Ditto.
855 * libm/machine/spu/headers/atanf4.h: Ditto.
856 * libm/machine/spu/headers/atanh.h: Ditto.
857 * libm/machine/spu/headers/atanhd2.h: Ditto.
858 * libm/machine/spu/headers/atanhf.h: Ditto.
859 * libm/machine/spu/headers/atanhf4.h: Ditto.
860 * libm/machine/spu/headers/cos.h: Ditto.
861 * libm/machine/spu/headers/cos_sin.h: Ditto.
862 * libm/machine/spu/headers/cosd2.h: Ditto.
863 * libm/machine/spu/headers/cosf.h: Ditto.
864 * libm/machine/spu/headers/cosf4.h: Ditto.
865 * libm/machine/spu/headers/cosh.h: Ditto.
866 * libm/machine/spu/headers/coshd2.h: Ditto.
867 * libm/machine/spu/headers/coshf.h: Ditto.
868 * libm/machine/spu/headers/coshf4.h: Ditto.
869 * libm/machine/spu/headers/divd2.h: Ditto.
870 * libm/machine/spu/headers/divf4.h: Ditto.
871 * libm/machine/spu/headers/erf.h: Ditto.
872 * libm/machine/spu/headers/erf_utils.h: Ditto.
873 * libm/machine/spu/headers/erfc.h: Ditto.
874 * libm/machine/spu/headers/erfcd2.h: Ditto.
875 * libm/machine/spu/headers/erfcf.h: Ditto.
876 * libm/machine/spu/headers/erfcf4.h: Ditto.
877 * libm/machine/spu/headers/erfd2.h: Ditto.
878 * libm/machine/spu/headers/erff.h: Ditto.
879 * libm/machine/spu/headers/erff4.h: Ditto.
880 * libm/machine/spu/headers/exp.h: Ditto.
881 * libm/machine/spu/headers/exp2.h: Ditto.
882 * libm/machine/spu/headers/exp2d2.h: Ditto.
883 * libm/machine/spu/headers/exp2f4.h: Ditto.
884 * libm/machine/spu/headers/expd2.h: Ditto.
885 * libm/machine/spu/headers/expf4.h: Ditto.
886 * libm/machine/spu/headers/expm1.h: Ditto.
887 * libm/machine/spu/headers/expm1d2.h: Ditto.
888 * libm/machine/spu/headers/expm1f.h: Ditto.
889 * libm/machine/spu/headers/expm1f4.h: Ditto.
890 * libm/machine/spu/headers/floord2.h: Ditto.
891 * libm/machine/spu/headers/floorf4.h: Ditto.
892 * libm/machine/spu/headers/hypot.h: Ditto.
893 * libm/machine/spu/headers/hypotd2.h: Ditto.
894 * libm/machine/spu/headers/hypotf.h: Ditto.
895 * libm/machine/spu/headers/hypotf4.h: Ditto.
896 * libm/machine/spu/headers/isnan.h: Ditto.
897 * libm/machine/spu/headers/isnand2.h: Ditto.
898 * libm/machine/spu/headers/isnanf.h: Ditto.
899 * libm/machine/spu/headers/isnanf4.h: Ditto.
900 * libm/machine/spu/headers/ldexpd2.h: Ditto.
901 * libm/machine/spu/headers/ldexpf4.h: Ditto.
902 * libm/machine/spu/headers/lgamma.h: Ditto.
903 * libm/machine/spu/headers/lgammad2.h: Ditto.
904 * libm/machine/spu/headers/lgammaf.h: Ditto.
905 * libm/machine/spu/headers/lgammaf4.h: Ditto.
906 * libm/machine/spu/headers/log.h: Ditto.
907 * libm/machine/spu/headers/log10.h: Ditto.
908 * libm/machine/spu/headers/log10d2.h: Ditto.
909 * libm/machine/spu/headers/log1p.h: Ditto.
910 * libm/machine/spu/headers/log1pd2.h: Ditto.
911 * libm/machine/spu/headers/log1pf.h: Ditto.
912 * libm/machine/spu/headers/log1pf4.h: Ditto.
913 * libm/machine/spu/headers/log2.h: Ditto.
914 * libm/machine/spu/headers/log2d2.h: Ditto.
915 * libm/machine/spu/headers/log2f4.h: Ditto.
916 * libm/machine/spu/headers/logbf.h: Ditto.
917 * libm/machine/spu/headers/logbf4.h: Ditto.
918 * libm/machine/spu/headers/logd2.h: Ditto.
919 * libm/machine/spu/headers/logf4.h: Ditto.
920 * libm/machine/spu/headers/nearbyintf.h: Ditto.
921 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
922 * libm/machine/spu/headers/nextafter.h: Ditto.
923 * libm/machine/spu/headers/nextafterd2.h: Ditto.
924 * libm/machine/spu/headers/nextafterf.h: Ditto.
925 * libm/machine/spu/headers/nextafterf4.h: Ditto.
926 * libm/machine/spu/headers/pow.h: Ditto.
927 * libm/machine/spu/headers/powd2.h: Ditto.
928 * libm/machine/spu/headers/powf.h: Ditto.
929 * libm/machine/spu/headers/powf4.h: Ditto.
930 * libm/machine/spu/headers/recipd2.h: Ditto.
931 * libm/machine/spu/headers/recipf4.h: Ditto.
932 * libm/machine/spu/headers/rintf.h: Ditto.
933 * libm/machine/spu/headers/rintf4.h: Ditto.
934 * libm/machine/spu/headers/scalbnf4.h: Ditto.
935 * libm/machine/spu/headers/signbit.h: Ditto.
936 * libm/machine/spu/headers/signbitd2.h: Ditto.
937 * libm/machine/spu/headers/simdmath.h: Ditto.
938 * libm/machine/spu/headers/sin.h: Ditto.
939 * libm/machine/spu/headers/sincos.h: Ditto.
940 * libm/machine/spu/headers/sincosd2.h: Ditto.
941 * libm/machine/spu/headers/sincosf.h: Ditto.
942 * libm/machine/spu/headers/sincosf4.h: Ditto.
943 * libm/machine/spu/headers/sind2.h: Ditto.
944 * libm/machine/spu/headers/sinf.h: Ditto.
945 * libm/machine/spu/headers/sinf4.h: Ditto.
946 * libm/machine/spu/headers/sinh.h: Ditto.
947 * libm/machine/spu/headers/sinhd2.h: Ditto.
948 * libm/machine/spu/headers/sinhf.h: Ditto.
949 * libm/machine/spu/headers/sinhf4.h: Ditto.
950 * libm/machine/spu/headers/sqrtd2.h: Ditto.
951 * libm/machine/spu/headers/sqrtf.h: Ditto.
952 * libm/machine/spu/headers/sqrtf4.h: Ditto.
953 * libm/machine/spu/headers/tan.h: Ditto.
954 * libm/machine/spu/headers/tand2.h: Ditto.
955 * libm/machine/spu/headers/tanf.h: Ditto.
956 * libm/machine/spu/headers/tanf4.h: Ditto.
957 * libm/machine/spu/headers/tanh.h: Ditto.
958 * libm/machine/spu/headers/tanhd2.h: Ditto.
959 * libm/machine/spu/headers/tanhf.h: Ditto.
960 * libm/machine/spu/headers/tanhf4.h: Ditto.
961 * libm/machine/spu/headers/tgamma.h: Ditto.
962 * libm/machine/spu/headers/tgammad2.h: Ditto.
963 * libm/machine/spu/headers/tgammaf.h: Ditto.
964 * libm/machine/spu/headers/tgammaf4.h: Ditto.
965 * libm/machine/spu/headers/truncd2.h: Ditto.
966 * libm/machine/spu/headers/truncf4.h: Ditto.
967 * libm/machine/spu/log2.c: Ditto.
968 * libm/machine/spu/s_asinh.c: Ditto.
969 * libm/machine/spu/s_atan.c: Ditto.
970 * libm/machine/spu/s_cos.c: Ditto.
971 * libm/machine/spu/s_erf.c: Ditto.
972 * libm/machine/spu/s_expm1.c: Ditto.
973 * libm/machine/spu/s_isnan.c: Ditto.
974 * libm/machine/spu/s_log1p.c: Ditto.
975 * libm/machine/spu/s_nextafter.c: Ditto.
976 * libm/machine/spu/s_sin.c: Ditto.
977 * libm/machine/spu/s_tan.c: Ditto.
978 * libm/machine/spu/s_tanh.c: Ditto.
979 * libm/machine/spu/sf_asinh.c: Ditto.
980 * libm/machine/spu/sf_cos.c: Ditto.
981 * libm/machine/spu/sf_erf.c: Ditto.
982 * libm/machine/spu/sf_expm1.c: Ditto.
983 * libm/machine/spu/sf_log1p.c: Ditto.
984 * libm/machine/spu/sf_logb.c: Ditto.
985 * libm/machine/spu/sf_nearbyint.c: Ditto.
986 * libm/machine/spu/sf_nextafter.c: Ditto.
987 * libm/machine/spu/sf_rint.c: Ditto.
988 * libm/machine/spu/sf_sin.c: Ditto.
989 * libm/machine/spu/sf_tan.c: Ditto.
990 * libm/machine/spu/sf_tanh.c: Ditto.
991 * libm/machine/spu/w_acos.c: Ditto.
992 * libm/machine/spu/w_acosh.c: Ditto.
993 * libm/machine/spu/w_asin.c: Ditto.
994 * libm/machine/spu/w_atan2.c: Ditto.
995 * libm/machine/spu/w_atanh.c: Ditto.
996 * libm/machine/spu/w_cosh.c: Ditto.
997 * libm/machine/spu/w_exp.c: Ditto.
998 * libm/machine/spu/w_exp2.c: Ditto.
999 * libm/machine/spu/w_hypot.c: Ditto.
1000 * libm/machine/spu/w_lgamma.c: Ditto.
1001 * libm/machine/spu/w_log.c: Ditto.
1002 * libm/machine/spu/w_log10.c: Ditto.
1003 * libm/machine/spu/w_pow.c: Ditto.
1004 * libm/machine/spu/w_sincos.c: Ditto.
1005 * libm/machine/spu/w_sinh.c: Ditto.
1006 * libm/machine/spu/w_tgamma.c: Ditto.
1007 * libm/machine/spu/wf_acos.c: Ditto.
1008 * libm/machine/spu/wf_acosh.c: Ditto.
1009 * libm/machine/spu/wf_asin.c: Ditto.
1010 * libm/machine/spu/wf_atan2.c: Ditto.
1011 * libm/machine/spu/wf_atanh.c: Ditto.
1012 * libm/machine/spu/wf_cosh.c: Ditto.
1013 * libm/machine/spu/wf_hypot.c: Ditto.
1014 * libm/machine/spu/wf_lgamma.c: Ditto.
1015 * libm/machine/spu/wf_pow.c: Ditto.
1016 * libm/machine/spu/wf_sincos.c: Ditto.
1017 * libm/machine/spu/wf_sinh.c: Ditto.
1018 * libm/machine/spu/wf_sqrt.c: Ditto.
1019 * libm/machine/spu/wf_tgamma.c: Ditto.
1020
505ea714
JJ
10212007-09-28 Patrick Mansfield <patmans@us.ibm.com>
1022
1023 * configure.host: Define _POSIX_MODE to match the existing vector
1024 math code, as we don't support the matherr callout.
1025 * libm/machine/spu/Makefile.am: New file.
1026 * libm/machine/spu/Makefile.in: Auto-generated.
1027 * libm/machine/spu/headers/atanf.h: New file.
1028 * libm/machine/spu/headers/cbrt.h: Ditto.
1029 * libm/machine/spu/headers/cbrtf.h: Ditto.
1030 * libm/machine/spu/headers/ceil.h: Ditto.
1031 * libm/machine/spu/headers/ceilf.h: Ditto.
1032 * libm/machine/spu/headers/copysign.h: Ditto.
1033 * libm/machine/spu/headers/copysignf.h: Ditto.
1034 * libm/machine/spu/headers/exp2f.h: Ditto.
1035 * libm/machine/spu/headers/expf.h: Ditto.
1036 * libm/machine/spu/headers/fabs.h: Ditto.
1037 * libm/machine/spu/headers/fabsf.h: Ditto.
1038 * libm/machine/spu/headers/fdim.h: Ditto.
1039 * libm/machine/spu/headers/fdimf.h: Ditto.
1040 * libm/machine/spu/headers/floor.h: Ditto.
1041 * libm/machine/spu/headers/floorf.h: Ditto.
1042 * libm/machine/spu/headers/fma.h: Ditto.
1043 * libm/machine/spu/headers/fmaf.h: Ditto.
1044 * libm/machine/spu/headers/fmax.h: Ditto.
1045 * libm/machine/spu/headers/fmaxf.h: Ditto.
1046 * libm/machine/spu/headers/fmin.h: Ditto.
1047 * libm/machine/spu/headers/fminf.h: Ditto.
1048 * libm/machine/spu/headers/fmod.h: Ditto.
1049 * libm/machine/spu/headers/fmodf.h: Ditto.
1050 * libm/machine/spu/headers/frexp.h: Ditto.
1051 * libm/machine/spu/headers/frexpf.h: Ditto.
1052 * libm/machine/spu/headers/ilogb.h: Ditto.
1053 * libm/machine/spu/headers/ilogbf.h: Ditto.
1054 * libm/machine/spu/headers/ldexp.h: Ditto.
1055 * libm/machine/spu/headers/ldexpf.h: Ditto.
1056 * libm/machine/spu/headers/llrint.h: Ditto.
1057 * libm/machine/spu/headers/llrintf.h: Ditto.
1058 * libm/machine/spu/headers/llround.h: Ditto.
1059 * libm/machine/spu/headers/llroundf.h: Ditto.
1060 * libm/machine/spu/headers/log10f.h: Ditto.
1061 * libm/machine/spu/headers/log2f.h: Ditto.
1062 * libm/machine/spu/headers/logf.h: Ditto.
1063 * libm/machine/spu/headers/lrint.h: Ditto.
1064 * libm/machine/spu/headers/lrintf.h: Ditto.
1065 * libm/machine/spu/headers/lround.h: Ditto.
1066 * libm/machine/spu/headers/lroundf.h: Ditto.
1067 * libm/machine/spu/headers/nearbyint.h: Ditto.
1068 * libm/machine/spu/headers/remainder.h: Ditto.
1069 * libm/machine/spu/headers/remainderf.h: Ditto.
1070 * libm/machine/spu/headers/remquo.h: Ditto.
1071 * libm/machine/spu/headers/remquof.h: Ditto.
1072 * libm/machine/spu/headers/rint.h: Ditto.
1073 * libm/machine/spu/headers/round.h: Ditto.
1074 * libm/machine/spu/headers/roundf.h: Ditto.
1075 * libm/machine/spu/headers/scalbn.h: Ditto.
1076 * libm/machine/spu/headers/scalbnf.h: Ditto.
1077 * libm/machine/spu/headers/sqrt.h: Ditto.
1078 * libm/machine/spu/headers/trunc.h: Ditto.
1079 * libm/machine/spu/headers/truncf.h: Ditto.
1080 * libm/machine/spu/headers/vec_literal.h: Ditto.
1081 * libm/machine/spu/llrint.c: Ditto.
1082 * libm/machine/spu/llrintf.c: Ditto.
1083 * libm/machine/spu/llround.c: Ditto.
1084 * libm/machine/spu/llroundf.c: Ditto.
1085 * libm/machine/spu/log2f.c: Ditto.
1086 * libm/machine/spu/s_cbrt.c: Ditto.
1087 * libm/machine/spu/s_ceil.c: Ditto.
1088 * libm/machine/spu/s_copysign.c: Ditto.
1089 * libm/machine/spu/s_fabs.c: Ditto.
1090 * libm/machine/spu/s_fdim.c: Ditto.
1091 * libm/machine/spu/s_floor.c: Ditto.
1092 * libm/machine/spu/s_fma.c: Ditto.
1093 * libm/machine/spu/s_fmax.c: Ditto.
1094 * libm/machine/spu/s_fmin.c: Ditto.
1095 * libm/machine/spu/s_frexp.c: Ditto.
1096 * libm/machine/spu/s_ilogb.c: Ditto.
1097 * libm/machine/spu/s_ldexp.c: Ditto.
1098 * libm/machine/spu/s_lrint.c: Ditto.
1099 * libm/machine/spu/s_lround.c: Ditto.
1100 * libm/machine/spu/s_nearbyint.c: Ditto.
1101 * libm/machine/spu/s_remquo.c: Ditto.
1102 * libm/machine/spu/s_rint.c: Ditto.
1103 * libm/machine/spu/s_round.c: Ditto.
1104 * libm/machine/spu/s_scalbn.c: Ditto.
1105 * libm/machine/spu/s_trunc.c: Ditto.
1106 * libm/machine/spu/sf_atan.c: Ditto.
1107 * libm/machine/spu/sf_cbrt.c: Ditto.
1108 * libm/machine/spu/sf_ceil.c: Ditto.
1109 * libm/machine/spu/sf_copysign.c: Ditto.
1110 * libm/machine/spu/sf_fabs.c: Ditto.
1111 * libm/machine/spu/sf_fdim.c: Ditto.
1112 * libm/machine/spu/sf_floor.c: Ditto.
1113 * libm/machine/spu/sf_fma.c: Ditto.
1114 * libm/machine/spu/sf_fmax.c: Ditto.
1115 * libm/machine/spu/sf_fmin.c: Ditto.
1116 * libm/machine/spu/sf_frexp.c: Ditto.
1117 * libm/machine/spu/sf_ilogb.c: Ditto.
1118 * libm/machine/spu/sf_ldexp.c: Ditto.
1119 * libm/machine/spu/sf_lrint.c: Ditto.
1120 * libm/machine/spu/sf_lround.c: Ditto.
1121 * libm/machine/spu/sf_remquo.c: Ditto.
1122 * libm/machine/spu/sf_round.c: Ditto.
1123 * libm/machine/spu/sf_scalbn.c: Ditto.
1124 * libm/machine/spu/sf_trunc.c: Ditto.
1125 * libm/machine/spu/w_fmod.c: Ditto.
1126 * libm/machine/spu/w_remainder.c: Ditto.
1127 * libm/machine/spu/w_sqrt.c: Ditto.
1128 * libm/machine/spu/wf_exp.c: Ditto.
1129 * libm/machine/spu/wf_exp2.c: Ditto.
1130 * libm/machine/spu/wf_fmod.c: Ditto.
1131 * libm/machine/spu/wf_log.c: Ditto.
1132 * libm/machine/spu/wf_log10.c: Ditto.
1133 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 1134
364faf91
JJ
11352007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1136
1137 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
1138
2f3d28fc
JJ
11392007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1140
1141 * libc/include/sched.h: New file, just include sys/sched.h.
1142 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
1143 prototype.
1144 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
1145 struct utimbuf definition.
1146
63fbe1fd
JJ
11472007-09-21 Patrick Mansfield <patmans@us.ibm.com>
1148
1149 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
1150 specific struct and typedef.
1151
11522007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
1153
1154 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
1155 typedef dev_t, gid_t, and uid_t.
1156 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
1157 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
1158 Change to lower case for all __foo_t_defined names.
1159 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
1160 __uid_t, and __gid_t making them all four bytes. Change to lower case
1161 for all __foo_t_defined names.
1162
3908c985
JJ
11632007-09-18 Jeff Johnston <jjohnstn@redhat.com>
1164
1165 * libc/reent/renamer.c: New file.
1166 * libc/reent/Makefile.am: Add new file.
1167 * libc/reent/Makefile.in: Regenerated.
1168 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
1169 and add check for rename syscall.
1170
ba21046d
EB
11712007-09-17 Eric Blake <ebb9@byu.net>
1172
1173 Obey POSIX on printf("%.s", (char*)NULL).
1174 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
1175 for %s on NULL. Skip NULL check when optimizing for size.
1176
e5ae7230
JJ
11772007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1178
1179 * libc/include/sys/_types.h: Protect all types with flag
1180 checks to allow definition in machine/_types.h.
1181
36fe6da6
JJ
11822007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1183
1184 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
1185 definitions in light of the previous change.
1186
11872007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
1188
1189 * libc/include/machine/_default_types.h: New file, contains what
1190 was previously in libc/include/machine/_types.h.
1191 * libc/include/machine/_types.h: Now only includes
1192 machine/_default_types.h.
1193 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
1194 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
1195 with conditional declarations.
1196 * libc/machine/spu/machine/_types.h: New file, add SPU specific
1197 typedefs for _fpos_t and _fpos64_t.
1198
78e66fb9
JJ
11992007-09-07 Jeff Johnston <jjohnstn@redhat.com>
1200
1201 * libc/include/math.h (_M_LOG2E): Replace with..
1202 (_M_LOG2_E): New macro.
1203 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
1204
345c1595
BD
12052007-09-06 Brian Dessent <brian@dessent.net>
1206
1207 * libc/reent/getreent.c: Allow for case where __getreent is
1208 defined as a macro.
1209
6494ee83
JJ
12102007-09-06 Jeff Johnston <jjohnstn@redhat.com>
1211
1212 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
1213 (log2): Use _M_LOG2E instead of M_LOG2E.
1214 (log2f): Ditto.
1215 (M_LOG2E): Define to be _M_LOG2E.
1216
86a934d2
JJ
12172007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1218
1219 * libm/math/wf_tgamma.c: Add missing include.
1220
6ddf8bef
JJ
12212007-08-31 Antony King <antony.king@st.com>
1222
ba21046d 1223 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
1224 bits and redefine associated dword0 macro (rvalue issue).
1225 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
1226 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1227 to prevent setting dword1 which is an rvalue only.
6ddf8bef 1228
d4a27886
JJ
12292007-08-28 Hans Kester <hans.kester@ellips.nl>
1230
1231 * configure.host: Added support for x86_64.
1232 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
1233 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
1234 * libc/machine/x86_64/aclocal.m4: Generated.
1235 * libc/machine/x86_64/configure.in: New.
1236 * libc/machine/x86_64/configure: Generated.
1237 * libc/machine/x86_64/Makefile.am: New.
1238 * libc/machine/x86_64/Makefile.in: Generated.
1239 * libc/machine/x86_64/setjmp.S: New.
1240 * libc/machine/x86_64/memcpy.S: New.
1241 * libc/machine/x86_64/memset.S: New.
1242 * libc/machine/configure.in: Added support for x86_64.
1243 * libc/machine/configure: Regenerated.
1244
309faeb5
JJ
12452007-08-24 Jeff Johnston <jjohnstn@redhat.com>
1246
1247 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
1248 to int before comparing it to a signed int value.
1249
8d44415e
HPN
12502007-08-24 Hans-Peter Nilsson <hp@axis.com>
1251
1252 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
1253 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
1254 Define.
1255
e6e56f7c
JJ
12562007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
1257
1258 Reduce the memory consumption of variable argument functions
1259 for SPU (cell):
1260 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
1261 to assembler sources.
1262 * libc/machine/spu/Makefile.in: Regenerated.
1263 * libc/machine/spu/stdio.c: Add __check_init function wrapping
1264 CHECK_INIT macro to use from assembler routines.
1265 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
1266 * libc/machine/spu/fiprintf.S: New file.
1267 * libc/machine/spu/fiscanf.S: Ditto.
1268 * libc/machine/spu/fprintf.S: Ditto.
1269 * libc/machine/spu/fscanf.S: Ditto.
1270 * libc/machine/spu/iprintf.S: Ditto.
1271 * libc/machine/spu/iscanf.S: Ditto.
1272 * libc/machine/spu/printf.S: Ditto.
1273 * libc/machine/spu/scanf.S: Ditto.
1274 * libc/machine/spu/siprintf.S: Ditto.
1275 * libc/machine/spu/siscanf.S: Ditto.
1276 * libc/machine/spu/sniprintf.S: Ditto.
1277 * libc/machine/spu/snprintf.S: Ditto.
1278 * libc/machine/spu/sprintf.S: Ditto.
1279 * libc/machine/spu/sscanf.S: Ditto.
1280 * libc/machine/spu/stack_reg_va.S: Ditto.
1281 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
1282 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
1283 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
1284 * libc/machine/spu/fiscanf.c: Ditto.
1285 * libc/machine/spu/fprintf.c: Ditto.
1286 * libc/machine/spu/fscanf.c: Ditto.
1287 * libc/machine/spu/iprintf.c: Ditto.
1288 * libc/machine/spu/iscanf.c: Ditto.
1289 * libc/machine/spu/printf.c: Ditto.
1290 * libc/machine/spu/scanf.c: Ditto.
1291 * libc/machine/spu/siprintf.c: Ditto.
1292 * libc/machine/spu/siscanf.c: Ditto.
1293 * libc/machine/spu/sniprintf.c: Ditto.
1294 * libc/machine/spu/snprintf.c: Ditto.
1295 * libc/machine/spu/sprintf.c: Ditto.
1296 * libc/machine/spu/sscanf.c: Ditto.
1297
90c6084b
JJ
12982007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1299
1300 * libc/include/tar.h: New.
1301
8fb88162
JJ
13022007-08-03 Jeff Johnston <jjohnstn@redhat.com>
1303
1304 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
1305 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
1306 * libc/sys/linux/intl/Makefile.in: Regenerated.
1307 * libc/sys/linux/intl/stpcpy.c: Renamed to...
1308 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
1309
6ddcdb9d
EB
13102007-08-02 Eric Blake <ebb9@byu.net>
1311
1312 Implement fmemopen and open_memstream.
1313 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
1314 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
1315 New file.
1316 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
1317 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
1318 functions together.
1319 (fmemopen, open_memstream): Declare new functions.
1320 * libc/stdio/stdio.tex: Document them.
1321 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
1322 fmemopen and open_memstream.
1323 * libc/stdio/Makefile.in: Regenerate.
1324
f7c978d5
EB
13252007-07-31 Eric Blake <ebb9@byu.net>
1326
1327 More POSIX stream corner cases.
1328 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
1329 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
1330 requested.
1331 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
1332
391b530a
EB
13332007-07-18 Eric Blake <ebb9@byu.net>
1334
1335 Fix 'make info'.
1336 * libc/stdio/stdio.tex: Add missing include.
1337 * libc/stdio/vfprintf.c: Use expected node name.
1338 * libc/stdio/vfscanf.c: Likewise.
1339 * libc/stdio/sscanf.c: Likewise.
1340 * libc/stdio/sprintf.c: Likewise.
1341 * libc/stdio/siscanf.c: Likewise.
1342 * libc/stdio/siprintf.c: Likewise.
1343 * libc/stdio/fopencookie.c: Quote raw {}.
1344 Reported by DJ Delorie.
1345
88c88881
EB
13462007-07-13 Eric Blake <ebb9@byu.net>
1347
08146e5a
EB
1348 Fix fflush issues.
1349 * libc/stdio/fflush.c (_fflush_r): New function.
1350 (fflush): Fix reentrancy and large offset behavior.
1351 * libc/include/stdio.h (_fflush_r): Add prototype.
1352 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
1353 * libc/stdio/freopen.c (_freopen_r): Likewise.
1354 * libc/stdio/fseek.c (_fseek_r): Likewise.
1355 * libc/stdio/ftell.c (_ftell_r): Likewise.
1356 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1357 * libc/stdio/refill.c (__srefill_r): Likewise.
1358 * libc/stdio/setvbuf.c (setvbuf): Likewise.
1359 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
1360 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
1361 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1362 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1363 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
1364 32-bit version if not large file.
1365 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1366 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
1367
88c88881
EB
1368 Documentation updates.
1369 * libc/stdio/ungetc.c: Document ungetc.
1370 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
1371 of files with documentation.
1372 * libc/stdio/Makefile.in: Regenerate.
1373 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
1374
c4ccbcce
JJ
13752007-07-11 Jeff Johnston <jjohnstn@redhat.com>
1376
1377 * libc/include/math.h: Fix so C99 functions/macros are accessible
1378 when -std=c99 is used when compiling and not when using C89.
1379
dec27025
CV
13802007-07-06 Corinna Vinschen <corinna@vinschen.de>
1381
1382 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
1383 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
1384 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
1385 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
1386 wcstoull_r.c.
1387 (CHEWOUT_FILES): Add .def files accordingly.
1388 * libc/stdlib/Makefile.in: Regenerate.
1389 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
1390 * libc/stdlib/strtoll.c: Fix portability note.
1391 * libc/stdlib/strtoull.c: Ditto.
1392 * libc/stdlib/wcstol.c: New file.
1393 * libc/stdlib/wcstoll.c: New file.
1394 * libc/stdlib/wcstoll_r.c: New file.
1395 * libc/stdlib/wcstoul.c: New file.
1396 * libc/stdlib/wcstoull.c: New file.
1397 * libc/stdlib/wcstoull_r.c: New file.
1398
0be2bc94
JJ
13992007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1400
1401 * libc/include/sys/time.h (gettimeofday): Change to proper
1402 prototype where second parameter is void *.
1403 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
1404 accordingly.
1405 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
1406 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
1407 * libc/sys/rdos/gettod.c: Ditto.
1408 * libc/sys/sh/syscalls.c: Ditto.
1409 * libc/time/time.c (time): Change call to _gettimeofday_r
1410 to pass NULL as 2nd argument.
1411
ba9af2d7
JJ
14122007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1413
1414 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
1415 * libc/sys/linux/intl/l10nflist.c: Ditto.
1416
a3721512
CV
14172007-07-04 Corinna Vinschen <corinna@vinschen.de>
1418
1419 * libc/include/wchar.h: Add prototype for wcsxfrm.
1420 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
1421 (CHEWOUT_FILES): Add wcsxfrm.def.
1422 * libc/string/Makefile.in: Regenerate.
1423 * libc/string/wcsxfrm.c: New file.
1424 * libc/string/wcstrings.tex: Add wcsxfrm.
1425
5d8b97a6
CV
14262007-06-28 Corinna Vinschen <corinna@vinschen.de>
1427
1428 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
1429 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
1430 stpncpy.c.
1431 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
1432 * libc/string/Makefile.in: Regenerate.
1433 * libc/string/stpcpy.c: New file.
1434 * libc/string/stpncpy.c: New file.
1435 * libc/string/strings.tex: Add stpcpy and stpncpy.
1436
3473e6bd
EB
14372007-06-27 Eric Blake <ebb9@byu.net>
1438
1439 Support __func__ in assert, as required by C99.
1440 * libc/stdlib/assert.c (__assert_func): New function.
1441 (__assert): Use __assert_func.
1442 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1443 possible.
1444
be977229
JJ
14452007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1446
1447 * libc/machine/spu/perror.c: Pass errno as the second argument to
1448 the assist call.
1449
d360ef18
JJ
14502007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1451
1452 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1453 defines; expose ftruncate, truncate and sync prototypes.
1454
f75c7518
JJ
14552007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1456
1457 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 1458 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
1459 visible.
1460
438b07b0
JJ
14612007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1462
1463 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1464 from a dropped patch.
1465 * libc/machine/spu/Makefile.in: Regenerate.
1466
c33ff785
JJ
14672007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1468
1469 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 1470 it just calls open with appropriate arguments.
c33ff785
JJ
1471 * libc/machine/spu/Makefile.am: Add creat.c.
1472 * libc/machine/spu/Makefile.in: Regenerate.
1473
ae473bdc
JJ
14742007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1475
1476 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1477 I accidentally dropped.
1478 * libc/machine/spu/Makefile.in: Regenerated.
1479
a8b08518
JJ
14802007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1481
1482 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1483 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1484 form and move outside of OS flag checks.
1485 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1486 * libc/machine/spu/Makefile.in: Regenerate.
1487 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1488 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1489
f4cd2a1d
CV
14902007-06-11 Corinna Vinschen <corinna@vinschen.de>
1491
1492 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1493 Define confstr constants for Cygwin. Add comment.
1494
32f67ec6
HPN
14952007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1496
1497 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1498 file-handle and a direct syscall, just use _open.
1499 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1500 file-handle.
1501
1502 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1503 passing on the exit value.
1504
6fb37475
JJ
15052007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1506
1507 * libc/string/strcasestr.c: New file.
1508 * libc/include/string.h: Add strcasestr.
1509 * libc/string/strings.tex: Add strcasestr.
1510 * libc/string/Makefile.am: Ditto.
1511 * libc/string/Makefile.in: Regenerated.
1512
1eeaeab8
JJ
15132007-06-06 Christian Groessler <chris@groessler.org>
1514
1515 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1516 rnd is done after the last local variable declaration.
1517
15182007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1519
1520 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1521
a5da131d
JJ
15222007-06-05 Christian Groessler <chris@groessler.org>
1523
3473e6bd 1524 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1525 declaration to top of function in keeping with C89 standard.
a5da131d 1526
17c61d6a
EB
15272007-06-04 Eric Blake <ebb9@byu.net>
1528
1529 Implement funopen, fopencookie.
1530 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1531 Switch to reentrant callbacks.
1532 * libc/include/stdio.h (funopen): Fix declaration.
1533 (fopencookie): Declare.
1534 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1535 (__sseek64, __swrite64): Fix prototypes.
1536 [__SCLE]: Pull in setmode declaration.
1537 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1538 reentrancy.
1539 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1540 (__sseek64, __swrite64): Fix reentrancy.
1541 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1542 reentrancy.
1543 * libc/stdio/ftell.c (_ftell_r): Likewise.
1544 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1545 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1546 * libc/stdio/freopen.c (_freopen_r): Likewise.
1547 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1548 * libc/stdio/refill.c (__srefill_r): Likewise.
1549 * libc/stdio/siscanf.c (eofread): Likewise.
1550 * libc/stdio/sscanf.c (eofread): Likewise.
1551 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1552 * libc/stdio/vsscanf.c (eofread1): Likewise.
1553 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1554 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1555 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1556 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1557 could be fixed.
1558 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1559 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1560 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1561 new files.
1562 * libc/stdio/Makefile.in: Regenerate.
1563
b2064783
EB
15642007-05-29 Eric Blake <ebb9@byu.net>
1565
1566 Avoid more compiler warnings.
1567 * libc/stdlib/btowc.c: Add missing header.
1568 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1569 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1570 * libc/stdlib/wctob.c: Add missing header.
1571 * libc/string/strcpy.c (strcpy): Avoid warnings.
1572 * libc/string/strrchr.c (strrchr): Likewise.
1573
76a2ee78
CV
15742007-05-29 Corinna Vinschen <corinna@vinschen.de>
1575
1576 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1577 argument.
1578 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1579 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1580 on empty input strings.
1581 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1582 looping through argz.
1583 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1584
75acf0bb
EB
15852007-05-27 Brian Dessent <brian@dessent.net>
1586
1587 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1588 handling %p.
1589
f5c58e9a
EB
15902007-05-25 Eric Blake <ebb9@byu.net>
1591
1592 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1593
d9a1ecc0 15942007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1595 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1596
1597 * libtool.m4: removed
1598 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1599 libtool. Move AC_PROG_AWK outside conditional.
1600 * libc/sys/linux/configure.in: Ditto.
1601 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1602 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1603 * libc/sys/linux/machine/i386/configure.in: Ditto.
1604
1605 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1606 initializing libtool.
1607 * libc/configure.in: Ditto.
1608 * libc/machine/configure.in: Ditto.
1609 * libc/machine/i386/configure.in: Ditto.
1610 * libc/sys/configure.in: Ditto.
1611 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1612 * libc/sys/linux/machine/configure.in: Ditto.
1613 * libm/configure.in: Ditto.
1614 * libm/machine/configure.in: Ditto.
1615
1616 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1617 * doc/Makefile.am: Ditto.
1618 * iconvdata/Makefile.am: Ditto.
1619 * libc/Makefile.am: Ditto.
1620 * libc/machine/Makefile.am: Ditto.
1621 * libc/machine/a29k/Makefile.am: Ditto.
1622 * libc/machine/arm/Makefile.am: Ditto.
1623 * libc/machine/bfin/Makefile.am: Ditto.
1624 * libc/machine/cris/Makefile.am: Ditto.
1625 * libc/machine/crx/Makefile.am: Ditto.
1626 * libc/machine/d10v/Makefile.am: Ditto.
1627 * libc/machine/d30v/Makefile.am: Ditto.
1628 * libc/machine/fr30/Makefile.am: Ditto.
1629 * libc/machine/frv/Makefile.am: Ditto.
1630 * libc/machine/h8300/Makefile.am: Ditto.
1631 * libc/machine/h8500/Makefile.am: Ditto.
1632 * libc/machine/hppa/Makefile.am: Ditto.
1633 * libc/machine/i386/Makefile.am: Ditto.
1634 * libc/machine/i960/Makefile.am: Ditto.
1635 * libc/machine/iq2000/Makefile.am: Ditto.
1636 * libc/machine/m32c/Makefile.am: Ditto.
1637 * libc/machine/m32r/Makefile.am: Ditto.
1638 * libc/machine/m68hc11/Makefile.am: Ditto.
1639 * libc/machine/m68k/Makefile.am: Ditto.
1640 * libc/machine/m88k/Makefile.am: Ditto.
1641 * libc/machine/mips/Makefile.am: Ditto.
1642 * libc/machine/mn10200/Makefile.am: Ditto.
1643 * libc/machine/mn10300/Makefile.am: Ditto.
1644 * libc/machine/mt/Makefile.am: Ditto.
1645 * libc/machine/necv70/Makefile.am: Ditto.
1646 * libc/machine/powerpc/Makefile.am: Ditto.
1647 * libc/machine/sh/Makefile.am: Ditto.
1648 * libc/machine/sparc/Makefile.am: Ditto.
1649 * libc/machine/spu/Makefile.am: Ditto.
1650 * libc/machine/tic4x/Makefile.am: Ditto.
1651 * libc/machine/tic80/Makefile.am: Ditto.
1652 * libc/machine/v850/Makefile.am: Ditto.
1653 * libc/machine/w65/Makefile.am: Ditto.
1654 * libc/machine/xscale/Makefile.am: Ditto.
1655 * libc/machine/xstormy16/Makefile.am: Ditto.
1656 * libc/machine/z8k/Makefile.am: Ditto.
1657 * libc/sys/Makefile.am: Ditto.
1658 * libc/sys/a29khif/Makefile.am: Ditto.
1659 * libc/sys/arc/Makefile.am: Ditto.
1660 * libc/sys/arm/Makefile.am: Ditto.
1661 * libc/sys/d10v/Makefile.am: Ditto.
1662 * libc/sys/decstation/Makefile.am: Ditto.
1663 * libc/sys/h8300hms/Makefile.am: Ditto.
1664 * libc/sys/h8500hms/Makefile.am: Ditto.
1665 * libc/sys/linux/Makefile.am: Ditto.
1666 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1667 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1668 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1669 * libc/sys/linux/machine/Makefile.am: Ditto.
1670 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1671 * libc/sys/m88kbug/Makefile.am: Ditto.
1672 * libc/sys/mmixware/Makefile.am: Ditto.
1673 * libc/sys/netware/Makefile.am: Ditto.
1674 * libc/sys/rdos/Makefile.am: Ditto.
1675 * libc/sys/rtems/Makefile.am: Ditto.
1676 * libc/sys/sh/Makefile.am: Ditto.
1677 * libc/sys/sparc64/Makefile.am: Ditto.
1678 * libc/sys/sun4/Makefile.am: Ditto.
1679 * libc/sys/sysmec/Makefile.am: Ditto.
1680 * libc/sys/sysnec810/Makefile.am: Ditto.
1681 * libc/sys/sysnecv850/Makefile.am: Ditto.
1682 * libc/sys/sysvi386/Makefile.am: Ditto.
1683 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1684 * libc/sys/tic80/Makefile.am: Ditto.
1685 * libc/sys/w65/Makefile.am: Ditto.
1686 * libc/sys/z8ksim/Makefile.am: Ditto.
1687 * libm/Makefile.am: Ditto.
1688 * libm/machine/Makefile.am: Ditto.
1689 * libm/machine/i386/Makefile.am: Ditto.
1690 * libm/machine/spu/Makefile.am: Ditto.
1691
1692 * aclocal.m4: Regenerate.
1693 * iconvdata/aclocal.m4: Regenerate.
1694 * libc/aclocal.m4: Regenerate.
1695 * libc/machine/aclocal.m4: Regenerate.
1696 * libc/machine/i386/aclocal.m4: Regenerate.
1697 * libc/sys/aclocal.m4: Regenerate.
1698 * libc/sys/linux/aclocal.m4: Regenerate.
1699 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1700 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1701 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1702 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1703 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1704 * libm/aclocal.m4: Regenerate.
1705 * libm/machine/aclocal.m4: Regenerate.
1706 * libm/machine/i386/aclocal.m4: Regenerate.
1707
1708 * Makefile.in: Regenerate.
1709 * doc/Makefile.in: Regenerate.
1710 * iconvdata/Makefile.in: Regenerate.
1711 * libc/Makefile.in: Regenerate.
1712 * libc/argz/Makefile.in: Regenerate.
1713 * libc/ctype/Makefile.in: Regenerate.
1714 * libc/errno/Makefile.in: Regenerate.
1715 * libc/iconv/Makefile.in: Regenerate.
1716 * libc/iconv/ccs/Makefile.in: Regenerate.
1717 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1718 * libc/iconv/ces/Makefile.in: Regenerate.
1719 * libc/iconv/lib/Makefile.in: Regenerate.
1720 * libc/locale/Makefile.in: Regenerate.
1721 * libc/machine/Makefile.in: Regenerate.
1722 * libc/machine/a29k/Makefile.in: Regenerate.
1723 * libc/machine/arm/Makefile.in: Regenerate.
1724 * libc/machine/bfin/Makefile.in: Regenerate.
1725 * libc/machine/cris/Makefile.in: Regenerate.
1726 * libc/machine/crx/Makefile.in: Regenerate.
1727 * libc/machine/d10v/Makefile.in: Regenerate.
1728 * libc/machine/d30v/Makefile.in: Regenerate.
1729 * libc/machine/fr30/Makefile.in: Regenerate.
1730 * libc/machine/frv/Makefile.in: Regenerate.
1731 * libc/machine/h8300/Makefile.in: Regenerate.
1732 * libc/machine/h8500/Makefile.in: Regenerate.
1733 * libc/machine/hppa/Makefile.in: Regenerate.
1734 * libc/machine/i386/Makefile.in: Regenerate.
1735 * libc/machine/i960/Makefile.in: Regenerate.
1736 * libc/machine/iq2000/Makefile.in: Regenerate.
1737 * libc/machine/m32c/Makefile.in: Regenerate.
1738 * libc/machine/m32r/Makefile.in: Regenerate.
1739 * libc/machine/m68hc11/Makefile.in: Regenerate.
1740 * libc/machine/m68k/Makefile.in: Regenerate.
1741 * libc/machine/m88k/Makefile.in: Regenerate.
1742 * libc/machine/mips/Makefile.in: Regenerate.
1743 * libc/machine/mn10200/Makefile.in: Regenerate.
1744 * libc/machine/mn10300/Makefile.in: Regenerate.
1745 * libc/machine/mt/Makefile.in: Regenerate.
1746 * libc/machine/necv70/Makefile.in: Regenerate.
1747 * libc/machine/powerpc/Makefile.in: Regenerate.
1748 * libc/machine/sh/Makefile.in: Regenerate.
1749 * libc/machine/sparc/Makefile.in: Regenerate.
1750 * libc/machine/spu/Makefile.in: Regenerate.
1751 * libc/machine/tic4x/Makefile.in: Regenerate.
1752 * libc/machine/tic80/Makefile.in: Regenerate.
1753 * libc/machine/v850/Makefile.in: Regenerate.
1754 * libc/machine/w65/Makefile.in: Regenerate.
1755 * libc/machine/xscale/Makefile.in: Regenerate.
1756 * libc/machine/xstormy16/Makefile.in: Regenerate.
1757 * libc/machine/z8k/Makefile.in: Regenerate.
1758 * libc/misc/Makefile.in: Regenerate.
1759 * libc/posix/Makefile.in: Regenerate.
1760 * libc/reent/Makefile.in: Regenerate.
1761 * libc/search/Makefile.in: Regenerate.
1762 * libc/signal/Makefile.in: Regenerate.
1763 * libc/stdio/Makefile.in: Regenerate.
1764 * libc/stdio64/Makefile.in: Regenerate.
1765 * libc/stdlib/Makefile.in: Regenerate.
1766 * libc/string/Makefile.in: Regenerate.
1767 * libc/sys/Makefile.in: Regenerate.
1768 * libc/sys/a29khif/Makefile.in: Regenerate.
1769 * libc/sys/arc/Makefile.in: Regenerate.
1770 * libc/sys/arm/Makefile.in: Regenerate.
1771 * libc/sys/d10v/Makefile.in: Regenerate.
1772 * libc/sys/decstation/Makefile.in: Regenerate.
1773 * libc/sys/h8300hms/Makefile.in: Regenerate.
1774 * libc/sys/h8500hms/Makefile.in: Regenerate.
1775 * libc/sys/linux/Makefile.in: Regenerate.
1776 * libc/sys/linux/argp/Makefile.in: Regenerate.
1777 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1778 * libc/sys/linux/dl/Makefile.in: Regenerate.
1779 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1780 * libc/sys/linux/intl/Makefile.in: Regenerate.
1781 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1782 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1783 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1784 * libc/sys/linux/machine/Makefile.in: Regenerate.
1785 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1786 * libc/sys/linux/net/Makefile.in: Regenerate.
1787 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1788 * libc/sys/m88kbug/Makefile.in: Regenerate.
1789 * libc/sys/mmixware/Makefile.in: Regenerate.
1790 * libc/sys/netware/Makefile.in: Regenerate.
1791 * libc/sys/rdos/Makefile.in: Regenerate.
1792 * libc/sys/rtems/Makefile.in: Regenerate.
1793 * libc/sys/sh/Makefile.in: Regenerate.
1794 * libc/sys/sparc64/Makefile.in: Regenerate.
1795 * libc/sys/sun4/Makefile.in: Regenerate.
1796 * libc/sys/sysmec/Makefile.in: Regenerate.
1797 * libc/sys/sysnec810/Makefile.in: Regenerate.
1798 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1799 * libc/sys/sysvi386/Makefile.in: Regenerate.
1800 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1801 * libc/sys/tic80/Makefile.in: Regenerate.
1802 * libc/sys/w65/Makefile.in: Regenerate.
1803 * libc/sys/z8ksim/Makefile.in: Regenerate.
1804 * libc/syscalls/Makefile.in: Regenerate.
1805 * libc/time/Makefile.in: Regenerate.
1806 * libc/unix/Makefile.in: Regenerate.
1807 * libm/Makefile.in: Regenerate.
1808 * libm/common/Makefile.in: Regenerate.
1809 * libm/machine/Makefile.in: Regenerate.
1810 * libm/machine/i386/Makefile.in: Regenerate.
1811 * libm/machine/spu/Makefile.in: Regenerate.
1812 * libm/math/Makefile.in: Regenerate.
1813 * libm/mathfp/Makefile.in: Regenerate.
1814
1815 * configure: Regenerate.
1816 * iconvdata/configure: Regenerate.
1817 * libc/configure: Regenerate.
1818 * libc/machine/configure: Regenerate.
1819 * libc/machine/i386/configure: Regenerate.
1820 * libc/sys/configure: Regenerate.
1821 * libc/sys/linux/configure: Regenerate.
1822 * libc/sys/linux/linuxthreads/configure: Regenerate.
1823 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1824 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1825 * libc/sys/linux/machine/configure: Regenerate.
1826 * libc/sys/linux/machine/i386/configure: Regenerate.
1827 * libm/configure: Regenerate.
1828 * libm/machine/configure: Regenerate.
1829 * libm/machine/i386/configure: Regenerate.
1830
aa5341f9
EB
18312007-05-23 Eric Blake <ebb9@byu.net>
1832
1833 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1834 sizeof(void*) is 8 but sizeof(long) is 4.
1835 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1836 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1837 to fix reentrancy and bug on encoding error in multibyte locales.
1838 Always return EOF on read error.
1839
4a9880e0
JJ
18402007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1841
1842 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1843 prototype.
1844 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1845 instead of the slot 0 value, remove any now unused variables, and
1846 for some cases, now store the result in an int vs int*.
1847 * libc/machine/spu/feof.c: Ditto.
1848 * libc/machine/spu/ferror.c: Ditto.
1849 * libc/machine/spu/fflush.c: Ditto.
1850 * libc/machine/spu/fgetc.c: Ditto.
1851 * libc/machine/spu/fgetpos.c: Ditto.
1852 * libc/machine/spu/fgets.c: Ditto.
1853 * libc/machine/spu/fileno.c: Ditto.
1854 * libc/machine/spu/fopen.c: Ditto.
1855 * libc/machine/spu/fprintf.c: Ditto.
1856 * libc/machine/spu/fputc.c: Ditto.
1857 * libc/machine/spu/fputs.c: Ditto.
1858 * libc/machine/spu/fread.c: Ditto.
1859 * libc/machine/spu/freopen.c: Ditto.
1860 * libc/machine/spu/fscanf.c: Ditto.
1861 * libc/machine/spu/fseek.c: Ditto.
1862 * libc/machine/spu/fsetpos.c: Ditto.
1863 * libc/machine/spu/ftell.c: Ditto.
1864 * libc/machine/spu/fwrite.c: Ditto.
1865 * libc/machine/spu/getc.c: Ditto.
1866 * libc/machine/spu/getchar.c: Ditto.
1867 * libc/machine/spu/gets.c: Ditto.
1868 * libc/machine/spu/printf.c: Ditto.
1869 * libc/machine/spu/putc.c: Ditto.
1870 * libc/machine/spu/putchar.c: Ditto.
1871 * libc/machine/spu/puts.c: Ditto.
1872 * libc/machine/spu/remove.c: Ditto.
1873 * libc/machine/spu/rename.c: Ditto.
1874 * libc/machine/spu/scanf.c: Ditto.
1875 * libc/machine/spu/setvbuf.c: Ditto.
1876 * libc/machine/spu/snprintf.c: Ditto.
1877 * libc/machine/spu/sprintf.c: Ditto.
1878 * libc/machine/spu/sscanf.c: Ditto.
1879 * libc/machine/spu/tmpfile.c: Ditto.
1880 * libc/machine/spu/tmpnam.c: Ditto.
1881 * libc/machine/spu/ungetc.c: Ditto.
1882 * libc/machine/spu/vfprintf.c: Ditto.
1883 * libc/machine/spu/vfscanf.c: Ditto.
1884 * libc/machine/spu/vprintf.c: Ditto.
1885 * libc/machine/spu/vscanf.c: Ditto.
1886 * libc/machine/spu/vsnprintf.c: Ditto.
1887 * libc/machine/spu/vsprintf.c: Ditto.
1888 * libc/machine/spu/vsscanf.c: Ditto.
1889
9a3ec862
EB
18902007-05-23 Eric Blake <ebb9@byu.net>
1891
1892 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1893 Avoid warning when !FLOATING_POINT.
1894 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1895 slightly.
1896
d48670ed
CV
18972007-05-23 Corinna Vinschen <vinschen@redhat.com>
1898
1899 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1900 to zero.
1901 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1902 use with C++.
1903
8aab2bc2
EB
19042007-05-18 Eric Blake <ebb9@byu.net>
1905
1906 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1907 compilers.
1908 * libc/stdio/vfscanf.c: Likewise.
1909
b2250c70
JJ
19102007-05-17 Cary R. <cygcary <at> yahoo.com>
1911
1912 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1913 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1914 * libm/math/wf_atan2.c: Ditto.
1915
8aab2bc2 19162007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1917
1918 * libm/common/Makefile.am: Add support for exp10, exp10f,
1919 pow10, and pow10f functions.
1920 * libm/common/Makefile.in: Regenerated.
1921 * libm/common/s_pow10.c: New file.
1922 * libm/common/sf_pow10.c: Ditto.
1923 * libm/common/s_exp10.c: Ditto.
1924 * libm/common/sf_exp10.c: Ditto.
1925 * libc/include/math.h [!pow10]: New pow10 prototype.
1926 [!pow10f]: New pow10f prototype.
1927 [!exp10]: New exp10 prototype.
1928 [!exp10f]: New exp10f prototype.
1929
487e9075
EB
19302007-05-17 Charles Wilson <cygwin@...>
1931
1932 * stdio/tmpfile.c: Include <sys/stat.h>.
1933 * stdio64/tmpfile64.c: Ditto.
1934
f6560775
EB
19352007-05-16 Eric Blake <ebb9@byu.net>
1936
d009633d
EB
1937 Close security hole in tmpfile.
1938 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1939 generation and opening the fd.
1940 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1941
895d76fe
EB
1942 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1943 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1944 required by POSIX.
1945 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1946 avoid clash with <math.h>.
1947
f6560775
EB
1948 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1949 * libc/search/hash.c (__hash_open): Likewise.
1950
34507ce0
EB
19512007-05-14 Eric Blake <ebb9@byu.net>
1952
1953 Reduce stack size of *printf.
1954 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1955 in %f. Avoid malloc when possible for %S.
1956 (BUF): Improve stack locality by using smaller size.
1957 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1958 (exponent): Use smaller stack size.
1959
b8a37af9
EB
19602007-05-11 Eric Blake <ebb9@byu.net>
1961
0962fe91
EB
1962 Minimize printf/scanf size on platforms that don't need C99.
1963 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1964 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1965 * configure.in (newlib-io-c99-formats): New configure option.
1966 (_WANT_IO_C99_FORMATS): Define appropriately.
1967 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1968 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1969 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1970 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1971 Likewise.
1972 * configure: Regenerate.
1973
b8a37af9
EB
1974 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1975 (get_arg): Support '%a' and '%A'.
1976
81274c67
EB
19772007-05-09 Eric Blake <ebb9@byu.net>
1978
1979 Allow zero size with non-null buf in *asnprintf.
1980 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1981 user's buf.
1982 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1983 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1984 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1985
38ed4e51
EB
19862007-05-07 Charles Wilson <cygwin@...>
1987
1988 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1989
b9db5292
EB
19902007-05-03 Eric Blake <ebb9@byu.net>
1991
1992 Add support for asnprintf, and improve *printf documentation.
1993 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1994 (ELIX_2_SOURCES): ...to this.
1995 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1996 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1997 (CHEWOUT_FILES): Include diprintf in documentation.
1998 * libc/stdio/Makefile.in: Regenerate.
1999 * libc/stdio/diprintf.c: Improve documentation.
2000 * libc/stdio/dprintf.c: Likewise.
2001 * libc/stdio/siprintf.c: Likewise.
2002 * libc/stdio/sprintf.c: Likewise.
2003 * libc/stdio/vfprintf.c: Likewise.
2004 * libc/stdio/viprintf.c: Likewise.
2005 * libc/stdio/vsniprintf.c: Consolidate documentation.
2006 * libc/stdio/asiprintf.c: Refer to documentation.
2007 * libc/stdio/asprintf.c: Likewise.
2008 * libc/stdio/fiprintf.c: Likewise.
2009 * libc/stdio/fprintf.c: Likewise.
2010 * libc/stdio/iprintf.c: Likewise.
2011 * libc/stdio/printf.c: Likewise.
2012 * libc/stdio/sniprintf.c: Likewise.
2013 * libc/stdio/vdiprintf.c: Likewise.
2014 * libc/stdio/vdprintf.c: Likewise.
2015 * libc/stdio/vsiprintf.c: Likewise.
2016 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
2017 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
2018 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
2019 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
2020 file.
2021 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
2022 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
2023 typical case.
2024 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
2025 * libc/include/stdio.h: Add prototypes for new functions; sort
2026 existing functions.
2027
fb3937fa
KH
20282007-05-03 Kazu Hirata <kazu@codesourcery.com>
2029
2030 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2031 and memset.S.
2032 * libc/machine/m68k/Makefile.in: Regenerate.
2033 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
2034 * libc/machine/m68k/memset.S: Likewise.
2035
b4f09558
EB
20362007-05-01 Eric Blake <ebb9@byu.net>
2037
2038 * libc/stdio64/local64.h: Delete, move contents to...
2039 * libc/stdio/local.h: ...here.
2040 * libc/stdio64/fdopen64.c: Update includes.
2041 * libc/stdio64/fopen64.c: Likewise.
2042 * libc/stdio64/freopen64.c: Likewise.
2043 * libc/stdio64/fseeko64.c: Likewise.
2044 * libc/stdio64/ftello64.c: Likewise.
2045 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
2046 and stderr with 64-bit offset.
2047 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
2048 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
2049 * libc/stdio/mktemp.c (_gettemp): Likewise.
2050
2babeb3d
JJ
20512007-05-01 Cary R. <cygcary <at> yahoo.com>
2052
2053 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
2054 to treatment of NaN and +-inf arguments.
2055 * libm/math/ef_pow.c: Ditto.
2056 * libm/math/w_pow.c: Ditto.
2057 * libm/math/wf_pow.c: Ditto.
2058 * libm/math/w_acos.c: Fix domain errors to return NaN.
2059 * libm/math/w_asin.c: Ditto.
2060 * libm/math/wf_acos.c: Ditto.
2061 * libm/math/wf_asin.c: Ditto.
2062 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
2063 * libm/math/wf_log.c: Ditto.
2064 * libm/math/wf_log10.c: Ditto.
2065 * libm/math/w_log10.c: Ditto.
2066
643aff87
JJ
20672007-04-27 Jeff Johnston <jjohnstn@redhat.com>
2068
2069 * libc/machine/m68k/Makefile.am: Temporarily remove
2070 memcpy.S and memset.S until logic can be confirmed for
2071 !(__mcoldfile__) case.
2072 * libc/machine/m68k/Makefile.in: Regenerated.
2073
9e5957de
JJ
20742007-04-27 Kazu Hirata <kazu@codesourcery.com>
2075
2076 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2077 and memset.S.
2078 * libc/machine/m68k/Makefile.in: Regenerate.
2079 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
2080
976e9d28
JJ
20812007-04-26 Patrick Mansfield <patmans@us.ibm.com>
2082
2083 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
2084 overridden via machine/ieeefp.h.
2085 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
2086 macros for isnan and related macros.
2087 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
2088 overridden via machine/ieeefp.h.
2089 * libm/machine/spu/Makefile.am: Add new files.
2090 * libm/machine/spu/Makefile.in: Autogenerate with new files.
2091 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
2092 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
2093 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
2094 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
2095 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
2096 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
2097 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
2098
34450bd5
JJ
20992007-04-25 Jeff Johnston <jjohnstn@redhat.com>
2100
2101 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
2102 * libm/common/sf_fpclassify.c: ...here. New file.
2103 * libm/common/Makefile.am: Add sf_fpclassify.c.
2104 * libm/common/Makefile.in: Regenerated.
2105
42cd3e6c
JJ
21062007-04-25 Patrick Mansfield <patmans@us.ibm.com>
2107
2108 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
2109 ppu linux values. This file is a copy of the cris/sys/errno.h plus
2110 a few changes (see spu errno.h comments).
2111
8b366086
JJ
21122007-04-25 Eric Blake <ebb9@byu.net>
2113
2114 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
2115 that promote to int.
2116
245240b5
JJ
21172007-04-25 Patrick Mansfield <patmans@us.ibm.com>
2118
b4f09558 2119 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
2120 we clear the proper bits in the fpscr, and don't set some random ones.
2121
68f2517f
EB
21222007-04-24 Eric Blake <ebb9@byu.net>
2123
5866c023
EB
2124 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
2125 or NaN with %05f.
2126
27e5e9ab
EB
2127 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
2128 _MB_CAPABLE.
2129
68f2517f
EB
2130 * libc/include/limits.h (NL_ARGMAX): Define a default value.
2131 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
2132 NL_ARGMAX, if present.
2133
21342007-04-23 Brian Dessent <brian@dessent.net>
2135
2136 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
2137 has been specified with types 'f', 'F', 'g', or 'G', ensure the
2138 trailing decimal is printed.
2139
714d0b7a
JJ
21402007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
2141
2142 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
2143 file. Override Autoconf-2.59's version of these macros with
2144 fixed handling of multiple adjacent whitespace in arguments.
2145 * aclocal.m4: Regenerated forcefully.
2146 * configure: Ditto.
2147 * Makefile.in: Ditto.
2148 * libc/*Makefile.in: Ditto.
2149 * libc/*aclocal.m4: Ditto.
2150 * libc/*configure: Ditto.
2151 * libm/*Makefile.in: Ditto.
2152 * libm/*aclocal.m4: Ditto.
2153 * libm/*configure: Ditto.
2154
8aebc414
JJ
21552007-04-23 Jeff Johnston <jjohnstn@redhat.com>
2156
2157 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
2158 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
2159 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
2160 * libc/sys/arc/Makefile.in: Regenerated.
2161
fb5750bf
JJ
21622007-04-17 Brian Dessent <brian@dessent.net>
2163
2164 * libc/stdio/sscanf.c: Update documentation comments.
2165 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
2166
ba3ccd63
EB
21672007-04-12 Eric Blake <ebb9@byu.net>
2168
2169 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
2170 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
2171 (get_arg): Handle %1$F, %1$n.
2172
503e2d1c
EB
21732007-04-10 Eric Blake <ebb9@byu.net>
2174
2175 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
2176 CFLAGS=-O0.
2177
17c0c97d
EB
21782007-04-09 Eric Blake <ebb9@byu.net>
2179
2180 * libc/include/stdio.h: Add gcc format attributes to printf and
2181 scanf families.
2182
abe43f42 21832007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 2184
abe43f42
JJ
2185 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
2186 even if the passed in length n is shorter than the source string.
2187 This matches both the non-spu specific and the glibc strxfrm
2188 behaviour.
2189
0efa93c0
KH
21902007-04-04 Mark Mitchell <mark@codesourcery.com>
2191
2192 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
2193 functions registering additional atexit functions.
2194
07278e6c
KH
2195 * testsuite/lib/flags.exp (newlib_include_flags): Drop
2196 -I${newlib_dir}.
2197
748c1917 21982007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 2199
748c1917
JJ
2200 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
2201 prototype.
2202 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
2203 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
2204 * libc/machine/spu/fclose.c: Ditto.
2205 * libc/machine/spu/feof.c: Ditto.
2206 * libc/machine/spu/ferror.c: Ditto.
2207 * libc/machine/spu/fflush.c: Ditto.
2208 * libc/machine/spu/fgetc.c: Ditto.
2209 * libc/machine/spu/fgetpos.c: Ditto.
2210 * libc/machine/spu/fgets.c: Ditto.
2211 * libc/machine/spu/fileno.c: Ditto.
2212 * libc/machine/spu/fopen.c: Ditto.
2213 * libc/machine/spu/fprintf.c: Ditto.
2214 * libc/machine/spu/fputc.c: Ditto.
2215 * libc/machine/spu/fputs.c: Ditto.
2216 * libc/machine/spu/fread.c: Ditto.
2217 * libc/machine/spu/freopen.c: Ditto.
2218 * libc/machine/spu/fscanf.c: Ditto.
2219 * libc/machine/spu/fseek.c: Ditto.
2220 * libc/machine/spu/fsetpos.c: Ditto.
2221 * libc/machine/spu/ftell.c: Ditto.
2222 * libc/machine/spu/fwrite.c: Ditto.
2223 * libc/machine/spu/getc.c: Ditto.
2224 * libc/machine/spu/getchar.c: Ditto.
2225 * libc/machine/spu/gets.c: Ditto.
2226 * libc/machine/spu/perror.c: Ditto.
2227 * libc/machine/spu/printf.c: Ditto.
2228 * libc/machine/spu/putc.c: Ditto.
2229 * libc/machine/spu/putchar.c: Ditto.
2230 * libc/machine/spu/puts.c: Ditto.
2231 * libc/machine/spu/remove.c: Ditto.
2232 * libc/machine/spu/rename.c: Ditto.
2233 * libc/machine/spu/rewind.c: Ditto.
2234 * libc/machine/spu/scanf.c: Ditto.
2235 * libc/machine/spu/setbuf.c: Ditto.
2236 * libc/machine/spu/setvbuf.c: Ditto.
2237 * libc/machine/spu/snprintf.c: Ditto.
2238 * libc/machine/spu/sprintf.c: Ditto.
2239 * libc/machine/spu/sscanf.c: Ditto.
2240 * libc/machine/spu/tmpfile.c: Ditto.
2241 * libc/machine/spu/tmpnam.c: Ditto.
2242 * libc/machine/spu/ungetc.c: Ditto.
2243 * libc/machine/spu/vfprintf.c: Ditto.
2244 * libc/machine/spu/vfscanf.c: Ditto.
2245 * libc/machine/spu/vprintf.c: Ditto.
2246 * libc/machine/spu/vscanf.c: Ditto.
2247 * libc/machine/spu/vsnprintf.c: Ditto.
2248 * libc/machine/spu/vsprintf.c: Ditto.
2249 * libc/machine/spu/vsscanf.c: Ditto.
2250
a706aa2e
JJ
22512007-04-04 Jeff Johnston <jjohnstn@redhat.com>
2252
2253 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
2254
db7aa4b1
JJ
22552007-04-04 Eric Blake <ebb9@byu.net>
2256
2257 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
2258 (asiprintf): Avoid overhead.
2259 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
2260 (asprintf): Avoid overhead.
2261 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
2262 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
2263 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
2264 (fiprintf): Avoid overhead.
2265 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
2266 (fprintf): Avoid overhead.
2267 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
2268 (iprintf): Avoid overhead.
2269 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
2270 (printf): Avoid overhead.
2271 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
2272 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
2273 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
2274 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
2275 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
2276 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
2277 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
2278 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
2279 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
2280 vdiprintf.c.
2281 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
2282 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
2283
2c58b5a5
DK
22842007-03-30 Dave Korn <dave.korn@artimi.com>
2285
2286 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
2287 conflicting inline semantics between C99 and GNU89.
2288 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
2289 compatible with -fkeep-inline-functions usage.
2290 (__sputc_r): Likewise for consistency even though disabled.
2291
519aec5d
NC
22922007-03-29 Nick Clifton <nickc@redhat.com>
2293
2294 Reflect changes made to generic vfprintf.c:
2295 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2296 and add a "struct reent *" argument.
2297 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2298 argument and call _VFPRINTF_R instead of VFPRINTF.
2299 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2300 Fix uses of __sprint() and __sbprintf.
2301
23022007-03-20 Nick Clifton <nickc@redhat.com>
2303
2304 Reflect changes made to generic vfprintf.c:
2305 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
2306 and add a "struct reent *" argument.
2307 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
2308 argument and call _VFPRINTF_R instead of VFPRINTF.
2309 (_VFPRINTF_R): Add data pointer to call to cantwrite().
2310 Fix uses of __sprint() and __sbprintf.
2311
443871a6
JJ
23122007-03-16 Charles Wilson <cygwin@...>
2313
2314 * libc/argz/argz_insert.c: "before" pointer is
2315 invalid after *argz realloc. Compute offset
2316 between "before" and *argz, and use it after
2317 reallocation instead.
2318
a167bcd8
JJ
23192007-03-16 Eric Blake <ebb9@byu.net>
2320
2321 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
2322 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2323
826b5591
JJ
23242007-03-15 Jeff Johnston <jjohnstn@redhat.com>
2325
2326 * configure.in: Add new --enable-newlib-reent-small option.
2327 * configure: Regenerated.
2328 * acconfig.h: Add _WANT_REENT_SMALL.
2329 * newlib.hin: Regenerated minus PACKAGE macros to add
2330 _WANT_REENT_SMALL macro.
2331 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
2332 if not already set.
2333 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
2334 there is no buffer.
2335 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
2336 use reentrant pointer passed in when resetting the file
2337 pointer to one of the std streams.
2338
14ba5e14
JJ
23392007-03-15 Eric Blake <ebb9@byu.net>
2340
2341 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
2342 (__smakebuf): Rename...
2343 (__smakebuf_r): to this.
2344 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
2345 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
2346 allocation, then rename...
2347 (__smakebuf_r): ...to this and fix reentrancy.
2348 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
2349 allocation, then rename...
2350 (__swsetup_r): ...to this and fix reentrancy.
2351 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
2352 * libc/stdio/refill.c (__srefill_r): Likewise.
2353 * libc/stdio/fclose.c (_fclose_r): Likewise.
2354 * libc/stdio/fread.c (_fread_r): Likewise.
2355 * libc/stdio/freopen.c (_freopen_r): Likewise.
2356 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2357 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2358 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
2359 failed asprintf allocation, and fix reentrancy.
2360 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
2361 as required by POSIX.
2362 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
2363 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
2364 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2365
99304ce6
JJ
23662007-03-12 Eric Blake <ebb9@byu.net>
2367
2368 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
2369 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
2370 allocation to caller.
2371 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
2372 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
2373 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2374
d9edc05f
JJ
23752007-02-23 Jeff Johnston <jjohnstn@redhat.com>
2376
2377 * libm/math/w_pow.c: Fix typo in documentation comment.
2378
59673dbb
JJ
23792007-02-21 Patrick Mansfield <patmans@us.ibm.com>
2380
2381 * libc/reent/timer.c: Removed (split into two new files).
2382 * libc/reent/timesr.c: New file for _times_r.
2383 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
2384 * reent/Makefile.in: Remove timer.c, add timesr.c and
2385 gettimeofdayr.c.
2386 * libc/reent/Makefile.am: Regenerate.
2387
547c5c61
JJ
23882007-02-20 Patrick Mansfield <patmans@us.ibm.com>
2389
2390 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
2391
3b7e017e
JJ
23922007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2393
2394 * libc/machine/spu/Makefile.am: Add new objects.
2395 * libc/machine/spu/Makefile.in: Regenerated.
2396 * libc/machine/spu/fiprintf.c: New file. Add implementation of
2397 integer-only version.
2398 * libc/machine/spu/fiscanf.c: Ditto.
2399 * libc/machine/spu/iprintf.c: Ditto.
2400 * libc/machine/spu/iscanf.c: Ditto.
2401 * libc/machine/spu/siprintf.c: Ditto.
2402 * libc/machine/spu/siscanf.c: Ditto.
2403 * libc/machine/spu/sniprintf.c: Ditto.
2404 * libc/machine/spu/vfiprintf.c: Ditto.
2405 * libc/machine/spu/vfiscanf.c: Ditto.
2406 * libc/machine/spu/viprintf.c: Ditto.
2407 * libc/machine/spu/viscanf.c: Ditto.
2408 * libc/machine/spu/vsiprintf.c: Ditto.
2409 * libc/machine/spu/vsiscanf.c: Ditto.
2410 * libc/machine/spu/vsniprintf.c: Ditto.
2411 * libc/machine/spu/fprintf.c: Add support for integer-only
2412 version.
2413 * libc/machine/spu/fscanf.c: Ditto.
2414 * libc/machine/spu/printf.c: Ditto.
2415 * libc/machine/spu/scanf.c: Ditto.
2416 * libc/machine/spu/snprintf.c: Ditto.
2417 * libc/machine/spu/sprintf.c: Ditto.
2418 * libc/machine/spu/sscanf.c: Ditto.
2419 * libc/machine/spu/vfprintf.c: Ditto.
2420 * libc/machine/spu/vfscanf.c: Ditto.
2421 * libc/machine/spu/vprintf.c: Ditto.
2422 * libc/machine/spu/vscanf.c: Ditto.
2423 * libc/machine/spu/vsnprintf.c: Ditto.
2424 * libc/machine/spu/vsprintf.c: Ditto.
2425 * libc/machine/spu/vsscanf.c: Ditto.
2426
960e5d8f
JJ
24272007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2428
2429 * libc/include/stdio.h: Add declaration for vsiprintf.
2430
958e329d
JJ
24312007-02-14 Patrick Mansfield <patmans@us.ibm.com>
2432
2433 Add a floating point environment for SPU (cell):
2434
2435 * configure.host: add libm_machine_dir=spu.
2436 * libm/machine/configure: Add spu.
2437 * libm/machine/configure.in: regenerated with spu added.
2438 * libc/machine/spu/include/fenv.h: New file.
2439 * libc/machine/spu/sys/fenv.h: Ditto.
2440 * libm/machine/spu/Makefile.am: Ditto.
2441 * libm/machine/spu/Makefile.in: Ditto.
2442 * libm/machine/spu/aclocal.m4: Ditto.
2443 * libm/machine/spu/configure: Ditto.
2444 * libm/machine/spu/configure.in: Ditto.
2445 * libm/machine/spu/fe_dfl_env.c: Ditto.
2446 * libm/machine/spu/feclearexcept.c: Ditto.
2447 * libm/machine/spu/fegetenv.c: Ditto.
2448 * libm/machine/spu/fegetexceptflag.c: Ditto.
2449 * libm/machine/spu/fegetround.c: Ditto.
2450 * libm/machine/spu/feholdexcept.c: Ditto.
2451 * libm/machine/spu/feraiseexcept.c: Ditto.
2452 * libm/machine/spu/fesetenv.c: Ditto.
2453 * libm/machine/spu/fesetexceptflag.c: Ditto.
2454 * libm/machine/spu/fesetround.c: Ditto.
2455 * libm/machine/spu/fetestexcept.c: Ditto.
2456 * libm/machine/spu/feupdateenv.c: Ditto.
2457 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2458 * libm/machine/spu/headers/fefpscr.h: Ditto.
2459 * libm/machine/spu/headers/fegetenv.h: Ditto.
2460 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2461 * libm/machine/spu/headers/fegetround.h: Ditto.
2462 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2463 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2464 * libm/machine/spu/headers/fesetenv.h: Ditto.
2465 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2466 * libm/machine/spu/headers/fesetround.h: Ditto.
2467 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2468 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2469
4f7e59f2
CV
24702007-02-14 Corinna Vinschen <corinna@vinschen.de>
2471
2472 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2473 Cygwin.
2474
d7e4c7a8
CV
24752007-02-08 Corinna Vinschen <corinna@vinschen.de>
2476
2477 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2478 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2479
0e37a2e6
CV
24802007-02-07 Corinna Vinschen <corinna@vinschen.de>
2481
2482 * libc/include/sys/features.h: Add definition of all supported
2483 _POSIX_xxx values for Cygwin.
2484 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2485 on Cygwin.
2486 (pthread_rwlockattr_t): Ditto.
2487 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2488 required by SUSv3. Unify formatting.
2489
6699fabb
JJ
24902007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2491
2492 * libc/include/sys/errno.h: Add ECANCELED.
2493
22a339e8 24942007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2495 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2496
2497 * libc/machine/spu/Makefile.am: Add objects.
2498 * libc/machine/spu/Makefile.in: Regenerated.
2499 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2500 implementation.
2501 * libc/machine/spu/snprintf.c: Ditto.
2502 * libc/machine/spu/sprintf.c: Ditto.
2503 * libc/machine/spu/sscanf.c: Ditto.
2504 * libc/machine/spu/remove.c: Ditto.
2505 * libc/machine/spu/rename.c: Ditto.
2506 * libc/machine/spu/tmpnam.c: Ditto.
2507 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2508 stdio stuffs.
2509 * libc/machine/spu/vsprintf.c: Ditto.
2510
7d592bb1 25112007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2512 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2513
2514 * configure.host: Enable SPU specific stdio directory.
2515 * libc/machine/spu/Makefile.am: Add objects.
2516 * libc/machine/spu/Makefile.in: Regenerated.
2517 * libc/machine/spu/c99ppe.h: Add macros and function
2518 declarations to initialize SPU specific stdio stuffs.
2519 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2520 specific FILE structures.
2521 * libc/machine/spu/perror.c: Add initialization routine of
2522 stdio stuffs.
2523 * libc/machine/spu/printf.c: Ditto.
2524 * libc/machine/spu/putchar.c: Ditto.
2525 * libc/machine/spu/puts.c: Ditto.
2526 * libc/machine/spu/vprintf.c: Ditto.
2527 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2528 implementation.
2529 * libc/machine/spu/feof.c: Ditto.
2530 * libc/machine/spu/ferror.c: Ditto.
2531 * libc/machine/spu/fileno.c: Ditto.
2532 * libc/machine/spu/fopen.c: Ditto.
2533 * libc/machine/spu/fclose.c: Ditto.
2534 * libc/machine/spu/freopen.c: Ditto.
2535 * libc/machine/spu/fflush.c: Ditto.
2536 * libc/machine/spu/fseek.c: Ditto.
2537 * libc/machine/spu/ftell.c: Ditto.
2538 * libc/machine/spu/rewind.c: Ditto.
2539 * libc/machine/spu/fgetpos.c: Ditto.
2540 * libc/machine/spu/fsetpos.c: Ditto.
2541 * libc/machine/spu/fread.c: Ditto.
2542 * libc/machine/spu/fwrite.c: Ditto.
2543 * libc/machine/spu/getc.c: Ditto.
2544 * libc/machine/spu/getchar.c: Ditto.
2545 * libc/machine/spu/gets.c: Ditto.
2546 * libc/machine/spu/fgetc.c: Ditto.
2547 * libc/machine/spu/fgets.c: Ditto.
2548 * libc/machine/spu/ungetc.c: Ditto.
2549 * libc/machine/spu/putc.c: Ditto.
2550 * libc/machine/spu/fputc.c: Ditto.
2551 * libc/machine/spu/fputs.c: Ditto.
2552 * libc/machine/spu/vfprintf.c: Ditto.
2553 * libc/machine/spu/vfscanf.c: Ditto.
2554 * libc/machine/spu/fprintf.c: Ditto.
2555 * libc/machine/spu/fscanf.c: Ditto.
2556 * libc/machine/spu/scanf.c: Ditto.
2557 * libc/machine/spu/vscanf.c: Ditto.
2558 * libc/machine/spu/setbuf.c: Ditto.
2559 * libc/machine/spu/setvbuf.c: Ditto.
2560 * libc/machine/spu/tmpfile.c: Ditto.
2561
25622007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2563
2564 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2565 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2566 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2567 structure.
2568 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2569 <sys/custom_file.h> to define custom FILE structure.
2570 * libc/include/sys/custom_file.h: New default header file
2571 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2572 * libc/machine/spu/sys/custom_file.h: New file.
2573
0733ae3b
JJ
25742007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2575
2576 * configure.host: Define stdio directory as a variable.
2577 * libc/Makefile.am: Define stdio related names
2578 as macros.
2579 * libc/configure.in: Add detection routine of stdio directory.
2580 * libc/Makefile.in: Regenerated.
2581 * libc/configure: Ditto.
2582 * libc/argz/Makefile.in: Ditto.
2583 * libc/ctype/Makefile.in: Ditto.
2584 * libc/errno/Makefile.in: Ditto.
2585 * libc/iconv/Makefile.in: Ditto.
2586 * libc/iconv/ccs/Makefile.in: Ditto.
2587 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2588 * libc/iconv/ces/Makefile.in: Ditto.
2589 * libc/iconv/lib/Makefile.in: Ditto.
2590 * libc/locale/Makefile.in: Ditto.
2591 * libc/misc/Makefile.in: Ditto.
2592 * libc/posix/Makefile.in: Ditto.
2593 * libc/reent/Makefile.in: Ditto.
2594 * libc/search/Makefile.in: Ditto.
2595 * libc/signal/Makefile.in: Ditto.
2596 * libc/stdio/Makefile.in: Ditto.
2597 * libc/stdio64/Makefile.in: Ditto.
2598 * libc/stdlib/Makefile.in: Ditto.
2599 * libc/string/Makefile.in: Ditto.
2600 * libc/syscalls/Makefile.in: Ditto.
2601 * libc/time/Makefile.in: Ditto.
2602 * libc/unix/Makefile.in: Ditto.
2603
cb7ba0e1
BE
26042007-01-30 Ben Elliston <bje@au.ibm.com>
2605
c7cd7849
BE
2606 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2607 fmt member.
2608 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2609 (printf): Pass fmt to va_start to suppress a warning.
2610
cb7ba0e1
BE
2611 * libc/search/hash.c (init_hash): Make `info' parameter const.
2612
f89533c1
JJ
26132007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2614
2615 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2616 * libc/machine/spu/vec_literal.h: Ditto.
2617 * libc/machine/spu/strncmp.c: Ditto.
2618
94b91791
JJ
26192007-01-15 Joseph Myers <joseph@codesourcery.com>
2620 Kazu Hirata <kazu@codesourcery.com>
2621
2622 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2623 for E500V1 and E500V2.
2624
26190be1
JJ
26252007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2626
2627 * libm/configure.in: Always configure machine directory.
2628 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2629 unconditionally.
2630 * libm/configure: Regenerated.
2631 * libm/Makefile.in: Ditto.
2632 * libm/*/Makefile.in: Ditto.
2633
8e0e8f40
JJ
26342007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2635
2636 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2637
9cd4a2de
JJ
26382007-01-02 Ben Elliston <bje@au.ibm.com>
2639
ba3ccd63
EB
2640 * doc/makedoc.c: Include <stdlib.h>.
2641 (malloc, realloc): Remove extern declarations.
9cd4a2de 2642
5fdec53f 26432006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2644
ba3ccd63
EB
2645 * NEWS: Update with 1.15.0 info.
2646 * README: Ditto.
2647 * acinclude.m4: Change version number to 1.15.0.
2648 * aclocal.m4: Regenerated.
2649 * configure: Ditto.
2650 * doc/aclocal.m4: Ditto.
2651 * doc/configure: Ditto.
2652 * libc/*/aclocal.m4: Ditto.
2653 * libc/*/configure: Ditto.
2654 * libc/libc.texinfo: Ditto.
2655 * libm/*/aclocal.m4: Ditto.
2656 * libm/*/configure: Ditto.
2657 * libm/libm.texinfo: Ditto.
2658 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2659
def943c1
JJ
26602006-12-18 Kazu Hirata <kazu@codesourcery.com>
2661
2662 Merge from newlib-csl-20060320-branch:
2663 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2664 Kazu Hirata <kazu@codesourcery.com>
2665
2666 * configure.host: Recognize fido.
2667
17c0c97d 26682006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2669
ba3ccd63
EB
2670 * libc/machine/spu/c99ppe.h: New file
2671 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2672 * libc/machine/spu/printf.c: New file
2673 * libc/machine/spu/putchar.c: New file
2674 * libc/machine/spu/puts.c: New file
2675 * libc/machine/spu/vprintf.c: New file
2676 * libc/machine/spu/vsnprintf.c: New file
2677 * libc/machine/spu/vsprintf.c: New file
2678 * libc/machine/spu/Makefile.am: Add new targets.
2679 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2680
78b7c6f8
JJ
26812006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2682
ba3ccd63
EB
2683 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2684 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2685
f5222560
JJ
26862006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2687
2688 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2689 2.6.5 version of Doug Lea's malloc which is the basis of
2690 this code.
2691
9b354d7f
JJ
26922006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2693
2694 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2695
4c0b8a07 26962006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2697 Eric Blake <ebb9@byu.net>
4c0b8a07 2698
ba3ccd63
EB
2699 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2700 read but unused data.
2701 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2702 even read streams may have side effects that must happen.
4c0b8a07 2703
dd52bb72
JJ
27042006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2705
ba3ccd63 2706 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2707 correctly.
2708
27092006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2710
ba3ccd63 2711 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2712
4e051d91
JJ
27132006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2714
ba3ccd63 2715 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2716 cell spu.
4e051d91 2717
489bb390
JJ
27182006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2719
2720 * libc/machine/spu/strncpy.c: Add padding.
2721
3e2d7a91
JJ
27222006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2723
17c0c97d 2724 * testsuite/newlib.string/tstring.c:
3e2d7a91 2725
0a2ef998
JJ
27262006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2727
2728 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2729 * libc/machine/spu/strrchr.c: Ditto.
2730
75190a8f
JJ
27312006-11-30 Lev Bishop <lev.bishop@gmail.com>
2732
2733 * libc/include/math.h: Allow C99 functions/macros to be
2734 defined for C++ even when __STRICT_ANSI__.
2735
7d794364
JJ
27362006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2737
2738 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2739 an asprintf-family buffer, make the default initial size 64.
2740
c4c7f139
JJ
27412006-11-29 Eric Blake <ebb9@byu.net>
2742
2743 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2744 asprintf, as well as quadratic realloc behavior.
2745
27462006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2747
2748 * libc/machine/spu/memset.c: Fix type of explicit cast.
2749 * libc/machine/spu/strncmp.c: Add explicit cast.
2750 * libc/machine/spu/strrchr.c: Ditto.
2751 * libc/machine/spu/strspn.c: Ditto.
2752
9bc5b618
JJ
27532006-11-22 Luca Barbato <lu_zero@gentoo.org>
2754
2755 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2756 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2757 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2758 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2759 * libc/machine/spu/strncat.c: Explicit cast.
2760 * libc/machine/spu/strncmp.c: Use spu_splats.
2761 * libc/machine/spu/strncpy.c: Explicit cast.
2762 * libc/machine/spu/strrchr.c: Use spu_splats.
2763 * libc/machine/spu/strspn.c: Use spu_splats.
2764
52077eb2
JJ
27652006-11-15 Till Straumann <strauman@slac.stanford.edu>
2766
2767 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2768
d1a2fe1a
JJ
27692006-11-14 Eric Blake <ebb9@byu.net>
2770
2771 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2772 (chclass): ' is a flag. j, t, and z are modifiers.
2773
9842c7e4 27742006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2775
2776 * configure.host: Add support for bfin.
2777 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2778 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2779 * libc/machine/bfin/aclocal.m4: Generate.
2780 * libc/machine/bfin/configure.in: New.
2781 * libc/machine/bfin/configure: Generate.
2782 * libc/machine/bfin/Makefile.am: New.
2783 * libc/machine/bfin/Makefile.in: Generate.
2784 * libc/machine/bfin/setjmp.S: New.
2785 * libc/machine/bfin/longjmp.S: New.
2786 * libc/machine/configure.in: Add bfin support.
2787 * libc/machine/configure: Generate.
2788
b1755fe7
CV
27892006-11-07 Corinna Vinschen <corinna@vinschen.de>
2790
2791 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2792 (_PC_FILESIZEBITS): Add definition.
2793 (_PC_2_SYMLINKS): Ditto.
2794 (_PC_SYMLINK_MAX): Ditto.
2795
d384d868
JJ
27962006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2797
2798 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2799 version optimized for the cell spu.
2800 * libc/machine/spu/memmove.c: Ditto.
2801 * libc/machine/spu/memset.c: Ditto.
2802 * libc/machine/spu/strcat.c: Ditto.
2803 * libc/machine/spu/strchr.c: Ditto.
2804 * libc/machine/spu/strcmp.c: Ditto.
2805 * libc/machine/spu/strcpy.c: Ditto.
2806 * libc/machine/spu/strcspn.c: Ditto.
2807 * libc/machine/spu/strlen.c: Ditto.
2808 * libc/machine/spu/strncat.c: Ditto.
2809 * libc/machine/spu/strncmp.c: Ditto.
2810 * libc/machine/spu/strncpy.c: Ditto.
2811 * libc/machine/spu/strpbrk.c: Ditto.
2812 * libc/machine/spu/strrchr.c: Ditto.
2813 * libc/machine/spu/strspn.c: Ditto.
2814 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2815 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2816 removing altivec style initializers.
2817 * libc/machine/spu/Makefile.am: Add new files to list so they build
2818 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2819
f29fdb2f
JJ
28202006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2821
2822 * README: Add a brief section on how to regenerate
2823 configuration files in newlib.
2824
884dc68f
JJ
28252006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2826
2827 * libc/include/math.h: (exception): Add a comment
2828 telling fixincludes that we handle C vs. C++ issue.
2829
f8fe93f9
JJ
28302006-10-11 Yang Tse <yangsita@gmail.com>
2831
6d441576
CV
2832 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2833 braced-groups.
f8fe93f9 2834
d95c5792
CV
28352006-10-11 Corinna Vinschen <corinna@vinschen.de>
2836
2837 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2838
e5e148d1
JJ
28392006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2840
2841 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2842 for clearerr, feof, or fileno.
17c0c97d
EB
2843 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2844 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2845 fake files, one for each standard stream.
2846 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2847 argument. For _REENT_SMALL, reset the file pointer if it
2848 matches one of the fake std stream pointers.
2849 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2850 argument.
2851 * libc/stdio/fclose.c: Ditto.
2852 * libc/stdio/feof.c: Ditto.
2853 * libc/stdio/ferror.c: Ditto.
2854 * libc/stdio/fflush.c: Ditto.
2855 * libc/stdio/fgetc.c: Ditto.
2856 * libc/stdio/fgets.c: Ditto.
2857 * libc/stdio/fileno.c: Ditto.
2858 * libc/stdio/findfp.c: Ditto.
2859 * libc/stdio/fputc.c: Ditto.
2860 * libc/stdio/fputs.c: Ditto.
2861 * libc/stdio/fread.c: Ditto.
2862 * libc/stdio/freopen.c: Ditto.
2863 * libc/stdio/fseek.c: Ditto.
2864 * libc/stdio/ftell.c: Ditto.
2865 * libc/stdio/fwrite.c: Ditto.
2866 * libc/stdio/getc.c: Ditto.
2867 * libc/stdio/getdelim.c: Ditto.
2868 * libc/stdio/putc.c: Ditto.
2869 * libc/stdio/refill.c: Ditto.
2870 * libc/stdio/setvbuf.c: Ditto.
2871 * libc/stdio/ungetc.c: Ditto.
2872 * libc/stdio/vfprintf.c: Ditto.
2873 * libc/stdio/vfscanf.c: Ditto.
2874 * libc/stdio/wbuf.c: Ditto.: Ditto.
2875 * libc/stdio/wsetup.c: Ditto.
2876 * libc/stdio64/freopen64.c: Ditto.
2877 * libc/stdio64/fseeko64.c: Ditto.
2878 * libc/stdio64/ftello64.c: Ditto.
2879 * libc/machine/powerpc/vfprintf.c: Ditto.
2880 * libc/machine/powerpc/vfscanf.c: Ditto.
2881
e83c3d0a
JJ
28822006-09-22 Paul Brook <paul@codesourcery.com>
2883
2884 * libc/include/sys/reent.h: Define and use __reent_assert.
2885
23754b33
JJ
28862006-09-13 Joel Sherrill <joel@oarcorp.com>
2887
2888 * libc/include/pthread.h: Add pthread barriers,
2889 rwlocks, and spinlocks. Change const to
2890 _CONST and prefix parameter names with
2891 an underscore.
2892 * libc/include/sys/types.h: Add id and attribute
2893 types for barriers, wrlocks, and spinlocks.
2894 * libc/include/sys/features.h: Enable barriers,
2895 wrlocks, and spinlocks for RTEMS.
2896
ba1bb1b3
JJ
28972006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2898
2899 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2900 supposed to be writable.
2901 * libm/common/s_lib_ver.c: Ditto.
2902
8f9f25da
JJ
29032006-09-12 Paul Brook <paul@codesourcery.com>
2904
2905 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2906
0324070e
JJ
29072006-09-07 Masaki Muranaka <monaka@monami-software.com>
2908
8f9f25da 2909
0324070e
JJ
2910 * libc/machine/xstormy16/Makefile.am:
2911 Add $(lpfx) prefix to LIBADD objects.
2912 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2913 * libc/machine/xstormy16/Makefile.in: Regenerated.
2914
d39002f9
JJ
29152006-09-06 Eric Blake <ebb9@byu.net>
2916
2917 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2918 't', and 'z' modifiers.
2919
c023e783
KH
29202006-09-01 Kazu Hirata <kazu@codesourcery.com>
2921
2922 Merge from newlib-csl-20060320-branch:
2923 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2924
2925 * configure.host: Tell it we have _rename and _system when
2926 building m68k-unknown-elf.
2927
85974265
JJ
29282006-08-29 Paul Brook <paul@codesourcery.com>
2929
2930 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2931
c1f828e5
JJ
29322006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2933
2934 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2935 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2936 This is needed to build all AVR and H8300 RTEMS multilib variants.
2937
b8e05321
JJ
29382006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2939
2940 * libc/machine/configure.in: Add configuration for SPU.
2941 * libc/machine/configure: Regenerated.
2942 * libc/machine/spu/memcpy.c: Include string.h.
2943
380d8ec4
JJ
29442006-08-22 Eric Blake <ebb9@byu.net>
2945
2946 * libc/posix/popen.c (popen): Don't close output end of pipe in
2947 child if stdout was closed on entry.
2948 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2949
a0922fcb
CF
29502006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2951
2952 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2953 line.
2954
84a79403
JJ
29552006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2956
17c0c97d
EB
2957 * libc/time/gmtime.c: Correct man page; clock is not a
2958 local time and no conversion occurs.
84a79403 2959
0d8de89c
JJ
29602006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2961
ba3ccd63
EB
2962 * configure.host (newlib_cflags) [spu]: Add special compiler
2963 options to reduce size.
0d8de89c 2964
734e8414
JJ
29652006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2966
2967 * configure.host: Add spu support.
2968 * libc/include/stdint.h: Ditto.
2969 * libc/include/machine/ieeefp.h: Ditto.
2970 * libc/include/machine/setjmp.h: Ditto.
2971 * libc/include/sys/config.h: Ditto.
2972 * libc/include/sys/types.h: Ditto.
2973 * libc/machine/spu/Makefile.am: New file.
2974 * libc/machine/spu/Makefile.in: Ditto.
2975 * libc/machine/spu/aclocal.m4: Ditto.
2976 * libc/machine/spu/configure: Ditto.
2977 * libc/machine/spu/configure.in: Ditto.
2978 * libc/machine/spu/memcpy.c: Ditto.
2979 * libc/machine/spu/setjmp.S: Ditto.
2980
079b45dc
JJ
29812006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2982
2983 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2984 properly.
2985
2ebf115d
JJ
29862006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2987
2988 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2989 generated .texi files.
2990 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2991 generated .texi files.
2992 * libc/Makefile.in: Regenerated.
2993 * libm/Makefile.in: Ditto.
2994
a1213494 29952006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2996 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2997
2998 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2999 define this to force _impure_ptr to live in the .sdata section.
3000
0a85d87f
JJ
30012006-07-31 Jeff Johnston <jjohnstn@redhat.com>
3002
3003 * acinclude.m4: Check for readelf tool.
3004 * configure.in: Use ${READELF} instead of hard-coding.
3005 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3006
17c0c97d 30072006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
3008
3009 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
3010 to avoid conflict with newer glibc's revision of mremap.
3011
17c0c97d 30122006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 3013
17c0c97d 3014 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
3015 floating-point format support. Also redefine
3016 dword0 and dword1 macros.
3017 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
3018 to prevent setting dword1 which is an rvalue only.
3019
17c0c97d 30202006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
3021
3022 * libc/stdlib/Makefile.am: Add new gdtoa routines.
3023 * libc/stdlib/Makefile.in: Regenerated.
3024 * libc/stdlib/gd_qnan.h: New file.
3025 * libc/stdlib/gdtoa-gethex.c: Ditto.
3026 * libc/stdlib/gdtoa-hexnan.c: Ditto.
3027 * libc/stdlib/gdtoa.h: Ditto.
3028 * libc/stdlib/mprec.c: Add new helper routines needed by
3029 the new gdtoa code.
3030 * libc/stdlib/mprec.h: Integrate some defines and prototypes
3031 used by gdtoa routines here.
3032 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
3033 which adds C99 support such as nan, inf, and hexadecimal input
3034 format.
3035
c8956c6f
JJ
30362006-06-15 Corinna Vinschen <corinna@vinschen.de>
3037
3038 * libc/include/stdio.h (__sgetc_r): Fix typo.
3039 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
3040 * libc/stdio/rget.c (__srbuf): Reinstantiate.
3041 * libc/stdio/wbuf.c (__swbuf): Ditto.
3042
17c0c97d 30432006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
3044
3045 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 3046 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
3047 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
3048 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
3049 new reentrant I/O functions/macros for reading/writing.
3050 * libc/stdio/fgets.c: Ditto.
3051 * libc/stdio/fputc.c: Ditto.
3052 * libc/stdio/fputs.c: Ditto.
3053 * libc/stdio/fread.c: Ditto.
3054 * libc/stdio/fseek.c: Ditto.
3055 * libc/stdio64/fseeko64.c: Ditto.
3056 * libc/stdio/fwrite.c: Ditto.
3057 * libc/stdio/getc.c: Ditto.
3058 * libc/stdio/getc_u.c: Ditto.
3059 * libc/stdio/getchar.c: Ditto.
3060 * libc/stdio/getchar_u.c: Ditto.
3061 * libc/stdio/putc.c: Ditto.
3062 * libc/stdio/putc_u.c: Ditto.
3063 * libc/stdio/putchar.c: Ditto.
3064 * libc/stdio/puts.c: Ditto.
3065 * libc/stdio/vfprintf.c: Ditto.
3066 * libc/stdio/vfscanf.c: Ditto.
3067 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
3068 Change all previous callers of __sfvwrite. Set errno to EBADF and
3069 set error flag on if attempt is made to write to file that does not
3070 allow writing.
3071 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
3072 * libc/stdio/local.h: Ditto.
3073 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
3074 Set errno to EBADF and the error flag on if attempt is made to
3075 read unreadable file. Change all previous callers of __srefill.
3076 * libc/stdio/rget.c
3077 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
3078 all previous callers of __swbuf.
3079 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
3080 huge value macros are already defined correctly for i386 by <math.h>.
3081
c4cac45f
JJ
30822006-06-13 Sandra Loosemore <sandra@codesourcery.com>
3083
3084 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
3085 Make them do something useful in the ARM_RDI_MONITOR case.
3086
b5b6cbd8
JJ
30872006-06-07 Fred Fish <fnf@specifix.com>
3088
3089 * libc/search/hash_bigkey.c (MIN,MAX): Remove
3090 defines that are already supplied by <sys/param.h>.
3091
3cc3705c
JJ
30922006-06-07 Fred Fish <fnf@specifix.com>
3093
3094 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
3095
512c2879
JJ
30962006-06-05 Shaun Jackman <sjackman@gmail.com>
3097
3098 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
3099 usleep.c.
3100 * libc/posix/Makefile.in: Regenerate.
3101 * libc/posix/sleep.c: New file.
3102 * libc/posix/usleep.c: Ditto.
3103
6ea486a6
JJ
31042006-06-05 Shaun Jackman <sjackman@gmail.com>
3105
9eedc2e6 3106 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
3107 -DABORT_PROVIDED flag.
3108 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
3109 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
3110
2e7c576a
JJ
31112006-06-05 Jeff Johnston <jjohnstn@redhat.com>
3112
3113 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
3114 * Makefile.in: Regenerated.
3115 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
3116 extraneous CFLAGS reference now that CCASFLAGS are being extended
3117 properly via multilib.
3118 * libc/machine/sh/Makefile.in: Regenerated.
3119
3feae7b1
JJ
31202006-06-02 Shaun Jackman <sjackman@gmail.com>
3121
3122 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
3123 sigismember.
3124
f383bda5
JJ
31252006-05-23 Jeff Johnston <jjohnstn@redhat.com>
3126
3127 * libc/misc/dprintf.c: Removed.
3128 * libc/misc/__dprintf.c: Renamed from dprintf.c.
3129 * libc/misc/Makefile.am: Changed appropriately for rename.
3130 * libc/misc/Makefile.in: Regenerated.
3131
8eeee74e
JJ
31322006-05-23 Jeff Johnston <jjohnstn@redhat.com>
3133
3134 * libc/include/stdio.h: Protect dprintf prototype
3135 with #ifndef dprintf so as to not interfere with
3136 historical code defining their own dprintf macro.
3137
dc7798c6
JJ
31382006-05-18 Jeff Johnston <jjohnstn@redhat.com>
3139
3140 * libc/include/stdio.h: Add prototypes for fiscanf,
3141 iscanf, and siscanf.
3142
e1b888df
JR
31432006-05-11 J"orn Rennecke <joern.rennecke@st.com>
3144
3145 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
3146 (DEF_NEWLIB_VERSION).
3147 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
3148 * configure: Regenerate.
3149
7f32c41d
JJ
31502006-05-09 Jeff Johnston <jjohnstn@redhat.com>
3151
3152 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
3153 lib_a_SOURCES.
3154 * libc/ctype/Makefile.in: Regenerated.
3155
bac01fc8
JJ
31562006-05-09 Kazu Hirata <kazu@codesourcery.com>
3157
3158 * libc/machine/arm/Makefile.am: Fix a typo.
3159 * libc/machine/arm/Makefile.in: Regenerated.
3160
6c47d5b7
JR
31612006-05-08 J"orn Rennecke <joern.rennecke@st.com>
3162
3163 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
3164 * libc/machine/sh/Makefile.in: Regenerate.
3165
7cc7e374
JR
31662006-05-03 J"orn Rennecke <joern.rennecke@st.com>
3167
3168 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
3169 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
3170
a8b02d46
JJ
31712006-05-02 Jeff Johnston <jjohnstn@redhat.com>
3172
3173 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
3174 .s.
3175 * libc/sys/sysnec810/Makefile.in: Regenerated.
3176 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
3177 * libc/sys/sysnec810/io.S: Ditto.
3178 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
3179 * libc/sys/sysnec810/io.s: Ditto.
3180
8f8f1db1
JJ
31812006-05-01 Jeff Johnston <jjohnstn@redhat.com>
3182
3183 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
3184 be specified instead of object, do so.
3185 * libc/ctype/Makefile.am: Ditto.
3186 * libc/iconv/ccs/Makefile.am: Ditto.
3187 * libc/iconv/ces/Makefile.am: Ditto.
3188 * libc/iconv/lib/Makefile.am: Ditto.
3189 * libc/locale/Makefile.am: Ditto.
3190 * libc/posix/Makefile.am: Ditto.
3191 * libc/reent/Makefile.am: Ditto.
3192 * libc/search/Makefile.am: Ditto.
3193 * libc/stdio/Makefile.am: Ditto.
3194 * libc/stdio64/Makefile.am: Ditto.
3195 * libc/stdlib/Makefile.am: Ditto.
3196 * libc/string/Makefile.am: Ditto.
3197 * libc/syscalls/Makefile.am: Ditto.
3198 * libc/unix/Makefile.am: Ditto.
3199 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
3200 prefix added automatically. Any specified rules must use $(lpfx) for
3201 object file names.
3202 * libc/machine/arm/Makefile.am: Ditto.
3203 * libc/machine/cris/Makefile.am: Ditto.
3204 * libc/machine/crx/Makefile.am: Ditto.
3205 * libc/machine/d10v/Makefile.am: Ditto.
3206 * libc/machine/d30v/Makefile.am: Ditto.
3207 * libc/machine/fr30/Makefile.am: Ditto.
3208 * libc/machine/frv/Makefile.am: Ditto.
3209 * libc/machine/h8300/Makefile.am: Ditto.
3210 * libc/machine/h8500/Makefile.am: Ditto.
3211 * libc/machine/hppa/Makefile.am: Ditto.
3212 * libc/machine/i386/Makefile.am: Ditto.
3213 * libc/machine/i960/Makefile.am: Ditto.
3214 * libc/machine/iq2000/Makefile.am: Ditto.
3215 * libc/machine/m32c/Makefile.am: Ditto.
3216 * libc/machine/m32r/Makefile.am: Ditto.
3217 * libc/machine/m68hc11/Makefile.am: Ditto.
3218 * libc/machine/m68k/Makefile.am: Ditto.
3219 * libc/machine/m88k/Makefile.am: Ditto.
3220 * libc/machine/mips/Makefile.am: Ditto.
3221 * libc/machine/mn10200/Makefile.am: Ditto.
3222 * libc/machine/mn10300/Makefile.am: Ditto.
3223 * libc/machine/mt/Makefile.am: Ditto.
3224 * libc/machine/necv70/Makefile.am: Ditto.
3225 * libc/machine/powerpc/Makefile.am: Ditto.
3226 * libc/machine/sh/Makefile.am: Ditto.
3227 * libc/machine/sh/Makefile.in: Ditto.
3228 * libc/machine/sparc/Makefile.am: Ditto.
3229 * libc/machine/tic4x/Makefile.am: Ditto.
3230 * libc/machine/tic80/Makefile.am: Ditto.
3231 * libc/machine/v850/Makefile.am: Ditto.
3232 * libc/machine/w65/Makefile.am: Ditto.
3233 * libc/machine/xscale/Makefile.am: Ditto.
3234 * libc/machine/xstormy16/Makefile.am: Ditto.
3235 * libc/machine/z8k/Makefile.am: Ditto.
3236 * libc/sys/a29khif/Makefile.am: Ditto.
3237 * libc/sys/arm/Makefile.am: Ditto.
3238 * libc/sys/d10v/Makefile.am: Ditto.
3239 * libc/sys/h8300hms/Makefile.am: Ditto.
3240 * libc/sys/h8500hms/Makefile.am: Ditto.
3241 * libc/sys/linux/Makefile.am: Ditto.
3242 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3243 * libc/sys/linux/net/Makefile.am: Ditto.
3244 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3245 * libc/sys/m88kbug/Makefile.am: Ditto.
3246 * libc/sys/mmixware/Makefile.am: Ditto.
3247 * libc/sys/rdos/Makefile.am: Ditto.
3248 * libc/sys/rtems/Makefile.am: Ditto.
3249 * libc/sys/sh/Makefile.am: Ditto.
3250 * libc/sys/sun4/Makefile.am: Ditto.
3251 * libc/sys/sysmec/Makefile.am: Ditto.
3252 * libc/sys/sysnec810/Makefile.am: Ditto.
3253 * libc/sys/sysnecv850/Makefile.am: Ditto.
3254 * libc/sys/sysvi386/Makefile.am: Ditto.
3255 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3256 * libc/sys/tic80/Makefile.am: Ditto.
3257 * libc/sys/w65/Makefile.am: Ditto.
3258 * libc/sys/z8ksim/Makefile.am: Ditto.
3259 * libc/machine/necv70/fastmath.S: Renamed from .s file.
3260 * libc/machine/necv70/setjmp.S: Ditto.
3261 * libc/machine/necv70/fastmath.s: Removed.
3262 * libc/machine/necv70/setjmp.s: Ditto.
3263 * libc/machine/w65/*.S: New files renamed from .s files.
3264 * libc/machine/w65/*.s: Renamed and removed.
3265 * libc/sys/a29khif/*.S: New files renamed from .s files.
3266 * libc/sys/a29khif/*.s: Renamed and removed.
3267 * libc/sys/sysvi386/*.S: New files renamed from .s files.
3268 * libc/sys/sysvi386/*.s: Renamed and removed.
3269 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
3270 * libc/sys/sysvnecv70/*.s: Renamed and removed.
3271 * libc/*Makefile.in: Regenerated as appropriate.
3272
b34db572
DD
32732006-04-24 DJ Delorie <dj@redhat.com>
3274
3275 * libc/machine/sh/configure.in: Avoid link tests.
3276 * libc/machine/sh/configure: Regenerate.
3277
e163e3e1
JJ
32782006-04-18 Jeff Johnston <jjohnstn@redhat.com>
3279
3280 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
3281 (sigaddset, sigemptyset): Add return code.
3282
7ad96224
JJ
32832006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
3284
ba3ccd63
EB
3285 * acinclude.m4: New _NEWLIB_VERSION.
3286 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
3287 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
3288 Use new form of AC_INIT_AUTOMAKE.
3289 * configure.in: AC_PREREQ(2.59).
3290 Use autoconf-2.5.x version of AC_INIT.
3291 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
3292 autoconf-2.13's AC_OUTPUT.
3293 * libm/configure.in: Ditto.
3294 * libm/machine/configure.in: Ditto.
3295 * libm/machine/i386/configure.in: Ditto.
3296 * libc/configure.in: Ditto.
3297 * libc/machine/a29k/configure.in: Ditto.
3298 * libc/machine/arm/configure.in: Ditto.
3299 * libc/machine/configure.in: Ditto.
3300 * libc/machine/mn10300/configure.in: Ditto.
3301 * libc/machine/powerpc/configure.in: Ditto.
3302 * libc/machine/z8k/configure.in: Ditto.
3303 * libc/machine/h8300/configure.in: Ditto.
3304 * libc/machine/mips/configure.in: Ditto.
3305 * libc/machine/crx/configure.in: Ditto.
3306 * libc/machine/m68hc11/configure.in: Ditto.
3307 * libc/machine/h8500/configure.in: Ditto.
3308 * libc/machine/xscale/configure.in: Ditto.
3309 * libc/machine/d10v/configure.in: Ditto.
3310 * libc/machine/fr30/configure.in: Ditto.
3311 * libc/machine/sh/configure.in: Ditto.
3312 * libc/machine/tic80/configure.in: Ditto.
3313 * libc/machine/m32r/configure.in: Ditto.
3314 * libc/machine/xstormy16/configure.in: Ditto.
3315 * libc/machine/i386/configure.in: Ditto.
3316 * libc/machine/d30v/configure.in: Ditto.
3317 * libc/machine/mn10200/configure.in: Ditto.
3318 * libc/machine/frv/configure.in: Ditto.
3319 * libc/machine/mt/configure.in: Ditto.
3320 * libc/machine/i960/configure.in: Ditto.
3321 * libc/machine/v850/configure.in: Ditto.
3322 * libc/machine/necv70/configure.in: Ditto.
3323 * libc/machine/tic4x/configure.in: Ditto.
3324 * libc/machine/cris/configure.in: Ditto.
3325 * libc/machine/m68k/configure.in: Ditto.
3326 * libc/machine/m32c/configure.in: Ditto.
3327 * libc/machine/hppa/configure.in: Ditto.
3328 * libc/machine/w65/configure.in: Ditto.
3329 * libc/machine/iq2000/configure.in: Ditto.
3330 * libc/machine/sparc/configure.in: Ditto.
3331 * libc/machine/m88k/configure.in: Ditto.
3332 * libc/sys/linux/configure.in: Ditto.
3333 * libc/sys/linux/machine/configure.in: Ditto.
3334 * libc/sys/linux/machine/i386/configure.in: Ditto.
3335 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3336 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3337 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3338 * libc/sys/arm/configure.in: Ditto.
3339 * libc/sys/configure.in: Ditto.
3340 * libc/sys/decstation/configure.in: Ditto.
3341 * libc/sys/a29khif/configure.in: Ditto.
3342 * libc/sys/sysnecv850/configure.in: Ditto.
3343 * libc/sys/d10v/configure.in: Ditto.
3344 * libc/sys/netware/configure.in: Ditto.
3345 * libc/sys/mmixware/configure.in: Ditto.
3346 * libc/sys/h8500hms/configure.in: Ditto.
3347 * libc/sys/sh/configure.in: Ditto.
3348 * libc/sys/tic80/configure.in: Ditto.
3349 * libc/sys/rdos/configure.in: Ditto.
3350 * libc/sys/sysmec/configure.in: Ditto.
3351 * libc/sys/sysvi386/configure.in: Ditto.
3352 * libc/sys/h8300hms/configure.in: Ditto.
3353 * libc/sys/sparc64/configure.in: Ditto.
3354 * libc/sys/arc/configure.in: Ditto.
3355 * libc/sys/sysnec810/configure.in: Ditto.
3356 * libc/sys/m88kbug/configure.in: Ditto.
3357 * libc/sys/sysvnecv70/configure.in: Ditto.
3358 * libc/sys/z8ksim/configure.in: Ditto.
3359 * libc/sys/rtems/configure.in: Ditto.
3360 * libc/sys/w65/configure.in: Ditto.
3361 * libc/sys/sun4/configure.in: Ditto.
3362 * doc/configure.in: Ditto.
3363 * iconvdata/configure.in: Ditto.
3364 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 3365
34e66679
JJ
33662006-04-11 Jeff Johnston <jjohnstn@redhat.com>
3367
3368 * acinclude.m4: Properly add square brackets for
3369 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
3370 macros no longer available. Add LIB_AM_PROG_AS to
3371 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
3372 macro. Substitute lpfx (library object prefix).
3373 * configure.host: Set lpfx depending on whether
3374 libtool is used or not.
3375 * configure.in: Individually specify libc and libm
3376 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
3377 necessary.
3378 * Makefile.am: Use $(lpfx) to get object names for
3379 math-library functions that should also be in libc.
3380 * libc/machine/configure.in: Use case statement to determine
3381 AC_CONFIG_SUBDIRS statement.
3382 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3383 * libc/sys/linux/machine/configure.in: Ditto.
3384 * libc/sys/configure.in: Ditto.
3385 * libm/machine/configure.in: Ditto.
3386 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
3387 * libm/configure.in: Add AM_CONDITIONAL statement
3388 for HAVE_LIBM_MACHINE_DIR.
3389 * libc/machine/a29k/Makefile.am: Modified to work with
3390 latest automake. Change includes setting AM_CCASFLAGS
3391 so building .S files will properly pick up flags used
3392 to build C files.
3393 * libc/machine/arm/Makefile.am: Ditto.
3394 * libc/machine/crx/Makefile.am: Ditto.
3395 * libc/machine/d10v/Makefile.am: Ditto.
3396 * libc/machine/d30v/Makefile.am: Ditto.
3397 * libc/machine/fr30/Makefile.am: Ditto.
3398 * libc/machine/frv/Makefile.am: Ditto.
3399 * libc/machine/h8300/Makefile.am: Ditto.
3400 * libc/machine/h8500/Makefile.am: Ditto.
3401 * libc/machine/hppa/Makefile.am: Ditto.
3402 * libc/machine/i386/Makefile.am: Ditto.
3403 * libc/machine/iq2000/Makefile.am: Ditto.
3404 * libc/machine/m32c/Makefile.am: Ditto.
3405 * libc/machine/m32r/Makefile.am: Ditto.
3406 * libc/machine/m68hc11/Makefile.am: Ditto.
3407 * libc/machine/m68k/Makefile.am: Ditto.
3408 * libc/machine/m88k/Makefile.am: Ditto.
3409 * libc/machine/mips/Makefile.am: Ditto.
3410 * libc/machine/mn10200/Makefile.am: Ditto.
3411 * libc/machine/mn10300/Makefile.am: Ditto.
3412 * libc/machine/mt/Makefile.am: Ditto.
3413 * libc/machine/necv70/Makefile.am: Ditto.
3414 * libc/machine/powerpc/Makefile.am: Ditto.
3415 * libc/machine/sh/Makefile.am: Ditto.
3416 * libc/machine/sparc/Makefile.am: Ditto.
3417 * libc/machine/tic4x/Makefile.am: Ditto.
3418 * libc/machine/tic80/Makefile.am: Ditto.
3419 * libc/machine/v850/Makefile.am: Ditto.
3420 * libc/machine/w65/Makefile.am: Ditto.
3421 * libc/machine/xscale/Makefile.am: Ditto.
3422 * libc/machine/xstormy16/Makefile.am: Ditto.
3423 * libc/machine/z8k/Makefile.am: Ditto.
3424 * libc/sys/a29khif/Makefile.am: Ditto.
3425 * libc/sys/arc/Makefile.am: Ditto.
3426 * libc/sys/arm/Makefile.am: Ditto.
3427 * libc/sys/d10v/Makefile.am: Ditto.
3428 * libc/sys/decstation/Makefile.am: Ditto.
3429 * libc/sys/h8300hms/Makefile.am: Ditto.
3430 * libc/sys/h8500hms/Makefile.am: Ditto.
3431 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3432 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3433 * libc/sys/m88kbug/Makefile.am: Ditto.
3434 * libc/sys/mmixware/Makefile.am: Ditto.
3435 * libc/sys/netware/Makefile.am: Ditto.
3436 * libc/sys/rdos/Makefile.am: Ditto.
3437 * libc/sys/rtems/Makefile.am: Ditto.
3438 * libc/sys/sh/Makefile.am: Ditto.
3439 * libc/sys/sparc64/Makefile.am: Ditto.
3440 * libc/sys/sysmec/Makefile.am: Ditto.
3441 * libc/sys/sysnec810/Makefile.am: Ditto.
3442 * libc/sys/sysnecv850/Makefile.am: Ditto.
3443 * libc/sys/sysvi386/Makefile.am: Ditto.
3444 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3445 * libc/sys/tic80/Makefile.am: Ditto.
3446 * libc/sys/w65/Makefile.am: Ditto.
3447 * libc/sys/z8ksim/Makefile.am: Ditto.
3448 * libm/machine/i386/Makefile.am: Ditto.
3449 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3450 trap.S so that automake will generate a .S.o suffix rule.
3451 * libc/argz/Makefile.am: Modified to work with
3452 latest automake. Change includes adding lib_a_CFLAGS
3453 so automake doesn't complain about libtool and non-libtool
3454 libraries sharing objects.
3455 * libc/ctype/Makefile.am: Ditto.
3456 * libc/errno/Makefile.am: Ditto.
3457 * libc/iconv/ccs/Makefile.am: Ditto.
3458 * libc/iconv/ces/Makefile.am: Ditto.
3459 * libc/iconv/lib/Makefile.am: Ditto.
3460 * libc/locale/Makefile.am: Ditto.
3461 * libc/misc/Makefile.am: Ditto.
3462 * libc/posix/Makefile.am: Ditto.
3463 * libc/reent/Makefile.am: Ditto.
3464 * libc/search/Makefile.am: Ditto.
3465 * libc/signal/Makefile.am: Ditto.
3466 * libc/stdio/Makefile.am: Ditto.
3467 * libc/stdio64/Makefile.am: Ditto.
3468 * libc/stdlib/Makefile.am: Ditto.
3469 * libc/string/Makefile.am: Ditto.
3470 * libc/sys/linux/Makefile.am: Ditto.
3471 * libc/sys/linux/argp/Makefile.am: Ditto.
3472 * libc/sys/linux/cmath/Makefile.am: Ditto.
3473 * libc/sys/linux/dl/Makefile.am: Ditto.
3474 * libc/sys/linux/iconv/Makefile.am: Ditto.
3475 * libc/sys/linux/intl/Makefile.am: Ditto.
3476 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3477 * libc/sys/linux/net/Makefile.am: Ditto.
3478 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3479 * libc/syscalls/Makefile.am: Ditto.
3480 * libc/time/Makefile.am: Ditto.
3481 * libc/unix/Makefile.am: Ditto.
3482 * libm/Makefile.am: Ditto.
3483 * libm/common/Makefile.am: Ditto.
3484 * libm/math/Makefile.am: Ditto.
3485 * libm/mathfp/Makefile.am: Ditto.
3486 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3487
b577ecdf
JJ
34882006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3489
3490 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3491 anymore. Assume there is a gettimeofday syscall.
3492
ef79d97d
JJ
34932006-03-29 Shaun Jackman <sjackman@gmail.com>
3494
3495 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3496 for the declaration of n_long.
3497
15a1b33c
JJ
34982006-03-29 Shaun Jackman <sjackman@gmail.com>
3499
3500 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3501 struct sockaddr.
3502 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3503 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3504 (IFF_NOTRAILERS): New define.
3505 (struct ifreq): Add ifru_netmask.
3506 (ifr_netmask): New define.
3507
bcc4ff05
JJ
35082006-03-29 Shaun Jackman <sjackman@gmail.com>
3509
3510 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3511 match sys/ioctl.h.
3512
8fed3e2e
JJ
35132006-03-29 Shaun Jackman <sjackman@gmail.com>
3514
17c0c97d 3515 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3516 linux-newlib libc implementations.
3517
6507c097
JJ
35182006-03-29 Eric Blake <ebb9@byu.net>
3519
3520 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3521 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3522
fac690be
JJ
35232006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3524
3525 * libc/sys/linux/io.c (__mknod): Fix declaration of
3526 syscall to pass a dev_t as third argument rather than
3527 a pointer to dev_t.
3528
9e443adb
JJ
35292006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3530
3531 * libc/sys/linux/net/name6.c: Fix struct references.
3532
ce93dfe4
MM
35332006-03-22 Mark Mitchell <mark@codesourcery.com>
3534
3535 * configure.host: Allow hosts to set the default
3536 newlib_atexit_dynamic_alloc value.
3537 * configure.in: Likewise.
3538 * configure: Regenerated.
3539
3078fb4f
MM
35402006-03-20 Mark Mitchell <mark@codesourcery.com>
3541
3542 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3543 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3544 option.
3078fb4f
MM
3545 * configure: Regenerated.
3546 * newlib.hin: Regenerated.
3547 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3548 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3549 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3550 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3551
9d5cff74
JJ
35522006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3553
3554 * libc/sys/linux/linuxthreads/config.h: Remove definition
3555 of UINT32_C.
3556
490cfb83
JJ
35572006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3558
3559 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3560 for a string I/O file that isn't using the asprintf family.
3561
ce10f178
JJ
35622006-03-07 Eric Blake <ebb9@byu.net>
3563
3564 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3565 filename, allow read-only or write-only FILE atop O_RDWR file
3566 descriptor.
3567 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3568
ddf12e6b
JJ
35692006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3570
3571 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3572 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3573
cb197581
JJ
35742006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3575
3576 * libm/math/math.tex: Fix reference to sisnan.def which
3577 is now in common subdirectory.
3578 * libm/mathfp/mathfp.tex: Ditto.
3579
e48682cf
JJ
35802006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3581
17c0c97d 3582 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3583 s_isnand, and sf_isnanf object files.
3584 * Makefile.in: Regenerated.
3585 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3586 conflict if <math.h> has previously been included.
3587 * libc/include/math.h
bc88ea65
JJ
3588 * libc/include/math.h: Make isnan and isinf macros to
3589 conform to C99.
3590 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3591 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3592 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3593 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3594 * libm/common/Makefile.in: Regenerated.
3595 * libm/common/s_isinfd.c: New file.
3596 * libm/common/s_isnand.c: Ditto.
3597 * libm/common/sf_isinff.c: Ditto.
3598 * libm/common/sf_isnanf.c: Ditto.
3599 * libm/common/s_isinf.c: Moved from libm/math directory.
3600 * libm/common/s_isnan.c: Ditto.
3601 * libm/common/sf_isinf.c: Ditto.
3602 * libm/common/sf_isnan.c: Ditto.
3603 * libm/math/Makefile.am: Remove isinf and isnan family functions
3604 which have been moved into common directory.
3605 * libm/mathfp/Makefile.am: Ditto.
3606 * libm/math/Makefile.in: Regenerated.
3607 * libm/mathfp/Makefile.in: Ditto.
3608 * libm/math/s_isinf.c: Removed.
3609 * libm/math/s_isnan.c: Ditto.
3610 * libm/math/sf_isinf.c: Ditto.
3611 * libm/math/sf_isnan.c: Ditto.
3612 * libm/mathfp/s_isinf.c: Ditto.
3613 * libm/mathfp/s_isnan.c: Ditto.
3614 * libm/mathfp/sf_isinf.c: Ditto.
3615 * libm/mathfp/sf_isnan.c: Ditto.
3616
99db626d
JJ
36172006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3620 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3621 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3622 seek, turn off the __SNPT no-optimization flag.
3623
49103e2b
JJ
36242006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3625
3626 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3627 will be defined.
3628 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3629 <features.h> to preset special flags.
3630
680e0f1f
CV
36312006-02-15 Corinna Vinschen <corinna@vinschen.de>
3632
3633 * libc/include/sys/time.h (struct timeval): Change member types
3634 according to SUSv3.
3635 * libc/include/sys/types.h (useconds_t): Change to unsigned
3636 according to SUSv3.
3637 (suseconds_t): Define type.
3638
d6593503
JJ
36392006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3640 David Carne <davidcarne@gmail.com>
3641
3642 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3643 instead of strlen to determine number of bytes to copy.
3644 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3645 before looking at storage location.
3646
9bbe6d5d
JJ
36472006-02-07 Paul Brook <paul@codesourcery.com>
3648
3649 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3650 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3651 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3652 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3653 * libc/sys/arm/trap.S: Disable for Thumb-2.
3654
d968b3c8
JJ
36552006-01-31 Leif Ekblad <leif@rdos.net>
3656
3657 * configure.host: RDOS support added
3658 * libc/include/sys/config.h: Ditto.
3659 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3660 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3661 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3662 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3663 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3664 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3665 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3666 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3667 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3668 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3669 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3670 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3671 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3672 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3673 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3674 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3675 * libc/sys/rdos/write.c: Ditto.
3676
3acaaf54
JJ
36772006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3678
3679 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3680 so as not to define PACKAGE and VERSION in newlib.h.
3681 * aclocal.m4: Regenerated.
3682 * configure: Ditto.
3683 * newlib.hin: Ditto.
3684
54abc854
JJ
36852006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3686
3687 * acconfig.h: New file to generate newlib.hin from.
3688 * newlib.hin: Regenerated.
3689 * stamp-h.in: Regenerated.
3690 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3691 called automatically.
3692 * Makefile.in: Regenerated.
3693 * acinclude.m4: Add proper comment for hack in previous change.
3694 * aclocal.m4 */aclocal.m4: Regenerated.
3695 * configure */configure: Regenerated.
3696
33c9cfbd
JJ
36972006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3698
3699 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3700 from being set to "../".
3701 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3702 * aclocal.m4: Regenerated.
3703 * configure: Ditto.
3704 * Makefile.in: Ditto.
3705 * doc/aclocal.m4: Ditto.
3706 * doc/configure: Ditto.
3707 * iconvdata/aclocal.m4: Ditto.
3708 * iconvdata/configure: Ditto.
3709 * libc/*/aclocal.m4: Ditto.
3710 * libc/*/configure: Ditto.
3711 * libc/libc.texinfo: Ditto.
3712 * libm/*/aclocal.m4: Ditto.
3713 * libm/*/configure: Ditto.
3714
dea958bc
JJ
37152006-01-10 Eric Blake <ebb9@byu.net>
3716
3717 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3718 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3719
216633f7
JJ
37202006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3721
3722 * libm/mathfp/s_frexp.c: Check for special values on
3723 the original input, not the manipulated output value.
3724 * libm/mathfp/sf_frexp.c: Ditto.
3725 * libm/mathfp/s_atangent.c: Don't use local value branch
3726 when checking for quadrant.
3727 * libm/mathfp/sf_atangent.c: Ditto.
3728
64ae8ab5
JJ
37292006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3730
3731 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3732 * libc/stdio64/freopen64.c: Ditto.
3733
0da7297e
JJ
37342006-01-09 Eric Blake <ebb9@byu.net>
3735
3736 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3737 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3738
a37aaf88
JJ
37392006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3740
3741 * libc/sys/linux/include/getopt.h: Add macros needed by
3742 new version of getopt.c in libc/stdlib.
3743
791c9bda
JJ
37442006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3745
3746 * libc/stdlib/getopt.c: Replaced with version
3747 that adds getopt_long and getopt_long_only support.
3748 * libc/include/getopt.h: New file.
3749
0217078f
JJ
37502005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3751
3752 * NEWS: Update with 1.14.0 info.
3753 * README: Ditto.
3754 * acinclude.m4: Change version number to 1.14.0.
3755 * aclocal.m4: Regenerated.
3756 * configure: Ditto.
3757 * doc/aclocal.m4: Ditto.
3758 * doc/configure: Ditto.
3759 * libc/*/aclocal.m4: Ditto.
3760 * libc/*/configure: Ditto.
3761 * libc/libc.texinfo: Ditto.
3762 * libm/*/aclocal.m4: Ditto.
3763 * libm/*/configure: Ditto.
3764 * libm/libm.texinfo: Ditto.
3765 * libc/sys/linux/shared.ld: Add VERS_1.14.
3766
a4cd7f20
JJ
37672005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3768
3769 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3770 take a pointer to struct stat64 rather than struct stat.
3771
843e635a
JJ
37722005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3773
3774 * libc/include/stdint.h: Prefer long over int for int32_t.
3775 Use __have_long32 to set up int32_t.
3776 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3777 (Sync with stdint.h).
3778
10cba930
CV
37792005-12-14 Corinna Vinschen <corinna@vinschen.de>
3780
3781 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3782 typo in O_NDELAY comment.
3783
c8ba5c22
JJ
37842005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3785
3786 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3787 * libc/include/machine/setjmp.h (__mt__): Likewise.
3788 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3789 * libc/machine/configure.in: Ditto.
3790
74ecef0d
NS
37912005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3792
3793 * configure.host: Replace ms1 arch with mt arch.
3794 * libc/machine/mt: Renamed from ms1 dir.
3795
2a1fc53c
JJ
37962005-12-08 Shaun Jackman <sjackman@gmail.com>
3797
3798 * libc/include/sys/types.h: Remove the ifdef armour around
3799 standard POSIX types.
3800
77e70d34
JJ
38012005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3802
3803 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3804 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3805 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3806 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3807 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3808
b1da33a0
CF
38092005-12-05 Christopher Faylor <cgf@timesys.com>
3810
3811 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3812 file. Declare unsetenv and _unsetenv_r when not cygwin.
3813
6b1a6ec6
JJ
38142005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3815
3816 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3817 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3818
d7d477b7
CF
38192005-11-18 Christopher Faylor <cgf@timesys.com>
3820
3821 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3822
c1534dbe
CF
38232005-11-18 Christopher Faylor <cgf@timesys.com>
3824
3825 * include/time.h: Remove more cygwin-specific stuff.
3826
d3e81bda
CF
38272005-11-18 Christopher Faylor <cgf@timesys.com>
3828
3829 * include/time.h: Move cygwin declarations to cygwin-specific header.
3830 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3831
1396951b
JJ
38322005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3833
3834 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3835 in libc/sys/linux/include.
3836 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3837 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3838 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3839 in libc/sys/linux/dl.
3840
37bd11ed
CF
38412005-11-11 Christopher Faylor <cgf@timesys.com>
3842
3843 * libc/include/sys/time.h: For cygwin, use general header rather than
3844 specific "sys/select.h".
3845
b397593c
JJ
38462005-11-08 Tom Walsh <tom@openhardware.net>
3847
3848 * libc/time/tzvars.c: New file.
3849 * libc/time/tzset_r.c: Moved globals into tzvars.c
3850 so other time functions needn't link in __tzset_r and its
3851 dependencies.
3852 * libc/time/Makefile.am: Add the new file.
3853 * libc/time/Makefile.in: Regenerated.
3854
86c6c421
CF
38552005-11-08 Christopher Faylor <cgf@timesys.com>
3856
3857 * libc/include/string.h: Add cygwin-specific function declaration.
3858
ef1206e4
CV
38592005-11-07 Corinna Vinschen <corinna@vinschen.de>
3860
3861 * libc/include/ieeefp.h: Add C++ guards.
3862
15eaca1c
JJ
38632005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3864
3865 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3866 * libc/unix/getlogin.c: Ditto.
3867 * libc/unix/getpass.c: Ditto.
3868 * libc/unix/getut.c: Ditto.
3869 * libc/unix/ttyname.c: Ditto.
3870
d31a8623
JJ
38712005-11-03 Shaun Jackman <sjackman@gmail.com>
3872
3873 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3874 prototypes by default.
3875 * libc/sys/linux/include/unistd.h (readlink): Remove this
3876 prototype.
3877 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3878 prototypes.
3879
71ac53ee
JJ
38802005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3881
3882 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3883
dc1b6289
JJ
38842005-10-31 Darin Johnson <darin@usa.net>
3885
3886 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3887 correct for constants.
3888
884c0ff0
JJ
38892005-10-28 Bob Wilson <bob.wilson@acm.org>
3890
3891 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3892 * libc/stdio/siscanf.c: Likewise.
3893 * libc/stdio/sprintf.c: Likewise.
3894 * libc/stdio/sscanf.c: Likewise.
3895 * libc/stdio/vfprintf.c: Likewise.
3896 * libc/stdio/vfscanf.c: Likewise.
3897 * libc/stdio/viprintf.c: Likewise.
3898 * libc/stdio/viscanf.c: Likewise.
3899
a9c15f6f
JJ
39002005-10-28 Bob Wilson <bob.wilson@acm.org>
3901
3902 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3903 example to use "_end" symbol instead of "end". Change write example
3904 to use "outbyte" instead of "writechar".
3905
a306ebc9
JJ
39062005-10-28 Bob Wilson <bob.wilson@acm.org>
3907
3908 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3909 * libc/ctype/islower.c: Likewise.
3910 * libc/ctype/isupper.c: Likewise.
3911 * libc/ctype/iswalnum.c: Likewise.
3912 * libc/ctype/iswalpha.c: Likewise.
3913 * libc/ctype/iswblank.c: Likewise.
3914 * libc/ctype/iswcntrl.c: Likewise.
3915 * libc/ctype/iswdigit.c: Likewise.
3916 * libc/ctype/iswgraph.c: Likewise.
3917 * libc/ctype/iswlower.c: Likewise.
3918 * libc/ctype/iswprint.c: Likewise.
3919 * libc/ctype/iswpunct.c: Likewise.
3920 * libc/ctype/iswspace.c: Likewise.
3921 * libc/ctype/iswupper.c: Likewise.
3922 * libc/ctype/iswxdigit.c: Likewise.
3923 * libc/ctype/tolower.c: Likewise.
3924 * libc/ctype/toupper.c: Likewise.
3925 * libc/ctype/towctrans.c: Likewise.
3926 * libc/ctype/towlower.c: Likewise.
3927 * libc/ctype/towupper.c: Likewise.
3928 * libc/string/strcasecmp.c: Likewise.
3929 * libc/string/strcoll.c: Likewise.
3930 * libc/string/strings.tex: Likewise.
3931 * libc/string/strlwr.c: Likewise.
3932 * libc/string/strncasecmp.c: Likewise.
3933 * libc/string/strupr.c: Likewise.
3934 * libc/string/wcscoll.c: Likewise.
3935 * libc/string/wcslcat.c: Likewise.
3936 * libc/string/wcslcpy.c: Likewise.
3937 * libc/string/wcsnlen.c: Likewise.
3938 * libc/string/wcsstr.c: Likewise.
3939 * libc/string/wcstrings.tex: Likewise.
3940 * libc/string/wmemchr.c: Likewise.
3941 * libc/string/wmemcmp.c: Likewise.
3942 * libc/string/wmemcpy.c: Likewise.
3943 * libc/string/wmemmove.c: Likewise.
17c0c97d 3944 * libc/string/wmemset.c: Likewise.
a306ebc9 3945
239c2bf9
JJ
39462005-10-28 Bob Wilson <bob.wilson@acm.org>
3947
3948 * libc/misc/unctrl.c: Replace FUNCTION description.
3949 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3950 * libc/stdio/getdelim.c: Fix spelling errors.
3951 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3952 * libc/stdio/putw.c: Likewise.
3953 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3954 documentation.
239c2bf9
JJ
3955 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3956 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3957 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3958 * libc/stdlib/mlock.c: Likewise.
3959 * libc/stdlib/mstats.c: Likewise.
3960 * libc/time/tzlock.c: Likewise.
3961 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3962 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3963 and hyphenate "pseudo-random".
239c2bf9
JJ
3964 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3965 * libc/string/strncat.c: Likewise.
3966 * libc/string/memchr.c: Remove extra ">" character in documentation.
3967 * libc/string/strcspn.c: Use "characters" instead of "chars".
3968 * libc/string/strpbrk.c: Likewise.
3969 * libc/string/strerror_r.c: Capitalize "GNU".
3970 * libc/string/strnlen.c: Likewise.
3971 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3972 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3973 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3974 * libc/string/wcschr.c: Likewise.
3975 * libc/string/wcscmp.c: Likewise.
3976 * libc/string/wcscpy.c: Likewise.
3977 * libc/string/wcscspn.c: Likewise.
3978 * libc/string/wcslen.c: Likewise.
3979 * libc/string/wcsncat.c: Likewise.
3980 * libc/string/wcsncmp.c: Likewise.
3981 * libc/string/wcsncpy.c: Likewise.
3982 * libc/string/wcsnlen.c: Likewise.
3983 * libc/string/wcspbrk.c: Likewise.
3984 * libc/string/wcsrchr.c: Likewise.
3985 * libc/string/wcsspn.c: Likewise.
3986 * libc/string/wmemchr.c: Likewise.
3987 * libc/string/wmemcmp.c: Likewise.
3988 * libc/string/wmemcpy.c: Likewise.
3989 * libc/string/wmemset.c: Likewise.
3990 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3991 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3992 * libc/string/wcwidth.c: Likewise.
3993 * libm/common/s_modf.c: Remove extra period from documentation.
3994 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3995 documentation.
239c2bf9
JJ
3996 * libm/mathfp/s_isnan.c: Likewise.
3997 * libm/math/s_ldexp.c: Fix punctuation.
3998 * libm/mathfp/s_ldexp.c: Likewise.
3999 * libm/math/w_log.c: Likewise.
4000 * libm/mathfp/s_logarithm.c: Likewise.
4001 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 4002 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 4003
2556eb8d
JJ
40042005-10-26 Shaun Jackman <sjackman@gmail.com>
4005
4006 * libc/posix/scandir.c (scandir): Update the function
4007 prototype to match the header.
4008 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
4009 extraneous #endif.
4010 * libc/sys/linux/sys/lock.h: Do not include
4011 machine/weakalias.h, since it's not used by this file.
4012
c9d71a8d
JJ
40132005-10-26 Jeff Johnston <jjohnstn@redhat.com>
4014
4015 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
4016 directories can override properly.
4017
09968b6d
JJ
40182005-10-20 Jeff Johnston <jjohnstn@redhat.com>
4019
4020 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
4021 gcc is 3.3 or greater, use special gcc builtins.
4022
c70571bd
CV
40232005-10-20 Corinna Vinschen <corinna@vinschen.de>
4024
4025 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
4026
a92822b7
CV
40272005-10-18 Corinna Vinschen <corinna@vinschen.de>
4028
4029 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
4030
d2c2c132
JJ
40312005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4032
4033 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
4034 * libm/common/Makefile.am: Add s_infconst.c support.
4035 * libm/common/Makefile.in: Regenerated.
4036 * libm/common/s_infconst.c: New file with float and
4037 long double infinity support added.
4038 * libm/math/Makefile.am: Remove s_infconst.c support.
4039 * libm/math/Makefile.in: Regenerated.
4040 * libm/math/s_infconst.c: Moved to common directory.
4041 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
4042 * libm/mathfp/Makefile.in: Regenerated.
4043 * libm/mathfp/s_infconst.c: Moved to common directory.
4044
4d57c1ed
JJ
40452005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4046
4047 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
4048 dbgprintf to prevent conflict with new dprintf function.
4049
1012585f
JJ
40502005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4051
4052 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
4053 "nan" processing for systems that have long double support.
4054
e9154015
JJ
40552005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4056
4057 * libc/sys/linux/sys/types.h (int8_t): Add type.
4058
1a869698
JJ
40592005-10-14 Bob Wilson <bob.wilson@acm.org>
4060
ba3ccd63
EB
4061 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
4062 * libm/common/Makefile.in: Regenerate.
4063 * libm/common/common.tex: Delete file.
4064 * libm/math/math.tex: Include .def files from common/.
4065 * libm/mathfp/mathfp.tex: Likewise.
1a869698 4066
e0811fb3
JJ
40672005-10-14 Bob Wilson <bob.wilson@acm.org>
4068
4069 * libc/libc.texinfo (Top): Surround this node with @ifnottex
4070 instead of @ifinfo. Update menu to add Introduction and match
4071 SUBDIRS order.
ba3ccd63 4072 (Introduction): New section.
e0811fb3 4073
e63c98c6
JJ
40742005-10-14 Bob Wilson <bob.wilson@acm.org>
4075
ba3ccd63
EB
4076 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
4077 with "Red Hat newlib C Library".
4078 * libc/sys.tex (Stubs): Likewise.
4079 * libm/math/math.tex (Math): Likewise.
4080 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 4081
339195bf
JJ
40822005-10-11 Shaun Jackman <sjackman@gmail.com>
4083
4084 * libc/include/stdio.h (dprintf): New declaration.
4085 (vdprintf): Ditto.
4086 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
4087 and vdprintf.c.
4088 * libc/stdio/Makefile.in: Regenerate.
4089 * libc/stdio/dprintf.c: New file.
4090 * libc/stdio/vdprintf.c: New file.
4091 * libc/stdio/stdio.tex (dprintf): New entry.
4092
da71e518
JJ
40932005-10-11 David Weatherford <weath@tensilica.com>
4094
4095 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 4096 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
4097 uppercase for E/F/G formats.
4098
f011605a
JJ
40992005-10-07 Bob Wilson <bob.wilson@acm.org>
4100
4101 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
4102 to ENOMEM on failure.
4103
bc037f3a
JJ
41042005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
4105
4106 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
4107
c7e20979
JJ
41082005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
4109
4110 * libc/include/stdint.h: Move magic to set __have_long* to the
4111 beginning. Use #if __have* instead of #if defined(__have*).
4112 Minor typo fixes.
4113
58e78add
JJ
41142005-10-04 James E Wilson <wilson@specifix.com>
4115
4116 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
4117 #error.
4118
8afb8202
JJ
41192005-10-03 Jeff Johnston <jjohnstn@redhat.com>
4120
4121 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
4122 incorporate Ralf's change below.
4123
14491fd0
JJ
41242005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
4125
17c0c97d 4126 * libc/include/stdint.h:
14491fd0
JJ
4127 Use __INTMAX_TYPE__ to derive intmax_t.
4128 Use __UINTMAX_TYPE__ to derive uintmax_t.
4129 Fix minor typo.
4130
ee694aea
JJ
41312005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
4132
17c0c97d 4133 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
4134 handling GCC >= 4.
4135
9f1926f2
JJ
41362005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4137
4138 * libc/sys/linux/include/stdint.h: Update to match functionality
4139 of generic newlib stdint.h.
4140
0ce4fcef
JJ
41412005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4142
4143 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
4144 and do not #undef the macro after it is used. Fix typos.
4145 Also change 64-bit constants to use the __have_long64 and
4146 __have_longlong64 flags to determine if long or long long
4147 constants should be used.
4148 * libc/include/inttypes.h: Include stddef.h to get wchar_t
4149 type defined.
4150
17060817
JJ
41512005-09-20 Shaun Jackman <sjackman@gmail.com>
4152
4153 * libc/include/stdint.h: Fix typo in names of
4154 LEAST macros.
4155
1e1d1d3d
JJ
41562005-09-20 Jeff Johnston <jjohnstn@redhat.com>
4157
4158 * libc/sys/rtems/include/inttypes.h: Moved to...
4159 * libc/include/inttypes.h: ...here.
4160
cddfc170
JJ
41612005-09-19 Jeff Johnston <jjohnstn@redhat.com>
4162
4163 * libc/sys/rtems/include/stdint.h: Moved to...
4164 * libc/include/stdint.h: ...here.
4165
b10ab725
JJ
41662005-09-08 Jeff Johnston <jjohnstn@redhat.com>
4167
4168 * Makefile.am: Add include files under bits sub-directory.
4169 * Makefile.in: Regenerated.
4170 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
4171 actual value of 1 to be compatible with newer glibc headers.
4172 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
4173 glibc headers.
4174 * libc/sys/linux/sys/dirent.h: Ditto.
4175 * libc/sys/linux/argp/argp-xinl.c: Ditto.
4176 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
4177 profile_fixup routines are marked used so they won't be
4178 optimized away.
4179 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
4180 to mark functions as weak.
4181 * libc/sys/linux/dl/dl-open.c: Ditto.
4182 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
4183 rules about lvalues.
4184 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
4185 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
4186 weak_extern macro to mark functions as weak. Instead always
4187 use #pragma weak.
4188 * iconvdata/jis0208.h: Fix to work with gcc4.
4189 * libc/sys/linux/dl/dl-load.c: Ditto.
4190 * libc/sys/linux/dl/dl-reloc.c: Ditto.
4191 * libc/sys/linux/dl/do-rel.h: Ditto.
4192 * libc/sys/linux/dl/dynamic-link.h: Ditto.
4193 * libc/sys/linux/include/ltdl.h: Ditto.
4194 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
4195 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4196 * libc/sys/linux/net/ns_ntoa.c: Ditto.
4197 * libc/sys/linux/bits/initspin.h: New file.
4198 * libc/sys/linux/bits/libc-lock.h: Ditto.
4199 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
4200 * libc/sys/linux/bits/typesizes.h: Ditto.
4201
7b786e48
JJ
42022005-09-08 Eric Blake <ebb9@byu.net>
4203
4204 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
4205 before is NULL.
4206
32b09d75
JJ
42072005-09-08 Brian Dessent <brian@dessent.net>
4208
4209 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
4210 mantissa.
4211 * s_lrint.c: Ditto.
4212
8f36ef2f
JJ
42132005-09-02 Jeff Johnston <jjohnstn@redhat.com>
4214
4215 * libc/include/stdio.h: Add prototype for viprintf.
4216
cebe43dd
JJ
42172005-09-01 Jeff Johnston <jjohnstn@redhat.com>
4218
4219 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
4220 any positive power results in 0.
4221 * libm/mathfp/sf_pow.c (powf): Ditto.
4222
45c8bb8f
JJ
42232005-08-31 Paul Brook <paul@codesourcery.com>
4224
4225 * configure.host: Set have_crt0 to no for Arm targts when not
4226 providing syscalls. Set sys_dir=arm unconditionally.
4227 Default have_crt0 based on sys_dir.
4228 * configure.in: Use have_crt0.
4229 * libc/configure.in: Ditto.
4230 * libc/sys/configure.in: Ditto.
4231 * configure: Regenerate.
4232 * libc/configure: Regenerate.
4233 * libc/sys/configure: Regenerate.
4234 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
4235 Only build other files when providing syscalls.
4236 * libc/sys/arm/Makefile.in: Regenerate.
4237 * libc/sys/arm/aeabi_atexit.c: New file.
4238
dbeee890
CF
42392005-08-26 Christopher Faylor <cgf@timesys.com>
4240
4241 * libc/include/string.h: Revert previous change.
4242
377d3ea0
CF
42432005-08-25 Christopher Faylor <cgf@timesys.com>
4244
4245 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
4246
4797a77c
JJ
42472005-08-22 Shaun Jackman <sjackman@gmail.com>
4248
4249 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
4250 define _opendir as opendir, _readdir as readdir, and
4251 _closedir as closedir so that the implementations in
4252 libc/posix will be used.
4253
2e73582e
DD
42542005-08-10 DJ Delorie <dj@redhat.com>
4255
4256 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
4257
234cf97f
JJ
42582005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
4259
4260 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
4261 * libm/common/s_max.c: Ditto.
4262 * libm/common/sf_fmin.c: Ditto.
4263 * libm/common/s_min.c: Ditto.
4264
56448afa
JJ
42652005-08-10 DJ Delorie <dj@redhat.com>
4266
4267 * configure.host: Add m32c support.
4268 * libc/include/machine/ieeefp.h: Likewise.
4269 * libc/include/machine/setjmp.h: Likewise.
4270 * libc/include/sys/config.h: Likewise.
4271 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
4272 * libc/machine/m32c/aclocal.m4: New file.
4273 * libc/machine/m32c/configure: Ditto.
4274 * libc/machine/m32c/configure.in: Ditto.
4275 * libc/machine/m32c/Makefile.am: Ditto.
4276 * libc/machine/m32c/Makefile.in: Ditto.
4277 * libc/machine/m32c/setjmp.S: Ditto.
4278
0c5c6c23
JJ
42792005-08-02 Bob Wilson <bob.wilson@acm.org>
4280
ba3ccd63
EB
4281 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
4282 to the value for 2^126.
0c5c6c23 4283
12499c7a
HPN
42842005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
4285
4286 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
4287 used.
4288
395a327d 42892005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 4290 Darin Petkov <darin@tensilica.com>
395a327d
JJ
4291
4292 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
4293
108d7dd8
JJ
42942005-07-19 Paul Brook <paul@codesourcery.com>
4295
4296 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
4297
b776efc5
JJ
42982005-07-18 Joseph S. Myers <joseph@codesourcery.com>
4299
4300 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
4301 names after PASS and FAIL which do not depend on source directory
4302 name or on whether test passed or failed.
4303 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
4304
88540e24
JJ
43052005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
4306
4307 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
4308
85d62190 43092005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 4310
88540e24 4311 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
4312 twice for the same directory. _closedir calls free, and freeing
4313 the same pointer twice may cause a crash.
4314
dee9edd9
AH
43152005-07-06 Aldy Hernandez <aldyh@redhat.com>
4316
ba3ccd63
EB
4317 * configure.host: Added entry for ms1*.
4318 * libc/include/machine/ieeefp.h: Handle ms1.
4319 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
4320 * libc/machine/ms1/aclocal.m4: New.
4321 * libc/machine/ms1/configure: New.
4322 * libc/machine/ms1/configure.in: New.
4323 * libc/machine/ms1/Makefile.am: New.
4324 * libc/machine/ms1/Makefile.in: New.
4325 * libc/machine/ms1/setjmp.S: New.
dee9edd9 4326
cec1d3b4
JJ
43272005-07-04 Mark Mitchell <mark@codesourcery.com>
4328
4329 * Makefile.am (site.exp): Set tmpdir.
4330 * Makefile.in: Regenerated.
4331 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
4332 executables in $tmpdir.
4333 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
4334 libgloss version if not running in the build directory.
4335 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
4336 $tmpdir.
4337 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
4338 in $tmpdir.
4339
25d209f1
JJ
43402005-06-28 Dave Korn <dave.korn@artimi.com>
4341
4342 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
4343 and miscalculation caused by fp representation of zero.
4344 * libm/common/sf_lrint.c (lrintf): Likewise.
4345
68cdbb18
JJ
43462005-06-16 Christopher Faylor <cgf@timesys.com>
4347
4348 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
4349 determine characteristics of long double. Use a union instead.
4350 * ldtoa.c (_ldtoa_r): Ditto.
4351 (_ldcheck): Ditto.
4352 (_strtold): Ditto.
4353 (union uconv): New union.
4354
15c04fd1
JJ
43552005-06-03 Jeff Johnston <jjohnstn@redhat.com>
4356
4357 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
4358 instead of memcpy.
4359
cf55bf5e
JJ
43602005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4361
4362 * configure.host (mn10300-*): Add long long I/O support by default.
4363
b6e654c4
JJ
43642005-05-12 Jeff Johnston <jjohnstn@redhat.com>
4365
4366 * libc/sys/linux/getpwuid.c: Removed.
4367 * libc/sys/linux/getpwnam.c: Removed.
4368 * libc/sys/linux/getpwent.c: New file containing logic
4369 from files removed above. This allows overriding of file
4370 in libc/unix.
4371 * libc/sys/linux/Makefile.am: Support changes above.
4372 * libc/sys/linux/Makefile.in: Regenerated.
4373
5456408b
JJ
43742005-04-28 Jeff Johnston <jjohnstn@redhat.com>
4375
4376 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
4377 when checking for multiple flags.
4378
1c74754f
HPN
43792005-04-18 Hans-Peter Nilsson <hp@axis.com>
4380
4381 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 4382 default_newlib_io_long_long="yes".
1c74754f 4383
6e75bff6
JJ
43842005-04-08 Jeff Johnston <jjohnstn@redhat.com>
4385
4386 * libc/include/libgen.h: New file.
4387
43882005-04-08 Shaun Jackman <sjackman@gmail.com>
4389
4390 * libc/unix/Makefile.am: Add support for basename and dirname.
4391 * libc/unix/Makefile.in: Regenerated.
4392 * libc/unix/basename.c: New file.
4393 * libc/unix/dirname.c: New file.
4394
95c136c4
JJ
43952005-04-07 Shaun Jackman <sjackman@gmail.com>
4396
4397 * libc/sys/linux/inode.c (lchown): New function.
4398
9ae26f7e
JJ
43992005-04-07 Shaun Jackman <sjackman@gmail.com>
4400
4401 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
4402 ELIX level is defined.
4403 * libc/unix/Makefile.in: Regenerated.
4404
85da7039
JJ
44052005-04-05 Dave Korn <dave.korn@artimi.com>
4406
4407 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
4408 something that looks like a "NaN", put back the characters processed.
4409
fefc73a0
CV
44102005-04-01 Corinna Vinschen <corinna@vinschen.de>
4411
4412 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
4413
e633fde1
CF
44142005-03-23 Christopher Faylor <cgf@timesys.com>
4415
4416 * configure.host: For cygwin, redefine CC with cygwin include directory
4417 first to mimic the behavior of the top-level configury. Move include
4418 directory out of newlib_cflags.
4419
859c94e8
JJ
44202005-03-22 Jeff Johnston <jjohnstn@redhat.com>
4421
4422 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 4423 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
4424 than errno.
4425
7e3fd32b
CF
44262005-03-22 Christopher Faylor <cgf@timesys.com>
4427
4428 * libc/include/machine/_types.h: Make trivial change to comment to
4429 avoid a spurious warning from gcc.
4430
d4eb8920
JJ
44312005-03-21 Nicholas Wourms <nwourms@netscape.net>
4432
4433 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4434 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4435 reent.h include.
4436
45030958 44372005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 4438 Corinna Vinschen <corinna@vinschen.de>
45030958 4439
ba3ccd63
EB
4440 * libc/include/ctype.h: Remove invalid +1 offset from
4441 ctype macro references to __ctype_ptr.
4442 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 4443
5c9b5ac7
CV
44442005-03-18 Corinna Vinschen <corinna@vinschen.de>
4445
4446 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4447 evaluate first parameter only once.
4448 (siglongjmp): Ditto.
4449
dd801fda
JJ
44502005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4451
4452 * configure.in: Add new check to see if compiler supports
4453 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4454 * configure: Regenerated.
4455 * Makefile.in: Ditto.
4456 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4457 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4458 aliasing the _ctype_ array to _ctype_b.
4459 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4460 _ctype_ as deprecated.
4461
333eabc6
HPN
44622005-03-17 Hans-Peter Nilsson <hp@axis.com>
4463
4464 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4465 -DCOMPACT_CTYPE.
4466
df5a5b35
JJ
44672005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4468
4469 * libc/sys/rtems/include/inttypes.h: New file.
4470 * libc/sys/rtems/include/stdint.h: Ditto.
4471
9d385fb0
JJ
44722005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4473
4474 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4475
2e7d9bf9
JJ
44762005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4477
4478 * libc/include/machine/_types.h: New file.
4479 * libc/include/sys/types.h: Do not check for __rtems__
4480 when including <machine/_types.h>. Remove some redundant
4481 declarations now that <machine/_types.h> is included.
4482 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4483 shared header file.
4484
92a7e06e
JJ
44852005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4486
4487 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4488 L qualifier for these long constants.
4489
1139537a
JJ
44902005-02-25 Eric Blake <ebb9@byu.net>
4491
4492 * libc/include/time.h (__tzrule_struct): Make offset long, since
4493 a 16-bit int overflows on a 12-hour offset.
4494 * libc/sys/linux/include/time.h: Ditto.
4495 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4496 * libc/time/mktm_r.c: Ditto.
4497 * libc/time/gettzinfo.c: Ditto.
4498 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4499 years. Fix '%z' to use long, not int.
4500
f4fd7b4c
JJ
45012005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4502
4503 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4504 manipulate float values in integer form.
4505 * libm/common/sf_round.c: Ditto.
4506
f2f8a9a2
JJ
45072005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4508
4509 * libc/include/sys/types.h [__rtems__]: Include new
4510 header file machine/_types.h.
4511 * libc/include/machine/types.h: Ditto.
4512 * libc/sys/rtems/machine/_types.h: New file.
4513
39fd43d7
CV
45142005-02-23 Corinna Vinschen <corinna@vinschen.de>
4515
4516 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4517 (timezone): Drop cast from definition.
4518
6b9a74f9
JJ
45192005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4520
4521 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4522 (__tzrule_type, __tzinfo_type): New types.
4523 (__gettzinfo): New function.
4524 * libc/sys/linux/include/time.h: Ditto.
4525 * libc/time/Makefile.am: Add gettzinfo.c.
4526 * libc/time/Makefile.in: Regenerated.
4527 * libc/time/local.h: Moved __tzrule_type to time.h.
4528 * libc/time/mktime.c: Call __gettzinfo to reference
4529 __tznorth, __tzyear, and __tzrule array.
4530 * libc/time/mktm_r.c: Ditto.
4531 * libc/time/strftime.c: Ditto.
4532 * libc/time/tzset_r.c: Ditto. Also remove definition
4533 of __tzrule which is now in gettzinfo.c. Change _timezone
4534 references to not cast to time_t.
4535 * libc/time/gettzinfo.c: New file.
4536
6015cf9f
CV
45372005-02-23 Corinna Vinschen <corinna@vinschen.de>
4538
4539 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4540
5e4c05da
CV
45412005-02-22 Corinna Vinschen <corinna@vinschen.de>
4542
4543 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4544
f1d439fc
JJ
45452005-02-16 Eric Blake <ebb9@byu.net>
4546
4547 * libc/time/time.tex: Improve the documentation.
4548 * libc/time/strftime.c: Improve the documentation.
4549 (iso_year_adjust): New helper function.
4550 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4551 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4552 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4553 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4554 Avoid core dumps on valid inputs (maxsize == 0, or
4555 tim_p->tm_isdst > 1).
4556
18d3a03b
CV
45572005-02-08 Corinna Vinschen <corinna@vinschen.de>
4558
4559 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4560 members to uid_t and gid_t according to SUSv3.
4561 * libc/include/sys/time.h (utimes): Change second parameter
4562 to const according to SUSv3.
4563
1159e0fd
JJ
45642005-02-07 Antony King <antony.king@st.com>
4565
4566 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4567 called before _flockfile to prevent lock object use before
4568 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4569 take a struct _reent * instead of a FILE *.
4570 * libc/stdio/fclose.c (_fclose_r): Ditto.
4571 * libc/stdio/feof.c (feof): Ditto.
4572 * libc/stdio/ferror.c (ferror): Ditto.
4573 * libc/stdio/fflush.c (fflush): Ditto.
4574 * libc/stdio/fgetc.c (fgetc): Ditto.
4575 * libc/stdio/fgets.c (fgets): Ditto.
4576 * libc/stdio/fileno.c (fileno): Ditto.
4577 * libc/stdio/fputc.c (fputc): Ditto.
4578 * libc/stdio/fputs.c (fputs): Ditto.
4579 * libc/stdio/fread.c (fread): Ditto.
4580 * libc/stdio/freopen.c (_freopen_r): Ditto.
4581 * libc/stdio/fseek.c (_fseek_r): Ditto.
4582 * libc/stdio/ftell.c (_ftell_r): Ditto.
4583 * libc/stdio/fwrite.c (fwrite): Ditto.
4584 * libc/stdio/getc.c (getc): Ditto.
4585 * libc/stdio/getdelim.c (__getdelim): Ditto.
4586 * libc/stdio/putc.c (putc): Ditto.
4587 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4588 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4589 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4590 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4591 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4592 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4593 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4594 _reent * instead of a FILE * and so replace incorrect use of
4595 _REENT with argument.
4596 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4597 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4598 CHECK_INIT() take a struct _reent * instead of a FILE *.
4599 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4600 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4601 * libc/stdio/perror.c (perror): Ditto.
4602 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4603 * libc/stdio/putchar.c (putchar): Ditto.
4604 * libc/stdio/puts.c (puts): Ditto.
4605 * libc/stdio/refill.c (__srefill): Ditto.
4606 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4607 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4608 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4609 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4610 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4611 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4612 * libc/stdio/wbuf.c (__swbuf): Ditto.
4613 * libc/stdio/wsetup.c (__swsetup): Ditto.
4614 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4615 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4616 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4617 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4618 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4619 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4620 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4621 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4622 initialision of _data field in FILE structure.
4623 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4624
3d915670
JJ
46252005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4626
4627 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4628 (__sinit_lock): New lock.
4629 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4630 * libc/stdio/local.h: Add reference to new __sinit locking
4631 functions.
4632
b59cab1e
JJ
46332005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4634
4635 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4636 input variable names to avoid mixups with nesting macros.
4637
1815fdea
JJ
46382005-01-27 Hans-Peter Nilsson <hp@axis.com>
4639
4640 * configure.host: Add support for cris-*-* and crisv32-*-*.
4641 * libc/include/machine/ieeefp.h: Ditto.
4642 * libc/include/machine/setjmp.h: Ditto.
4643 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4644 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4645 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4646 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4647 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4648 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4649 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4650 files.
4651
f7d4d41a
JJ
46522005-01-27 Hans-Peter Nilsson <hp@axis.com>
4653
4654 * testsuite/newlib.string/memmove1.c: New test.
4655
1319dec6
JJ
46562005-01-27 Hans-Peter Nilsson <hp@axis.com>
4657
4658 * testsuite/include/check.h: Include stdlib.h.
4659
b45e65b0
JJ
46602005-01-27 Hans-Peter Nilsson <hp@axis.com>
4661
4662 * Makefile.am (stmp-targ-include): Support include header files
4663 from machine directories.
e9743354 4664 (install-data-local): Ditto.
b45e65b0
JJ
4665 * Makefile.in: Regenerate.
4666
dbfa92dd
JJ
46672005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4668
4669 * libc/include/string.h: Remove Linux-specific declaration of
4670 strsignal and add #include <sys/string.h>.
4671 * libc/include/sys/string.h: New file.
4672 * libc/include/sys/linux/sys/string.h: New file with strsignal
4673 declaration deleted above.
4674
6cb0c055
JJ
46752005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4676
4677 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4678 to POSIX standard for "C" locale. Allow %E and %O modifiers
4679 to be ignored as long as they precede valid specifiers according
4680 to POSIX.
4681
52429807
JJ
46822005-01-19 Shaun Jackman <sjackman@gmail.com>
4683
4684 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4685 environment variable is set.
4686
f693170a
JJ
46872005-01-19 Shaun Jackman <sjackman@gmail.com>
4688
ba3ccd63 4689 * tzset_r.c (_tzname): Add a comma.
f693170a 4690
464d01bf
AH
46912005-01-18 Aldy Hernandez <aldyh@redhat.com>
4692
4693 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4694 _VFPRINTF_R.
4695
f7a74742 46962005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4697
f7a74742
JJ
4698 * configure.in: Add test for .init_array.
4699 * configure: Regenerate.
4700 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4701 * libc/misc/Makefile.am: Add init.c
4702 * libc/misc/Makefile.in: Regenerate.
4703 * libc/misc/init.c: New file.
4704 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4705 _init/_fini if they exist.
17c0c97d 4706
8fa6cb9a
JJ
47072005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4708
4709 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4710 * (strtof): Ditto.
4711 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4712 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4713 functions for use by strtod and strtof.
4714 * Makefile.in: Regenerated.
17c0c97d 4715
034a3909 47162005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4717
034a3909
JJ
4718 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4719 bit-test in combination with NULL test.
17c0c97d 4720
9918ea2d 47212005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4722
ba3ccd63 4723 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4724
5cc3f592
JJ
47252004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4726
4727 * NEWS: Update with 1.13.0 info.
4728 * README: Ditto.
4729 * acinclude.m4: Change version number to 1.13.0.
4730 * aclocal.m4: Regenerated.
4731 * configure: Ditto.
4732 * doc/aclocal.m4: Ditto.
4733 * doc/configure: Ditto.
4734 * libc/*/aclocal.m4: Ditto.
4735 * libc/*/configure: Ditto.
4736 * libc/libc.texinfo: Ditto.
4737 * libm/*/aclocal.m4: Ditto.
4738 * libm/*/configure: Ditto.
4739 * libm/libm.texinfo: Ditto.
4740 * libc/sys/linux/shared.ld: Add VERS_1.13.
4741
d8ae996c
JJ
47422004-12-17 Christian Groessler <chris@groessler.org>
4743
4744 * libc/machine/z8k/memcmp.S: New file.
4745 * libc/machine/z8k/memcpy.S: Ditto.
4746 * libc/machine/z8k/memmove.S: Ditto.
4747 * libc/machine/z8k/memset.S: Ditto.
4748 * libc/machine/z8k/Makefile.am: Add new files.
4749 * libc/machine/z8k/Makefile.in: Regenerated.
4750 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4751 part. Implement Z8002 stdcall version.
4752
82673116
JJ
47532004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4754
4755 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4756 a low-level read if we don't get the full amount of bytes so
4757 EOF or error flags will be set.
4758
0082d4cf
JJ
47592004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4760
4761 * libc/time/tzset_r (_tzset_r): Properly skip over
4762 '/' when it is detected.
4763
3b54b74f
JJ
47642004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4765
4766 * libc/time/tzset_r (_tzset_r): Fix loop.
4767
4b30e154
JJ
47682004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4769
4770 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4771 m_day.
4772 (__tzcalc_limits): Fix reference to month array to be zero-based.
4773
465eab2e
JJ
47742004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4775
4776 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4777 and usleep.
4778
a2b1a849
JJ
47792004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4780
4781 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4782 libgcc dependencies.
4783 (libm_la_LDFLAGS): Ditto.
4784 * Makefile.in: Regenerated.
4785
c80a1731
JJ
47862004-12-03 Shaun Jackman <sjackman@gmail.com>
4787
4788 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4789 our link to use readlink so as to preserve any relative link created
4790 by install-toollibLIBRARIES.
4791 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4792
70e9da42
JJ
47932004-12-02 Shaun Jackman <sjackman@gmail.com>
4794
4795 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4796 time_t before including sys/stat.h, which uses it.
4797 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4798 <linux/time.h> just prior to definition of __KERNEL__ so as to
4799 allow building on Debian Linux where otherwise, mktime would
4800 be redefined.
4801
a330d85a
JJ
48022004-11-26 Paul Brook <paul@codesourcery.com>
4803
4804 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4805
c41a1cb7
JJ
48062004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4807
4808 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4809 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4810 * libc/stdlib/putenv.c: Ditto.
4811 * libc/stdlib/putenv_r.c: Ditto.
4812
16ac96ee
JJ
48132004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4814
4815 * libc/stdio/Makefile.am: Fix missing vfscanf.
4816 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4817
3bf09147 48182004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4819
3bf09147
JJ
4820 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4821 do some reordering.
4822 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4823 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4824 family functions.
4825 * libc/stdio/Makefile.in: Regenerated.
4826 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4827 * libc/stdio/iprintf.c: Ditto.
4828 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4829 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4830 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4831 * libc/stdio/stdio.tex: Add new functions.
4832 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4833 file and add special name defines so this file can be used
4834 to build vfiscanf.o.
4835 * libc/stdio/asiprintf.c: New file.
4836 * libc/stdio/fiscanf.c: Ditto.
4837 * libc/stdio/iscanf.c: Ditto.
4838 * libc/stdio/sccl.c: Ditto.
4839 * libc/stdio/siscanf.c: Ditto.
4840 * libc/stdio/vasiprintf.c: Ditto.
4841 * libc/stdio/viprintf.c: Ditto.
4842 * libc/stdio/viscanf.c: Ditto.
4843 * libc/stdio/vsiprintf.c: Ditto.
4844 * libc/stdio/vsiscanf.c: Ditto.
4845 * libc/stdio/vsniprintf.c: Ditto.
4846
0f0fcb04 48472004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4848
ba3ccd63
EB
4849 * libc/include/stdio.h: Add sniprintf.
4850 * libc/stdio/Makefile.am: Add sniprintf.c.
4851 * libc/stdio/Makefile.in: Regenerated.
4852 * libc/stdio/sniprintf.c: New file.
4853 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4854
1f8f7e2d
CF
48552004-11-17 Christopher Faylor <cgf@timesys.com>
4856
4857 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4858 EOF flag if successful.
4859
b08d08c7
CF
48602004-10-28 Christopher Faylor <cgf@timesys.com>
4861
4862 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4863 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4864 include.
4865
65b1964f
JJ
48662004-10-26 Jason Tishler <jason@tishler.net>
4867
4868 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4869 fread.
4870
6382b7e3 48712004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4872
4873 * libc/include/machine/setjmp.h: Add AVR support.
4874 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4875
73131c2d 48762004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4877
ba3ccd63
EB
4878 * libc/include/sys/signal.h: If <signal.h> didn't include
4879 this header file, include <signal.h> to account for
4880 applications that take advantage that the two header
4881 files are the same in glibc.
17c0c97d 4882
1185687a
JJ
48832004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4884
ba3ccd63
EB
4885 * configure.host: Add support for crx.
4886 * libc/include/machine/ieeefp.h: Ditto.
4887 * libc/include/machine/setjmp.h: Ditto.
4888 * libc/machine/crx/Makefile.am: New file.
4889 * libc/machine/crx/configure.in: Ditto.
4890 * libc/machine/crx/setjmp.S: Ditto.
4891 * libc/machine/crx/getenv.c: Ditto.
4892 * libc/machine/crx/aclocal.m4: Generate.
4893 * libc/machine/crx/configure: Ditto.
4894 * libc/machine/crx/Makefile.in: Ditto.
4895 * libc/machine/crx/sys/asm.h: New file.
4896 * libc/machine/crx/sys/libh.h: Ditto.
4897 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4898
423152ed
JJ
48992004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4900
4901 * Makefile.am (stmp-targ-include): Support sys header files
4902 from machine directories.
4903 * Makefile.in: Regenerated.
4904
3ea9de76
JJ
49052004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4906
4907 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4908 count skipped zero characters as part of the nread count for %n.
4909 * libc/machine/powerpc/vfscanf.c: Ditto.
4910
2a6e1223
JJ
49112004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4912
4913 * libc/stdio/local.h: Include <stdlib.h>.
4914
d163f2fc
CV
49152004-09-24 Corinna Vinschen <corinna@vinschen.de>
4916
4917 * libc/stdio/fread.c (fread): Include <malloc.h>.
4918
602de582
JJ
49192004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4920
4921 * libc/stdio/fread.c (fread): For non-space-optimized case,
4922 add special code for unbuffered files to use user buffer and
4923 only require one low-level system read.
4924
32e73f4d
ILT
49252004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4926
4927 * libc/machine/xscale/setjmp.S: New file, copied from
4928 libc/machine/arm/setjmp.S.
4929 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4930 * libc/machine/xscale/Makefile.in: Regenerate.
4931
ed6859b8
JJ
49322004-09-16 Antony King <antony.king@st.com>
4933
4934 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4935 with locking API.
17c0c97d 4936 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4937 check for__SSTR in _flags and if set, skip lock request.
4938 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4939 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4940 not NULL.
4941 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4942 initialisation of _file to -1 in local FILE.
4943 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4944 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4945 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4946 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4947 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4948 _flags in local FILE to prevent locking.
4949 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4950
7a0f6966
JJ
49512004-09-16 Antony King <antony.king@st.com>
4952
4953 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4954 and only walk the reentrancy parameter.
4955 (_fwalk_reent): Ditto.
4956 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4957
c77672c0
JJ
49582004-09-16 Antony King <antony.king@st.com>
4959
4960 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4961 _LOCK_RECURSIVE_T.
4962
5c44c2e5
JJ
49632004-09-16 Antony King <antony.king@st.com>
4964
4965 * libc/time/tzlock.c: Add default stubs that use generic
4966 locking code.
4967
14613e5e
JJ
49682004-09-16 Antony King <antony.king@st.com>
4969
4970 * libc/ctype/ctype.tex: Added missing documentation.
4971 * libc/stdio/stdio.tex Ditto.
4972 * libc/stdlib/stdlib.tex Ditto.
4973 * libc/string/strings.tex Ditto.
4974 * libc/time/time.tex: Ditto.
4975 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4976
181cb051
JJ
49772004-09-15 Corinna Vinschen <vinschen@redhat.com>
4978
4979 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4980 when building for Cygwin.
4981 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4982 _global_impure_ptr.
4983
51d4a7ea
JJ
49842004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4985
4986 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4987 Cygwin side.
4988 * configure.in: Ditto.
4989 * libc/configure.in: Ditto.
4990 * libc/sys/configure.in: Ditto.
4991 * configure: Ditto.
4992 * libc/configure: Ditto.
4993 * libc/sys/configure: Ditto.
4994 * libc/include/sys/reent.h: Ditto.
4995 * libc/stdlib/__atexit.c: Ditto.
4996 * libc/stdlib/__call_atexit.c: Ditto.
4997 * libc/stdlib/cxa_atexit.c: Ditto.
4998 * libc/stdlib/cxa_finalize.c: Ditto.
4999 * libc/sys/cygwin/Makefile.am: Removed again.
5000 * libc/sys/cygwin/Makefile.in: Ditto.
5001 * libc/sys/cygwin/aclocal.m4: Ditto.
5002 * libc/sys/cygwin/configure: Ditto.
5003 * libc/sys/cygwin/configure.in: Ditto.
5004 * libc/sys/cygwin/dummy.c: Ditto.
5005 * libc/sys/cygwin/sys/reent.h: Ditto.
5006
98650d2f
JJ
50072004-09-14 Jeff Johnston <jjohnstn@redhat.com>
5008
5009 * configure.host: Add Cygwin sys directory.
5010 * configure.in: Do not set CRT0 for cygwin.
5011 * libc/configure.in: Ditto.
5012 * libc/sys/configure.in: Ditto.
5013 * configure: Regenerated.
5014 * libc/configure: Ditto.
5015 * libc/sys/configure: Ditto.
5016 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
5017 * libc/stdlib/__atexit.c: Keep cxa support protected by new
5018 __REENT_HAS_CXA_SUPPORT flag.
5019 * libc/stdlib/__call_atexit.c: Ditto.
5020 * libc/stdlib/cxa_atexit.c: Ditto.
5021 * libc/stdlib/cxa_finalize.c: Ditto.
5022 * libc/sys/cygwin/Makefile.am: New file.
5023 * libc/sys/cygwin/Makefile.in: Ditto.
5024 * libc/sys/cygwin/aclocal.m4: Ditto.
5025 * libc/sys/cygwin/configure: Ditto.
5026 * libc/sys/cygwin/configure.in: Ditto.
5027 * libc/sys/cygwin/dummy.c: Ditto.
5028 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
5029 version of reent.h.
5030
d4c8e53b
JJ
50312004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5032
5033 * libc/iconv/iconv.tex: Updated with new content.
5034 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
5035 instead of NLS_DEFAULT_NLSPATH.
5036 * libc/iconv/lib/iconvnls.h: Fix typo.
5037 * libc/include/sys/iconvnls.h: New file.
5038
0c8593cf
JJ
50392004-09-09 Paul Brook <paul@codesourcery.com>
5040
5041 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
5042 and _is_cxa.
5043 (struct _atexit): Add _next when _REENT_SMALL.
5044 (struct _reent): Add _atexit0 when _REENT_SMALL.
5045 (_REENT_INIT_PTR): Adjust.
5046 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
5047 __call_exit.c.
5048 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
5049 * libc/stdlib/Makefile.in: Regenerate.
5050 * libc/stdlib/__atexit.c: New file.
5051 * libc/stdlib/__call_atexit.c: New file.
5052 * libc/stdlib/atexit.h: Remove old definitions. Add new.
5053 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
5054 * libc/stdlib/cxa_atexit.c: New file.
5055 * libc/stdlib/cxa_finalize.c: New file.
5056 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
5057 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
5058 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
5059 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
5060 _on_exit_args_ptr.
5061
c6ed5a85
JJ
50622004-08-23 Jeff Johnston <jjohnstn@redhat.com>
5063
5064 * libc/include/sys/unistd.h (getpass): Change prototype to use
5065 const instead of __const.
5066
721a934c
JJ
50672004-08-16 Nathan Sidwell <nathan@codesourcery.com>
5068
5069 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
5070 #if.
5071
4e53fc28
JJ
50722004-08-12 Jeff Johnston <jjohnstn@redhat.com>
5073
5074 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
5075 on linux systems with glibc 2.3.3 installed.
5076 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
5077 profile_fixup so newlib can build on fc3 system.
17c0c97d 5078
82045f12
AO
50792004-07-30 Alexandre Oliva <aoliva@redhat.com>
5080
5081 Introduce SH2a support.
5082 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
5083 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
5084 __SH2A_SINGLE_ONLY__, too.
5085 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
5086 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
5087 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
5088 2004-02-10 DJ Delorie <dj@redhat.com>
5089 * libc/sys/sh/crt0.S (start_l): Support sh2a.
5090
ad6b1d79
JJ
50912004-07-29 Jeff Johnston <jjohnstn@redhat.com>
5092
5093 * libc/time/strptime.c: Correct full-name of "March" typo.
5094
63b9dcc4
JJ
50952004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
5096
17c0c97d 5097 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 5098
dbfd3394
JJ
50992004-07-16 Jeff Johnston <jjohnstn@redhat.com>
5100
5101 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
5102 calls, if realloc fails, free up buffer as it is no longer
5103 used.
5104
6edb3da9
JJ
51052004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5106
5107 * libc/iconv/iconv.tex: Updated to represent recent changes.
5108 * libc/iconv/lib/iconv.c: Documentation updated.
5109
578a3560
NC
51102004-07-07 Nick Clifton <nickc@redhat.com>
5111
5112 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
5113 for xStormy16.
5114
2bc257e3
JJ
51152004-07-06 Chris Demetriou <cgd@broadcom.com>
5116
5117 * configure.host (mips*-*-elf*): Default long long printing
5118 support.
5119
75e7ffaa
JJ
51202004-07-05 Jeff Johnston <jjohnstn@redhat.com>
5121
5122 * libc/Makefile.am (libc.dvi): Add target and specify
5123 same dependencies as libc.info.
5124 * libc/Makefile.in: Regenerated.
5125 * libm/Makefile.am (libm.dvi): Add target and specify
5126 same dependencies as libm.info.
5127 * libm/Makefile.in: Regenerated.
5128
76ce12c3
JJ
51292004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5130
5131 * acinclude.m4: Move --enable-newlib-iconv option back here.
5132 * configure.in: Remove --enable-newlib-iconv option. Don't
5133 tie iconv support to --enable-newlib-mb.
5134 * aclocal.m4: Regenerated.
5135 * configure: Ditto.
5136 * doc/aclocal.m4, doc/configure: Ditto.
5137 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
5138 * libm/*/aclocal.m4: Ditto.
5139 * libm/*/configure: Ditto.
5140 * libc/*/aclocal.m4: Ditto.
5141 * libc/*/configure: Ditto.
5142
660dade3
JJ
51432004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5144
5145 * acinclude.m4: Move iconv options into configure.in.
5146 * aclocal.m4: Regenerated.
5147 * configure: Ditto.
5148 * configure.in: Add iconv options.
5149 * newlib.hin: Add new iconv encodings and remove deleted ones.
5150 * doc/aclocal.m4: Regenerated.
5151 * doc/configure: Ditto.
5152 * iconvdata/aclocal.m4: Ditto.
5153 * iconvdata/configure: Ditto.
5154 * libc/iconv: Design change. New size-optimized ccs format.
5155 * libc/iconv/AUTHORS: Removed.
5156 * libc/iconv/COPYING: Ditto.
5157 * libc/iconv/README.ORIGINAL: Ditto.
5158 * libc/iconv/README.TODO: Ditto.
5159 * libc/iconv/charset.aliases: Ditto.
5160 * libc/iconv/encoding.aliases: New file.
5161 * libc/iconv/Makefile.am: Updated.
5162 * libc/iconv/Makefile.in: Regenerated.
5163 * libc/iconv/iconv.tex: Updated.
5164 * libc/iconv/ccs/Makefile.am: Ditto.
5165 * libc/iconv/ccs/Makefile.in: Regenerated.
5166 * libc/iconv/ccs/big5.c: Updated.
5167 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5168 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5169 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5170 * libc/iconv/ccs/cp775.c: Ditto.
5171 * libc/iconv/ccs/cp850.c: Ditto.
5172 * libc/iconv/ccs/cp852.c: Ditto.
5173 * libc/iconv/ccs/cp855.c: Ditto.
5174 * libc/iconv/ccs/cp866.c: Ditto.
5175 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5176 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
5177 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5178 * libc/iconv/ccs/iconv_mktbl: Ditto.
5179 * libc/iconv/ccs/jis_x0201.c: Ditto.
5180 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5181 * libc/iconv/ccs/shift_jis.c: Ditto.
5182 * libc/iconv/ccs/us_ascii.c: Ditto.
5183 * libc/iconv/ccs/ccs.h: New file.
5184 * libc/iconv/ccs/ccsbi.c: Ditto.
5185 * libc/iconv/ccs/ccsbi.h: Ditto.
5186 * libc/iconv/ccs/ccsnames.h: Ditto.
5187 * libc/iconv/ccs/iso_8859_10.c: Ditto.
5188 * libc/iconv/ccs/iso_8859_11.c: Ditto.
5189 * libc/iconv/ccs/iso_8859_13.c: Ditto.
5190 * libc/iconv/ccs/iso_8859_14.c: Ditto.
5191 * libc/iconv/ccs/iso_8859_3.c: Ditto.
5192 * libc/iconv/ccs/iso_8859_6.c: Ditto.
5193 * libc/iconv/ccs/iso_8859_7.c: Ditto.
5194 * libc/iconv/ccs/iso_8859_8.c: Ditto.
5195 * libc/iconv/ccs/iso_8859_9.c: Ditto.
5196 * libc/iconv/ccs/iso_ir_111.c: Ditto.
5197 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
5198 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
5199 * libc/iconv/ccs/koi8_ru.c: Ditto.
5200 * libc/iconv/ccs/koi8_uni.c: Ditto.
5201 * libc/iconv/ccs/mktbl.pl: Ditto.
5202 * libc/iconv/ccs/win_1250.c: Ditto.
5203 * libc/iconv/ccs/win_1251.c: Ditto.
5204 * libc/iconv/ccs/win_1252.c: Ditto.
5205 * libc/iconv/ccs/win_1253.c: Ditto.
5206 * libc/iconv/ccs/win_1254.c: Ditto.
5207 * libc/iconv/ccs/win_1255.c: Ditto.
5208 * libc/iconv/ccs/win_1256.c: Ditto.
5209 * libc/iconv/ccs/win_1257.c: Ditto.
5210 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
5211 * libc/iconv/ccs/iso_8859_15.c: Updated.
5212 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5213 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5214 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5215 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5216 * libc/iconv/ccs/koi8_r.c: Ditto.
5217 * libc/iconv/ccs/koi8_u.c: Ditto.
5218 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
5219 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
5220 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5221 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5222 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5223 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5224 * libc/iconv/ccs/binary/Makefile.am: Updated.
5225 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
5226 * libc/iconv/ccs/binary/big5.cct: Updated.
5227 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5228 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5229 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5230 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
5231 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
5232 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
5233 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
5234 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
5235 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5236 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5237 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5238 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5239 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5240 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5241 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5242 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5243 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5244 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
5245 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
5246 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
5247 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
5248 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
5249 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
5250 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
5251 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
5252 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
5253 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
5254 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
5255 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
5256 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
5257 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
5258 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
5259 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
5260 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
5261 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
5262 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
5263 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
5264 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
5265 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
5266 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
5267 * libc/iconv/ces/Makefile.am: Updated.
5268 * libc/iconv/ces/Makefile.in: Regenerated.
5269 * libc/iconv/ces/ucs-2-internal.c: Updated.
5270 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5271 * libc/iconv/ces/utf-16.c: Ditto.
5272 * libc/iconv/ces/utf-8.c: Ditto.
5273 * libc/iconv/ces/cesbi.c: New file.
5274 * libc/iconv/ces/cesbi.h: Ditto.
5275 * libc/iconv/ces/cesdeps.h: Ditto.
5276 * libc/iconv/ces/euc.c: Ditto.
5277 * libc/iconv/ces/mkdeps.pl: Ditto.
5278 * libc/iconv/ces/table-pcs.c: Ditto.
5279 * libc/iconv/ces/table.c: Ditto.
5280 * libc/iconv/ces/ucs-2.c: Ditto.
5281 * libc/iconv/ces/ucs-4.c: Ditto.
5282 * libc/iconv/ces/us-ascii.c: Ditto.
5283 * libc/iconv/ces/euc-jp.c: Removed.
5284 * libc/iconv/ces/euc-kr.c: Ditto.
5285 * libc/iconv/ces/euc-tw.c: Ditto.
5286 * libc/iconv/ces/gb2312.c: Ditto.
5287 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
5288 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5289 * libc/iconv/lib/Makefile.am: Updated.
5290 * libc/iconv/lib/Makefile.in: Regenerated.
5291 * libc/iconv/lib/endian.h: Updated.
5292 * libc/iconv/lib/iconv.c: Ditto.
5293 * libc/iconv/lib/local.h: Ditto.
5294 * libc/iconv/lib/aliases.c: Removed.
5295 * libc/iconv/lib/bialiasesi.c: Ditto.
5296 * libc/iconv/lib/biccs.c: Ditto.
5297 * libc/iconv/lib/bices.c: Ditto.
5298 * libc/iconv/lib/ccs.c: Ditto.
5299 * libc/iconv/lib/ces.c: Ditto.
5300 * libc/iconv/lib/ces_euc.c: Ditto.
5301 * libc/iconv/lib/ces_iso2022.c: Ditto.
5302 * libc/iconv/lib/ces_table.c: Ditto.
5303 * libc/iconv/lib/converter.c: Ditto.
5304 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
5305 * libc/iconv/lib/loaddata.c: Ditto.
5306 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
5307 * libc/iconv/lib/aliasesi.c: Ditto.
5308 * libc/iconv/lib/conv.h: Ditto.
5309 * libc/iconv/lib/encnames.h: Ditto.
5310 * libc/iconv/lib/encoding.deps: Ditto.
5311 * libc/iconv/lib/iconvnls.c: Ditto.
5312 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
5313 * libc/iconv/lib/nullconv.c: Ditto.
5314 * libc/iconv/lib/ucsconv.c: Ditto.
5315 * libc/iconv/lib/ucsconv.h: Ditto.
5316 * libc/include/iconv.h: Update copyright.
5317 * libc/*/aclocal.m4: Regenerated.
5318 * libc/*/configure: Ditto.
5319 * libm/*/aclocal.m4: Ditto.
5320 * libm/*/configure: Ditto.
5321
9a6831be
AO
53222004-06-22 Alexandre Oliva <aoliva@redhat.com>
5323
eb6a452a
AO
5324 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
5325 instead of typedefing jmp_buf.
5326
9a6831be
AO
5327 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
5328 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
5329 * libc/machine/h8300/defines.h (LEN): New macro.
5330 * libc/machine/h8300/memcpy.S: Add h8sx version.
5331 * libc/machine/h8300/memset.S: Likewise.
5332 * libc/machine/h8300/strcmp.S: Likewise.
5333 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
5334 * libc/machine/h8300/h8sx_strcpy.S: New file.
5335 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
5336 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
5337 __H8300SX__.
5338 * libc/include/machine/setjmp.h: Likewise.
5339 * libc/include/sys/config.h: Likewise.
5340 * libc/machine/h8300/defines.h: Likewise.
5341 * libc/machine/h8300/setjmp.S: Likewise.
5342 * libc/machine/h8300/strcmp.S: Likewise.
5343 * libc/sys/h8300hms/close.S: Likewise.
5344 * libc/sys/h8300hms/fstat.S: Likewise.
5345 * libc/sys/h8300hms/lseek.S: Likewise.
5346 * libc/sys/h8300hms/read.S: Likewise.
5347 * libc/sys/h8300hms/write.S: Likewise.
5348 * libc/sys/h8300hms/crt0.S: Likewise.
5349 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
5350 __H8300SX__ is defined.
5351 * libc/sys/h8300hms/setarch.h: Likewise.
5352
80dba41e
JJ
53532004-06-17 Jeff Johnston <jjohnstn@redhat.com>
5354
5355 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
5356 out change which set _GLOBAL_REENT to _global_impure_ptr until
5357 we understand why Cygwin breaks because of it.
5358
be910599
JJ
53592004-06-14 Jeff Johnston <jjohnstn@redhat.com>
5360
5361 * libc/sys/linux/machine/i386/syscall.h: For now, set up
5362 __syscall_return macro for systems with vsyscall.
5363
d0bd3e6f
JJ
53642004-06-11 Antony King <antony.king@st.com>
5365
5366 * libc/include/sys/_types.h: Include <sys/lock.h> and change
5367 _flock_t to be of type _LOCK_RECURSIVE_T.
5368 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
5369 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
5370 (_global_impure_ptr): New declaration.
5371 (_GLOBAL_REENT): Change to be _global_impure_ptr.
5372 * libc/include/sys/stdio.h: Include <sys/lock.h> and
5373 <sys/reent.h>.
5374 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
5375 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5376 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
5377 * libc/stdio/fclose.c: Remove casting of fp lock to
5378 _LOCK_RECURSIVE_T.
5379 * libc/stdio/findfp.c: Ditto.
5380 * libc/stdio/fopen.c: Ditto.
5381 * libc/stdio/freopen.c: Ditto.
5382 * libc/stdio/vfprintf.c: Ditto.
5383 * libc/stdio64/fopen64.c: Ditto.
5384 * libc/stdlib/envlock.c: Add default stubs that use generic
5385 locking code.
5386 * libc/stdlib/mlock.c: Ditto.
5387
5388 Jeff Johnston <jjohnstn@redhat.com>
5389 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
5390 (_flock_t): Change to be a struct containing a single member
5391 named mutex which is of type __flock_mutex_t.
5392
db7033a9
JJ
53932004-06-09 Jeff Johnston <jjohnstn@redhat.com>
5394
5395 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
5396 from /usr/include/asm/signal.h instead of kernel sources. Also
5397 default max to 32 if not found in header file.
5398 * libc/sys/linux/Makefile.in: Regenerated.
5399 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
5400 systems where __syscall_return is not defined.
5401 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
5402 systems to use syscall() function instead of assembler interrupt.
5403
a170abec
JJ
54042004-06-09 Toralf Lund <toralf@procaptura.com>
5405
5406 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
5407 files from libc/sys/arm to libc/machine/arm.
5408 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
5409 library build support for files moved from libc/sys/arm.
5410 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
5411 references to access and setjmp.
5412 * configure.host: Add checks for newlib_may_supply_syscalls to
5413 determine whether or not to use sys/arm directory and use
5414 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 5415
8b57e664
JJ
54162004-06-02 Jeff Johnston <jjohnstn@redhat.com>
5417
5418 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
5419 reset digit flags appropriately after we have discovered "0x".
5420 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5421
3f611058
JJ
54222004-05-27 Jeff Johnston <jjohnstn@redhat.com>
5423
5424 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
5425 from here ...
5426 (_VFPRINTF_R): ... to here so all I/O printf routines
5427 are covered.
5428
bb42a35c
JJ
54292004-05-26 Jeff Johnston <jjohnstn@redhat.com>
5430
5431 * libc/search/hash_buf.c: Protect MAX and MIN macros from
5432 redefinition.
5433 * libc/search/hash.c: Ditto.
5434
227e6ef6
JJ
54352004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5436
5437 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5438 (_WANT_IO_LONG_LONG): Ditto.
5439 (_WANT_IO_LONG_DOUBLE): Ditto.
5440 * configure.in: Add new configuration options
5441 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5442 which tie to new defines in newlib.hin.
5443 * configure: Regenerated.
5444 * configure.host: Add checks for new configuration options. Also
5445 fix up check for --enable-newlib-io-pos-args so configuration
5446 option will override any default for a given platform.
5447 Remove defining compiler flags for the _WANT_IO* options.
5448 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5449 instead of looking for old compiler flags.
5450 * libc/stdio/vfscanf.c: Ditto.
5451 * libc/stdio/vfieeefp.h: Ditto.
5452 * libc/machine/powerpc/vfprintf.c: Ditto.
5453 * libc/machine/powerpc/vfscanf.c: Ditto.
5454
9178da95
JJ
54552004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5456
5457 * testsuite/include/check.h: Add include of <stdio.h>.
5458
cf3aae91
CV
54592004-05-17 Corinna Vinschen <corinna@vinschen.de>
5460
5461 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5462
5b4c8ae2
JJ
54632004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5464
5465 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5466 of free.
5467
54682004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5469
5470 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5471 list for reentrant pointer. Call _vfiprintf_r.
5472 * libc/stdio/siprintf.c (_siprintf_r): New function.
5473 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5474 pointer argument. Change all callers. Call _VFPRINTF_R.
5475 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5476 prototypes.
5477
631fbe65
JJ
54782004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5479
5480 * libc/include/sys/param.h: Remove endian info and include
5481 <machine/endian.h> instead.
5482 * libc/include/machine/endian.h: New file.
5483 * libc/include/machine/param.h: Ditto.
5484 * libc/machine/arm/machine/endian.h: Ditto.
5485 * libc/machine/arm/machine/param.h: Ditto.
5486 * libc/sys/arm/sys/param.h: Removed.
5487 * libc/sys/sysvi386/sys/param.h: Ditto.
5488 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5489
1af84bb7
JJ
54902004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5491
5492 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5493 multibyte functions return failure for %C, %S, %lc, and %ls
5494 format specifiers.
5495
1c63798e
JJ
54962004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5497
5498 * testsuite/include/check.h (CHECK): Add flush of stdout.
5499
20b0251a
JJ
55002004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5501
5502 * libc/include/stdio.h (_ungetc_r): New prototype.
5503 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5504 (__submore): Add reentrant struct pointer argument.
5505 (ungetc): Change to call _ungetc_r.
5506
6194cf4a
JJ
55072004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5508
5509 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5510 function pointer argument.
5511 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5512 to specify function pointer arguments.
5513 (__fwalk, __fwalk_reent): Ditto.
5514
b4ddf489
AH
55152004-04-26 Aldy Hernandez <aldyh@redhat.com>
5516
ba3ccd63
EB
5517 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5518 CT_INT case.
b4ddf489 5519
f777e3a5
JJ
55202004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5521
5522 * configure.in: Define _MB_CAPABLE if mb supported.
5523 * configure: Regenerated.
5524 * configure.host: Remove manual setting of MB_CAPABLE compiler
5525 flag.
5526 * newlib.hin: Add _MB_CAPABLE flag.
5527 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5528 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5529 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5530 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5531 * libc/ctype/jp2uc.c: Ditto.
5532 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5533 * libc/locale/locale.c: Ditto
5534 * libc/machine/powerpc/vfscanf.c: Ditto
5535 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5536 * libc/stdlib/mblen.c: Ditto
5537 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5538 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5539 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5540 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5541 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5542 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5543 * libc/sys/linux/intl/explodename.c: Ditto
5544 * libc/sys/linux/intl/finddomain.c: Ditto
5545 * libc/sys/linux/intl/l10nflist.c: Ditto
5546 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5547 * libc/sys/linux/intl/localealias.c: Ditto
5548
27c7566c
JJ
55492004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5550
5551 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5552 (__svfscanf_r): In integer conversions, leave out leading zeroes
5553 which are not part of a base prefix.
5554 Keep track of width truncation to fit into buf, not counting left-out
5555 zeroes against width till the truncation has been compensated for.
5556 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5557
c00f9719
JJ
55582004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5559
5560 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5561
05b31577
JJ
55622004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5563
5564 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5565 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5566 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5567 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5568 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5569 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5570 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5571 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5572 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5573 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5574 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5575 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5576 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5577 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5578 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5579 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5580 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5581 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5582 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5583 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5584 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5585 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5586 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5587 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5588 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5589 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5590 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5591 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5592 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5593 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5594 copyright notices to top of file, ensure that <_ansi.h> is
5595 included, be consistent with open parentheses, use _DEFUN macro,
5596 include "local.h" where needed, and remove various compiler
5597 warnings.
5598
04e8fca1
JJ
55992004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5600
5601 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5602 (__svfscanf_r): In integer conversions, leave out leading zeroes
5603 which are not part of a base prefix.
5604 Keep track of width truncation to fit into buf, not counting left-out
5605 zeroes against width till the truncation has been compensated for.
5606
9090ec74
CV
56072004-04-20 Corinna Vinschen <corinna@vinschen.de>
5608
5609 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5610
1c17deea
CV
56112004-04-20 Corinna Vinschen <corinna@vinschen.de>
5612
5613 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5614
54c7940f
CV
56152004-04-10 Corinna Vinschen <corinna@vinschen.de>
5616
5617 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5618 to SUSv3.
5619
47dcaf56
JJ
56202004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5621
5622 * libc/stdio/fclose.c (_fclose_r): New function.
5623 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5624 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5625 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5626 * libc/include/stdio.h (_fclose_r): New prototype.
5627 * libc/stdio/fopen.c: Fix typo in comment.
5628
56292004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5630
5631 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5632 to handle _r reentrant functions.
5633
4121d8cf
JJ
56342004-04-08 Eric Christopher <echristo@redhat.com>
5635
5636 * libc/include/machine/setjmp.h: Fix endif locations.
5637
59c9f5f5
JJ
56382004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5639
5640 * libc/time/strptime.c: Add standard includes to avoid
5641 warning messages at compilation time.
5642
38f4f023
JJ
56432004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5644
5645 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5646 of file.
5647
56482004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5649
5650 * libc/machine/h8300/Makefile.am: Reformat slightly.
5651 * libc/machine/h8300/Makefile.in: Regenerate.
5652
38f4f023 56532004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5654
5655 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5656 __sfp_lock_acquire.
17c0c97d 5657 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5658
10dcf7e7
JJ
56592004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5660
5661 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5662 releasing a file.
5663 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5664 fwalk.
5665 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5666 _flockfile/_funlockfile.
5667 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5668 to recursive.
5669 Change __lock_acquire/__lock_release calls for __sfp_lock to
5670 __sfp_lock_acquire/__sfp_lock_release throughout.
5671 (std): Make sure that file lock is only initialized once.
5672 (__sfp): Move _file initialization. Initialize file lock.
5673 (__sfp_lock_acquire): New function.
5674 (__sfp_lock_release): Ditto.
5675 (__fp_lock_all): Remove __sfp_lock_acquire call.
5676 (__fp_unlock_all): Remove __sfp_lock_release call.
5677 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5678 Add calls to _flockfile/_funlockfile. Remove
5679 __lock_init_recursive call.
5680 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5681 * libc/stdio/fwalk.c (__fwalk): New static function.
5682 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5683 file pointers.
5684 * libc/stdio/local.h: Add defines for
5685 __sfp_lock_acquire/__sfp_lock_release when
5686 single threaded. Add function prototypes otherwise.
5687 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5688 _flockfile/_funlockfile.
5689 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5690 Add calls to _flockfile/_funlockfile. Remove
5691 __lock_init_recursive call.
5692 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5693 list.
10dcf7e7 5694
ec475b09
JJ
56952004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5696
5697 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5698 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5699 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5700 to be __LOCK_INIT_RECURSIVE.
5701
2c4ef10a
JJ
57022004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5703
5704 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5705 _exit.c with _exit.S.
5706 * libc/sys/h8300hms/Makefile.in: Regenerate.
5707 * libc/sys/h8300hms/_exit.c: Remove.
5708 * libc/sys/h8300hms/_exit.S: New.
5709
41c3da6a
JJ
57102004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5711
5712 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5713 Change __sfp_lock to static global.
5714 (__fp_lock): New static function.
5715 (__fp_unlock): Ditto.
5716 (__fp_lock_all): New function.
17c0c97d 5717 (__fp_unlock_all): Ditto.
41c3da6a 5718
0ccf5430
CF
57192004-02-10 Christopher Faylor <cgf@redhat.com>
5720
5721 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5722 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5723 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5724 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5725
3536f0fb
CF
57262004-02-09 Christopher Faylor <cgf@redhat.com>
5727
5728 * libc/include/time.h (TIMER_RELTIME): New define.
5729
6a6e493a
JJ
57302004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5731
5732 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5733 * libc/stdlib/Makefile.in: Regenerated.
5734
733309f5
CF
57352004-02-08 Christopher Faylor <cgf@redhat.com>
5736
5737 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5738 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5739 defined.
5740 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5741
b4a84c66
JJ
57422004-02-05 Paul Brook <paul@codesourcery.com>
5743
17c0c97d 5744 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5745 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5746
4669438f
JJ
57472004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5748
5749 * NEWS: Update with 1.12.0 info.
5750 * README: Ditto.
5751 * acinclude.m4: Change version number to 1.12.0.
5752 * aclocal.m4: Regenerated.
5753 * configure: Ditto.
5754 * doc/aclocal.m4: Ditto.
5755 * doc/configure: Ditto.
5756 * libc/*/aclocal.m4: Ditto.
5757 * libc/*/configure: Ditto.
5758 * libc/libc.texinfo: Ditto.
5759 * libm/*/aclocal.m4: Ditto.
5760 * libm/*/configure: Ditto.
5761 * libm/libm.texinfo: Ditto.
5762 * libc/sys/linux/shared.ld: Add VERS_1.12.
5763
94d61fcb
JJ
57642004-02-02 Joel Sherrill <joel@oarcorp.com>
5765
5766 * configure.host: Add support for tic4x.
5767 * libc/include/machine/ieeefp.h: Ditto.
5768 * libc/include/machine/setjmp.h: Ditto.
5769 * libc/machine/tic4x/Makefile.am: New file.
5770 * libc/machine/tic4x/configure.in: Ditto.
5771 * libc/machine/tic4x/setjmp.S: Ditto.
5772 * libc/machine/tic4x/aclocal.m4: Generated.
5773 * libc/machine/tic4x/configure: Ditto.
5774 * libc/machine/tic4x/Makefile.in: Ditto.
5775
c730e0e7
JJ
57762004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5777
5778 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5779 file chain on the passed in reentrancy struct if it
5780 is _GLOBAL_REENT.
5781
2892ec68 57822004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5783 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5784
5785 * libc/iconv/iconv.tex: Updated with more information.
5786
ff41498a 57872004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5788 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5789
5790 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5791 struct for std streams and traverse the global reeentrancy
5792 struct for all other streams.
5793
d5b6c234
JJ
57942004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5795
5796 * libc/stdlib/atexit.c: Protect global atexit list with a
5797 lock when newlib is multithreaded.
5798
01e0a777
JJ
57992004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5800
5801 * configure.in: Add support to generate iconv converter flags
5802 for newlib.h
5803 * newlib.hin: Add iconv converter flags.
5804 * configure: Regenerated.
5805 * libc/Makefile.in: Ditto.
5806 * libc/configure.in: Moved iconv converter parsing logic to
5807 top level newlib configure.in.
5808 * libc/configure: Regenerated.
5809 * libc/iconv/Makefile.in: Ditto.
5810 * libc/iconv/README.TODO
5811 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5812 UCS2/UCS4/UTF8.
5813 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5814 newlib.h can be used.
5815 * libc/iconv/ces/Makefile.am: Ditto.
5816 * libc/iconv/lib/Makefile.am: Ditto.
5817 * libc/iconv/ccs/Makefile.in: Regenerated.
5818 * libc/iconv/ces/Makefile.in: Ditto.
5819 * libc/iconv/lib/Makefile.in: Ditto.
5820 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5821 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5822 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5823 defined in newlib.h.
5824 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5825 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5826 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5827 * libc/iconv/ccs/cp775.c: Ditto.
5828 * libc/iconv/ccs/cp850.c: Ditto.
5829 * libc/iconv/ccs/cp852.c: Ditto.
5830 * libc/iconv/ccs/cp855.c: Ditto.
5831 * libc/iconv/ccs/cp866.c: Ditto.
5832 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5833 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5834 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5835 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5836 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5837 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5838 * libc/iconv/ccs/jis_x0201.c: Ditto.
5839 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5840 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5841 * libc/iconv/ccs/koi8_r.c: Ditto.
5842 * libc/iconv/ccs/koi8_u.c: Ditto.
5843 * libc/iconv/ccs/ksx1001.c: Ditto.
5844 * libc/iconv/ccs/shift_jis.c: Ditto.
5845 * libc/iconv/ccs/us_ascii.c: Ditto.
5846 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5847 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5848 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5849 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5850 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5851 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5852 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5853 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5854 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5855 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5856 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5857 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5858 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5859 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5860 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5861 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5862 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5863 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5864 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5865 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5866 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5867 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5868 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5869 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5870 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5871 * libc/iconv/ces/euc-kr.c: Ditto.
5872 * libc/iconv/ces/euc-tw.c: Ditto.
5873 * libc/iconv/ces/gb2312.c: Ditto.
5874 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5875 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5876 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5877 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5878 * libc/iconv/ces/utf-16.c: Ditto.
5879 * libc/iconv/ces/utf-8.c: Ditto.
5880 * libc/iconv/lib/aliases.c: Ditto.
5881 * libc/iconv/lib/biccs.c: Ditto.
5882 * libc/iconv/lib/bices.c: Ditto.
5883 * libc/iconv/lib/ccs.c: Ditto.
5884 * libc/iconv/lib/ces.c: Ditto.
5885 * libc/iconv/lib/ces_euc.c: Ditto.
5886 * libc/iconv/lib/ces_iso2022.c: Ditto.
5887 * libc/iconv/lib/ces_table.c: Ditto.
5888 * libc/iconv/lib/converter.c: Ditto.
5889 * libc/iconv/lib/deps.h: Ditto.
5890 * libc/iconv/lib/endian.h: Ditto.
5891 * libc/iconv/lib/iconv.c: Ditto.
5892 * libc/iconv/lib/loaddata.c: Ditto.
5893 * libc/iconv/lib/local.h: Include newlib.h.
5894 * libc/argz/Makefile.in: Regenerated.
5895 * libc/ctype/Makefile.in: Ditto.
5896 * libc/errno/Makefile.in: Ditto.
5897 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5898 * libc/locale/Makefile.in: Ditto.
5899 * libc/misc/Makefile.in: Ditto.
5900 * libc/posix/Makefile.in: Ditto.
5901 * libc/reent/Makefile.in: Ditto.
5902 * libc/search/Makefile.in: Ditto.
5903 * libc/signal/Makefile.in: Ditto.
5904 * libc/stdio/Makefile.in: Ditto.
5905 * libc/stdio64/Makefile.in: Ditto.
5906 * libc/stdlib/Makefile.in: Ditto.
5907 * libc/string/Makefile.in: Ditto.
5908 * libc/syscalls/Makefile.in: Ditto.
5909 * libc/time/Makefile.in: Ditto.
5910 * libc/unix/Makefile.in: Ditto.
5911 * testsuite/newlib.iconv/iconv.exp: New file.
5912 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5913 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5914 * testsuite/newlib.iconv/iconvru.c: Ditto.
5915
786ab12c
JJ
59162004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5917
5918 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5919 (--enable-newlib-builtin-converters): Ditto.
5920 * configure.in: Add code to set _ICONV_ENABLED flag.
5921 Set _MB_LEN_MAX to 1 if not mb enabled.
5922 * configure: Regenerated.
5923 * aclocal.m4: Ditto.
5924 * Makefile.in: Ditto.
5925 * newlib.hin: Add _ICONV_ENABLED flag.
5926 * libc/Makefile.am: Add support for iconv.
5927 * libc/configure.in: Ditto.
5928 * libc/Makefile.in: Regenerated.
5929 * libc/aclocal.m4: Ditto.
5930 * libc/configure: Ditto.
5931 * libc/libc.texinfo: Add iconv documentation.
5932 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5933 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5934 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5935 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5936 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5937 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5938 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5939 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5940 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5941 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5942 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5943 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5944 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5945 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5946 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5947 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5948 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5949 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5950 libc/iconv/ccs/binary/big5.cct,
5951 libc/iconv/ccs/binary/cns11643_plane1.cct,
5952 libc/iconv/ccs/binary/cns11643_plane14.cct,
5953 libc/iconv/ccs/binary/cns11643_plane2.cct,
5954 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5955 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5956 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5957 libc/iconv/ccs/binary/iso_8859_1.cct,
5958 libc/iconv/ccs/binary/iso_8859_15.cct,
5959 libc/iconv/ccs/binary/iso_8859_2.cct,
5960 libc/iconv/ccs/binary/iso_8859_4.cct,
5961 libc/iconv/ccs/binary/iso_8859_5.cct,
5962 libc/iconv/ccs/binary/jis_x0201.cct,
5963 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5964 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5965 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5966 libc/iconv/ccs/binary/ksx1001.cct,
5967 libc/iconv/ccs/binary/shift_jis.cct,
5968 libc/iconv/ccs/binary/us_ascii.cct,
5969 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5970 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5971 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5972 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5973 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5974 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5975 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5976 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5977 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5978 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5979 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5980 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5981 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5982 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5983 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5984 * libc/sys/linux/include/iconv.h: Ditto.
5985 * libc/include/sys/_types.h (_iconv_t): Added.
5986 * doc/aclocal.m4: Regenerated.
5987 * doc/configure: Ditto.
5988 * doc/Makefile.in: Ditto.
5989 * iconvdata/Makefile.in: Ditto.
5990 * iconvdata/aclocal.m4: Ditto.
5991 * iconvdata/configure: Ditto.
5992 * libc/*aclocal.m4: Ditto.
5993 * libc/*Makefile.in: Ditto.
5994 * libc/*configure: Ditto.
5995 * libm/*aclocal.m4: Ditto.
5996 * libm/*Makefile.in: Ditto.
5997 * libm/*configure: Ditto.
5998
ed1a95dc
JJ
59992004-01-22 Thomas Pfaff <tpfaff@gmx.net>
6000
6001 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 6002 by a lock when newlib is multithreaded.
ed1a95dc 6003
7d4be1ef
JJ
60042004-01-21 Jeff Johnston <jjohnstn@redhat.com>
6005
6006 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
6007 pointer to match C99 spec.
6008 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
6009 dst is NULL. Also fix to not alter src pointer when dst is NULL
6010 and call _mbrtowc_r instead of _mbtowc_r.
6011 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
6012 of _wctomb_r.
6013
403f752c
JJ
60142004-01-19 Thomas Pfaff <tpfaff@gmx.net>
6015
6016 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
6017 * libc/stdio/freopen.c (freopen): Ditto.
6018
85b6d63b
CF
60192004-01-16 Christopher Faylor <cgf@redhat.com>
6020
6021 * libc/stdio/vfprintf.c: Add sys/lock.h include.
6022
4af71a91
JJ
60232004-01-16 Thomas Pfaff <tpfaff@gmx.net>
6024
6025 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
6026 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
6027 Add calls to __lock_init_recursive and __lock_close_recursive
6028 instead.
6029
6a150987
JJ
60302004-01-15 Thomas Pfaff <tpfaff@gmx.net>
6031
6032 * libc/stdio/fclose.c: Include sys/lock.h.
6033 (fclose): Destroy lock when file is closed.
6034 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
6035 member.
6036 * libc/stdio/freopen.c: Include sys/lock.h.
6037 (_freopen_r): Destroy lock when file is closed.
6038 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
6039 _lock member.
6040
c9524c0c
JJ
60412004-01-08 Joel Sherrill <joel@oarcorp.com>
6042
ba3ccd63
EB
6043 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
6044 Remove warnings.
c9524c0c 6045
9f13ccb3
JJ
60462004-01-08 Joel Sherrill <joel@oarcorp.com>
6047
ba3ccd63
EB
6048 * libc/sys/rtems/sys/queue.h: New file.
6049 * libc/include/sys/signal.h: Reflect renumbering of signals to
6050 fit into 32-bit mask.
6051 * libc/include/sys/unistd.h: Add fdatasync() prototype.
6052 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
6053 required. In particular, add the reentrant variants of libc calls.
6054 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 6055
9488c414
JJ
60562004-01-06 Mark Mitchell <mark@codesourcery.com>
6057
6058 * libc/sys/arm/syscalls.c (unistd.h): Include it.
6059 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
6060 Similarly for stdout and stderr.
6061
5125f919
JJ
60622004-01-06 Jeff Johnston <jjohnstn@redhat.com>
6063
6064 * libc/libc.texinfo: Correct escape character for @ sign
6065 so file will be processed by make info. Update copyright years.
6066 * libm/libm.texinfo: Ditto.
6067
9fc92ceb
JJ
60682003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6069
6070 * libc/include/sys/stat.h: No longer include stat-dj.h.
6071 * libc/include/sys/stat-dj.h: Removed.
6072
25c7dad1
JJ
60732003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6074
6075 * libc/include/wchar.h: Include <sys/reent.h>.
6076
576593dd
CF
60772003-12-05 Christopher Faylor <cgf@redhat.com>
6078
6079 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
6080 when defining _mbrtowc.
6081 * libc/stdlib/mbsinit.c: Ditto.
6082 * libc/stdlib/mbsrtowcs.c: Ditto.
6083 * libc/stdlib/wcrtomb.c: Ditto.
6084 * libc/stdlib/wcsrtombs.c: Ditto.
6085 * libc/stdlib/wctob.c: Ditto.
6086
60872003-12-05 Christopher Faylor <cgf@redhat.com>
6088
6089 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
6090 errors when defining _mbrtowc.
6091 * libc/stdlib/mbsinit.c: Ditto.
6092 * libc/stdlib/mbsrtowcs.c: Ditto.
6093
4c889d62
CF
60942003-12-05 Christopher Faylor <cgf@redhat.com>
6095
6096 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
6097 errors when defining _mbrtowc.
6098
5d109bde
JJ
60992003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6100
6101 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
6102 of mb routines for %lc and %ls support.
6103 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
6104 %ls, and %S support. Remove CYGNUS_NEC markers and
6105 code within.
6106
3aca0888
JJ
61072003-12-04 Jeff Johnston <jjohnstn@redhat.com>
6108
6109 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
6110 _wcrtomb_r, and _wcsrtombs_r.
6111
18dcb167
CV
61122003-12-01 Corinna Vinschen <corinna@vinschen.de>
6113
6114 * libc/include/sys/fcntl.h: Don't define struct flock when on
6115 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
6116
93f8e673
CF
61172003-11-28 Christopher Faylor <cgf@redhat.com>
6118
6119 * libc/include/sys/signal.h: Use system specific signal file when
6120 building on cygwin.
6121
cc2a11e0
JJ
61222003-11-27 Jeff Johnston <jjohnstn@redhat.com>
6123
6124 * libc/include/stdlib.h (_atoi_r): New prototype.
6125 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
6126
83bf7d2f
JJ
61272003-11-27 Jeff Johnston <jjohnstn@redhat.com>
6128
6129 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
6130 * libc/stdlib/atol.c (_atol_r): New reentrant function.
6131 * libc/stdlib/atoll.c (_atoll_r): Ditto.
6132
5d109bde 61332003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
6134 Jeff Johnston <jjohnstn@redhat.com>
6135
6136 * libc/include/stdlib.h (lldiv_t): New type.
6137 (atoll, llabs, lldiv): New prototypes.
6138 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
6139 * libc/stdlib/stdlib.tex: Ditto.
6140 * libc/stdlib/Makefile.in: Regenerated.
6141 * libc/stdlib/atoll.c: New file.
6142 * libc/stdlib/llabs.c: Ditto.
6143 * libc/stdlib/lldiv.c: Ditto.
6144
0a707c79
JJ
61452003-11-26 Corinna Vinschen <corinna@vinschen.de>
6146
6147 * libc/include/fcntl.h: Declare syscalls only when building newlib.
6148 * libc/include/unistd.h: Ditto.
6149 * libc/include/stat.h: Ditto. Also declare struct stat64.
6150
5d109bde 61512003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
6152
6153 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
6154 specifier to use ch instead of *fmt.
6155
5d109bde 61562003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
6157
6158 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
6159 code within checks for MB_CAPABLE. For non-mb-capable platforms,
6160 use simple byte logic.
6161
4f6149d6
JJ
61622003-11-21 Jeff Johnston <jjohnstn@redhat.com>
6163
6164 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
6165 _strtold routine for processing floats and doubles since it
6166 is not as fast as _strtod_r.
6167
17c0c97d 61682003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 6169
17c0c97d 6170 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 6171 for normal mode.
17c0c97d 6172 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
6173 for normal mode.
6174 * libc/machine/h8300/reg_memcpy.S : Likewise.
6175 * libc/machine/h8300/reg_memset.S : Likewise.
6176 * libc/machine/h8300/strcmp.S : Likewise.
6177
64cfc6f2
JJ
61782003-11-19 Nicholas Wourms <nwourms@netscape.net>
6179
6180 * configure.host: Enable positional arguments for printf
6181 family for Cygwin.
6182 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
6183 pointer reference for quad_ptr_t.
6184
e1dc8171
JJ
61852003-11-19 Jeff Johnston <jjohnstn@redhat.com>
6186
6187 * libc/stdio/scanf.c: Don't include local.h more than once.
6188
a472290f
JJ
61892003-11-18 Corinna Vinschen <corinna@vinschen.de>
6190
6191 * libc/include/sys/fcntl.h: Declare _open64.
6192 * libc/include/sys/stat.h: Declare _fstat64.
6193 * libc/include/sys/unistd.h: Declare _lseek64.
6194
a2f1155c
CV
61952003-11-17 Corinna Vinschen <corinna@vinschen.de>
6196
6197 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
6198 (setprogname): Ditto.
6199
030441fc
JJ
62002003-11-10 Jeff Johnston <jjohnstn@redhat.com>
6201
6202 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
6203 to use (Ebits + 1) which accounts for the sign-bit.
6204
fe359733
JJ
62052003-11-07 Jeff Johnston <jjohnstn@redhat.com>
6206
17c0c97d 6207 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
6208 x86 build.
6209 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
6210 and set up default flags to pass to aclocal.
6211 * iconvdata/Makefile.in: Regenerated.
6212 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
6213 and getpwuid routines.
6214 * libc/sys/linux/Makefile.in: Regenerated.
6215 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
6216 applications to link with newlib's shared libc library.
6217 * libc/sys/linux/getpwnam.c: Ditto.
6218 * libc/sys/linux/getpwuid.c: Ditto.
6219 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
6220 that were formerly supplied by /usr/include/linux/types.h with
6221 kernel types.
6222 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
6223 test _ELIX_LEVEL macro.
6224
2985521f
JJ
62252003-11-07 Jeff Johnston <jjohnstn@redhat.com>
6226
6227 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
6228 referring to _NO_LONGLONG macro.
6229
dcad6a89
JJ
62302003-11-06 Jeff Johnston <jjohnstn@redhat.com>
6231
6232 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
6233 in LOG() macro so this will compile on gcc 3.4 and up.
6234 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6235 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6236 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6237 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6238 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6239 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6240 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6241 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6242 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6243 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6244 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6245 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6246 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6247 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6248 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6249 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6250 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6251 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6252 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6253 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6254 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6255 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6256 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6257 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6258 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6259 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6260 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6261 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6262 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6263 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6264 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6265 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6266 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6267 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6268 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6269 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6270
d2ffac09 62712003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 6272 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
6273
6274 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
6275 %ls, %S, %lc, and %C format specifiers.
6276 (get_arg): Ditto.
6277 * libc/stdio/sprintf.c: Add documentation regarding new
6278 format specifiers added in vfprintf.c.
6279
da2d1227
JJ
62802003-11-05 Jeff Johnston <jjohnstn@redhat.com>
6281
6282 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
6283 to make code work as specified in standard.
6284
3ef05bac
JJ
62852003-10-23 Jeff Johnston <jjohnstn@redhat.com>
6286
6287 * configure.in: Use absolute newlib basedir when forming
6288 CC_FOR_NEWLIB include options.
6289 * configure: Regenerated.
6290
5d109bde 62912003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
6292
6293 * libc/string/wcsnlen.c: New file.
6294 * libc/include/wchar.h: Add wcsnlen prototype.
6295 * libc/string/Makefile.am: Add wcsnlen support.
6296 * libc/string/Makefile.in: Regenerated.
6297 * libc/string/wcstrings.tex: Add wcsnlen documentation.
6298
63a823f8
RS
62992003-10-22 Richard Sandiford <rsandifo@redhat.com>
6300
6301 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
6302
76a7df52
JJ
63032003-10-20 Bob Wilson <bob.wilson@acm.org>
6304
6305 * libc/locale/locale.c: Use double quotes in code.
6306 * libc/locale/locale.tex: Likewise.
6307 * libc/libc.texinfo: Hyphenate "floating-point".
6308 * libc/machine/necv70/necv70.tex: Likewise.
6309 * libc/stdio/sprintf.c: Likewise.
6310 * libc/stdio/sscanf.c: Likewise.
6311 * libc/stdlib/atof.c: Likewise.
6312 * libc/stdlib/ldtoa.c: Fix comment typo.
6313 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
6314 * libc/stdlib/ldiv.c: Likewise.
6315 * libm/common/s_expm1.c: Likewise.
6316 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
6317 * libm/common/s_infinity: Hyphenate "double- and single-precision".
6318 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
6319 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
6320 and "floating-point".
6321 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
6322 * libm/math/e_pow.c: Fix comment typo.
6323 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
6324 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
6325 * libm/math/s_atan.c: Likewise.
6326 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
6327 * libm/math/s_isnan.c: Hyphenate "single-precision" and
6328 "floating-point". Use "nonzero".
6329 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6330 * libm/math/w_acos.c: Likewise.
6331 * libm/math/w_acosh.c: Likewise.
6332 * libm/math/w_asin.c: Likewise.
6333 * libm/math/w_atan2.c: Likewise.
6334 * libm/math/w_atanh.c: Likewise.
6335 * libm/math/w_cosh.c: Likewise.
6336 * libm/math/w_exp.c: Likewise.
6337 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
6338 version of 2^x in the description.
6339 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
6340 * libm/math/w_gamma.c: Likewise.
6341 * libm/math/w_hypot.c: Likewise.
6342 * libm/math/w_j0.c: Likewise.
6343 * libm/math/w_sinh.c: Likewise.
6344 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
6345 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
6346 "floating-point".
6347 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
6348 * libm/mathfp/e_atanh.c: Likewise.
6349 * libm/mathfp/e_hypot.c: Likewise.
6350 * libm/mathfp/er_lgamma.c: Likewise.
6351 * libm/mathfp/s_acos.c: Likewise.
6352 * libm/mathfp/s_asine.c: Likewise.
6353 * libm/mathfp/s_asinh.c: Likewise.
6354 * libm/mathfp/s_atan.c: Likewise.
6355 * libm/mathfp/s_atan2.c: Likewise.
6356 * libm/mathfp/s_atangent.c: Likewise.
6357 * libm/mathfp/s_cosh.c: Likewise.
6358 * libm/mathfp/s_exp.c: Likewise.
6359 * libm/mathfp/s_fmod.c: Likewise.
6360 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
6361 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
6362 "floating-point". Use "nonzero".
6363 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
6364 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
6365 * libm/mathfp/s_sineh.c: Likewise.
6366 * libm/mathfp/w_jn.c: Likewise.
6367
b11926e7
JJ
63682003-10-15 Alexandre Oliva <aoliva@redhat.com>
6369
6370 * Makefile.am: Add $(MAKE) comments to multido and multiclean
6371 lines, to enable parallel make.
6372 * Makefile.in: Rebuilt.
6373
31271d5c
CF
63742003-10-14 Christopher Faylor <cgf@redhat.com>
6375
6376 * libc/time/clock.c: Clarify documentation of return value when no
6377 measurement is available.
6378
bc707cbd
JJ
63792003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
6380
6381 * libm/configure.in: Check libm_machine_dir, not machine_dir.
6382 * libm/configure: Regenerate.
6383 * libm/Makefile.in: Ditto.
6384
f4b10605
JR
63852003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
6386
6387 * libc/machine/sh/strncpy.S: New file.
6388 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
6389 * libc/machine/sh/Makefile.in: Regenerate.
6390
ce044d8f
JW
63912003-09-11 James E Wilson <wilson@specifixinc.com>
6392
6393 * MAINTAINERS: Update my e-mail address.
6394
080ef411
CV
63952003-09-10 Corinna Vinschen <corinna@vinschen.de>
6396
6397 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
6398
3a767b69
JJ
63992003-09-09 Jeff Johnston <jjohnstn@redhat.com>
6400
080ef411
CV
6401 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
6402 prototype.
6403 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
6404 _simdldcheck(). Also add unsigned cast for index variable in
6405 for loop using sizeof operators.
6406 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
6407 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
6408 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
6409 plus fix shift calculation for determining if there is a
6410 carry from word2.
3a767b69 6411
84154fcc
CV
64122003-09-09 Corinna Vinschen <corinna@vinschen.de>
6413
6414 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
6415 setgroupent for Cygwin.
6416
f1b15058
JJ
64172003-09-05 Jeff Johnston <jjohnstn@redhat.com>
6418
6419 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
6420 is different for _REENT_SMALL than when using regular reent
6421 struct.
6422
cf88c20f 64232003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 6424
b73263e4
BE
6425 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
6426 modern versions of GCC issue a warning.
6427
0a8fd4dc
BE
6428 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
6429 after continuation characters that induces a warning from modern
6430 versions of GCC.
6431
10a32423
BE
64322003-09-04 Ben Elliston <bje@wasabisystems.com>
6433
6434 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6435 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6436
ed027a53
JJ
64372003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6438
6439 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6440 * libc/stdlib/exit.c : Ditto.
6441 * libc/stdlib/on_exit.c: Ditto.
6442
880fa247
JJ
64432003-08-27 Corinna Vinschen <corinna@vinschen.de>
6444
6445 * libc/include/reent.h: Define stat64 as __stat64 when
6446 compiling newlib for Cygwin.
6447
54c1d7ea
JJ
64482003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6449
6450 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6451 __stat64 when compiling newlib.
6452
0eca0750
JJ
64532003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6454
6455 * libc/include/stdio.h: Allow the io64 function prototypes for
6456 Cygwin when compiling newlib.
6457 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6458 to expose the Cygwin struct __stat64 type.
6459 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6460 pointer.
6461 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6462
9d4aef19
CF
64632003-08-23 Christopher Faylor <cgf@redhat.com>
6464
6465 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6466 definition to fseeko64.
6467
9fc9e1c9
JJ
64682003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6469
6470 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6471 * libc/stdio: Globally remove/replace all references to fp->_data.
6472 Replace with _REENT or _GLOBAL_REENT where appropriate.
6473 * libc/stdio/asprintf.c: Ditto.
6474 * libc/stdio/fclose.c: Ditto.
6475 * libc/stdio/fvwrite.c: Ditto.
6476 * libc/stdio/makebuf.c: Ditto.
6477 * libc/stdio/refill.c: Ditto.
6478 * libc/stdio/local.h: Ditto.
6479 * libc/stdio/setvbuf.c: Ditto.
6480 * libc/stdio/sscanf.c: Ditto.
6481 * libc/stdio/stdio.c: Ditto.
6482 * libc/stdio/ungetc.c: Ditto.
6483 * libc/stdio/vfscanf.c: Ditto.
6484 * libc/stdio/vsscanf.c: Ditto.
6485 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6486 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6487 * libc/stdio/vsnprintf.c: Ditto.
6488 * libc/stdio/vsprintf.c: Ditto.
6489 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6490 instead of _REENT to walk file list.
6491 * libc/stdio/fflush.c: Ditto.
6492 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6493 version call reentrant version with _REENT argument.
6494 * libc/stdio/fsetpos.c: Ditto.
6495 * libc/stdio/fseek.c: Ditto.
6496 * libc/stdio/fseeko.c: Ditto.
6497 * libc/stdio/ftell.c: Ditto.
6498 * libc/stdio/ftello.c: Ditto.
6499 * libc/stdio/freopen.c: Ditto.
6500 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6501 new files to chain. Also use _GLOBAL_REENT pointer for
6502 cleaning up.
6503 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6504 * libc/stdio/siprintf.c: Ditto.
6505 * libc/stdio/iprintf.c: Ditto.
6506 * libc/stdio/fprintf.c: Ditto.
6507 * libc/stdio/printf.c: Ditto.
6508 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6509 * libc/stdio/sprintf.c: Ditto.
6510 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6511 * libc/stdio/rewind.c: Call _fseek_r directly.
6512 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6513 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6514 data pointer.
6515 (get_arg): Add extra struct _reent pointer argument.
6516 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6517 to fp->_data.
6518 * libc/stdio64/fopen64.c: Ditto.
6519 * libc/stdio64/freopen64.c: Ditto.
6520 * libc/stdio64/fsetpos64.c: Ditto.
6521 * libc/stdio64/ftello64.c: Ditto.
6522 * libc/stdio64/local64.h: Ditto.
6523 * libc/stdio64/stdio64.c: Ditto.
6524 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6525 _fstat64_r for the meantime.
6526
8f021114
JJ
65272003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6528
6529 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6530 overflow detection.
17c0c97d 6531
db979bb4 65322003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6533
db979bb4
JJ
6534 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6535 extern "C".
6536
6efbdc7d
JJ
65372003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6538
6539 * libc/include/math.h: Add prototypes for __signbitf and
6540 __signbitd.
6541
e895fc20
JJ
65422003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6543
6544 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6545 correct type of conversion when dealing with EUCJP or SJIS.
6546 * libc/ctype/iswblank.c: Ditto.
6547 * libc/ctype/iswcntrl.c: Ditto.
6548 * libc/ctype/iswprint.c: Ditto.
6549 * libc/ctype/iswpunct.c: Ditto.
6550 * libc/ctype/iswspace.c: Ditto.
6551 * libc/ctype/towlower.c: Ditto.
6552 * libc/ctype/towupper.c: Ditto.
6553
0302dfe5
NC
65542003-07-31 Nick Clifton <nickc@redhat.com>
6555
6556 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6557 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6558 Remove reference to deleted v850ea port.
6559 * configure.host: Remove reference to deleted v850ea port.
6560 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6561 prevents the ctbp system register from being initialised.
6562
42de5592
JJ
65632003-07-29 Honda Hiroki <hhonda@ipflex.com>
6564
6565 * libc/stdio/vfprintf.c: Set output size to 1 when
6566 we have %f format with precision 0 and # flag not specified.
6567
e5de27b6
AO
65682003-07-29 Alexandre Oliva <aoliva@redhat.com>
6569
6570 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6571 .am33_2.
6572
3c98a593
CF
65732003-07-25 Christopher Faylor <cgf@redhat.com>
6574
6575 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6576
e222bf67
CF
65772003-07-25 Christopher Faylor <cgf@redhat.com>
6578
6579 * configure.host: Find cygwin include directory, when appropriate.
6580
03536757
CF
65812003-07-24 Christopher Faylor <cgf@redhat.com>
6582
6583 * libc/stdio64/fdopen64.c: New file.
6584 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6585 * libc/stdio64/Makefile.in: Regenerate.
6586 * libc/include/stdio.h (fdopen64): Define.
6587 * libc/include/stdio.h (_fdopen64_r): Ditto.
6588
18072a4f
AO
65892003-07-10 Alexandre Oliva <aoliva@redhat.com>
6590
6591 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6592 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6593 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6594 restore callee-saved FP registers.
6595
e0bec12f
JR
65962003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6597
6598 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6599 for __sh__.
6600 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6601 truncate.c.
6602 * libc/sys/sh/Makefile.in: Regenerate.
6603 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6604 * libc/sys/sh/ftruncate.c: New file.
6605 * libc/sys/sh/truncate.c: Likewise.
6606
03d65dd9
AO
66072003-07-09 Alexandre Oliva <aoliva@redhat.com>
6608
6609 * libc/include/math.h (nan, nanf): Update prototype to C99.
6610 * libm/common/s_nan.c (nan): Likewise.
6611 * libm/common/s_nanf.c (nanf, nan): Likewise.
6612 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6613
74aa9d7d
JJ
66142003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6615
6616 * libc/include/stdbool.h: Removed as this is defined by gcc.
6617
0a447ef3
JJ
66182003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6619
6620 * libc/include/stdbool.h: New header file defined by C99.
6621
282eff9a
JJ
66222003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6623
6624 * libc/include/sys/types.h (int8_t): Make signed.
6625
4e989b11
JJ
66262003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6627
6628 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6629
07b40cf8
JJ
66302003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6631
6632 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6633 on if we actually created the shared memory file exclusively.
6634
7daa7891
JJ
66352003-06-27 Joe Vornehm <joev@mitre.org>
6636
6637 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6638 comparisons to account for unsigned internal value w.
6639
51fa7562
JJ
66402003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6641
6642 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6643 wrbuf for a non-creating open.
6644
b8f7ea5c
JJ
66452003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6646
6647 * libc/machine/h8300/setarch.h: New.
6648 * libc/machine/h8300/memcpy.S: Use it.
6649 * libc/machine/h8300/memset.S: Likewise.
6650 * libc/machine/h8300/reg_memcpy.S: Likewise.
6651 * libc/machine/h8300/reg_memset.S: Likewise.
6652 * libc/machine/h8300/setjmp.S: Likewise.
6653 * libc/machine/h8300/strcmp.S: Likewise.
6654
6d7ea52a
RS
66552003-06-24 Richard Sandiford <rsandifo@redhat.com>
6656
6657 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6658 to atexit().
6659
5a74f2aa
JJ
66602003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6661
6662 * configure.host (iq2000): Add tabs.
6663
8266e478
JJ
66642003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6665
6666 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6667 to handle latest on_exit change.
6668 * libc/sys/linux/Makefile.am: Remove special compilation
6669 for malloc.c and mcheck.c.
6670 * libc/sys/linux/Makefile.in: Regenerated.
6671 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6672 after including <features.h>.
6673 * libc/sys/linux/mcheck.c: Ditto.
6674 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6675 for <features.h>.
6676 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6677 add -DNOT_IN_libc to C flags.
6678 * libc/sys/linux/intl/Makefile.in: Regenerated.
6679 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6680 * libc/sys/linux/linuxthreads/semaphore.h: Include
6681 <bits/pthreadtypes.h>.
6682 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6683 including <features.h>.
6684 * libc/sys/linux/sys/lock.h: Ditto.
6685
0efe117b
NC
66862003-06-11 Nick Clifton <nickc@redhat.com>
6687
6688 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6689 _on_exit_args_ptr.
6690
bfdfd7e6 66912003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6692 Anthony Green <green@redhat.com>
17c0c97d 6693
bfdfd7e6
AG
6694 * configure.host: Add iq2000 support.
6695 * newlib/libc/include/machine/ieeefp.h: Ditto.
6696 * newlib/libc/include/machine/setjmp.h: Ditto.
6697 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6698 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6699 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6700 libc/machine/iq2000/Makefile.in: New files.
6701
d9e4104b
RS
67022003-06-10 Richard Sandiford <rsandifo@redhat.com>
6703
6704 * libc/sys/h8300hms/setarch.h: New file.
6705 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6706 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6707 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6708 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6709
729d1ff9
JJ
67102003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6711
ba3ccd63
EB
6712 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6713 definition.
6714 * libc/argz/argz_add_sep.c: Ditto.
6715 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6716 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6717 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6718 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6719 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6720 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6721 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6722 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6723 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6724 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6725 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6726 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6727 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6728 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6729 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6730 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6731 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6732 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6733 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6734 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6735
75d7d177 67362003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6737
75d7d177
NC
6738 * libc/include/sys/reent.h (struct _on_exit_args): New
6739 structure containing fields used by the on_exit() function.
ba3ccd63 6740 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6741 _REENT_SMALL do his via a pointer that is initialised when
6742 needed.
ba3ccd63 6743 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6744 structure, if one has been allocated.
ba3ccd63 6745 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6746 _fntypes field.
ba3ccd63 6747 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6748 _on_exit_args structure. For _REENT_SMALL, allocate a
6749 structure if one does not exist.
ba3ccd63 6750 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6751 structure.
6752
2129f283
JJ
67532003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6754
6755 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6756 * libc/sys/linux/net/Makefile.in: Regenerated.
6757
bf3bcac2
JJ
67582003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6759
6760 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6761 * libc/reent/fcntlr.c: Ditto.
6762 * libc/reent/fstat64r.c: Ditto.
6763 * libc/reent/linkr.c: Ditto.
6764 * libc/reent/lseek64r.c: Ditto.
6765 * libc/reent/lseekr.c: Ditto.
6766 * libc/reent/openr.c: Ditto.
6767 * libc/reent/readr.c: Ditto.
6768 * libc/reent/reent.c: Ditto.
6769 * libc/reent/sbrkr.c: Ditto.
6770 * libc/reent/signalr.c: Ditto.
6771 * libc/reent/signgam.c: Ditto.
6772 * libc/reent/statr.c: Ditto.
6773 * libc/reent/timer.c: Ditto.
6774 * libc/reent/unlinkr.c: Ditto.
6775 * libc/reent/writer.c: Ditto.
6776 * libc/syscalls/sysclose.c: Ditto.
6777 * libc/syscalls/sysexecve.c: Ditto.
6778 * libc/syscalls/sysfcntl.c: Ditto.
6779 * libc/syscalls/sysfork.c: Ditto.
6780 * libc/syscalls/sysfstat.c: Ditto.
6781 * libc/syscalls/sysgetpid.c: Ditto.
6782 * libc/syscalls/sysgettod.c: Ditto.
6783 * libc/syscalls/syskill.c: Ditto.
6784 * libc/syscalls/syslink.c: Ditto.
6785 * libc/syscalls/syslseek.c: Ditto.
6786 * libc/syscalls/sysopen.c: Ditto.
6787 * libc/syscalls/sysread.c: Ditto.
6788 * libc/syscalls/syssbrk.c: Ditto.
6789 * libc/syscalls/sysstat.c: Ditto.
6790 * libc/syscalls/systimes.c: Ditto.
6791 * libc/syscalls/sysunlink.c: Ditto.
6792 * libc/syscalls/syswait.c: Ditto.
6793 * libc/syscalls/syswrite.c: Ditto.
6794
702ceb23
JJ
67952003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6796
6797 * libc/time/tzset_r.c: Change local variables that are
6798 set via sscanf using the %h format specifier to be unsigned short
6799 instead of int.
6800
102861c9
JJ
68012003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6802
6803 * configure.host: Allow i[34567]86 variant.
6804 * configure.in: Likewise.
6805 * README: Likewise to the docs.
6806 * configure: Regenerated.
6807 * Makefile.in: Ditto.
6808
b359e82c
JJ
68092003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6810 Tom Fitzsimmons <fitzsim@redhat.com>
6811
6812 * configure.in: Add iconvdata support for x86 linux.
6813 * configure: Regenerated.
17c0c97d 6814 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6815 library, iconv, and linuxthreads support.
6816 * libc/sys/linux/configure.in: Ditto.
6817 * libc/sys/linux/Makefile.in: Regenerated.
6818 * libc/sys/linux/configure: Ditto.
6819 * iconvdata/EUC-JP.irreversible: New file.
6820 * iconvdata/Makefile.am: Ditto.
6821 * iconvdata/Makefile.in: Ditto.
6822 * iconvdata/SJIS.irreversible: Ditto.
6823 * iconvdata/aclocal.m4: Ditto.
6824 * iconvdata/configure: Ditto.
6825 * iconvdata/configure.in: Ditto.
6826 * iconvdata/dummy.c: Ditto.
6827 * iconvdata/euc-jp.c: Ditto.
6828 * iconvdata/gconv-modules: Ditto.
6829 * iconvdata/jis0201.c: Ditto.
6830 * iconvdata/jis0201.h: Ditto.
6831 * iconvdata/jis0208.c: Ditto.
6832 * iconvdata/jis0208.h: Ditto.
6833 * iconvdata/jis0212.c: Ditto.
6834 * iconvdata/jis0212.h: Ditto.
6835 * iconvdata/sjis.c: Ditto.
6836 * libc/include/errno.h: Protect definition of error_t.
6837 * libc/sys/linux/gethostid.c: New file.
6838 * libc/sys/linux/sethostid.c: Ditto.
6839 * libc/sys/linux/dl/Makefile.am: Ditto.
6840 * libc/sys/linux/dl/Makefile.in: Ditto.
6841 * libc/sys/linux/dl/abi-tag.h: Ditto.
6842 * libc/sys/linux/dl/atomicity.h: Ditto.
6843 * libc/sys/linux/dl/dl-addr.c: Ditto.
6844 * libc/sys/linux/dl/dl-cache.c: Ditto.
6845 * libc/sys/linux/dl/dl-cache.h: Ditto.
6846 * libc/sys/linux/dl/dl-close.c: Ditto.
6847 * libc/sys/linux/dl/dl-debug.c: Ditto.
6848 * libc/sys/linux/dl/dl-deps.c: Ditto.
6849 * libc/sys/linux/dl/dl-dst.h: Ditto.
6850 * libc/sys/linux/dl/dl-error.c: Ditto.
6851 * libc/sys/linux/dl/dl-fini.c: Ditto.
6852 * libc/sys/linux/dl/dl-init.c: Ditto.
6853 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6854 * libc/sys/linux/dl/dl-libc.c: Ditto.
6855 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6856 * libc/sys/linux/dl/dl-load.c: Ditto.
6857 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6858 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6859 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6860 * libc/sys/linux/dl/dl-misc.c: Ditto.
6861 * libc/sys/linux/dl/dl-object.c: Ditto.
6862 * libc/sys/linux/dl/dl-open.c: Ditto.
6863 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6864 * libc/sys/linux/dl/dl-profile.c: Ditto.
6865 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6866 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6867 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6868 * libc/sys/linux/dl/dl-support.c: Ditto.
6869 * libc/sys/linux/dl/dl-sym.c: Ditto.
6870 * libc/sys/linux/dl/dl-version.c: Ditto.
6871 * libc/sys/linux/dl/dlfcn.h: Ditto.
6872 * libc/sys/linux/dl/do-lookup.h: Ditto.
6873 * libc/sys/linux/dl/do-rel.h: Ditto.
6874 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6875 * libc/sys/linux/dl/kernel-features.h: Ditto.
6876 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6877 * libc/sys/linux/dl/libintl.h: Ditto.
6878 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6879 * libc/sys/linux/dl/unsecvars.h: Ditto.
6880 * libc/sys/linux/iconv/Makefile.am: Ditto.
6881 * libc/sys/linux/iconv/Makefile.in: Ditto.
6882 * libc/sys/linux/iconv/categories.def: Ditto.
6883 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6884 * libc/sys/linux/iconv/gconv.c: Ditto.
6885 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6886 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6887 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6888 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6889 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6890 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6891 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6892 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6893 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6894 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6895 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6896 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6897 * libc/sys/linux/iconv/hash-string.h: Ditto.
6898 * libc/sys/linux/iconv/iconv.c: Ditto.
6899 * libc/sys/linux/iconv/iconv.h: Ditto.
6900 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6901 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6902 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6903 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6904 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6905 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6906 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6907 * libc/sys/linux/iconv/loop.c: Ditto.
6908 * libc/sys/linux/iconv/skeleton.c: Ditto.
6909 * libc/sys/linux/iconv/strtab.c: Ditto.
6910 * libc/sys/linux/include/dl-hash.h: Ditto.
6911 * libc/sys/linux/include/dlfcn.h: Ditto.
6912 * libc/sys/linux/include/fnmatch.h: Ditto.
6913 * libc/sys/linux/include/gconv.h: Ditto.
6914 * libc/sys/linux/include/glob.h: Ditto.
6915 * libc/sys/linux/include/hesiod.h: Ditto.
6916 * libc/sys/linux/include/ifaddrs.h: Ditto.
6917 * libc/sys/linux/include/libc_private.h: Ditto.
6918 * libc/sys/linux/include/link.h: Ditto.
6919 * libc/sys/linux/include/namespace.h: Ditto.
6920 * libc/sys/linux/include/netconfig.h: Ditto.
6921 * libc/sys/linux/include/netdb.h: Ditto.
6922 * libc/sys/linux/include/nsswitch.h: Ditto.
6923 * libc/sys/linux/include/regex.h: Ditto.
6924 * libc/sys/linux/include/resolv.h: Ditto.
6925 * libc/sys/linux/include/rune.h: Ditto.
6926 * libc/sys/linux/include/runetype.h: Ditto.
6927 * libc/sys/linux/include/semaphore.h: Ditto.
6928 * libc/sys/linux/include/setlocale.h: Ditto.
6929 * libc/sys/linux/include/un-namespace.h: Ditto.
6930 * libc/sys/linux/include/wordexp.h: Ditto.
6931 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6932 * libc/sys/linux/include/arpa/inet.h: Ditto.
6933 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6934 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6935 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6936 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6937 * libc/sys/linux/include/net/bpf.h: Ditto.
6938 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6939 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6940 * libc/sys/linux/include/net/bridge.h: Ditto.
6941 * libc/sys/linux/include/net/ethernet.h: Ditto.
6942 * libc/sys/linux/include/net/fddi.h: Ditto.
6943 * libc/sys/linux/include/net/if.h: Ditto.
6944 * libc/sys/linux/include/net/if_arc.h: Ditto.
6945 * libc/sys/linux/include/net/if_arp.h: Ditto.
6946 * libc/sys/linux/include/net/if_atm.h: Ditto.
6947 * libc/sys/linux/include/net/if_dl.h: Ditto.
6948 * libc/sys/linux/include/net/if_gif.h: Ditto.
6949 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6950 * libc/sys/linux/include/net/if_llc.h: Ditto.
6951 * libc/sys/linux/include/net/if_media.h: Ditto.
6952 * libc/sys/linux/include/net/if_mib.h: Ditto.
6953 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6954 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6955 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6956 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6957 * libc/sys/linux/include/net/if_stf.h: Ditto.
6958 * libc/sys/linux/include/net/if_tap.h: Ditto.
6959 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6960 * libc/sys/linux/include/net/if_tun.h: Ditto.
6961 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6962 * libc/sys/linux/include/net/if_types.h: Ditto.
6963 * libc/sys/linux/include/net/if_var.h: Ditto.
6964 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6965 * libc/sys/linux/include/net/intrq.h: Ditto.
6966 * libc/sys/linux/include/net/iso88025.h: Ditto.
6967 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6968 * libc/sys/linux/include/net/netisr.h: Ditto.
6969 * libc/sys/linux/include/net/pfil.h: Ditto.
6970 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6971 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6972 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6973 * libc/sys/linux/include/net/radix.h: Ditto.
6974 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6975 * libc/sys/linux/include/net/route.h: Ditto.
6976 * libc/sys/linux/include/net/slcompress.h: Ditto.
6977 * libc/sys/linux/include/net/slip.h: Ditto.
6978 * libc/sys/linux/include/net/zlib.h: Ditto.
6979 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6980 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6981 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6982 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6983 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6984 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6985 * libc/sys/linux/include/netinet/in.h: Ditto.
6986 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6987 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6988 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6989 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6990 * libc/sys/linux/include/netinet/ip.h: Ditto.
6991 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6992 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6993 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6994 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6995 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6996 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6997 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6998 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6999 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
7000 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
7001 * libc/sys/linux/include/netinet/tcp.h: Ditto.
7002 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
7003 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
7004 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
7005 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
7006 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
7007 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
7008 * libc/sys/linux/include/netinet/udp.h: Ditto.
7009 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
7010 * libc/sys/linux/include/netinet6/ah.h: Ditto.
7011 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
7012 * libc/sys/linux/include/netinet6/esp.h: Ditto.
7013 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
7014 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
7015 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
7016 * libc/sys/linux/include/netinet6/in6.h: Ditto.
7017 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
7018 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
7019 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
7020 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
7021 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
7022 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
7023 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
7024 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
7025 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
7026 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
7027 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
7028 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
7029 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
7030 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
7031 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
7032 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
7033 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
7034 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
7035 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
7036 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
7037 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
7038 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
7039 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
7040 * libc/sys/linux/include/netns/idp.h: Ditto.
7041 * libc/sys/linux/include/netns/idp_var.h: Ditto.
7042 * libc/sys/linux/include/netns/ns.h: Ditto.
7043 * libc/sys/linux/include/netns/ns_error.h: Ditto.
7044 * libc/sys/linux/include/netns/ns_if.h: Ditto.
7045 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
7046 * libc/sys/linux/include/netns/sp.h: Ditto.
7047 * libc/sys/linux/include/netns/spidp.h: Ditto.
7048 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
7049 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
7050 * libc/sys/linux/include/netns/spp_var.h: Ditto.
7051 * libc/sys/linux/include/rpc/Makefile: Ditto.
7052 * libc/sys/linux/include/rpc/auth.h: Ditto.
7053 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
7054 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
7055 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
7056 * libc/sys/linux/include/rpc/clnt.h: Ditto.
7057 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
7058 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
7059 * libc/sys/linux/include/rpc/des.h: Ditto.
7060 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
7061 * libc/sys/linux/include/rpc/nettype.h: Ditto.
7062 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
7063 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
7064 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
7065 * libc/sys/linux/include/rpc/raw.h: Ditto.
7066 * libc/sys/linux/include/rpc/rpc.h: Ditto.
7067 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
7068 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
7069 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
7070 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
7071 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
7072 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
7073 * libc/sys/linux/include/rpc/svc.h: Ditto.
7074 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
7075 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
7076 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
7077 * libc/sys/linux/include/rpc/types.h: Ditto.
7078 * libc/sys/linux/include/rpc/xdr.h: Ditto.
7079 * libc/sys/linux/intl/Makefile.am: Ditto.
7080 * libc/sys/linux/intl/Makefile.in: Ditto.
7081 * libc/sys/linux/intl/bindtextdom.c: Ditto.
7082 * libc/sys/linux/intl/catgets.c: Ditto.
7083 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
7084 * libc/sys/linux/intl/config.h: Ditto.
7085 * libc/sys/linux/intl/dcgettext.c: Ditto.
7086 * libc/sys/linux/intl/dcigettext.c: Ditto.
7087 * libc/sys/linux/intl/dcngettext.c: Ditto.
7088 * libc/sys/linux/intl/dgettext.c: Ditto.
7089 * libc/sys/linux/intl/dngettext.c: Ditto.
7090 * libc/sys/linux/intl/explodename.c: Ditto.
7091 * libc/sys/linux/intl/finddomain.c: Ditto.
7092 * libc/sys/linux/intl/gettext.c: Ditto.
7093 * libc/sys/linux/intl/gettext.h: Ditto.
7094 * libc/sys/linux/intl/gettextP.h: Ditto.
7095 * libc/sys/linux/intl/hash-string.h: Ditto.
7096 * libc/sys/linux/intl/l10nflist.c: Ditto.
7097 * libc/sys/linux/intl/loadinfo.h: Ditto.
7098 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
7099 * libc/sys/linux/intl/locale.alias: Ditto.
7100 * libc/sys/linux/intl/localealias.c: Ditto.
7101 * libc/sys/linux/intl/ngettext.c: Ditto.
7102 * libc/sys/linux/intl/open_catalog.c: Ditto.
7103 * libc/sys/linux/intl/plural.c: Ditto.
7104 * libc/sys/linux/intl/plural.y: Ditto.
7105 * libc/sys/linux/intl/stpcpy.c: Ditto.
7106 * libc/sys/linux/intl/textdomain.c: Ditto.
7107 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
7108 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
7109 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
7110 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
7111 * libc/sys/linux/linuxthreads/attr.c: Ditto.
7112 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
7113 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
7114 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
7115 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
7116 * libc/sys/linux/linuxthreads/config.h: Ditto.
7117 * libc/sys/linux/linuxthreads/configure: Ditto.
7118 * libc/sys/linux/linuxthreads/configure.in: Ditto.
7119 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
7120 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
7121 * libc/sys/linux/linuxthreads/events.c: Ditto.
7122 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
7123 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
7124 * libc/sys/linux/linuxthreads/internals.h: Ditto.
7125 * libc/sys/linux/linuxthreads/join.c: Ditto.
7126 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
7127 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
7128 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
7129 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
7130 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
7131 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
7132 * libc/sys/linux/linuxthreads/manager.c: Ditto.
7133 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
7134 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
7135 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
7136 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
7137 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
7138 * libc/sys/linux/linuxthreads/prio.c: Ditto.
7139 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
7140 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
7141 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
7142 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
7143 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
7144 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
7145 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
7146 * libc/sys/linux/linuxthreads/queue.h: Ditto.
7147 * libc/sys/linux/linuxthreads/reent.c: Ditto.
7148 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
7149 * libc/sys/linux/linuxthreads/restart.h: Ditto.
7150 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
7151 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
7152 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
7153 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
7154 * libc/sys/linux/linuxthreads/signals.c: Ditto.
7155 * libc/sys/linux/linuxthreads/specific.c: Ditto.
7156 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
7157 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
7158 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
7159 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
7160 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7161 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
7162 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7163 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7164 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7165 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7166 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7167 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7168 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7169 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7170 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7171 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7172 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7173 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7174 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7175 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7176 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7177 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7178 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7179 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7180 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7181 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7182 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7183 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7184 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7185 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7186 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7187 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7188 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7189 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7190 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7191 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7192 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7193 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7194 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7195 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7196 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7197 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
7198 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
7199 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
7200 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
7201 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
7202 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
7203 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
7204 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
7205 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
7206 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
7207 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
7208 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
7209 * libc/sys/linux/linuxthreads/unload.c: Ditto.
7210 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
7211 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
7212 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
7213 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
7214 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
7215 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
7216 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
7217 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
7218 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
7219 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
7220 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
7221 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
7222 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
7223 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
7224 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
7225 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
7226 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
7227 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
7228 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
7229 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
7230 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
7231 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
7232 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
7233 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
7234 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
7235 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
7236 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
7237 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
7238 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
7239 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
7240 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
7241 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
7242 * libc/sys/linux/net/Makefile.am: Ditto.
7243 * libc/sys/linux/net/Makefile.in: Ditto.
7244 * libc/sys/linux/net/addr2ascii.3: Ditto.
7245 * libc/sys/linux/net/addr2ascii.c: Ditto.
7246 * libc/sys/linux/net/ascii2addr.c: Ditto.
7247 * libc/sys/linux/net/base64.c: Ditto.
7248 * libc/sys/linux/net/bindresvport.c: Ditto.
7249 * libc/sys/linux/net/byteorder.3: Ditto.
7250 * libc/sys/linux/net/ether_addr.c: Ditto.
7251 * libc/sys/linux/net/ethers.3: Ditto.
7252 * libc/sys/linux/net/getaddrinfo.3: Ditto.
7253 * libc/sys/linux/net/getaddrinfo.c: Ditto.
7254 * libc/sys/linux/net/gethostbydns.c: Ditto.
7255 * libc/sys/linux/net/gethostbyht.c: Ditto.
7256 * libc/sys/linux/net/gethostbyname.3: Ditto.
7257 * libc/sys/linux/net/gethostbynis.c: Ditto.
7258 * libc/sys/linux/net/gethostnamadr.c: Ditto.
7259 * libc/sys/linux/net/getifaddrs.3: Ditto.
7260 * libc/sys/linux/net/getifaddrs.c: Ditto.
7261 * libc/sys/linux/net/getipnodebyname.3: Ditto.
7262 * libc/sys/linux/net/getnameinfo.3: Ditto.
7263 * libc/sys/linux/net/getnameinfo.c: Ditto.
7264 * libc/sys/linux/net/getnetbydns.c: Ditto.
7265 * libc/sys/linux/net/getnetbyht.c: Ditto.
7266 * libc/sys/linux/net/getnetbynis.c: Ditto.
7267 * libc/sys/linux/net/getnetent.3: Ditto.
7268 * libc/sys/linux/net/getnetnamadr.c: Ditto.
7269 * libc/sys/linux/net/getproto.c: Ditto.
7270 * libc/sys/linux/net/getprotoent.3: Ditto.
7271 * libc/sys/linux/net/getprotoent.c: Ditto.
7272 * libc/sys/linux/net/getprotoname.c: Ditto.
7273 * libc/sys/linux/net/getservbyname.c: Ditto.
7274 * libc/sys/linux/net/getservbyport.c: Ditto.
7275 * libc/sys/linux/net/getservent.3: Ditto.
7276 * libc/sys/linux/net/getservent.c: Ditto.
7277 * libc/sys/linux/net/herror.c: Ditto.
7278 * libc/sys/linux/net/hesiod.3: Ditto.
7279 * libc/sys/linux/net/hesiod.c: Ditto.
7280 * libc/sys/linux/net/if_indextoname.3: Ditto.
7281 * libc/sys/linux/net/ifname.c: Ditto.
7282 * libc/sys/linux/net/inet.3: Ditto.
7283 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
7284 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
7285 * libc/sys/linux/net/inet_addr.c: Ditto.
7286 * libc/sys/linux/net/inet_lnaof.c: Ditto.
7287 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
7288 * libc/sys/linux/net/inet_net.3: Ditto.
7289 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
7290 * libc/sys/linux/net/inet_net_pton.c: Ditto.
7291 * libc/sys/linux/net/inet_neta.c: Ditto.
7292 * libc/sys/linux/net/inet_netof.c: Ditto.
7293 * libc/sys/linux/net/inet_network.c: Ditto.
7294 * libc/sys/linux/net/inet_ntoa.c: Ditto.
7295 * libc/sys/linux/net/inet_ntop.c: Ditto.
7296 * libc/sys/linux/net/inet_pton.c: Ditto.
7297 * libc/sys/linux/net/innetgr-stub.c: Ditto.
7298 * libc/sys/linux/net/ip6opt.c: Ditto.
7299 * libc/sys/linux/net/iso_addr.3: Ditto.
7300 * libc/sys/linux/net/iso_addr.c: Ditto.
7301 * libc/sys/linux/net/issetugid-stub.c: Ditto.
7302 * libc/sys/linux/net/linkaddr.3: Ditto.
7303 * libc/sys/linux/net/linkaddr.c: Ditto.
7304 * libc/sys/linux/net/map_v4v6.c: Ditto.
7305 * libc/sys/linux/net/name6.c: Ditto.
7306 * libc/sys/linux/net/namespace.h: Ditto.
7307 * libc/sys/linux/net/ns.3: Ditto.
7308 * libc/sys/linux/net/ns_addr.c: Ditto.
7309 * libc/sys/linux/net/ns_name.c: Ditto.
7310 * libc/sys/linux/net/ns_netint.c: Ditto.
7311 * libc/sys/linux/net/ns_ntoa.c: Ditto.
7312 * libc/sys/linux/net/ns_parse.c: Ditto.
7313 * libc/sys/linux/net/ns_print.c: Ditto.
7314 * libc/sys/linux/net/ns_ttl.c: Ditto.
7315 * libc/sys/linux/net/nsap_addr.c: Ditto.
7316 * libc/sys/linux/net/nsdispatch.3: Ditto.
7317 * libc/sys/linux/net/nsdispatch.c: Ditto.
7318 * libc/sys/linux/net/nslexer.c: Ditto.
7319 * libc/sys/linux/net/nslexer.l: Ditto.
7320 * libc/sys/linux/net/nsparser.c: Ditto.
7321 * libc/sys/linux/net/nsparser.h: Ditto.
7322 * libc/sys/linux/net/nsparser.y: Ditto.
7323 * libc/sys/linux/net/rcmd.3: Ditto.
7324 * libc/sys/linux/net/rcmd.c: Ditto.
7325 * libc/sys/linux/net/rcmdsh.3: Ditto.
7326 * libc/sys/linux/net/rcmdsh.c: Ditto.
7327 * libc/sys/linux/net/recv.c: Ditto.
7328 * libc/sys/linux/net/res_comp.c: Ditto.
7329 * libc/sys/linux/net/res_config.h: Ditto.
7330 * libc/sys/linux/net/res_data.c: Ditto.
7331 * libc/sys/linux/net/res_debug.c: Ditto.
7332 * libc/sys/linux/net/res_init.c: Ditto.
7333 * libc/sys/linux/net/res_mkquery.c: Ditto.
7334 * libc/sys/linux/net/res_mkupdate.c: Ditto.
7335 * libc/sys/linux/net/res_query.c: Ditto.
7336 * libc/sys/linux/net/res_send.c: Ditto.
7337 * libc/sys/linux/net/res_update.c: Ditto.
7338 * libc/sys/linux/net/resolver.3: Ditto.
7339 * libc/sys/linux/net/rthdr.c: Ditto.
7340 * libc/sys/linux/net/send.c: Ditto.
7341 * libc/sys/linux/net/un-namespace.h: Ditto.
7342 * libc/sys/linux/net/vars.c: Ditto.
7343 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
7344 * libc/sys/linux/stdlib/Makefile.am: Ditto.
7345 * libc/sys/linux/stdlib/Makefile.in: Ditto.
7346 * libc/sys/linux/stdlib/cclass.h: Ditto.
7347 * libc/sys/linux/stdlib/cname.h: Ditto.
7348 * libc/sys/linux/stdlib/collate.c: Ditto.
7349 * libc/sys/linux/stdlib/collate.h: Ditto.
7350 * libc/sys/linux/stdlib/collcmp.c: Ditto.
7351 * libc/sys/linux/stdlib/engine.c: Ditto.
7352 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
7353 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
7354 * libc/sys/linux/stdlib/glob.3: Ditto.
7355 * libc/sys/linux/stdlib/glob.c: Ditto.
7356 * libc/sys/linux/stdlib/reallocf.c: Ditto.
7357 * libc/sys/linux/stdlib/regcomp.c: Ditto.
7358 * libc/sys/linux/stdlib/regerror.c: Ditto.
7359 * libc/sys/linux/stdlib/regex.3: Ditto.
7360 * libc/sys/linux/stdlib/regex2.h: Ditto.
7361 * libc/sys/linux/stdlib/regexec.c: Ditto.
7362 * libc/sys/linux/stdlib/regfree.c: Ditto.
7363 * libc/sys/linux/stdlib/utils.h: Ditto.
7364 * libc/sys/linux/stdlib/wordexp.c: Ditto.
7365 * libc/sys/linux/stdlib/wordfree.c: Ditto.
7366 * libc/sys/linux/sys/dlfcn.h: Ditto.
7367 * libc/sys/linux/sys/elfclass.h: Ditto.
7368 * libc/sys/linux/sys/event.h: Ditto.
7369 * libc/sys/linux/sys/ioccom.h: Ditto.
7370 * libc/sys/linux/sys/libc-tsd.h: Ditto.
7371 * libc/sys/linux/sys/link.h: Ditto.
7372 * libc/sys/linux/sys/lock.h: Ditto.
7373 * libc/sys/linux/sys/param.h: Ditto.
7374 * libc/sys/linux/sys/socket.h: Ditto.
7375 * libc/sys/linux/sys/sockio.h: Ditto.
7376
17c0c97d 73772003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 7378
17c0c97d 7379 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
7380 normal mode
7381 * newlib/libc/machine/h8300/memset.S: Likewise
7382 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
7383 * newlib/lib/machine/h8300/reg_memset.S: Likewise
7384 * newlib/lib/machine/h8300/setjmp.S: Likewise
7385 * newlib/lib/machine/h8300/strcmp.S: Likewise
7386 * newlib/lib/sys/h8300hms/crt0.S: Likewise
7387
8a4b4764
CV
73882003-05-13 Corinna Vinschen <corinna@vinschen.de>
7389
7390 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
7391 * libc/include/stdio.h: Ditto.
7392 * libc/include/sys/config.h: Ditto.
7393 * libc/stdio/mktemp.c: Ditto.
7394
837e070f
CV
73952003-05-13 Corinna Vinschen <corinna@vinschen.de>
7396
7397 * libc/locale/ldpart.c (__part_load_locale): Substitute
7398 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
7399 * libc/search/hash.c (__hash_open): Ditto.
7400 (init_hash): Ditto.
7401 * libc/stdio/fseek.c (fseek): Ditto.
7402 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7403 * libc/stdio/mktemp.c (_gettemp): Ditto.
7404
b47fcdf0
CV
74052003-05-12 Corinna Vinschen <corinna@vinschen.de>
7406
7407 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
7408
11e3a520
CV
74092003-05-12 Corinna Vinschen <corinna@vinschen.de>
7410
7411 * configure.host: Accomodate removing the libc/sys/cygwin dir.
7412 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
7413 if __CYGWIN_USE_BIG_TYPES__ is set.
7414 * libc/search/hash.c (__hash_open): Ditto.
7415 (init_hash): Ditto.
7416 * libc/stdio/fseek.c (fseek): Ditto.
7417 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7418 * libc/stdio/mktemp.c (_gettemp): Ditto.
7419 * libc/sys/cygwin/Makefile.am: Remove.
7420 * libc/sys/cygwin/Makefile.in: Remove.
7421 * libc/sys/cygwin/aclocal.m4: Remove.
7422 * libc/sys/cygwin/configure: Remove.
7423 * libc/sys/cygwin/configure.in: Remove.
7424 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
7425 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
7426 directory.
7427 * libc/sys/cygwin/sys/param.h: Ditto.
7428 * libc/sys/cygwin/sys/utime.h: Ditto.
7429 * libc/sys/cygwin/sys/utmp.h: Ditto.
7430
d1b5e65b
CV
74312003-05-11 Corinna Vinschen <corinna@vinschen.de>
7432
7433 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7434
ec48a953
CF
74352003-05-10 Christopher Faylor <cgf@redhat.com>
7436
7437 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7438 64 bit inodes.
7439
a3cc5851
CV
74402003-05-09 Corinna Vinschen <corinna@vinschen.de>
7441
7442 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7443 Include cygwin/config.h instead.
7444
57ff95d3
JJ
74452003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7446
7447 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7448 all code with #ifdef __SPE__ test.
7449 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7450
cfd2c7be
CF
74512003-04-15 Chris January <chris@atomice.net>
7452
7453 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7454 Cygwin.
7455
6f48c0ae
JR
74562003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7457
7458 * libc/machine/sh/memset.S: Avoid clobbering volatile
7459 objects following a tiny to-be-set array in the same quadword.
7460
8f8d09c0
CV
74612001-04-09 Corinna Vinschen <corinna@vinschen.de>
7462
17c0c97d 7463 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
7464 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7465 * libc/string/Makefile.in: Regenerated.
7466 * libc/string/wcswidth.c: New file.
7467 * libc/string/wcwidth.c: New file.
7468 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7469
40c3b2d0
JR
7470Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7471
7472 * libc/machine/sh/memset.S: Fix problem with alloco region
7473 exceeding destination region for length >= 88 bytes, start
7474 & 0x16 == 0, end & 0x1f == 18.
7475
8ae6a3dd
CV
74762001-04-03 Corinna Vinschen <corinna@vinschen.de>
7477
7478 * libc/string/wcscoll.c: Fix comment.
7479
d122b1cc
CV
74802001-04-02 Corinna Vinschen <corinna@vinschen.de>
7481
7482 * libc/include/wchar.h: Add definition for wcscoll.
7483 * libc/string/Makefile.am: Add wcscoll.c.
7484 * libc/string/Makefile.in: Regenerated.
7485 * libc/string/wcscoll.c: New file.
17c0c97d 7486 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7487
31ee99a4
CV
74882003-04-01 Corinna Vinschen <corinna@vinschen.de>
7489
7490 * libc/stdio/sscanf.c: Update flags description.
7491 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7492 type.
7493 (__svfscanf_r): Add 'hh' and 'll' handling.
7494
d78045ee
CV
74952003-04-01 Corinna Vinschen <corinna@vinschen.de>
7496
7497 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7498 __d_position member to _off_t.
7499
e6bdc6c5
JJ
75002003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7501
7502 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7503 count all characters used to create number against maximum width.
7504 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7505
e65d559e
JJ
75062003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7507
7508 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7509 support.
7510 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7511 flag to support simulator only extensions.
7512
6b3bb52b
JJ
75132003-03-17 Bob Cassels <bcassels@abinitio.com>
7514
ba3ccd63 7515 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7516 then for end of string, so you can do wcschr(x, '\0').
7517
17c0c97d 75182003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7519
7520 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7521 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7522 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7523 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7524 * libc/stdio/fseeko.c (fseeko): Ditto.
7525 * libc/stdio/ftello.c (ftello): Ditto.
7526 * libc/stdio/stdio.c (__swrite): Ditto.
7527 (__sseek): Ditto.
7528 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7529 * libc/stdio/fseek.c (fseek): Ditto.
7530 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7531 * libc/stdio/ftell.c (ftell): Ditto.
7532 * libc/stdio/local.h: Declare __sseek using _off_t.
7533
150c2818
CV
75342003-03-09 Corinna Vinschen <corinna@vinschen.de>
7535
7536 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7537
2c440f9c
CV
75382003-03-09 Corinna Vinschen <corinna@vinschen.de>
7539
7540 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7541 Cygwin.
7542
f882fd15
CV
75432003-03-09 Corinna Vinschen <corinna@vinschen.de>
7544
7545 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7546 Cygwin.
7547 * libc/include/sys/stat.h: Ditto.
7548 * libc/include/sys/unistd.h: Ditto.
7549 * libc/sys/cygwin/sys/dirent.h: Ditto.
7550
01d61543
CF
75512003-03-07 Christopher Faylor <cgf@redhat.com>
7552
7553 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7554 declaration of getopt and avoid getopt_long declaration.
7555 * libc/sys/cygwin/include/unistd.h: Remove.
7556
5582abd2
CV
75572003-03-07 Corinna Vinschen <corinna@vinschen.de>
7558
7559 * configure.host: Define stdio64_dir for Cygwin.
7560 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7561 Cygwin 64bit file access requirements.
7562 Drop definition of f*64() functions when compiled for Cygwin.
7563 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7564 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7565 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7566
641da1eb
JJ
75672003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7568
7569 * libc/include/sys/reent.h: Remove extraneous _sig_func
7570 declaration.
7571
75722003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7573
7574 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7575 * libc/sys/h8300hms/Makefile.in: Regenerated.
7576 * libc/sys/h8300hms/close.S: New file.
7577 * libc/sys/h8300hms/fstat.S: Ditto.
7578 * libc/sys/h8300hms/lseek.S: Ditto.
7579 * libc/sys/h8300hms/open.S: Ditto.
7580 * libc/sys/h8300hms/stat.S: Ditto.
7581 * libc/sys/h8300hms/read.S: New file to replace read.c.
7582 * libc/sys/h8300hms/read.c: Removed.
7583 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7584 _lseek, _close, _stat, _fstat.
7585 * libc/sys/h8300hms/write.S: New file to replace write.c.
7586 * libc/sys/h8300hms/write.c: Removed.
7587
bac50d6b
NC
75882003-02-20 Nick Clifton <nickc@redhat.com>
7589
7590 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7591
bac50d6b
NC
7592 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7593
7594 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7595 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7596
7597 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7598
7599 * configure.host: set sys_dir, syscall_dir, and
7600 newlib_cflags for ep9312 host.
7601
ba3ccd63 7602 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7603 statements.
7604
12ee7037
JJ
76052003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7606
ba3ccd63 7607 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7608
1e810ba0
JJ
76092003-02-18 Christian Groessler <chris@groessler.org>
7610
7611 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7612 support z8001 segmented mode.
7613
b1ca765e
JJ
76142003-02-18 Earnie Boyd <earnie@users.sf.net>
7615
7616 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7617 with a NULL value.
7618
51a46b54
CF
76192003-02-10 Christopher Faylor <cgf@redhat.com>
7620
7621 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7622 Don't define some types under cygwin.
7623
313f1349
JJ
76242003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7625
17c0c97d 7626 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7627 option to allow disabling of syscalls being supplied in newlib.
7628 * aclocal.m4: Regenerated.
7629 * configure: Ditto.
7630 * configure.host: Add support of new configuration option and add
7631 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7632 * doc/aclocal.m4: Regenerated.
7633 * doc/configure: Ditto.
7634 * libc/*aclocal.m4: Ditto.
7635 * libc/*configure: Ditto.
7636 * libm/*aclocal.m4: Ditto.
7637 * libm/*configure: Ditto.
7638 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7639 is disabled.
7640 * libc/sys/arm/Makefile.in: Regenerated.
7641
5017a3da
JJ
76422003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7643
7644 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7645 -1 to be sure it cannot later match a valid file fd causing
7646 isatty() to return 1.
7647 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7648 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7649 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7650
ad36f7d1
JJ
76512003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7652
7653 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7654 buffer based on the precision, after we have processed the input value
7655 in a local buffer and know its relative magnitude.
ad36f7d1 7656
a74181ee
JJ
76572003-01-31 Michael Snyder <msnyder@redhat.com>
7658
7659 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7660 into registers r1 and r2, so that the simulator can distinguish
7661 this trap from a breakpoint trap. Copied from libgloss.
7662
b85498d4
JJ
76632003-01-31 Michael Snyder <msnyder@redhat.com>
7664
7665 * libc/sys/h8300hms/crt0.S (_start): Change local label
7666 from .loop to .Loop, so that ld and gdb will ignore it.
7667
4700b829
JJ
76682003-01-29 Jason Tishler <jason@tishler.net>
7669
7670 * libc/include/time.h: Declare nanosleep() under Cygwin.
7671
0127ae40
NC
76722003-01-24 Nick Clifton <nickc@redhat.com>
7673
7674 * Add sh2e support:
7675
7676 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7677
7678 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7679 * libc/machine/sh/setjmp.S: Likewise.
7680 * libc/include/machine/ieeefp.h: Likewise.
7681
8bbcd9a1
CV
76822003-01-24 Corinna Vinschen <corinna@vinschen.de>
7683
7684 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7685 for Cygwin.
7686
b8838e6f 76872003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7688
b8838e6f
JJ
7689 * libc/time/difftime.c : Typecast the result to double.
7690
f9e41155
CF
76912003-01-20 Christopher Faylor <cgf@redhat.com>
7692
7693 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7694
6b5a7988
NC
76952003-01-18 Nick Clifton <nickc@redhat.com>
7696
7697 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7698 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7699
c3e92877
JJ
77002003-01-16 Joel Sherrill <joel@OARcorp.com>
7701
ba3ccd63
EB
7702 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7703 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7704 constants are defined in each file in the shared versions in
7705 libc/include.
7706 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7707 autoconf can link programs.
7708 * libc/include/machine/types.h: Explicitly specify signed on
7709 intXX_t types to ensure they are signed.
c3e92877 7710
84510217
CF
77112003-01-14 Christopher Faylor <cgf@redhat.com>
7712
7713 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7714 extensions.
7715
b3934ab3
RS
77162003-01-08 Richard Sandiford <rsandifo@redhat.com>
7717
7718 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7719
be9c60e5
JJ
77202003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7721
7722 * libc/stdio/sprintf.c: fix typo
7723 * libc/stdio/vfprintf.c: fix typo
7724
d4c3a750
JJ
77252003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7726
7727 * configure.host: Support long double I/O for x86-linux.
7728 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7729 large enough to hold formatted result.
7730 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7731
b2294aaa
JJ
77322003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7733
7734 * Makefile.am: Add vasprintf.
7735 * Makefile.in: Regenerated.
7736
ea5e5daf
JJ
77372003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7738
7739 * asprintf.c (_asprintf_r): insure both declarations
7740 are the same.
7741
5c581eca
CF
77422002-12-28 Christopher Faylor <cgf@redhat.com>
7743
7744 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7745 than defining getopt directly.
7746
60b0838f
JJ
77472002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7748
7749 * NEWS: Update with 1.11.0 info.
7750 * README: Ditto.
7751 * acinclude.m4: Change version number to 1.11.0.
7752 * aclocal.m4: Regenerated.
7753 * configure: Ditto.
7754 * doc/aclocal.m4: Ditto.
7755 * doc/configure: Ditto.
7756 * libc/*/aclocal.m4: Ditto.
7757 * libc/*/configure: Ditto.
7758 * libc/libc.texinfo: Ditto.
7759 * libm/*/aclocal.m4: Ditto.
7760 * libm/*/configure: Ditto.
7761 * libm/libm.texinfo: Ditto.
7762 * libc/sys/linux/shared.ld: Add VERS_1.11.
7763
10501d57
JJ
77642002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7765
7766 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7767 Solutions to Red Hat Inc.
7768 * libc/machine/i386/f_atan2f.S: Ditto.
7769 * libc/machine/i386/f_exp.c: Ditto.
7770 * libc/machine/i386/f_expf.c: Ditto.
7771 * libc/machine/i386/f_frexp.S: Ditto.
7772 * libc/machine/i386/f_frexpf.S: Ditto.
7773 * libc/machine/i386/f_ldexp.S: Ditto.
7774 * libc/machine/i386/f_ldexpf.S: Ditto.
7775 * libc/machine/i386/f_log.S: Ditto.
7776 * libc/machine/i386/f_log10.S: Ditto.
7777 * libc/machine/i386/f_log10f.S: Ditto.
7778 * libc/machine/i386/f_logf.S: Ditto.
7779 * libc/machine/i386/f_pow.c: Ditto.
7780 * libc/machine/i386/f_powf.c: Ditto.
7781 * libc/machine/i386/f_tan.S: Ditto.
7782 * libc/machine/i386/f_tanf.S: Ditto.
7783 * libc/machine/i386/memchr.S: Ditto.
7784 * libc/machine/i386/memcmp.S: Ditto.
7785 * libc/machine/i386/memcpy.S: Ditto.
7786 * libc/machine/i386/memmove.S: Ditto.
7787 * libc/machine/i386/memset.S: Ditto.
7788 * libc/machine/i386/strchr.S: Ditto.
7789 * libc/machine/i386/strlen.S: Ditto.
7790 * libm/machine/i386/f_atan2.S: Ditto.
7791 * libm/machine/i386/f_atan2f.S: Ditto.
7792 * libm/machine/i386/f_exp.c: Ditto.
7793 * libm/machine/i386/f_expf.c: Ditto.
7794 * libm/machine/i386/f_frexp.S: Ditto.
7795 * libm/machine/i386/f_frexpf.S: Ditto.
7796 * libm/machine/i386/f_ldexp.S: Ditto.
7797 * libm/machine/i386/f_ldexpf.S: Ditto.
7798 * libm/machine/i386/f_log.S: Ditto.
7799 * libm/machine/i386/f_log10.S: Ditto.
7800 * libm/machine/i386/f_log10f.S: Ditto.
7801 * libm/machine/i386/f_logf.S: Ditto.
7802 * libm/machine/i386/f_pow.c: Ditto.
7803 * libm/machine/i386/f_powf.c: Ditto.
7804 * libm/machine/i386/f_tan.S: Ditto.
7805 * libm/machine/i386/f_tanf.S: Ditto.
7806
9b3f0d16
JJ
78072002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7808
7809 * libc/stdlib/environ.c: Update license to Red Hat.
7810 * libc/machine/hppa/setjmp.S: Ditto.
7811 * libm/test/Makefile.in: Ditto.
7812
d693ad84
JJ
78132002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7814
7815 * configure.host: Remove references to go32.
7816 * libc/sys/go32/*: Removed.
7817
7da92d15
JJ
78182002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7819
7820 * libc/include/sys/config.h: Change setting of INT_MAX
7821 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7822 __H8300S__. Also consolidate flag settings for these
7823 platforms.
7824
ea01c7f5
JJ
78252002-12-10 Joel Sherrill <joel@OARcorp.com>
7826
7827 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7828 for i386-rtems targets.
7829
c049dd5a
JJ
78302002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7831
7832 * libc/include/stdlib.h (strtof): New prototype (from C99).
7833 (strtodf): Changed from prototype to macro which redefines
7834 to strtof.
7835 * libc/stdlib/atof.c: Change documentation to refer to strtof
7836 instead of strtodf.
7837 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7838 strtodf.
7839 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7840 (strtof): New function.
7841 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7842 calls strtof.
7843
46a402e0
CF
78442002-11-27 Christopher Faylor <cgf@redhat.com>
7845
7846 * libc/string/memset.c (memset): Fix comment.
7847
b3cc01b0
CF
78482002-11-26 Christopher Faylor <cgf@redhat.com>
7849
7850 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7851 function.
7852
d90f3dc1
CF
78532002-11-25 Christopher Faylor <cgf@redhat.com>
7854
7855 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7856 variable, introduced below, everywhere.
7857
f24585c6
KH
78582002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7859
7860 * libc/string/memset.c (memset): Make it safe even if
7861 sizeof (int) = 2.
7862
2955fd76
JJ
78632002-11-22 Joe Buehler <jbuehler@hekimian.com>
7864
7865 * configure.in: Change check for libc/include in ${CC} to
7866 use an intermediate value so as to work with different shells.
7867 * configure: Regenerated.
7868 * Makefile.in: Ditto.
7869
40ce7368
JJ
78702002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7871
7872 * libc/sys/h8300hms/read.c: Add support for normal mode
7873 architecture.
7874
505746ad
JJ
78752002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7876
7877 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7878 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7879 when -mint32 is used.
7880
28ecb2f5
NC
78812002-11-18 Nick Clifton <nickc@redhat.com>
7882
7883 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7884
665b994e
JJ
78852002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7886
ba3ccd63
EB
7887 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7888 only issue one pass/fail message for a compile/link/execute.
7889 * testsuite/newlib.elix/elix.exp: New file.
7890 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7891
e91ec2e3
CF
78922002-11-06 Christopher Faylor <cgf@redhat.com>
7893
7894 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7895 * libc/stdlib/mlock.c: Ditto.
7896 * libc/stdlib/msize.c: Ditto.
7897 * libc/stdlib/msize.c: Ditto.
7898 * libc/stdlib/mtrim.c: Ditto.
7899 * libc/stdlib/valloc.c: Ditto.
7900
944772c7
JJ
79012002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7902
ba3ccd63
EB
7903 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7904 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7905
dd7ee147
JJ
79062002-11-07 Joel Sherrill <joel@OARcorp.com>
7907
ba3ccd63
EB
7908 * libc/sys/rtems/machine: New directory.
7909 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7910 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7911 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7912 targets more BSD like when installed without requiring files to
7913 be overwritten at install point when RTEMS itself is installed.
7914 * Makefile.am: Pick up system dependent machine .h files such as
7915 might be found on a BSD-ish system.
7916 * Makefile.in: Regenerate.
7917 * libc/include/machine/types.h: When on an RTEMS target, define a
7918 few BSD flavor types.
dd7ee147
JJ
7919
79202002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7921
7922 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7923
18cd62b7
JJ
79242002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7925
ba3ccd63
EB
7926 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7927 * libc/include/wctype.h: Ditto.
18cd62b7 7928
d2888812
JJ
79292002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7930
ba3ccd63
EB
7931 * libc/include/wchar.h: Add extern "C" specifier if C++.
7932 * libc/include/wctype.h: Ditto.
d2888812 7933
978ea3cf
JJ
79342002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7935
ba3ccd63
EB
7936 * testsuite/newlib.wctype/tiswctype.c: New test case.
7937 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7938
a42cf80a
JJ
79392002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7940
ba3ccd63
EB
7941 * libc/sys/linux/machine/i386/include/endian.h: New file.
7942 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7943
c9ccb1f2
JJ
79442002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7945
7946 * libm/machine/i386/aclocal.m4: Regenerated.
7947 * libm/machine/i386/configure: Ditto.
7948
94c5b430
JJ
79492002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7950
ba3ccd63
EB
7951 * testsuite/include/check.h: New header file to use with
7952 test cases.
7953 * testsuite/lib/newlib.exp: Add testsuite/include directory
7954 to list of header files to use.
7955 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7956 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7957
ccdae543
RS
79582002-10-11 Graham Stott <graham.stott@btinternet.com>
7959 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7960
7961 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7962 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7963 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7964
73972116
JS
79652002-10-07 Joel Sherrill <joel@OARcorp.com>
7966
7967 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7968 dummy programs.
7969
89e3fcba
JS
79702002-10-07 Joel Sherrill <joel@OARcorp.com>
7971
7972 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7973
54ec52e4
JS
79742002-10-07 Joel Sherrill <joel@OARcorp.com>
7975
7976 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7977 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7978 compile with current GNU tools.
7979
d389acba
JJ
79802002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7981
7982 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7983 the build library.
7984 * configure.in: Ditto.
7985 * Makefile.in: Regenerated.
7986 * configure: Ditto.
7987 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7988 for specifying configured libraries/directories.
7989 * libc/sys/linux/configure.in: Ditto.
7990 * libc/sys/linux/Makefile.in: Regenerated.
7991 * libc/sys/linux/configure: Ditto.
7992
af5a221f
JJ
79932002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7994
7995 * libc/include/reent.h: Update documentation at start of file.
7996
59a758bd
JW
79972002-09-27 Jim Wilson <wilson@redhat.com>
7998
7999 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
8000 the ctbp register.
8001
1ed3c86d
JJ
80022002-09-27 Jeff Johnston <jjohnstn@redhat.com>
8003
8004 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
8005 Also convert to EUCJP before using arrays. For values not in
8006 the conversion arrays, return WEOF.
8007 * libc/ctype/jp2uc.h: Change from one array to a number of
8008 arrays to account for the fact that the originating table
8009 is not contiguous for the input values since some are invalid.
8010
6e1dfd2d
JJ
80112002-09-24 Jeff Johnston <jjohnstn@redhat.com>
8012
8013 * libc/time/ctime.c: Fix prototype documentation.
8014
06f1353a
CV
80152002-09-24 Corinna Vinschen <corinna@vinschen.de>
8016
8017 * libc/include/sys/errno.h: Add EOVERFLOW.
8018
1e0e64c9
JJ
80192002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8020
8021 * libc/include/wctype.h: New file.
8022
1525d127
JJ
80232002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8024
ba3ccd63
EB
8025 * libc/ctype/Makefile.am: Add new files.
8026 * libc/ctype/Makefile.in: Regenerated.
8027 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
8028 and wctrans functions to documentation index.
8029 * libc/ctype/iswalnum.c: New file.
8030 * libc/ctype/iswalpha.c: Ditto.
8031 * libc/ctype/iswblank.c: Ditto.
8032 * libc/ctype/iswcntrl.c: Ditto.
8033 * libc/ctype/iswctype.c: Ditto.
8034 * libc/ctype/iswdigit.c: Ditto.
8035 * libc/ctype/iswgraph.c: Ditto.
8036 * libc/ctype/iswlower.c: Ditto.
8037 * libc/ctype/iswprint.c: Ditto.
8038 * libc/ctype/iswpunct.c: Ditto.
8039 * libc/ctype/iswspace.c: Ditto.
8040 * libc/ctype/iswupper.c: Ditto.
8041 * libc/ctype/iswxdigit.c: Ditto.
8042 * libc/ctype/jp2uc.c: Ditto.
8043 * libc/ctype/jp2uc.h: Ditto.
8044 * libc/ctype/local.h: Ditto.
8045 * libc/ctype/towctrans.c: Ditto.
8046 * libc/ctype/towlower.c: Ditto.
8047 * libc/ctype/towupper.c: Ditto.
8048 * libc/ctype/utf8alpha.h: Ditto.
8049 * libc/ctype/utf8print.h: Ditto.
8050 * libc/ctype/utf8punct.h: Ditto.
8051 * libc/ctype/wctrans.c: Ditto.
8052 * libc/ctype/wctype.c: Ditto.
8053 * libc/locale/locale.c (__lc_ctype): New external array to
8054 replace static lc_ctype array.
8055 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
8056 rather than reentrancy structure's _current_locale field.
8057 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 8058
da25e61f
JJ
80592002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8060
8061 * configure.host: Minor comment and formatting changes.
8062 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
8063 * libc/Makefile.in: Regenerated.
8064 * libc/include/sys/config.h: Minor format change.
8065
5b9ee539
JJ
80662002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8067
8068 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
8069 statement comment.
8070
50558bf3
JJ
80712002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8072
8073 * libc/posix/opendir.c (opendir): Change code to check
8074 for HAVE_FCNTL before calling fcntl.
8075 * libc/search/hash.c (hash_open): Ditto.
8076 * libc/search/hash_page.c (open_tmp): Ditto.
8077 * libc/reent/Makefile.am: Add fcntlr.c.
8078 * libc/reent/Makefile.in: Regenerated.
8079 * libc/reent/fcntlr.c: New file.
8080 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
8081 instead of _fcntl when HAVE_FCNTL flag is set.
8082 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
8083 to see if _fcntl or _fcntl_r should be called. If flag is not
8084 set, default to ENOSYS stub.
8085
9211a1ad
JJ
80862002-09-16 Jeff Johnston <jjohnstn@redhat.com>
8087
8088 * libc/include/wchar.h (mbstate_t): Change protective flag to
8089 be _MBSTATE_T.
8090 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
8091 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
8092 for Cygwin.
8093 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
8094
a8615092
JJ
80952002-09-11 Jeff Johnston <jjohnstn@redhat.com>
8096
ba3ccd63
EB
8097 * acinclude.m4 (enable-newlib-mb): Change check to
8098 default newlib_mb variable to empty string rather than "no".
8099 * configure.host: Remove hard-coding of -DMB_CAPABLE for
8100 x86-linux and Cygwin. Add code to check for newlib_mb
8101 being unset in which case set to "yes" for x86-linux and
8102 Cygwin. Change check for newlib_mb being "yes" to allow
8103 for an empty string.
8104 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
8105 * newlib.hin (_MB_LEN_MAX): New define to configure.
8106 * aclocal.m4: Regenerated.
8107 * configure: Ditto.
8108 * libc/include/limits.h: New file.
8109 * libc/sys/linux/include/limits.h: Ditto.
8110 * doc/aclocal.m4 doc/configure libc/aclocal.m4
8111 libc/configure libc/machine/aclocal.m4
8112 libc/machine/configure libc/machine/a29k/aclocal.m4
8113 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8114 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8115 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8116 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8117 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
8118 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
8119 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8120 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8121 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8122 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8123 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8124 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
8125 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
8126 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8127 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8128 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8129 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8130 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8131 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8132 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8133 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8134 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8135 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8136 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8137 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
8138 libc/machine/xscale/configure
8139 libc/machine/xstormy16/aclocal.m4
8140 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
8141 libc/machine/z8k/configure libc/sys/aclocal.m4
8142 libc/sys/configure libc/sys/a29khif/aclocal.m4
8143 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
8144 libc/sys/arc/configure libc/sys/arm/aclocal.m4
8145 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8146 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
8147 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
8148 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
8149 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
8150 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
8151 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
8152 libc/sys/idt/configure libc/sys/linux/aclocal.m4
8153 libc/sys/linux/configure
8154 libc/sys/linux/machine/aclocal.m4
8155 libc/sys/linux/machine/configure
8156 libc/sys/linux/machine/i386/aclocal.m4
8157 libc/sys/linux/machine/i386/configure
8158 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8159 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
8160 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8161 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8162 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8163 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8164 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8165 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8166 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8167 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8168 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8169 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8170 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8171 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8172 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8173 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 8174
be83844e
JJ
81752002-09-09 Jeff Johnston <jjohnstn@redhat.com>
8176
ba3ccd63
EB
8177 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
8178 code that clears the .bss section.
be83844e 8179
9c64d2a7
JJ
81802002-09-09 Jeff Johnston <jjohnstn@redhat.com>
8181
ba3ccd63
EB
8182 * libc/include/sys/_types.h (_mbstate_t): Changed to use
8183 unsigned char internally.
8184 * libc/sys/linux/sys/_types.h: Ditto.
8185 * libc/include/sys/reent.h
8186 * libc/stdlib/mblen.c (mblen): Use function-specific state
8187 value from default reentrancy structure.
8188 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
8189 _mbtowc_r is less than 0, reset state __count value and
8190 return -1.
8191 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
8192 is NULL, use the function-specific pointer provided in the
8193 default reentrancy structure.
8194 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
8195 If input state pointer is NULL, use function-specific area
8196 provided in reentrancy structure.
8197 * libc/stdlib/mbsrtowcs.c: Ditto.
8198 * libc/stdlib/wcrtomb.c: Ditto.
8199 * libc/stdlib/wcsrtombs.c: Ditto.
8200 * libc/stdlib/mbstowcs.c: Reformat.
8201 * libc/stdlib/wcstombs.c: Ditto.
8202 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
8203 reset the state's __count value and return -1.
8204 * libc/stdlib/mbtowc.c: Ditto.
8205 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
8206 If number of bytes is used up before completing a valid multibyte
8207 character, return -2 and save the state.
8208 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
8209 and change some __count references to __state for clarity.
9c64d2a7 8210
218b7a56
JJ
82112002-09-06 Jeff Johnston <jjohnstn@redhat.com>
8212
8213 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
8214 is defined by <limits.h>.
8215
c210a6ea
JJ
82162002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8217
8218 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
8219 defined.
8220
efa077ce
JJ
82212002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8222
ba3ccd63
EB
8223 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
8224 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
8225 __WCHAR_MAX__ or 0x7fffffffu.
8226 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
8227 * libc/string/wcsncmp.c: Ditto.
efa077ce 8228
e4b0ebc1
JJ
82292002-09-03 Jeff Johnston <jjohnstn@redhat.com>
8230
8231 * libc/string/wcschr.c: Add include of <stddef.h>.
8232 * libc/string/wcspbrk.c: Ditto.
8233 * libc/string/wcsrchr.c: Ditto.
8234 * libc/string/wcsstr.c: Ditto.
8235
3db40db7
JJ
82362002-09-03 Jeff Johnston <jjohnstn@redhat.com>
8237
ba3ccd63
EB
8238 * libc/include/sys/_types.h (_flock_t): Added.
8239 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
8240 (__lock_try_acquire_recursive): Ditto.
8241 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
8242 _lock field.
8243 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
8244 field.
8245 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
8246 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
8247 * libc/sys/linux/include/time.h (struct timespec): Moved from
8248 <sys/types.h> and added check for __need_timespec flag so type
8249 can be defined by itself.
8250 * libc/sys/linux/sys/_types.h (_flock_t): New type.
8251 * libc/sys/linux/sys/types.h (struct timespec): Moved to
8252 <time.h>.
3db40db7 8253
cd45f029
TF
82542002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
8255
8256 * libc/sys/linux/argp: New directory.
8257 * libc/sys/linux/getopt.c: New file.
8258 * libc/sys/linux/getopt1.c: New file.
8259 * libc/sys/linux/getoptlong.c: Remove file.
8260 * libc/sys/linux/include/argp.h: New file.
8261 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
8262 based on ELIX level.
8263 (SUBDIRS): Add argp_dir.
8264 (SUBLIBS): Add ARGP_LIB.
8265 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
8266 getopt_long.$(oext).
8267 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
8268
3c689185
JJ
82692002-08-29 Jeff Johnston <jjohnstn@redhat.com>
8270
ba3ccd63
EB
8271 * libc/libc.texinfo: Add node reference to wide-character strings.
8272 * libc/string/wcstrings.tex: New file.
3c689185 8273 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
8274 * libc/string/Makefile.am (doc): Add wide-character string
8275 chapter to documentation.
8276 * libc/string/Makefile.in: Regenerated.
3c689185 8277
890e7a1d
JJ
82782002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8279
ba3ccd63
EB
8280 * libc/include/wchar.h: Define NULL. Define WEOF more general
8281 way. Declare functions in newlib manner.
8282 * libc/stdlib/Makefile.am: Delete wmem*.c
8283 * libc/stdlib/Makefile.in: Regenerated.
8284 * libc/stdlib/wmemchr.c: Delete.
8285 * libc/stdlib/wmemcmp.c: Ditto.
8286 * libc/stdlib/wmemcpy.c: Ditto.
8287 * libc/stdlib/wmemmove.c: Ditto.
8288 * libc/stdlib/wmemset.c: Ditto.
8289 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
8290 * libc/string/Makefile.in: Regenerated.
8291 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
8292 * libc/string/wcschr.c: Ditto.
8293 * libc/string/wcscmp.c: Ditto.
8294 * libc/string/wcscpy.c: Ditto.
8295 * libc/string/wcscspn.c: Ditto.
8296 * libc/string/wcslcat.c: Ditto.
8297 * libc/string/wcslcpy.c: Ditto.
8298 * libc/string/wcslen.c: Ditto.
8299 * libc/string/wcsncat.c: Ditto.
8300 * libc/string/wcsncmp.c: Ditto.
8301 * libc/string/wcsncpy.c: Ditto.
8302 * libc/string/wcspbrk.c: Ditto.
8303 * libc/string/wcsrchr.c: Ditto.
8304 * libc/string/wcsspn.c: Ditto.
8305 * libc/string/wcsstr.c: Ditto.
8306 * libc/string/wmemchr.c: Ditto.
8307 * libc/string/wmemcmp.c: Ditto.
8308 * libc/string/wmemcpy.c: Ditto.
8309 * libc/string/wmemmove.c: Ditto.
8310 * libc/string/wmemset.c: Ditto.
890e7a1d 8311
86620e21
JJ
83122002-08-29 Jeff Johnston <jjohnstn@redhat.com>
8313
ba3ccd63
EB
8314 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
8315 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
8316 and is treated as if "C" was specified.
86620e21 8317
f3741c27
JJ
83182002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8319
ba3ccd63
EB
8320 * Makefile.am (install-data-local): Move install of build
8321 newlib.h after installing headers in libc/include so as to
8322 overwrite default newlib.h.
8323 * Makefile.in: Regenerated.
f3741c27 8324
48da61f5
JJ
83252002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8326
ba3ccd63
EB
8327 * libc/include/newlib.h: New file for tools that use newlib
8328 headers but don't build newlib first (e.g. gcc).
48da61f5 8329
d82a94ac
JJ
83302002-08-28 Jeff Johnston <jjohnstn@redhat.com>
8331
8332 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
8333 * libc/stdlib/wmemcmp.c: Ditto.
8334 * libc/stdlib/wmemcpy.c: Ditto.
8335 * libc/stdlib/wmemmove.c: Ditto.
8336 * libc/stdlib/wmemset.c: Ditto.
8337
7d08241b
JJ
83382002-08-27 Egor Duda <deo@logos-m.ru>
8339
8340 * libc/stdlib/wmemchr.c: New file.
8341 * libc/stdlib/wmemcmp.c: Ditto.
8342 * libc/stdlib/wmemcpy.c: Ditto.
8343 * libc/stdlib/wmemmove.c: Ditto.
8344 * libc/stdlib/wmemset.c: Ditto.
8345 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
8346 * configure.host: Default -DMB_CAPABLE for cygwin.
8347 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
8348 wmemmove() and wmemset(). Add include of <_ansi.h>.
8349 * libc/stdlib/Makefile.in: Regenerate.
8350
8da1639b
JJ
83512002-08-27 Jeff Johnston <jjohnstn@redhat.com>
8352
ff2bf852 8353 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
8354 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
8355 (install-data-local): Install newlib.h.
8356 * Makefile.in: Regenerated.
8357 * aclocal.m4: Ditto.
8358 * configure: Ditto.
17c0c97d 8359 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
8360 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
8361 and _NEWLIB_VERSION to fill in newlib.h header file entries.
8362 In AC_OUTPUT statement, unset ac_file so multilib support does
8363 not use last ac_file temporary used in newlib.h configuration.
8364 * libc/include/_ansi.h: Include <newlib.h>.
8365 * newlib.hin: New template file for newlib.h.
8366 * stamp-h.in: New file.
8367
a4421c11
JJ
83682002-08-26 Wu Yongwei <adah@netstd.com>
8369
ba3ccd63 8370 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 8371
90b65e2d
JJ
83722002-08-26 Jeff Johnston <jjohnstn@redhat.com>
8373
8374 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
8375 * Makefile.in: Regenerated.
8376 * acinclude.m4: Add support for --enable-newlib-elix-level option.
8377 * aclocal.m4: Regenerated.
8378 * configure: Ditto.
8379 * configure.host: Add code to define _ELIX_LEVEL if
8380 --enable-newlib-elix-level option is used.
17c0c97d 8381 * configure.in:
90b65e2d
JJ
8382 * libc/aclocal.m4: Regenerated.
8383 * libc/configure: Ditto.
8384 * libc/argz/Makefile.am: Add EL/IX level checking.
8385 * libc/argz/Makefile.in: Regenerated.
8386 * libc/argz/dummy.c: New file.
8387 * libc/ctype/Makefile.am: Add EL/IX level checking.
8388 * libc/ctype/Makefile.in: Regenerated.
8389 * libc/locale/Makefile.am: Add EL/IX level checking.
8390 * libc/locale/Makefile.in: Regenerated.
8391 * libc/posix/Makefile.am: Add EL/IX level checking.
8392 * libc/posix/Makefile.in: Regenerated.
8393 * libc/posix/telldir.c: Add EL/IX level checking.
8394 * libc/reent/Makefile.am: Ditto.
8395 * libc/reent/fstat64r.c: Ditto.
8396 * libc/reent/lseek64r.c: Ditto.
8397 * libc/reent/open64r.c: Ditto.
8398 * libc/reent/Makefile.in: Regenerated.
8399 * libc/search/Makefile.am: Add EL/IX level checking.
8400 * libc/search/Makefile.in: Regenerated.
8401 * libc/stdio/Makefile.am: Add EL/IX level checking.
8402 * libc/stdio/Makefile.in: Regenerated.
8403 * libc/stdio64/Makefile.am: Add EL/IX level checking.
8404 * libc/stdio64/Makefile.in: Regenerated.
8405 * libc/stdio64/dummy.c: New file.
9b487837 8406 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
8407 after first include.
8408 * libc/stdio64/fopen64.c: Ditto.
8409 * libc/stdio64/freopen64.c: Ditto.
8410 * libc/stdio64/fseeko64.c: Ditto.
8411 * libc/stdio64/fsetpos64.c: Ditto.
8412 * libc/stdio64/ftello64.c: Ditto.
8413 * libc/stdio64/tmpfile64.c: Ditto.
8414 * libc/stdlib/Makefile.am: Add EL/IX level checking.
8415 * libc/stdlib/Makefile.in: Regenerated.
8416 * libc/stdlib/mstats.c: Add EL/IX level checking.
8417 * libc/string/Makefile.am: Ditto.
8418 * libc/string/Makefile.in: Regenerated.
8419 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
8420 * libc/sys/linux/Makefile.in: Regenerated.
8421 * libc/sys/linux/aclocal.m4: Ditto.
8422 * libc/sys/linux/configure: Ditto.
8423 * libc/sys/linux/aio.c: Add EL/IX level checking.
8424 * libc/sys/linux/ftok.c: Ditto.
8425 * libc/sys/linux/getdate.c: Ditto.
8426 * libc/sys/linux/ids.c: Ditto.
8427 * libc/sys/linux/inode.c: Ditto.
8428 * libc/sys/linux/io.c: Ditto.
8429 * libc/sys/linux/process.c: Ditto.
8430 * libc/sys/linux/resource.c: Ditto.
8431 * libc/sys/linux/sched.c: Ditto.
8432 * libc/sys/linux/sig.c: Ditto.
8433 * libc/sys/linux/termios.c: Ditto.
8434 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8435 __libc___waitpid weak aliases.
8436 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8437 that generate the code for a syscall, but do not create a
8438 weak alias.
8439 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8440 * libc/syscalls/Makefile.in: Regenerated.
8441 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8442 functionality.
8443 * libc/unix/Makefile.am: Add EL/IX level checking.
8444 * libc/unix/Makefile.in: Regenerated.
8445
2e2b268c
CF
84462002-08-26 Christopher Faylor <cgf@redhat.com>
8447
8448 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8449 wrapper macros to standard malloc functions.
8450 * libc/include/stdlib.h: Ditto.
8451 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8452
8d9112f2
TF
84532002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8454
8455 * libc/include/langinfo.h: New file.
8456 * libc/include/wchar.h: Likewise.
8457 * libc/include/sys/syslimits.h: Likewise.
8458 * libc/locale/fix_grouping.c: Likewise.
8459 * libc/locale/ldpart.c: Likewise.
8460 * libc/locale/ldpart.h: Likewise.
8461 * libc/locale/lmessages.c: Likewise.
8462 * libc/locale/lmessages.h: Likewise.
8463 * libc/locale/lmonetary.c: Likewise.
8464 * libc/locale/lmonetary.h: Likewise.
8465 * libc/locale/lnumeric.c: Likewise.
8466 * libc/locale/lnumeric.h: Likewise.
8467 * libc/locale/nl_langinfo.3: Likewise.
8468 * libc/locale/nl_langinfo.c: Likewise.
8469 * libc/locale/timelocal.c: Likewise.
8470 * libc/locale/timelocal.h: Likewise.
8471 * libc/stdlib/btowc.c: Likewise.
8472 * libc/stdlib/mbrlen.c: Likewise.
8473 * libc/stdlib/mbrtowc.c: Likewise.
8474 * libc/stdlib/mbsinit.c: Likewise.
8475 * libc/stdlib/mbsrtowcs.c: Likewise.
8476 * libc/stdlib/wcrtomb.c: Likewise.
8477 * libc/stdlib/wcsrtombs.c: Likewise.
8478 * libc/stdlib/wctob.c: Likewise.
8479 * libc/sys/linux/prof-freq.c: Likewise.
8480 * libc/sys/linux/profile.c: Likewise.
8481 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8482 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8483 * libc/include/stdlib.h: Change re-entrant functions to take
8484 mbstate_t pointers.
8485 * libc/include/sys/_types.h: Define _mbstate_t.
8486 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8487 * libc/include/sys/errno.h (EILSEQ): New error code.
8488 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8489 structure to use mbstate_t.
8490 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8491 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8492 * libc/machine/powerpc/vfscanf.c: Likewise.
8493 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8494 * libc/stdio/vfprintf.c: Likewise.
8495 * libc/stdio/vfscanf.c: Likewise.
8496 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8497 * libc/stdlib/mblen.c: Use mbstate_t.
8498 * libc/stdlib/mblen_r.c: Likewise.
8499 * libc/stdlib/mbstowcs.c: Likewise.
8500 * libc/stdlib/mbstowcs_r.c: Likewise.
8501 * libc/stdlib/mbtowc.c: Likewise.
8502 * libc/stdlib/mbtowc_r.c: Likewise.
8503 * libc/stdlib/wcstombs.c: Likewise.
8504 * libc/stdlib/wcstombs_r.c: Likewise.
8505 * libc/stdlib/wctomb_r.c: Likewise.
8506 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8507 profile.c.
8508 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8509 dl-procinfo.c.
8510 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8511 * libc/sys/linux/sys/types.h (off_t): Define type.
8512 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8513 to C-UTF-8.
8514 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8515
fe47ea33
JJ
85162002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8517
ba3ccd63
EB
8518 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8519 (AlignPage): Continue macro on next line.
fe47ea33 8520
ada73509
JJ
85212002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8522
8523 * libc/sys/linux/include/pthread.h: New file.
8524
64b5e8f2
JJ
85252002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8526
8527 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8528 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8529 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8530 to get mprec.h.
8531 * libc/machine/powerpc/Makefile.in: Regenerated.
8532 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8533 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8534 redundant fixed-point conversion prototypes.
8535 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8536 after setting __need_inttypes.
8537
a94b60ce
CF
85382002-08-18 Christopher Faylor <cgf@redhat.com>
8539
8540 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8541
29e17a86
JJ
85422002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8543
ba3ccd63
EB
8544 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8545 _LONG_DOUBLE to double.
29e17a86 8546
936b520f
JJ
85472002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8548
8549 * configure.host: Add powerpc*-*-eabispe* configuration.
8550 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8551 * libc/machine/powerpc/atosfix32.c: Ditto.
8552 * libc/machine/powerpc/atosfix64.c: Ditto.
8553 * libc/machine/powerpc/atoufix16.c: Ditto.
8554 * libc/machine/powerpc/atoufix32.c: Ditto.
8555 * libc/machine/powerpc/atoufix64.c: Ditto.
8556 * libc/machine/powerpc/fix64.h: Ditto.
8557 * libc/machine/powerpc/simdldtoa.c: Ditto.
8558 * libc/machine/powerpc/strtosfix16.c: Ditto.
8559 * libc/machine/powerpc/strtosfix32.c: Ditto.
8560 * libc/machine/powerpc/strtosfix64.c: Ditto.
8561 * libc/machine/powerpc/strtoufix16.c: Ditto.
8562 * libc/machine/powerpc/strtoufix32.c: Ditto.
8563 * libc/machine/powerpc/strtoufix64.c: Ditto.
8564 * libc/machine/powerpc/ufix64toa.c: Ditto.
8565 * libc/machine/powerpc/configure.in: Add check for
8566 powerpc*-eabispe and add fixed-point conversion functions.
8567 * libc/machine/powerpc/configure: Regenerated.
8568 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8569 %r and %R format specifiers which handle fixed-point data.
8570 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8571 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8572 function prototypes.
8573
ad552766
JJ
85742002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8575
8576 * Makefile.am: Move cmath stuff into libc/sys/linux.
8577 * Makefile.in: Regenerated.
8578 * configure.host: Default -DMB_CAPABLE for x86-linux.
8579 * libc/include/reent.h: Define _sbrk to take signed int argument.
8580 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8581 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8582 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8583 locale for LC_CTYPE and LC_MESSAGES.
8584 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8585 * libc/sys/linux/brk.c: Change sbrk prototype.
8586 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8587 include <sys/features.h>.
8588 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8589 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8590 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8591 with a few local additions.
8592 * libc/sys/linux/sys/features.h: New file.
8593 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8594 to take signed argument.
8595 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8596 prototypes to take signed size argument.
8597
d3bd3632
TF
85982002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8599
8600 * libc/sys/linux/cmath: New directory.
8601 * libc/sys/linux/include/cmathcalls.h: New file.
8602 * libc/sys/linux/include/complex.h: New file.
8603 * libc/sys/linux/machine/i386/huge_val.h: New file
8604 * libm/math/w_sincos.c: New file
8605 * libm/math/wf_sincos.c: New file
8606 * libm/mathfp/s_sincos.c: New file
8607 * libm/mathfp/sf_sincos.c: New file
8608 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8609 * libc/include/math.h: Add sincos and sincosf declarations.
8610 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8611 (SUBLIBS): Likewise.
8612 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8613 * libm/math/Makefile.am (src): Add w_sincos.c.
8614 (fsrc): Add wf_sincos.c.
8615 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8616 (fsrc): Add sf_sincos.c.
8617
b3a9676b
JJ
86182002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8619
8620 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8621 Declare as extern chars and use the address operator to
8622 properly use values set in linker script.
8623
659e7062
JJ
86242002-08-09 Jason Tishler <jason@tishler.net>
8625
8626 * libc/stdlib/mallocr.c: Include <limits.h>.
8627 (request2size): Change macro to do
8628 unsigned long comparisons and avoid signed overflow.
8629 (mALLOc): Add overflow check for the number of bytes to allocate.
8630 (rEALLOc): Ditto.
8631
037240a2
JJ
86322002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8633
8634 * configure.host: Add check for --enable-newlib-io-pos-args
8635 and define WANT_IO_POS_ARGS flag if enabled. Define
8636 the flag by default for x86-linux configurations.
8637 * configure.in: Add support for --enable-newlib-io-pos-args.
8638 * libc/configure.in: Ditto.
8639 * configure: Regenerated.
8640 * libc/configure: Ditto.
8641 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8642 vfprintf.c and vfiprintf.c.
8643 * libc/stdio/Makefile.in: Regenerated.
8644 * libc/stdio/vfprintf.c: Add positional argument support that
8645 is enabled by compiling with -DWANT_IO_POS_ARGS.
8646
172fda76
RS
86472002-08-07 Richard Sandiford <rsandifo@redhat.com>
8648
8649 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8650 based on __mips_soft_float rather than __mips64.
8651 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8652 of both 32-bit and 64-bit code.
8653
4866247e
CF
86542002-08-04 Christopher Faylor <cgf@redhat.com>
8655
8656 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8657 arguments for popen to match similar functionality in fopen.
8658
b96332ce
CV
86592002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8660
8661 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8662
60d99bce
JJ
86632002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8664
ba3ccd63
EB
8665 * libc/sys/linux/Makefile.am: Add aio64.c.
8666 * libc/sys/linux/Makefile.in: Regenerated.
8667 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8668 * libc/sys/linux/aio64.c: New file.
60d99bce 8669
80a21be0
JJ
86702002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8671
8672 * libc/include/sys/param.h (MAX, MIN): Added macros.
8673 * libc/sys/linux/Makefile.am: Add new files.
8674 * libc/sys/linux/Makefile.in: Regenerated.
8675 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8676 * libc/sys/linux/inode.c (fchdir): Added syscall.
8677 * libc/sys/linux/ftw.c: New file.
8678 * libc/sys/linux/ftw64.c: Ditto.
8679 * libc/sys/linux/getwd.c: Ditto.
8680 * libc/sys/linux/scandir64.c: Ditto.
8681 * libc/sys/linux/strverscmp.c: Ditto.
8682 * libc/sys/linux/versionsort.c: Ditto.
8683 * libc/sys/linux/versionsort64.c: Ditto.
8684
6b6425cb
JJ
86852002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8686
8687 * libc/string/strings.tex: Fix typo for memccpy.
8688
dc8ac8e6
JJ
86892002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8690
8691 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8692 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8693
aa0ca6fd
JJ
86942002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8695
8696 * libc/sys/linux/Makefile.am: Add fclean.c.
8697 * libc/sys/linux/Makefile.in: Regenerated.
8698 * libc/sys/linux/fclean.c: New file.
8699
61921945
JJ
87002002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8701
8702 * libc/sys/linux/Makefile.am: Add confstr.c.
8703 * libc/sys/linux/Makefile.in: Regenerated.
8704 * libc/sys/linux/confstr.c: New file.
8705 * libc/sys/linux/confstr.h: Ditto.
8706 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8707 <bits/environments.h>.
8708
3d966a92
JJ
87092002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8710
8711 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8712 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8713 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8714 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8715 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8716 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8717
53b5bff7
JJ
87182002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8719
8720 * libc/sys/linux/Makefile.am: Add new files.
8721 * libc/sys/linux/Makefile.in: Regenerated.
8722 * libc/sys/linux/fstab.c: New file.
8723 * libc/sys/linux/fstatvfs.c: Ditto.
8724 * libc/sys/linux/fstatvfs64.c: Ditto.
8725 * libc/sys/linux/internal_statvfs.c: Ditto.
8726 * libc/sys/linux/mntent.c: Ditto.
8727 * libc/sys/linux/mntent_r.c: Ditto.
8728 * libc/sys/linux/statvfs.c: Ditto.
8729 * libc/sys/linux/statvfs64.c: Ditto.
8730 * libc/sys/linux/include/paths.h: Ditto.
8731 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8732 with double-underscore weak-aliases.
8733 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8734
9cef8ef5
JJ
87352002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8736
8737 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8738 to use _sig_func_ptr type casted constants.
8739 (_sig_func_ptr): Typedef moved to sys/signal.h.
8740 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8741 For __rtems, use POSIX definition, otherwise default to ANSI.
8742 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8743
a703e0f2
JJ
87442002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8745
ba3ccd63
EB
8746 * configure.host: Recognize m6811-elf and m6812-elf targets.
8747 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8748 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8749 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8750 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8751 according to __INT_MAX__.
8752 (_POINTER_INT): Define to short.
8753 * libc/machine/m68hc11/Makefile.am: New file.
8754 * libc/machine/m68hc11/Makefile.in: New file.
8755 * libc/machine/m68hc11/configure.in: New file.
8756 * libc/machine/m68hc11/configure: New file.
8757 * libc/machine/m68hc11/aclocal.m4: New file.
8758 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8759
d254189b
JJ
87602002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8761
8762 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8763 prototypes.
8764 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8765 * libc/stdlib/Makefile.in: Regenerated.
8766 * libc/stdlib/strdup.c: Removed.
8767 * libc/stdlib/strdup_r.c: Removed.
8768 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8769 mempcpy.c, strndup.c, and strndup_r.c.
8770 * libc/string/Makefile.in: Regenerated.
8771 * libc/string/memccpy.c: New file.
8772 * libc/string/mempcpy.c: Ditto.
8773 * libc/string/strndup.c: Ditto.
8774 * libc/string/strndup_r.c: Ditto.
8775 * libc/string/strdup.c: New file moved from stdlib.
8776 * libc/string/strdup_r.c: Ditto.
8777 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8778
bc100655
JJ
87792002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8780
ba3ccd63
EB
8781 * libc/include/stdio.h: Move fcloseall prototype within
8782 #ifndef _REENT_ONLY section.
8783 * libc/sys/linux/Makefile.am: Add new files.
8784 * libc/sys/linux/Makefile.in: Regenerated.
8785 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8786 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8787 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8788 * libc/sys/linux/ctermid.c: New file.
8789 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8790 * libc/sys/linux/readdir64.c: Ditto.
8791
f5f27f07
JJ
87922002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8793
8794 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8795 * libc/stdio/Makefile.am: Added fcloseall.c support.
8796 * libc/stdio/Makefile.in: Regenerated.
8797 * libc/stdio/fcloseall.c: New file.
8798 * libc/stdio64/Makefile.am: Remove missing .def references.
8799 * libc/stdio64/Makefile.in: Regenerated.
8800
d541ba3e
JJ
88012002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8802
8803 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8804 * libc/machine/powerpc/times.c: New file.
8805 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8806 * libc/machine/powerpc/Makefile.in: Regenerated.
8807
88082002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8809
ba3ccd63
EB
8810 * libc/machine/powerpc/time.c: New file.
8811 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8812 time.c.
e964bca8
JJ
8813 * libc/machine/powerpc/Makefile.in: Regenerated.
8814
5e7d0a55
TF
88152002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8816
8817 * libc/libc.texinfo: Change copyright notices to Red Hat from
8818 Cygnus.
8819 * libm/libm.texinfo: Likewise.
8820 * README: Change docs URL to
8821 http://sources.redhat.com/newlib/docs.html.
8822
504628e7
JJ
88232002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8824
ba3ccd63
EB
8825 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8826 * libc/sys/linux/Makefile.in: Regenerated.
8827 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8828 * libc/sys/linux/io.c: Add ftruncate syscall.
8829 * libc/sys/linux/fpathconf.c: New file.
8830 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8831 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8832 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8833
b155ad9f
JJ
88342002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8835
8836 * libc/stdio64/Makefile.am: Remove missing files.
8837 * libc/stdio64/Makefile.in: Regenerated.
8838
c119e0ab
JJ
88392002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8840
ba3ccd63
EB
8841 * libc/include/sys/config.h[__i386__][__linux__]: Define
8842 _LARGE64FILE_SOURCE to 1.
8843 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8844 * libc/sys/linux/Makefile.in: Regenerated.
8845 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8846 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8847 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8848 of <linux/resource.h>.
8849 * libc/sys/linux/getrlimit64.c: New file.
8850 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8851
9b022d6d
TF
88522002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8853
8854 * libc/argz/argz_replace.c: Include buf_findstr.h.
8855 * libc/argz/buf_findstr.c: Likewise.
8856 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8857 value to (char *).
8858 * libc/argz/envz_get.c: Likewise.
8859 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8860 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8861 * libc/stdlib/getsubopt.3: New file.
8862 * libc/stdlib/getsubopt.c: New file.
8863 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8864 Change esp to ebp.
8865
dee51391
JJ
88662002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8867
8868 * configure.host(stdio64_dir): New setting that is used to
8869 enable building of new stdio64 directory.
8870 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8871 large files.
8872 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8873 stdio64 info to info files.
8874 * libc/Makefile.in: Regenerated.
8875 * libc/configure: Ditto.
8876 * libc/configure.in: Add configuration variables that are set
8877 when stdio64 is selected as subdir in configure.host.
8878 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8879 on whether STDIO64 flag is set or not.
8880 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8881 STDIO64 flag is set or not.
8882 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8883 _r sycall routines.
8884 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8885 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8886 (__SL64): New file flag indicating file is opened via fopen64.
8887 * libc/include/sys/_types.h(_off64_t): Added.
8888 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8889 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8890 for 64-bit offset large file support.
8891 (__FILE): New intermediate type either set to struct __sFILE64 or
8892 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8893 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8894 * libc/reent/Makefile.in: Regenerated.
8895 * libc/reent/fstat64r.c: New file.
8896 * libc/reent/lseek64r.c: Ditto.
8897 * libc/reent/open64r.c: Ditto.
8898 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8899 based on whether STDIO64 flag is set.
dee51391
JJ
8900 * libc/stdio/stdio.tex: Add blank line.
8901 * libc/stdio64/Makefile.am: New file.
8902 * libc/stdio64/Makefile.in: Ditto.
8903 * libc/stdio64/fgetpos64.c: Ditto.
8904 * libc/stdio64/fopen64.: Ditto.
8905 * libc/stdio64/freopen64.c: Ditto.
8906 * libc/stdio64/fseeko64.c: Ditto.
8907 * libc/stdio64/fsetpos64.c: Ditto.
8908 * libc/stdio64/ftello64.c: Ditto.
8909 * libc/stdio64/local64.h: Ditto.
8910 * libc/stdio64/stdio64.c: Ditto.
8911 * libc/stdio64/stdio64.tex: Ditto.
8912 * libc/stdio64/tmpfile64.c: Ditto.
8913 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8914 open64.
8915
778876f6
JJ
89162002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8917
ba3ccd63
EB
8918 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8919 if LIBC_EXTRA_LIB is present.
8920 * libc/Makefile.in: Regenerated.
778876f6 8921 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8922 * libc/argz/Makefile.am: Add doc support.
8923 * libc/search/Makefile.am: Ditto.
8924 * libc/argz/Makefile.in: Regenerated.
8925 * libc/search/Makefile.in: Ditto.
8926 * libc/misc/misc.tex: Add ffs function.
8927 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8928
37981145
JJ
89292002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8930
8931 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8932 definition that was removed in error.
8933
38b5dc59
JJ
89342002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8935
8936 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8937 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8938 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8939 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8940 remove redundant floating point definitions.
8941
8cb61a96
JJ
89422002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8943
ba3ccd63
EB
8944 * libc/sys/linux/callocr.c: Fix so code references
8945 calloc.
8cb61a96 8946
edba3282
JJ
89472002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8948
ba3ccd63
EB
8949 * libc/sys/linux/Makefile.am: Add new files.
8950 * libc/sys/linux/Makefile.in: Regenerated.
8951 * libc/sys/linux/bp-sym.h: Moved to include directory.
8952 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8953 * libc/sys/linux/inode.c: Set _LIBC to 1.
8954 * libc/sys/linux/mq_close.c: Ditto.
8955 * libc/sys/linux/mq_getattr.c: Ditto.
8956 * libc/sys/linux/mq_open.c: Ditto.
8957 * libc/sys/linux/mq_receive.c: Ditto.
8958 * libc/sys/linux/mq_send.c: Ditto.
8959 * libc/sys/linux/mq_setattr.c: Ditto.
8960 * libc/sys/linux/mq_unlink.c: Ditto.
8961 * libc/sys/linux/calloc.c: New file.
8962 * libc/sys/linux/callocr.c: Ditto.
8963 * libc/sys/linux/cfreer.c: Ditto.
8964 * libc/sys/linux/config.h: Ditto.
8965 * libc/sys/linux/free.c: Ditto.
8966 * libc/sys/linux/freer.c: Ditto.
8967 * libc/sys/linux/msize.c: Ditto.
8968 * libc/sys/linux/msizer.c: Ditto.
8969 * libc/sys/linux/mstats.c: Ditto.
8970 * libc/sys/linux/mtrim.c: Ditto.
8971 * libc/sys/linux/mtrimr.c: Ditto.
8972 * libc/sys/linux/pvallocr.c: Ditto.
8973 * libc/sys/linux/realloc.c: Ditto.
8974 * libc/sys/linux/reallocr.c: Ditto.
8975 * libc/sys/linux/thread-m.h: Ditto.
8976 * libc/sys/linux/vallocr.c: Ditto.
8977 * libc/sys/linux/bp-checks.h: Ditto.
8978 * libc/sys/linux/libc-symbols.h: Ditto.
8979 * libc/sys/linux/libc-tsd.h: Ditto.
8980 * libc/sys/linux/libintl.h: Ditto.
8981 * libc/sys/linux/malign.c: Ditto.
8982 * libc/sys/linux/malignr.c: Ditto.
8983 * libc/sys/linux/mallinfor.c: Ditto.
8984 * libc/sys/linux/malloc.c: Ditto.
8985 * libc/sys/linux/mallocr.c: Ditto.
8986 * libc/sys/linux/malloptr.c: Ditto.
8987 * libc/sys/linux/mallstatsr.c: Ditto.
8988 * libc/sys/linux/mcheck.c: Ditto.
8989 * libc/sys/linux/mhooks.h: Ditto.
8990 * libc/sys/linux/include/bp-sym.h: Ditto.
8991 * libc/sys/linux/include/malloc.h: Ditto.
8992 * libc/sys/linux/include/mcheck.h: Ditto.
8993 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8994 getpagesize.c.
8995 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8996 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8997 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8998 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8999 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9000 * libc/sys/linux/machine/i386/sysdep.h: New file.
9001 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
9002 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
9003 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 9004
ea20b60a
JJ
90052002-07-12 Jeff Johnston <jjohnstn@redhat.com>
9006
9007 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
9008 instead of <asm/siginfo.h>.
9009 * libc/sys/linux/sys/signal.h: Change to include various linux
9010 <bits/xxx.h> header files, rather than <linux/signal.h> so as
9011 to work with multiple releases of glibc header files.
9012
2fc82912
JJ
90132002-07-11 Chris Demetriou <cgd@broadcom.com>
9014
ba3ccd63
EB
9015 * testsuite/newlib.search/hsearchtest.c: New file to test
9016 newlib/libc/search.
9017 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 9018
4a404e97 90192002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
9020
9021 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
9022 a terminal.
9023 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
9024
6aec558e
JJ
90252002-07-08 Jeff Johnston <jjohnstn@redhat.com>
9026
ba3ccd63 9027 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 9028
e47e6f0e 9029Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
9030
9031 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
9032 Make strcmp.S unconditional.
9033 * libc/machine/sh/Makefile.in: Regenerate.
9034 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
9035 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
9036 for SHcompact.
9037
89ffbd66
JJ
90382002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9039
9040 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
9041 define before including <sys/lock.h>.
9042
ae6c4c84
JJ
90432002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9044
9045 * libc/include/utime.h: Add include of <_ansi.h>.
9046 * libc/sys/linux/Makefile.am: Add utimes.c.
9047 * libc/sys/linux/Makefile.in: Regenerated.
9048 * libc/sys/linux/inode.c(__umask): New static routine.
9049 (umask): Written to use __umask and attempt to thread lock.
9050 (getumask): New function written to use __umask and thread lock.
9051 * libc/sys/linux/utimes.c: New file.
9052 * libc/sys/linux/sys/time.h: Fix utimes prototype.
9053 * libc/sys/linux/sys/utime.h: New file.
9054
a6cac46c
TF
90552002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
9056
9057 * libtool.m4: New file.
9058 * libc/sys/linux/process.c: Implement vfork in terms of fork,
9059 rather than as a syscall.
9060
30b2092f
JJ
90612002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9062
9063 * libc/include/stdio.h: Add new prototypes.
9064 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
9065 * libc/stdio/Makefile.in: Regenerated.
9066 * libc/stdio/fseek.c: Add fseeko documentation.
9067 * libc/stdio/ftell.c: Add ftello documentation.
9068 * libc/stdio/fseeko.c: New file.
9069 * libc/stdio/ftello.c: New file.
9070
7501704d
JJ
90712002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9072
ba3ccd63
EB
9073 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
9074 * libc/stdio/Makefile.in: Regenerated.
9075 * libc/stdio/asprintf.c: New file.
9076 * libc/stdio/vasprintf.c: Ditto.
9077 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
9078 the buffer for asprintf support.
9079 * libc/stdio/sprintf.c: Add asprintf documentation.
9080 * libc/stdio/vfprintf.c: Add vasprintf documentation.
9081 * libc/include/stdio.h: Add new prototypes.
7501704d 9082
66eee32b
TF
90832002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9084
9085 * libc/search/hcreate.c: Remove advertising clause from license.
9086 * libc/search/hcreate_r.c: Likewise.
9087
cec4a9f8
JJ
90882002-07-02 Chris Demetriou <cgd@broadcom.com>
9089
ba3ccd63
EB
9090 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
9091 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
9092 Check that one of them is defined and error out if not.
cec4a9f8 9093 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
9094 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
9095 (DB_LITTLE_ENDIAN): New defines.
9096 * libc/search/hash.c: Replace all incorrect checks for
9097 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
9098 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
9099 * libc/search/hash_page.c: Likewise.
cec4a9f8 9100
2d5eb17e
TF
91012002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9102
9103 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
9104
c1a3171f
JJ
91052002-06-27 Benjamin Kosnik <bkoz@redhat.com>
9106
ba3ccd63
EB
9107 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
9108 * libc/include/time.h: Same.
9109 * libc/include/string.h: Same.
9110 * libc/include/stdlib.h: Same.
9111 * libc/include/signal.h: Same.
9112 * libc/include/setjmp.h: Same.
9113 * libc/include/math.h: Same.
9114 * libc/include/locale.h: Same.
9115 * libc/include/ctype.h: Same.
9116 * libc/include/machine/setjmp.h: Same.
9117 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
9118 (_END_STD_C): Add.
c1a3171f 9119
533b4e66
JJ
91202002-06-27 Jeff Johnston <jjohnstn@redhat.com>
9121
ba3ccd63
EB
9122 * libc/include/sys/_types.h: Define _ssize_t as int if int is
9123 32-bits, otherwise define it as long.
9124 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
9125 and define ssize_t as _ssize_t.
9126 * libc/reent/readr.c: Change return type to _ssize_t.
9127 * libc/reent/writer.c: Ditto.
9128 * libc/sys/linux/Makefile.am: Add aio.c.
9129 * libc/sys/linux/Makefile.in: Regenerated.
9130 * libc/sys/linux/aio.c: New file.
9131 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
9132 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 9133
c36e6dd7
TF
91342002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
9135
54be629f
TF
9136 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
9137 exponent_is_even_int variable. Handle case where x is
9138 negative, and y is an odd integer.
9139 * libm/mathfp/sf_pow.c (powf): Likewise.
9140
c36e6dd7
TF
9141 * libm/mathfp/er_lgamma.c: Remove __kernel references.
9142 * libm/mathfp/erf_lgamma.c: Likewise.
9143 * libm/mathfp/s_tgamma.c: Likewise.
9144 * libm/mathfp/sf_tgamma.c: Likewise.
9145
baf051ca
JJ
91462002-06-27 Jeff Johnston <jjohnstn@redhat.com>
9147
ba3ccd63
EB
9148 * libc/sys/linux/Makefile.am: Add new clock routines.
9149 * libc/sys/linux/Makefile.in: Regenerated.
9150 * libc/sys/linux/clock_getres.c: New file.
9151 * libc/sys/linux/clock_gettime.c: Ditto.
9152 * libc/sys/linux/clock_settime.c: Ditto.
9153 * libc/sys/linux/hp-timing.h: Ditto.
9154 * libc/sys/linux/libc-internal.h: Ditto.
9155 * libc/sys/linux/sysconf.c: Fix typo.
9156 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
9157 * libc/sys/linux/machine/hp-timing.h: New file.
9158 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
9159 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9160 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
9161 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
9162 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
9163 * libc/sys/linux/sys/linux_time.h: New file.
9164 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
9165 replace with <sys/linux_time.h>.
baf051ca 9166
0431ed4e
JR
9167Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
9168
9169 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
9170
fc067ba5
JJ
91712002-06-25 Jeff Johnston <jjohnstn@redhat.com>
9172
ba3ccd63
EB
9173 * libc/sys/linux/Makefile.am: Consolidate additional items under
9174 ADD_OBJS.
9175 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 9176
ffddf61e
JJ
91772002-06-25 Jeff Johnston <jjohnstn@redhat.com>
9178
ba3ccd63
EB
9179 * libc/sys/linux/sethostname.c: New file.
9180 * libc/sys/linux/Makefile.am: Add sethostname.c support.
9181 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 9182
d5487d3f
TF
91832002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9184
9185 * libc/search/db_local.h: New file.
9186 * libc/include/db.h: Remove.
9187 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
9188 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
9189 "db_local.h".
9190 * libc/search/hash_bigkey.c: Likewise.
9191 * libc/search/hash_buf.c: Likewise.
9192 * libc/search/hash_func.c: Likewise.
9193 * libc/search/hash_log2.c: Likewise.
9194 * libc/search/hash_page.c: Likewise.
9195
91962002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 9197
1e7ca711 9198 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
9199 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
9200 * libc/machine/sh/Makefile.am: Regenerate.
9201
59c6d6c4
JJ
92022002-06-24 Jeff Johnston <jjohnstn@redhat.com>
9203
ba3ccd63
EB
9204 * libc/sys/linux/gethostname.c: Change name to __gethostname and
9205 add gethostname alias.
59c6d6c4 9206
a70486d7
JJ
92072002-06-24 Jeff Johnston <jjohnstn@redhat.com>
9208
9209 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 9210 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 9211 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 9212 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
9213 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
9214 * libm/common/fdlibm.h: Ditto.
9215
3118725a
TF
92162002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9217
9218 * libc/include/ndbm.h: Remove.
9219 * libc/search/ndbm.c: Remove.
9220
30a06168
TF
92212002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
9222
9223 * libc/stdio/fseek.c (fseek): Fix braces.
9224
01f5155e
CV
92252002-06-21 Corinna Vinschen <corinna@vinschen.de>
9226
9227 * libc/time/strftime.c (strftime): Add %e format specifier.
9228
930bc96b
TF
92292002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
9230
9231 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
9232 previously defined.
9233
55105f86
JJ
92342002-06-21 Richard Earnshaw (rearnsha@arm.com)
9235
ba3ccd63
EB
9236 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
9237 (BYTE_ORDER): Define as appropriate for the target.
55105f86 9238
2e78444a
JJ
92392002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9240
9241 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
9242 to _ssize_t.
9243 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
9244
d427d092
JJ
92452002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9246
9247 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
9248 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
9249 [HAVE_GETDATE](getdate_err): New error code.
9250 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
9251 * libc/stdio/Makefile.in: Regenerated.
9252 * libc/stdio/getdelim.c: New file.
9253 * libc/stdio/getline.c: Ditto.
9254 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
9255 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
9256 * libc/sys/linux/Makefile.in: Regenerated.
9257 * libc/sys/linux/getdate.c: New file.
9258 * libc/sys/linux/getdate_err.c: Ditto.
9259 * libc/sys/linux/ntp_gettime.c: Ditto.
9260 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
9261 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
9262
35728d4f
JJ
92632002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9264
9265 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
9266 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
9267 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
9268 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
9269 * libc/include/sys/param.h: Remove i386 case which is handled
9270 by default case.
9271 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
9272 definitions in case they are already defined.
9273 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
9274 _IEEE_LITTLE_ENDIAN flags.
9275 * libc/include/sys/reent.h: Change __uint32_t references to
9276 use _ULong instead.
9277 (_REENT_GETDATE_REENT_P): New macro.
9278 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
9279 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
9280 * libc/search/hash.h: Add default setting of BYTE_ORDER,
9281 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
9282 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
9283 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
9284 pid_t, off_t, loff_t, caddr_t, and daddr_t type
9285 definitions which are done by subsequent glibc headers.
9286 Add macro definitions to prevent subsequent header files from
9287 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
9288 intptr_t to after glibc definitions of types they are based on.
9289
4a2bfab7
JJ
92902002-06-21 Jeff Johnston <jjohnstn@redhat.com>
9291
9292 * libc/include/errno.h: Protect from multiple inclusion.
9293
f42d18ea
NC
92942002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
9295
9296 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
9297
a7b23a8f
TF
92982002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
9299
9300 * Makefile.am (LIB_OBJECTLISTS): Add
9301 libc/search/objectlist.awk.in.
9302 * libc/Makefile.am (SUBDIRS): Add search.
9303 (SUBLIBS): Add search/libsearch.la.
9304 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
9305 * libc/search: New directory.
9306 * libc/search/Makefile.am: New file.
9307 * libc/search/extern.h: New file.
9308 * libc/search/hash.c: New file.
9309 * libc/search/hash.h: New file.
9310 * libc/search/hash_bigkey.c: New file.
9311 * libc/search/hash_buf.c: New file.
9312 * libc/search/hash_func.c: New file.
9313 * libc/search/hash_log2.c: New file.
9314 * libc/search/hash_page.c: New file.
9315 * libc/search/hcreate.3: New file.
9316 * libc/search/hcreate.c: New file.
a7b23a8f
TF
9317 * libc/search/hcreate_r.c: New file.
9318 * libc/search/ndbm.c: New file.
9319 * libc/search/page.h: New file.
9320 * libc/search/tdelete.c: New file.
9321 * libc/search/tdestroy.c: New file.
9322 * libc/search/tfind.c: New file.
9323 * libc/search/tsearch.3: New file.
9324 * libc/search/tsearch.c: New file.
9325 * libc/search/twalk.c: New file.
9326 * libc/include/db.h: New file.
9327 * libc/include/ndbm.h: New file.
9328 * libc/include/search.h: New file.
9329 * libc/include/sys/queue.h: New file.
9330 * libc/include/sys/cdefs.h: New file.
9331 * libc/include/sys/param.h
9332 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
9333 LITTLE_ENDIAN or BIG_ENDIAN.
9334 * libc/include/sys/errno.h (EFTYPE): New macro.
9335 * libc/search/bsearch.c: Move from libc/stdlib.
9336 * libc/search/qsort.c: Likewise.
9337 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
9338 qsort.c.
9339 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
9340 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
9341
ef467338
JJ
93422002-06-19 Jeff Johnston <jjohnstn@redhat.com>
9343
ba3ccd63
EB
9344 * libc/sys/linux/Makefile.am: Add support for message queue routines,
9345 ipc routines, and ftok.
9346 * libc/sys/linux/Makefile.in: Regenerated.
9347 * libc/sys/linux/ftok.c: New file.
9348 * libc/sys/linux/ipc.c: Ditto.
9349 * libc/sys/linux/mq_close.c: Ditto.
9350 * libc/sys/linux/mq_getattr.c: Ditto.
9351 * libc/sys/linux/mq_notify.c: Ditto.
9352 * libc/sys/linux/mq_open.c: Ditto.
9353 * libc/sys/linux/mq_receive.c: Ditto.
9354 * libc/sys/linux/mq_send.c: Ditto.
9355 * libc/sys/linux/mq_setattr.c: Ditto.
9356 * libc/sys/linux/mq_unlink.c: Ditto.
9357 * libc/sys/linux/mqlocal.h: Ditto.
9358 * libc/sys/linux/include/mqueue.h: Ditto.
9359 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
9360 __uid_t_defined.
ef467338 9361
7f55c08c
TF
93622002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
9363
9364 * libm/common/sf_lround.c (round): Change name to: (lround).
9365 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
9366 remquof.
9367
c9ca68d7
TF
93682002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9369
9370 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
9371 procedure.
9372 (newlib_pass_fail): Change to compile and run only one file.
9373 * testsuite/newlib.locale/locale.exp: Use new
9374 newlib_pass_fail_all procedure.
9375 * testsuite/newlib.string/string.exp: Likewise.
9376
4ecedd09
DB
93772002-06-18 Dave Brolley <brolley@redhat.com>
9378
9379 From Catherine Moore, Michael Meissner, Richard Sandiford:
9380 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
9381 (_JBTYPE): Ditto.
9382 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
9383 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
9384 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
9385 * configure.host: Support frv-*-*.
9386 * libc/machine/frv/Makefile.am: New file.
9387 * libc/machine/frv/configure.in: New file.
9388 * libc/machine/frv/setjmp.S: New file.
9389
af1c257a
TF
93902002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9391
9392 * libc/include/ctype.h: Remove isblank macro.
9393
9394 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
9395 * libc/ctype/isblank.c: New file.
9396 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
9397 declaration. Add isblank macro.
9398
4e04fa90
JJ
93992002-06-18 Jeff Johnston <jjohnstn@redhat.com>
9400
ba3ccd63
EB
9401 * testsuite/newlib.stdlib/atexit.c: New file.
9402 * testsuite/newlib.stdlib/atexit.exp: Ditto.
9403 * testsuite/newlib.string/tstring.c: Change default start size
9404 to something more reasonable for embedded platforms.
4e04fa90 9405
b56d7e79
TF
94062002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9407
ece3c72f
TF
9408 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
9409
b56d7e79
TF
9410 * libc/argz: New directory.
9411 * libc/argz/*: New files.
9412 * libc/argz/argz_add.c: New file.
9413 * libc/argz/argz_add_sep.c: New file.
9414 * libc/argz/argz_append.c: New file.
9415 * libc/argz/argz_count.c: New file.
9416 * libc/argz/argz_create.c: New file.
9417 * libc/argz/argz_create_sep.c: New file.
9418 * libc/argz/argz_delete.c: New file.
9419 * libc/argz/argz_extract.c: New file.
9420 * libc/argz/argz_insert.c: New file.
9421 * libc/argz/argz_next.c: New file.
9422 * libc/argz/argz_replace.c: New file.
9423 * libc/argz/argz_stringify.c: New file.
9424 * libc/argz/buf_findstr.c: New file.
9425 * libc/argz/envz_add.c: New file.
9426 * libc/argz/envz_entry.c: New file.
9427 * libc/argz/envz_get.c: New file.
9428 * libc/argz/envz_merge.c: New file.
9429 * libc/argz/envz_remove.c: New file.
9430 * libc/argz/envz_strip.c: New file.
9431 * libc/include/argz.h: New file.
9432 * libc/include/envz.h: New file.
9433 * Makefile.am (LIBC_OBJECTLISTS): Add
9434 libc/argz/objectlist.awk.in.
9435 * libc/Makefile.am (SUBDIRS): Add argz.
9436 (SUBLIBS): Add argz/libargz.la.
9437 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9438 * libc/include/errno.h: Add error_t typedef.
9439
d062d3dd
JJ
94402002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9441
9442 * libc/include/stdlib.h: Add _Exit prototype.
9443 * libc/stdlib/Makefile.am: Add _Exit.c support.
9444 * libc/stdlib/Makefile.in: Ditto.
9445 * libc/stdlib/_Exit.c: New file.
9446
a47e66ae
JJ
94472002-06-13 Stephen L. Moshier <steve@moshier.net>
9448
9449 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9450 x is close to -1.0 and y is very large to use ax (absolute value)
9451 instead of x.
9452 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9453
13f7d71f
JR
9454Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9455
9456 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9457 Fix clobbering bytes before destination if src and dst have same
9458 non-zero misalignment.
1f1fb421
JR
9459
9460 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9461 Fixed bug in writing end of set region.
9462
b2e8018f
CF
94632002-06-10 Christopher Faylor <cgf@redhat.com>
9464
9465 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9466 spawnve declaration.
9467
0953fe64
TF
94682002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9469
9470 * libm/common/s_fdim.c: New file.
9471 * libm/common/s_fma.c: Likewise.
9472 * libm/common/s_fmax.c: Likewise.
9473 * libm/common/s_fmin.c: Likewise.
9474 * libm/common/s_fpclassify.c: Likewise.
9475 * libm/common/s_lrint.c: Likewise.
9476 * libm/common/s_lround.c: Likewise.
9477 * libm/common/s_nearbyint.c: Likewise.
9478 * libm/common/s_remquo.c: Likewise.
9479 * libm/common/s_round.c: Likewise.
9480 * libm/common/s_scalbln.c: Likewise.
9481 * libm/common/s_signbit.c: Likewise.
9482 * libm/common/s_trunc.c: Likewise.
9483 * libm/common/sf_fdim.c: Likewise.
9484 * libm/common/sf_fma.c: Likewise.
9485 * libm/common/sf_fmax.c: Likewise.
9486 * libm/common/sf_fmin.c: Likewise.
9487 * libm/common/sf_lrint.c: Likewise.
9488 * libm/common/sf_lround.c: Likewise.
9489 * libm/common/sf_nearbyint.c: Likewise.
9490 * libm/common/sf_remquo.c: Likewise.
9491 * libm/common/sf_round.c: Likewise.
9492 * libm/common/sf_scalbln.c: Likewise.
9493 * libm/common/sf_trunc.c: Likewise.
9494 * libm/math/w_exp2.c: Likewise.
9495 * libm/math/w_tgamma.c: Likewise.
9496 * libm/math/wf_exp2.c: Likewise.
9497 * libm/math/wf_tgamma.c: Likewise.
9498 * libm/mathfp/s_exp2.c: Likewise.
9499 * libm/mathfp/s_tgamma.c: Likewise.
9500 * libm/mathfp/sf_exp2.c: Likewise.
9501 * libm/mathfp/sf_tgamma.c: Likewise.
9502 * libm/math/er_gamma.c: Fix return value.
9503 * libm/math/erf_gamma.c: Likewise.
9504 * libm/mathfp/er_gamma.c: Likewise.
9505 * libm/mathfp/erf_gamma.c: Likewise.
9506 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9507 declarations and macros.
9508 Regenerated all Makefile.in, aclocal.m4 and configure files to
9509 use new libtool macros in top-level libtool.m4
9510
39e65e01
JJ
95112002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9512
ba3ccd63
EB
9513 * libc/include/string.h[__linux__]: Add strsignal prototype.
9514 * libc/include/sys/lock.h: New file with default locking support.
9515 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9516 and psignal.
9517 * libc/posix/Makefile.am: Add support for readdir_r.c.
9518 * libc/posix/Makefile.in: Regenerated.
9519 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9520 * libc/posix/opendir.c: Add lock support.
9521 * libc/posix/readdir.c: Ditto.
9522 * libc/posix/rewinddir.c: Ditto.
9523 * libc/posix/scandir.c: Ditto.
9524 * libc/posix/seekdir.c: Ditto.
9525 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9526 clean up leftover hash table entries.
9527 * libc/posix/readdir_r.c: New file.
9528 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9529 * libc/sys/linux/Makefile.in: Regenerated.
9530 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9531 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9532 * libc/sys/linux/psignal.c: New file.
9533 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9534
cc890e89
CV
95352002-06-03 Corinna Vinschen <corinna@vinschen.de>
9536
9537 * libc/include/sys/types.h: Don't define dev_t when compiling for
9538 Cygwin.
9539
ea55e3f7
JJ
95402002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9541
ba3ccd63
EB
9542 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9543 make siglist.inc dependent on sig.c instead of signal.c.
9544 * libc/sys/linux/Makefile.in: Regenerated.
9545 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9546 use NSIG instead of _NSIG.
9547 * libc/sys/linux/sigaction.c: New file.
9548 * libc/sys/linux/signal.c: Changed to be linux signal() function
9549 so as to override regular newlib default signal.c.
9550 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9551 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9552 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9553 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9554 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9555 default linux sigset_t typedef by defining it equal to __sigset_t.
9556 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9557 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9558
9d362914
JJ
95592002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9560
ba3ccd63
EB
9561 * libc/sys/linux/Makefile.am: Add support for new files.
9562 * libc/sys/linux/Makefile.in: Regenerated.
9563 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9564 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9565 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9566 it is in a separate file now.
9567 * libc/sys/linux/machine/i386/Makefile.am
9568 * libc/sys/linux/machine/i386/Makefile.in
9569 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9570 * libc/sys/linux/sigaction.c: New file.
9571 * libc/sys/linux/sigqueue.c: Ditto.
9572 * libc/sys/linux/sigwait.c: Ditto.
9573 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9574 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9575
b1f07180
JJ
95762002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9577
ba3ccd63
EB
9578 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9579 tcsendbrk.c.
9580 * libc/sys/linux/Makefile.in: Regenerated.
9581 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9582 tcgetpgrp(), and tcsetpgrp() functions.
9583 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9584 to get __MAX_BAUD rate.
9585 * libc/sys/linux/machine/i386/include/termios.h: New file.
9586 * libc/include/machine/termios.h: Ditto.
9587 * libc/sys/linux/cfspeed.c: Ditto.
9588 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9589
d29587b4
JJ
95902002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9591
ba3ccd63
EB
9592 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9593 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9594 * libc/string/Makefile.in: Regenerated.
9595 * libc/string/strerror_r.c: New file.
9596 * libc/string/strnlen.c: New file.
9597 * libc/sys/linux/Makefile.am: Add rename.c.
9598 * libc/sys/linux/Makefile.in: Regenerated.
9599 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9600
9a292385
TF
96012002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9602
9603 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9604 * libc/sys/linux/sys/time.h: Add conversion macros.
9605 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9606 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9607 * libc/sys/linux/gethostname.c: New file.
9608 * libc/sys/linux/seteuid.c: New file.
9609 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9610
7a364eb3
JJ
96112002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9612
ba3ccd63
EB
9613 * libc/string/Makefile.am: Add support for strsep.c.
9614 * libc/string/Makefile.in: Regenerated.
9615 * libc/string/strsep.c: New file.
9616 * libc/string/strtok.c: Change to call __strtok_r service routine.
9617 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9618 additional flag parameter regarding whether to skip leading delimeters.
9619 Change strtok_r to call __strtok_r.
7a364eb3 9620
164ee5b0
JJ
96212002-05-23 Gareth Pearce <tilps@hotmail.com>
9622
ba3ccd63
EB
9623 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9624 * libc/stdio/Makefile.in: Regenerated.
9625 * libc/stdio/setbuffer.c: New file.
9626 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9627
f6b2b567
JJ
96282002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9629
ba3ccd63
EB
9630 * libc/sys/linux/Makefile.am: Add resource.c.
9631 * libc/sys/linux/Makefile.in: Regenerated.
9632 * libc/sys/linux/resource.c: New file.
9633 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9634 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9635 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9636 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9637 are now found in libc/sys/linux/resource.c.
f6b2b567 9638
afe56517
JJ
96392002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9640
ba3ccd63
EB
9641 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9642 to use void * pointers and comply with Single Unix spec.
9643 * libc/string/bcmp.c: Change to use void * instead of char *.
9644 * libc/string/bcopy.c: Ditto.
9645 * libc/string/bzero.c: Ditto.
afe56517 9646
7736feb2
JJ
96472002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9648
9649 * libc/sys/linux/shm_open.c: New file.
9650 * libc/sys/linux/shm_unlink.c: Ditto.
9651 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9652 shm_unlink.c.
9653 * libc/sys/linux/Makefile.in: Regenerated.
9654 * libc/sys/linux/sys/types.h: Add some additional checks to see
9655 if clock_t or time_t is already defined.
9656
19f111bd
JJ
96572002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9658
ba3ccd63
EB
9659 * Makefile.am: Don't pass $toollibdir down directly in
9660 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9661 Pass it under the name: top_toollibdir.
9662 * Makefile.in: Regenerated.
19f111bd 9663
c811b1ee
CV
96642002-05-22 Corinna Vinschen <vinschen@redhat.com>
9665
9666 * libc/include/sys/types.h: Revert previous patch.
9667
2b43ad33
CV
96682002-05-22 Corinna Vinschen <vinschen@redhat.com>
9669
9670 * libc/include/sys/types.h: Include cygwin/types.h always under
9671 Cygwin, not only if _POSIX_THREADS is defined.
9672
dd671cde
TF
96732002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9674
9675 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9676
5e2cbfb6
JJ
96772002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9678
9679 * Makefile.am: Copy and install headers from sys/machine/include
9680 directory. Also pass $toollibdir to lower-level directories.
9681 * Makefile.in: Regenerated.
17c0c97d 9682 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9683 stderr to use _REENT macro instead of _impure_ptr directly.
9684 * libc/include/sys/config.h[__i386__][__linux__]: Define
9685 __DYNAMIC_REENT__.
17c0c97d 9686 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9687 call to __getreent() function if !__SINGLE_THREAD__ and
9688 __DYNAMIC_REENT__ is set.
9689 * libc/reent/Makefile.am: Add support for getreent.c.
9690 * libc/reent/Makefile.in: Regenerated.
9691 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9692 * libc/sys/linux/Makefile.am: Add support for new files.
9693 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9694 * libc/sys/linux/Makefile.in: Regenerated.
9695 * libc/sys/linux/configure: Ditto.
9696 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9697 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9698 their __libc_ counterparts.
9699 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9700 and weak-alias to regular names.
9701 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9702 to pread64 and __pread64.
9703 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9704 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9705 weak-alias to pwrite64.
9706 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9707 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9708 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9709 name with __ instead of __libc_.
5e2cbfb6
JJ
9710 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9711 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9712 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9713 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9714 to raise.
9715 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9716 __libc_send to __send.
9717 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9718 __gettimeofday.
9719 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9720 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9721 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9722 type and typedef __jmp_buf to jmp_buf.
9723 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9724 setjmp.S.
9725 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9726 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9727 section.
9728 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9729 prefix for function macros and then use weak_alias() to regular names.
9730 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9731 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9732 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9733 to be flockfile() and funlockfile() respectively.
9734 * libc/sys/linux/sys/types.h
9735 * libc/reent/getreent.c: New file.
9736 * libc/sys/linux/flockfile.c: Ditto.
9737 * libc/sys/linux/funlockfile.c: Ditto.
9738 * libc/sys/linux/getreent.c: Ditto.
9739 * libc/sys/linux/pread.c: Ditto.
9740 * libc/sys/linux/pwrite.c: Ditto.
9741 * libc/sys/linux/raise.c: Ditto.
9742 * libc/sys/linux/system.c: Ditto.
9743 * libc/sys/linux/tcdrain.c: Ditto.
9744 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9745 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9746 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9747 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9748 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9749
7fc85bd1
TF
97502002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9751
9752 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9753 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9754 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9755 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9756
6935231f 9757Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9758
9759 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9760 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9761 exit point.
d7a2f413 9762
3a6cb01b
TF
97632002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9764
a68fa571
TF
9765 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9766 options when testing natively on i[3456]86-*-linux.
9767
3a6cb01b
TF
9768 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9769 only one pass or fail per test file. Trim \r's from output
9770 values received from test programs. Remove support for named
9771 tests.
9772 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9773 newlib_check_output behaviour.
9774 * testsuite/newlib.locale/UTF-8.c: Likewise.
9775
dc824ef7
JJ
97762002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9777
ba3ccd63
EB
9778 * libc/include/stdlib.h: Add on_exit prototype.
9779 * libc/include/sys/reent.h (struct _atexit): Add argument array
9780 and bits to track type of exit routine to support both on_exit
9781 and atexit.
9782 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9783 by default and change the setting of the atexit structure.
9784 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9785 * libc/stdlib/on_exit.c: New file.
9786 * libc/stdlib/Makefile.am: Add support for on_exit.
9787 * libc/stdlib/Makefile.in: Regenerated.
9788 * libc/stdlib/atexit.c: Change to initialize types field.
9789 * libc/stdlib/exit.c: Change to look at types field for each
9790 exit routine and either call an atexit-style or an on_exit-style
9791 routine accordingly.
dc824ef7 9792
48d91b4a
JJ
97932002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9794
ba3ccd63
EB
9795 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9796 allow v specifier with n or L specifiers. For vector c format,
9797 move tmp declaration to the top.
48d91b4a 9798
024739eb
JJ
97992002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9800
ba3ccd63
EB
9801 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9802 the original format specifier when looping for vectors to compensate
9803 for any changes made in vector %g format processing.
9804 Also add syntax checking for various invalid scenarios
9805 involving vector format extensions.
9806 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9807 return code setting for vector formats. Also treat vector
9808 separator mismatch as a match error instead of an input error.
9809 Perform some syntax checking for vector formats.
024739eb 9810
7d2ce898
TF
98112002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9812
9813 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9814 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9815 * libc/string/strlcat.c: New file.
9816 * libc/string/strlcpy.c: New file.
9817
809b6ce7
JJ
98182002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9819
9820 * libc/string/strchr.c: Fix comment typo.
9821
76490806
TF
98222002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9823
0c048a9a
TF
9824 * acinclude.m4: Add support for --enable-newlib-multithread.
9825 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9826 --enable-newlib-multithread=no.
9827
76490806
TF
9828 * libc/stdio/getc_u.c: New file.
9829 * libc/stdio/getchar_u.c: New file.
9830 * libc/stdio/putc_u.c: New file.
9831 * libc/stdio/putchar_u.c: New file.
9832 * libc/include/stdio.h: Add declarations for getc_unlocked,
9833 getchar_unlocked, putc_unlocked and putchar_unlocked.
9834 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9835 (CHEWOUT_FILES): Add new files' .def's.
9836 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9837
96bff22c
JR
9838Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9839
9840 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9841 Also handle as single quad word when destination ends at last
9842 byte of first quad word. Fix byte selection in single quad code.
9843
e71372fa
TF
98442002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9845
9846 * libc/include/sys/stdio.h: New file.
9847 * libc/sys/linux/sys/stdio.h: New file.
9848 * libc/include/stdio.h: Add declarations for flockfile,
9849 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9850 * libc/stdio/clearerr.c: Add file locking.
9851 * libc/stdio/fclose.c: Likewise.
9852 * libc/stdio/feof.c: Likewise.
9853 * libc/stdio/ferror.c: Likewise.
9854 * libc/stdio/fflush.c: Likewise.
9855 * libc/stdio/fgetc.c: Likewise.
9856 * libc/stdio/fgetpos.c: Likewise.
9857 * libc/stdio/fgets.c: Likewise.
9858 * libc/stdio/fileno.c: Likewise.
9859 * libc/stdio/fputc.c: Likewise.
9860 * libc/stdio/fputs.c: Likewise.
9861 * libc/stdio/fread.c: Likewise.
9862 * libc/stdio/freopen.c: Likewise.
9863 * libc/stdio/fseek.c: Likewise.
9864 * libc/stdio/ftell.c: Likewise.
9865 * libc/stdio/fwrite.c: Likewise.
9866 * libc/stdio/getc.c: Likewise.
9867 * libc/stdio/putc.c: Likewise.
9868 * libc/stdio/setvbuf.c: Likewise.
9869 * libc/stdio/ungetc.c: Likewise.
9870 * libc/stdio/vfprintf.c: Likewise.
9871
a03790e4
JJ
98722002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9873
60b2107c
TF
9874 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9875 support for 'p' format. Fix code to print bytes for vector
9876 integer formats that do not specify 'h' or 'l'.
9877 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9878 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9879 formats that do not specify 'h' or 'l'.
9880
9881 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9882
9c7d6a9d
TF
98832002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9884
9885 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9886 (_sbrk): Add cast of return value.
9887
c33c3635
JJ
98882002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9889
9890 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9891 (_REENT_L64A_BUF): New macro for accessing area.
9892 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9893 * libc/stdlib/Makefile.in: Regenerated.
9894 * libc/stdlib/a64l.c: New file.
9895 * libc/stdlib/l64a.c: New file.
9896
f78e59a8
JJ
98972002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9898
ba3ccd63
EB
9899 * libc/unix/pread.c: Fix typo for _pread_r.
9900 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9901 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9902 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9903
4b3f6588
CF
99042002-05-03 Christopher Faylor <cgf@redhat.com>
9905
9906 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9907
e911832c
TF
99082002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9909
9910 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9911
0d0fdc8d
CF
99122002-05-01 Christopher Faylor <cgf@redhat.com>
9913
9914 * utmp.h: Define more UNIX constants.
9915
1e997c56
TF
99162002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9917
0717f01c
TF
9918 * Makefile.am: Add support for checking multilibs.
9919
09841445
TF
9920 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9921 (SUBDEFS): Add LIBC_EXTRA_DEF.
9922 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9923 (LIBC_EXTRA_DEF): Likewise.
9924 (extra_dir): Likewise.
9925 * libc/machine/xscale/machine: New directory.
9926 * libc/machine/xscale/machine/profile.h: New file.
9927
1e997c56
TF
9928 * Makefile.am (site.exp): Remove newlib_cflags. Add
9929 multibuildtop.
9930 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9931 * testsuite/lib/flags.exp: New file.
9932 * testsuite/lib/newlib.exp: Load flags.exp.
9933 (newlib_target_compile): Remove libgloss directory references.
9934 (newlib_init): Remove newlib_cflags references.
9935
4cf4f010
TF
99362002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9937
f6bdb6f9
TF
9938 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9939 method of finding libgloss_target_dir.
9940
4cf4f010
TF
9941 * Makefile.am (site.exp): Change host_alias, host_triplet,
9942 target_alias, target_triplet to refer to gcc's host and target
9943 variables (newlib's build and host variables).
9944 * testsuite/lib/newlib.exp (newlib_init): Change build
9945 references to host references, host references to target
9946 references to reflect Makefile.am changes.
9947 (newlib_target_compile): Likewise.
9948 (newlib_finish): Likewise.
9949
83096ae8
JJ
99502002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9951
9952 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9953
822afa53
JL
99542002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9955
9956 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9957 (_system): New function. Ditto.
9958 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9959 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9960 targets.
9961
29798f0d
JJ
99622002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9963
ba3ccd63
EB
9964 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9965 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9966 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9967 * libc/sys/linux/Makefile.in: Regenerated.
9968 * libc/unix/Makefile.in: Ditto.
9969 * libc/sys/linux/pread64.c: New file.
9970 * libc/sys/linux/pwrite64.c: Ditto.
9971 * libc/unix/pread.c: Ditto.
9972 * libc/unix/pwrite.c: Ditto.
29798f0d 9973
557856bd
JJ
99742002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9975
9976 * libc/sys/linux/Makefile.am: Add io64.c.
9977 * libc/sys/linux/Makefile.in: Regenerated.
9978 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9979 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9980 * libc/sys/linux/io64.c: New file.
9981
7b2b12d5
JJ
99822002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9983
9984 * configure.in (CC_FOR_NEWLIB): New variable that
9985 bases on $(CC) and adds targ-include and libc/include as
9986 -isystem directives if they are not already part of $(CC).
9987 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9988 $(CC_FOR_NEWLIB).
9989 * configure: Regenerated.
9990 * Makefile.in: Ditto.
9991
c62adacc
JJ
99922002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9993
9994 * libc/sys/linux/Makefile.am: Add support for sched.c.
9995 * libc/sys/linux/Makefile.in: Regenerated.
9996 * libc/sys/linux/sched.c: New file.
9997 * libc/sys/linux/sys/types.h: Add struct timespec.
9998
217ad4a0
TF
99992002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10000
10001 * configure.in (CC_FOR_BUILD): Set to gcc whether
10002 cross-compiling or not.
10003 (CC): Add -isystem's for targ-include and libc/include when they
10004 do not already appear in CC.
10005
eaa75b70
TF
100062002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10007
10008 * Makefile.am (check-DEJAGNU): New target.
10009 (site.exp): Likewise.
10010 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
10011 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
10012 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
10013 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
10014 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
10015 * testsuite: New directory.
10016 * testsuite/config: Likewise.
10017 * testsuite/lib: Likewise.
10018 * testsuite/newlib.locale: Likewise.
10019 * testsuite/newlib.string: Likewise.
10020 * testsuite/config/default.exp: New file.
10021 * testsuite/lib/checkoutput.exp: New file.
10022 * testsuite/lib/newlib.exp: New file.
10023 * testsuite/lib/passfail.exp: New file.
10024 * testsuite/newlib.locale/UTF-8.c: New file.
10025 * testsuite/newlib.locale/UTF-8.exp: New file.
10026 * testsuite/newlib.locale/locale.exp: New file.
10027 * testsuite/newlib.string/string.exp: New file.
10028 * testsuite/newlib.string/tstring.c: New file.
10029
b9f9f699
JJ
100302002-04-23 Jeff Johnston <jjohnstn@redhat.com>
10031
ba3ccd63
EB
10032 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
10033 * libc/sys/linux/Makefile.am: Add support for mmap.c.
10034 * libc/sys/linux/Makefile.in: Regenerated.
10035 * libc/sys/linux/mmap.c: New file.
10036 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
10037 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 10038
7394edbb
TF
100392002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10040
10041 * acinclude.m4 (newlib_cflags): Remove include directories that
10042 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
10043
b9f9f699 100442002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
10045
10046 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
10047 * libc/machine/xscale/memcmp.c: Ditto.
10048 * libc/machine/xscale/memcpy.c: Ditto.
10049 * libc/machine/xscale/memmove.c: Ditto.
10050 * libc/machine/xscale/memset.c: Ditto.
10051 * libc/machine/xscale/strchr.c: Ditto.
10052 * libc/machine/xscale/strcmp.c: Ditto.
10053 * libc/machine/xscale/strcpy.c: Ditto.
10054 * libc/machine/xscale/strlen.c: Ditto.
10055
2dd4c4dc
JJ
100562002-04-19 Alexandre Oliva <aoliva@redhat.com>
10057
ba3ccd63
EB
10058 * libc/include/sys/config.h: Remove include of <limits.h>.
10059 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
10060 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 10061
0d844014
JJ
100622002-04-19 Jeff Johnston <jjohnstn@redhat.com>
10063
10064 * configure.host: Add support for powerpc-eabialtivec*.
10065 * libc/include/malloc.h: Add include of <machine/malloc.h>.
10066 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
10067 * libc/include/machine/malloc.h: New file.
10068 * libc/include/machine/stdlib.h: Ditto.
10069 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
10070 * libc/machine/powerpc/Makefile.am: Add conditional objects and
10071 sources based on configuration.
10072 * libc/machine/powerpc/Makefile.in: Regenerated.
10073 * libc/machine/powerpc/configure: Ditto.
10074 * libc/machine/powerpc/configure.in: Add check for
10075 powerpc-eabialtivec* in which case add in additional source files.
10076 * libc/machine/powerpc/setjmp.S: Add altivec support.
10077 * libc/machine/powerpc/vec_calloc.c: New file.
10078 * libc/machine/powerpc/vec_free.c: Ditto.
10079 * libc/machine/powerpc/vec_malloc.c: Ditto.
10080 * libc/machine/powerpc/vec_mallocr.c: Ditto.
10081 * libc/machine/powerpc/vec_realloc.c: Ditto.
10082 * libc/machine/powerpc/machine/malloc.h: Ditto.
10083 * libc/machine/powerpc/machine/stdlib.h: Ditto.
10084 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
10085 with added altivec format specifiers.
10086 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
10087 added altivec format specifiers.
10088
d413aadc
JS
100892002-04-19 Joel Sherrill <joel@OARcorp.com>
10090
10091 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
10092 while autoconf is trying to link main(){}.
10093
27193895
JJ
100942002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10095
ba3ccd63
EB
10096 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
10097 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 10098
10d00216
JJ
100992002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10100
6b0f808e
JJ
10101 * libc/time/time.tex: Add tzset info.
10102
101032002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10104
10105 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10106 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10107 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10108 (tzname): Defined for all platforms.
10109 (daylight, timezone): Defined only for CYGWIN.
10110 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
10111 environment set up.
10112 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
10113 environment variable is set.
10114 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
10115 tzset_r.c.
10116 * libc/time/Makefile.in: Regenerated.
10117 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10118 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10119 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10120 * libc/time/local.h: New local header file.
10121 * libc/time/mktime.c (mktime): Add timezone support.
10122 * libc/time/mktm_r.c: New file which is the common engine
10123 for gmtime_r and lcltime_r. This code has timezone support.
10124 * libc/time/strftime.c (strftime): Add %Z timezone support.
10125 * libc/time/tzlock.c: New file containing timezone lock stubs.
10126 * libc/time/tzset.c: New file containing tzset() routine.
10127 * libc/time/tzset_r.c: New file containing _tzset_r and
10128 internal routine for calculating timezone changes for specified year.
10129
101302002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10131
10132 * configure.in (CRT0_DIR): Set to libc/.
10133 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10134 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10135 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10136 $(CRT1_DIR)/$(CRT1).
10137 * libc/machine/xstormy16/Makefile.in: Regenerated.
10138 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10139 * libc/machine/xstormy16/configure: Regenerated.
10140
101412002-04-13 Alexandre Oliva <aoliva@redhat.com>
10142
10143 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10144 fails, don't bail out, and try to correct next time.
10145
10146 * libc/include/sys/config.h: Include limits.h.
10147
101482002-04-12 Eric Norum <eric.norum@usask.com>
10149
10150 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10151 routine to allow autoconf to determine that building executables
10152 for rtems works.
10153 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10154 (rtems_gxx_mutex_once): Ditto.
10155
101562002-04-09 Tom Rix <trix@redhat.com>
10157
10158 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10159
101602002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10161
ba3ccd63
EB
10162 * libc/include/time.h: Fix strptime declaration.
10163 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 10164 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10165 * libc/time/strptime.c: New file.
6b0f808e
JJ
10166
101672002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10168
10169 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10170 siglongjmp prototype, and sigsetjmp macro definition.
10171 * libc/sys/linux/siglongjmp.c: New file.
10172 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10173 * libc/sys/linux/Makefile.in: Regenerated.
10174
101752002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10176
10177 * Makefile.am: Add support for installing crt1.o if one exists.
10178 * configure.host: Specify crt1.o for linux.
10179 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10180 * Makefile.in: Regenerated.
10181 * configure: Ditto.
10182 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10183 Added for non-Cygwin, non-RTEMS configurations.
10184 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10185 * libc/sys/linux/Makefile.in: Regenerated.
10186 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10187 by gcc. This fixes problem with reconfiguring linux newlib build.
10188 * libc/sys/linux/sysconf.c: New file.
10189
101902002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10191
10192 * configure.host: Add support for machine subdirectory of
10193 sys subdirectory.
10194 * configure.in: Add check for sys machine subdirectory.
10195 * Makefile.am: Ditto.
10196 * configure: Regenerated.
10197 * Makefile.in: Ditto.
10198 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10199 * libc/sys/linux/sys/syscall.h: Ditto.
10200 * libc/sys/linux/sleep.c: New file.
10201 * libc/sys/linux/socket.c: Ditto.
10202 * libc/sys/linux/sockops.h: Ditto.
10203 * libc/sys/linux/stack.c: Ditto.
10204 * libc/sys/linux/usleep.c: Ditto.
10205 * libc/sys/linux/machine/Makefile.am: Ditto.
10206 * libc/sys/linux/machine/Makefile.in: Ditto.
10207 * libc/sys/linux/machine/aclocal.m4: Ditto.
10208 * libc/sys/linux/machine/configure: Ditto.
10209 * libc/sys/linux/machine/configure.in: Ditto.
10210 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10211 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10212 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10213 * libc/sys/linux/machine/i386/configure: Ditto.
10214 * libc/sys/linux/machine/i386/configure.in: Ditto.
10215 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10216 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10217 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10218 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10219 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10220 * libc/sys/linux/sys/select.h: Ditto.
10221 * libc/sys/linux/configure.in: Add support for machine directory.
10222 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10223 * libc/sys/linux/Makefile.in: Regenerated.
10224 * libc/sys/linux/configure: Ditto.
10225 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10226 * libc/sys/linux/inode.c: Ditto.
10227 * libc/sys/linux/linux.c: Ditto.
10228 * libc/sys/linux/process.c: Ditto.
10229 * libc/sys/linux/systat.c: Ditto.
10230 * libc/sys/linux/time.c: Ditto.
10231 * libc/sys/linux/wait.c: Ditto.
10232 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10233 * libc/sys/linux/io.c: Change header plus add readv/writev.
10234 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10235 use __sigsuspend syscall.
10236 * libc/sys/linux/select.c: Change header plus change select to
10237 use _newselect syscall.
10238 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10239 used by glibc header files.
10240 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10241 types.
10242
102432002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10244
10245 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10246 initializing a struct _reent that has been dynamically allocated.
10247 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10248 _REENT_SMALL and does nothing otherwise.
10249 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10250 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10251 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10252 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10253 [_REENT_SMALL](struct _misc_reent): New structure containing
10254 miscellaneous reentrant areas needed by newlib.
10255 [_REENT_SMALL](struct _reent): Add _misc pointer.
10256 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10257 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10258 and _REENT_STRTOK_LAST macros.
10259 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10260 and _REENT_MBLEN_STATE macros.
10261 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10262 and _REENT_MBTOWC_STATE macros.
10263 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10264 and _REENT_WCTOMB_STATE macros.
10265
102662002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10267
10268 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10269
10270Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10271
10272 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10273
10274Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10275
10276 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10277 Store high part of leading bytes too.
10278
102792002-03-22 Richard Sandiford <rsandifo@redhat.com>
10280
10281 * libm/math/ef_hypot.c: Increase scale factor to 68.
10282
102832002-03-13 Alexandre Oliva <aoliva@redhat.com>
10284
10285 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10286 error.
10287
102882002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10289
ba3ccd63
EB
10290 * libc/sys/go32/access.c: Change license to relaxed license
10291 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
10292
102932002-03-12 Richard Earnshaw <rearnsha@arm.com>
10294
10295 * libc/sys/arm/access.c: New file.
10296 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10297 * libc/sys/arm/Makefile.in: Regenerate.
10298 * libc/sys/arm/syscalls.c (_stat): New function.
10299
103002002-03-11 Michael Meissner <meissner@redhat.com>
10301
10302 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10303 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10304 * libc/machine/mips/Makefile.in: Regenerate.
10305 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10306 * libc/machine/mips/memset.c: Dito.
10307 * libc/machine/mips/strcmp.c: Dito.
10308 * libc/machine/mips/strlen.c: Dito.
10309 * libc/machine/mips/strncmp.c: Dito.
10310
103112002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10312
10313 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10314 object so it works for shared library or statici library.
103152002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10316
10d00216
JJ
10317 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10318 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10319 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10320 (tzname): Defined for all platforms.
10321 (daylight, timezone): Defined only for CYGWIN.
10322 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
10323 environment set up.
10324 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
10325 environment variable is set.
10326 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
10327 tzset_r.c.
10328 * libc/time/Makefile.in: Regenerated.
10329 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
10330 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
10331 * libc/time/lcltime_r.c (lcltime_r): Ditto.
10332 * libc/time/local.h: New local header file.
10333 * libc/time/mktime.c (mktime): Add timezone support.
10334 * libc/time/mktm_r.c: New file which is the common engine
10335 for gmtime_r and lcltime_r. This code has timezone support.
10336 * libc/time/strftime.c (strftime): Add %Z timezone support.
10337 * libc/time/tzlock.c: New file containing timezone lock stubs.
10338 * libc/time/tzset.c: New file containing tzset() routine.
10339 * libc/time/tzset_r.c: New file containing _tzset_r and
10340 internal routine for calculating timezone changes for specified year.
10341
5f1c13c6
TF
103422002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10343
10344 * configure.in (CRT0_DIR): Set to libc/.
10345 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
10346 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
10347 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
10348 $(CRT1_DIR)/$(CRT1).
10349 * libc/machine/xstormy16/Makefile.in: Regenerated.
10350 * libc/machine/xstormy16/aclocal.m4: Regenerated.
10351 * libc/machine/xstormy16/configure: Regenerated.
10352
0cc261b1
AO
103532002-04-13 Alexandre Oliva <aoliva@redhat.com>
10354
2f3009bd
AO
10355 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
10356 fails, don't bail out, and try to correct next time.
10357
0cc261b1
AO
10358 * libc/include/sys/config.h: Include limits.h.
10359
26116455
JJ
103602002-04-12 Eric Norum <eric.norum@usask.com>
10361
10362 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
10363 routine to allow autoconf to determine that building executables
10364 for rtems works.
10365 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
10366 (rtems_gxx_mutex_once): Ditto.
10367
4608280d
TR
103682002-04-09 Tom Rix <trix@redhat.com>
10369
10370 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
10371
dea7e25c
JJ
103722002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10373
ba3ccd63
EB
10374 * libc/include/time.h: Fix strptime declaration.
10375 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 10376 * libc/time/Makefile.in: Regenerated.
ba3ccd63 10377 * libc/time/strptime.c: New file.
dea7e25c 10378
c5ef1e95
JJ
103792002-04-08 Jeff Johnston <jjohnstn@redhat.com>
10380
10381 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
10382 siglongjmp prototype, and sigsetjmp macro definition.
10383 * libc/sys/linux/siglongjmp.c: New file.
10384 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
10385 * libc/sys/linux/Makefile.in: Regenerated.
10386
6e6cd5bd
JJ
103872002-04-04 Jeff Johnston <jjohnstn@redhat.com>
10388
10389 * Makefile.am: Add support for installing crt1.o if one exists.
10390 * configure.host: Specify crt1.o for linux.
10391 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
10392 * Makefile.in: Regenerated.
10393 * configure: Ditto.
10394 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
10395 Added for non-Cygwin, non-RTEMS configurations.
10396 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
10397 * libc/sys/linux/Makefile.in: Regenerated.
10398 * libc/sys/linux/crt1.c: New empty file to override one defaulted
10399 by gcc. This fixes problem with reconfiguring linux newlib build.
10400 * libc/sys/linux/sysconf.c: New file.
10401
fa4a16a1
JJ
104022002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10403
10404 * configure.host: Add support for machine subdirectory of
10405 sys subdirectory.
10406 * configure.in: Add check for sys machine subdirectory.
10407 * Makefile.am: Ditto.
10408 * configure: Regenerated.
10409 * Makefile.in: Ditto.
10410 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10411 * libc/sys/linux/sys/syscall.h: Ditto.
10412 * libc/sys/linux/sleep.c: New file.
10413 * libc/sys/linux/socket.c: Ditto.
10414 * libc/sys/linux/sockops.h: Ditto.
10415 * libc/sys/linux/stack.c: Ditto.
10416 * libc/sys/linux/usleep.c: Ditto.
10417 * libc/sys/linux/machine/Makefile.am: Ditto.
10418 * libc/sys/linux/machine/Makefile.in: Ditto.
10419 * libc/sys/linux/machine/aclocal.m4: Ditto.
10420 * libc/sys/linux/machine/configure: Ditto.
10421 * libc/sys/linux/machine/configure.in: Ditto.
10422 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10423 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10424 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10425 * libc/sys/linux/machine/i386/configure: Ditto.
10426 * libc/sys/linux/machine/i386/configure.in: Ditto.
10427 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10428 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10429 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10430 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10431 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10432 * libc/sys/linux/sys/select.h: Ditto.
10433 * libc/sys/linux/configure.in: Add support for machine directory.
10434 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10435 * libc/sys/linux/Makefile.in: Regenerated.
10436 * libc/sys/linux/configure: Ditto.
10437 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10438 * libc/sys/linux/inode.c: Ditto.
10439 * libc/sys/linux/linux.c: Ditto.
10440 * libc/sys/linux/process.c: Ditto.
10441 * libc/sys/linux/systat.c: Ditto.
10442 * libc/sys/linux/time.c: Ditto.
10443 * libc/sys/linux/wait.c: Ditto.
10444 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10445 * libc/sys/linux/io.c: Change header plus add readv/writev.
10446 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10447 use __sigsuspend syscall.
10448 * libc/sys/linux/select.c: Change header plus change select to
10449 use _newselect syscall.
10450 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10451 used by glibc header files.
10452 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10453 types.
10454
d4dca0e4
JJ
104552002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10456
10457 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10458 initializing a struct _reent that has been dynamically allocated.
10459 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10460 _REENT_SMALL and does nothing otherwise.
10461 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10462 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10463 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10464 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10465 [_REENT_SMALL](struct _misc_reent): New structure containing
10466 miscellaneous reentrant areas needed by newlib.
10467 [_REENT_SMALL](struct _reent): Add _misc pointer.
10468 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10469 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10470 and _REENT_STRTOK_LAST macros.
10471 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10472 and _REENT_MBLEN_STATE macros.
10473 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10474 and _REENT_MBTOWC_STATE macros.
10475 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10476 and _REENT_WCTOMB_STATE macros.
10477
54a7c6d2
JJ
104782002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10479
10480 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10481
c82479b1
CF
10482Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10483
10484 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10485
43ecf6e8
JR
10486Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10487
10488 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10489 Store high part of leading bytes too.
10490
a485d93f
RS
104912002-03-22 Richard Sandiford <rsandifo@redhat.com>
10492
10493 * libm/math/ef_hypot.c: Increase scale factor to 68.
10494
62a963ee
AO
104952002-03-13 Alexandre Oliva <aoliva@redhat.com>
10496
10497 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10498 error.
10499
c53d8453
JJ
105002002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10501
ba3ccd63
EB
10502 * libc/sys/go32/access.c: Change license to relaxed license
10503 used in identical file throughout newlib/libgloss.
c53d8453 10504
d2a246ad
JJ
105052002-03-12 Richard Earnshaw <rearnsha@arm.com>
10506
10507 * libc/sys/arm/access.c: New file.
10508 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10509 * libc/sys/arm/Makefile.in: Regenerate.
10510 * libc/sys/arm/syscalls.c (_stat): New function.
10511
eabb48d5
MM
105122002-03-11 Michael Meissner <meissner@redhat.com>
10513
10514 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10515 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10516 * libc/machine/mips/Makefile.in: Regenerate.
10517 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10518 * libc/machine/mips/memset.c: Dito.
10519 * libc/machine/mips/strcmp.c: Dito.
10520 * libc/machine/mips/strlen.c: Dito.
10521 * libc/machine/mips/strncmp.c: Dito.
10522
2a606041
JJ
105232002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10524
eabb48d5
MM
10525 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10526 object so it works for shared library or statici library.
10527 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10528
55f26f11
JR
10529Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10530
96bff22c
JR
10531 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10532 Add memcpy.S, memset.S and strcpy.S.
10533 * libc/machine/sh/Makefile.in: Regenerate.
10534 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10535 (SHHI, SHLO): Define.
96bff22c
JR
10536 * libc/machine/sh/memset.S: Add code for SH5.
10537 * libc/machine/sh/memset.S: Likewise.
10538 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10539
afecf2fa
JJ
105402002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10541
10542 * configure.host: Add check for --disable-newlib-io-float
10543 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10544 if appropriate.
10545 * acinclude.m4: Added --disable-newlib-io-float option.
10546 * aclocal.m4: Regenerated.
10547 * configure: Ditto.
10548 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10549 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10550 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10551 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10552 if NO_FLOATING_POINT flag is not defined.
10553
c1010a63
JJ
105542002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10555
10556 * libc/include/sys/config.h: Add __extension__ in front of
10557 long long references.
10558
630c657e
CV
105592002-02-23 Corinna Vinschen <corinna@vinschen.de>
10560
10561 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10562 (_stat): Ditto.
10563
59ee2e20
CV
105642002-02-23 Corinna Vinschen <corinna@vinschen.de>
10565
10566 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10567 of off_t.
10568
2dd68dc2
NC
105692002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10570
10571 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10572 clobbered registers.
10573
55500bf1
TF
105742002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10575
10576 * configure.host (newlib_cflags): When host is in m68* add
10577 -DCOMPACT_CTYPE.
10578
ba0173f0
JJ
105792002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10580
ba3ccd63
EB
10581 * libc/include/sys/config.h: Add definitions for
10582 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10583
7b61d0c5
JJ
105842002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10585
ba3ccd63
EB
10586 * libc/sys/mmixware/link.c: New.
10587 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10588 volatile.
10589 * libc/sys/mmixware/times.c (_times): Renamed from times.
10590 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10591 properly by reading previous contents, not through BinaryReadWrite.
10592 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10593 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10594
a505db65
CV
105952002-02-10 Corinna Vinschen <corinna@vinschen.de>
10596
10597 * libc/include/grp.h: Don't declare group functions when compiling
10598 Cygwin.
10599
f3b39c45
CV
106002002-02-09 Corinna Vinschen <corinna@vinschen.de>
10601
10602 * libc/include/grp.h: Include Cygwin specific header.
10603 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10604 when compiling for Cygwin.
10605 * libc/include/sys/types.h: Don't define off_t, uid_t
10606 and gid_t when compiling for Cygwin.
10607
82b3ac56
MG
106082002-02-08 matthew green <mrg@redhat.com>
10609
10610 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10611 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10612
9f25eed9
AO
106132002-02-08 Alexandre Oliva <aoliva@redhat.com>
10614
10615 Contribute sh64-elf.
10616 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10617 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10618 support in printf.
10619 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10620 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10621 any labels.
10622 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10623 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10624 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10625 * libc/machine/sh/configure.in: Rework conditionals.
10626 * libc/machine/sh/Makefile.am: Likewise.
10627 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10628 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10629 * configure.host: Match `sh*'.
10630 * libc/include/machine/setjmp.h: Define for SH5.
10631 * libc/machine/sh/configure.in: Detect SH5.
10632 * libc/machine/sh/configure: Rebuilt.
10633 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10634 * libc/machine/sh/Makefile.in: Rebuilt.
10635 * libc/machine/sh/asm.h: Adjust for SH5.
10636 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10637 * libc/sys/sh/crt0.S: Likewise.
10638 * libc/sys/sh/trap.S: Likewise.
10639
a2a405ae
JJ
106402002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10641
10642 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10643 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10644 (LIB_SOURCES): Remove $(mach_add_src).
10645 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10646 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10647 * libc/machine/i386/Makefile.in: Regenerate.
10648
27478365
JJ
106492002-02-05 Manik Raina <manik@cisco.com>
10650
994fa212 10651 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10652 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10653 s, p, k, and outstr.
10654 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10655
815a37f7
JJ
106562002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10657
10658 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10659 _REENT_CHECK_EMERGENCY macro.
10660
a4139c12
MG
106612002-02-03 matthew green <mrg@redhat.com>
10662
10663 * libc/reent/signgam.c (__signgam): Fix error in previous.
10664
8195aff7
MG
106652002-02-02 matthew green <mrg@redhat.com>
10666
10667 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10668
10669 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10670 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10671 * libc/include/sys/reent.h (struct _reent): Completely new version
10672 for _REENT_SMALL.
10673 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10674 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10675 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10676 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10677 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10678 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10679 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10680 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10681 (_REENT_EMERGENCY): Likewise.
10682
10683 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10684 the start of the real __sFILE, used for stdin, stdout and stderr until
10685 they are setup properly.
10686 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10687 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10688 allocated stdin, stdout and stderr.
10689 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10690 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10691 * libc/stdio/perror.c (_perror_r): Likewise.
10692 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10693 * libc/stdio/putchar.c (_putchar_r): Likewise.
10694 * libc/stdio/puts.c (_puts_r): Likewise.
10695 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10696 * libc/stdio/vprintf.c (vprintf): Likewise.
10697 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10698
10699 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10700
10701 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10702 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10703 for _REENT_SMALL.
10704 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10705 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10706
10707 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10708 _REENT_SMALL.
10709 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10710 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10711 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10712 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10713 * libc/stdlib/rand48.c (__dorand48): Likewise.
10714 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10715 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10716 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10717 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10718 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10719 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10720 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10721 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10722 * libc/stdlib/rand.c (rand): Likewise.
10723
10724 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10725 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10726
10727 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10728 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10729 * libc/include/sys/reent.h (struct _mprec): New structure.
10730
10731 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10732 _unused_strtok_last.
10733 * libc/string/strtok.c (strtok): Use a local static variable.
10734
10735 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10736 (_REENT_EMERGENCY_SIZE): Likewise.
10737 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10738 _REENT_ASCTIME_BUF().
10739 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10740 _REENT_TM().
10741
10742 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10743 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10744 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10745 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10746 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10747 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10748
9c2e7642
GK
107492002-02-01 Geoffrey Keating <geoffk@redhat.com>
10750
10751 * configure.host (xstormy16): Don't use the generic malloc.
10752 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10753 * libc/machine/xstormy16/Makefile.in: Regenerate.
10754 * libc/machine/xstormy16/mallocr.c: New file.
10755 * libc/machine/xstormy16/tiny-malloc.c: New file.
10756
4bb6112f
TF
107572002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10758
10759 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10760 when _CYGWIN_TYPES_H is not defined.
10761
8d345552
TF
107622002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10763
10764 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10765
bcc49082
TF
107662002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10767
10768 * libc/include/sys/signal.h: Remove pthread_kill declaration
10769 when __CYGWIN__ is defined.
10770
13baedeb
CF
107712002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10772
10773 * libc/include/time.h: Add prototype for strptime for Cygwin.
10774
b2db0ebc
NC
107752002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10776
ebf139fb
NC
10777 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10778 dst was not word aligned.
10779
b2db0ebc
NC
10780 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10781 if too much memory is requested.
10782
798c015d
JJ
107832002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10784
10785 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10786 reads blanks from the input file to break if EOF reached
10787 rather than end processing.
10788
46ad2ef4
JJ
107892002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10790
10791 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10792
86b06396
JJ
107932002-01-07 Alan Matsuoka <alanm@redhat.com>
10794
ba3ccd63
EB
10795 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10796 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10797 libc/include/sys/config.h: Ditto.
86b06396 10798
423d5064
CV
107992001-12-28 Corinna Vinschen <corinna@vinschen.de>
10800
10801 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10802
f6eff1c0
GK
108032001-12-22 Geoffrey Keating <geoffk@redhat.com>
10804 Catherine Moore <clm@redhat.com>
10805 Richard Henderson <rth@redhat.com>
10806 Corinna Vinschen <vinschen@redhat.com>
10807
10808 * configure.host: Add support for xstormy16.
10809 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10810 * libc/include/machine/setjmp.h: Add support for xstormy16.
10811 * libc/include/sys/config.h: Add support for xstormy16.
10812 * libc/machine/xstormy16/Makefile.am: New file.
10813 * libc/machine/xstormy16/Makefile.in: New file.
10814 * libc/machine/xstormy16/aclocal.m4: New file.
10815 * libc/machine/xstormy16/configure: New file.
10816 * libc/machine/xstormy16/configure.in: New file.
10817 * libc/machine/xstormy16/setjmp.S: New file.
10818
1f93c55f
TF
108192001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10820
10821 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10822 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10823
13b918be
CV
108242001-12-19 Corinna Vinschen <corinna@vinschen.de>
10825
10826 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10827 * libm/machine/Makefile.in: Regenerated through automake.
10828
08e857b4
TF
108292001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10830
10831 * Makefile.am (DOCDIR): Force to empty string when doc
10832 directory is not present.
10833
60565ed6
TF
108342001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10835
10836 * libc/machine/i386/f_*: Move to libm/machine/i386.
10837
108382001-12-18 Joel Sherrill <joel@OARcorp.com>
10839
10840 * libm/machine/Makefile.am: Add dummy doc stub so
10841 "make info" works.
10842
108432001-12-17 Joel Sherrill <joel@OARcorp.com>
10844
10845 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10846
fc504135
TF
108472001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10848
10849 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10850 $(COMPILE) rather than $(CC).
10851 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10852 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10853 $(LIB_COMPILE) change.
10854 (vfiprintf.$(oext)): Likewise.
10855
efeae9a3
CV
108562001-12-17 Corinna Vinschen <vinschen@redhat.de>
10857
10858 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10859 conditionalized including of getopt stuff.
10860
cdf7120d
TF
108612001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10862
10863 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10864 compile line.
f85be99c 10865 (vfiprintf.$(oext)): Likewise.
cdf7120d 10866
2e1a7175
TF
108672001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10868
10869 * Makefile.shared: New file.
10870 * libc/sys/linux/shared.ld: New file.
10871 * libm/machine/*: New files.
10872 * libm/machine/i386/*: New files.
10873 * Makefile.am: Add libtool support. Change math and mathfp
10874 references to variables.
10875 * configure.host: Add variables for libtool support. Add
10876 libm_machine_dir variable.
10877 * configure.in: Add objectlist variables, for libtool
10878 support. Add CC_FOR_BUILD tests.
10879 * libc/Makefile.am: Add libtool support. Change crt0.o
10880 reference to be a variable reference.
10881 * libc/configure.in: Add libtool support. Change sublib
10882 names to be lib${subdir}.la when using libtool.
10883 * libc/ctype/Makefile.am: Add libtool support.
10884 * libc/errno/Makefile.am: Likewise.
10885 * libc/locale/Makefile.am: Likewise.
10886 * libc/machine/Makefile.am: Likewise.
10887 * libc/machine/configure.in: Likewise.
10888 * libc/machine/i386/Makefile.am: Likewise.
10889 * libc/machine/i386/configure.in: Likewise.
10890 * libc/misc/Makefile.am: Likewise.
10891 * libc/posix/Makefile.am: Likewise.
10892 * libc/reent/Makefile.am: Likewise.
10893 * libc/signal/Makefile.am: Likewise.
10894 * libc/stdio/Makefile.am: Likewise.
10895 * libc/stdlib/Makefile.am: Likewise.
10896 * libc/string/Makefile.am: Likewise.
10897 * libc/sys/Makefile.am: Likewise.
10898 * libc/sys/configure.in: Likewise.
10899 * libc/sys/linux/Makefile.am: Add libtool support. Change
10900 awk reference to a variable reference. Change signal.h
10901 reference to a variable reference.
10902 * libc/sys/linux/configure.in: Add libtool support.
10903 * libc/syscalls/Makefile.am: Likewise.
10904 * libc/time/Makefile.am: Likewise.
10905 * libc/unix/Makefile.am: Likewise.
10906 * libm/Makefile.am: Add libtool support. Change math and
10907 mathfp references to variables.
10908 * libm/configure.in: Add libtool support. Add
10909 LIBM_MACHINE_LIB variable.
10910 * libm/common/Makefile.am: Add libtool support.
10911 * libm/math/Makefile.am: Likewise.
10912 * libm/mathfp/Makefile.am: Likewise.
10913 Regenerate all Makefile.in, aclocal.m4, and configure.
10914
b92591a1
JJ
109152001-12-13 Anita Kulkarni <anitak@kpit.com>
10916
ba3ccd63 10917 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10918
355b664e
CF
109192001-12-06 John Peacock <jpeacock@rowman.com>
10920
10921 * libc/include/sys/unistd.h: Correct ualarm declaration.
10922
e9853806
NC
109232001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10924
10925 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10926 vector before calling the initialisation functions.
10927
a8e091b0
CF
109282001-11-29 Christopher Faylor <cgf@redhat.com>
10929
10930 * libc/include/dirent.h: Protect against multiple inclusion.
10931
ab634123
CF
109322001-11-27 Christopher Faylor <cgf@redhat.com>
10933
10934 * libc/include/sys/types.h: Define useconds_t.
10935 * libc/include/sys/ulimit.h: Declare ualarm.
10936
d37e401e
CF
109372001-11-21 Christopher Faylor <cgf@redhat.com>
10938
10939 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10940
8ac90051
HPN
109412001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10942
10943 * libc/sys/mmixware/*: Tweak license header in all source files.
10944
d7ca37e4
CV
109452001-11-12 Corinna Vinschen <vinschen@redhat.com>
10946
10947 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10948 to here. Rearrange for general inclusion by stdlib.h.
10949 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10950 isn't defined.
10951 * libc/sys/linux/include/alloca.h: Move to libc/include.
10952
28f8744e
AG
109532001-11-12 Anthony Green <green@redhat.com>
10954
10955 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10956
4cede8c4
HPN
109572001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10958
10959 * libc/sys/mmixware/*: Correct spacing in all source files.
10960 * libc/sys/mmixware/syscall.h: Move misplaced file...
10961 * libc/sys/mmixware/sys/syscall.h: ...here.
10962
8be9b48b
JJ
109632001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10964
ba3ccd63
EB
10965 * libc/include/machine/ieeefp.h: Add support for mmix target.
10966 * libc/include/machine/setjmp.h: Ditto.
10967 * configure.host: Ditto.
10968 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10969 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10970 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10971 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10972 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10973 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10974 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10975 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10976 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10977 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10978 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10979 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10980 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10981 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10982 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10983 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10984 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10985 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10986
c7dd4f95
CV
109872001-11-05 Corinna Vinschen <corinna@vinschen.de>
10988
10989 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10990 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10991 when __CYGWIN__ is defined.
10992 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10993 logwtmp().
10994
a6a6f9fe
JJ
109952001-11-01 Arati Dikey <aratidikey@hotmail.com>
10996
10997 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10998 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10999 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
11000 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
11001
d0504c35
JJ
110022001-10-24 Christopher Faylor <cgf@redhat.com>
11003
11004 * libc/stdio/fseek.c: Reset pointer to buffer base
11005 when forced to seek outside of current buffer contents.
11006 This prevents the code from erroneously thinking there is
11007 anything in the current buffer.
11008
0280c8c0
GK
110092001-10-22 Geoffrey Keating <geoffk@redhat.com>
11010
11011 * libc/include/math.h: The C++ standard adds the single-precision
11012 versions of the elementary functions.
11013
333d6098
CF
110142001-10-22 Christopher Faylor <cgf@redhat.com>
11015
11016 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
11017 throughout.
11018 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
11019 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
11020 * system.c (_system_r): Ditto.
11021
c7118319
CV
110222001-10-17 Corinna Vinschen <corinna@vinschen.de>
11023
11024 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 11025 __CYGWIN__ or __rtems__ is defined.
c7118319 11026
5665b0e1
JJ
110272001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
11028
ba3ccd63
EB
11029 * libc/include/stdlib.h: add declarations for
11030 _strtoull_r, _strtoll_r, strtoull, and strtoll.
11031 * libc/stdio/local.h: remove declarations of
11032 __strtoull_r and __strtoll_r.
11033 * libc/stdio/vfscanf.c(__svfscanf_r): call
11034 _strtoull_r instead of __strtoull_r. Ditto
11035 _strtoll_r vs. __strtoll_r.
11036 * libc/stdlib/Makefile.am: add new files to
11037 .c list and .def list
11038 * libc/stdlib/Makefile.in: regenerate
11039 * libc/stdlib/strtoll_r.c: rename __strtoll_r
11040 as _strtoll_r
11041 * libc/stdlib/strtoull_r.c: rename __strtoull_r
11042 as _strtoull_r
11043 * libc/stdlib/strtoull.c: new file
11044 * libc/stdlib/strtoll.c: new file
5665b0e1 11045
d2d5eb41
CF
11046Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
11047
11048 * libc/include/process.h: Add getpid() declaration.
11049
448e3c14
NC
110502001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
11051
11052 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
11053 for new style arm/elf ctor/dtor handling.
11054 Minor formatting tidy up.
11055
7a2afbbb
JJ
110562001-09-13 Jeff Johnston <jjohnstn@redhat.com>
11057
11058 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
11059 and strtoull_r.c.
11060 * libc/stdlib/Makefile.in: Regenerated.
11061 * libc/stdlib/strtoll_r.c: New file.
11062 * libc/stdlib/strtoull_r.c: New file.
11063 * libc/stdio/local.h: Add prototypes for long long string
11064 conversion routines.
11065 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
11066 tied to %L integer conversion specifier.
11067
6342caa4
JJ
11068Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
11069
ba3ccd63
EB
11070 * strftime.c (strftime): Fix "%W" implementation to properly handle
11071 Mondays too.
6342caa4 11072
b2d319cb
JJ
110732001-09-07 Jeff Law <law@redhat.com>
11074
ba3ccd63
EB
11075 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
11076 __fini with "mov.l" instead of "mov.w".
b2d319cb 11077
233823ba
CV
110782001-09-05 Corinna Vinschen <corinna@vinschen.de>
11079
11080 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
11081 and getopt.h.
11082
63c17b54
JJ
110832001-09-04 Jason Merrill <jason_merrill@redhat.com>
11084
11085 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
11086
a3e67ddf
CV
110872001-09-03 Corinna Vinschen <corinna@vinschen.de>
11088
11089 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
11090 field.
11091 (__DIRENT_VERSION): New define.
11092
6d47f33a
CV
110932001-09-03 Corinna Vinschen <corinna@vinschen.de>
11094
11095 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
11096 Shrink __d_reserved accordingly to keep structure size.
11097 (dirfd): Declare external.
6d47f33a 11098
348c5e06
JJ
110992001-08-29 Joel Sherrill <joel@OARcorp.com>
11100
11101 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
11102
111032001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11104
11105 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
11106 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
11107 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
11108 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
11109 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
11110 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
11111 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
11112 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
11113 Add conditional compilation to avoid HW FPU instructions
11114 when compiled for soft-float.
11115
f29865c5
JJ
111162001-08-29 Jeff Johnston <jjohnstn@redhat.com>
11117
11118 * Makefile.am: Add check for ln failing when creating libg.a
11119 so that cp gets used as a backup.
11120 * Makefile.in: Regenerated.
11121
9e2a4ef8
JJ
111222001-08-29 Jeff Johnston <jjohnstn@redhat.com>
11123
11124 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
11125 No longer include time.h. Add struct __tm to use for
11126 _localtime_buf in the reentrant structure. Add a
11127 _NULL definition to use in initializing the reentrant struct.
11128 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
11129 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
11130 <sys/_types.h>.
11131 * libc/include/sys/unistd.h: Include <sys/_types.h>.
11132 * libc/time/lcltime.c (localtime): Cast the reentrant struct
11133 _localtime_buf to be struct tm *.
11134
1ae900d6
JR
11135Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
11136
11137 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
11138 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
11139 __ctors_end.
11140 * libc/sys/h8300hms/syscalls.c: Include errno.h.
11141 (_unlink): New stub function.
11142
8e26d5b5
CF
11143Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
11144
11145 * libc/include/sys/errno.h: Add a cautionary comment.
11146
e8267664
JJ
111472001-08-21 Jeff Johnston <jjohnstn@redhat.com>
11148
11149 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
11150 for SIZE_SZ so that alignment ends up a minimum of 8.
11151
4acf3edf
CF
11152Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
11153
11154 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
11155 arguments.
11156
11157 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
11158 Cygwin.
11159
52c80be8
JJ
111602001-08-13 Jeff Johnston <jjohnstn@redhat.com>
11161
11162 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
11163 macro constants for mallopt options.
11164 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
11165
a7061f7f
JJ
111662001-08-02 Jeff Johnston <jjohnstn@redhat.com>
11167
11168 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
11169 otherwise default.
11170
0b4bfdd5
AH
111712001-07-12 Aldy Hernandez <aldyh@redhat.com>
11172
ba3ccd63 11173 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 11174
2b6b730c
NC
111752001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
11176
11177 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
11178 Define for little endian ARMs.
11179
11180 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
11181 __IEEE_BYTES_LITTLE_ENDIAN is defined.
11182
25842b68
JJ
111832001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
11184
ba3ccd63 11185 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 11186
371b76ef
JJ
111872001-06-11 Egor Duda <deo@logos-m.ru>
11188
ba3ccd63
EB
11189 * libc/ctype/ctype_.c: When compiled with gcc on platforms
11190 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
11191 initialized memory region. Platform can define COMPACT_CTYPE
11192 to avoid allocation of the additional 128 bytes of data.
11193 Add pointer to _ctype_ array. Always initialize all _ctype_
11194 array elements.
371b76ef 11195
43b44bc5
JL
111962001-06-08 Jonathan Larmour <jlarmour@redhat.com>
11197
11198 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
11199 NULL pointer.
11200
188bc140
NC
112012001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
11202
11203 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
11204
2ce88418
NC
112052001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
11206
11207 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
11208 matching, non-word alignment, and the length is <= 4 but more than
11209 enough to move them over a word boundary.
11210 Add comments explaining what each instruction does.
11211
ca60ed47
CF
11212Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
11213
11214 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 11215 * libc/include/sys/unistd.h: Ditto.
ca60ed47 11216
8b3bcfba
JJ
112172001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
11218
ba3ccd63 11219 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 11220
b09e3cf8
JJ
112212001-05-01 Jeff Johnston <jjohnstn@redhat.com>
11222
11223 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
11224 real file systems, let __smakebuf() determine if line buffering
11225 should be used for stdout.
11226
0ca66974
JJ
112272001-04-27 Jeff Johnston <jjohnstn@redhat.com>
11228
11229 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
11230
7cb7017a
JJ
112312001-04-27 Jeff Johnston <jjohnstn@redhat.com>
11232
11233 * libc/include/stdlib.h: Add prototype for _strtod_r.
11234
a874cd21
JJ
112352001-04-24 Charles Wilson <cwilson@ece.gatech.edu
11236
ba3ccd63
EB
11237 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
11238 * libc/stdio/vprintf.c (_vprintf_r): new function
11239 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
11240 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
11241 _DEFUN, and call _vfprintf_r, not vfprintf.
11242 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
11243 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
11244 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 11245
cb4cc283 112462001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 11247
cb4cc283
CF
11248 * libc/include/sys/unistd.h [X_OK]: Use better protection against
11249 Cygwin X_OK definitions in sys/file.h.
11250
8c9df1d5
CF
11251Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
11252
11253 * libc/include/sys/time.h: Define timercmp and other macros for
11254 __CYGWIN__, too.
11255
3ac6f3a7 112562001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 11257
3ac6f3a7
JJ
11258 * acinclude.m4: Added --enable-malloc-debugging configure flag.
11259 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
11260 --enable-malloc-debugging selected.
11261 * aclocal.m4 configure: Regenerated.
11262 libm/aclocal.m4 libm/configure: Ditto.
11263 * libc/aclocal.m4 libc/configure: Ditto.
11264 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
11265 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
11266 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
11267 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
11268 * doc/aclocal.m4 doc/configure: Ditto.
11269
52cb9e69
JJ
112702001-04-20 Jeff Johnston <jjohnstn@redhat.com>
11271
11272 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
11273 into one list.
11274 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
11275 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
11276 function prototypes.
11277 (_fscanf_r, _sscanf_r): Ditto.
11278 * libc/include/stdlib.h: Added _strtod_r prototype.
11279 * libc/stdio/Makefile.am: Add new v*scanf functions.
11280 * libc/stdio/Makefile.in: Regenerate.
11281 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
11282 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
11283 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
11284 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
11285 (sscanf): Changed to call __svfscanf_r with _REENT argument.
11286 (_sscanf_r): New routine.
11287 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
11288 with __svfscanf_r prototype.
11289 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
11290 routines.
11291 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
11292 structure as argument as calls reentrant versions of helper functions
11293 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
11294 to _strtol_r and _strtod_r respectively.
11295 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
11296 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
11297 _REENT argument.
11298 * libc/stdio/vscanf.c: New file.
11299 * libc/stdio/vsscanf.c: Ditto.
11300
ee9f39fb
JJ
113012001-04-19 Robert Collins <rbtcollins@hotmail.com>
11302
11303 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
11304 Define daylight to _daylight if it is not defined
17c0c97d 11305 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
11306 (Cannot be used with the timezone() function.)
11307
273861e3
JJ
113082001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
11309
ba3ccd63
EB
11310 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
11311 Correct the numerical values.
273861e3 11312
a25b8414
CF
113132001-04-13 Robert Collins <rbtcollins@hotmail.com>
11314
11315 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
11316
b8a8c59d
CV
11317Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
11318
11319 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
11320 on case insensitve file systems.
11321
74f8cc63
CF
113222001-04-12 Robert Collins <rbtcollins@hotmail.com>
11323
11324 * libc/include/sys/features.h: Add appropriate defines for Cygwin
11325 pthread support.
11326 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
11327 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
11328 types. Include <cygwin/types.h> for the cygwin specific typedefs.
11329
16740220
RS
113302001-04-04 Richard Sandiford <rsandifo@redhat.com>
11331
11332 * libc/include/machine/ieeefp.h: Comment about new configuration
11333 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
11334 * libm/common/fdlib.h: Define new macros for testing floats.
11335 * libm/common/sf_*: Use them.
11336 * libm/math/ef_*: Likewise.
11337 * libm/math/sf_*: Likewise.
11338
0694d8d3
JJ
113392001-03-29 Jeff Johnston <jjohnstn@redhat.com>
11340
11341 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
11342 prolog to by-pass possible assembler error.
11343
4833b38c
JJ
113442001-03-21 Egor Duda <deo@logos-m.ru>
11345
ba3ccd63
EB
11346 Allow building internal stubs for non-reentrant syscalls
11347 if target provides its own malloc
11348 * libc/reent/reent.c (errno): Move definition here.
11349 * libc/reent/sbrkr.c: From here.
4833b38c 11350
d17d6d42
CF
113512001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
11352
11353 * libc/include/sys/types.h (BSD int typedefs): Guard with
11354 _BSDTYPES_DEFINED rather than _WINSOCK_H.
11355 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
11356 _SYS_TYPES_FD_SET.
11357 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
11358 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
11359
c7ee75cd
CV
11360Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
11361
11362 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
11363 _PC_POSIX_SECURITY constants for Cygwin.
11364
63dc5d80
CV
11365Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
11366
11367 * libc/sys/cygwin/crt0.c: Add copyright hint.
11368 * libc/sys/cygwin/sys/dirent.h: Ditto.
11369 * libc/sys/cygwin/sys/param.h: Ditto.
11370 * libc/sys/cygwin/sys/utime.h: Ditto.
11371 * libc/sys/cygwin/sys/utmp.h: Ditto.
11372
6f637037
AO
113732001-03-13 Alexandre Oliva <aoliva@redhat.com>
11374
11375 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
11376 equivalent to LONGINT.
11377
e69b6f73
JJ
113782001-03-08 Richard Sandiford <rsandifo@redhat.com>
11379
ba3ccd63
EB
11380 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
11381 jmpbuf on MIPS64 targets.
11382 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 11383
6198dece
CF
11384Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
11385
17c0c97d 11386 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 11387 declarations.
6198dece 11388
cfc05d96
JJ
11389Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
11390
ba3ccd63
EB
11391 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
11392 For RTEMS, define to be ssize_t. Default to int if not defined.
11393 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
11394 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
11395 * libc/stdio/local.h (__sread, __swrite): Likewise.
11396 * libc/include/sys/reent.h (_read, _write): Likewise.
11397 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
11398 * libc/syscalls/sysread.c (read): Likewise.
11399 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 11400
6249353a
JJ
114012001-03-05 Jeff Johnston <jjohnstn@redhat.com>
11402
ba3ccd63 11403 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 11404
658b5db9
CF
11405Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
11406
11407 * libc/include/sys/stat.h: Use special defines for executable stat bits
11408 when compiling for Cygwin.
11409 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
11410 for Cygwin.
11411
19ca46d5
JJ
114122001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11413
11414 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
11415 of strtok_r is always defined.
11416
b73ed85e
JJ
114172001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11418
11419 * libc/include/machine/ansi.h: New dummy header file.
11420
ee37ede1
JJ
114212001-02-22 Jeff Johnston <jjohnstn@redhat.com>
11422
11423 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
11424 changed the copyright information to allow free modification of the
11425 file with no reference to "copying.dj".
11426 * libc/include/sys/stat-dj.h: Ditto.
11427 * libc/machine/i386/setjmp.S: Ditto.
11428 * libc/sys/h8300hms/sys/file.h: Ditto.
11429 * libc/sys/sysmec/access.c: Ditto.
11430 * libc/sys/sysnecv850/access.c: Ditto.
11431 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
11432 * libc/stdlib/getenv_r.c: Ditto.
11433 * libc/stdlib/putenv_r.c: Ditto.
11434 * libc/stdlib/setenv_r.c: Ditto.
11435 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11436 modifications will now be in the _r version of this file.
11437 * libc/stdlib/putenv.c: Ditto.
11438 * libc/stdlib/setenv.c: Ditto.
11439 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11440 valid. Added a reference to DJ's web page that contains his address.
11441 * libc/sys/go32/*.s: Removed references to DJ's old address.
11442 * libc/sys/go32/*.c: Ditto.
11443 * libc/sys/go32/*.h: Ditto.
11444 * libc/sys/go32/*.S: Ditto.
11445 * libc/sys/go32/sys/*.h: Ditto.
11446
3a8fc0e4
JJ
114472001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11448
11449 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11450 HAVE_FCNTL flag check.
11451 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11452 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11453
b24ee749
CF
11454Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11455
11456 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11457
ab4745dc
JJ
114582001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11459
ba3ccd63
EB
11460 * libc/include/stdlib.h: Add declarations of rand48 functions and
11461 their reentrant versions.
11462 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11463 struct _rand48 for shared parameters of rand48 functions.
11464 (struct _reent): Add a variable _r48 of struct _rand48.
11465 (_REENT_INIT): Add _r48 initialization.
11466 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11467 (CHEWOUT_FILES): Add rand48.def.
11468 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11469 * libc/stdlib/Makefile.in: Regenerated.
11470 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11471 NetBSD C library.
11472 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11473 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11474 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11475 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11476 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11477 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11478 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11479 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11480 * libc/stdlib/rand48.c (__dorand48): Ditto.
11481 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11482 parameters into macros referring them in the reentrant structure.
ab4745dc 11483
a34c461f
JJ
114842001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11485
11486 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11487 Cygwin definition has correct prototype.
11488
34f31ff2
JJ
114892001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11490
11491 * libc/include/sys/stat.h: Must revert change for mknod
11492 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11493 prototype.
11494
5336d6de
JJ
114952001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11496
11497 * libc/include/stdio.h: Revert putw prototype.
11498
8915d10a
JJ
114992001-02-08 Edward M. Lee <tailbert@yahoo.com>
11500
ba3ccd63
EB
11501 * libc/include/grp.h: add prototype for initgroups.
11502 * libc/include/stdio.h: fix prototype for putw.
11503 * libc/include/sys/signal.h: add prototype for killpg.
11504 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11505 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11506 vhangup and remove duplicate sysconf prototype.
11507
93ac4487
JJ
115082001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11509
11510 * libc/sys/rtems/sys/types.h: Removed.
11511
31f5feea
JJ
115122001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11513
ba3ccd63 11514 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11515
b5139f59
AO
115162001-02-01 Alexandre Oliva <aoliva@redhat.com>
11517
11518 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11519 SYS_get_argN):
11520 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11521 __setup_argv_and_call_main): New.
11522
e29d8355
JJ
115232001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11524
11525 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11526 if defined.
11527 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11528 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11529 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11530 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11531
82ea92f3
CF
11532Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11533
11534 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11535 compiling under Cygwin.
11536
3aaa66f8
JJ
115372001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11538
11539 * libc/include/math.h (signgam): Change to errno-like solution
11540 using a function to return the address of the real signgam.
11541 * libc/reent/signgam.c: New file containing __signgam().
11542 * libc/reent/Makefile.am: Added signgam.c to list of files.
11543 * libc/reent/Makefile.in: Regenerated.
11544
610b895a
AO
115452001-01-25 Alexandre Oliva <aoliva@redhat.com>
11546
b0913397
AO
11547 * libc/sys/sh/syscalls.c (_times): New.
11548
610b895a
AO
11549 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11550 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11551
3643210e
JJ
115522001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11553
11554 * libc/include/math.h (signgam): Regress previous fix as
11555 it does not handle programs with extern int signgam in them.
11556
841081c9
JJ
115572001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11558
11559 * libc/include/math.h (signgam): Changed to a macro refering to
11560 its location in the reentrant structure.
11561
e9cd87b8
JJ
115622001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11563
11564 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11565 that suppressed . for %.0f, 0.1. Check now looks if there
11566 are padding zeroes (expt) in addition to any digits (ndig) to
11567 print.
11568
a302b48c
JJ
115692001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11570
11571 * libc/sys/arc/Makefile.am: New file.
11572 * libc/sys/arc/Makefile.in: Ditto.
11573 * libc/sys/arc/aclocal.m4: Ditto.
11574 * libc/sys/arc/configure: Ditto.
11575 * libc/sys/arc/configure.in: Ditto.
11576 * libc/sys/arc/crt0.S: Ditto.
11577 * libc/sys/arc/isatty.c: Ditto.
11578 * libc/sys/arc/mem-layout.c: Ditto.
11579 * libc/sys/arc/sbrk.c: Ditto.
11580 * libc/sys/arc/syscalls.c: Ditto.
11581 * libc/sys/arc/sys/syscall.h: Ditto.
11582
d0319c3b
CF
11583Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11584
11585 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11586
e45ab890
CF
11587Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11588
11589 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11590
1376245a
DD
11591Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11592
11593 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11594
92b57543
NC
115952001-01-09 Nick Clifton <nickc@redhat.com>
11596
11597 * configure.host (v859): Remove unsupported compiler options.
11598
7d6d33d4
JJ
11599Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11600
11601 * src/newlib/configure.host (*-*-rtems*): add printf long long
11602 support for RTEMS.
11603
602f8b5a 116042000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11605
ba3ccd63 11606 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11607
9c2b8183
JJ
11608Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11609
11610 * configure.host: Turn on long double I/O for Cygwin.
11611
804368d3
JJ
11612Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11613
11614 * MAINTAINERS: Removed Ranjith.
11615 * NEWS: Updated for 1.9.0.
11616 * README: Updated.
11617 * acinclude.m4: Updated to release 1.9.0.
11618 * aclocal.m4 configure
11619 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11620 libc/machine/aclocal.m4 libc/machine/configure
11621 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11622 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11623 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11624 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11625 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11626 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11627 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11628 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11629 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11630 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11631 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11632 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11633 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11634 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11635 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11636 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11637 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11638 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11639 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11640 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11641 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11642 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11643 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11644 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11645 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11646 libc/sys/aclocal.m4 libc/sys/configure
11647 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11648 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11649 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11650 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11651 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11652 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11653 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11654 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11655 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11656 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11657 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11658 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11659 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11660 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11661 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11662 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11663 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11664 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11665 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11666 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11667 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11668 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11669 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11670 libm/aclocal.m4 libm/configure: Regenerated.
11671
0985d43f
CV
11672Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11673
11674 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11675 when __CYGWIN__ is defined.
11676
b6182a09
JJ
116772000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11678
11679 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11680 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11681 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11682 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11683 calls to the two removed routines to a single _ldcheck call.
11684 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11685
adbbb034
JJ
116862000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11687
11688 * Makefile.am: Fixed install-data-local target to use
11689 $(mkinstalldirs) for the installed header files to ensure
11690 the directories exist before copying.
11691 * Makefile.in: Regenerated.
11692
cbd19336
JJ
116932000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11694
11695 * libc/include/sys/unistd.h: Restored Cygwin _SC
11696 constants and moved new constants appropriately
11697 so Cygwin will build.
11698
8fb37963
JJ
116992000-12-11 Joel Sherrill <joel@OARcorp.com>
11700
ba3ccd63
EB
11701 * Merge RTEMS specific .h files into main libc/include.
11702 * libc/sys/rtems/include/signal.h: Removed.
11703 * libc/sys/rtems/include/time.h: Removed.
11704 * libc/sys/rtems/sys/features.h: Removed.
11705 * libc/sys/rtems/sys/sched.h: Removed.
11706 * libc/sys/rtems/sys/siginfo.h: Removed.
11707 * libc/sys/rtems/sys/signal.h: Removed.
11708 * libc/sys/rtems/sys/time.h: Removed.
11709 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11710 definitions for time_t and clock_t since these are
11711 no longer in time.h.
ba3ccd63
EB
11712 * libc/include/pthread.h: New file.
11713 * libc/include/sys/sched.h: New file.
11714 * libc/include/sys/features.h: New file.
11715 * libc/include/time.h: Removed duplicate definition of clock_t
11716 and time_t, get them from <sys/types.h> instead. Add prototypes
11717 for POSIX clock and timer functionality.
8fb37963 11718 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11719 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11720 * libc/include/sys/signal.h: Add more complete set of POSIX
11721 signal functionality including real-time and threaded signals.
11722 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11723 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11724 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11725 Added numerous primitive definitions
11726 for pthreads including macros, pthread_attr_t,
17c0c97d 11727 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11728 pthread_once_t, and pthread_t.
ba3ccd63
EB
11729 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11730 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11731 Feature flags removed and moved to new file <sys/features.h>.
11732 Full set of POSIX sysconf() constants
8fb37963 11733
2efbc2a7
JJ
117342000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11735
11736 * configure.host: Added x86 linux target.
11737 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11738 definitions provided if not already defined.
11739 * libc/sys/linux/crt0.c: New file.
11740 * libc/sys/linux/Makefile.am: Ditto.
11741 * libc/sys/linux/Makefile.in: Ditto.
11742 * libc/sys/linux/aclocal.m4: Ditto.
11743 * libc/sys/linux/brk.c: Ditto.
11744 * libc/sys/linux/configure: Ditto.
11745 * libc/sys/linux/configure.in: Ditto.
11746 * libc/sys/linux/getoptlong.c: Ditto.
11747 * libc/sys/linux/ids.c: Ditto.
11748 * libc/sys/linux/inode.c: Ditto.
11749 * libc/sys/linux/io.c: Ditto.
11750 * libc/sys/linux/linux.c: Ditto.
11751 * libc/sys/linux/process.c: Ditto.
11752 * libc/sys/linux/realpath.c: Ditto.
11753 * libc/sys/linux/select.c: Ditto.
11754 * libc/sys/linux/signal.c: Ditto.
11755 * libc/sys/linux/systat.c: Ditto.
11756 * libc/sys/linux/termios.c: Ditto.
11757 * libc/sys/linux/time.c: Ditto.
11758 * libc/sys/linux/wait.c: Ditto.
11759 * libc/sys/linux/include/alloca.h: Ditto.
11760 * libc/sys/linux/include/getopt.h: Ditto.
11761 * libc/sys/linux/include/stdint.h: Ditto.
11762 * libc/sys/linux/include/unistd.h: Ditto.
11763 * libc/sys/linux/sys/cdefs.h: Ditto.
11764 * libc/sys/linux/sys/dirent.h: Ditto.
11765 * libc/sys/linux/sys/errno.h: Ditto.
11766 * libc/sys/linux/sys/fcntl.h: Ditto.
11767 * libc/sys/linux/sys/file.h: Ditto.
11768 * libc/sys/linux/sys/ioctl.h: Ditto.
11769 * libc/sys/linux/sys/resource.h: Ditto.
11770 * libc/sys/linux/sys/signal.h: Ditto.
11771 * libc/sys/linux/sys/stat.h: Ditto.
11772 * libc/sys/linux/sys/syscall.h: Ditto.
11773 * libc/sys/linux/sys/termios.h: Ditto.
11774 * libc/sys/linux/sys/time.h: Ditto.
11775 * libc/sys/linux/sys/types.h: Ditto.
11776 * libc/sys/linux/sys/utmp.h: Ditto.
11777 * libc/sys/linux/sys/utsname.h: Ditto.
11778 * libc/sys/linux/sys/wait.h: Ditto.
11779
a08c98bb
JJ
117802000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11781
ba3ccd63
EB
11782 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11783 can be a relative path to $(top_srcdir)/install.sh so ensure the
11784 autoconf detected settings are properly passed recursively.
11785 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11786 properly to subdirectories.
a08c98bb
JJ
11787 * Makefile.in: Regenerated.
11788
b294082c
JJ
117892000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11790
ba3ccd63
EB
11791 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11792 a floating point register unless really printing a floating
11793 point number.
b294082c 11794
2005ab6b
JJ
117952000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11796
11797 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11798 Also removed \r's.
11799 (asctoeg): Replaced alloca call with stack array and malloc
11800 when storage exceeds reasonable limit.
11801 (e53toe): Fixed einfin calls missing ldp parameter.
11802 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11803
9f6e8f1b
JJ
118042000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11805
2005ab6b 11806
9f6e8f1b
JJ
11807 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11808
6bdac416
JJ
118092000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11810
11811 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11812 * libc/stdlib/Makefile.in: Regenerated.
11813 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11814 * libc/stdio/vfieeefp.h: Added long double bit structures.
11815 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11816 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11817 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11818 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11819 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11820 _strtold routines used for conversions between character
11821 and long double.
11822
ec270d31
CV
11823Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11824
11825 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11826
db2d9549
JJ
118272000-12-04 Joel Sherrill <joel@OARcorp.com>
11828
ba3ccd63 11829 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11830 tick rate so use sysconf() to ask.
11831
6ba54a15
JJ
118322000-12-04 Joel Sherrill <joel@OARcorp.com>
11833
ba3ccd63 11834 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11835
8677b819
JJ
118362000-12-04 Joel Sherrill <joel@OARcorp.com>
11837
ba3ccd63
EB
11838 * libc/include/sys/time.h: Added BSD timer manipulation macros
11839 used by RTEMS code.
8677b819 11840
1b61a706
JJ
118412000-12-04 Joel Sherrill <joel@OARcorp.com>
11842
ba3ccd63
EB
11843 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11844 referenced by code generated by gcc 2.8.1.
11845 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11846 satisfy gcc.
11847
f5e7c124
JJ
118482000-12-04 Joel Sherrill <joel@OARcorp.com>
11849
ba3ccd63 11850 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11851
768abc9c
JJ
118522000-12-04 Joel Sherrill <joel@OARcorp.com>
11853
ba3ccd63 11854 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11855
9e5dd5ea
JJ
118562000-12-04 Joel Sherrill <joel@OARcorp.com>
11857
ba3ccd63 11858 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11859 OpenRisc CPUs.
ba3ccd63 11860 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11861
768abc9c 118622000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11863
ba3ccd63
EB
11864 * libc/include/sys/errno.h: Added comments on many error numbers.
11865 * libc/string/strerror.c: Added some more strings.
7713fb6f 11866
b273323f
JJ
118672000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11868
11869 * libc/sys/sh/syscalls.c (_link): New stub.
11870
0ffc3b94
NC
118712000-11-29 Nick Clifton <nickc@redhat.com>
11872
11873 * configure.host: Add xscale target.
11874 * libc/machine/xscale: New directory.
11875 * libc/machine/xscale/Makefile.am: New file.
11876 * libc/machine/xscale/Makefile.in: New file.
11877 * libc/machine/xscale/aclocal.m4: New file.
11878 * libc/machine/xscale/configure: New file.
11879 * libc/machine/xscale/configure.in: New file.
11880 * libc/machine/xscale/memchr.S: New file.
11881 * libc/machine/xscale/memcmp.S: New file.
11882 * libc/machine/xscale/memcpy.S: New file.
11883 * libc/machine/xscale/memmove.S: New file.
11884 * libc/machine/xscale/memset.S: New file.
11885 * libc/machine/xscale/strchr.S: New file.
11886 * libc/machine/xscale/strcmp.S: New file.
11887 * libc/machine/xscale/strcpy.S: New file.
11888 * libc/machine/xscale/strlen.S: New file.
11889
cbbf0f96
CV
11890Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11891
11892 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11893 avoid compiler warnings.
11894
73dea790
MM
118952000-11-22 Michael Meissner <meissner@redhat.com>
11896
11897 * libc/posix/execl.c (execl): Don't reference environ directly,
11898 reference it only via a static pointer to avoid problems with some
11899 shared library systems and with different uses of small data where
11900 the user specifies his own version of environ.
11901 * libc/posix/execv.c (execv): Ditto.
11902 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11903 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11904 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11905
11906 * libc/stdlib/getenv.c (environ): Delete unused reference to
11907 environ.
11908
11909 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11910 colorization.
11911 * libc/stdlib/system.c: Ditto.
11912
08eac2ae
CF
11913Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11914
11915 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11916 including windows headers.
11917
5478bf37
JJ
119182000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11919
11920 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11921 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11922 not defined by sys/dirent.h.
11923 * libc/posix/execvp.c: Added include of dirent.h to get
11924 MAXNAMLEN value which used to be in unistd.h.
11925
3a760728
CV
11926Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11927
11928 * libc/include/sys/types.h: Change type of i to `size_t' in
11929 FD_ZERO macro to avoid compiler warnings.
11930
86fff69f
CF
11931Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11932
11933 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11934 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11935
ba9e88d2
CV
11936Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11937
11938 * libc/include/sys/unistd.h: Add defines for sysconf values
11939 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11940 _SC_AVPHYS_PAGES.
11941
a8018ef3
CF
11942Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11943
11944 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11945 declarations for __CYGWIN__.
11946
b944c6f6
GK
119472000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11948
11949 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11950 case labels to be integral constant expressions, so
11951 use an if/else tree instead.
11952 (_raise_r): Likewise.
11953
7f18fcb4
JJ
119542000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11955
11956 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11957 clipping patch from e-mail reader.
11958
242361df
JJ
119592000-09-13 Will Cohen <wcohen@redhat.com>
11960
11961 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11962 Added return value 0.
11963 (_longjmp): Allow longjmp to return value of second argument
11964 passed to it.
11965
8a8c59b9
JJ
119662000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11967
ba3ccd63
EB
11968 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11969 inline code to prevent having to include another header file.
8a8c59b9 11970
a385ae75
CF
11971Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11972
11973 * Makefile.am: Fix space vs. tab problem in install-data-local.
11974 * Makefile.in: Regenerate.
11975
11976Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11977
11978 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11979 (_EXPARM): New macro for defining a function parameter.
11980 * libc/include/stdlib.h: Use _EXPARM.
11981 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11982
a36cd013
JJ
119832000-09-05 Manfred Hollstein <manfredh@redhat.com>
11984
ba3ccd63
EB
11985 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11986 required, as documented in the gnu coding standards.
11987 * Makefile.in: Regenerate.
a36cd013 11988
f825dfda
JJ
119892000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11990
11991 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11992 make O_NDELAY and O_NONBLOCK have the same value.
11993
4ba9aab7
JJ
119942000-08-30 Kazu Hirata <kazu@hxi.com>
11995
ba3ccd63 11996 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11997
db7acc38
JJ
119982000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11999
ba3ccd63
EB
12000 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
12001 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
12002 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
12003 everywhere else.
db7acc38 12004
44e36af4
GK
120052000-08-30 Geoffrey Keating <geoffk@cygnus.com>
12006
12007 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
12008 * libc/include/string.h: Don't include <sys/types.h>,
12009 as it causes really bad namespace pollution. Don't declare
12010 swab(), it is properly declared in unistd.h.
12011
00a2f168
JJ
120122000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
12013
ba3ccd63
EB
12014 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
12015 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 12016
6beeb240
JJ
120172000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12018
ba3ccd63
EB
12019 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
12020 only if _DIRENT_HAVE_D_NAMLEN is defined.
12021 (alphasort): aligned prototype with
12022 libc/sys/cygwin/sys/dirent.h and simplified function body.
12023 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
12024 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 12025
ef44da42
JJ
120262000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12027
ba3ccd63
EB
12028 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
12029 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
12030 Added __CLI and __STI macros (controlled via
12031 _I386MACH_ALLOW_HW_INTERRUPTS macro).
12032 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
12033 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
12034 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
12035 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
12036 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
12037 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
12038 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
12039 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
12040 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
12041 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
12042 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
12043 for all global entry points.
12044 * libc/machine/i386/setjmp.S: removed code replicated in
12045 libc/machine/i386/i386mach.h and included i386mach.h instead;
12046 Use __CLI and __STI instead of cli and sti.
ef44da42 12047
14d3488d
DD
120482000-08-25 DJ Delorie <dj@redhat.com>
12049
12050 * libc/include/sys/unistd.h (environ): this one isn't from the
12051 DLL, no __IMPORT
12052
c9ca4412
CF
12053Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
12054
12055 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
12056 environ when compiling under cygwin since it is already declared in
12057 unistd.h.
12058
2d5862de
JJ
120592000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12060
12061 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
12062 like x << y-z to the equivalent x << (y-z).
12063 (d2b): changed if statements with assignment to perform the
12064 assignment prior to the if check.
12065 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
12066 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
12067 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
12068 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
12069 precedence.
12070 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 12071 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
12072 execve.c).
12073 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
12074 precedence.
12075 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
12076 clarify && and || precendence (and to remove pascalism).
12077 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
12078 * libm/math/s_infconst.c: added another pair of braces to all
12079 initializers for __infinity (need three: for __infinity[1] array,
12080 for union __dmath, and for i[2]).
12081
0888fedd
JJ
120822000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12083
199359f0
JJ
12084 * libc/stdlib/abort.c: changed description: uses "raise" instead of
12085 "getpid" and "kill"; added: uses "write" and "_exit".
12086 Also included unistd.h for "_exit" prototype.
12087 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
12088 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 12089 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
12090 extern char **environ.
12091 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
12092 prototypes.
12093 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
12094 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
12095 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
12096 * libc/reent/openr.c: included fcntl.h for "open" prototype.
12097 * libc/reent/signalr.c: included signal.h for "kill" prototype,
12098 unistd.h for "getpid" prototype.
12099 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
12100 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
12101 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
12102 prototype. Also included stdlib.h for "abort", string.h for
12103 "strdup" and "strncmp" prototypes.
12104 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
12105 "strncpy", unistd.h for "read" and "close" prototypes.
12106 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
12107 "strcat" prototypes.
12108
121092000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
12110
0888fedd
JJ
12111 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
12112 used later (ifdef __SCLE)
12113 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
12114 used later (ifdef MB_CAPABLE)
12115 * libc/string/memset.c (memset): removed unused variables "count"
12116 and "unaligned_addr"
12117 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
12118 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
12119 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
12120 and "gid"
12121
a334e5ef
JJ
121222000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12123
ba3ccd63
EB
12124 * libc/stdlib/envlock.c: changed documented "__env_lock" and
12125 "__env_unlock" prototype from "void *" or "char *" to
12126 "struct _reent *" to match real function. Also added include
a334e5ef 12127 of envlock.h.
ba3ccd63
EB
12128 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
12129 "__malloc_unlock" prototype from "void *" or "char *" to
12130 "struct _reent *" to match real function.
12131 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
12132 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 12133
644b7f26
DD
121342000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
12135
12136 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
12137 and prototype in cygwin's utmp.h
12138
5bacbf10
JJ
121392000-08-16 Eric Fifer <efifer@sanwaint.com>
12140
ba3ccd63 12141 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 12142
38a6bf98
NC
121432000-08-09 Nick Clifton <nickc@cygnus.com>
12144
12145 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
12146 epilogue and to allow the functions to be used in a Thumb based
12147 toolchain.
12148
befe0fb3
JJ
121492000-08-08 Jeff Johnston <jjohnstn@redhat.com>
12150
12151 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
12152 so size of 0 results in nothing being written to string.
12153 Also fixed code so that when size is non-zero, there is only
12154 a maximum of size - 1 characters written to the array and
12155 a nul terminator is appended at the end.
12156 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
12157
749d9bcd
DD
121582000-08-01 DJ Delorie <dj@redhat.com>
12159
12160 * libc/include/sys/config.h: define __IMPORT appropriately
12161 * libc/include/ctype.h (_ctype_): use __IMPORT
12162 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
12163 * libc/include/math.h (__mb_cur_max): ditto
12164 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
12165 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
12166 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
12167 * libc/include/unistd.h (environ): ditto
12168
7c110b17
MM
121692000-07-28 Michael Meissner <meissner@redhat.com>
12170
12171 * libc/include/math.h (__infinity): Declare as an array without
12172 bounds to get around small data support. Rewrite Cygwin support
12173 to be more general.
12174 * libm/math/s_infconst.c (__infinity): Ditto.
12175 * libm/mathfp/s_infconst.c (__infinity): Ditto.
12176
bf7be721
CF
12177Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
12178
12179 * libc/include/math.h: Use appropriate dll import linkage for
12180 __infinity under Cygwin.
12181
91a8d90b
DD
121822000-07-13 DJ Delorie <dj@cygnus.com>
12183
12184 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
12185
ba2048d3
JJ
12186Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
12187
12188 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
12189 to argument list for AngelSWI_Reason_GetCmdLine.
12190
4634da64
JJ
12191Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12192
12193 * configure.host: Add support for AVR target.
12194 * libc/include/machine/ieeefp.h: Likewise.
12195 * libc/include/sys/config.h: Likewise.
12196
b19f72a2
RK
12197Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
12198
12199 * README: Newlib 1.8.2 must be built in a separate directory
12200 than the sources.
12201
a704d94a
JJ
12202Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12203
ba3ccd63
EB
12204 * libc/include/sys/reent.h (_rand_next): Added __extension__
12205 qualifier as long long type is not strict ANSI.
12206 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
12207 to long long constant.
a704d94a 12208
b585720b
CV
12209Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
12210
ba3ccd63
EB
12211 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
12212 `setegid' provided by Cygwin.
b585720b 12213
01c327ba
CV
12214Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
12215
ba3ccd63
EB
12216 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
12217 account for Cygwin.
01c327ba 12218
46a43a99
JJ
12219Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12220
ba3ccd63
EB
12221 * libc/include/sys/reent.h (_rand_next): Changed to
12222 unsigned long long and moved to end of _reent struct in _new union.
12223 (_REENT_INIT): Changed to move _rand_next initialization.
12224 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
12225 linear congruential algorithm that is used by DJGPP.
46a43a99 12226
a68078cb
RK
12227Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
12228
12229 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
12230 * libc/include/sys/config.h: Define __RAND_MAX.
12231
518882f3
JJ
12232Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12233
ba3ccd63
EB
12234 * libc/stdlib/rand_r.c: New algorithm that meets minimal
12235 standard.
518882f3 12236
d51d968a
CF
12237Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
12238
12239 * libc/include/string.h: Work around problem with strsignal and gdb.
12240
d2dd5765
CF
12241Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
12242
12243 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
12244 * libc/include/malloc.h: Ditto.
12245 * libc/include/process.h: Ditto.
12246 * libc/include/stdio.h: Ditto.
12247 * libc/include/stdlib.h: Ditto.
12248 * libc/include/time.h: Ditto.
12249 * libc/include/machine/setjmp.h: Ditto.
12250 * libc/include/sys/errno.h: Ditto.
12251 * libc/include/sys/signal.h: Ditto.
12252 * libc/include/sys/stat.h: Ditto.
12253 * libc/include/sys/time.h: Ditto.
12254 * libc/include/sys/unistd.h: Ditto.
12255 * libc/include/string.h: Ditto. strsignal should return a const char *.
12256
88870218
JJ
122572000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
12258
12259 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
12260 * libm/common/s_log1p.c (log1p): Likewise.
12261 * libm/common/s_scalbn.c (scalbn): Likewise.
12262 * libm/math/e_log.c: Likewise.
12263 * libm/math/e_asin.c: Likewise.
12264 * libm/math/ef_asin.c: Likewise.
12265 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
12266 * libm/math/e_j1.c (pone, qone): Likewise.
12267 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
12268 * libm/math/ef_j1.c (ponef, qonef): Likewise.
12269 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
12270 * libm/mathfp/e_j1.c (pone, qone): Likewise.
12271 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
12272 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
12273
c4e1aa01
DD
122742000-05-19 DJ Delorie <dj@cygnus.com>
12275
12276 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
12277 (__sread): always read in binary mode
12278 (__swrite): always write in binary mode
12279 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
12280 compatibility issues with different dll versions
12281 * libc/stdio/fopen.c: use __stextmode
12282 * libc/stdio/fdopen.c: ditto
12283 * libc/stdio/freopen.c: ditto
12284 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
12285 * libc/stdio/local.h: declare __stextmode
17c0c97d 12286
f4393261
DD
122872000-05-18 DJ Delorie <dj@cygnus.com>
12288
12289 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 12290
2b533fac
JJ
12291Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12292
12293 * libc/include/ctype.h: Changed tolower and toupper macros
12294 to use __extension__ to prevent pedantic warnings.
12295
75362a76
RK
12296Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
12297
12298 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
12299 structures.
12300
ec463fc7
JW
12301Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
12302
12303 * libc/include/machine/ieeefp.h: Add ia64 support.
12304 * configure.host: Likewise.
12305
f35ceefa
JJ
12306Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
12307
ba3ccd63
EB
12308 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
12309 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
12310 ANSI standard.
12311
b96fca8c
CV
12312Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
12313
ba3ccd63
EB
12314 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
12315 host or network path") used by cygwin. Add some comments.
b96fca8c 12316
49d64538
JJ
12317Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
12318
12319 * libc/include/stdio.h (FILE): define __SCLE for "convert line
12320 endings" for Cygwin.
12321 (__sgetc): convert line endings if needed
12322 (__sputc): ditto
12323 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
12324 * libc/stdio/fopen.c (_fopen_r): ditto
12325 * libc/stdio/freopen.c (freopen): ditto
12326 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
12327 * libc/stdio/fvwrite.c (__sfvwrite): ditto
12328
91fb1e7f
AO
12329Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
12330
12331 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
12332 post-increment when it is worth it, spacewise.
12333
c87be3e4
JJ
12334Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
12335
12336 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
12337 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 12338 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
12339 return type.
12340 * libc/stdio/putchar.c (putchar): Added return statement.
12341 * libc/stdio/refill.c (lflush): Added correct parentheses.
12342 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 12343 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
12344 prints long value to use l qualifier.
12345 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
12346 messages and initialized local values: ilim, ilim1, and spec_case.
12347 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
12348 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
12349 * libc/stdlib/mprec.c: Ditto.
12350 * libc/stdlib/setenv_r.c: Ditto.
12351 * libc/stdlib/strtod.c: Ditto.
12352 * libc/stdlib/strtol.c: Ditto.
12353 * libc/stdlib/strtoul.c: Ditto.
12354 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
12355 * libm/common/sf_log1p.c: Ditto.
12356 * libm/common/sf_scalbn.c: Ditto.
12357 * libm/math/ef_log.c: Ditto.
12358
11f5b065
CV
12359Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
12360
ba3ccd63
EB
12361 * libc/posix/execvp.c (execvp): Check path for
12362 trailing slash.
11f5b065 12363
796e3b20
CV
12364Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
12365
ba3ccd63
EB
12366 * libc/include/sys/unistd.h: Add prototypes for
12367 fchmod, fchown, lchown.
796e3b20 12368
b489803a
JJ
12369Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12370
12371 * acinclude.m4: Changed release to 1.8.2.
12372 * aclocal.m4 configure doc/aclocal.m4 doc/configure
12373 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
12374 libc/machine/configure libc/machine/a29k/aclocal.m4
12375 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12376 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12377 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12378 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12379 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
12380 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12381 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12382 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12383 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12384 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12385 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12386 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12387 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12388 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12389 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12390 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12391 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12392 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
12393 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12394 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
12395 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
12396 libc/machine/v850/configure libc/machine/w65/aclocal.m4
12397 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
12398 libc/machine/z8k/configure libc/sys/aclocal.m4
12399 libc/sys/aclocal.m4 libc/sys/configure
12400 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12401 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12402 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12403 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12404 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12405 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12406 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12407 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12408 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12409 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12410 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12411 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12412 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12413 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12414 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12415 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12416 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12417 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12418 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12419 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12420 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12421 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12422 libm/aclocal.m4 libm/configure: Regenerated.
12423
79908d67
NC
124242000-03-24 Nick Clifton <nickc@cygnus.com>
12425
12426 * libc/sys/arm/syscalls.c: Fix compile time warnings.
12427 (do_AngelSWI): Add "cc" to list o registers clobbered.
12428
7684ddaf
FN
12429Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12430
12431 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 12432 information to be clobbered by an Angel C library support syscall.
7684ddaf 12433
b8ec20c8
JJ
12434Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12435
12436 * libc/stdlib/envlock.c: Fixed comment typo.
12437
fae4c299
JJ
12438Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12439
12440 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12441 code to update nread as each character is processed instead
12442 of using buffer contents which throw away leading zeroes.
12443
dc98804b
RK
12444Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12445
ba3ccd63 12446 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 12447
5ed2f523
JJ
12448Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12449
12450 * libc/include/string.h: Include <sys/types.h>.
12451
1cf0ee34
AO
12452Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12453
12454 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12455 with XSH5, not SVID.
12456
e9c94978
JJ
12457Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12458
ba3ccd63 12459 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 12460 to make it compatible with XPG4 definition which is
e9c94978
JJ
12461 defined in <unistd.h>. There is a conflict in the SVID 3
12462 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 12463 * libc/string/swab.c: Ditto.
e9c94978 12464
3072163c
JJ
12465Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12466
ba3ccd63
EB
12467 * libc/include/string.h: Changed last argument to size_t.
12468 * libc/string/swab.c: Changed last argument to size_t.
3072163c 12469
f205ea7a
AO
12470Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12471
12472 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12473 (CHEWOUT_FILES): Added unlinkr.def.
12474 * libc/reent/Makefile.in: Rebuilt.
12475 * libc/sys.tex: Include unlinkr.def.
12476 * libc/reent/linkr.c (_unlink_r): Moved to...
12477 * libc/reent/unlinkr.c: ... new file.
12478
85dd2e5b
AO
12479Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12480
12481 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12482 (CHEWOUT_FILES): Added swab.def.
12483 * libc/string/Makefile.in: Rebuilt.
12484 * libc/string/string.tex: Include swab.def.
12485 * libc/include/string.h (swab): Declare.
12486 * libc/string/swab.c: New file.
12487
c5053058
AO
12488Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12489
12490 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12491 (CHEWOUT_FILES): Added getw.def and putw.def.
12492 * libc/stdio/Makefile.in: Rebuilt.
12493 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12494 * libc/stdio/getw.c: New file.
12495 * libc/stdio/putw.c: New file.
12496
dbaf37cf
JJ
12497Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12498
12499 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12500 is non-null before looking at mode[2].
12501
bc019ef2
RK
12502Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12503
12504 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12505 * libm/mathfp/sf_atan.c: Ditto.
12506
12507Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12508
12509 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12510
cd641b2d
RK
12511Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12512
12513 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12514 _DOUBLE_IS_32BITS.
12515
b0ba0ac2
JJ
12516Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12517
12518 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12519 call prior to calling _VFPRINTF_R so reentrant data area is set.
12520 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12521
8a0efa53
CF
12522Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12523
12524 * libc/stdio/vfscanf.c (limits.h): #include.
12525 (MAX_LONG_LEN): #define.
12526 (__svfscanf): Handle floating point numbers with arbitrary amounts
12527 of leading zeroes.
12528
125292000-02-15 Nick Clifton <nickc@cygnus.com>
12530
12531 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12532 zero. Set the blocksize to 1024/
12533
12534Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12535
12536 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12537 with line buffering.
12538
12539Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12540
17c0c97d 12541 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12542 * aclocal.m4 configure libc/aclocal.m4
12543 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12544 libc/locale/Makefile.in libc/machine/aclocal.m4
12545 libc/machine/configure libc/machine/a29k/aclocal.m4
12546 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12547 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12548 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12549 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12550 libc/machine/fr30/configure
12551 libc/machine/h8300/aclocal.m4
12552 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12553 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12554 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12555 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12556 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12557 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12558 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12559 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12560 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12561 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12562 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12563 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12564 libc/machine/powerpc/configure
8a0efa53
CF
12565 libc/machine/sh/aclocal.m4
12566 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12567 libc/machine/sparc/configure
12568 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12569 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12570 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12571 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12572 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12573 libc/reent/Makefile.in
8a0efa53
CF
12574 libc/signal/Makefile.in
12575 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12576 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12577 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12578 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12579 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12580 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12581 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12582 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12583 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12584 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12585 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12586 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12587 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12588 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12589 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12590 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12591 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12592 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12593 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12594 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12595 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12596 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12597 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12598 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12599 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12600 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12601 libm/configure: Regenerated.
12602
12603Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12604
12605 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12606 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12607 * libc/include/string.h: Added _strdup_r.
17c0c97d 12608 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12609 * libc/stdlib/strdup.c: Ditto.
12610 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12611 * libc/include/stdlib.h: Ditto.
17c0c97d 12612 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12613 * libc/string/Makefile.in: Regenerated.
12614 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12615 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12616 management calls to reentrant versions.
12617 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12618 * libc/stdlib/wctomb.c: Ditto.
12619 * libc/stdlib/mblen.c: Ditto.
12620 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12621 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12622 * libc/stdlib/getenv.c: Ditto.
12623 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12624 and _strdup_r.
12625
12626Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12627
12628 patch from Corinna Vinschen <corinna@vinschen.de>
12629 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12630
bc019ef2 12631Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12632
12633 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12634 * libm/mathfp/s_ldexp.c: Ditto.
12635 * libm/mathfp/sf_atangent.c: Ditto.
12636 * libm/mathfp/sf_ldexp.c: Ditto.
12637
12638Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12639
12640 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12641 * libc/include/locale.h: define NULL to be 0.
12642
12643Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12644
12645 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12646 function.
12647
12648Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12649
12650 * libc/machine/mn10300/setjmp.S: Handle am33.
12651
126521999-11-26 Nick Clifton <nickc@cygnus.com>
12653
12654 * libc/sys/arm/syscalls.c: Add function prototypes.
12655 (stack_ptr): Move declaration before function definitions.
12656
12657Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12658
12659 * NEWS: Updated version information.
12660 * README: Ditto.
12661
12662Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12663
12664 * libc/machine/i386/strchr.S: Fixed alignment test.
12665
12666Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12667
12668 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12669
12670Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12671
12672 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12673 ensuring that there is space between the two.
8a0efa53
CF
12674
12675Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12676
12677 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12678 only.
12679
126801999-10-08 Vadim Egorov <egorovv@1c.ru>
12681
12682 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12683 section
12684
12685Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12686
12687 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12688 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12689
12690Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12691 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12692 per POSIX 1003.1b.
12693 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12694 per POSIX 1003.1b.
12695
126961999-09-13 DJ Delorie <dj@cygnus.com>
12697
12698 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12699 also.
12700
12701Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12702
12703 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12704 also note BUFSIZ as its size.
12705
12706Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12707
12708 * configure.host: Corrected feature defines for RTEMS.
12709 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12710 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12711 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12712 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12713 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12714 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12715 _PC_PRIO_IO, and _PC_SYNC_IO.
12716 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12717 * libc/machine/m68k/Makefile.in: Regenerated.
12718 * libc/machine/m68k/strcpy.c: New file.
12719 * libc/machine/m68k/strlen.c: New file.
12720 * libc/stdio/tmpnam.c: Always make the returned name usable.
12721 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12722 * libc/sys/rtems/sys/dirent.h: New file.
12723 * libc/sys/rtems/sys/types.h: Added dev_t.
12724
12725Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12726
12727 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12728
12729Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12730
12731 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12732 my patch.
12733
12734Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12735
12736 patch from Jeff Johnston <jjohnstn@cygnus.com>
12737 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12738 buffer is not in a useful state.
12739
127401999-09-01 Nick Clifton <nickc@cygnus.com>
12741
12742 * libc/sys/arm/syscalls.c (_link): Add stub.
12743
12744Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12745
12746 * ftell.c (ftell): Use actual position within buffer for text mode.
12747 * findfp.c (std): Initialize ptr->_bf._size.
12748
12749Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12750
12751 * libc/include/sys/unistd.h: Add nice() declaration.
12752
127531999-08-09 Nick Clifton <nickc@cygnus.com>
12754
12755 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12756 declare as a thumb function so that the disassembler will see the
12757 mode change.
12758
12759Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12760
12761 * libc/reent/reent.tex: Updated list of reentrant functions.
12762
127631999-07-09 Michael Meissner <meissner@cygnus.com>
12764
12765 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12766
8a0efa53
CF
12767Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12768
12769 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12770 separate file.
12771 * libc/stdio/snprintf.c: New file.
12772 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12773 separate file.
12774 * libc/stdio/vsnprintf.c: New file.
12775 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12776 * libc/stdio/Makefile.in: Regenerated.
12777
12778Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12779
12780 Patch submitted by Egor Duda <deo@logos-m.ru>:
12781 * libc/include/stdio.h: Add declarations for *nprintf.
12782 * libc/stdio/sprintf.c (snprintf): New function.
12783 (_snprintf_r): New function.
12784 * libc/stdio/vsprintf.c (vsnprintf): New function.
12785 (_vnsprintf_r): New function.
12786
12787Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12788
12789 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12790 * libm/Makefile.am (stmp-targetdep): Ditto.
12791 * libc/Makefile.in: Regenerated.
12792 * libm/Makefile.in: Ditto.
12793
12794Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12795
12796 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12797 * libm/Makefile.am (stmp-targetdep): Ditto.
12798 * libc/Makefile.in: Regenerated.
12799 * libm/Makefile.in: Ditto.
12800
12801Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12802
12803 * Makefile.am: Removed dependencies on all-recursive and added "."
12804 to the SUBDIRS list to prevent infinite recursion from occurring.
12805 Also removed any references to EXTRA_DATA.
12806 * libc/Makefile.am: Ditto.
12807 * libc/machine/Makefile.am: Ditto.
12808 * libc/machine/i386/Makefile.am: Ditto.
12809 * libm/Makefile.am: Ditto.
12810 * libc/sys/Makefile.am: Ditto.
12811 * Makefile.in: Regenerated.
12812 * aclocal.m4: Ditto.
12813 * configure: Ditto.
12814 * doc/Makefile.in: Ditto.
12815 * doc/aclocal.m4: Ditto.
12816 * doc/configure: Ditto.
12817 * libc/Makefile.in: Ditto.
12818 * libc/aclocal.m4: Ditto.
12819 * libc/configure: Ditto.
12820 * libc/machine/Makefile.in: Ditto.
12821 * libc/machine/aclocal.m4: Ditto.
12822 * libc/machine/configure: Ditto.
12823 * libc/machine/mn10300/Makefile.in: Ditto.
12824 * libc/machine/mn10300/aclocal.m4: Ditto.
12825 * libc/machine/mn10300/configure: Ditto.
12826 * libc/sys/Makefile.in: Ditto.
12827 * libc/sys/aclocal.m4: Ditto.
12828 * libc/sys/configure: Ditto.
12829 * libm/Makefile.in: Ditto.
12830 * libm/aclocal.m4: Ditto.
12831 * libm/configure: Ditto.
12832
12833Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12834
12835 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12836
12837Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12838
12839 * libc/include/stdlib.h: Add reentrant routines.
12840 * libc/stdlib/Makefile.am: Add reentrant routines.
12841 * libc/stdlib/Makefile.in: Ditto.
12842 * libc/stdlib/envlock.c: New file.
12843 * libc/stdlib/envlock.h: New file.
12844 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12845 * libc/stdlib/getenv_r.c: New file.
12846 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12847 * libc/stdlib/mblen_r.c: New file.
12848 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12849 * libc/stdlib/setenv_r.c: New file.
12850 * libc/stdlib/stdlib.tex: Add reentrant routines.
12851
12852Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12853
12854 * libc/include/sys/types.h: Define __MS_types__ whenever
12855 cygwin or win32.
12856
12857Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12858
12859 * libc/include/machine/ieeefp.h: Always default to little
12860 endian if Windows, regardless of architecture.
12861 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12862 regardless of architecture.
12863
12864Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12865
12866 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12867 _WIN32 isn't defined.
12868
12869Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12870
12871 * libm/common/s_rint.c (rint): Add volatile qualifier for
12872 intermediate value w.
12873 * libm/common/sf_rint.c (rintf): Ditto.
12874
12875Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12876
12877 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12878 ensure that std streams are initialized before being referenced.
12879
128801999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12881
12882 * README: Update reference to newlib@cygnus.com new
12883 newlib@sourceware.cygnus.com address.
12884
12885Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12886
12887 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12888 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12889 defined, even if _WIN32 isn't defined.
12890
12891Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12892
12893 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12894
12895Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12896
12897 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12898 __ULong.
12899 * libc/stdlib/dtoa.c: Ditto.
12900 * libc/stdlib/mprec.c: Ditto.
12901 * libc/stdlib/mprec.h: Ditto.
12902 * libc/stdlib/strtod.c: Ditto.
12903
129041999-04-21 Nick Clifton <nickc@cygnus.com>
12905
12906 * configure.host (mcore): Remove mcore machine directory.
12907
129081999-04-18 Nick Clifton <nickc@cygnus.com>
12909
12910 * libc/include/machine/ieeefp.h: Add support for mcore target.
12911 * libc/include/machine/setjmp.h: Add support for mcore target.
12912 * configure.host: Add support for mcore target.
12913
129141999-04-13 Mark Salter <msalter@cygnus.com>
12915
12916 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12917 * libc/sys/arm/syscalls.c: Added isatty.
12918
12919Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12920
12921 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12922 insert zeroes after significant digits.
12923
12924Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12925
8a0efa53
CF
12926 * libc/stdio/vfprintf.c (cvt): Changed floating point
12927 cvt routine to use union used by dtoa to properly determine
12928 if the sign bit is on or not.
12929 * libc/stdio/vfieeefp.h: New file
17c0c97d 12930
8a0efa53
CF
12931Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12932
12933 * aclocal.m4: Regenerated.
12934 * configure: Regenerated.
12935
12936Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12937
12938 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12939 f_tanf reference.
12940 * libc/machine/i386/Makefile.in: Regenerated.
12941
12942Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12943
12944 * acinclude.m4: Changed to work with new automake.
12945 * configure: Regenerated.
12946 * libc/machine/i386/aclocal.m4: Regenerated.
12947 * libc/machine/i386/configure: Regenerated.
12948
12949Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12950
12951 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12952 for telldir() and seekdir(). Rename unused structure element
12953 for use with these two routines.
12954
12955Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12956
12957 * libc/time/mktime.c (validate_structure): Multiple fixes to
12958 code to handle cases where input fields are outside valid ranges.
12959 * libc/stdlib/div.c (div): Modified invalid rounding check.
12960 * libc/stdlib/ldiv.c (ldiv): Ditto.
12961
12962Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12963
12964 * libc/machine/i386/memcpy.S: Performance rewrite.
12965 * libc/machine/i386/memmove.S: Ditto.
12966 * libc/machine/i386/i386mach.h: Added more register definitions.
12967 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12968 option used.
12969 * libc/include/machine/fastmath.h: Add definitions for x86
12970 fast-math routines.
12971
12972Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12973
12974 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12975
12976Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12977
12978 Adjust newlib headers for new Cygwin Win32 API header files:
12979 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12980 _GNU_H_WINDOWS32_SOCKETS.
12981 * libc/include/sys/types.h: Ditto.
12982
12983Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12984
12985 *include/sys/reent.h: Add checks for size of Bigint element Long.
12986 *libc/dtoa.c: Change routines to use generic Long type.
12987 *libc/mprec.c: Change routines to use generic Long type.
12988 *libc/mprec.h: Change routines to use generic Long type.
12989
12990Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12991
12992 * libc/Makefile.am: Add .def files.
12993 * libc/Makefile.in: Regenerate.
12994 * libc/e_acosh.c: Documentation update.
12995 * libc/e_atanh.c: Documentation update.
12996 * libc/e_hypot.c: Documentation update.
12997 * libc/e_remainder.c: Documentation update.
12998 * libc/er_lgamma.c: Documentation update.
12999 * libc/mathfp.tex: Documentation update.
13000 * libc/s_acos.c: Documentation update.
13001 * libc/s_atan.c: Documentation update.
13002 * libc/s_atan2.c: Documentation update.
13003 * libc/s_cosh.c: Documentation update.
13004 * libc/s_fmod.c: Documentation update.
13005 * libc/s_isnan.c: Documentation update.
13006 * libc/s_log10.c: Documentation update.
13007 * libc/s_pow.c: Documentation update.
13008 * libc/w_jn.c: Documentation update.
13009
13010Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
13011
13012 * aclocal.m4: Regenerate.
13013 * configure: Regenerate.
13014
13015Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
13016
ba3ccd63
EB
13017 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
13018 to return 1 if user specified return code is 0.
13019 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
13020
13021Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
13022
13023 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
13024 to save the return address. Fixed longjmp to return to the original
13025 calling address of setjmp and to return the user specified return code
13026 rather than default to 1.
13027 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
13028
13029Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
13030
13031 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
13032
130331999-02-10 Nick Clifton <nickc@cygnus.com>
13034
13035 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
13036 volatile so that its assignments will not be discarded.
13037
13038Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
13039
13040 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
13041 be __STRICT_ANSI__ which is generated by compiler.
13042 * libc/include/ctype.h: Ditto.
13043 * libc/include/math.h: Ditto.
13044 * libc/include/stdio.h: Ditto.
13045 * libc/include/stdlib.h: Ditto.
13046 * libc/include/string.h: Ditto.
13047 * libc/include/sys/signal.h: Ditto.
13048
130491999-02-08 Nick Clifton <nickc@cygnus.com>
13050
13051 * configure.host: Add support for StrongARM target.
13052
13053Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
13054
13055 * libc/string/strncpy.c (strncpy): Removed redundant code
13056 that was copying bytes if data unaligned.
13057
130581999-02-02 Brendan Kehoe <brendan@cygnus.com>
13059
13060 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
13061 mbstowcs.def, and wcstombs.def.
13062
13063Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
13064
13065 * libc/include/sys/errno.h: Add Cygwin errno.
13066 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
13067 is specified.
13068
130691999-01-29 Nick Clifton <nickc@cygnus.com>
13070
13071 * libc/sys/arm/syscalls.c: Move C library functions into seperate
13072 file.
17c0c97d 13073
8a0efa53
CF
13074 * libc/sys/arm/libcfunc.c: New file containing C library functions
13075 from syscalls.c
13076
13077 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
13078 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
13079
13080
130811999-01-27 Michael Meissner <meissner@cygnus.com>
13082
13083 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
13084 type, and cut size in half so that the jmp_buf array is guaranteed
13085 to be aligned on a 64-bit boundary.
13086
13087Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
13088
13089 * libc/string/strings.tex: Added information about
13090 strcasecmp and strncasecmp.
13091 * libc/stdlib/stdlib.tex: Added missing information
13092 about mblen, mbstowcs, and wcstombs.
13093 * libc/string/strchr.c: Changed how mask is built to use
13094 shift operators so register will be used instead of storage.
13095
130961999-01-22 DJ Delorie <dj@cygnus.com>
13097
13098 * libc/include/stdlib.h: don't use dllimport if we're building
13099 newlib, since it's inside cygwin.dll
13100
13101Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
13102
13103 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
13104 _ctype_ under cygwin.
13105
13106Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
13107
13108 * include/stdlib.h: Fix typo from previous checkin.
13109
13110Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
13111
13112 * include/ctype.h: Use __declspec(dllimport) method for exporting
13113 variable from cygwin DLL.
13114 * include/time.h: Ditto.
13115 * sys/errno.h: Ditto.
13116 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
13117 * libc/locale/locale.c: Use __declspec(dllexport) method for
13118 exporting variable from cygwin DLL.
13119
13120Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
13121
13122 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
13123 access of bogus pointer will result in SIGSEGV.
13124
131251999-01-07 Nick Clifton <nickc@cygnus.com>
13126
13127 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
13128 of an underscore prefix to function names.
13129
13130Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
13131
13132 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
13133 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
13134
131351998-12-31 Michael Meissner <meissner@cygnus.com>
13136
13137 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
13138 to `%' if not already defined.
13139
131401998-12-30 Michael Meissner <meissner@cygnus.com>
13141
13142 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
13143 arguments const char *, not char *.
13144 * libc/include/stdio.h (_tempnam_r): Ditto.
13145
13146 * libc/include/sys/reent.h (struct _reent): The _sig_func type
13147 points to a function taking an integer, not void.
13148
13149Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
13150
13151 * configure.host: Add a define for Cygwin builds.
13152 * libc/include/ctype.h: Don't use dll imported variables in newlib.
13153
13154Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
13155
13156 * libc/include/ctype.h: Define _ctype_ as dll imported variable
13157 for use with Cygwin.
13158 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
13159 dll imported variables for use with Cygwin.
13160 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
13161 as a dll imported variable for Cygwin.
13162
13163Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
13164
13165 * libc/include/sys/unistd.h: Add proto for getpass.
13166
13167Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
13168
13169 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
13170 alphasort.
13171
13172Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
13173
13174 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
13175 not posix_path_list_p.
13176
131771998-12-15 Nick Clifton <nickc@cygnus.com>
13178
13179 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
13180 a signed int.
13181
131821998-12-13 Nick Clifton <nickc@cygnus.com>
13183
13184 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
13185
131861998-12-12 Nick Clifton <nickc@cygnus.com>
13187
13188 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
13189 <msalter@cygnus.com>
13190 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
13191 * libc/machine/fr30/Makefile.in: Regenerated.
13192
131931998-12-11 Nick Clifton <nickc@cygnus.com>
13194
13195 * configure.host: Remove use of libc/sys for FR30 port.
13196 * libc/sys/fr30: Remove directory (replaced by libgloss).
13197
131981998-12-10 Ken Raeburn <raeburn@cygnus.com>
13199
13200 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
13201 * libc/string/strncat.c (ALIGNED): Ditto.
13202
13203Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
13204
13205 * libc/include/sys/time.h: include sys/types.h
13206
13207Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
13208
13209 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
13210 comparison found when checking word at a time.
13211
132121998-12-04 Nick Clifton <nickc@cygnus.com>
13213
13214 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
13215
132161998-12-03 Nick Clifton <nickc@cygnus.com>
13217
13218 * libc/sys/fr30/syscalls.c (_times): New function stub.
13219
13220Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
13221
13222 * configure.host (mach_add_setjmp): Replaced mach_add_objs
13223 with mach_add_setjmp flag which indicates if setjmp should
13224 be added to the machine directory objects.
13225 * acinclude.m4: Removed reference to mach_add_objs.
13226 * aclocal.m4: Regenerated.
13227 * Makefile.in: Regenerated.
13228 * configure: Regenerated.
13229 * libc/aclocal.m4: Regenerated.
13230 * libc/Makefile.in: Regenerated.
13231 * libc/configure: Regenerated.
13232 * libc/machine/aclocal.m4: Regenerated.
13233 * libc/machine/Makefile.in: Regenerated.
13234 * libc/machine/configure: Regenerated.
13235 * libc/machine/i386/aclocal.m4: Regenerated.
13236 * libc/machine/i386/Makefile.am: Altered to selectively add
13237 setjmp.S to the src files list.
13238 * libc/machine/i386/Makefile.in: Regenerated.
13239 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
13240 * libc/machine/i386/configure: Regenerated.
13241
132421998-12-02 Nick Clifton <nickc@cygnus.com>
13243
13244 * libc/sys/fr30/crt0.s (_start): Fix function names.
13245
13246 * libc/machine/fr30: New directory
13247 * libc/machine/fr30/Makefile.am: New file.
13248 * libc/machine/fr30/Makefile.in: New generated file.
13249 * libc/machine/fr30/configure.in: New file.
13250 * libc/machine/fr30/configure: New generated file.
13251 * libc/machine/fr30/aclocal.m4: New generated file.
13252 * libc/sys/fr30/Makefile.am: New file.
13253 * libc/sys/fr30/Makefile.in: New generated file.
13254 * libc/sys/fr30/configure.in: New file.
13255 * libc/sys/fr30/configure: New generated file.
13256 * libc/sys/fr30/syscalls.c: New file.
13257
13258Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
13259
13260 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
13261
132621998-12-01 Ken Raeburn <raeburn@cygnus.com>
13263
13264 * libc/time/strftime.c (strftime): Also handle %y for years before
13265 1900.
13266
13267Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
13268
13269 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
13270 UNIX convention. Perform tolower on characters before comparing
13271 them rather than use toupper.
13272 * libc/string/strncasecmp.c (strncasecmp): Ditto.
13273
13274Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 13275
8a0efa53
CF
13276 * configure.host: Added using i386 machine directory
13277 for all x86 cross-compiler and configuring
13278 which added object files to use via new "mach_add_objs" variable.
13279 * configure: Regenerated.
13280 * libc/configure: Regenerated.
13281 * libc/Makefile.in: Regenerated.
13282 * libc/aclocal.m4: Regenerated.
13283 * libc/ctype/Makefile.in: Regenerated.
13284 * libc/errno/Makefile.in: Regenerated.
13285 * libc/locale/Makefile.in: Regenerated.
13286 * libc/machine/Makefile.in: Regenerated.
13287 * libc/machine/aclocal.m4: Regenerated.
13288 * libc/machine/configure: Regenerated.
13289 * libc/posix/Makefile.in: Regenerated.
13290 * libc/reent/Makefile.in: Regenerated.
13291 * libc/signal/Makefile.in: Regenerated.
13292 * libc/stdio/Makefile.in: Regenerated.
13293 * libc/stdlib/Makefile.in: Regenerated.
13294 * libc/string/Makefile.in: Regenerated.
13295 * libc/string/memmove.c: Optimized code to use memcpy
13296 logic when performing a non-destructive copy.
13297 * libc/string/strncmp.c: Altered code to allow building
13298 optimized for size or speed.
13299 * libc/syscalls/Makefile.in: Regenerated.
13300 * libc/time/Makefile.in: Regenerated.
13301 * libc/unix/Makefile.in: Regenerated.
13302 * libc/machine/i386/Makefile.am: Added new files and reference
13303 to "mach_add_objs" to indicate optional object files.
13304 * libc/machine/i386/Makefile.in: Regenerated.
13305 * libc/machine/i386/aclocal.m4: Regenerated.
13306 * libc/machine/i386/configure: Regenerated.
13307 * libc/machine/i386/memchr.S: New file that implements
13308 function in Intel assembler.
13309 * libc/machine/i386/memcmp.S: ditto.
13310 * libc/machine/i386/memcpy.S: ditto.
13311 * libc/machine/i386/memmove.S: ditto.
13312 * libc/machine/i386/memset.S: ditto.
13313 * libc/machine/i386/strchr.S: ditto.
13314 * libc/machine/i386/strlen.S: ditto.
13315 * libc/machine/i386/f_atan2.S: New file that implements
13316 fast version of math function to be used by compiler when
13317 --ffast_math compile option is used.
13318 * libc/machine/i386/f_atan2f.S: ditto.
13319 * libc/machine/i386/f_exp.c: ditto.
13320 * libc/machine/i386/f_expf.c: ditto.
13321 * libc/machine/i386/f_frexp.S: ditto.
13322 * libc/machine/i386/f_frexpf.S: ditto.
13323 * libc/machine/i386/f_ldexp.S: ditto.
13324 * libc/machine/i386/f_ldexpf.S: ditto.
13325 * libc/machine/i386/f_log.S: ditto.
13326 * libc/machine/i386/f_logf.S: ditto.
13327 * libc/machine/i386/f_log10.S: ditto.
13328 * libc/machine/i386/f_log10f.S: ditto.
13329 * libc/machine/i386/f_math.h: New file.
13330 * libc/machine/i386/f_pow.c: ditto.
13331 * libc/machine/i386/f_powf.S: ditto.
13332 * libc/machine/i386/f_tan.S: ditto.
13333 * libc/machine/i386/f_tan.S: ditto.
13334 * libc/machine/i386/i386mach.h: New file.
13335
13336Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
13337
13338 patch from Mumit Khan <khan@xraylith.wisc.edu>
13339 * libc/include/stdio.h (tempnam): Add prototype.
13340 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
13341 (tempnam): Adhere to prototype.
13342
13343Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
13344
13345 * Makefile.am: Add default for AR_FLAGS.
13346 * Makefile.in: Regenerate.
13347
13348Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
13349
13350 * libc/include/time.h: move __cplusplus wrapper after includes
13351 * libc/include/sys/time.h: ditto. If Cygwin, include
13352 sys/select.h.
13353 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
13354
133551998-11-23 Ken Raeburn <raeburn@cygnus.com>
13356
13357 * libc/time/strftime.c (strftime): Handle %y after year 2000.
13358
13359Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
13360
13361 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
13362 abnormnal end-of-crt0 marker.
13363
13364Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
13365
13366 * libc/sys/fr30/crt0.s: New file/directory.
13367 * libc/include/machine/setjmp.h: Add FR30 target.
13368 * libc/include/machine/ieeefp.h: Add FR30 target.
13369 * configure.host: Add FR30 target.
13370
13371Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13372
ba3ccd63
EB
13373 * libm/math: Files that are duplicated in common directory removed.
13374 * libm/math/fdlibm.h: Removed.
13375 * libm/math/s_cbrt.c: Removed.
13376 * libm/math/s_copysign.c: Removed.
13377 * libm/math/s_expm1.c: Removed.
13378 * libm/math/s_finite.c: Removed.
13379 * libm/math/s_ilogb.c: Removed.
13380 * libm/math/s_infinity.c: Removed.
13381 * libm/math/s_lib_ver.c: Removed.
13382 * libm/math/s_log1p.c: Removed.
13383 * libm/math/s_logb.c: Removed.
13384 * libm/math/s_matherr.c: Removed.
13385 * libm/math/s_modf.c: Removed.
13386 * libm/math/s_nan.c: Removed.
13387 * libm/math/s_nextafter.c: Removed.
13388 * libm/math/s_rint.c: Removed.
13389 * libm/math/s_scalbn.c: Removed.
13390 * libm/math/sf_cbrt.c: Removed.
13391 * libm/math/sf_copysign.c: Removed.
13392 * libm/math/sf_expm1.c: Removed.
13393 * libm/math/sf_finite.c: Removed.
13394 * libm/math/sf_ilogb.c: Removed.
13395 * libm/math/sf_infinity.c: Removed.
13396 * libm/math/sf_log1p.c: Removed.
13397 * libm/math/sf_logb.c: Removed.
13398 * libm/math/sf_modf.c: Removed.
13399 * libm/math/sf_nan.c: Removed.
13400 * libm/math/sf_nextafter.c: Removed.
13401 * libm/math/sf_rint.c: Removed.
13402 * libm/math/sf_scalbn.c: Removed.
13403 * libm/math/Makefile.am: Removed references to deleted files (above).
13404 * libm/math/Makefile.in: Regenerated.
13405 * libm/Makefile.am: Added common directory to math.
13406 * libm/Makefile.in: Regenerated.
8a0efa53
CF
13407
13408Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13409
ba3ccd63
EB
13410 * libm/mathfp: Add non-ANSI functions.
13411 * libm/mathfp/e_acosh.c acosh(): New file.
13412 * libm/mathfp/e_atanh.c atanh(): New file.
13413 * libm/mathfp/e_hypot.c hypot(): New file.
13414 * libm/mathfp/e_j0.c j0(): New file.
13415 * libm/mathfp/e_j1.c j1(): New file.
13416 * libm/mathfp/e_remainder.c remainder(): New file.
13417 * libm/mathfp/e_scalb.c scalb(): New file.
13418 * libm/mathfp/ef_acosh.c acoshf(): New file.
13419 * libm/mathfp/ef_atanh.c atanhf(): New file.
13420 * libm/mathfp/ef_hypot.c hypotf(): New file.
13421 * libm/mathfp/ef_j0.c j0f(): New file.
13422 * libm/mathfp/ef_j1.c j1f(): New file.
13423 * libm/mathfp/ef_remainder.c remainderf(): New file.
13424 * libm/mathfp/ef_scalb.c scalbf(): New file.
13425 * libm/mathfp/er_gamma.c gamma_r: New file.
13426 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
13427 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
13428 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
13429 * libm/mathfp/w_cabs.c cabs(): New file.
13430 * libm/mathfp/w_drem.c drem(): New file.
13431 * libm/mathfp/w_jn.c jn(): New file.
13432 * libm/mathfp/wf_cabs.c cabsf(): New file.
13433 * libm/mathfp/wf_drem.c dremf(): New file.
13434 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
13435
13436Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13437
13438 * libc/sys/cygwin32: remove directory and contents
13439 * libc/sys/cygwin: and add back, losing the "32".
13440 * configure.host: check for cygwin* instead of cygwin32.
13441 * acinclude.m4: ditto.
13442 * aclocal.m4: regenerate with aclocal
13443 * configure: regenerate with autoconf
13444
13445Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13446
13447 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13448 for length
13449
13450Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13451
13452 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13453 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13454 to make rand/srand, strtok, asctime, localtime, w_gamma,
13455 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13456 time.h to bring in struct tm definition.
13457 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13458 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13459 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13460 instead of static variable.
13461 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13462 struct reent instead of static variable.
13463 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13464 struct reent instead of static variable.
13465 * libm/math/Makefile.am: Removed s_signgam.o.
13466 * libm/math/Makefile.in: Regenerated.
13467 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13468 struct reent instead of global variable 'signgam'.
13469 * libm/math/w_lgamma.c (lgamma): Likewise.
13470 * libm/math/wf_gamma.c (gammaf): Likewise.
13471 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13472 * libm/math/s_signgam.c: Removed.
13473 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13474 to be const.
13475 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13476 to be const.
13477 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13478 libc/include/reent.h.
13479 * libc/reent/Makefile.in: Regenerated.
13480 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13481 to be const.
13482 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13483 'JIS_action_table' to be const.
13484 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13485
13486Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13487
13488 * acinclude.m4: $with_target_subdir should default to '.'
13489 or confusion results when configuring in same directory as sources.
13490 * Regenerate all aclocal.m4 and configure files.
13491
13492Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13493
13494 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13495 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13496 for platforms where sizeof(size_t) < sizeof(long) via
13497 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13498
8a0efa53
CF
13499Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13500
13501 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13502 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13503 which sets _CLOCKS_PER_SEC_ for selected machines.
13504 * libc/include/machine/time.h: New file.
13505
13506Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13507
13508 * libc/syscalls/sysexecve.c: New file.
13509 * libc/syscalls/sysgettod.c: New file.
13510 * libc/syscalls/systimes.c: New file.
13511 * libc/syscalls/Makefile.am: Added new objects.
13512 * libc/syscalls/Makefile.in: Regenerated.
13513 * libc/include/_syslist.h (_execve): Moved define in file.
13514 * libc/include/reent.h: Added _execve_r declaration.
13515 * libc/Makefile.in: Regenerated.
13516 * libc/ctype/Makefile.in: Regenerated.
13517 * libc/errno/Makefile.in: Regenerated.
13518 * libc/locale/Makefile.in: Regenerated.
13519 * libc/machine/Makefile.in: Regenerated.
13520 * libc/misc/Makefile.in: Regenerated.
13521 * libc/posix/Makefile.in: Regenerated.
13522 * libc/reent/Makefile.in: Regenerated.
13523 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13524 * libc/signal/Makefile.in: Regenerated.
13525 * libc/stdio/Makefile.in: Regenerated.
13526 * libc/time/Makefile.in: Regenerated.
13527 * libc/unix/Makefile.in: Regenerated.
13528 * libm/mathfp/Makefile.in: Regenerated.
13529
13530Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13531
13532 * libc/string/Makefile.in: Regenerated.
13533 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13534 * libc/string/memcpy.c (memcpy): Ditto.
13535 * libc/string/memcmp.c (memcmp): Ditto.
13536 * libc/string/memset.c (memset): Ditto.
13537 * libc/string/strchr.c (strchr): Ditto.
13538 * libc/string/strcmp.c (strcmp): Ditto.
13539 * libc/string/strcpy.c (strcpy): Ditto.
13540 * libc/string/strlen.c (strlen): Ditto.
13541
13542Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13543
13544 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13545 to generate aclocal.m4.
13546 * libm/Makefile.in: Regenerated.
13547 * libm/aclocal.m4: Regenerated.
13548 * libm/configure: Regenerated.
13549 * libm/math/Makefile.in: Regenerated.
13550 * libm/mathfp/Makefile.in: Regenerated.
13551
135521998-09-25 Mark Salter <msalter@cygnus.com>
13553
13554 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13555 by adding leading and trailing underscores to symbol names.
13556
13557Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13558
13559 * Makefile.in: Add default for AR_FLAGS.
13560
13561Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13562
13563 patch from ian@airs.com (Ian Taylor):
13564 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13565 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13566 is needed for detecting the build machine. Required for
13567 cygwin native builds.
13568
13569 * Regenerate all aclocal.m4 and configure files.
13570
13571Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13572
13573 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13574 used to start with LC.
13575
13576Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13577
13578 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13579 (longjmp): Likewise.
13580
13581Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13582
13583 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13584 the test for small number of bytes.
13585
13586Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13587
13588 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13589 math library that uses floating point algorithms instead of the old
13590 libm.
13591 * Makefile.in: Regenerate with automake version 1.3b.
13592 * configure: Rebuild.
13593 * libm/Makefile.in: Regenerate with automake version 1.3b.
13594 * libm/aclocal.m4: Regenerate.
13595 * libm/configure: Rebuild.
13596 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13597 * libm/acinclude.m4: Define macros for configure.in.
13598 * libm/config.h.in: Generate.
13599 * libm/mathfp/Makefile.am: New file.
13600 * libm/mathfp/Makefile.in: Generate.
13601 * libm/mathfp/s_acos.c (acos): New file.
13602 * libm/mathfp/s_asin.c (asin): New file.
13603 * libm/mathfp/s_asine.c (asine): New file.
13604 * libm/mathfp/s_atan.c (atan): New file.
13605 * libm/mathfp/s_atan2.c (atan2): New file.
13606 * libm/mathfp/s_atangent.c (atangent): New file.
13607 * libm/mathfp/s_ceil.c (ceil): New file.
13608 * libm/mathfp/s_copysign.c (copysign): New file.
13609 * libm/mathfp/s_cos.c (cos): New file.
13610 * libm/mathfp/s_cosh.c (cosh): New file.
13611 * libm/mathfp/s_exp.c (exp): New file.
13612 * libm/mathfp/s_fabs.c (fabs): New file.
13613 * libm/mathfp/s_finite.c (finite): New file.
13614 * libm/mathfp/s_floor.c (floor): New file.
13615 * libm/mathfp/s_fmod.c (fmod): New file.
13616 * libm/mathfp/s_frexp.c (frexp): New file.
13617 * libm/mathfp/s_infconst.c: New file.
13618 * libm/mathfp/s_isinf (isinf).c: New file.
13619 * libm/mathfp/s_isnan.c (isnan): New file.
13620 * libm/mathfp/s_ispos.c (ispos): New file.
13621 * libm/mathfp/s_ldexp.c (ldexp): New file.
13622 * libm/mathfp/s_log.c (log): New file.
13623 * libm/mathfp/s_log10.c (log10): New file.
13624 * libm/mathfp/s_logarithm.c (logarithm): New file.
13625 * libm/mathfp/s_mathcnst.c: New file.
13626 * libm/mathfp/s_modf (modf).c: New file.
13627 * libm/mathfp/s_numtest.c (numtest): New file.
13628 * libm/mathfp/s_pow.c (pow): New file.
13629 * libm/mathfp/s_scalbn.c (scalbn): New file.
13630 * libm/mathfp/s_sin (sin).c: New file.
13631 * libm/mathfp/s_sine.c (sine): New file.
13632 * libm/mathfp/s_sineh.c (sineh): New file.
13633 * libm/mathfp/s_sinf.c (sinf): New file.
13634 * libm/mathfp/s_sinh.c (sinh): New file.
13635 * libm/mathfp/s_sqrt.c (sqrt): New file.
13636 * libm/mathfp/s_tan.c (tan): New file.
13637 * libm/mathfp/s_tanh.c (tanh): New file.
13638 * libm/mathfp/sf_acos.c (acosf): New file.
13639 * libm/mathfp/sf_asin.c (asinf): New file.
13640 * libm/mathfp/sf_asine.c (asinef): New file.
13641 * libm/mathfp/sf_atan.c (atanf): New file.
13642 * libm/mathfp/sf_atan2.c (atan2f): New file.
13643 * libm/mathfp/sf_atangent.c (atangent): New file.
13644 * libm/mathfp/sf_ceil.c (ceilf): New file.
13645 * libm/mathfp/sf_copysign.c (copysignf): New file.
13646 * libm/mathfp/sf_cos.c (cosf): New file.
13647 * libm/mathfp/sf_cosh.c (coshf): New file.
13648 * libm/mathfp/sf_exp.c (expf): New file.
13649 * libm/mathfp/sf_fabs.c (fabsf): New file.
13650 * libm/mathfp/sf_finite.c (finitef): New file.
13651 * libm/mathfp/sf_floor.c (floorf): New file.
13652 * libm/mathfp/sf_fmod.c (fmodf): New file.
13653 * libm/mathfp/sf_frexp.c (frexpf): New file.
13654 * libm/mathfp/sf_isinf.c (isinff): New file.
13655 * libm/mathfp/sf_isnan.c (isnanf): New file.
13656 * libm/mathfp/sf_ispos.c (isposf): New file.
13657 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13658 * libm/mathfp/sf_log.c (logf): New file.
13659 * libm/mathfp/sf_log10.c (log10f): New file.
13660 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13661 * libm/mathfp/sf_modf.c (modff): New file.
13662 * libm/mathfp/sf_numtest.c (numtestf): New file.
13663 * libm/mathfp/sf_pow.c (powf): New file.
13664 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13665 * libm/mathfp/sf_sin.c (sinf): New file.
13666 * libm/mathfp/sf_sine.c (sinef): New file.
13667 * libm/mathfp/sf_sineh.c (sinehf): New file.
13668 * libm/mathfp/sf_sinh.c (sinhf): New file.
13669 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13670 * libm/mathfp/sf_tan.c (tanf): New file.
13671 * libm/mathfp/sf_tanh.c (tanhf): New file.
13672 * libm/mathfp/zmath.h: New file.
13673
13674Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13675
13676 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13677 exit if it has been overwritten by pre-fetching in delay slot.
13678
136791998-09-01 Michael Meissner <meissner@cygnus.com>
13680
13681 * Makefile.am (tooldir): Add in host_alias, so that multilib
13682 libraries are installed in the directory the compiler looks in.
13683 * Makefile.in: Regenerate.
13684
13685 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13686
13687Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13688
13689 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13690 ahead of test for number of bytes being moved.
13691
13692Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13693
13694 * libc/include/sys/unistd.h: Nothing special needed for
13695 _exit under cygwin.
13696
13697Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13698
13699 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13700 conform to user label naming conventions.
8a0efa53
CF
13701
13702Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13703
13704 * libc/sys/cygwin32/sys/utime.h: variable names in
13705 protos should start with two leading underscores
13706 * libc/include/string.h: ditto
13707 * libc/include/sys/signal.h: ditto
13708 * libc/include/sys/stat.h: ditto
13709 * libc/include/sys/time.h: ditto
13710 * libc/include/sys/unistd.h: ditto
13711 * libc/include/ctype.h: ditto
13712 * libc/include/stdlib.h: ditto
13713 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13714 void, same with _sig_func.
13715
13716Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13717
13718 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13719 for MB_CAPABLE to reduce code size when newlib is not configured
13720 with --enable-newlib-mb.
13721 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13722 mbtowc_r.o to minimize size.
8a0efa53 13723 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13724
8a0efa53
CF
13725Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13726
13727 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13728 to -DREENT.
13729 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13730
8a0efa53
CF
13731Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13732
13733 * Makefile.am (MAKEOVERRIDES): Define.
13734 * Makefile.in: Rebuild.
13735
13736Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13737
13738 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13739
13740Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13741
13742 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13743 newlib_cflags when looking for targ-include.
13744 * */aclocal.m4, */configure: Rebuild.
13745
13746Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13747
ba3ccd63
EB
13748 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13749 to "_end".
8a0efa53
CF
13750
13751Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13752
13753 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13754 on SPARCs with little-endian data.
13755 * libc/include/machine/ieeefp.h: Ditto.
13756
13757Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13758
13759 * acinclude.m4: Handle a relative srcdir correctly when setting
13760 newlib_cflags.
13761 * */aclocal.m4, */configure: Rebuild.
13762
13763Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13764
13765 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13766 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13767 * libm/math/wrf_gamma.c (gammaf_r): ditto
13768 * libm/math/wr_lgamma.c (lgamma_r): ditto
13769 * libm/math/wr_gamma.c (gamma_r): ditto
13770 * libm/math/wf_sqrt.c (sqrtf): ditto
13771 * libm/math/wf_sinh.c (sinhf): ditto
13772 * libm/math/wf_scalb.c (scalbf): ditto
13773 * libm/math/wf_remainder.c (remainderf): ditto
13774 * libm/math/wf_pow.c (powf): ditto
13775 * libm/math/wf_log10.c (log10f): ditto
13776 * libm/math/wf_log.c (logf): ditto
13777 * libm/math/wf_lgamma.c (lgammaf): ditto
13778 * libm/math/wf_jn.c (jnf, ynf): ditto
13779 * libm/math/wf_j1.c (j1f, y1f): ditto
13780 * libm/math/wf_j0.c (j0f, y0f): ditto
13781 * libm/math/wf_hypot.c (hypotf): ditto
13782 * libm/math/wf_gamma.c (gammaf): ditto
13783 * libm/math/wf_fmod.c (fmodf): ditto
13784 * libm/math/wf_exp.c (expf): ditto
13785 * libm/math/wf_cosh.c (coshf): ditto
13786 * libm/math/wf_atanh.c (atanhf): ditto
13787 * libm/math/wf_atan2f.c (atan2f): ditto
13788 * libm/math/wf_asin.c (asinf): ditto
13789 * libm/math/wf_acosh.c (acoshf): ditto
13790 * libm/math/wf_acos.c (acosf): ditto
13791 * libm/math/w_sqrt.c (sqrt): ditto
13792 * libm/math/w_sinh.c (sinh): ditto
13793 * libm/math/w_scalb.c (scalb): ditto
13794 * libm/math/w_remainder.c (remainder): ditto
13795 * libm/math/w_pow.c (pow): ditto
13796 * libm/math/w_log10.c (log10): ditto
13797 * libm/math/w_log.c (log): ditto
13798 * libm/math/w_lgamma.c (lgamma): ditto
13799 * libm/math/w_jn.c (jn, yn): ditto
13800 * libm/math/w_j1.c (j1, y1): ditto
13801 * libm/math/w_j0.c (j0, y0): ditto
13802 * libm/math/w_hypot.c (hypot): ditto
13803 * libm/math/w_gamma.c (gamma): ditto
13804 * libm/math/w_fmod.c (fmod): ditto
13805 * libm/math/w_exp.c (exp): ditto
13806 * libm/math/w_cosh.c (cosh): ditto
13807 * libm/math/w_atanh.c (atanh): ditto
13808 * libm/math/w_atan2f.c (atan2): ditto
13809 * libm/math/w_asin.c (asin): ditto
13810 * libm/math/w_acosh.c (acosh): ditto
13811 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13812
13813Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13814
13815 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13816 (fsrc): Add wf_cabs.c and wf_drem.c.
13817 * libm/math/Makefile.in: Rebuild.
13818
13819 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13820 unused directory variables. Remove duplicate CFLAGS.
13821 * Makefile.in: Rebuild.
13822
13823 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13824 with $(CC_FOR_BUILD).
13825 (makedoc.o): Likewise.
13826 * doc/Makefile.in: Rebuild.
13827
13828 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13829 force a definition of COMPILE.
13830 (libfoo_a_SOURCES): Define.
13831 * libc/sys/cygwin32/Makefile.in: Rebuild.
13832 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13833 force a definition of COMPILE.
13834 (libfoo_a_SOURCES): Define.
13835 * libc/sys/tic80/Makefile.in: Rebuild.
13836
13837Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13838
13839 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13840 flag.
13841
13842Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13843
13844 * Build using autoconf and automake. Added many Makefile.am and
13845 configure.in files, plus generated files. Old configure.in files
13846 and all old Makefile.in files completely replaced. Removed
13847 host/any. Added acinclude.m4 and configure.host.
13848
13849Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13850
13851 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13852 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13853
13854Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13855
13856 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13857 * libc/machine/sh/Makefile.in: Add rules for new files.
13858
13859Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13860
13861 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13862 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13863 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13864
13865Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13866
13867 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13868 code is ignored.
13869
13870Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13871
13872 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13873 internal static buffer when s is NULL, as prescribed by ANSI.
13874
138751998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13876
13877 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13878 removed.
13879 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13880 libc/stdlib will be used for h8300hms.
17c0c97d 13881
8a0efa53
CF
13882Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13883
13884 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13885 version that can be built either for speed or size.
13886 * libc/machine/mn10300/memset.S (_memset): ditto
13887 * libc/machine/mn10300/memchr.S (_memchr): ditto
13888 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13889 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13890 * libc/machine/mn10300/strchr.S (_strchr): ditto
13891 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13892 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13893 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13894 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13895 strcmp.o, strcpy.o, and strlen.o.
13896
13897Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13898
13899 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13900 been replaced with libgloss/mn10200.
13901
13902Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13903
13904 * libc/string/strchr.c (strchr): Make s a constant pointer to
13905 avoid warning.
13906
13907Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13908
13909 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13910 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13911 board SWIs instead of Demon board SWIs).
13912
13913Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13914
13915 * libc/string/strncat.c (strncat): Make -Os act the same as
13916 PREFER_SIZE_OVER_SPEED being defined.
13917
13918Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13919
13920 * libc/string/memchr.c (memchr): Make -Os act the same as
13921 PREFER_SIZE_OVER_SPEED being defined.
13922 * libc/string/memcmp.c (memcmp): Ditto.
13923 * libc/string/memcpy.c (memcpy): Ditto.
13924 * libc/string/memset.c (memset): Ditto.
13925 * libc/string/strcat.c (strcat): Ditto.
13926 * libc/string/strchr.c (strchr): Ditto.
13927 * libc/string/strcmp.c (strcmp): Ditto.
13928 * libc/string/strcpy.c (strcpy): Ditto.
13929 * libc/string/strlen.c (strlen): Ditto.
13930 * libc/string/strncat.c (strncat): Ditto.
13931 * libc/string/strncmp.c (strncmp): Ditto.
13932 * libc/string/strncpy.c (strncpy): Ditto.
13933
13934Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13935
13936 * libc/include/sys/itimer.h: remove
13937 * libc/include/sys/time.h: itimer stuff should be here
13938
13939Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13940
13941 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13942 bit instead of comparing to 0 so -0.0 can be printed correctly.
13943
13944Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13945
13946 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13947
13948Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13949
13950 * libc/include/sys/unistd.h: fix sync() proto
13951 * libc/include/sys/fcntl.h: remove _close which is already
13952 defined in unistd.h.
13953 * libc/include/sys/time.h: add getitimer proto
13954
13955Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13956
13957 * libc/string/strchr.c: convert arg to unsigned char
13958 * libc/include/stdlib.h: add protos for random, srandom
13959 * libc/include/sys/stat.h: add lstat proto
13960 * libc/include/sys/time.h: add setitimer proto
13961 * libc/include/sys/unistd.h: add readlink, symlink protos
13962 * libc/include/process.h: instead of including windows.h and using
13963 HANDLEs in sexec protos, just use void *s. Need to include
13964 sys/types.h.
13965
13966Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13967
13968 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13969
13970Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13971
13972 * libc/include/process.h: add secure exec protos
13973
13974Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13975
13976 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13977 which are accessed as both doubles and integers.
13978 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13979 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13980 * libc/stdlib/mprec.h: Add "union double_union" and change
13981 word0/word1 macros to use it.
13982
13983Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13984
13985 * libc/include/sys/signal.h: add __cplusplus wrapper
13986
13987Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13988
13989 * libc/include/sys/utime.h: new generic file that gets replaced by
13990 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13991 function.
13992 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13993 * libc/include/time.h: remove duplicate utime proto
13994 * libc/include/utime.h: add comment
13995
13996Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13997
13998 * libc/include/sys/time.h: Add missing include to
13999 allow use of _EXFUN. Remove times function that is
14000 already defined in times.h.
14001
14002Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
14003
14004 * libc/include/time.h: Fix typo in tzset.
14005
14006Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
14007
14008 * libc/include/sys/time.h: add missing Cygwin32 function protos
14009 * libc/include/sys/unistd.h: ditto
14010 * libc/include/time.h: ditto
14011
14012Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
14013
14014 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
14015 FIXME.
14016 * libc/include/sys/types.h: add a new __MS_types__ section
14017 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
14018 __BIT_TYPES_DEFINED__.
14019
14020Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
14021
14022 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
14023 since it overrides the one in libc/include/sys. Also, start
14024 including types.h.
14025
14026Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
14027
14028 * libm/math/Makefile.in: add s_signgam.o to obj list
14029
14030Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
14031
14032 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
14033
14034Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
14035
14036 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
14037 so don't use defines.
14038
14039Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
14040
14041 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
14042
14043Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
14044
14045 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 14046 _current_locale as default locale.
8a0efa53
CF
14047
14048Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
14049
14050 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 14051 insufficient space in a chunk.
8a0efa53
CF
14052
14053Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
14054
14055 * configure.in (links): Added check for --enable-newlib-mb configure
14056 option which defines the MB_CAPABLE macro.
14057 * libc/locale/locale.c (_setlocale_r): Added support for setting
14058 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
14059 defined.
14060 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
14061 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
14062 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
14063 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
14064 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 14065 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
14066 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
14067 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
14068 * libc/stdlib/Makefile.in: Added new multibyte
14069 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
14070 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
14071 _mbstowcs_r(), and _wcstombs_r().
14072 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
14073 for JIS, SJIS, and EUC-JP characters.
14074 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 14075 MB_CAPABLE defined.
8a0efa53
CF
14076 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
14077 MB_CAPABLE defined.
14078 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
14079 MB_CAPABLE defined.
14080 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
14081 if MB_CAPABLE defined.
14082 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
14083 if MB_CAPABLE defined.
14084 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
14085 to the format string processing when MB_CAPABLE.
14086 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
14087 call _mbtowc_r().
14088
14089Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
14090
14091 The following modifications are courtesy of Anthony Thompson,
14092 athompson@cambridge.arm.com:
14093 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
14094 boith RDI and RDP monitors.
14095 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
14096 RDI and RDP monitors.
14097
14098Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
14099
14100 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
14101 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
14102 (_swiopen): Fixed open flags to treat write with append as just append.
14103 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
14104 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
14105
14106Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14107
14108 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
14109 When needing to transfer an initial 2-byte-word, store as
14110 two single bytes.
14111
14112Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14113
14114 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
14115 __SH3E__ .
14116 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
14117 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
14118
14119Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
14120
14121 * configure.in (target_cflags): If --enable-target-optspace, use
14122 -Os to compile newlib rather than -O2. Default to using -Os for
14123 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
14124 used.
14125
14126Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
14127
ba3ccd63
EB
14128 * libc/include/machine/setjmp.h: change sigsetjmp and
14129 siglongjmp definitions to use an array instead of a struct
14130 for __CYGWIN32__
8a0efa53
CF
14131
14132Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
14133
14134 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
14135
14136Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
14137
14138 * libc/string/strxfrm.c: fix to get correct return value
14139
14140Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
14141
14142 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
14143 builds. Make mode change labels global so that they will be seen
14144 by the debugger.
14145
14146Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
14147
14148 * configure.in (links): Do not use ARM debiugging protocols for PE
14149 builds.
14150
14151 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 14152 message.
8a0efa53
CF
14153
14154Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14155
14156 * libc/stdio/findfp.c (__sinit): Made stdout default to
14157 line buffered mode as defined by ANSI.
14158
14159Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
14160
14161 * libc/include/sys/itimer.h: New file.
14162
14163 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
14164
14165Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14166
14167 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
14168 failure.
14169
14170Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
14171
14172 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
14173 insns.
14174
14175Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
14176
14177 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
14178
14179Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
14180
14181 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
14182 support.
14183
14184 * libc/include/machine/setjmp.h: Add D30V support.
14185
14186 * configure.in (d30v-*): Add d30v machine directory.
14187
14188Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
14189
14190 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
14191 been replaced with libgloss/mn10300.
14192
14193Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
14194
14195 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
14196 it is no longer needed.
14197
14198Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14199
ba3ccd63 14200 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
14201
14202Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
14203
14204 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 14205 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 14206 that time.
8a0efa53
CF
14207
14208Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 14209
8a0efa53
CF
14210 patch from cgf@bbc.com (Christopher Faylor):
14211 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
14212 convention of closing fp prior to attempting to open the file
14213 argument. This allows correct operation when reopening
14214 stdin/stdout/stderr. Replaces last freopen.c patch.
14215
14216Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
14217
ba3ccd63
EB
14218 patch from cgf@bbc.com (Christopher Faylor):
14219 * libc/stdio/freopen.c: freopen was not preserving the fd
14220 of the stream being operated on. This confuses programs that
14221 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
14222
14223Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
14224
14225 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
14226
14227Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
14228
14229 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
14230
14231Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
14232
14233 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
14234 altered to not use a branch. Also added hint that last
14235 bclr in longjmp will likely result in branch.
17c0c97d 14236
8a0efa53
CF
14237
14238Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
14239
ba3ccd63 14240 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
14241
14242Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
14243
14244 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
14245 v850 builds.
14246
17c0c97d 14247 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
14248
14249Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
14250
14251 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
14252 that loads FR14 to specify offset of 8 rather than 4
14253 so it loads from offset 96 (where setjmp stored it).
14254
14255Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14256
14257 * libc/machine/sh/memcpy.S: (_memcpy): Update to
14258 latest version supplied by customer.
14259 * libc/machine/sh/memset.S (_memset): Ditto.
14260
14261Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
14262
14263 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 14264 PR14730).
8a0efa53
CF
14265
14266Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
14267
ba3ccd63 14268 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
14269
14270Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
14271
ba3ccd63 14272 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
14273 defined
14274
14275Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
14276
14277 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
14278 TI Libraries to link to libc.a
14279
8a0efa53
CF
14280Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
14281
14282 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
14283 * libc/include/sys/stat.h (_{,f}stat): Ditto.
14284 * libc/include/sys/wait.h (_wait): Ditto.
14285 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
14286 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
14287
14288Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
14289
14290 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
14291 minded stabs so function name shows up when running the simulator
14292 with -t.
14293 * libc/sys/d10v/{crt0,trap}.S: Ditto.
14294
14295Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
14296
17c0c97d 14297 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
14298 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
14299 Use R5 where we used to use R3.
17c0c97d 14300
8a0efa53
CF
14301Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
14302
14303 * libc/stdlib/getopt.c (getopt): replaced __progname
14304 with nargv[0] to improve portability to imbedded systems.
14305
14306Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
14307
14308 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
14309 patch supplied by Tont.Thompson@arm.com to fix the creation of the
14310 stdout file.
14311
14312Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
14313
14314 * libc/stdio/tmpnam.c (worker): Generate a different file name
14315 each time.
14316
14317 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
14318 fails, try an execlp for sh.
14319
14320 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
14321 option for the winsup include directory.
14322
14323Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
14324
14325 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
14326 debugging interface from Tony.Thompson@arm.com.
17c0c97d 14327
8a0efa53
CF
14328 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
14329 * libc/sys/arm/swi.h: ditto.
14330
14331Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
14332
14333 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
14334 DIR struct used for readdir hashes.
14335
14336Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
14337
14338 * libc/string/strchr.c: Use "unsigned chars" as necessary.
14339
14340Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
14341
14342 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
14343 integer targets.
14344
14345Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
14346
14347 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
14348 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
14349 * libc/include/malloc.h: Add extern "C" if __cplusplus.
14350 (__malloc_copy): Declare.
14351
14352Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
14353
14354 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
14355 <sys/config.h>.
14356 (POINTER_UINT): Define.
14357 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
14358 (MALLOC_ALIGNMENT): Don't define if already defined.
14359 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
14360 long.
14361
14362Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
14363
14364 * libc/string/memset.c (memset): Fiddle with code so that the long
14365 value being stored is not a stack value. Unroll storing longs 4
14366 times.
14367
14368Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
14369
14370 * Reduce code size for libm modules.
14371 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
14372 and simply move code into sqrt.
14373 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
14374 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
14375 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
14376 * libm/math/wr_gamma.c (gamma_r): Likewise.
14377 * libm/math/wf_sinh.c (sinfh): Likewise.
14378 * libm/math/w_sinh.c (sinh): Likewise.
14379 * libm/math/wf_scalb.c (scalbf): Likewise.
14380 * libm/math/w_scalb.c (scalb): Likewise.
14381 * libm/math/wf_remainder.c (remainderf): Likewise.
14382 * libm/math/w_remainder.c (remainder): Likewise.
14383 * libm/math/wf_pow.c (powf): Likewise.
14384 * libm/math/w_pow.c (pow): Likewise.
14385 * libm/math/wf_log10.c (log10f): Likewise.
14386 * libm/math/w_log10.c (log10): Likewise.
14387 * libm/math/wf_log.c (logf): Likewise.
14388 * libm/math/w_log.c (log): Likewise.
14389 * libm/math/w_lgamma.c (lgamma): Likewise.
14390 * libm/math/wf_lgamma.c (lgammaf): Likewise.
14391 * libm/math/wf_jn.c (jnf): Likewise.
14392 * libm/math/w_jn.c (jn): Likewise.
14393 * libm/math/wf_j1.c (j1f): Likewise.
14394 * libm/math/w_j1.c (j1): Likewise.
14395 * libm/math/wf_j0.c (j0f): Likewise.
14396 * libm/math/w_j0.c (j0): Likewise.
14397 * libm/math/wf_hypot.c (hypotf): Likewise.
14398 * libm/math/w_hypot.c (hypot): Likewise.
14399 * libm/math/wf_gamma.c (gammaf): Likewise.
14400 * libm/math/w_gamma.c (gamma): Likewise.
14401 * libm/math/wf_fmod.c (fmodf): Likewise.
14402 * libm/math/w_fmod.c (fmod): Likewise.
14403 * libm/math/wf_exp.c (expf): Likewise.
14404 * libm/math/w_exp.c (exp): Likewise.
14405 * libm/math/wf_cosh.c (coshf): Likewise.
14406 * libm/math/w_cosh.c (cosh): Likewise.
14407 * libm/math/wf_atanh.c (atanhf): Likewise.
14408 * libm/math/w_atanh.c (atanh): Likewise.
14409 * libm/math/wf_atan2.c (atan2f): Likewise.
14410 * libm/math/w_atan2.c (atan2): Likewise.
14411 * libm/math/wf_asin.c (asinf): Likewise.
14412 * libm/math/w_asin.c (asin): Likewise.
14413 * libm/math/wf_acosh.c (acoshf): Likewise.
14414 * libm/math/w_acosh.c (acosh): Likewise.
14415 * libm/math/wf_acos.c (asocf): Likewise.
14416 * libm/math/w_acos.c (acos): Likewise.
14417 * libm/math/wf_sqrt.c (sqrtf): Likewise.
14418 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
14419 for embedded systems.
14420
14421Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
14422
14423 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
14424 Lea in case of a foreign sbrk.
14425
14426Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
14427
14428 Incorporate Doug Lea's malloc:
14429 * libc/stdlib/mallocr.c: Completely replaced.
14430 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
14431 (realloc): Remove.
14432 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14433 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14434 mallopt.
14435 (mallinfo, malloc_stats, mallopt): New functions.
14436 (_mstats_r): Just call _malloc_stats_r.
14437 * libc/stdlib/malign.c: New file.
14438 * libc/stdlib/mlock.c: New file.
14439 * libc/stdlib/msize.c: New file.
14440 * libc/stdlib/mtrim.c: New file.
14441 * libc/stdlib/realloc.c: New file.
14442 * libc/stdlib/valloc.c: New file.
14443 * libc/stdlib/malloc.h: Remove.
14444 * libc/stdlib/callocr.c: Remove.
14445 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14446 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14447 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14448 reallocr.o, valloc.o, vallocr.o.
14449 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14450 (MALLOC_CFLAGS): New variable.
14451 (mallocr.o): New target, build from mallocr.c.
14452 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14453 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14454 (msizer.o, malloptr.o): Likewise.
14455 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14456 (valloc.o): New target.
14457 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14458 * libc/include/malloc.h: Declare struct mallinfo, and new
14459 routines.
14460 * libc/include/stdlib.h (cfree): Correct declaration.
14461
14462Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14463
14464 * libc/include/machine/setjmp.h: Add support for Thumb target.
14465
14466 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14467
14468 * configure.in (links): Add support for Thumb target.
14469
14470Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14471
14472 * libc/sys/arm/setjmp.S: Updated with version from branch.
14473
14474Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14475
14476 * libc/include/stdio.h: add POSIX-required define L_ctermid
14477 for ctermid
14478
14479Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14480
14481 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14482 addition to MISSING_SYSCALL_NAMES.
14483
14484Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14485
14486 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14487
14488Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14489
ba3ccd63
EB
14490 * libc/include/string.h: change strsignal proto to return
14491 a char *. This eliminates compile problems in gdb resulting
14492 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14493
14494Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14495
ba3ccd63
EB
14496 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14497 winsup/include) so as not to conflict with the one in
14498 libc/include.
8a0efa53
CF
14499 * libc/include/string.h: add protos for strsignal, strtosigno
14500
14501Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14502
14503 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14504
14505 * configure.in (d30v-*-*): Add configuration.
14506
14507Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14508
14509 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14510 to select which kind of debug monitor is in use for an ARM target.
14511
14512 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14513 Angel and Demon debug monitors. Part of this code was supplied by
14514 Tony Thompson at ARM: athompso@arm.com.
14515
14516Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14517
14518 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14519 semantics when the count is greater than the length of the second
14520 source string.
14521
14522Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14523
14524 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14525 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14526 truncate and ftruncate take off_t, not size_t
14527
14528Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14529
14530 * libc/string/strcat.c (strcat): Add missing comment end.
14531 * libc/string/strncat.c (strncat): Likewise.
14532
14533Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14534
14535 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14536 targets.
14537 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14538 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14539 defined.
8a0efa53
CF
14540 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14541 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14542 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14543
14544Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14545
14546 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14547 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14548
14549Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14550
14551 * libc/machine/i386/setjmp.S: New file.
14552 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14553 (OFILES): Add setjmp.o.
14554 (setjmp.o): Add rule for.
14555 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14556
14557Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14558 Jeffrey A Law (law@cygnus.com)
14559
14560 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14561 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14562 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14563 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14564
14565Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14566
14567 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14568 rules.
8a0efa53
CF
14569
14570 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14571 endianness.
8a0efa53
CF
14572
14573 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14574 buffer size.
14575
14576 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14577 endianness.
8a0efa53
CF
14578
14579Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14580
14581 * libc/stdlib/setenv.c: change unsetenv definition to match
14582 style of setenv (with _DEFUN). The string should be a const.
14583 * libc/include/stdlib.h: unsetenv proto should return void.
14584
14585Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14586
14587 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14588
14589Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14590
14591 * libc/stdio/glue.h: remove.
14592 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14593 * libc/stdio/Makefile.in: remove glue.h dependencies
14594
14595Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14596
14597 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14598
8a0efa53
CF
14599Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14600
14601 * configure.in (target_cpu): Add `arc'.
14602
14603Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14604
17c0c97d 14605 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14606 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14607 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14608 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14609 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14610
14611Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14612
14613 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14614
14615Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14616
14617 * libc/include/stdio.h (siprintf): Declare.
14618
14619Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14620
14621 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14622 TARGET_CFLAGS and NEWLIB_FLAGS.
14623
14624Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14625
14626 * configure.in (links): Add support for v850ea target.
14627
14628Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14629
14630 * configure.in (links): Add support for v850e target.
14631
14632Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14633
14634 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14635
14636Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14637
14638 * configure.in (arc-*-*): Add support for.
14639 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14640
14641Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14642
14643 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14644
14645Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14646
14647 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14648 comparison which accesses invalid memory when the key is
14649 larger than the last member of the array.
14650 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14651 for CYGWIN32
14652 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14653
14654Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14655
14656 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14657 not _STRICT_ANSI.
14658
14659Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14660
14661 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14662 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14663
14664Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14665
14666 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14667 to load/store memory.
14668
14669Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14670
14671 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14672 underscores if _WIN32.
14673
14674Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14675
14676 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14677 support ifdef _USE_WRITE missed in last change.
14678 From Anders Blomdell <anders.blomdell@control.lth.se>.
14679
14680Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14681
14682 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14683 (_tmpnam_r, _tempnam_r): Update.
14684
14685Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14686
14687 * libc/machine/sparc/setjmp.S: New file.
14688 * libc/machine/sparc/Makefile.in: Add setjmp.
14689 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14690
14691Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14692
14693 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14694
14695Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14696
14697 From Joel Sherrill <joel@oarcorp.com>.
14698 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14699
14700 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14701 * configure.in: Recognize *-*-rtems*.
14702 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14703 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14704 time.h,times.h,types.h}: New files.
14705 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14706
14707Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14708
14709 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14710 * include/sys/wait.h: correct operator precidence bug
14711 in WIFSIGNALED
8a0efa53
CF
14712
14713Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14714
14715 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14716 with newlib's unsetenv function
14717 * libc/sys/cygwin32/sys: new directory for includes
14718 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14719 here from winsup/include/sys
14720
14721Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14722
14723 * libc/include/sys/unistd.h: _exit should only be
14724 labelled noreturn when not __CYGWIN32__
14725 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14726 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14727 increment NSIG
14728
14729Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14730
14731 * libc/include/sys/time.h: Only define timeval and timezone if
14732 _GNU_H_WINDOWS32_SOCKETS is not defined.
14733 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14734
14735Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14736
14737 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14738 * libc/machine/mn10300/setjmp.S: Likewise.
14739
14740 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14741 the mn10300 (more relaxing opportunities).
14742
14743Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14744
14745 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14746 Build libraries with -mstrict-align.
14747
14748Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14749
14750 * libc/string/strlwr.c: New file.
14751 * libc/string/strupr.c: New file.
14752 * libc/include/string.h: Declare strlwr and strupr.
14753 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14754 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14755 (strlwr.o, strupr.o): New targets.
14756 * libc/string/strings.tex: Include strlwr and strupr docs.
14757
14758 * libc/include/sys/types.h: Don't define u_char, et. al., if
14759 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14760 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14761 _types_fd_set rather than fd_set, and define fd_set as a macro.
14762
14763 * libc/include/malloc.h: New file.
14764
14765 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14766 strnicmp if they are not already defined.
14767
14768 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14769 _timezone, _daylight, and _tzname.
14770
14771Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14772
14773 * configure.in: Sort all configuration tables.
14774
14775 From Joel Sherrill <joel@oarcorp.com>
14776 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14777
14778Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14779
14780 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14781 use int when declaring kill.
14782
14783 * libc/include/sys/timeb.h: New file.
14784
14785Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14786
14787 * libc/include/sys/time.h: add itimer support for Cygwin32
14788
14789Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14790
14791 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14792 out a message that abort was called to stderr.
14793
14794Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14795
14796 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14797 so that libio doesn't freak.
14798
14799 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14800 int.
14801
14802 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14803 memory sizes, not int.
14804
14805Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14806
14807 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14808 appropriate.
8a0efa53
CF
14809 * libm/math/ef_sqrt.c: Ditto.
14810
14811 * libc/sys/sysmec/times.c(_times): Change to times.
14812
14813 * libc/sys/sysmec/read.c(_read): The third argument is
14814 size_t.
14815 * libc/sys/sysmec/write.c (_write): Ditto.
14816
14817 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14818 (_lseek): It's off_t for the second argument.
14819
14820Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14821
14822 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14823 as well as machine/ieeefp.h.
14824
14825Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14826
14827 * libc/include/sys/signal.h: add signal protos for winsup
14828 functions (when __CYGWIN32__), include types.h
14829 * libc/include/sys/types.h: Change __go32_types__ internal
14830 define to __MS_types__ since it's used for more than just
14831 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14832 defined.
14833 * libc/include/sys/unistd.h: add ftruncate proto for
14834 winsup functions (when __CYGWIN32__)
14835
14836Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14837
14838 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14839
14840Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14841
14842 * libc/include/machine/setjmp.h: Add tic80 support.
14843 * libc/machine/tic80/setjmp.S: Likewise.
14844
14845Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14846
ba3ccd63
EB
14847 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14848 link programs from libraries only (such as in the X11
14849 distribution)
8a0efa53
CF
14850
14851Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14852
14853 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14854 supplied elsewhere in newlib.
14855
14856Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14857
14858 * Makefile.in (INSTALL): Change install.sh to install-sh.
14859
14860Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14861
14862 * README: update WWW address for on-line documentation.
14863
14864Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14865
14866 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14867 increment NSIG
14868
14869Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14870
14871 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14872 mn10300.
14873 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14874
14875Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14876
14877 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14878 * libc/sys/d10v/syscalls.c: Likewise.
14879 * libc/sys/h8300hms/sbrk.c: Likewise.
14880 * libc/sys/h8500hms/syscalls.c: Likewise.
14881 * libc/sys/m88kbug/syscalls.c: Likewise.
14882 * libc/sys/sh/syscalls.c: Likewise.
14883 * libc/sys/sysmec/sbrk.c: Likewise.
14884 * libc/sys/sysnecv850/sbrk.c: Likewise.
14885 * libc/sys/w65/syscalls.c: Likewise.
14886 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14887
14888Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14889
14890 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14891 emulated syscall instead of "trap".
14892
14893Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14894
14895 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14896 not trap 0.
14897
14898Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14899
14900 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14901
14902Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14903
14904 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14905 not "sh".
14906 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14907 not "d10v".
14908 * libc/sys/tic80/crt0.c: New file for TIc80.
14909 * libc/sys/tic80/Makefile.in: New file for TIc80.
14910 * libc/machine/tic80/Makefile.in: New file for TIc80.
14911
14912Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14913
14914 * libc/machine/sh/memcpy.S: New file.
14915 * libc/machine/sh/memset.S: New file.
14916 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14917
14918Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14919
14920 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14921 for TIc80.
14922
14923Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14924
14925 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14926 the mn10200.
14927
14928Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14929
14930 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14931 (patch from andrew@pogo.WV.TEK.COM).
14932
14933Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14934
14935 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14936 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14937
14938Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14939
14940 * configure.in: Add cases for "tic80" to set machine_dir,
14941 sys_dir, and syscall_dir.
14942
14943Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14944
14945 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14946
14947Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14948
14949 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14950
14951Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14952
14953 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14954 Use proper constant prefix.
14955
14956Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14957
14958 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14959 that loses on the mn10200 where ints and pointers are different
14960 sizes.
14961
14962Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14963
14964 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14965 target as signal is provided in winsup.
14966
14967Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14968
14969 * libc/include/sys/process.h: Corrected const definitions
14970 in spawn functions. Added cwait.
14971
14972Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14973
14974 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14975 doubles.
14976 * libc/include/sys/config.h: Similarly.
14977
14978Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14979
14980 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14981 target_cflags.
14982 (i[3456]86-*-sco*): Ditto.
14983
14984 * libc/signal/Makefile.in (OFILES): Add signal.o.
14985 (CFILES): Add signal.c.
14986
14987 * libc/signal/raise.c (_raise_r): Only compile code if
14988 SIGNAL_PROVIDED is defined.
14989
14990 * libc/signal/signal.c: Redo whole file so that it works with
14991 current newlib. Use _kill_r if no signal handler provided.
14992
14993 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14994 signal stubs.
14995 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14996 * libc/sys/sysnecv850/Makefile.in: Ditto.
14997
14998 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14999 * libc/sys/sysmec/{raise,signal}.c: Ditto.
15000 * libc/sys/sysvnecv70/signal.s: Ditto.
15001 * libc/sys/sysnecv850/raise.c: Ditto.
15002
15003 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
15004 simulator and debugger can tell the difference between a signal
15005 being raised and an exit system call.
15006
15007 * NEWS: Document software signals being provided.
15008
15009Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15010
15011 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
15012 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
15013 include/sys/config.h.
15014 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
15015 Change from 'inpure_data'.
15016 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
15017 &impure_data, not &inpure_data.
15018
15019 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
15020 and and System V ABI, define so that _impure_ptr lives in the
15021 .sdata section.
15022
15023Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15024
15025 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
15026 nothing if not defined.
15027 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
15028 its attributes.
15029
17c0c97d 15030 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
15031
15032Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
15033
15034 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
15035 * libc/sys/sysmec/trap.s: Handle mn10200 too.
15036 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
15037
15038Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
15039
15040 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
15041
15042Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
15043
ba3ccd63 15044 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
15045
15046Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15047
15048 * libc/misc/ffs.c: New file to support ffs function for GCC test
15049 gcc.c-torture/execute/960909-1.c.
15050
15051 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
15052
15053Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
15054
15055 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
15056 * libc/sys/sysmec/trap.S: Likewise.
15057
15058Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
15059
15060 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
15061 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
15062
15063Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
15064
15065 * libc/sys/sysmec/signal.c: Dummy file.
15066 * libc/sys/sysmec/Makefile.in: Build it.
15067
15068Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
15069
15070 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
15071 mips16.
15072
15073Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
15074
15075 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
15076 c-startup and simulator traps.
15077
15078
15079 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
15080 * libc/sys/sysmec/trap0.S: Likewise.
15081
15082Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15083
15084 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
15085 round to double word alignment.
15086 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
15087 byte alignment.
15088
15089 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
15090
15091 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
15092 out of memory.
15093
15094Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
15095
15096 * configure.in: Handle mn10200 and mn10300.
15097 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
15098 * libc/include/sys/config.h: Likewise.
15099 * libc/sys/sysmec: New directory for mec stuff.
15100 * libc/machine/mn10300: New directory for mn10300 stuff.
15101 * libc/machine/mn10200: Similarly for mn10200 stuff.
15102
15103Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
15104
15105 * libc/sys/arm/crt0.S: Use .text, not .section .text.
15106 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
15107
15108 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
15109 (nlink_t): Change type from unsigned int to unsigned short.
15110 (mode_t): Ensure size is 32 bits even if int is 16.
15111 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
15112 (st_spare[123]): Change type from int to long.
15113
15114Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15115
15116 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
15117 byte boundary.
15118
15119 * configure.in (d10v*): Define SMALL_MEMORY.
15120
15121Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15122
15123 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
15124 -mrelocatable-lib and -mno-eabi flags.
15125
15126Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
15127
15128 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
15129 Fix handling of mis-aligned source operand when both the
15130 destination & length are properly aligned.
17c0c97d 15131
8a0efa53
CF
15132Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
15133
15134 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
15135 times.o, time.o and gettime.o
15136 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
15137 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
15138 SYS_gettimeofday.
15139
15140Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
15141
15142 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
15143 * libc/sys/sysnecv850/access.c: New file.
15144
15145Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
15146
15147 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
15148
15149 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
15150 long.
15151
15152Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
15153
15154 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
15155
15156Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
15157
15158 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
15159 * libc/include/sys/config.h: Add m32r support.
15160
15161Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
15162
15163 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
15164 here.
15165
15166Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
15167
15168 * libc/include/machine/setjmp.h: Add D10v support.
15169
15170Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
15171
15172 * configure.in: Configure the "libc/syscalls" directory for
15173 the v850.
15174
15175 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
15176 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
15177 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
15178 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
15179 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
15180
15181Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
15182
15183 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
15184 stack for args for main and other routines. Zero out args for
15185 main.
15186
15187 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
15188 correctly.
15189
15190Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15191
15192 * libc/stdio/findfp.c (std): Remove extraneous ';' after
15193 function.
15194
15195 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
15196
15197 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
15198 real system calls now.
15199
15200 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
15201 before casting them to int.
15202 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
15203
15204 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
15205 aligning pointer.
15206 * libc/string/memset.c (memset): Ditto.
17c0c97d 15207
8a0efa53
CF
15208 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
15209 first convert ints to _POINTER_INT to eliminate GCC warning.
15210
15211 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
15212 processing %p.
15213
15214 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
15215 from 65000 if ints are only 16 bits.
15216
15217 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
15218 from 50000 if ints are only 16 bits.
15219
15220 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
15221 int type that is the same size as a pointer.
15222
15223 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
15224 processing %p.
15225 (get_number): Explicitly cast number to long before shifting by 16
15226 or 24, in case ints are short.
15227
15228 * libc/include/sys/config.h (_POINTER_INT): Define as short.
15229
15230Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
15231
15232 * libc/string.h: Added ffs, removed swab.
15233 * libc/sys/errno.h: Added EOPNOTSUPP.
15234 * libc/sys/unistd.h: Added swab.
15235
15236Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
15237
15238 * libc/include/sys/stat.h: Added fchmod.
15239 * libc/include/sys/unistd.h: Added fsync.
15240
15241Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
15242
15243 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
15244 and ECONNRESET (104) for cygwin32.
15245
15246Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
15247
ba3ccd63
EB
15248 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
15249 do the static destructors.
17c0c97d 15250
8a0efa53
CF
15251Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
15252
15253 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
15254
15255Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
15256
15257 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
15258 * configure.in: Recognize m32r-*-*.
15259
15260Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
15261
15262 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
15263 __rt_stkovf_split_small): Added default software stack overflow
15264 handlers, which just call SWI_Exit.
8a0efa53 15265 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 15266 limit initialisation.
8a0efa53
CF
15267
15268Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
15269
15270 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
15271
15272Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
15273
15274 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 15275
8a0efa53
CF
15276Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15277
15278 * libc/machine/d10v/setjmp.S: Use ';' for comments.
15279 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
15280
15281 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
15282 branch around a single ldi instruction.
15283
15284 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
15285 Call exit, instead of just issuing a stop instruction.
15286
15287Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15288
15289 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
15290
15291Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15292
15293 * libc/stdlib/mprec.h: Explicitly declare all large constants as
15294 longs, and then cast them to __uint32_t.
15295
15296 * libc/include/sys/config.h: Protect against multiple inclusions.
15297
15298Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
15299
15300 * configure.in (d10v*): Set syscall_dir.
15301
15302Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
15303
15304 * libc/sys/d10v/crt0.S: Set stack pointer.
15305
15306Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
15307
15308 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
15309 in assembly for efficiency. Change calling convention to allow
15310 long ints to be returned.
15311
15312Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15313
15314 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
15315
15316Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
15317
15318 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
15319 Handle empty entries in $PATH.
15320
15321Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
15322
15323 * libc/machine/d10v/setjmp.S: Make it really work.
15324
15325Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
15326
15327 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
15328 the .stack section.
15329
15330Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
15331
15332 * sys/sysnecv850/sys/file.h: Remove.
15333 * sys/sysnecv850/sys/syscall.h: New file.
15334 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
15335 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
15336 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
15337 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
15338 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
15339 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
15340 * sys/sysnec850/trap.S: New file.
15341 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
15342 syscalls.
15343 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
15344 * sys/sysnec850/sbrk.c: New version.
15345
15346Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
15347
15348 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
15349 as long as r6 is less than r7.
15350
15351Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
15352
15353 * Makefile.in (mostlyclean): Separate from clean target. Don't
15354 remove *.a or targ-include.
15355 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
15356
15357Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15358
15359 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
15360 d10v.
15361 (__SMALL_BITFIELDS): Ditto.
15362
15363 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
15364
15365Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
15366
15367 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
15368 prefix.
15369
15370 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
15371 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
15372 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
15373 * libc/sys/sysnecv850/write.c (write): Likewise.
15374
15375 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
15376 .bss.
15377
15378Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15379
15380 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
15381 appropriately for D10V, depending on -mint16/-mint32.
15382
15383Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
15384
15385 * configure.in: Add cases for D10V.
15386
15387Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15388
15389 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
15390
15391Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
15392
15393 * libc/include/machine/ieeefp.h: Fix typo.
15394
15395Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
15396
15397 * libc/sys/d10v: New directory for D10V stuff.
15398 * libc/include/machine/ieeefp.h: Add D10V defines.
15399
15400Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
15401
15402 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
15403 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
15404 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
15405 * libc/string/strerror.c (strerror): Add them.
15406
15407Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
15408
15409 * libc/sys/sysnecv850: New directory for v850 stuff.
15410
15411 * libc/machine/v850: New directory for v850 stuff.
15412 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
15413
15414 * configure.in: Add support for the v850.
15415
15416 * libc/include/machine/ieeefp.h: Add v850 defines.
15417 * libc/include/machine/setjmp.h: Likewise.
15418 * libc/include/sys/config.h: Add v850 defines.
15419
15420Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
15421
15422 * libc/include/machine/ieeefp.h
15423 * libc/include/machine/setjmp.h
15424 * libc/include/sys/fcntl.h
15425 * libc/include/sys/signal.h
15426 * libc/include/sys/types.h
15427 * libc/stdlib/system.c:
15428 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
15429 API availability, __CYGWIN32__ for cygwin32 environment specific).
15430
15431Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
15432
ba3ccd63
EB
15433 * libc/include/stdlib.h: add multibyte character functions. Add
15434 __eprintf for assert.
8a0efa53
CF
15435
15436Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15437
15438 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15439 arithmetic or __alignof__ to properly get the alignment, instead
15440 of hardwiring it to 4.
15441
15442Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15443
15444 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15445 on append stream (fix from NetBSD sources), adjust curoff offset
15446 for ungetc's benefit.
15447 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15448 * libc/stdio/rewind.c: replace code with up to date NetBSD
15449 code to undo hacks made to work around above problem of not
15450 having fflush call mentioned above
15451
15452Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15453
15454 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
15455 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15456 Partially revert last changes. The thread specific errno is set
15457 iff if the underlying syscall fails and the global errno is not
15458 zero.
8a0efa53
CF
15459
15460Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15461
15462 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
15463 into their own files.
15464 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
15465 New files containing functions formally in filer.c
15466 * libc/reent/Makefile.in: Updated for above change.
15467
15468 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
15469 syscall fails, not if errno is changed.
15470 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
15471 _write_r): Likewise.
15472 * libc/reent/fstatr.c (_fstat_r): Likewise.
15473 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15474 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15475 * libc/reent/signalr.c (_kill_r): Likewise.
15476 * libc/reent/statr.c (_stat_r): Likewise.
15477 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15478
15479 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 15480 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
15481 than as a common.
15482
15483 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
15484 instead of calling vfprintf so that i*printf will not require
15485 floating point support code.
15486
8a0efa53
CF
15487Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15488
15489 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15490 path delimiter.
15491 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15492 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15493
15494Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15495
15496 * libc/include/signal.h: _sig_func_ptr function takes an int
15497 * libc/include/sys/signal.h: sa_handler function takes an int
15498
15499Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15500
15501 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15502 * libc/include/sys/config.h: Add missing H8/S conditional.
15503
15504Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15505
15506 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15507
15508Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15509
15510 * libc/include/machine/setjmp.h: Handle H8/S.
15511 * libc/include/machine/ieeefp.h: Likewise.
15512 * libc/include/sys/config.h: Likewise.
15513 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15514 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15515 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15516 * libc/sys/h8300hms/crt0.S: Likewise.
15517
15518Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15519
ba3ccd63 15520 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15521 (oldincludedir, docdir): Removed.
ba3ccd63 15522 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15523 (oldincludedir, docdir): Removed.
ba3ccd63 15524 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15525 (oldincludedir, docdir): Removed.
ba3ccd63 15526 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15527 (oldincludedir, docdir): Removed.
15528
15529Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15530
15531 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15532 _reent struct.
15533
15534Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15535
15536 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15537 fetch current path rules with sysconf and handler posix/win32
15538 appropriately.
15539
15540 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15541
15542 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15543 (WAIT_CHILD): Always define.
15544
15545Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15546
15547 * libc/stdlib/eprintf.c: New file.
15548 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15549 (eprintf.o): New target.
15550
15551Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15552
15553 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15554 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15555
15556Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15557
15558 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15559 NT in PowerPC endianess cases.
15560
15561Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15562
15563 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15564
15565Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15566
15567 * libc/string/strtok.c: Fix doc typo.
15568
15569Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15570
15571 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15572 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15573
15574 * libc/include/stdlib.h (rand_r): Added new declaration.
15575 (_rand_r, _srand_r): Removed declarations.
15576 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15577 have been made obsolete by rand_r.
8a0efa53 15578 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15579 by POSIX.1c.
15580
8a0efa53 15581 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15582 strtok_r().
8a0efa53
CF
15583
15584Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15585
15586 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15587 structure on Solaris, and PowerPC systems even though __svr4__ is
15588 defined.
15589
15590Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15591
15592 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15593
15594Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15595
15596 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15597 directory. This matches the current layout of the build
15598 directory.
8a0efa53
CF
15599
15600Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15601
15602 * libc/machine/h8300/__main.S: Delete. No longer needed.
15603 * libc/machine/h8300/Makefile.in: Corresponding changes.
15604 * libc/sys/h8300hms/crt1.c: New file.
15605 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15606 * libc/sys/h8300hms/crt0.s: Call __main.
15607
15608 * libc/sys/h8300hms/crt0.S: Use temporary label names
15609 for branch targets.
15610
15611Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15612
15613 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15614
15615Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15616
15617 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15618 .sdata on the PowerPC so that we can link newlib with code
15619 compiled with -msdata.
15620
15621Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15622
15623 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15624
15625Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15626
15627 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15628 exception handler to __cygwin_exception_handler.
15629
15630Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15631
15632 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15633
15634Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15635
15636 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15637 SunOS VPATH.
15638 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15639 wcstombs.o): Likewise.
15640
15641Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15642
15643 * libc/stdlib/environ.c (initial_env): New static local.
15644 (environ): Point to `initial_env'.
15645
15646 * libc/include/machine/setjmp.h: Clean up.
15647 (__H8300H__,__PPC__): Define _JBTYPE.
15648 (__arm__): Provide entry for.
15649 (sigjmp_buf): Delete.
15650 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15651
15652Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15653
15654 * libc/machine/h8300/strcmp.S: Sign extend the result to
15655 32bits so we don't lose with -mint32.
15656
15657Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15658
15659 * libc/sys/go32/sys/errno.h: New file.
15660 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15661 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15662 errno's address (make compatible with rest of newlib).
15663 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15664 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15665
15666Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15667
15668 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15669 * libc/machine/sparc/Makefile.in: Build them.
15670 * libc/machine/sparc/machine/sparclet.h: New file.
15671
15672Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15673
15674 * libc/machine/sh/asm.h: New file.
15675 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15676 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15677
15678Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15679
15680 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15681 as first argument. Call _dtoa_r and pass the reent structure
15682 instead of calling __dtoa.
15683
15684Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15685
15686 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15687 the h8300, h8500, and others. Add comments for some rather
15688 dubious code.
15689
15690Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15691
15692 * Makefile.in (check): Check that testsuite exists before cd.
15693
15694Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15695
15696 * libc/include/string.h (strsep): Correct prototype.
15697
15698Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15699
15700 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15701 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15702 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15703
15704Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15705
15706 * libc/posix/{creat.c,isatty.c}: New files.
15707 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15708
15709 * libc/sys/sparc64/crt0.S (environ): Delete.
15710 (.LHaveBias): Renamed from HaveBias.
15711
15712Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15713
15714 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15715 (_morecore_r): Delete SBRK_IS_ALLOC support.
15716
15717Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15718
15719 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15720 module rather than touch, so we don't get warning messages when
15721 all of the libraries are combined into libc.a.
15722
15723Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15724
15725 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15726 crt0.s replaced by version in libgloss.
15727
15728Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15729
15730 * libc/reent/Makefile.in (OFILES): Add impure.o.
15731 * libc/reent/impure.o: New file, define initial reentrancy struct.
15732 * libc/reent/reent.c: Remove above definition.
15733
15734 * libm/math/sf_asinh.c: Fix typo.
15735
15736 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15737 srf_ldexp.o.
15738
8a0efa53
CF
15739 * libm/libm.texinfo: Change documentation to reflect changes
15740 in reentrancy model.
15741 * libm/math/w_gamma.c: Likewise.
15742
15743Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15744
15745 * configure.in (*-*-cygwin32): New.
15746 (*-*-win32): Deleted.
15747 * libc/sys/win32 renamed libc/sys/cygwin32.
15748
15749Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15750
15751 * libc/include/sys/file.h: New include file.
15752
15753Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15754
15755 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15756
15757Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15758
15759 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15760
15761Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15762
15763 * doc/makedoc.c (realloc): Declare at file scope.
15764 (catchar): Not here.
15765
15766Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15767
15768 * Makefile.in (VERSION): Update to 1.7.0.
15769 * {libc,libm}/Makefile.in (VERSION): Likewise.
15770 * configure.in: Minor clean up of multilib stuff.
15771
15772 From David Johnson <davidj@ICSI.Berkeley.EDU>
15773 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15774
15775 * libc/stdlib/environ.c: New file.
15776 * libc/stdlib/Makefile.in (OFILES): Build it.
15777 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15778 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15779 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15780 * libc/sys/netware/environ.c: Deleted.
15781
15782Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15783
15784 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15785
15786Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15787
15788 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15789 declaration out to external scope and declare it PTR, not char *.
15790
15791Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15792
15793 * libc/include/sys/unistd.h (getpagesize): New declaration.
15794 (_SC_PAGESIZE): New definition.
15795 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15796 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15797
15798Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15799
15800 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15801 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15802
15803Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15804
15805 * libm/math/*.c: Removed _foo_r() reentrancy API.
15806 * libc/include/math.h: Removed _foo_r prototypes and macros.
15807
17c0c97d 15808 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15809 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15810 the standard IEEE double precision functions to the files that
8a0efa53
CF
15811 implement IEEE single precision functions. (ie. On those systems
15812 sin is moved from s_sin.c to sf_sin.c). There should eventually
15813 be use of a C extension (like gcc's alias attribute) so that the
15814 wrappers are not needed at all.
15815
15816 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15817 strict NEC V810 compiler.
8a0efa53 15818 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15819 for same reason.
8a0efa53
CF
15820
15821Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15822
15823 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15824 from NetBSD C library.
8a0efa53
CF
15825 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15826
17c0c97d 15827 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15828 and adapted from implementation I wrote for NetBSD C library.
15829 The difference is __assert doesn't take a format argument,
15830 so that there won't be multiple copies of the same string
15831 constant in the executable if assertions are enabled in
17c0c97d 15832 more than one source module.
8a0efa53
CF
15833 * libc/include/assert.h (assert): Changed to call __assert.
15834
15835Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15836
15837 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15838 word1 on systems with 32 bit doubles.
15839 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15840 so that we can do arithmetic on them.
15841 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15842 compilers.
15843
8a0efa53
CF
15844Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15845
15846 * libc/sys/arm/crt0.S: Zero bss.
15847
15848Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15849
15850 * libc/include/unctrl.h: New file.
15851 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15852 * configure.in (subdirs): Add libc/misc.
15853 * libc/Makefile.in (SUBDIRS): Add misc.
15854 (SUBLIBS): Add misc/lib.a.
15855
15856 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15857
15858Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15859
15860 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15861 (_vfprintf_r): Call CHECK_INIT.
15862
15863Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15864
15865 * Makefile.in (MULTITOP): Delete.
15866 (MULTISRCTOP, MULTIBUILDTOP): Add.
15867 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15868 instead of cfg-ml-pos.in.
15869
15870Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15871
15872 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15873 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15874 presence.
8a0efa53
CF
15875
15876Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15877
15878 * libc/string/strtok.c: Include string.h to pick up strtok_r
15879 prototype.
15880
15881Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15882
15883 * libc/string/strtok.c: include <_ansi.h>.
15884 * libc/time/asctime_r.c: `reresult' -> `result'.
15885
15886Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15887
15888 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15889 in #ifndef _REENT_ONLY ... #endif conditional.
15890
15891 * libc/include/string.h (_strtok_r): Remove declaration.
15892 * libc/include/time.h (_asctime_r): Remove declaration.
15893 * libc/string/strtok.c (_strtok_r): Removed.
15894 * libc/time/asctime.c (_asctime_r): Removed.
15895
15896 * libc/string/Makefile.in (OFILES): Add new object.
15897 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15898 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15899 from NetBSD C library.
17c0c97d 15900 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15901 strtok_r.
15902
15903 * libc/time/Makefile.in (OFILES): Add new objects.
15904 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15905 New files, reentrant time functions specified by POSIX.1c.
15906 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15907 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15908 functions.
15909 * libc/time/lcltime.c: Renamed from localtime.c
15910
15911 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15912 gmtime_r, and localtime_r.
15913
15914Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15915
15916 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15917 * libc/include/sys/unistd.h (getlogin): Revert change of
15918 Oct 19.
15919 * libc/include/sys/signal.h (sigprocmask): Change prototype
15920 so it compiles with c++.
15921
15922Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15923
15924 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15925 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15926 to give some room in case we need to align the jmp_buf.
17c0c97d 15927
8a0efa53
CF
15928 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15929 the new ppc-asm.h include file the compiler provides to specify
15930 function prologue/epilogue. Eliminate saves of the xer and ctr
15931 registers, which are volatile. Before starting to save registers,
15932 align to 8 byte boundary.
15933
15934Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15935
15936 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15937 referenced by standard libraries.
8a0efa53
CF
15938
15939Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15940
8a0efa53
CF
15941 * libc/unix/Makefile.in, libc/string/Makefile.in,
15942 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15943 libc/posix/Makefile.in:
15944 Remove tabs from otherwise empty line. Confuses some
15945 older non-GNU versions of "make".
15946
15947Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15948
15949 * libc/sys/unistd.h (getlogin): Returns const char *.
15950
15951Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15952
15953 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15954 * libc/include/errno.h: Moved into and include...
15955 * libc/include/sys/errno.h: New file.
15956 * libc/include/sys/wait.h: New file.
15957 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15958 * libc/sys/win32/*: Moved out.
15959 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15960 * configure.in (i[345]86-*-win32): HAVE_RENAME
15961
15962Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15963
15964 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15965 avoid macro expansion for these two names.
15966
15967Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15968
15969 * libc/machine/h8500/psi.S: r6 renamed to fp.
15970
15971Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15972
15973 * configure.in (powerpc*): No longer need to define
15974 NO_LONGLONG_POINTERS to supress warnings.
15975
15976Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15977
15978 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15979 through PTR instead of directly.
15980
15981 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15982 non-standard constructor support.
15983
15984Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15985
15986 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15987 address of the Bigint instead of the address of its _x field,
15988 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15989 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15990
15991 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15992 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15993 zero (which needs to be done by the application anyway), but
15994 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15995
15996 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15997 NetBSD C library.
15998
15999Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16000
16001 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 16002 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
16003 * libc/stdio/cvt.c: Removed.
16004 * libc/stdio/Makefile: Updated.
17c0c97d 16005
8a0efa53
CF
16006Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
16007
16008 * libc/sys/win32/syscalls.c (rename): New.
16009 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
16010
16011Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16012
16013 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
16014 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
16015
16016 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
16017 (setjmp.o): Delete rule to build setjmp.o.
16018 * libc/sys/sh/setjmp.S: Delete file.
16019
16020Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16021
16022 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
16023 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
16024 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 16025 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
16026 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
16027 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
16028
16029Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
16030
16031 * libc/sys/posix/popen.c (sys/types.h): Include.
16032
16033Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
16034
16035 * libc/sys/win32/syscalls.h (fhandler): New struct.
16036 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
16037 (__fhandler_normal): Declare.
16038 (hinfo): New member op_handlers.
16039 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
16040 (__write): Likewise.
16041 (_read, _write, _open, _close, _lseek): Validate fd here.
16042 Move file type specific stuff to foo_normal.
16043 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
16044 New functions.
16045 (__lookup_fhandler): New function.
16046 (__lookup_fhandler_hook, __fhandler_normal): New variables.
16047
16048 From anders.blomdell@control.lth.se (Anders Blomdell)
16049 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
16050 Don't touch standard handles.
16051 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
16052 (_execve): Only create __FD_TABLE__ if necessary.
16053 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
16054
16055Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
16056
16057 * libc/sys/win32/sys/termios.h (FLUSHO): New.
16058 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
16059 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
16060 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
16061 without a handler is received.
16062 * libc/sys/win32/Makefile.in: Remove --nodelete.
16063 * libc/sys/win32/resouce.c (gettimeofday): New.
16064 * libc/sys/win32/syscalls.c (path_to_real_path): New.
16065 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
16066
16067Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
16068
16069 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
16070 Don't append "/*" to search pattern if trailing '/' already there,
16071 append "*".
16072 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
16073 like /'s, convert them to \'s. Handle //<drive>/ path names.
16074 Add space for quoted \'s in arg string. Print translated prog name
16075 and original prog name.
16076 (_execve): Handle parent doing exec a teensy bit better.
16077 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
16078 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
16079 path needs conversion, handle both cases. Delete `const' from result.
16080 (hash_path_name): New function.
16081 (_open): Call it.
16082 (_stat): Likewise. Fill in more fields for directories.
16083 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
16084 (wait_for_any): Fix trace message.
16085 (waitpid): Explicitly test for intpid == 0.
16086
16087 From anders.blomdell@control.lth.se (Anders Blomdell)
16088 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
16089 so `next' is valid.
16090
16091Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
16092
16093 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
16094 complicated.
16095
16096Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16097
ba3ccd63
EB
16098 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
16099 at all, not just == 1.
16100 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
16101
16102Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16103
ba3ccd63
EB
16104 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
16105 * libc/sys/win32/include/wintypes.h: include <winnt.h>
16106 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
16107 file.
8a0efa53
CF
16108
16109Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
16110
16111 * libc/sys/syscalls.c (getcwd): Fix off by one error.
16112
16113 * libc/sys/signal.c (sleep): Fill it in.
16114 * libc/sys/termios.c (tcflush): Use PurgeComm
16115 (tcsetattr): Set some more of the bits.
16116 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
16117
16118Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
16119
16120 * libc/sys/arm/crt0.S (fp): Initialize to 0.
16121 Conditionally include .idata$3 stuff ifdef __pe__.
16122
16123Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
16124
16125 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
16126 * libc/sys/win32/pipe.c (pipe): Ditto.
16127 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
16128 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
16129 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
16130 (tcgetattr): Contents are new.
16131 * libc/sys/win32/include/winkernel.h (DCB): New.
16132 (GetCommState, SetCommState): New.
16133
16134Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
16135
16136 * libc/sys/arm/crt0.S (_start): Define.
16137
16138Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
16139
16140 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
16141 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
16142
16143 * libc/sys/win32/sysconf.c: New
16144 * libc/sys/win32/sys/winadvapi.h: New
16145 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
16146 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
16147 * libc/sys/win32/pipe.c (pipe): Ditto.
16148 * libc/sys/win32/signal.c (_raise): New.
16149 (_kill): Moved from spawn.c
16150 * libc/sys/win32/spawn.c (kill): Moved to signal.c
16151 * libc/sys/win32/syscalls.c (__read): Use new fields.
16152 (_open): Ditto.
16153 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
16154 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
16155 * libc/include/sys/unistd.h (rmdir): Takes const path.
16156 * libc/include/sys/stat.h (mkdir): Takes const path.
16157 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
16158
16159Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
16160
16161 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
16162
16163 Add support for specifying paths as //<drive>/foo/bar.
16164 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
16165 (__path_to_real_path): Declare.
16166 (PATH_TO_REAL_PATH): New macro.
16167 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
16168 (__path_needs_conversion_p, __path_to_real_path): New functions.
16169 (_open): Fix test for error return from CreateFileA.
16170 Handle new path syntax.
16171 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
16172 * libc/sys/win32/dirsearch.c (opendir): Likewise.
16173
16174Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
16175
16176 * libc/sys/win32/include/*.h: Reorganized
16177 * libc/sys/win32/include/WINREADME: New.
16178 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
16179 * libc/sys/win32/*.c: Fix for new include scheme.
16180 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
16181 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
16182 * libc/sys/win32/passwd.c (*): Fix.
16183 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
16184 (_stat): Get directory owner and permissions right.
16185 * libc/sys/win32/syscalls.h (uinfo): New.
16186 * libc/sys/win32/version.def: Remove leading underscores.
16187
16188Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16189
16190 * libc/sys/win32/key.c: include "include/wincon.h".
16191
16192Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
16193
16194 * libc/sys/win32/{key, stubs}.c: New.
16195 * libc/sys/win32/Makefile: Adjust to cope.
16196 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
16197 (environ_init): Change env names to upper case.
16198 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
16199 * libc/sys/win32/passwd.c (*): Fill in the functions.
16200 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
16201 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
16202 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
16203 (_open): Initialze hmap->execable_p too.
16204 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
16205 (_fstat): Fill in permissions.
16206 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
16207
16208Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
16209
16210 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
16211 if defined.
16212 (cfg-ml-pos.in invocation): Likewise.
16213
16214Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16215
16216 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
16217 s_isnan.o and sf_isnan.o.
16218
16219Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
16220
16221 * All Makefile.in files: added maintainer-clean target as a
16222 synonym for realclean.
16223
16224Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
16225
16226 * libc/include/machine/setjmp.h: Add hppa support.
16227 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
16228 support.
16229 * libc/machine/hppa/Makefile.in: Related changes.
16230
16231Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
16232
16233 * configure.in (machine_dir): Don't set for v810-*-*.
16234
16235Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16236
16237 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
16238 conventions correctly.
16239
16240Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
16241
16242 * libc/stdio/puts.c: Update documentation of return value to match
16243 ANSI standard.
16244
16245Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
16246
16247 Fix file descriptor inheritance.
16248 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
16249 (NOT_OPEN_FD): Fix.
16250 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
16251 close-on-exec flag not set. Initialize child's entire fd table.
16252 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
16253 CHILD_P.
16254 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
16255 if CHILD_P. Initialize entire hmap entry.
16256 (dup): Only create new handle as inheritable if CHILD_P.
16257 (dup2): Likewise. Properly initialize hmap entry.
16258
16259 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
16260 _spawn.
16261 (_exit): Use CHILD_P.
16262 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
16263 (_stat): Likewise.
16264
16265Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16266
16267 * libc/sys/win32/crt0.c (passover): fix up the state table.
16268 * libc/posix/popen.c: Added.
16269 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 16270
8a0efa53
CF
16271Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
16272
16273 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
16274 h8/500 define _DOUBLE_IS_32BITS.
16275
16276Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
16277
16278 Get vfork/exec/spawn/cwait/wait working again.
16279 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
16280 (procinfo): New member vfork_level.
16281 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
16282 (vfork_init_first): Use GetCurrentProcessId to get pid.
16283 Initialize vfork_level.
16284 (vfork_init): Delete __PID__.
16285 (environ_init): New function. Undo patch of Aug 19, Posix says
16286 environment variables are case sensitive.
16287 (mainCRTStartup): Call it.
16288 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
16289 (my_longjump: Make static.
16290 (_spawn): New argument `h'. Delete setting of __PID__.
16291 Delete local `idx'. Look for chars that need quotes, rather than
16292 ones that don't. Set handle of created process in `h'.
16293 Result is process id if created task.
16294 (allocate_spawn_entry): New function.
16295 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
16296 (_execve): Set __FD_TABLE__ before spawning child.
16297 Scan our fd table when passing fds, not our parent's.
16298 Store handle and pid in procinfo entry.
16299 (vfork0): Ensure strace message always printed.
16300 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
16301 (vfork): Don't clobber result of vfork0.
16302 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
16303 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
16304
16305 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
16306 and `exit_code'.
16307 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
16308 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 16309 adding vfork level to pseudo-pid.
8a0efa53
CF
16310 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
16311 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
16312 (_exit): If child, set exit code.
16313 (__vfork_record_death): Only close process handle if valid.
16314 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
16315 didn't exec.
16316 (wait_for_any): Likewise. Start scan after root entry.
16317
16318Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16319
16320 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
16321 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
16322 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
16323 of actual file length.
16324
16325 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
16326 * libc/include/paths.h: _PATH_BSHELL added.
16327 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
16328 and STDERR_FILENO.
16329
16330Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16331
16332 * libc/include/ar.h: Added.
16333 * libc/include/sys/types.h: ino_t goes back to 32-bits.
16334 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
16335 * libc/sys/win32/syscalls.c (_open): compute .namehash based
16336 on filename.
16337 (_fstat): use .namehash for inode number of the fd.
16338
16339Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
16340
16341 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
16342 Change hinfo to __this_procinfo.
16343 * libc/sys/win32/crt0.c: Remove procinfo_list.
16344
16345Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16346
16347 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
16348 win32 environment.
16349
16350Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16351
16352 * libc/sys/win32/include/grp.h: Removed.
16353 * libc/sys/include/grp.h: Added.
16354 * libc/sys/win32/grp.c: Include <grp.h>.
16355
16356Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
16357
16358 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
16359 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
16360 Defined for all but strict ANSI.
16361 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
16362 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
16363 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 16364 _MAX_SIGNALS to NSIG.
8a0efa53
CF
16365 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
16366 __hmap): Deleted.
16367 (__strace, __vfork_next_pid): New.
16368 (__exe_suffix): Default to 1.
16369 (passover, table): Understand quoted arguments.
16370 (vfork_init_first): New.
16371 (vfork_init): Initialize new process structure.
16372 (mainCRTStartup): Pass environ to main.
16373 * exceptions.c (__sig_mask): New
16374 (ehandler3): Ignore signals in mask.
16375 (really_exit): Remove CHILD_P test.
16376 * pipe.c (pipe, dup, dup2): Use new process and file structure.
16377 * resource.c (getrusage): Ditto.
16378 * signal.c (sigprocmask): New.
16379 * spawn.c (*): Rewritten.
16380 * syscalls.c (*): Use new process and file structure.
16381 (find_unused_handle): New.
16382 * syscalls.h (MAX_HANDLES): Deleted.
16383 (hinfo): Removed child_created_p.
16384 (MAX_CHILDREN): Deleted.
16385 (vfork_jmp_info, procinfo): New.
16386 * wait.c (*): Mostly new.
16387 * sys/strace.h (_STRACE_PARANOID): New.
16388 * sys/param.h: New file.
16389
16390Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16391
ba3ccd63
EB
16392 * libc/include/sys/stat.h: add S_BLKSIZE.
16393 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
16394 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
16395 types under win32.
16396 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 16397
ba3ccd63
EB
16398 * libc/sys/win32/Makefile.in: add grp.c.
16399 * libc/sys/win32/grp.c: include grp.h correctly.
16400 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
16401 of the st structure with real information.
16402 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
16403
16404Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
16405
16406 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
16407 and (maybe) sparc64.
16408 (nlink_t): Provide typedef.
16409
16410Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16411
16412 * libc/sys/win32/grp.c: New file.
16413 * libc/sys/win32/include/grp.h: New file.
16414
16415Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16416
16417 * libc/include/machine/ieeefp.h: Added whitespace to make this
16418 file easier to maintain.
16419 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
16420 depending on the value of __LITTLE_ENDIAN__.
16421 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 16422
8a0efa53
CF
16423Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
16424
16425 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 16426 routines. _raise() and getpid().
8a0efa53
CF
16427
16428Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
16429
16430 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
16431
16432Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16433
16434 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 16435 and VR4300 processor.
8a0efa53
CF
16436 * libc/sys/vr4300: Add directory.
16437 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 16438 monitor run-time support.
8a0efa53
CF
16439
16440Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16441
16442 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16443 * libc/stdlib/stdlib.tex: Don't include atol.def.
16444
16445Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16446
16447 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16448
16449Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16450
16451 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16452
16453Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16454
16455 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16456 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16457 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16458 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16459 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16460
16461Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16462
16463 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16464
16465Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16466
16467 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16468 * libc/stdlib/atoff.c: New file.
16469 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16470 * libc/stdlib/atoi.c (atol): Removed.
16471 * libc/stdlib/atol.c: Removed duplicate documentation.
16472
16473 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16474 #ifndef _STRICT_ANSI conditional.
16475 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16476 * libc/ctype/_tolower.c: New file.
16477 * libc/ctype/_toupper.c: New file.
16478 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16479 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16480 * libc/ctype/toascii.c (_toascii): Removed.
16481
16482Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16483
16484 * libc/sys/sparc64/sys/types.h: Deleted.
16485
16486Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16487
16488 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16489 and recognize Windows_95 systems.
16490
16491Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16492
16493 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16494 and passed fds should be opened in text mode.
16495
16496Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16497
16498 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16499 in __hmap, set to binary mode by default.
16500
16501Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16502
16503 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16504 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16505 vector 34.
16506
16507Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16508
16509 * Makefile.in (install): Install all libraries found in the
16510 top level. If there's a sys/<type>/include directory,
16511 install those headers into include.
16512
16513 * libc/sys/win32/kernel.def351: Delete
16514 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16515 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16516 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16517 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16518 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16519 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16520 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16521 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16522
16523 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16524 * libc/sys/win32/crt0.c: Force all env names to upper case.
16525 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16526 * libc/sys/win32/*.c: Headers have moved.
16527 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16528 __vfork_child_idx is now __vfork_child_ptr.
16529
16530 * posix/execvp (execvp): Don't crash if no PATH envname.
16531
16532Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16533
16534 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16535 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16536 through the _freelist instead of through the _reclaim list.
16537 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16538 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16539 sources.
16540
16541Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16542
16543 * libc/machine/h8500/setjmp.S: New file.
16544 * libc/include/machine/setjmp.h: Updated for H8/500.
16545
16546Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16547
16548 * libc/sys/win32/syscalls.c (_open): More stracing.
16549 (_stat): Open the file in O_BINARY.
16550
16551Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16552
16553 * libc/machine/h8300/setjmp.S: New file.
16554 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16555
16556Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16557
16558 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16559 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16560 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16561 __exe_suffix. Free fd_tab after setting env variable.
16562 (spawnv,_execve): Update.
16563 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16564 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16565 (__small_vfprintf): New function.
16566 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16567 * libc/sys/win32/wait.c (cwait): Validate argument.
16568
16569 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16570 (process_deletion_queue): Likewise.
16571
16572 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16573
16574Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16575
16576 * libc/sys/win32: Copyrights and gratuitous indenting.
16577
16578Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16579
16580 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16581 (process_deletion_queue): Likewise.
16582 (__close_all_files): New function.
16583 (_close): Only queue file deletion if really a file.
16584 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16585 _P_APPEND_EXE.
16586 (_exit): Call __close_all_files.
16587
16588 * libc/stdlib/system.c: #include <errno.h>.
16589 (_system_r): Fix results in -DNO_EXEC case.
16590
16591 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16592 Reorganize structure.
16593 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16594 if argument is valid. Save directory name in DIR. malloc space
16595 for dirent struct separately.
16596 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16597
16598 * libc/include/errno.h (ENAMETOOLONG): Define.
16599 * libc/string/strerror.c (strerror): Reword ENFILE.
16600 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16601
16602Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16603
16604 * libc/sys/win32/crt0.c (__progname): New global.
16605 (mainCRTStartup): Support strace=bitmask,filename.
16606 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16607 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16608 if error.
16609 (getcwd): Handle len too small. Convert '\\' to '/'.
16610 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16611 Add prototypes for open, creat, fcntl.
16612 (O_APPEND): Change value to conform to Microsoft's value.
16613 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16614
16615 * libc/stdlib/getopt.c: New file.
16616 * libc/stdlib/Makefile.in: Build it.
16617
16618Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16619
16620 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16621 Fix scanning of $PATH.
16622 * libc/posix/exec*.c: Call _execve, not execve.
16623 * libc/posix/execve.c: New file.
16624 * libc/posix/Makefile.in (OFILES): Add execve.o.
16625
16626 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16627 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16628 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16629 * libc/sys/win32/crt0.c: Update _STRACE calls.
16630 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16631
16632 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16633
16634 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16635 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16636 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16637 Print __seterrno trace message first.
16638 (_execve): Renamed from execve.
16639 (vfork): Update __strace usage.
16640 (__vfork_child_pid): Deleted.
16641 (__vfork_children, __vfork_child_idx): New globals.
16642 (_spawnvp): New function.
16643 (spawnvp, spawnv, _execve): Call _spawnvp.
16644 (init_child): Record child in __vfork_children.
16645 (__vfork_get_entry, __vfork_record_death): New functions.
16646 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16647 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16648 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16649 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16650 (children): New typedef.
16651 (__vfork_children,__vfork_child_idx): Declare.
16652 (__vfork_get_entry,__vfork_record_death): Declare.
16653 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16654 (waitpid): Handle pid == -1.
16655 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16656 * configure.in (i386-win32): Add -DNO_FORK.
16657 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16658 * libc/reent/execr.c (_fork_r): Likewise.
16659 * libc/stdlib/system.c (do_system): New function.
16660 If WIN32, try to get shell path from $SH_PATH, use vfork.
16661 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16662 otherwise return 0.
16663
16664Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16665
16666 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16667 * libc/sys/win32/fcntl.h: Don't include self.
16668 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16669 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16670 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16671 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16672 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16673 Correct prototypes.
16674 * libc/sys/win32/strace.c: New file.
16675 * libc/sys/win32/smallprint.c: New file.
16676 * libc/sys/win32/crt0.c (func): Delete.
16677 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16678 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16679 * libc/sys/win32/exceptions.c: Lint.
16680 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16681 Clean up handle usage.
16682 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16683 (open.c): Default file type is text.
16684 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16685 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16686
16687Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16688
16689 * configure.in (posix_dir, libc_posix_lib): New variables.
16690 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16691 (i[345]86-*-win32): Define posix_dir.
16692 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16693 (if unix_dir): Fix typo.
16694 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16695 scandir,seekdir,telldir}: New files.
16696 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16697 from libc/unix.
16698 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16699 (SUBDIRS): Add posix.
16700 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16701
16702 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16703 (NSIG): Increase to 21.
16704 * libc/include/sys/unistd.h (pid_t): Move from here,
16705 * libc/include/sys/types.h (pid_t): to here.
16706
16707 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16708 (__ptrace): Delete.
16709 (hinfo): New members close_exec_p, child_created_p.
16710 (struct exception_list): Define.
16711 (__hmap): Redefine as pointer to table.
16712 (__parent_hmap, __child_hmap): New globals.
16713 (__set_errno, __really_exit): Declare.
16714 (__vfork_child_pid): Declare.
16715 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16716 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16717 (__parent_hmap, __child_hmap): New globals.
16718 (__hmap): Redefine as pointer to active map.
16719 (__get_console): New function.
16720 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16721 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16722 mapping table from it if defined.
16723 (argv, envp): Dump if __strace >= 4.
16724 (main): Call here.
16725 * libc/sys/win32/exceptions.c (myp): Redefine.
16726 (__syscalls_b): Delete.
16727 (__stack_trace): New function.
16728 (ehandler3): Update to use _STRACE. Print stack trace.
16729 Call __really_exit instead of exit.
16730 (init_exceptions): Delete args argc,argv. New arg mine.
16731 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16732 FindFirstFileA, FindNextFileA, GetComputerNameA,
16733 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16734 * libc/sys/win32/signal.c (signal): Validate arg.
16735 (alarm, sleep): Define as stubs for now.
16736 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16737 (__syscalls_b, errno): Delete.
16738 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16739 (__seterrno): Handle more errors.
16740 (__sys_printf): Renamed from _ptrace.
16741 (__really_exit): New function.
16742 (queue_file_deletion, process_deletion_queue): New functions.
16743 (__resume_parent): New function.
16744 (_unlink): Handle trying to delete open file.
16745 (__totime_t): Renamed from totime_t.
16746 (setsid, __read, __write): New functions.
16747 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16748 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16749 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16750 * libc/sys/win32/console.c: Update to new definition of __hmap.
16751 * libc/sys/win32/Makefile.in: Build new files.
16752 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16753 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16754 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16755 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16756
16757Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16758
16759 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16760
16761Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16762
16763 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16764 have been made to the master dtoa.c sources (from netlib.att.com)
16765 since they were integrated into newlib in early 1992. Fixes
16766 problems with storage leaks and handling of numbers with very
16767 negative exponents.
17c0c97d 16768
8a0efa53
CF
16769Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16770
16771 * Makefile.in (all): set rootpre and srcrootpre before calling
16772 sub-makes.
16773
16774Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16775
16776 * libc/sys/win32/crt0.c: Change __hmap usage.
16777 * libc/sys/win32/exceptions.c: Use _ptrace call.
16778 * libc/sys/win32/syscalls.c: Use _ptrace call.
16779 (read, write): Cope with DOS style CRLF when in TEXT mode.
16780 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16781 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16782 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16783 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16784 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16785
16786Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16787
16788 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16789
16790 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16791 wrappers for hypot() and remainder() for BSD libm compatibility.
16792 These are public domain implementations written by me for the
16793 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16794 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16795 (fobj): Added wf_cabs.o and wf_drem.o.
16796
16797Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16798
16799 * libc/sys/h8500hms/misc.c: New file.
16800 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16801
16802Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16803
16804 * libc/time/localtime.c (localtime): Fix problem with leap year
16805 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16806
8a0efa53
CF
16807Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16808
16809 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16810
16811 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16812 (_exit): Use argument.
16813
16814Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16815
16816 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16817
16818Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16819
16820 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16821
16822Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16823
16824 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16825 target_cflags.
16826
16827Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16828
16829 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16830 ptrace with case insensitivity
16831 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16832 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16833 New files.
16834
16835Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16836
16837 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16838 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16839 (all, install, *clean): Use new multilib support.
16840 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16841
16842Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16843
16844 * libc/include/sys/signal.h (__WIN32__): New.
16845
16846 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16847
16848 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16849 (ulp, b2d): Handle 32 bit doubles.
16850 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16851 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16852
16853Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16854
16855 from medp@primag.co.uk:
16856 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16857 dynamically allocated buffers.
16858
16859Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16860
16861 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16862 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16863
16864Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16865
16866 * configure.in (powerpc): Fix previous fix.
16867
16868Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16869
16870 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16871 directories for this target.
16872
16873Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16874
16875 * configure.in (hppa): Add machine_dir definition.
16876 * libc/machine/hppa: New directory with PA specific implementations
16877 of the basic memory/string functions.
16878
16879Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16880
16881 * configure.in: Update current PowerPC multilib directories.
16882 Split big and little endian configurations.
16883
16884Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16885
16886 * configure.in: Add --enable-single-float option to configure to
16887 control use of MIPS single-float directories. Default to yes.
16888
16889 * Makefile.in (all): Don't recurse into multilib directory if it
16890 does not exist.
16891
16892Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16893
16894 * libc/sys/sh/syscalls.c: Fix typo.
16895
16896Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16897
16898 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16899 Pass down DLLTOOL.
16900 * libc/include/process.h: Define WAIT_CHILD.
16901 * libc/include/types.h: Get sizes right for win32.
16902 * configure.in (i386-*-pe): Becomes i386-win32.
16903 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16904 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16905 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16906 is defined.
16907
16908Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16909
16910 * configure.in (i[345]86-*-pe): New target (NT).
16911 * host/any: DLLTOOL new.
16912 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16913 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16914 WIN32 (just enough to cross host the comp-tools).
16915
16916Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16917
16918 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16919 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16920
16921Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16922
16923 * libc/include/machine/ieeefp.h (arm): Change to always be
16924 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16925
16926Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16927
16928 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16929 * libc/sys/syscalls.c (abort): New.
16930 * configure.in (arm): Define ABORT_PROVIDED.
16931
16932Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16933
16934 * configure.in (powerpc): Define multidirs.
16935
16936Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16937
16938 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16939
16940Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16941
16942 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16943
16944Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16945
16946 * configure.in, libc/include/machine/ieeefp.h: Modified
16947 for arm:
16948 libc/machine/arm/*, libc/sys/arm/*: New
16949
16950Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16951
16952 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16953 __powerpc__ when determining endianness.
16954
16955Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16956
16957 * configure.in (m68*): Add multidir for the m68332.
16958
16959 * host/any (CC): Fix typo in last change.
16960
16961Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16962
16963 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16964 when determining endianness.
16965 * libc/include/machine/ieeefp.h: Ditto.
16966 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16967 operands.
16968
16969Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16970
16971 * libc/include/errno.h (ENOTEMPTY): Define.
16972
16973Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16974
16975 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16976 target_cflags.
16977
16978 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16979 and umultiply.o.
16980
16981 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16982 instead of only when open succeeds. ANSI requires that multiple
16983 calls to tmpnam() result in different files.
16984
16985 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16986 objects pulled in from /lib/libc.a that must be renamed before
16987 being pulled into newlib. /lib/libc.a's div.o conflicted with
16988 newlib's file with the same name.
16989
16990 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16991
16992 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16993 the build tree will only be used if the executables are present
16994 (instead of just the Makefiles).
16995
16996 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16997 wcstombs): Define.
16998 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16999 versions of these functions that I orignally wrote for the
17000 NetBSD C library.
17001 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
17002 versions I wrote for NetBSD.
17003
17004Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
17005
17006 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
17007 * libc/sys/sparclite/crt0.s: ditto.
17008
17009Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
17010
17011 * configure.in: Add soft-float for proelf.
17012
17013Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
17014
17015 * libc/stdlib/mprec.h (Bcopy): Copy the right number
17016 of bytes.
17017
17018Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
17019
17020 * Makefile.in (all): Depend on `force'.
17021 * configure.in (syscall_dir): Renamed from fake_sys_dir.
17022 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
17023 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
17024 * libc/Makefile.in: Likewise.
17025 * libc/include/reent.h: Update syscall references.
17026 (_fcntl_r): Add prototype.
17027 * libc/syscalls/*.c #include <reent.h>.
17028 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
17029
17030Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
17031
17032 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
17033 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
17034 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
17035 (time.h, sys/types.h): Always include (even if MSDOS).
17036 (stat): Fix prototype.
17037
17038Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
17039
17040 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
17041
17042Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
17043
17044 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
17045
17046Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
17047
17048 * libc/include/regdef.h: New file.
17049 * libc/machine/mips/machine/regdef.h: New file.
17050
17051Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
17052
17053 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
17054
17055Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
17056
17057 * libc/sys/sh/crt0.S: Pass main's return to exit.
17058 * libc/sys/sh/trap.S: Put errno in the right place.
17059
17060Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17061
17062 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
17063 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
17064 * libm/math/ef_rem_pio2.c: Likewise.
17065 * libm/math/e_log10.c: Remove unused static one.
17066 * libm/math/ef_log10.c: Likewise.
17067 * libm/math/s_frexp.c: Likewise.
17068 * libm/math/sf_frexp.c: Likewise.
17069
17070Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
17071
17072 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
17073 longjmp.S: Upgraded.
17074 * libc/sys/go32/sys/setjmp.h: Upgraded.
17075 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
17076
17077Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17078
17079 * configure.in: Add many entries to multidirs for mips targets.
17080
17081Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17082
17083 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
17084 5.2 which fixes bug where jn(-1,x) is three times larger than
17085 the actual answer.
17086 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
17087
17088Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
17089
17090 * libc/sys/w65/sys/syscalls.h: New file
17091 * libc/include/machine/ieeefp.h: W65 support.
17092 * libc/include/sys/config.h: Ditto.
17093 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
17094 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
17095 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
17096
17097Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17098
17099 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
17100
17101Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
17102
17103 * Makefile.in, configure.in: Remove any references to the old
17104 "stub" dir.
17105
17106Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17107
17108 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
17109 uses ... in prototype.
17110
17111
17112Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
17113
17114 * libc/sys/a29khif/sys/libconfig.h: Remove.
17115 * libc/sys/go32/sys/libconfig.h: Remove.
17116 * libc/sys/sun4/sys/libconfig.h: Remove.
17117 * libc/sys/sysvi386/sys/libconfig.h: Remove.
17118 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
17119 * libc/sys/sparc64/sys/libconfig.h: Remove.
17120
17121 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
17122 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
17123 * libc/include/math.h: Change all uses of _FLOAT_RET and
17124 _FLOAT_ARG to float.
17125 * libm/test/math.c: Likewise.
17126 * testsuite/libm.sac/math.c: Likewise.
17127 * testsuite/libm.sac/working/math.c: Likewise.
17128
17129Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
17130
17131 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
17132 gcc calls gas with endian option.
17133 * configure.in (sh): Build little endian version too.
17134
17135Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17136
17137 * configure.in: Configure big and little endian versions for MIPS
17138 targets.
17139
17140Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
17141
17142 * libc/include/limits.h: Deleted.
17143 * libc/include/machine/limits.h: Deleted.
17144
17145Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
17146
17147 * ChangeLog: Remove stub directory. This has all been rewritten
17148 and moved to devo/libgloss.
17149
17150Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17151
17152 * Makefile.in (dvi): Add to info target, use $@ in sub make.
17153 (docs): Merge into info target.
17154 * libm/Makefile.in (dvi): Add $(srcdir).
17155 * libm/math/Makefile.in (chobjs): Remove underscores from file
17156 names. Texinfo doesn't like them.
17157 (wacos.def, ...): Add explicit targets for all .def files.
17158 * libm/math/math.tex: Remove underscores from @include file names.
17159 * doc/Makefile.in (dvi): Add dummy target.
17160 * testsuite/Makefile.in (dvi): Add dummy target.
17161
17162Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
17163
17164 * Makefile.in (VERSION): Define. For net newlib releases.
17165
17166Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
17167
17168 * README: New file.
17169
17170Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
17171
17172 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
17173
17174Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17175
17176 * libc/stdlib/setenv.c (_findenv): Declare.
17177
17178 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
17179 fcntl to not use _EXFUN, and change string parameters to open and
17180 creat to be ``const char *''.
17181 * libc/sys/sparc64/sys/fcntl.h: Likewise.
17182 * libc/sys/sparc64/creat.c (creat): Make PATH const.
17183 * libc/syscalls/sysopen.c: Include <fcntl.h>.
17184 (open) Make _FILE const.
17185 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
17186 (_creat): Make PATH const.
17187 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
17188 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
17189 * libc/sys/m88kbug/syscalls.c (open): Likewise.
17190 * libc/sys/sh/syscalls.c (_open): Likewise.
17191 * stub/shared/glue.c (open): Make BUF const.
17192 * stub/ex93x/syscalls.c (open): Make FILENAME const.
17193
17194Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
17195
17196 * libc/include/errno.h: Add ENMFILE
17197 * libc/include/sys/config.h: Support Z8000.
17198 * libc/include/sys/signal.h: New signals for go32.
17199 * libc/machine/h8500/psi.S (__addpsir0r0): New function
17200 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
17201 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
17202 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
17203 size is variable, depending upon CHUNK_POWER.
17204 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
17205
17206Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
17207
17208 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
17209
17210Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17211
17212 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
17213
17214Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17215
17216 * configure.in: Change i[34]86 to i[345]86.
17217
17218 * libc/include/math.h: Don't define HUGE_VAL if it is already
17219 defined.
17220
17221Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17222
17223 * testsuite/libm.sac/test_erfc.c: Correct some result values.
17224 * testsuite/libm.sac/test_gammaf.c: Likewise.
17225 * testsuite/libm.sac/test_sin.c: Likewise.
17226 * testsuite/libm.sac/test_tanh.c: Likewise.
17227
17228Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17229
17230 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
17231 already set. Define typedefs __int32_t and __uint32_t.
17232 * libc/include/math.h: Include <machine/ieeefp.h>.
17233 (union __dmath): Use __uint32_t.
17234 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
17235 instead of int and unsigned int.
17236
17237Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17238
17239 Replace the math library with the SunPRO fdlibm package.
17240 * libm/math: Completely changed all files.
17241 * libm/ieeefp: Remove contents and directory.
17242 * libm/Makefile.in (LIBM_FP_LIB): Remove.
17243 (SUBDIRS): Just set to math/lib.a.
17244 * libm/libm.texinfo: Updated for new library.
17245 * libc/include/math.h: Extensive changes for new math library.
17246 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
17247 from _FLOAT_ARG to float.
17248 (maxpowtwo, maxpowtwof): Don't declare.
17249 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
17250 (libm_fp_lib): Removed.
17251 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
17252 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
17253 argument to ${RUNTEST}.
17254 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
17255 (.c.o): New rule.
17256 (RUNTESTFLAGS): Set CC and CFLAGS.
17257 (TESTS): Remove test_log2 and test_log2f.
17258 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
17259 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
17260 _FLOAT_ARG, for single precision argument type.
17261 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
17262 expected failure. Close the input pipe.
17263 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
17264 Correct misspelling of inaccurate.
17265 (test_mok): Use ``inaccurate'', not ``wrong''.
17266 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
17267 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
17268 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
17269 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
17270 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
17271 test_yn.c): Correct many result values. Many are still wrong.
17272
17273 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
17274 just copy the string.
17275 (_gcvt): Always return the buffer.
17276
17277Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17278
17279 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
17280
17281Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
17282
17283 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
17284 structure.
17285 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
17286 (_reclaim_reent): declare new entry point.
17287 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
17288 functions.
17289
17290 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
17291 ever allocated, so that we can later reclaim them all.
17292 (pow5mult): make reentrant.
17293
17294 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
17295 so that when given NULL as a buffer, return a pointer to static
17296 space in the rent structure. This is not documented behaviour;
17297 it's only to support ecvt and fcvt, which aren't ANSI anyway.
17298 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
17299 therefore become reentrant).
17c0c97d 17300
8a0efa53
CF
17301 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
17302
17303Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17304
17305 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
17306
17307Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17308
17309 * Makefile.in: Make link to libg.a after libc.a; this is needed
17310 for the testsuites to build executables when everything comes
17311 from the tree.
17312
17313Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
17314
17315 * libc/Makefile.in: Add a VERSION variable so we can keep track.
17316 * libm/Makefile.in: Add a VERSION variable so we can keep track.
17317
17318Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17319
17320 * libc/include/stdio.h: Use __VALIST, not va_list.
17321
17322Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
17323
17324 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
17325 testsuite/libm.sac/execute.exp:
17326 Replace error proc calls with perror calls.
17327
17328Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
17329
17330 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
17331 * libc/include/time.h: #define NULL as 0L.
17332
17333Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
17334
17335 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
17336 care of it.
17337
17338Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17339
17340 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
17341 not __unix__.
17342
17343Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
17344
17345 * configure.in (TARGET_CFLAGS): Set -O2 as default.
17346 (z8k-*-*): Use syscalls fake sys dir.
17347 * libc/sys/z8k/glue.c: Rename syscalls.
17348 * libc/sys/go32/Makefile.in: Use new routines.
17349 * libc/machine/Makefile.in: Fix typo in ln stuff.
17350
17351Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17352
17353 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
17354 * libc/Makefile.in (crt0.o): Likewise.
17355 * libc/machine/Makefile.in (lib.a): Likewise.
17356 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
17357
17358 All Makefile.in files: Added mostlyclean, realclean and distclean
17359 targets.
17360
17361 * Makefile.in: Don't bother to unexport XTRAFLAGS or
17362 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
17363 the top level Makefile.
17364
17365Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
17366
17367 * libc/sys/sparc64/sys/stat.h: New file.
17368 * libc/sys/sparc64/sys/time.h: New file.
17369 * libc/sys/sparc64/sys/types.h: New file.
17370
17371Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
17372
17373 * stub/ex93x/crt0.s (start): Add code to clear bss.
17374
17375Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
17376
17377 * libc/include/sys/types.h (time_t): Properly protect inside
17378 #ifndef __time_t_defined.
17379
17380 * libc/stdio/fileno.c: New file.
17381 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
17382 (fileno.o): Add dependency.
17383 * libc/include/stdio.h (__sgetc): Rename never to _never.
17384 (fileno macro): Disable, needs to do CHECK_INIT first.
17385
17386Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
17387
17388 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 17389 goal.
8a0efa53
CF
17390
17391 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
17392 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
17393 runtest.
17394 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
17395 runtest.
17396
17397Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
17398
17399 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
17400 of the various constants.
17401
17402Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
17403
17404 * libc/include/math.h: #ifndef __math_68881 around things which
17405 conflict with the (gcc-provided) inline functions in
17406 gcc/ginclude/math-68881.h.
17407
17408Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
17409
17410 * libc/include/_syslist.h (_gettimeofday): Define.
17411 (_times): Ditto.
17412 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
17413 (struct tms, timeval, timezone): Declare.
17414 (_gettimeofday_r, _times_r): Declare.
17415 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
17416 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17417 (time_t): Add multiple definition protection, __time_t_defined.
17418 * libc/include/sys/time.h: Don't #include <time.h>.
17419 Always define struct timezone (remove #ifndef _TIME_H_).
17420 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
17421 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17422 * libc/reent/Makefile.in (OFILES): Add timer.o.
17423 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
17424 * libc/reent/timer.c: New file.
17425 * libc/time/clock.c: #include <reent.h>.
17426 (clock): Call _times_r instead of times.
17427 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
17428 HAVE_GET_TIME_OF_DAY.
17429 Add comment regarding supporting OS routine(s) required (for docs).
17430 #include <reent.h>.
17431 (time): Call _gettimeofday_r instead of gettimeofday.
17432 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17433 * libc/time/ctime.c: Ditto.
17434 * libc/time/strftime.c: Ditto.
17435 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17436 (TEMPLATE_SFILES_R): Define here. Also define times.
17437 Add times_r.o/times.S dependence.
17438 (time2.c, junk.c): Deleted.
17439 * libc/sys/sparc64/time2.c: Deleted.
17440 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17441
17442 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17443 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17444 * libc/sys/sparc64/junk.c: Deleted.
17445
17446Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17447
17448 * libc/sys/sparc64/Makefile.in: Add times syscall.
17449 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17450 be used with and without it. Add comment clarifying Medium/Anywhere
17451 model requirements.
17452 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17453 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17454 even if obsolete.
17455
17456Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17457
17458 * configure.in (target_cflags): Move init.
17459 (sparc64-*-*): Define HAVE_BLKSIZE.
17460
17461Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17462
17463 * libc/include/sys/_types.h: New file.
17464 * libc/include/reent.h: #include it.
17465 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17466 MISSING_SYSCALL_NAMES.
17467 Sort syscalls.
17468 * libc/include/_syslist.h: Remove _raise.
17469 * libc/reent/signalr.c: New file.
17470 * libc/reent/Makefile.in: Compile it.
17471 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17472 Add doc for raise and _raise_r.
17473 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17474 (raise): Call _raise_r.
17475 (_raise_r): Call _getpid_r and _kill_r.
17476 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17477 (abort): Loop forever calling raise and _exit.
17478
17479Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17480
17481 * configure.in: Remove extraneous echo.
17482
17483Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17484
17485 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17486 collision with unistd.h, and fix for svr4.
17487
17488Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17489
17490 * libc/stdio/local.h (_llicvt): Declare.
17491 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17492 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17493 (_llicvt): Define.
17494 (_sicvt): Fix function header (`value' is short).
17495 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17496 Add printing of long long's support.
17497 Add printing of 8 byte pointer support.
17498
17499Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17500
17501 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17502 stat, chmod): New hooks.
8a0efa53
CF
17503 (sbrk): Abort if stack and heap collide.
17504 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17505 shortcut when given small args.
17506 * libc/machine/sh/setjmp.s: Rewritten.
17507 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17508 of cmp/str instruction.
17509
17510Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17511
17512 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17513 and machine_dir powerpc.
17514 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17515 Add cases for __powerpc__.
17516 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17517 New files.
17518
17519 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17520
17521Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17522
17523 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17524 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17525
17526Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17527
17528 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17529 (print_e): More comments to describe args, etc.
17530 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17531 trailing blanks.
17532 (_gcvt): Remove locals decpt, sign, end, p, done.
17533 More comments for print_e invocation.
17534 Pass "type" to print_e as is (g/G).
17535
17536Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17537
17538 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17539 stock m68000.
8a0efa53
CF
17540
17541Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17542
17543 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17544 works with any sized pointer, including ones bigger than ints and
17545 longs.
17546
17547Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17548
17549 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17550
17551Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17552
17553 * libc/include/stdlib.h (_calloc_r): Add prototype.
17554 * libc/machine/h8500/negsi2.c: New file.
17555 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17556 large unsigned numbers.
17557 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17558 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17559 works when sizeof(size_t) != sizeof(char *).
17560 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17561 get play area
17562 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17563
17564Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17565
17566 * libc/include/assert.h (assert): Handle -traditional.
17567
17568Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17569
17570 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17571 the end of a line (ie. anything before a backslash continuation)
17572 so that bash handles them.
17573
17574Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17575
17576 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17577 stat to lstat
8a0efa53
CF
17578
17579Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17580
17581 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17582 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17583 libc/machine/sh/udivsi3.s: Use new calling convention.
17584
17585Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17586
17587 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17588 chmod, access, chdir, chown by making _path const. Also fix _amode
17589 param of access.
17590
17591Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17592
17593 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17594 _khif_tmpnam, because it doesn't comply with ANSI but may be
17595 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17596 colliding with this one (pr 2176.)
8a0efa53
CF
17597 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17598 the wrong idea anyhow.
17599
17600Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17601
17602 * configure.in: Remove h8300h, we have multilib now.
17603
17604Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17605
17606 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17607 functions, to get preference over the ones in libiberty (since we
17608 provide correct declarations in <string.h>.
17609 * libc/string/Makefile.in: add support for strncasecmp,
17610 strcasecmp.
17611
17612Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17613
17614 * Change netware config not to look for cpu explicitly.
17615
17616Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17617
17618 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17619 * libc/sys/sparc64/Makefile.in: Add dependencies.
17620
17621Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17622
17623 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17624
17625Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17626
17627 * libc/include/sys/reent.h: make structure smaller by allocating
17628 some stuff when needed.
17629 * libc/signal/signal.c: allocate as needed
17630 * libc/stdio/findfp.c,stdio/local.h: ditto
17631 * libc/stdlib/mprec.c: ditto
17632
17633 * libc/time/localtime.c: don't return a dangling stack ptr.
17634
17635Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17636
17637 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17638
17639Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17640
17641 * libc/include/stdio.h (__sputc): comment out static inline which
17642 confuses coff toolchains.
17643
17644Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17645
17646 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17647 _write.s, getpid.c, kill.c, read.s}:
17648 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17649 through the syscalls directory.
17650
17651Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17652
17653 * configure.in: fixed double quote gotcha.
17654
17655Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17656
17657 * stub/ex931: stub library for sparclite board.
17658 * stub/idp: Renamed from mc68ec. Added contructor table
17659 stuff to linker script.
17660 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17661 stuff to linker script.
17662
17663Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17664
17665 * configure.in: Configure testsuites only if they exist.
17666
17667Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17668
17669 * configure.in: Don't set machine_dir for i386 until there is
17670 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17671 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17672 CLOCK_PROVIDED and MALLOC_PROVIDED.
17673
17674 * libc/sys/netware: New directory. Contains simplistic and
17675 probably incorrect stubs for NetWare. Should be enough to load
17676 the library.
17677 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17678 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17679 stub files.
17680
17681 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17682 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17683 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17684 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17685
17686Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17687
17688 * testsuite/Makefile.in: add "docs" dummy target for consistency
17689 with rest of newlib; turn "info" and "install-info" into dummy
17690 targets, since they wouldn't have worked. (Depended on
17691 nonexistent "doc" subdir.)
17692
17693Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17694
17695 * configure.in: handle mips* instead of mips
17696
17697Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17698
17699 * libc/include/sys/dirent.h: New file. If it is not overridden by
17700 a version of libc/sys/*/sys/dirent.h, it includes the next
17701 <dirent.h> file in case there is one lurking somewhere.
17702
17703Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17704
17705 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17706 compliance, namely: Accept a minus sign. Consider a single 0 with
17707 a radix of 0 as being a conversion. Determine overflow correctly.
17708 If an overflow occurs, set *ptr to the end of the number, not the
17709 middle.
17710 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17711
17712Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17713
17714 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17715
17716Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17717
17718 * Makefile.in (INSTALL): Use $srcrootpre.
17719 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17720 can't handle it.
17721 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17722 it.
17723 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17724 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17725 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17726 * libm/math/Makefile.in (matherr.o): Ditto.
17727
17728Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17729
17730 * configure.in: Build multidirs for z8k.
17731 * libc/include/stdlib.h (_strtoul_r): add prototype.
17732 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17733 * libc/include/machine/setjmp.h: Add for z8k.
17734 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17735 * libc/sys/z8ksim/glue.c: tidy up.
17736
17737Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17738
17739 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17740 New files. Requires execve system call.
17741 * libc/unix/Makefile.in: Use them.
17742 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17743 Deleted, moved to libc/unix.
17744 * libc/sys/sparc64/Makefile.in: Remove them.
17745
17746Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17747
17748 * libc/sys/sparc64/{template.S template_r.S}: New files.
17749 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17750 from templates.
17751 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17752 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17753 umask.S unlink.S wait4.S write.S}: Removed, now built from
17754 templates.
17755
17756Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17757
17758 * libc/time/time.c: #include <_ansi.h>.
17759
17760Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17761
17762 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17763
17764Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17765
17766 * configure.in: match m8* rather than m88k so that m88110 is
17767 recognized as well.
17768
17769Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17770
17771 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17772 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17773 misc.c: New file.
17774
17775 * configure.in: Add multilib support to h8300.
17776
17777Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17778
17779 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17780 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17781 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17782
17783Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17784
17785 * configure.in: Corrected multidirs for sparc target.
17786
17787Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17788
17789 Support for building newlib multiple times with different
17790 compilation flags.
17791 * configure.in: Only configure doc at top level. Set multidirs
17792 when appropriate for target, unless not at top level. If
17793 multidirs is set, independently configure each subdirectory.
17794 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17795 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17796 automagically set by configure.in.
17797 (all): If MULTIDIRS is set, build multiple copies of libraries.
17798 (install): If MULTIDIRS is set, install multiple copies of
17799 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17800 MULTISUBDIR is set, don't bother to install header files.
17801 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17802 ${srcrootpre}.
17803 * stub/configure.in: Set MULTISUBDIR appropriately.
17804 * stub/Makefile.in (install): Install in
17805 $(tooldir)/lib/$(MULTISUBDIR).
17806 * All Makefile.in files: Define SRCTOP as well as TOP.
17807
17808Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17809
17810 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17811 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17812
17813Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17814
17815 * libc/sys/h8300hms/exit.c (_exit): New function.
17816
17817Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17818
17819 * configure.in: recognize m88110.
17820
17821Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17822
17823 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17824 prototype main and call with args.
17825
17826Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17827
17828 First real try at system traps for m88k-bug.
17829 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17830 to real trap calls.
17831 * libc/sys/m88kbug/sys/systraps.h: new file.
17832
17833Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17834
17835 Patches to fix info building when target does not use sys
17836 directory.
17837 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17838 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17839 libc/sys.tex.
17840 * libc/sys/Makefile.in (doc): do nothing.
17841
17842Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17843
17844 * libc/Makefile.in (CRT0): new macro.
17845 (all): depend on $(CRT0) rather than crt0.o.
17846
17847 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17848 do not default crt0, instead, set crt0 and crt0_dir based on
17849 sys_dir and stub_dir.
17850
17851 * Makefile.in (CRT0_DIR): new macro.
17852 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17853 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17854 $(CRT0).
17855 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17856
17857Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17858
17c0c97d
EB
17859 * testsuite/lib/libm.exp:
17860 added code to support compiling and linking of tests for
17861 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17862 pass or failure of the tests.
17863
17864 * testsuite/config/unix-libm.exp:
17865 platform specific proc's for dealing with compiler, linker
17866 and the way we execute and process the test results.
17867
17868 * testsuite/libm.sac/execute.exp:
17c0c97d 17869 generic framework for the sac tests. the config and lib
8a0efa53
CF
17870 expect code for specific platforms tie it all together.
17871
17872 * testsuite/libm.sac/test_is.c:
17873 changed the output of the test to be consistant with the
17874 other tests. parsing of pass nad fail messages is now fixed.
17875
17876Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17877
17878 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17879 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17880 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17881 #ifdef __cplusplus, surround by extern ""C { ... }.
17882 * libc/include/assert.h: Do *not* protect assert.h against
17883 multiple inclusion! Also, #undef it before #define, to allow
17884 redefinition.
17885 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17886 should be only in unistd.h.
17887
17888 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17889 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17890 ... }.
17891
17892Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17893
17894 * libc/machine/sparc/Makefile.in: Must create a library, even
17895 if empty.
17896
17897Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17898
17899 * configure.in: set machine_dir for m88k. edit crt0 definition
17900 into makefiles.
17901
17902 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17903
17904 * libc/Makefile.in (all): also build crt0.o.
17905
17906 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17907 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17908 to remove CRT0.
17909
17910 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17911 (all): reworked to build in place.
17912 (clean): remove lib.a
17913 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17914
17915 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17916 (_start): key off edata rather than _start_bss.
17917
17918Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17919
17920 * libc/include/sys/unistd.h, libc/include/reent.h,
17921 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17922
17923Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17924
17925 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17926
17927 * Makefile.in (libc.a): break into two rules, one for libc.a and
17928 one for libc/libc.a. Force subdirs current before rebuilding
17929 library.
17930 (libm.a): break into two rules, one for libm.a and one for
17931 libm/libm.a. Force subdirs current before rebuilding library.
17932
17933 * libc/Makefile.in (SUBLIBS): fix typo.
17934
17935 * libc/sys/Makefile.in (all): force descent into subdirs, then
17936 rebuild library iff out of of date.
17937
17938Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17939
17940 Rework so that library is built and then finished rather than
17941 being built on each invocation of make.
17942
17943 * host/any (machine_dir, sys_dir, signal_dir): these are not
17944 shared and have been moved to their associated Makefile.in's.
17945 (AR_FLAGS): switch to qc which is faster.
17946 * configure.in: no longer assign machine_dir for m88k. set
17947 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17948 stub_dir set, then add to configdirs. add comment about silly
17949 configuration.
17950 (configdirs): drop stub. It will be added only
17951 when needed.
17952 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17953 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17954 stub_lib, crt0): new variables for tailoring lower level
17955 makefiles. Assign accordingly and edit into makefiles.
17956 * libm/Makefile.in: updated copyright.
17957 (TARGETLIB): removed.
17958 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17959 (SUBDIRS): removed TARGETDEP_DIRS.
17960 (LIBM_FP_LIB, SUBLIBS): new macros.
17961 (all): reworked.
17962 (force): new target to force rebuilds.
17963 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17964 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17965 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17966 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17967 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17968 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17969 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17970 stub/m68kmvme/Makefile.in: updated copyright.
17971 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17972 (all): reworked. made this the default rule.
17973 (clean): also remove lib.a.
17974 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17975 * stub/Makefile.in: updated copyright.
17976 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17977 (stub_lib): new macro.
17978 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17979 RANLIB.
17980 (all): reworked.
17981 (clean, install): assume stub_dir exists.
17982 (Makefile): depend on configure.in. call $(SHELL) rather than
17983 sh. drop redundant ./
17984 * stub/configure.in (stublib): new macro, assign it, edit it into
17985 makefiles.
17986 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17987 updated copyright.
17988 (all): reworked.
17989 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17990 * libc/Makefile.in (TARGETCRT0): removed.
17991 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17992 TARGETCRT0.
17993 (SUBDIRS): drop TARGETDEP_DIRS.
17994 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17995 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17996 (force): new target to force rebuilds.
17997 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17998 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17999 removed.
18000 (clean): assume sys_dir always exists.
18001 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
18002 drop redundant ./
18003 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
18004 libc/locale/Makefile.in, libc/machine/Makefile.in,
18005 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
18006 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
18007 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
18008 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
18009 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
18010 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
18011 libc/signal/Makefile.in, libc/stdio/Makefile.in,
18012 libc/stdlib/Makefile.in, libc/string/Makefile.in,
18013 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
18014 libc/time/Makefile.in, libc/unix/Makefile.in,
18015 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
18016 (TARGETLIB): removed.
18017 (all): reworked.
18018 (clean): also remove lib.a.
18019 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18020 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
18021 new macros.
18022 (SUBDIRS): moved to follow frag inclusion, change stub to
18023 stub_dir.
18024 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
18025 are now set in the libc Makefile.
18026 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
18027 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
18028 TARGETCRT0.
18029 (force): new target to force rebuilds.
18030 * stub/configure.in: determine and set stub_lib for for Makefile.
18031
18032Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
18033
18034 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
18035 crt0.s renamed to crt0.S.
18036 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
18037
18038 * libc/machine/h8300/Makefile.in: Make `all' the default target.
18039 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
18040 h8300h.
18041 * libc/machine/h8300/defines.h: Add macros to handle pointers for
18042 h8300 (16 bits) and h8300h (32 bits).
18043 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
18044 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
18045
18046Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
18047
18048 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
18049 implementation of setjmp and longjmp for the m88k.
18050 * libc/include/machine/setjmp.h: Added __m88000__ case.
18051
18052Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
18053
18054 * configure.in: Recognize h8300h as variant of h8300.
18055
18056Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18057
18058 * libc/include/sys/unistd.h (read, write): get prototypes right.
18059 (sbrk): New prototype.
18060 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
18061 * libc/stdio/local.h: Include unistd.h.
18062 * libc/machine/h8300/syscalls.c: Names have changed.
18063
18064Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
18065
18066 * configure.in: add sys_dir assignment for m88k-bug.
18067
18068Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
18069
18070 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
18071 a.out or elf.
18072 * libc/sys/sparc64: all *.S files: Use new macros.
18073 * libc/sys/sparc64/isatty.c: New file.
18074 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
18075 functions beyond what newlib provides.
18076
18077Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
18078
18079 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
18080 svr4.
18081
18082Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
18083
18084 * libc/include/machine/ieeefp.h: Add support for h8/300h.
18085
18086Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
18087
18088 * configure.in: add m88k.
18089 * libc/include/machine/ieeefp.h: add case for m88k. Also add
18090 sanity check so no one else need ever chase what I did to find
18091 this.
18092
18093 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
18094
18095Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
18096
18097 * doc/makedoc.c: Include <ctype.h>.
18098
18099Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
18100
18101 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18102 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18103 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18104
18105 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
18106
18107Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
18108
18109 * libc/include/errno.h (ENOSYS): Added.
18110
18111 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
18112
18113Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18114
18115 * libc/stdio/fflush.c (fflush): Check for reent struct
18116 initialization.
18117 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
18118
18119Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
18120
18121 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
18122 out of dtoa.c so it doesn't pollute the namespace.
18123 * libc/include/_syslist.h: new file -- mappings from _function to
18124 function, for systems where we can't win (by default, all of them,
18125 until we start updating system calls.)
18126 * libc/syscalls: new directory -- stubs for exporting _function
18127 names as unmodified function names.
18128 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
18129 _syslist.h on all platforms by default, but put hooks in for
18130 fake_sys_dir so we can include it when we've renamed the system
18131 calls.
18132 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
18133 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
18134 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
18135 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
18136 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
18137 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
18138 non ANSI functions to call _function.
18139
18140Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
18141
18142 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
18143 when base 16 is specified. Don't accept non-digits if radix > 10.
18144
18145Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
18146
18147 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
18148
18149Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18150
18151 * libc/include/sys/stat.h: Surround text after #endif with
18152 comments.
18153
18154Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
18155
18156 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
18157 _malloc_r, _realloc_r, and free_r call the corresponding
18158 non-reentrant functions.
18159
18160 * libm/math/modf.c (modf): We now take the address of ipart, so
18161 don't make it a register variable.
18162
18163Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
18164
18165 * libm/math/*: Rename all xxx_r fns to _xxx_r.
18166
18167Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
18168
18169 * libc/libc.texinfo and embedded docn throughout: formatting
18170 improvements, minor rephrasing for clarity, and improved
18171 reentrancy docn.
18172
18173Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18174
18175 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
18176
18177 * libc/stdio/cvt.c (_licvt): Print the right value on machines
18178 where sizeof(int) != sizeof(long).
18179
18180Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18181
18182 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
18183 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
18184 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
18185 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
18186 libm/math/matherr.c: changes for better docn formatting (info).
18187
18188 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
18189 libc/reent/reent.tex, libc/signal/signal.tex,
18190 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
18191 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
18192 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
18193 makeinfo node defaulting to get better Info file node structure.
18194 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
18195 Also include a few formerly missing sections (subroutines).
18196
18197 * doc/doc.str: delete fossil expansion for "func"
18198
18199 * default.menu, no-signal.menu: delete.
18200
18201 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 18202 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
18203 signal_dir is empty.
18204
18205Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18206
18207 * configure.in: added testsuite/libm.sac
18208
18209Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
18210
18211 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
18212 code model).
18213
18214Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
18215
18216 * libm/Makefile.in: Use $(MAKE) rather than make, and define
18217 MAKEOVERRIDES to be empty.
18218
18219Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
18220
18221 * configure.in: Don't build mips-*-* with -msoft-float, since that
18222 makes it incompatible with hard floating point.
18223
18224Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18225
18226 * Makefile.in: added recursive 'make check'
18227
18228Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18229
18230 * configure.in: added ./testsuite ./testsuite/libm.paranoia
18231 * ./testsuite/Makefile.in: created
18232 * ./testsuite/libm.paranoia: paranoia tests added
18233
18234Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
18235
18236 * configure.in: For mips-*-* set machine_dir to mips.
18237
18238 * libc/machine/mips: New directory.
18239 * libc/machine/mips/Makefile.in: New file.
18240 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
18241 setjmp and longjmp.
18242 * libc/include/machine/setjmp.h: Added __mips__ case.
18243
18244 * libc/machine/lmips: Removed unused and useless directory.
18245
18246Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
18247
18248 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
18249
18250Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
18251
18252 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
18253 start up).
18254
18255Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
18256
18257 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
18258 SETJMP_H.
18259
18260Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
18261
18262 * libm/test/convert.c: structure member errno -> errno_val.
18263 Must include <errno.h> to use errno, it's a macro now.
18264 * libm/test/math.c: Ditto.
18265 * libm/test/math2.c: Include errno.h.
18266 * libm/test/string.c: Ditto.
18267 * libm/test/test.h: structure member errno -> errno_val.
18268 Remove extern int errno decl.
18269
18270Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
18271
18272 * libc/stdio/Makefile.in: Added dependencies on local header
18273 files.
18274 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
18275 files.
18276
18277Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
18278
18279 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
18280
18281Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
18282
18283 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
18284 Initialize _data.
18285
18286 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
18287 * libc/stdio/local.h: Add prototype for _licvt.
18288
18289 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
18290 instead of malloc,reealloc.
18291
18292 * libc/stdlib/local.h: New file.
18293 * libc/stdlib/efgcvt.c: #include local.h.
18294 (gcvt): Fix call to _gcvt.
18295 * libc/stdlib/ecvtbuf.c: #include local.h.
18296
18297 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
18298 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
18299 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
18300
18301 * libc/stdlib/atexit.c: moved global data to struct _reent.
18302 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
18303
18304 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
18305
18306Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
18307
18308 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
18309 here from ../reent.h.
18310
18311Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
18312
18313 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
18314 should be provided in both libc.a and libm.a.
18315 (libc.a): Depend on targ-include and libm.a. Copy
18316 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
18317 (libm.a): Depend on targ-include.
18318 * configure.in (subdirs): Removed libc/math.
18319
18320Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18321
18322 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
18323
18324Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
18325
18326 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
18327 sys/reent.h instead of reent.h.
18328 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 18329 headers moved to sys/reent.h.
8a0efa53
CF
18330 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
18331 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
18332 __need__MAX_SIGNALS defined.
18333 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
18334 std{in,out,err} refer to new _std{in,out,err} members.
18335
18336Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
18337
18338 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
18339 case.
18340
18341Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
18342
18343 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
18344 rather than whatever macro seterrno() has.
18345
18346Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
18347
18348 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
18349 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18350
18351 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
18352 __STDC__.
18353
18354 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
18355 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
18356 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18357
18358 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
18359 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
18360
18361 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
18362 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
18363 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
18364 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
18365 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
18366 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
18367 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
18368 renamed to _xxx_r. struct reent_struct renamed to struct _reent
18369 for ANSI. structure members given leading "_" for ANSI. Use
18370 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18371
18372 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
18373 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
18374 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
18375 reent_struct renamed to struct _reent for ANSI.
18376 Structure members given leading "_" for ANSI.
18377 _CONST --> const in prototypes.
18378 Use _HAVE_STDC instead of __STDC__.
18379
18380 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
18381 _xxx_r.
18382 struct reent_struct renamed to struct _reent for ANSI.
18383 Structure members given leading "_" for ANSI.
18384
18385 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
18386 _xxx_r.
18387 struct reent_struct renamed to struct _reent for ANSI.
18388
18389 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
18390 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
18391 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
18392 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
18393 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
18394
18395 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
18396 signal.h, stdio.h, stdlib.h, string.h, time.h}:
18397 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
18398 #ifndef _STRICT_ANSI non-ANSI routines.
18399 Reentrant routines renamed from _r_xxx to _xxx_r.
18400 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
18401 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
18402 Clean up namespace (structure members have leading "_").
18403 struct reent_struct renamed to struct _reent for ANSI compliance.
18404 _CONST --> const in function prototypes.
18405
18406 * libc/include/string.h: Add NULL and size_t.
18407
18408 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
18409 unlink, wait, wait4. Reentrant syscall routines close, fork,
18410 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
18411 write.
18412 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
18413 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
18414 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
18415 write.S}: Define reentrant versions.
18416 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
18417 reentrant syscalls.
18418
18419 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
18420
18421 * libc/include/stdlib.h (RAND_MAX): Fix value.
18422
18423Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
18424
18425 * libc/sys/a29khif/_main.c: Removed unnecessary file.
18426 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
18427 VPATH support targets after all: target.
18428
18429 * stub/mvme135/mvme.S: Renamed exceptionhandler to
18430 exceptionHandler, which is what mvme135-stub.c expects.
18431
18432Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18433
18434 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18435
18436 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18437 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18438 compliant).
18439
18440Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18441
18442 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18443 first.
18444 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18445 _r_write): Ditto.
18446 libc/reent/fstatr.c (_r_fstat): Ditto.
18447 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18448 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18449 libc/reent/statr.c (_r_stat): Ditto.
18450
18451 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18452 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18453 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18454 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18455 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18456 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18457 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18458 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18459 (__swrite): Ditto for _r_lseek, _r_write.
18460 (__sseek): Ditto for _r_lseek.
18461 (__close): Ditto for _r_close.
18462 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18463
18464 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18465 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18466
18467 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18468 to make reent_struct the first argument (and thus consistent with
18469 the rest of newlib).
18470
18471 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18472 reference to __STDC__.
18473
18474Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18475
18476 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 18477 global __cleanup.
8a0efa53
CF
18478
18479Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18480
18481 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18482 first.
18483 libc/stdio/fclose.c (fclose): Ditto.
18484
18485Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18486
18487 * Run through indent and rename reentrant routines for ANSI.
18488 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18489 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18490 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18491 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18492 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18493 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18494 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18495 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18496 vsprintf.c wbuf.c wsetup.c local.h}
18497
18498 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18499
18500 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18501 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18502 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18503 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18504 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18505 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18506
18507 * Run through indent.
18508 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18509 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18510 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18511 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18512 strxfrm.c}
18513
18514 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18515 localtime.c mktime.c strftime.c time.c}:
18516 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18517
18518 * Reformatting + renaming (for ANSI, GNU style, consistency).
18519 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18520 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18521 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18522
18523Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18524
18525 * libc/include/stdio.h (stdin_r): Fix.
18526
18527Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18528
18529 * Makefile.in: Unexport some variables to keep GNU make from
18530 putting them in the environment and using up needed ARG_MAX space
18531 (a hack is used to let this work with older makes as well).
18532
18533Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18534
18535 * Makefile.in: Use $(MAKE) rather than make.
18536 (MAKEOVERRIDES): Define to be empty.
18537 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18538 (libc.a, libm.a): Depend on targ-include.
18539 * host/any (LD): Don't define.
17c0c97d 18540 (INCLUDES): Use targ-include.
8a0efa53
CF
18541 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18542 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18543 * libc/Makefile.in: Use $(MAKE) rather than make.
18544 (MAKEOVERRIDES): Define to be empty.
18545 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18546 (all): Rewrote to be slightly smaller.
18547 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18548 Define to be empty.
18549 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18550 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18551
18552Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18553
18554 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18555 with errno/errno.c.
18556
18557Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18558
18559 * Changes for reentrancy.
18560 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18561 Use ptr->_errno, not errno.
18562 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18563 libc/stdio/remove.c (remove_r): New function.
18564 libc/stdio/rename.c (rename_r): New function.
18565 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18566 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18567 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18568 reentrant versions of system calls.
18569 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18570 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18571 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18572 libc/stdio/findfp.c: Include <string.h>.
18573 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18574 "local.h".
18575 libc/stdio/wbuf.c: Include "fvwrite.h"
18576
18577 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18578 <string.h>.
18579 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18580 (NULL): Don't define if already defined.
18581 libc/stdlib/system.c: Call reentrant versions of system calls.
18582 (system_r): New function.
18583
18584 * Changes for reentrancy.
18585 libc/include/_ansi.h (_PARAMS): New macro.
18586 libc/include/errno.h: Define errno as a macro that calls __errno.
18587 (__errno_r): New macro for reentrant code.
18588 libc/include/math.h: Include reent.h. Declare many reentrant
18589 functions.
18590 (signgam): Now a macro, not a variable.
18591 (struct exception): Added err field.
18592 libc/include/reent.h: Don't declare __sglue. Added function
18593 declarations.
18594 (struct reent_struct): Moved errno to beginning. Added _signgam.
18595 libc/include/stdio.h, libc/include/stdlib.h: Added function
18596 declarations.
18597
18598 * More reentrancy hacking.
18599 libc/errno/errno.c (__errno): New function.
18600 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18601 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18602 files.
17c0c97d 18603
8a0efa53
CF
18604 * Added many new reentrant functions to libm/math/*.
18605 libm/math/error.c (__matherror): Added reent_struct pointer
18606 argument. Changed all callers.
18607 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18608 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18609 libm/math/tan.h: Removed obsolete unused header files.
18610
18611 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18612
18613 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18614
18615Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18616
18617 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18618 delay slots.
18619
18620Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18621
ba3ccd63 18622 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18623
18624Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18625
ba3ccd63 18626 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18627 newlib/libc/libc.texinfo)
18628 * libc/stdio/tmpnam.c: fixed doc typo
18629 * libc/stdlib/rand.c: fixed doc typo
18630
18631Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18632
ba3ccd63 18633 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18634 newlib/libc/libc.texinfo)
18635
18636Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18637
18638 support for reentrancy
18639 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18640 new files
18641 * libc/errno/errno.c, libc/include/ieeefp.h,
18642 libc/include/locale.h, libc/include/reent.h,
18643 libc/include/signal.h, libc/include/stdio.h,
18644 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18645 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18646 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18647 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18648 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18649 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18650 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18651 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18652 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18653 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18654 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18655 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18656 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18657 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18658 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18659 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18660 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18661 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18662 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18663 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18664 libc/time/strftime.c: modify to provide reentracy.
18665
18666 new routines:
18667 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18668 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18669 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18670 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18671 mstats_r, realloc_r, localeconv_r, setlocale_r
18672
18673Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18674
18675 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18676 libc/include/sys/config.h, libc/include/sys/signal.h,
18677 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18678 provided macros (such as m68000), use the ansi version
18679 (__m68000__) so that the library can be used with code compiled
18680 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18681 and sparc.
18682
18683Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18684
18685 * configure.in (sparc*): Don't set -fsoft-float for sparc
18686 configurations. Do set -fsoft-float for sparclite configurations.
18687
18688Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18689
18690 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18691 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18692
18693 * configure.in: select one of the two menus above, link to
18694 libc.menu
18695
ba3ccd63 18696 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18697
18698Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18699
18700 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18701 (info): Split long shell command in half.
17c0c97d
EB
18702 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18703 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18704 (targetdep.tex): Removed now special handling of sys and machine
18705 subdirectories, made obsolete some time ago.
18706 * libc/machine/Makefile.in (doc): Don't pass everything to
18707 sub-make, just CHEW and TARGETDOC.
18708 (Makefile): New target.
18709 * libc/sys/Makefile.in (Makefile): New target.
18710
18711Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18712
18713 * Makefile.in (here and most subdirectories): Only pass down CHEW
18714 and TARGETDOC when making info, not for other targets.
18715
18716 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18717 $(AR_FLAGS) rather than $(ARUPDATE).
18718
18719Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18720
18721 * Try to reduce command line length:
18722 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18723 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18724 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18725 (info): Pass CHEW to other subdirs.
18726
18727Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18728
18729 * configure.in: add signal_dir, like unix_dir, but by default it
18730 is set to "signal" so that a29khif can turn it off (since a29khif
18731 has raise() as part of machine-specific signal.s.)
18732
18733Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18734
18735 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18736 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18737 correctly.
18738 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18739 libc/stdio/vfprintf: type lint.
18740 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18741 initialzation code.
18742 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18743
18744Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18745
18746 * stub/mvme135/mvme135-asm.S: new file.
18747 stub/mvme135mvme135-stub.c: moved all assembler routines into
18748 mvme135-asm.S.
18749 stub/mvme135/Makefile.in: build mvme135-stub.o.
18750
18751Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18752
18753 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18754 sub-Makefiles instead, to try to avoid line length limitations.
18755
18756Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18757
18758 * libc/include/unistd.h (read, write): Use void* instead of
18759 char*.
18760
18761Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18762
18763 * stub/go32/resetpc: sample script to send a reset packet to the
18764 stub
18765
18766 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18767 DOS environment, which compiles with Turbo C.
18768
18769 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18770 remote stub.
8a0efa53
CF
18771
18772 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18773 start up message to identify version; call set_debug_traps.
18774
18775 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18776 keyboard interaction); call handle_exception() in go_til_stop,
18777 rather than return, so that the remote stub gets control.
18778
18779 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18780 rename, rather than mv), set flags that work with current Turbo C,
18781 including using the /3 flag; also, add commands to build dser32.
18782
18783 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18784 default Turbo C installation (\tc rather than \usr)
18785
18786 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18787 "&..."
8a0efa53
CF
18788
18789Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18790
18791 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18792
18793Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18794
18795 * libc/stdio/cvt.c (licvt): new function to convert ints when
18796 sizeof(int) != sizeof(long).
18797
18798 * libc/include/stdio.h: added prototype for iprintf.
18799 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18800
18801Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18802
18803 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18804 __REGISTER_PREFIX__.
18805
18806Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18807
18808 * libc/sys/m68kbare: moved into stub directory.
18809
18810Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18811
18812 * configure.in, Makefile.in: created new directory stub, to hold
18813 sample code for specific targets.
18814
18815Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18816
18817 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18818 in the unified libc/include/sys/fcntl.h.
18819
18820Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18821
18822 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18823 printed .01, not 0.01.
18824
18825Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18826
18827 * configure.in: compile with -m68000 for m68* targets.
18828
18829Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18830
18831 * libm/math/remainder.c (remainder): document the svr4 and sunos
18832 references used to construct the function.
18833
18834Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18835
18836 * libm/math/remainder.c (rint, remainder): fix old typos.
18837 * libm/math/Makefile.in: actually build remainder.c (functions
18838 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18839 page.)
18840
18841Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18842
18843 * libc/string/bcopy.c: BSD version works on overlapping strings,
18844 so ours should too.
18845
18846 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18847 ("SHELL").
18848
18849Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18850
18851 * Makefile.in (docs): new target.
18852
18853Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18854
18855 * libc/include/sys/times.h: define clock_t as required by POSIX.
18856 libc/include/time.h: protect clock_t from multiple definitions.
18857
18858Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18859
18860 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18861 does not need more than the original three iterations to get
18862 within 1 ulp. (Paranoia tests for rounding to better than that,
18863 but further iterations *don't* help, only more subtle changes
18864 can.)
18865
18866Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18867
18868 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18869 were doing nothing useful.
18870
18871Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18872
18873 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18874 removed sys_dir settings of vxworks68 and vxworks960.
18875 host/any: don't pass -nostdinc to gcc, since newlib no longer
18876 provides all required header files.
18877
18878 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18879 is not defined; this provides a hook for VxWorks.
18880
18881Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18882
18883 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18884 buffer if buf is NULL, don't do it here -- it is already being
18885 done by makebuf elsewhere in stdio.
18886
18887Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18888
18889 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18890 that C programs can call functions without using initial
18891 underscores.
18892
18893Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18894
18895 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18896
18897Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18898
18899 * configure.in: set TARGET_CFLAGS for certain CPU types to
18900 -msoft-float.
18901
18902Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18903
18904 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18905
18906Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18907
18908 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18909 m68k*-unknown-coff.
18910
18911Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18912
18913 * libc/include/stdio.h: define __need___va_list before including
18914 <stdarg.h>, to avoid defining va_arg, et. al.
18915
18916Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18917
18918 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18919 (don't cd to the user's home directory).
18920
18921 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18922 In general this is the wrong thing to do, but I can't get around
18923 GNU make's insistence on passing command line arguments any other
18924 way.
18925
18926Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18927
18928 * configure.in: always configure the libc/sys directory, since it
18929 now provides a required documentation file.
18930
18931 * Makefile.in: replaced all instances of $(MAKE) with make. In
18932 general this is the wrong thing to do, but I can't get around GNU
18933 make's insistence on passing command line arguments any other way.
18934
18935Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18936
18937 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18938 terminated.
18939
18940 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18941 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18942
18943 * libc/include/float.h, libc/include/stdarg.h,
18944 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18945 versions instead.
18946 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18947 <stdarg.h>, not from <machine/types.h>. Protect definition of
18948 NULL.
18949 libc/include/time.h: get size_t from stddef.h. Protect definition
18950 of NULL.
18951 libc/include/machine/limits.h: override gcc <limits.h> by defining
18952 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18953 get correct INT_MIN and LONG_LONG values.
18954 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18955 size_t or va_list at all; they're now gotten from stddef.h
18956 instead.
18957 libc/include/machine/varargs.h: removed; use gcc version instead.
18958 libc/include/sys/types.h: explicitly include <machine/types.h>.
18959
18960 * libm/math/sqrt.h: using the fp-bit routines appears to require
18961 more iterations.
18962
18963 * Makefile.in, host/any: let system include files override machine
18964 include files.
18965
18966Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18967
18968 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18969 override _*_T_ definitions defaulted here.
18970
18971Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18972
18973 * Makefile.in (install): install the include files in
18974 $(tooldir)/include, not $(exec_prefix)/include.
18975
18976Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18977
18978 * Makefile.in (install): fixed typo, and changed install to not
18979 force rebuild of libc.a and libm.a.
18980
18981Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18982
18983 * libc/sys/a29khif/*: Changed all .include's to include
18984 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18985 that they will be installed for the user.
18986
18987 * Makefile.in (all): create targ-include, a directory holding the
18988 machine and system specific header files during the build.
18989 (install): fixed installation of machine and system specific
18990 header files.
18991
18992 * Makefile.in: fixed comment.
18993 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18994 we can pass $(INCLUDES) to it.
18995
18996Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18997
18998 * libc/include/sys/param.h: new generic file, which may be
18999 overridden for specific systems.
19000
19001 * libc/include/sys/signal.h: define all ANSI signal names, and
19002 NSIG (which is not ANSI) for a29k.
19003
19004Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
19005
19006 * Makefile.in: don't pass down arguments the lower level makes
19007 will not need.
19008 * libc/Makefile.in: recurse directly, rather than using subdir_do,
19009 in hopes of avoiding argument length limits.
19010 * libm/Makefile.in: recurse directly, rather using subdir_do, in
19011 hopes of avoiding argument length limits.
19012
19013Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
19014
19015 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
19016 mode_t is defined.
19017
19018Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
19019
19020 * Fixed make info and make install-info for newlib, changing most
19021 Makefile.in and several *.tex files. Moved doc directory from
19022 libc to top level.
19023
19024 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
19025 Should be rewritten.
19026
19027 * libc/string/strings.tex: renamed node index to node index
19028 function, so that it does not conflict with the top level index
19029 node.
19030
19031 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
19032
19033Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
19034
19035 * Overhauled general configuration for newlib. Eliminated all
19036 target dependent Makefile fragments. Create libraries in newlib
19037 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
19038 than CROSS_CC, et. al. Broke make docs; will fix later.
19039
19040 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
19041 Should be rewritten.
19042
19043Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
19044
19045 * libc/configure.in: cleaned up somewhat; switch on ${target}
19046 rather than ${target_alias}.
17c0c97d 19047 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
19048 rather than ${target_alias}.
19049
19050 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
19051 * libc/include/ctype.h: marked _ctype_ as _CONST.
19052
19053 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
19054 _CONST.
19055
19056 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
19057 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
19058 libc/stdio/gets.c (gets): removed non-ANSI warning message.
19059 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
19060
19061 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
19062 bigtens, tinytens): marked arrays _CONST.
19063 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
19064 rather than a static variable.
19065
19066 * libc/time/asctime.c (asctime), libc/time/localtime.c
19067 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
19068 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
19069 mname_len, mname): Marked static arrays _CONST.
19070
19071 * libm/math/gamma.h: made local variables non-static.
19072
19073 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
19074 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
19075 _CONST.
19076
19077 * libm/math/constants.c: removed file, because the constants it
19078 defined were never referenced.
19079 libm/math/Makefile.in: removed references to constants.c.
19080 libm/math/mathimpl.h: removed declarations of constants.
19081
19082Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
19083
19084 * libc/include/machine/varargs.h: only call __builtin_saveregs if
19085 it is sensibly defined in libgcc2. Checks preprocessor defines,
19086 which is not a good solution.
19087
19088 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
19089
19090 * libm/frexp.c: handle denormalized numbers as arguments.
19091
19092 * libm/math/Makefile.in: added some dependencies for .c files
19093 which include local .h files.
19094
19095Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
19096
19097 * libc/configure.in: set target_alias for OSE*. Replace
19098 target_makefile_frag if it is blank.
19099
19100 * libc/Makefile.in: make sure everything is passed to subsidiary
19101 makes; create all directories when installing.
19102
19103 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
19104 CROSS_ARUPDATE instead of AR.
19105
19106 * libm/configure.in: set target_alias for OSE*. Replace
19107 target_makefile_frag if it is blank.
19108
19109 * libm/Makefile.in: make sure everything is passed to subsidiary
19110 makes; create all directories when installing.
19111
19112Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
19113
ba3ccd63 19114 * add following change from libc copy.
8a0efa53
CF
19115
19116Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19117
19118 * libc/libc.texinfo: make copyright disclaimers appear on back of
19119 title page; make format of same slightly less ugly; avoid using
19120 underbars in section headings (avoids nasty texinfo bug in table
19121 of contents).
19122
19123 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
19124 comments only) avoid using underbars in section headings
19125
19126 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
19127 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
19128 changes in comments only): shorten headings ieeefp/infinity.c,
19129 ieeefp/isnan.c: (doc, comments only) more informative headings
19130
19131 * libc/math/bessel.c: (doc, comments only) shorten heading
19132
19133 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
19134 (doc, comments only) shorten headings
19135
19136 * libc/time/localtime.c (doc, comments only): shorten headings
19137
19138 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
19139 isnan
19140 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
19141 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
19142 headings
19143 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
19144 only) more informative headings
19145 * libm/math/bessel.c: (doc, comments only) shorten heading
19146
19147Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19148
19149 * .../Makefile.in: use CROSS_ARUPDATE consistently.
19150 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
19151 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
19152 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
19153 defined, the one from the .mt file will be correct.
19154 * libc/include/machine, libc/include/sys: created, and populated
19155 with common files from machine/*/machine. ifdefs were used for
19156 most, typically by handling exceptions first and then filling in
19157 defaults. Files with D.J. Delorie copyright #included rather than
19158 copied. Most files in include/sys really were the same in the
19159 original.
19160 * libc/include/...: cleaned up use of _EXFUN.
19161 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
19162 it with double quotes, not angles.
19163
19164Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
19165
19166 * libc/Makefile.in: always create installation directories.
19167
19168Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
19169
19170 * libc/configure.in: handle host properly (using canonical
19171 triples), better error message for the case of target not found
19172
19173Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
19174
19175 * libc/Makefile.in (insincdir): Ensure this directory exists
19176 before attempting installation.
19177
19178Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19179
19180 * libc/stdlib/assert.c: now calls abort like it should
19181 * libc/sys/a29khif: many many patches for 29khif work
19182 * libc/machine/i386: gnulib2 expanded there.
19183
19184Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19185
ba3ccd63 19186 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
19187 stdio to stdlib and called it ecvtbuf:
19188 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
19189 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
19190 routines
19191 * libc/libc.texinfo: Modifed to include the copyright info from
19192 the mprec files
19193 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
19194 * libc/test/ : many vector which tested for the implementation
19195 defined returns of strange conversion requests have been updated
19196 to relflect the new implementation
19197
19198Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19199
19200 * libc/libc.texinfo: new chapter on variable arg lists
19201 (stdarg.h/varargs.h)
19202 * libc/libc.texinfo: new title
19203 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
19204 (doc only) shorter headings for better formatting.
19205
19206Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19207
19208 * libc/libc.texinfo: three more info menu entries
19209 * libc/locale/locale.tex: new chapter
19210 * libc/locale/locale.c: new doc for setlocale, localeconv
19211 * libc/locale/Makefile.in: use new locale doc
19212 * libc/signal/signal.tex: new chapter
19213 * libc/signal/raise.c, libc/signal/signal.c: new doc
19214 * libc/signal/Makefile.in: use new doc
19215 * libc/time/time.tex: new chapter
19216 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
19217 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
19218 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
19219 * libc/time/Makefile.in: use new doc
19220
19221Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19222
19223 * libm/math/log1p.c: split to use the new function way of float
19224 function definition. math/log1p.h deleted
19225 * libm/math/scalb.c: obsolete and deleted
19226 * libm/math/scalbn.c: created from part log1p.c
19227 * libm/math/Makefile.in: know about log1p and scalbn
19228
19229Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19230
19231 * libc/ctype/isupper.c: revise doc;
19232 libc/ctype/ctype.tex: use doc from isupper.c
19233
19234 * libc/string/bzero.c: new doc
19235
19236Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
19237
19238 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
19239 new doc
19240 * libc/stdlib/Makefile.in: extract new doc
19241 * libc/stdlib/stdlib.tex: use new doc
19242
19243 * libc/string/strerror.c: expanded doc.
19244
19245 * libc/stdio/Makefile.in: extract doc from more files
19246 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
19247 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
19248 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
19249 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
19250 libc/stdio/vsprintf.c: new doc
19251 * libc/stdio/stdio.tex: use new doc
19252
19253Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19254
19255 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
19256 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
19257 finitef functions.
19258 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
19259 time ago.
19260
19261 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
19262 * libc/stdio/setbuf.c: added ansi style definition.
19263 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
19264 buffer if none provided.
19265 * libc/stdio/tmpfile.c: lint
19266 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
19267 rather than using static, also make sure file isn't already
19268 present. Uses P_tmpdir. (tempnam): rewritten to use new
19269 subroutine, and uses P_tmpdir.
19270 * libc/stdio/siprintf.c: created
19271
19272Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19273
19274 Release 1.03 for NEC, major mods. Main differences from release
19275 1.02::
19276
19277 More tests in test/:
19278 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
19279 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
19280 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
19281 get/set mask, get/set sticky and get/set roundtoi. Tests
19282 that setting the bits changes the way arithmetic is done.
19283 * string.c: added test to make sure memcmp does it with unsigned
19284 chars.
19285 * test.c: cleaned up and removed lint.
19286 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
19287 dvec.c: tests for string to value conversions, sprintf, scanf,
19288 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
19289 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
19290 rounding in sprintf too.
19291 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
19292 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
19293 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
19294 and function form.
19295 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
19296 powf
19297
19298 In the library:
19299 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
19300 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
19301 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
19302 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
19303 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
19304 than sprintf.
17c0c97d 19305 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
19306 * Method of producting float versions of double functions has
19307 changed, functions will be modified gradually. So far:
19308 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
19309 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
19310 altered
19311 * libc/string/memcmp.c: now uses unsigned chars
19312 * libc/string/bcmp.c, libc/string/strcpy.c,
19313 libc/stsring/strxfrm.c: fixed doc
19314 * libc/sys/sysvnecv70.tex: fix example of sbrk code
19315\f
19316Local Variables:
19317version-control: never
19318End:
This page took 2.503156 seconds and 5 git commands to generate.