]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
702ceb23
JJ
12003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2
3 * libc/time/tzset_r.c: Change local variables that are
4 set via sscanf using the %h format specifier to be unsigned short
5 instead of int.
6
102861c9
JJ
72003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
8
9 * configure.host: Allow i[34567]86 variant.
10 * configure.in: Likewise.
11 * README: Likewise to the docs.
12 * configure: Regenerated.
13 * Makefile.in: Ditto.
14
b359e82c
JJ
152003-05-28 Jeff Johnston <jjohnstn@redhat.com>
16 Tom Fitzsimmons <fitzsim@redhat.com>
17
18 * configure.in: Add iconvdata support for x86 linux.
19 * configure: Regenerated.
20 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
21 library, iconv, and linuxthreads support.
22 * libc/sys/linux/configure.in: Ditto.
23 * libc/sys/linux/Makefile.in: Regenerated.
24 * libc/sys/linux/configure: Ditto.
25 * iconvdata/EUC-JP.irreversible: New file.
26 * iconvdata/Makefile.am: Ditto.
27 * iconvdata/Makefile.in: Ditto.
28 * iconvdata/SJIS.irreversible: Ditto.
29 * iconvdata/aclocal.m4: Ditto.
30 * iconvdata/configure: Ditto.
31 * iconvdata/configure.in: Ditto.
32 * iconvdata/dummy.c: Ditto.
33 * iconvdata/euc-jp.c: Ditto.
34 * iconvdata/gconv-modules: Ditto.
35 * iconvdata/jis0201.c: Ditto.
36 * iconvdata/jis0201.h: Ditto.
37 * iconvdata/jis0208.c: Ditto.
38 * iconvdata/jis0208.h: Ditto.
39 * iconvdata/jis0212.c: Ditto.
40 * iconvdata/jis0212.h: Ditto.
41 * iconvdata/sjis.c: Ditto.
42 * libc/include/errno.h: Protect definition of error_t.
43 * libc/sys/linux/gethostid.c: New file.
44 * libc/sys/linux/sethostid.c: Ditto.
45 * libc/sys/linux/dl/Makefile.am: Ditto.
46 * libc/sys/linux/dl/Makefile.in: Ditto.
47 * libc/sys/linux/dl/abi-tag.h: Ditto.
48 * libc/sys/linux/dl/atomicity.h: Ditto.
49 * libc/sys/linux/dl/dl-addr.c: Ditto.
50 * libc/sys/linux/dl/dl-cache.c: Ditto.
51 * libc/sys/linux/dl/dl-cache.h: Ditto.
52 * libc/sys/linux/dl/dl-close.c: Ditto.
53 * libc/sys/linux/dl/dl-debug.c: Ditto.
54 * libc/sys/linux/dl/dl-deps.c: Ditto.
55 * libc/sys/linux/dl/dl-dst.h: Ditto.
56 * libc/sys/linux/dl/dl-error.c: Ditto.
57 * libc/sys/linux/dl/dl-fini.c: Ditto.
58 * libc/sys/linux/dl/dl-init.c: Ditto.
59 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
60 * libc/sys/linux/dl/dl-libc.c: Ditto.
61 * libc/sys/linux/dl/dl-librecon.h: Ditto.
62 * libc/sys/linux/dl/dl-load.c: Ditto.
63 * libc/sys/linux/dl/dl-lookup.c: Ditto.
64 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
65 * libc/sys/linux/dl/dl-minimal.c: Ditto.
66 * libc/sys/linux/dl/dl-misc.c: Ditto.
67 * libc/sys/linux/dl/dl-object.c: Ditto.
68 * libc/sys/linux/dl/dl-open.c: Ditto.
69 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
70 * libc/sys/linux/dl/dl-profile.c: Ditto.
71 * libc/sys/linux/dl/dl-profstub.c: Ditto.
72 * libc/sys/linux/dl/dl-reloc.c: Ditto.
73 * libc/sys/linux/dl/dl-runtime.c: Ditto.
74 * libc/sys/linux/dl/dl-support.c: Ditto.
75 * libc/sys/linux/dl/dl-sym.c: Ditto.
76 * libc/sys/linux/dl/dl-version.c: Ditto.
77 * libc/sys/linux/dl/dlfcn.h: Ditto.
78 * libc/sys/linux/dl/do-lookup.h: Ditto.
79 * libc/sys/linux/dl/do-rel.h: Ditto.
80 * libc/sys/linux/dl/dynamic-link.h: Ditto.
81 * libc/sys/linux/dl/kernel-features.h: Ditto.
82 * libc/sys/linux/dl/ldsodefs.h: Ditto.
83 * libc/sys/linux/dl/libintl.h: Ditto.
84 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
85 * libc/sys/linux/dl/unsecvars.h: Ditto.
86 * libc/sys/linux/iconv/Makefile.am: Ditto.
87 * libc/sys/linux/iconv/Makefile.in: Ditto.
88 * libc/sys/linux/iconv/categories.def: Ditto.
89 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
90 * libc/sys/linux/iconv/gconv.c: Ditto.
91 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
92 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
93 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
94 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
95 * libc/sys/linux/iconv/gconv_close.c: Ditto.
96 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
97 * libc/sys/linux/iconv/gconv_db.c: Ditto.
98 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
99 * libc/sys/linux/iconv/gconv_int.h: Ditto.
100 * libc/sys/linux/iconv/gconv_open.c: Ditto.
101 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
102 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
103 * libc/sys/linux/iconv/hash-string.h: Ditto.
104 * libc/sys/linux/iconv/iconv.c: Ditto.
105 * libc/sys/linux/iconv/iconv.h: Ditto.
106 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
107 * libc/sys/linux/iconv/iconv_close.c: Ditto.
108 * libc/sys/linux/iconv/iconv_open.c: Ditto.
109 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
110 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
111 * libc/sys/linux/iconv/loadinfo.h: Ditto.
112 * libc/sys/linux/iconv/localeinfo.h: Ditto.
113 * libc/sys/linux/iconv/loop.c: Ditto.
114 * libc/sys/linux/iconv/skeleton.c: Ditto.
115 * libc/sys/linux/iconv/strtab.c: Ditto.
116 * libc/sys/linux/include/dl-hash.h: Ditto.
117 * libc/sys/linux/include/dlfcn.h: Ditto.
118 * libc/sys/linux/include/fnmatch.h: Ditto.
119 * libc/sys/linux/include/gconv.h: Ditto.
120 * libc/sys/linux/include/glob.h: Ditto.
121 * libc/sys/linux/include/hesiod.h: Ditto.
122 * libc/sys/linux/include/ifaddrs.h: Ditto.
123 * libc/sys/linux/include/libc_private.h: Ditto.
124 * libc/sys/linux/include/link.h: Ditto.
125 * libc/sys/linux/include/namespace.h: Ditto.
126 * libc/sys/linux/include/netconfig.h: Ditto.
127 * libc/sys/linux/include/netdb.h: Ditto.
128 * libc/sys/linux/include/nsswitch.h: Ditto.
129 * libc/sys/linux/include/regex.h: Ditto.
130 * libc/sys/linux/include/resolv.h: Ditto.
131 * libc/sys/linux/include/rune.h: Ditto.
132 * libc/sys/linux/include/runetype.h: Ditto.
133 * libc/sys/linux/include/semaphore.h: Ditto.
134 * libc/sys/linux/include/setlocale.h: Ditto.
135 * libc/sys/linux/include/un-namespace.h: Ditto.
136 * libc/sys/linux/include/wordexp.h: Ditto.
137 * libc/sys/linux/include/arpa/ftp.h: Ditto.
138 * libc/sys/linux/include/arpa/inet.h: Ditto.
139 * libc/sys/linux/include/arpa/nameser.h: Ditto.
140 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
141 * libc/sys/linux/include/arpa/telnet.h: Ditto.
142 * libc/sys/linux/include/arpa/tftp.h: Ditto.
143 * libc/sys/linux/include/net/bpf.h: Ditto.
144 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
145 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
146 * libc/sys/linux/include/net/bridge.h: Ditto.
147 * libc/sys/linux/include/net/ethernet.h: Ditto.
148 * libc/sys/linux/include/net/fddi.h: Ditto.
149 * libc/sys/linux/include/net/if.h: Ditto.
150 * libc/sys/linux/include/net/if_arc.h: Ditto.
151 * libc/sys/linux/include/net/if_arp.h: Ditto.
152 * libc/sys/linux/include/net/if_atm.h: Ditto.
153 * libc/sys/linux/include/net/if_dl.h: Ditto.
154 * libc/sys/linux/include/net/if_gif.h: Ditto.
155 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
156 * libc/sys/linux/include/net/if_llc.h: Ditto.
157 * libc/sys/linux/include/net/if_media.h: Ditto.
158 * libc/sys/linux/include/net/if_mib.h: Ditto.
159 * libc/sys/linux/include/net/if_ppp.h: Ditto.
160 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
161 * libc/sys/linux/include/net/if_slvar.h: Ditto.
162 * libc/sys/linux/include/net/if_sppp.h: Ditto.
163 * libc/sys/linux/include/net/if_stf.h: Ditto.
164 * libc/sys/linux/include/net/if_tap.h: Ditto.
165 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
166 * libc/sys/linux/include/net/if_tun.h: Ditto.
167 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
168 * libc/sys/linux/include/net/if_types.h: Ditto.
169 * libc/sys/linux/include/net/if_var.h: Ditto.
170 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
171 * libc/sys/linux/include/net/intrq.h: Ditto.
172 * libc/sys/linux/include/net/iso88025.h: Ditto.
173 * libc/sys/linux/include/net/net_osdep.h: Ditto.
174 * libc/sys/linux/include/net/netisr.h: Ditto.
175 * libc/sys/linux/include/net/pfil.h: Ditto.
176 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
177 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
178 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
179 * libc/sys/linux/include/net/radix.h: Ditto.
180 * libc/sys/linux/include/net/raw_cb.h: Ditto.
181 * libc/sys/linux/include/net/route.h: Ditto.
182 * libc/sys/linux/include/net/slcompress.h: Ditto.
183 * libc/sys/linux/include/net/slip.h: Ditto.
184 * libc/sys/linux/include/net/zlib.h: Ditto.
185 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
186 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
187 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
188 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
189 * libc/sys/linux/include/netinet/igmp.h: Ditto.
190 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
191 * libc/sys/linux/include/netinet/in.h: Ditto.
192 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
193 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
194 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
195 * libc/sys/linux/include/netinet/in_var.h: Ditto.
196 * libc/sys/linux/include/netinet/ip.h: Ditto.
197 * libc/sys/linux/include/netinet/ip6.h: Ditto.
198 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
199 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
200 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
201 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
202 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
203 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
204 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
205 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
206 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
207 * libc/sys/linux/include/netinet/tcp.h: Ditto.
208 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
209 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
210 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
211 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
212 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
213 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
214 * libc/sys/linux/include/netinet/udp.h: Ditto.
215 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
216 * libc/sys/linux/include/netinet6/ah.h: Ditto.
217 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
218 * libc/sys/linux/include/netinet6/esp.h: Ditto.
219 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
220 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
221 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
222 * libc/sys/linux/include/netinet6/in6.h: Ditto.
223 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
224 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
225 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
226 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
227 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
228 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
229 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
230 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
231 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
232 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
233 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
234 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
235 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
236 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
237 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
238 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
239 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
240 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
241 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
242 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
243 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
244 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
245 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
246 * libc/sys/linux/include/netns/idp.h: Ditto.
247 * libc/sys/linux/include/netns/idp_var.h: Ditto.
248 * libc/sys/linux/include/netns/ns.h: Ditto.
249 * libc/sys/linux/include/netns/ns_error.h: Ditto.
250 * libc/sys/linux/include/netns/ns_if.h: Ditto.
251 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
252 * libc/sys/linux/include/netns/sp.h: Ditto.
253 * libc/sys/linux/include/netns/spidp.h: Ditto.
254 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
255 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
256 * libc/sys/linux/include/netns/spp_var.h: Ditto.
257 * libc/sys/linux/include/rpc/Makefile: Ditto.
258 * libc/sys/linux/include/rpc/auth.h: Ditto.
259 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
260 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
261 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
262 * libc/sys/linux/include/rpc/clnt.h: Ditto.
263 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
264 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
265 * libc/sys/linux/include/rpc/des.h: Ditto.
266 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
267 * libc/sys/linux/include/rpc/nettype.h: Ditto.
268 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
269 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
270 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
271 * libc/sys/linux/include/rpc/raw.h: Ditto.
272 * libc/sys/linux/include/rpc/rpc.h: Ditto.
273 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
274 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
275 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
276 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
277 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
278 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
279 * libc/sys/linux/include/rpc/svc.h: Ditto.
280 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
281 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
282 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
283 * libc/sys/linux/include/rpc/types.h: Ditto.
284 * libc/sys/linux/include/rpc/xdr.h: Ditto.
285 * libc/sys/linux/intl/Makefile.am: Ditto.
286 * libc/sys/linux/intl/Makefile.in: Ditto.
287 * libc/sys/linux/intl/bindtextdom.c: Ditto.
288 * libc/sys/linux/intl/catgets.c: Ditto.
289 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
290 * libc/sys/linux/intl/config.h: Ditto.
291 * libc/sys/linux/intl/dcgettext.c: Ditto.
292 * libc/sys/linux/intl/dcigettext.c: Ditto.
293 * libc/sys/linux/intl/dcngettext.c: Ditto.
294 * libc/sys/linux/intl/dgettext.c: Ditto.
295 * libc/sys/linux/intl/dngettext.c: Ditto.
296 * libc/sys/linux/intl/explodename.c: Ditto.
297 * libc/sys/linux/intl/finddomain.c: Ditto.
298 * libc/sys/linux/intl/gettext.c: Ditto.
299 * libc/sys/linux/intl/gettext.h: Ditto.
300 * libc/sys/linux/intl/gettextP.h: Ditto.
301 * libc/sys/linux/intl/hash-string.h: Ditto.
302 * libc/sys/linux/intl/l10nflist.c: Ditto.
303 * libc/sys/linux/intl/loadinfo.h: Ditto.
304 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
305 * libc/sys/linux/intl/locale.alias: Ditto.
306 * libc/sys/linux/intl/localealias.c: Ditto.
307 * libc/sys/linux/intl/ngettext.c: Ditto.
308 * libc/sys/linux/intl/open_catalog.c: Ditto.
309 * libc/sys/linux/intl/plural.c: Ditto.
310 * libc/sys/linux/intl/plural.y: Ditto.
311 * libc/sys/linux/intl/stpcpy.c: Ditto.
312 * libc/sys/linux/intl/textdomain.c: Ditto.
313 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
314 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
315 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
316 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
317 * libc/sys/linux/linuxthreads/attr.c: Ditto.
318 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
319 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
320 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
321 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
322 * libc/sys/linux/linuxthreads/config.h: Ditto.
323 * libc/sys/linux/linuxthreads/configure: Ditto.
324 * libc/sys/linux/linuxthreads/configure.in: Ditto.
325 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
326 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
327 * libc/sys/linux/linuxthreads/events.c: Ditto.
328 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
329 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
330 * libc/sys/linux/linuxthreads/internals.h: Ditto.
331 * libc/sys/linux/linuxthreads/join.c: Ditto.
332 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
333 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
334 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
335 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
336 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
337 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
338 * libc/sys/linux/linuxthreads/manager.c: Ditto.
339 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
340 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
341 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
342 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
343 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
344 * libc/sys/linux/linuxthreads/prio.c: Ditto.
345 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
346 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
347 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
348 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
349 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
350 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
351 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
352 * libc/sys/linux/linuxthreads/queue.h: Ditto.
353 * libc/sys/linux/linuxthreads/reent.c: Ditto.
354 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
355 * libc/sys/linux/linuxthreads/restart.h: Ditto.
356 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
357 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
358 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
359 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
360 * libc/sys/linux/linuxthreads/signals.c: Ditto.
361 * libc/sys/linux/linuxthreads/specific.c: Ditto.
362 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
363 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
364 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
365 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
366 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
367 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
368 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
369 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
370 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
371 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
372 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
373 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
374 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
375 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
376 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
377 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
378 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
379 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
380 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
381 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
382 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
383 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
384 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
385 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
386 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
387 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
388 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
389 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
390 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
391 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
392 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
393 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
394 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
395 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
396 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
397 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
398 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
399 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
400 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
401 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
402 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
403 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
404 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
405 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
406 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
407 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
408 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
409 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
410 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
411 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
412 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
413 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
414 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
415 * libc/sys/linux/linuxthreads/unload.c: Ditto.
416 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
417 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
418 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
419 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
420 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
421 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
422 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
423 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
424 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
425 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
426 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
427 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
428 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
429 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
430 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
431 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
432 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
433 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
434 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
435 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
436 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
437 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
438 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
439 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
440 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
441 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
442 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
443 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
444 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
445 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
446 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
447 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
448 * libc/sys/linux/net/Makefile.am: Ditto.
449 * libc/sys/linux/net/Makefile.in: Ditto.
450 * libc/sys/linux/net/addr2ascii.3: Ditto.
451 * libc/sys/linux/net/addr2ascii.c: Ditto.
452 * libc/sys/linux/net/ascii2addr.c: Ditto.
453 * libc/sys/linux/net/base64.c: Ditto.
454 * libc/sys/linux/net/bindresvport.c: Ditto.
455 * libc/sys/linux/net/byteorder.3: Ditto.
456 * libc/sys/linux/net/ether_addr.c: Ditto.
457 * libc/sys/linux/net/ethers.3: Ditto.
458 * libc/sys/linux/net/getaddrinfo.3: Ditto.
459 * libc/sys/linux/net/getaddrinfo.c: Ditto.
460 * libc/sys/linux/net/gethostbydns.c: Ditto.
461 * libc/sys/linux/net/gethostbyht.c: Ditto.
462 * libc/sys/linux/net/gethostbyname.3: Ditto.
463 * libc/sys/linux/net/gethostbynis.c: Ditto.
464 * libc/sys/linux/net/gethostnamadr.c: Ditto.
465 * libc/sys/linux/net/getifaddrs.3: Ditto.
466 * libc/sys/linux/net/getifaddrs.c: Ditto.
467 * libc/sys/linux/net/getipnodebyname.3: Ditto.
468 * libc/sys/linux/net/getnameinfo.3: Ditto.
469 * libc/sys/linux/net/getnameinfo.c: Ditto.
470 * libc/sys/linux/net/getnetbydns.c: Ditto.
471 * libc/sys/linux/net/getnetbyht.c: Ditto.
472 * libc/sys/linux/net/getnetbynis.c: Ditto.
473 * libc/sys/linux/net/getnetent.3: Ditto.
474 * libc/sys/linux/net/getnetnamadr.c: Ditto.
475 * libc/sys/linux/net/getproto.c: Ditto.
476 * libc/sys/linux/net/getprotoent.3: Ditto.
477 * libc/sys/linux/net/getprotoent.c: Ditto.
478 * libc/sys/linux/net/getprotoname.c: Ditto.
479 * libc/sys/linux/net/getservbyname.c: Ditto.
480 * libc/sys/linux/net/getservbyport.c: Ditto.
481 * libc/sys/linux/net/getservent.3: Ditto.
482 * libc/sys/linux/net/getservent.c: Ditto.
483 * libc/sys/linux/net/herror.c: Ditto.
484 * libc/sys/linux/net/hesiod.3: Ditto.
485 * libc/sys/linux/net/hesiod.c: Ditto.
486 * libc/sys/linux/net/if_indextoname.3: Ditto.
487 * libc/sys/linux/net/ifname.c: Ditto.
488 * libc/sys/linux/net/inet.3: Ditto.
489 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
490 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
491 * libc/sys/linux/net/inet_addr.c: Ditto.
492 * libc/sys/linux/net/inet_lnaof.c: Ditto.
493 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
494 * libc/sys/linux/net/inet_net.3: Ditto.
495 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
496 * libc/sys/linux/net/inet_net_pton.c: Ditto.
497 * libc/sys/linux/net/inet_neta.c: Ditto.
498 * libc/sys/linux/net/inet_netof.c: Ditto.
499 * libc/sys/linux/net/inet_network.c: Ditto.
500 * libc/sys/linux/net/inet_ntoa.c: Ditto.
501 * libc/sys/linux/net/inet_ntop.c: Ditto.
502 * libc/sys/linux/net/inet_pton.c: Ditto.
503 * libc/sys/linux/net/innetgr-stub.c: Ditto.
504 * libc/sys/linux/net/ip6opt.c: Ditto.
505 * libc/sys/linux/net/iso_addr.3: Ditto.
506 * libc/sys/linux/net/iso_addr.c: Ditto.
507 * libc/sys/linux/net/issetugid-stub.c: Ditto.
508 * libc/sys/linux/net/linkaddr.3: Ditto.
509 * libc/sys/linux/net/linkaddr.c: Ditto.
510 * libc/sys/linux/net/map_v4v6.c: Ditto.
511 * libc/sys/linux/net/name6.c: Ditto.
512 * libc/sys/linux/net/namespace.h: Ditto.
513 * libc/sys/linux/net/ns.3: Ditto.
514 * libc/sys/linux/net/ns_addr.c: Ditto.
515 * libc/sys/linux/net/ns_name.c: Ditto.
516 * libc/sys/linux/net/ns_netint.c: Ditto.
517 * libc/sys/linux/net/ns_ntoa.c: Ditto.
518 * libc/sys/linux/net/ns_parse.c: Ditto.
519 * libc/sys/linux/net/ns_print.c: Ditto.
520 * libc/sys/linux/net/ns_ttl.c: Ditto.
521 * libc/sys/linux/net/nsap_addr.c: Ditto.
522 * libc/sys/linux/net/nsdispatch.3: Ditto.
523 * libc/sys/linux/net/nsdispatch.c: Ditto.
524 * libc/sys/linux/net/nslexer.c: Ditto.
525 * libc/sys/linux/net/nslexer.l: Ditto.
526 * libc/sys/linux/net/nsparser.c: Ditto.
527 * libc/sys/linux/net/nsparser.h: Ditto.
528 * libc/sys/linux/net/nsparser.y: Ditto.
529 * libc/sys/linux/net/rcmd.3: Ditto.
530 * libc/sys/linux/net/rcmd.c: Ditto.
531 * libc/sys/linux/net/rcmdsh.3: Ditto.
532 * libc/sys/linux/net/rcmdsh.c: Ditto.
533 * libc/sys/linux/net/recv.c: Ditto.
534 * libc/sys/linux/net/res_comp.c: Ditto.
535 * libc/sys/linux/net/res_config.h: Ditto.
536 * libc/sys/linux/net/res_data.c: Ditto.
537 * libc/sys/linux/net/res_debug.c: Ditto.
538 * libc/sys/linux/net/res_init.c: Ditto.
539 * libc/sys/linux/net/res_mkquery.c: Ditto.
540 * libc/sys/linux/net/res_mkupdate.c: Ditto.
541 * libc/sys/linux/net/res_query.c: Ditto.
542 * libc/sys/linux/net/res_send.c: Ditto.
543 * libc/sys/linux/net/res_update.c: Ditto.
544 * libc/sys/linux/net/resolver.3: Ditto.
545 * libc/sys/linux/net/rthdr.c: Ditto.
546 * libc/sys/linux/net/send.c: Ditto.
547 * libc/sys/linux/net/un-namespace.h: Ditto.
548 * libc/sys/linux/net/vars.c: Ditto.
549 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
550 * libc/sys/linux/stdlib/Makefile.am: Ditto.
551 * libc/sys/linux/stdlib/Makefile.in: Ditto.
552 * libc/sys/linux/stdlib/cclass.h: Ditto.
553 * libc/sys/linux/stdlib/cname.h: Ditto.
554 * libc/sys/linux/stdlib/collate.c: Ditto.
555 * libc/sys/linux/stdlib/collate.h: Ditto.
556 * libc/sys/linux/stdlib/collcmp.c: Ditto.
557 * libc/sys/linux/stdlib/engine.c: Ditto.
558 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
559 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
560 * libc/sys/linux/stdlib/glob.3: Ditto.
561 * libc/sys/linux/stdlib/glob.c: Ditto.
562 * libc/sys/linux/stdlib/reallocf.c: Ditto.
563 * libc/sys/linux/stdlib/regcomp.c: Ditto.
564 * libc/sys/linux/stdlib/regerror.c: Ditto.
565 * libc/sys/linux/stdlib/regex.3: Ditto.
566 * libc/sys/linux/stdlib/regex2.h: Ditto.
567 * libc/sys/linux/stdlib/regexec.c: Ditto.
568 * libc/sys/linux/stdlib/regfree.c: Ditto.
569 * libc/sys/linux/stdlib/utils.h: Ditto.
570 * libc/sys/linux/stdlib/wordexp.c: Ditto.
571 * libc/sys/linux/stdlib/wordfree.c: Ditto.
572 * libc/sys/linux/sys/dlfcn.h: Ditto.
573 * libc/sys/linux/sys/elfclass.h: Ditto.
574 * libc/sys/linux/sys/event.h: Ditto.
575 * libc/sys/linux/sys/ioccom.h: Ditto.
576 * libc/sys/linux/sys/libc-tsd.h: Ditto.
577 * libc/sys/linux/sys/link.h: Ditto.
578 * libc/sys/linux/sys/lock.h: Ditto.
579 * libc/sys/linux/sys/param.h: Ditto.
580 * libc/sys/linux/sys/socket.h: Ditto.
581 * libc/sys/linux/sys/sockio.h: Ditto.
582
82095e79
JJ
5832003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
584
585 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
586 normal mode
587 * newlib/libc/machine/h8300/memset.S: Likewise
588 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
589 * newlib/lib/machine/h8300/reg_memset.S: Likewise
590 * newlib/lib/machine/h8300/setjmp.S: Likewise
591 * newlib/lib/machine/h8300/strcmp.S: Likewise
592 * newlib/lib/sys/h8300hms/crt0.S: Likewise
593
8a4b4764
CV
5942003-05-13 Corinna Vinschen <corinna@vinschen.de>
595
596 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
597 * libc/include/stdio.h: Ditto.
598 * libc/include/sys/config.h: Ditto.
599 * libc/stdio/mktemp.c: Ditto.
600
837e070f
CV
6012003-05-13 Corinna Vinschen <corinna@vinschen.de>
602
603 * libc/locale/ldpart.c (__part_load_locale): Substitute
604 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
605 * libc/search/hash.c (__hash_open): Ditto.
606 (init_hash): Ditto.
607 * libc/stdio/fseek.c (fseek): Ditto.
608 * libc/stdio/makebuf.c (__smakebuf): Ditto.
609 * libc/stdio/mktemp.c (_gettemp): Ditto.
610
b47fcdf0
CV
6112003-05-12 Corinna Vinschen <corinna@vinschen.de>
612
613 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
614
11e3a520
CV
6152003-05-12 Corinna Vinschen <corinna@vinschen.de>
616
617 * configure.host: Accomodate removing the libc/sys/cygwin dir.
618 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
619 if __CYGWIN_USE_BIG_TYPES__ is set.
620 * libc/search/hash.c (__hash_open): Ditto.
621 (init_hash): Ditto.
622 * libc/stdio/fseek.c (fseek): Ditto.
623 * libc/stdio/makebuf.c (__smakebuf): Ditto.
624 * libc/stdio/mktemp.c (_gettemp): Ditto.
625 * libc/sys/cygwin/Makefile.am: Remove.
626 * libc/sys/cygwin/Makefile.in: Remove.
627 * libc/sys/cygwin/aclocal.m4: Remove.
628 * libc/sys/cygwin/configure: Remove.
629 * libc/sys/cygwin/configure.in: Remove.
630 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
631 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
632 directory.
633 * libc/sys/cygwin/sys/param.h: Ditto.
634 * libc/sys/cygwin/sys/utime.h: Ditto.
635 * libc/sys/cygwin/sys/utmp.h: Ditto.
636
d1b5e65b
CV
6372003-05-11 Corinna Vinschen <corinna@vinschen.de>
638
639 * libc/include/sys/types.h: Don't define key_t for Cygwin.
640
ec48a953
CF
6412003-05-10 Christopher Faylor <cgf@redhat.com>
642
643 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
644 64 bit inodes.
645
a3cc5851
CV
6462003-05-09 Corinna Vinschen <corinna@vinschen.de>
647
648 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
649 Include cygwin/config.h instead.
650
57ff95d3
JJ
6512003-04-16 Jeff Johnston <jjohnstn@redhat.com>
652
653 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
654 all code with #ifdef __SPE__ test.
655 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
656
cfd2c7be
CF
6572003-04-15 Chris January <chris@atomice.net>
658
659 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
660 Cygwin.
661
6f48c0ae
JR
6622003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
663
664 * libc/machine/sh/memset.S: Avoid clobbering volatile
665 objects following a tiny to-be-set array in the same quadword.
666
8f8d09c0
CV
6672001-04-09 Corinna Vinschen <corinna@vinschen.de>
668
669 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
670 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
671 * libc/string/Makefile.in: Regenerated.
672 * libc/string/wcswidth.c: New file.
673 * libc/string/wcwidth.c: New file.
674 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
675
40c3b2d0
JR
676Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
677
678 * libc/machine/sh/memset.S: Fix problem with alloco region
679 exceeding destination region for length >= 88 bytes, start
680 & 0x16 == 0, end & 0x1f == 18.
681
8ae6a3dd
CV
6822001-04-03 Corinna Vinschen <corinna@vinschen.de>
683
684 * libc/string/wcscoll.c: Fix comment.
685
d122b1cc
CV
6862001-04-02 Corinna Vinschen <corinna@vinschen.de>
687
688 * libc/include/wchar.h: Add definition for wcscoll.
689 * libc/string/Makefile.am: Add wcscoll.c.
690 * libc/string/Makefile.in: Regenerated.
691 * libc/string/wcscoll.c: New file.
692 * libc/string/wcstrings.tex: Add wcscoll.
693
31ee99a4
CV
6942003-04-01 Corinna Vinschen <corinna@vinschen.de>
695
696 * libc/stdio/sscanf.c: Update flags description.
697 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
698 type.
699 (__svfscanf_r): Add 'hh' and 'll' handling.
700
d78045ee
CV
7012003-04-01 Corinna Vinschen <corinna@vinschen.de>
702
703 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
704 __d_position member to _off_t.
705
e6bdc6c5
JJ
7062003-03-20 Jeff Johnston <jjohnstn@redhat.com>
707
708 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
709 count all characters used to create number against maximum width.
710 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
711
e65d559e
JJ
7122003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
713
714 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
715 support.
716 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
717 flag to support simulator only extensions.
718
6b3bb52b
JJ
7192003-03-17 Bob Cassels <bcassels@abinitio.com>
720
721 * libc/string/wcschr.c: (wcschr): Look for character first,
722 then for end of string, so you can do wcschr(x, '\0').
723
2a940c1a
CV
7242003-03-10 Corinna Vinschen <corinna@vinschen.de>
725
726 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
727 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
728 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
729 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
730 * libc/stdio/fseeko.c (fseeko): Ditto.
731 * libc/stdio/ftello.c (ftello): Ditto.
732 * libc/stdio/stdio.c (__swrite): Ditto.
733 (__sseek): Ditto.
734 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
735 * libc/stdio/fseek.c (fseek): Ditto.
736 * libc/stdio/fsetpos.c (fsetpos): Ditto.
737 * libc/stdio/ftell.c (ftell): Ditto.
738 * libc/stdio/local.h: Declare __sseek using _off_t.
739
150c2818
CV
7402003-03-09 Corinna Vinschen <corinna@vinschen.de>
741
742 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
743
2c440f9c
CV
7442003-03-09 Corinna Vinschen <corinna@vinschen.de>
745
746 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
747 Cygwin.
748
f882fd15
CV
7492003-03-09 Corinna Vinschen <corinna@vinschen.de>
750
751 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
752 Cygwin.
753 * libc/include/sys/stat.h: Ditto.
754 * libc/include/sys/unistd.h: Ditto.
755 * libc/sys/cygwin/sys/dirent.h: Ditto.
756
01d61543
CF
7572003-03-07 Christopher Faylor <cgf@redhat.com>
758
759 * libc/include/sys/unistd.h: Guard getopt.h call to force only
760 declaration of getopt and avoid getopt_long declaration.
761 * libc/sys/cygwin/include/unistd.h: Remove.
762
5582abd2
CV
7632003-03-07 Corinna Vinschen <corinna@vinschen.de>
764
765 * configure.host: Define stdio64_dir for Cygwin.
766 * libc/include/stdio.h: Change definition of fpos_t to fulfill
767 Cygwin 64bit file access requirements.
768 Drop definition of f*64() functions when compiled for Cygwin.
769 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
770 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
771 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
772
641da1eb
JJ
7732003-03-07 Jeff Johnston <jjohnstn@redhat.com>
774
775 * libc/include/sys/reent.h: Remove extraneous _sig_func
776 declaration.
777
7782003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
779
780 * libc/sys/h8300hms/Makefile.am: Add support for new files.
781 * libc/sys/h8300hms/Makefile.in: Regenerated.
782 * libc/sys/h8300hms/close.S: New file.
783 * libc/sys/h8300hms/fstat.S: Ditto.
784 * libc/sys/h8300hms/lseek.S: Ditto.
785 * libc/sys/h8300hms/open.S: Ditto.
786 * libc/sys/h8300hms/stat.S: Ditto.
787 * libc/sys/h8300hms/read.S: New file to replace read.c.
788 * libc/sys/h8300hms/read.c: Removed.
789 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
790 _lseek, _close, _stat, _fstat.
791 * libc/sys/h8300hms/write.S: New file to replace write.c.
792 * libc/sys/h8300hms/write.c: Removed.
793
bac50d6b
NC
7942003-02-20 Nick Clifton <nickc@redhat.com>
795
796 * Add support for Cirrus Maverick ARM co-processor:
797
798 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
799
800 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
801 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
802
803 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
804
805 * configure.host: set sys_dir, syscall_dir, and
806 newlib_cflags for ep9312 host.
807
808 * configure.host: Restore alpha sorting of entries in case
809 statements.
810
12ee7037
JJ
8112003-02-19 Jeff Johnston <jjohnstn@redhat.com>
812
813 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
814
1e810ba0
JJ
8152003-02-18 Christian Groessler <chris@groessler.org>
816
817 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
818 support z8001 segmented mode.
819
b1ca765e
JJ
8202003-02-18 Earnie Boyd <earnie@users.sf.net>
821
822 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
823 with a NULL value.
824
51a46b54
CF
8252003-02-10 Christopher Faylor <cgf@redhat.com>
826
827 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
828 Don't define some types under cygwin.
829
313f1349
JJ
8302003-02-07 Jeff Johnston <jjohnstn@redhat.com>
831
832 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
833 option to allow disabling of syscalls being supplied in newlib.
834 * aclocal.m4: Regenerated.
835 * configure: Ditto.
836 * configure.host: Add support of new configuration option and add
837 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
838 * doc/aclocal.m4: Regenerated.
839 * doc/configure: Ditto.
840 * libc/*aclocal.m4: Ditto.
841 * libc/*configure: Ditto.
842 * libm/*aclocal.m4: Ditto.
843 * libm/*configure: Ditto.
844 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
845 is disabled.
846 * libc/sys/arm/Makefile.in: Regenerated.
847
5017a3da
JJ
8482003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
849
850 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
851 -1 to be sure it cannot later match a valid file fd causing
852 isatty() to return 1.
853 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
854 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
855 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
856
ad36f7d1
JJ
8572003-02-03 Jeff Johnston <jjohnstn@redhat.com>
858
859 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
860 buffer based on the precision, after we have processed the input value
861 in a local buffer and know its relative magnitude.
862
a74181ee
JJ
8632003-01-31 Michael Snyder <msnyder@redhat.com>
864
865 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
866 into registers r1 and r2, so that the simulator can distinguish
867 this trap from a breakpoint trap. Copied from libgloss.
868
b85498d4
JJ
8692003-01-31 Michael Snyder <msnyder@redhat.com>
870
871 * libc/sys/h8300hms/crt0.S (_start): Change local label
872 from .loop to .Loop, so that ld and gdb will ignore it.
873
4700b829
JJ
8742003-01-29 Jason Tishler <jason@tishler.net>
875
876 * libc/include/time.h: Declare nanosleep() under Cygwin.
877
0127ae40
NC
8782003-01-24 Nick Clifton <nickc@redhat.com>
879
880 * Add sh2e support:
881
882 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
883
884 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
885 * libc/machine/sh/setjmp.S: Likewise.
886 * libc/include/machine/ieeefp.h: Likewise.
887
8bbcd9a1
CV
8882003-01-24 Corinna Vinschen <corinna@vinschen.de>
889
890 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
891 for Cygwin.
892
b8838e6f
JJ
8932003-01-21 Anita Kulkarni <anitak@kpit.com>
894
895 * libc/time/difftime.c : Typecast the result to double.
896
f9e41155
CF
8972003-01-20 Christopher Faylor <cgf@redhat.com>
898
899 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
900
6b5a7988
NC
9012003-01-18 Nick Clifton <nickc@redhat.com>
902
903 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
904 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
905
c3e92877
JJ
9062003-01-16 Joel Sherrill <joel@OARcorp.com>
907
908 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
909 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
910 constants are defined in each file in the shared versions in
911 libc/include.
912 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
913 autoconf can link programs.
914 * libc/include/machine/types.h: Explicitly specify signed on
915 intXX_t types to ensure they are signed.
916
84510217
CF
9172003-01-14 Christopher Faylor <cgf@redhat.com>
918
919 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
920 extensions.
921
b3934ab3
RS
9222003-01-08 Richard Sandiford <rsandifo@redhat.com>
923
924 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
925
be9c60e5
JJ
9262003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
927
928 * libc/stdio/sprintf.c: fix typo
929 * libc/stdio/vfprintf.c: fix typo
930
d4c3a750
JJ
9312003-01-07 Jeff Johnston <jjohnstn@redhat.com>
932
933 * configure.host: Support long double I/O for x86-linux.
934 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
935 large enough to hold formatted result.
936 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
937
b2294aaa
JJ
9382003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
939
940 * Makefile.am: Add vasprintf.
941 * Makefile.in: Regenerated.
942
ea5e5daf
JJ
9432003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
944
945 * asprintf.c (_asprintf_r): insure both declarations
946 are the same.
947
5c581eca
CF
9482002-12-28 Christopher Faylor <cgf@redhat.com>
949
950 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
951 than defining getopt directly.
952
60b0838f
JJ
9532002-12-20 Jeff Johnston <jjohnstn@redhat.com>
954
955 * NEWS: Update with 1.11.0 info.
956 * README: Ditto.
957 * acinclude.m4: Change version number to 1.11.0.
958 * aclocal.m4: Regenerated.
959 * configure: Ditto.
960 * doc/aclocal.m4: Ditto.
961 * doc/configure: Ditto.
962 * libc/*/aclocal.m4: Ditto.
963 * libc/*/configure: Ditto.
964 * libc/libc.texinfo: Ditto.
965 * libm/*/aclocal.m4: Ditto.
966 * libm/*/configure: Ditto.
967 * libm/libm.texinfo: Ditto.
968 * libc/sys/linux/shared.ld: Add VERS_1.11.
969
10501d57
JJ
9702002-12-20 Jeff Johnston <jjohnstn@redhat.com>
971
972 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
973 Solutions to Red Hat Inc.
974 * libc/machine/i386/f_atan2f.S: Ditto.
975 * libc/machine/i386/f_exp.c: Ditto.
976 * libc/machine/i386/f_expf.c: Ditto.
977 * libc/machine/i386/f_frexp.S: Ditto.
978 * libc/machine/i386/f_frexpf.S: Ditto.
979 * libc/machine/i386/f_ldexp.S: Ditto.
980 * libc/machine/i386/f_ldexpf.S: Ditto.
981 * libc/machine/i386/f_log.S: Ditto.
982 * libc/machine/i386/f_log10.S: Ditto.
983 * libc/machine/i386/f_log10f.S: Ditto.
984 * libc/machine/i386/f_logf.S: Ditto.
985 * libc/machine/i386/f_pow.c: Ditto.
986 * libc/machine/i386/f_powf.c: Ditto.
987 * libc/machine/i386/f_tan.S: Ditto.
988 * libc/machine/i386/f_tanf.S: Ditto.
989 * libc/machine/i386/memchr.S: Ditto.
990 * libc/machine/i386/memcmp.S: Ditto.
991 * libc/machine/i386/memcpy.S: Ditto.
992 * libc/machine/i386/memmove.S: Ditto.
993 * libc/machine/i386/memset.S: Ditto.
994 * libc/machine/i386/strchr.S: Ditto.
995 * libc/machine/i386/strlen.S: Ditto.
996 * libm/machine/i386/f_atan2.S: Ditto.
997 * libm/machine/i386/f_atan2f.S: Ditto.
998 * libm/machine/i386/f_exp.c: Ditto.
999 * libm/machine/i386/f_expf.c: Ditto.
1000 * libm/machine/i386/f_frexp.S: Ditto.
1001 * libm/machine/i386/f_frexpf.S: Ditto.
1002 * libm/machine/i386/f_ldexp.S: Ditto.
1003 * libm/machine/i386/f_ldexpf.S: Ditto.
1004 * libm/machine/i386/f_log.S: Ditto.
1005 * libm/machine/i386/f_log10.S: Ditto.
1006 * libm/machine/i386/f_log10f.S: Ditto.
1007 * libm/machine/i386/f_logf.S: Ditto.
1008 * libm/machine/i386/f_pow.c: Ditto.
1009 * libm/machine/i386/f_powf.c: Ditto.
1010 * libm/machine/i386/f_tan.S: Ditto.
1011 * libm/machine/i386/f_tanf.S: Ditto.
1012
9b3f0d16
JJ
10132002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1014
1015 * libc/stdlib/environ.c: Update license to Red Hat.
1016 * libc/machine/hppa/setjmp.S: Ditto.
1017 * libm/test/Makefile.in: Ditto.
1018
d693ad84
JJ
10192002-12-19 Jeff Johnston <jjohnstn@redhat.com>
1020
1021 * configure.host: Remove references to go32.
1022 * libc/sys/go32/*: Removed.
1023
7da92d15
JJ
10242002-12-16 Kazu Hirata <kazu@cs.umass.edu>
1025
1026 * libc/include/sys/config.h: Change setting of INT_MAX
1027 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
1028 __H8300S__. Also consolidate flag settings for these
1029 platforms.
1030
ea01c7f5
JJ
10312002-12-10 Joel Sherrill <joel@OARcorp.com>
1032
1033 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
1034 for i386-rtems targets.
1035
c049dd5a
JJ
10362002-12-06 Jeff Johnston <jjohnstn@redhat.com>
1037
1038 * libc/include/stdlib.h (strtof): New prototype (from C99).
1039 (strtodf): Changed from prototype to macro which redefines
1040 to strtof.
1041 * libc/stdlib/atof.c: Change documentation to refer to strtof
1042 instead of strtodf.
1043 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
1044 strtodf.
1045 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
1046 (strtof): New function.
1047 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
1048 calls strtof.
1049
46a402e0
CF
10502002-11-27 Christopher Faylor <cgf@redhat.com>
1051
1052 * libc/string/memset.c (memset): Fix comment.
1053
b3cc01b0
CF
10542002-11-26 Christopher Faylor <cgf@redhat.com>
1055
1056 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
1057 function.
1058
d90f3dc1
CF
10592002-11-25 Christopher Faylor <cgf@redhat.com>
1060
1061 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
1062 variable, introduced below, everywhere.
1063
f24585c6
KH
10642002-11-25 Kazu Hirata <kazu@cs.umass.edu>
1065
1066 * libc/string/memset.c (memset): Make it safe even if
1067 sizeof (int) = 2.
1068
2955fd76
JJ
10692002-11-22 Joe Buehler <jbuehler@hekimian.com>
1070
1071 * configure.in: Change check for libc/include in ${CC} to
1072 use an intermediate value so as to work with different shells.
1073 * configure: Regenerated.
1074 * Makefile.in: Ditto.
1075
40ce7368
JJ
10762002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
1077
1078 * libc/sys/h8300hms/read.c: Add support for normal mode
1079 architecture.
1080
505746ad
JJ
10812002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
1082
1083 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
1084 code for __H8300H__ and __H8300S__. Also return 32-bit return code
1085 when -mint32 is used.
1086
28ecb2f5
NC
10872002-11-18 Nick Clifton <nickc@redhat.com>
1088
1089 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
1090
665b994e
JJ
10912002-11-14 Jeff Johnston <jjohnstn@redhat.com>
1092
1093 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
1094 only issue one pass/fail message for a compile/link/execute.
1095 * testsuite/newlib.elix/elix.exp: New file.
1096 * testsuite/newlib.elix/tmmap.c: Ditto.
1097
e91ec2e3
CF
10982002-11-06 Christopher Faylor <cgf@redhat.com>
1099
1100 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
1101 * libc/stdlib/mlock.c: Ditto.
1102 * libc/stdlib/msize.c: Ditto.
1103 * libc/stdlib/msize.c: Ditto.
1104 * libc/stdlib/mtrim.c: Ditto.
1105 * libc/stdlib/valloc.c: Ditto.
1106
944772c7
JJ
11072002-11-12 Jeff Johnston <jjohnstn@redhat.com>
1108
1109 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
1110 for inf/nan, make sure that the check ignores the sign bit.
1111
dd7ee147
JJ
11122002-11-07 Joel Sherrill <joel@OARcorp.com>
1113
1114 * libc/sys/rtems/machine: New directory.
1115 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
1116 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
1117 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
1118 targets more BSD like when installed without requiring files to
1119 be overwritten at install point when RTEMS itself is installed.
1120 * Makefile.am: Pick up system dependent machine .h files such as
1121 might be found on a BSD-ish system.
1122 * Makefile.in: Regenerate.
1123 * libc/include/machine/types.h: When on an RTEMS target, define a
1124 few BSD flavor types.
1125
11262002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
1127
1128 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
1129
18cd62b7
JJ
11302002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1131
1132 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
1133 * libc/include/wctype.h: Ditto.
1134
d2888812
JJ
11352002-11-04 Jeff Johnston <jjohnstn@redhat.com>
1136
1137 * libc/include/wchar.h: Add extern "C" specifier if C++.
1138 * libc/include/wctype.h: Ditto.
1139
978ea3cf
JJ
11402002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1141
1142 * testsuite/newlib.wctype/tiswctype.c: New test case.
1143 * testsuite/newlib.wctype/twctrans.c: Ditto.
1144
a42cf80a
JJ
11452002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1146
1147 * libc/sys/linux/machine/i386/include/endian.h: New file.
1148 * libc/sys/linux/machine/i386/include/param.h: Ditto.
1149
c9ccb1f2
JJ
11502002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1151
1152 * libm/machine/i386/aclocal.m4: Regenerated.
1153 * libm/machine/i386/configure: Ditto.
1154
94c5b430
JJ
11552002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1156
1157 * testsuite/include/check.h: New header file to use with
1158 test cases.
1159 * testsuite/lib/newlib.exp: Add testsuite/include directory
1160 to list of header files to use.
1161 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
1162 * testsuite/newlib.wctype/wctype.exp: New file.
1163
ccdae543
RS
11642002-10-11 Graham Stott <graham.stott@btinternet.com>
1165 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
1166
1167 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
1168 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
1169 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
1170
73972116
JS
11712002-10-07 Joel Sherrill <joel@OARcorp.com>
1172
1173 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
1174 dummy programs.
1175
89e3fcba
JS
11762002-10-07 Joel Sherrill <joel@OARcorp.com>
1177
1178 * libc/include/pthread.h: Define PTHREAD_CANCELED.
1179
54ec52e4
JS
11802002-10-07 Joel Sherrill <joel@OARcorp.com>
1181
1182 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
1183 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
1184 compile with current GNU tools.
1185
d389acba
JJ
11862002-10-07 Jeff Johnston <jjohnstn@redhat.com>
1187
1188 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
1189 the build library.
1190 * configure.in: Ditto.
1191 * Makefile.in: Regenerated.
1192 * configure: Ditto.
1193 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
1194 for specifying configured libraries/directories.
1195 * libc/sys/linux/configure.in: Ditto.
1196 * libc/sys/linux/Makefile.in: Regenerated.
1197 * libc/sys/linux/configure: Ditto.
1198
af5a221f
JJ
11992002-10-03 Jeff Johnston <jjohnstn@redhat.com>
1200
1201 * libc/include/reent.h: Update documentation at start of file.
1202
59a758bd
JW
12032002-09-27 Jim Wilson <wilson@redhat.com>
1204
1205 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
1206 the ctbp register.
1207
1ed3c86d
JJ
12082002-09-27 Jeff Johnston <jjohnstn@redhat.com>
1209
1210 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
1211 Also convert to EUCJP before using arrays. For values not in
1212 the conversion arrays, return WEOF.
1213 * libc/ctype/jp2uc.h: Change from one array to a number of
1214 arrays to account for the fact that the originating table
1215 is not contiguous for the input values since some are invalid.
1216
6e1dfd2d
JJ
12172002-09-24 Jeff Johnston <jjohnstn@redhat.com>
1218
1219 * libc/time/ctime.c: Fix prototype documentation.
1220
06f1353a
CV
12212002-09-24 Corinna Vinschen <corinna@vinschen.de>
1222
1223 * libc/include/sys/errno.h: Add EOVERFLOW.
1224
1e0e64c9
JJ
12252002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1226
1227 * libc/include/wctype.h: New file.
1228
1525d127
JJ
12292002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1230
1231 * libc/ctype/Makefile.am: Add new files.
1232 * libc/ctype/Makefile.in: Regenerated.
1233 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
1234 and wctrans functions to documentation index.
1235 * libc/ctype/iswalnum.c: New file.
1236 * libc/ctype/iswalpha.c: Ditto.
1237 * libc/ctype/iswblank.c: Ditto.
1238 * libc/ctype/iswcntrl.c: Ditto.
1239 * libc/ctype/iswctype.c: Ditto.
1240 * libc/ctype/iswdigit.c: Ditto.
1241 * libc/ctype/iswgraph.c: Ditto.
1242 * libc/ctype/iswlower.c: Ditto.
1243 * libc/ctype/iswprint.c: Ditto.
1244 * libc/ctype/iswpunct.c: Ditto.
1245 * libc/ctype/iswspace.c: Ditto.
1246 * libc/ctype/iswupper.c: Ditto.
1247 * libc/ctype/iswxdigit.c: Ditto.
1248 * libc/ctype/jp2uc.c: Ditto.
1249 * libc/ctype/jp2uc.h: Ditto.
1250 * libc/ctype/local.h: Ditto.
1251 * libc/ctype/towctrans.c: Ditto.
1252 * libc/ctype/towlower.c: Ditto.
1253 * libc/ctype/towupper.c: Ditto.
1254 * libc/ctype/utf8alpha.h: Ditto.
1255 * libc/ctype/utf8print.h: Ditto.
1256 * libc/ctype/utf8punct.h: Ditto.
1257 * libc/ctype/wctrans.c: Ditto.
1258 * libc/ctype/wctype.c: Ditto.
1259 * libc/locale/locale.c (__lc_ctype): New external array to
1260 replace static lc_ctype array.
1261 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
1262 rather than reentrancy structure's _current_locale field.
1263 * libc/stdlib/wctomb_r.c: Ditto.
1264
da25e61f
JJ
12652002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1266
1267 * configure.host: Minor comment and formatting changes.
1268 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
1269 * libc/Makefile.in: Regenerated.
1270 * libc/include/sys/config.h: Minor format change.
1271
5b9ee539
JJ
12722002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1273
1274 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
1275 statement comment.
1276
50558bf3
JJ
12772002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1278
1279 * libc/posix/opendir.c (opendir): Change code to check
1280 for HAVE_FCNTL before calling fcntl.
1281 * libc/search/hash.c (hash_open): Ditto.
1282 * libc/search/hash_page.c (open_tmp): Ditto.
1283 * libc/reent/Makefile.am: Add fcntlr.c.
1284 * libc/reent/Makefile.in: Regenerated.
1285 * libc/reent/fcntlr.c: New file.
1286 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
1287 instead of _fcntl when HAVE_FCNTL flag is set.
1288 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
1289 to see if _fcntl or _fcntl_r should be called. If flag is not
1290 set, default to ENOSYS stub.
1291
9211a1ad
JJ
12922002-09-16 Jeff Johnston <jjohnstn@redhat.com>
1293
1294 * libc/include/wchar.h (mbstate_t): Change protective flag to
1295 be _MBSTATE_T.
1296 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
1297 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
1298 for Cygwin.
1299 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
1300
a8615092
JJ
13012002-09-11 Jeff Johnston <jjohnstn@redhat.com>
1302
1303 * acinclude.m4 (enable-newlib-mb): Change check to
1304 default newlib_mb variable to empty string rather than "no".
1305 * configure.host: Remove hard-coding of -DMB_CAPABLE for
1306 x86-linux and Cygwin. Add code to check for newlib_mb
1307 being unset in which case set to "yes" for x86-linux and
1308 Cygwin. Change check for newlib_mb being "yes" to allow
1309 for an empty string.
1310 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
1311 * newlib.hin (_MB_LEN_MAX): New define to configure.
1312 * aclocal.m4: Regenerated.
1313 * configure: Ditto.
1314 * libc/include/limits.h: New file.
1315 * libc/sys/linux/include/limits.h: Ditto.
1316 * doc/aclocal.m4 doc/configure libc/aclocal.m4
1317 libc/configure libc/include/%redact libc/machine/aclocal.m4
1318 libc/machine/configure libc/machine/a29k/aclocal.m4
1319 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1320 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1321 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1322 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1323 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
1324 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
1325 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1326 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1327 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1328 libc/machine/i386/configure libc/machine/i960/aclocal.m4
1329 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1330 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
1331 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
1332 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1333 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1334 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1335 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1336 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1337 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1338 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
1339 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1340 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
1341 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
1342 libc/machine/v850/configure libc/machine/w65/aclocal.m4
1343 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
1344 libc/machine/xscale/configure
1345 libc/machine/xstormy16/aclocal.m4
1346 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
1347 libc/machine/z8k/configure libc/sys/aclocal.m4
1348 libc/sys/configure libc/sys/a29khif/aclocal.m4
1349 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
1350 libc/sys/arc/configure libc/sys/arm/aclocal.m4
1351 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
1352 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
1353 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
1354 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
1355 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
1356 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
1357 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
1358 libc/sys/idt/configure libc/sys/linux/aclocal.m4
1359 libc/sys/linux/configure libc/sys/linux/include/%redact
1360 libc/sys/linux/machine/aclocal.m4
1361 libc/sys/linux/machine/configure
1362 libc/sys/linux/machine/i386/aclocal.m4
1363 libc/sys/linux/machine/i386/configure
1364 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1365 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
1366 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1367 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1368 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1369 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1370 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1371 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1372 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1373 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1374 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1375 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1376 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1377 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1378 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1379 libm/aclocal.m4 libm/configure: Regenerated.
1380
be83844e
JJ
13812002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1382
1383 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
1384 code that clears the .bss section.
1385
9c64d2a7
JJ
13862002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1387
1388 * libc/include/sys/_types.h (_mbstate_t): Changed to use
1389 unsigned char internally.
1390 * libc/sys/linux/sys/_types.h: Ditto.
1391 * libc/include/sys/reent.h
1392 * libc/stdlib/mblen.c (mblen): Use function-specific state
1393 value from default reentrancy structure.
1394 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
1395 _mbtowc_r is less than 0, reset state __count value and
1396 return -1.
1397 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
1398 is NULL, use the function-specific pointer provided in the
1399 default reentrancy structure.
1400 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
1401 If input state pointer is NULL, use function-specific area
1402 provided in reentrancy structure.
1403 * libc/stdlib/mbsrtowcs.c: Ditto.
1404 * libc/stdlib/wcrtomb.c: Ditto.
1405 * libc/stdlib/wcsrtombs.c: Ditto.
1406 * libc/stdlib/mbstowcs.c: Reformat.
1407 * libc/stdlib/wcstombs.c: Ditto.
1408 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
1409 reset the state's __count value and return -1.
1410 * libc/stdlib/mbtowc.c: Ditto.
1411 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
1412 If number of bytes is used up before completing a valid multibyte
1413 character, return -2 and save the state.
1414 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
1415 and change some __count references to __state for clarity.
1416
218b7a56
JJ
14172002-09-06 Jeff Johnston <jjohnstn@redhat.com>
1418
1419 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
1420 is defined by <limits.h>.
1421
c210a6ea
JJ
14222002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1423
1424 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
1425 defined.
1426
efa077ce
JJ
14272002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1428
1429 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
1430 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
1431 __WCHAR_MAX__ or 0x7fffffffu.
1432 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
1433 * libc/string/wcsncmp.c: Ditto.
1434
e4b0ebc1
JJ
14352002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1436
1437 * libc/string/wcschr.c: Add include of <stddef.h>.
1438 * libc/string/wcspbrk.c: Ditto.
1439 * libc/string/wcsrchr.c: Ditto.
1440 * libc/string/wcsstr.c: Ditto.
1441
3db40db7
JJ
14422002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * libc/include/sys/_types.h (_flock_t): Added.
1445 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
1446 (__lock_try_acquire_recursive): Ditto.
1447 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
1448 _lock field.
1449 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
1450 field.
1451 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
1452 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
1453 * libc/sys/linux/include/time.h (struct timespec): Moved from
1454 <sys/types.h> and added check for __need_timespec flag so type
1455 can be defined by itself.
1456 * libc/sys/linux/sys/_types.h (_flock_t): New type.
1457 * libc/sys/linux/sys/types.h (struct timespec): Moved to
1458 <time.h>.
1459
cd45f029
TF
14602002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1461
1462 * libc/sys/linux/argp: New directory.
1463 * libc/sys/linux/getopt.c: New file.
1464 * libc/sys/linux/getopt1.c: New file.
1465 * libc/sys/linux/getoptlong.c: Remove file.
1466 * libc/sys/linux/include/argp.h: New file.
1467 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
1468 based on ELIX level.
1469 (SUBDIRS): Add argp_dir.
1470 (SUBLIBS): Add ARGP_LIB.
1471 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
1472 getopt_long.$(oext).
1473 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
1474
3c689185
JJ
14752002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1476
1477 * libc/libc.texinfo: Add node reference to wide-character strings.
1478 * libc/string/wcstrings.tex: New file.
1479 * libc/string/strtok_r.c: Remove outdated advertising clause.
1480 * libc/string/Makefile.am (doc): Add wide-character string
1481 chapter to documentation.
1482 * libc/string/Makefile.in: Regenerated.
1483
890e7a1d
JJ
14842002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1485
1486 * libc/include/wchar.h: Define NULL. Define WEOF more general
1487 way. Declare functions in newlib manner.
1488 * libc/stdlib/Makefile.am: Delete wmem*.c
1489 * libc/stdlib/Makefile.in: Regenerated.
1490 * libc/stdlib/wmemchr.c: Delete.
1491 * libc/stdlib/wmemcmp.c: Ditto.
1492 * libc/stdlib/wmemcpy.c: Ditto.
1493 * libc/stdlib/wmemmove.c: Ditto.
1494 * libc/stdlib/wmemset.c: Ditto.
1495 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
1496 * libc/string/Makefile.in: Regenerated.
1497 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
1498 * libc/string/wcschr.c: Ditto.
1499 * libc/string/wcscmp.c: Ditto.
1500 * libc/string/wcscpy.c: Ditto.
1501 * libc/string/wcscspn.c: Ditto.
1502 * libc/string/wcslcat.c: Ditto.
1503 * libc/string/wcslcpy.c: Ditto.
1504 * libc/string/wcslen.c: Ditto.
1505 * libc/string/wcsncat.c: Ditto.
1506 * libc/string/wcsncmp.c: Ditto.
1507 * libc/string/wcsncpy.c: Ditto.
1508 * libc/string/wcspbrk.c: Ditto.
1509 * libc/string/wcsrchr.c: Ditto.
1510 * libc/string/wcsspn.c: Ditto.
1511 * libc/string/wcsstr.c: Ditto.
1512 * libc/string/wmemchr.c: Ditto.
1513 * libc/string/wmemcmp.c: Ditto.
1514 * libc/string/wmemcpy.c: Ditto.
1515 * libc/string/wmemmove.c: Ditto.
1516 * libc/string/wmemset.c: Ditto.
1517
86620e21
JJ
15182002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1519
1520 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
1521 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
1522 and is treated as if "C" was specified.
1523
f3741c27
JJ
15242002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1525
1526 * Makefile.am (install-data-local): Move install of build
1527 newlib.h after installing headers in libc/include so as to
1528 overwrite default newlib.h.
1529 * Makefile.in: Regenerated.
1530
48da61f5
JJ
15312002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1532
1533 * libc/include/newlib.h: New file for tools that use newlib
1534 headers but don't build newlib first (e.g. gcc).
1535
d82a94ac
JJ
15362002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1537
1538 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
1539 * libc/stdlib/wmemcmp.c: Ditto.
1540 * libc/stdlib/wmemcpy.c: Ditto.
1541 * libc/stdlib/wmemmove.c: Ditto.
1542 * libc/stdlib/wmemset.c: Ditto.
1543
7d08241b
JJ
15442002-08-27 Egor Duda <deo@logos-m.ru>
1545
1546 * libc/stdlib/wmemchr.c: New file.
1547 * libc/stdlib/wmemcmp.c: Ditto.
1548 * libc/stdlib/wmemcpy.c: Ditto.
1549 * libc/stdlib/wmemmove.c: Ditto.
1550 * libc/stdlib/wmemset.c: Ditto.
1551 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
1552 * configure.host: Default -DMB_CAPABLE for cygwin.
1553 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
1554 wmemmove() and wmemset(). Add include of <_ansi.h>.
1555 * libc/stdlib/Makefile.in: Regenerate.
1556
8da1639b
JJ
15572002-08-27 Jeff Johnston <jjohnstn@redhat.com>
1558
ff2bf852 1559 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
1560 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
1561 (install-data-local): Install newlib.h.
1562 * Makefile.in: Regenerated.
1563 * aclocal.m4: Ditto.
1564 * configure: Ditto.
1565 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
1566 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
1567 and _NEWLIB_VERSION to fill in newlib.h header file entries.
1568 In AC_OUTPUT statement, unset ac_file so multilib support does
1569 not use last ac_file temporary used in newlib.h configuration.
1570 * libc/include/_ansi.h: Include <newlib.h>.
1571 * newlib.hin: New template file for newlib.h.
1572 * stamp-h.in: New file.
1573
a4421c11
JJ
15742002-08-26 Wu Yongwei <adah@netstd.com>
1575
1576 * time.h (timezonevar): Change "#if" to "#ifdef".
1577
90b65e2d
JJ
15782002-08-26 Jeff Johnston <jjohnstn@redhat.com>
1579
1580 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
1581 * Makefile.in: Regenerated.
1582 * acinclude.m4: Add support for --enable-newlib-elix-level option.
1583 * aclocal.m4: Regenerated.
1584 * configure: Ditto.
1585 * configure.host: Add code to define _ELIX_LEVEL if
1586 --enable-newlib-elix-level option is used.
1587 * configure.in:
1588 * libc/aclocal.m4: Regenerated.
1589 * libc/configure: Ditto.
1590 * libc/argz/Makefile.am: Add EL/IX level checking.
1591 * libc/argz/Makefile.in: Regenerated.
1592 * libc/argz/dummy.c: New file.
1593 * libc/ctype/Makefile.am: Add EL/IX level checking.
1594 * libc/ctype/Makefile.in: Regenerated.
1595 * libc/locale/Makefile.am: Add EL/IX level checking.
1596 * libc/locale/Makefile.in: Regenerated.
1597 * libc/posix/Makefile.am: Add EL/IX level checking.
1598 * libc/posix/Makefile.in: Regenerated.
1599 * libc/posix/telldir.c: Add EL/IX level checking.
1600 * libc/reent/Makefile.am: Ditto.
1601 * libc/reent/fstat64r.c: Ditto.
1602 * libc/reent/lseek64r.c: Ditto.
1603 * libc/reent/open64r.c: Ditto.
1604 * libc/reent/Makefile.in: Regenerated.
1605 * libc/search/Makefile.am: Add EL/IX level checking.
1606 * libc/search/Makefile.in: Regenerated.
1607 * libc/stdio/Makefile.am: Add EL/IX level checking.
1608 * libc/stdio/Makefile.in: Regenerated.
1609 * libc/stdio64/Makefile.am: Add EL/IX level checking.
1610 * libc/stdio64/Makefile.in: Regenerated.
1611 * libc/stdio64/dummy.c: New file.
9b487837 1612 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
1613 after first include.
1614 * libc/stdio64/fopen64.c: Ditto.
1615 * libc/stdio64/freopen64.c: Ditto.
1616 * libc/stdio64/fseeko64.c: Ditto.
1617 * libc/stdio64/fsetpos64.c: Ditto.
1618 * libc/stdio64/ftello64.c: Ditto.
1619 * libc/stdio64/tmpfile64.c: Ditto.
1620 * libc/stdlib/Makefile.am: Add EL/IX level checking.
1621 * libc/stdlib/Makefile.in: Regenerated.
1622 * libc/stdlib/mstats.c: Add EL/IX level checking.
1623 * libc/string/Makefile.am: Ditto.
1624 * libc/string/Makefile.in: Regenerated.
1625 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
1626 * libc/sys/linux/Makefile.in: Regenerated.
1627 * libc/sys/linux/aclocal.m4: Ditto.
1628 * libc/sys/linux/configure: Ditto.
1629 * libc/sys/linux/aio.c: Add EL/IX level checking.
1630 * libc/sys/linux/ftok.c: Ditto.
1631 * libc/sys/linux/getdate.c: Ditto.
1632 * libc/sys/linux/ids.c: Ditto.
1633 * libc/sys/linux/inode.c: Ditto.
1634 * libc/sys/linux/io.c: Ditto.
1635 * libc/sys/linux/process.c: Ditto.
1636 * libc/sys/linux/resource.c: Ditto.
1637 * libc/sys/linux/sched.c: Ditto.
1638 * libc/sys/linux/sig.c: Ditto.
1639 * libc/sys/linux/termios.c: Ditto.
1640 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
1641 __libc___waitpid weak aliases.
1642 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
1643 that generate the code for a syscall, but do not create a
1644 weak alias.
1645 * libc/syscalls/Makefile.am: Add EL/IX level checking.
1646 * libc/syscalls/Makefile.in: Regenerated.
1647 * libc/time/tzset_r.c: Change to replace strdup with equivalent
1648 functionality.
1649 * libc/unix/Makefile.am: Add EL/IX level checking.
1650 * libc/unix/Makefile.in: Regenerated.
1651
2e2b268c
CF
16522002-08-26 Christopher Faylor <cgf@redhat.com>
1653
1654 * libc/include/malloc.h: On cygwin, define malloc _r functions as
1655 wrapper macros to standard malloc functions.
1656 * libc/include/stdlib.h: Ditto.
1657 * configure.host: Always define MALLOC_PROVIDED on cygwin.
1658
8d9112f2
TF
16592002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1660
1661 * libc/include/langinfo.h: New file.
1662 * libc/include/wchar.h: Likewise.
1663 * libc/include/sys/syslimits.h: Likewise.
1664 * libc/locale/fix_grouping.c: Likewise.
1665 * libc/locale/ldpart.c: Likewise.
1666 * libc/locale/ldpart.h: Likewise.
1667 * libc/locale/lmessages.c: Likewise.
1668 * libc/locale/lmessages.h: Likewise.
1669 * libc/locale/lmonetary.c: Likewise.
1670 * libc/locale/lmonetary.h: Likewise.
1671 * libc/locale/lnumeric.c: Likewise.
1672 * libc/locale/lnumeric.h: Likewise.
1673 * libc/locale/nl_langinfo.3: Likewise.
1674 * libc/locale/nl_langinfo.c: Likewise.
1675 * libc/locale/timelocal.c: Likewise.
1676 * libc/locale/timelocal.h: Likewise.
1677 * libc/stdlib/btowc.c: Likewise.
1678 * libc/stdlib/mbrlen.c: Likewise.
1679 * libc/stdlib/mbrtowc.c: Likewise.
1680 * libc/stdlib/mbsinit.c: Likewise.
1681 * libc/stdlib/mbsrtowcs.c: Likewise.
1682 * libc/stdlib/wcrtomb.c: Likewise.
1683 * libc/stdlib/wcsrtombs.c: Likewise.
1684 * libc/stdlib/wctob.c: Likewise.
1685 * libc/sys/linux/prof-freq.c: Likewise.
1686 * libc/sys/linux/profile.c: Likewise.
1687 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
1688 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
1689 * libc/include/stdlib.h: Change re-entrant functions to take
1690 mbstate_t pointers.
1691 * libc/include/sys/_types.h: Define _mbstate_t.
1692 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
1693 * libc/include/sys/errno.h (EILSEQ): New error code.
1694 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
1695 structure to use mbstate_t.
1696 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
1697 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
1698 * libc/machine/powerpc/vfscanf.c: Likewise.
1699 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
1700 * libc/stdio/vfprintf.c: Likewise.
1701 * libc/stdio/vfscanf.c: Likewise.
1702 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
1703 * libc/stdlib/mblen.c: Use mbstate_t.
1704 * libc/stdlib/mblen_r.c: Likewise.
1705 * libc/stdlib/mbstowcs.c: Likewise.
1706 * libc/stdlib/mbstowcs_r.c: Likewise.
1707 * libc/stdlib/mbtowc.c: Likewise.
1708 * libc/stdlib/mbtowc_r.c: Likewise.
1709 * libc/stdlib/wcstombs.c: Likewise.
1710 * libc/stdlib/wcstombs_r.c: Likewise.
1711 * libc/stdlib/wctomb_r.c: Likewise.
1712 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
1713 profile.c.
1714 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
1715 dl-procinfo.c.
1716 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
1717 * libc/sys/linux/sys/types.h (off_t): Define type.
1718 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
1719 to C-UTF-8.
1720 * testsuite/newlib.locale/UTF-8.exp: Likewise.
1721
fe47ea33
JJ
17222002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
1723
1724 * libc/stdlib/mallocr.c: #include windows.h on Win32.
1725 (AlignPage): Continue macro on next line.
1726
ada73509
JJ
17272002-08-19 Jeff Johnston <jjohnstn@redhat.com>
1728
1729 * libc/sys/linux/include/pthread.h: New file.
1730
64b5e8f2
JJ
17312002-08-19 Jeff Johnston <jjohnstn@redhat.com>
1732
1733 * libc/include/sys/types.h: Support __need_inttypes macro
1734 that only sets the __intxx and __uintxx types.
1735 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
1736 to get mprec.h.
1737 * libc/machine/powerpc/Makefile.in: Regenerated.
1738 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
1739 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
1740 redundant fixed-point conversion prototypes.
1741 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
1742 after setting __need_inttypes.
1743
a94b60ce
CF
17442002-08-18 Christopher Faylor <cgf@redhat.com>
1745
1746 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
1747
29e17a86
JJ
17482002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1749
1750 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
1751 _LONG_DOUBLE to double.
1752
936b520f
JJ
17532002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1754
1755 * configure.host: Add powerpc*-*-eabispe* configuration.
1756 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
1757 * libc/machine/powerpc/atosfix32.c: Ditto.
1758 * libc/machine/powerpc/atosfix64.c: Ditto.
1759 * libc/machine/powerpc/atoufix16.c: Ditto.
1760 * libc/machine/powerpc/atoufix32.c: Ditto.
1761 * libc/machine/powerpc/atoufix64.c: Ditto.
1762 * libc/machine/powerpc/fix64.h: Ditto.
1763 * libc/machine/powerpc/simdldtoa.c: Ditto.
1764 * libc/machine/powerpc/strtosfix16.c: Ditto.
1765 * libc/machine/powerpc/strtosfix32.c: Ditto.
1766 * libc/machine/powerpc/strtosfix64.c: Ditto.
1767 * libc/machine/powerpc/strtoufix16.c: Ditto.
1768 * libc/machine/powerpc/strtoufix32.c: Ditto.
1769 * libc/machine/powerpc/strtoufix64.c: Ditto.
1770 * libc/machine/powerpc/ufix64toa.c: Ditto.
1771 * libc/machine/powerpc/configure.in: Add check for
1772 powerpc*-eabispe and add fixed-point conversion functions.
1773 * libc/machine/powerpc/configure: Regenerated.
1774 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
1775 %r and %R format specifiers which handle fixed-point data.
1776 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
1777 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
1778 function prototypes.
1779
ad552766
JJ
17802002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1781
1782 * Makefile.am: Move cmath stuff into libc/sys/linux.
1783 * Makefile.in: Regenerated.
1784 * configure.host: Default -DMB_CAPABLE for x86-linux.
1785 * libc/include/reent.h: Define _sbrk to take signed int argument.
1786 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
1787 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
1788 make locale name checking more efficient. Also allow "C-ISO-8859-1"
1789 locale for LC_CTYPE and LC_MESSAGES.
1790 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
1791 * libc/sys/linux/brk.c: Change sbrk prototype.
1792 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
1793 include <sys/features.h>.
1794 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
1795 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
1796 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
1797 with a few local additions.
1798 * libc/sys/linux/sys/features.h: New file.
1799 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
1800 to take signed argument.
1801 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
1802 prototypes to take signed size argument.
1803
d3bd3632
TF
18042002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1805
1806 * libc/sys/linux/cmath: New directory.
1807 * libc/sys/linux/include/cmathcalls.h: New file.
1808 * libc/sys/linux/include/complex.h: New file.
1809 * libc/sys/linux/machine/i386/huge_val.h: New file
1810 * libm/math/w_sincos.c: New file
1811 * libm/math/wf_sincos.c: New file
1812 * libm/mathfp/s_sincos.c: New file
1813 * libm/mathfp/sf_sincos.c: New file
1814 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
1815 * libc/include/math.h: Add sincos and sincosf declarations.
1816 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
1817 (SUBLIBS): Likewise.
1818 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
1819 * libm/math/Makefile.am (src): Add w_sincos.c.
1820 (fsrc): Add wf_sincos.c.
1821 * libm/mathfp/Makefile.am (src): Add s_sincos.c
1822 (fsrc): Add sf_sincos.c.
1823
b3a9676b
JJ
18242002-08-12 Jeff Johnston <jjohnstn@redhat.com>
1825
1826 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
1827 Declare as extern chars and use the address operator to
1828 properly use values set in linker script.
1829
659e7062
JJ
18302002-08-09 Jason Tishler <jason@tishler.net>
1831
1832 * libc/stdlib/mallocr.c: Include <limits.h>.
1833 (request2size): Change macro to do
1834 unsigned long comparisons and avoid signed overflow.
1835 (mALLOc): Add overflow check for the number of bytes to allocate.
1836 (rEALLOc): Ditto.
1837
037240a2
JJ
18382002-08-09 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * configure.host: Add check for --enable-newlib-io-pos-args
1841 and define WANT_IO_POS_ARGS flag if enabled. Define
1842 the flag by default for x86-linux configurations.
1843 * configure.in: Add support for --enable-newlib-io-pos-args.
1844 * libc/configure.in: Ditto.
1845 * configure: Regenerated.
1846 * libc/configure: Ditto.
1847 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
1848 vfprintf.c and vfiprintf.c.
1849 * libc/stdio/Makefile.in: Regenerated.
1850 * libc/stdio/vfprintf.c: Add positional argument support that
1851 is enabled by compiling with -DWANT_IO_POS_ARGS.
1852
172fda76
RS
18532002-08-07 Richard Sandiford <rsandifo@redhat.com>
1854
1855 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
1856 based on __mips_soft_float rather than __mips64.
1857 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
1858 of both 32-bit and 64-bit code.
1859
4866247e
CF
18602002-08-04 Christopher Faylor <cgf@redhat.com>
1861
1862 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
1863 arguments for popen to match similar functionality in fopen.
1864
b96332ce
CV
18652002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
1866
1867 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
1868
60d99bce
JJ
18692002-07-29 Jeff Johnston <jjohnstn@redhat.com>
1870
1871 * libc/sys/linux/Makefile.am: Add aio64.c.
1872 * libc/sys/linux/Makefile.in: Regenerated.
1873 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
1874 * libc/sys/linux/aio64.c: New file.
1875
80a21be0
JJ
18762002-07-26 Jeff Johnston <jjohnstn@redhat.com>
1877
1878 * libc/include/sys/param.h (MAX, MIN): Added macros.
1879 * libc/sys/linux/Makefile.am: Add new files.
1880 * libc/sys/linux/Makefile.in: Regenerated.
1881 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
1882 * libc/sys/linux/inode.c (fchdir): Added syscall.
1883 * libc/sys/linux/ftw.c: New file.
1884 * libc/sys/linux/ftw64.c: Ditto.
1885 * libc/sys/linux/getwd.c: Ditto.
1886 * libc/sys/linux/scandir64.c: Ditto.
1887 * libc/sys/linux/strverscmp.c: Ditto.
1888 * libc/sys/linux/versionsort.c: Ditto.
1889 * libc/sys/linux/versionsort64.c: Ditto.
1890
6b6425cb
JJ
18912002-07-26 Jeff Johnston <jjohnstn@redhat.com>
1892
1893 * libc/string/strings.tex: Fix typo for memccpy.
1894
dc8ac8e6
JJ
18952002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1896
1897 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
1898 * libc/sys/linux/sys/types.h (off64_t): Definition added.
1899
aa0ca6fd
JJ
19002002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1901
1902 * libc/sys/linux/Makefile.am: Add fclean.c.
1903 * libc/sys/linux/Makefile.in: Regenerated.
1904 * libc/sys/linux/fclean.c: New file.
1905
61921945
JJ
19062002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1907
1908 * libc/sys/linux/Makefile.am: Add confstr.c.
1909 * libc/sys/linux/Makefile.in: Regenerated.
1910 * libc/sys/linux/confstr.c: New file.
1911 * libc/sys/linux/confstr.h: Ditto.
1912 * libc/sys/linux/sys/unistd.h: Include <features.h> and
1913 <bits/environments.h>.
1914
3d966a92
JJ
19152002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1916
1917 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
1918 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
1919 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
1920 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
1921 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
1922 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
1923
53b5bff7
JJ
19242002-07-24 Jeff Johnston <jjohnstn@redhat.com>
1925
1926 * libc/sys/linux/Makefile.am: Add new files.
1927 * libc/sys/linux/Makefile.in: Regenerated.
1928 * libc/sys/linux/fstab.c: New file.
1929 * libc/sys/linux/fstatvfs.c: Ditto.
1930 * libc/sys/linux/fstatvfs64.c: Ditto.
1931 * libc/sys/linux/internal_statvfs.c: Ditto.
1932 * libc/sys/linux/mntent.c: Ditto.
1933 * libc/sys/linux/mntent_r.c: Ditto.
1934 * libc/sys/linux/statvfs.c: Ditto.
1935 * libc/sys/linux/statvfs64.c: Ditto.
1936 * libc/sys/linux/include/paths.h: Ditto.
1937 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
1938 with double-underscore weak-aliases.
1939 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
1940
9cef8ef5
JJ
19412002-07-24 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
1944 to use _sig_func_ptr type casted constants.
1945 (_sig_func_ptr): Typedef moved to sys/signal.h.
1946 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
1947 For __rtems, use POSIX definition, otherwise default to ANSI.
1948 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
1949
a703e0f2
JJ
19502002-07-24 Stephane Carrez <stcarrez@nerim.fr>
1951
1952 * configure.host: Recognize m6811-elf and m6812-elf targets.
1953 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
1954 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
1955 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
1956 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
1957 according to __INT_MAX__.
1958 (_POINTER_INT): Define to short.
1959 * libc/machine/m68hc11/Makefile.am: New file.
1960 * libc/machine/m68hc11/Makefile.in: New file.
1961 * libc/machine/m68hc11/configure.in: New file.
1962 * libc/machine/m68hc11/configure: New file.
1963 * libc/machine/m68hc11/aclocal.m4: New file.
1964 * libc/machine/m68hc11/setjmp.S: New file.
1965
d254189b
JJ
19662002-07-23 Jeff Johnston <jjohnstn@redhat.com>
1967
1968 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
1969 prototypes.
1970 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
1971 * libc/stdlib/Makefile.in: Regenerated.
1972 * libc/stdlib/strdup.c: Removed.
1973 * libc/stdlib/strdup_r.c: Removed.
1974 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
1975 mempcpy.c, strndup.c, and strndup_r.c.
1976 * libc/string/Makefile.in: Regenerated.
1977 * libc/string/memccpy.c: New file.
1978 * libc/string/mempcpy.c: Ditto.
1979 * libc/string/strndup.c: Ditto.
1980 * libc/string/strndup_r.c: Ditto.
1981 * libc/string/strdup.c: New file moved from stdlib.
1982 * libc/string/strdup_r.c: Ditto.
1983 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
1984
bc100655
JJ
19852002-07-23 Jeff Johnston <jjohnstn@redhat.com>
1986
1987 * libc/include/stdio.h: Move fcloseall prototype within
1988 #ifndef _REENT_ONLY section.
1989 * libc/sys/linux/Makefile.am: Add new files.
1990 * libc/sys/linux/Makefile.in: Regenerated.
1991 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
1992 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
1993 * libc/sys/linux/sys/types.h: Add ino64_t type.
1994 * libc/sys/linux/ctermid.c: New file.
1995 * libc/sys/linux/ttyname_r.c: Ditto.
1996 * libc/sys/linux/readdir64.c: Ditto.
1997
f5f27f07
JJ
19982002-07-22 Jeff Johnston <jjohnstn@redhat.com>
1999
2000 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
2001 * libc/stdio/Makefile.am: Added fcloseall.c support.
2002 * libc/stdio/Makefile.in: Regenerated.
2003 * libc/stdio/fcloseall.c: New file.
2004 * libc/stdio64/Makefile.am: Remove missing .def references.
2005 * libc/stdio64/Makefile.in: Regenerated.
2006
d541ba3e
JJ
20072002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2008
2009 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
2010 * libc/machine/powerpc/times.c: New file.
2011 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
2012 * libc/machine/powerpc/Makefile.in: Regenerated.
2013
20142002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
2015
2016 * libc/machine/powerpc/time.c: New file.
2017 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
2018 time.c.
2019 * libc/machine/powerpc/Makefile.in: Regenerated.
2020
5e7d0a55
TF
20212002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2022
2023 * libc/libc.texinfo: Change copyright notices to Red Hat from
2024 Cygnus.
2025 * libm/libm.texinfo: Likewise.
2026 * README: Change docs URL to
2027 http://sources.redhat.com/newlib/docs.html.
2028
504628e7
JJ
20292002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2030
2031 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
2032 * libc/sys/linux/Makefile.in: Regenerated.
2033 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
2034 * libc/sys/linux/io.c: Add ftruncate syscall.
2035 * libc/sys/linux/fpathconf.c: New file.
2036 * libc/sys/linux/pathconf.c: Ditto.
2037 * libc/sys/linux/linux_fsinfo.h: Ditto.
2038 * libc/sys/linux/sys/unistd.h: Ditto.
2039
b155ad9f
JJ
20402002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2041
2042 * libc/stdio64/Makefile.am: Remove missing files.
2043 * libc/stdio64/Makefile.in: Regenerated.
2044
c119e0ab
JJ
20452002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2046
2047 * libc/include/sys/config.h[__i386__][__linux__]: Define
2048 _LARGE64FILE_SOURCE to 1.
2049 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
2050 * libc/sys/linux/Makefile.in: Regenerated.
2051 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
2052 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
2053 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
2054 of <linux/resource.h>.
2055 * libc/sys/linux/getrlimit64.c: New file.
2056 * libc/sys/linux/setrlimit64.c: Ditto.
2057
9b022d6d
TF
20582002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2059
2060 * libc/argz/argz_replace.c: Include buf_findstr.h.
2061 * libc/argz/buf_findstr.c: Likewise.
2062 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
2063 value to (char *).
2064 * libc/argz/envz_get.c: Likewise.
2065 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
2066 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
2067 * libc/stdlib/getsubopt.3: New file.
2068 * libc/stdlib/getsubopt.c: New file.
2069 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
2070 Change esp to ebp.
2071
dee51391
JJ
20722002-07-17 Jeff Johnston <jjohnstn@redhat.com>
2073
2074 * configure.host(stdio64_dir): New setting that is used to
2075 enable building of new stdio64 directory.
2076 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
2077 large files.
2078 (stmp-stdio64,stdio64.texi): New targets to optionally add in
2079 stdio64 info to info files.
2080 * libc/Makefile.in: Regenerated.
2081 * libc/configure: Ditto.
2082 * libc/configure.in: Add configuration variables that are set
2083 when stdio64 is selected as subdir in configure.host.
2084 * libc/libc.texinfo: Add optional menu item for Stdio64, based
2085 on whether STDIO64 flag is set or not.
2086 * libc/sys.tex: Add optional stdio64 syscalls based on whether
2087 STDIO64 flag is set or not.
2088 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
2089 _r sycall routines.
2090 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
2091 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
2092 (__SL64): New file flag indicating file is opened via fopen64.
2093 * libc/include/sys/_types.h(_off64_t): Added.
2094 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
2095 * libc/include/sys/reent.h(struct __sFILE64): New file structure
2096 for 64-bit offset large file support.
2097 (__FILE): New intermediate type either set to struct __sFILE64 or
2098 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
2099 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
2100 * libc/reent/Makefile.in: Regenerated.
2101 * libc/reent/fstat64r.c: New file.
2102 * libc/reent/lseek64r.c: Ditto.
2103 * libc/reent/open64r.c: Ditto.
2104 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
2105 based on whether STDIO64 flag is set.
2106 * libc/stdio/stdio.tex: Add blank line.
2107 * libc/stdio64/Makefile.am: New file.
2108 * libc/stdio64/Makefile.in: Ditto.
2109 * libc/stdio64/fgetpos64.c: Ditto.
2110 * libc/stdio64/fopen64.: Ditto.
2111 * libc/stdio64/freopen64.c: Ditto.
2112 * libc/stdio64/fseeko64.c: Ditto.
2113 * libc/stdio64/fsetpos64.c: Ditto.
2114 * libc/stdio64/ftello64.c: Ditto.
2115 * libc/stdio64/local64.h: Ditto.
2116 * libc/stdio64/stdio64.c: Ditto.
2117 * libc/stdio64/stdio64.tex: Ditto.
2118 * libc/stdio64/tmpfile64.c: Ditto.
2119 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
2120 open64.
2121
778876f6
JJ
21222002-07-16 Jeff Johnston <jjohnstn@redhat.com>
2123
2124 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
2125 if LIBC_EXTRA_LIB is present.
2126 * libc/Makefile.in: Regenerated.
2127 * libc/libc.texinfo: Add blank line.
2128 * libc/argz/Makefile.am: Add doc support.
2129 * libc/search/Makefile.am: Ditto.
2130 * libc/argz/Makefile.in: Regenerated.
2131 * libc/search/Makefile.in: Ditto.
2132 * libc/misc/misc.tex: Add ffs function.
2133 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
2134
37981145
JJ
21352002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2136
2137 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
2138 definition that was removed in error.
2139
38b5dc59
JJ
21402002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2141
2142 * libc/include/machine/ieeefp.h: Change to only define
2143 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
2144 __IEEE_LITTLE_ENDIAN must be defined for each platform).
2145 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
2146 remove redundant floating point definitions.
2147
8cb61a96
JJ
21482002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2149
2150 * libc/sys/linux/callocr.c: Fix so code references
2151 calloc.
2152
edba3282
JJ
21532002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2154
2155 * libc/sys/linux/Makefile.am: Add new files.
2156 * libc/sys/linux/Makefile.in: Regenerated.
2157 * libc/sys/linux/bp-sym.h: Moved to include directory.
2158 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
2159 * libc/sys/linux/inode.c: Set _LIBC to 1.
2160 * libc/sys/linux/mq_close.c: Ditto.
2161 * libc/sys/linux/mq_getattr.c: Ditto.
2162 * libc/sys/linux/mq_open.c: Ditto.
2163 * libc/sys/linux/mq_receive.c: Ditto.
2164 * libc/sys/linux/mq_send.c: Ditto.
2165 * libc/sys/linux/mq_setattr.c: Ditto.
2166 * libc/sys/linux/mq_unlink.c: Ditto.
2167 * libc/sys/linux/calloc.c: New file.
2168 * libc/sys/linux/callocr.c: Ditto.
2169 * libc/sys/linux/cfreer.c: Ditto.
2170 * libc/sys/linux/config.h: Ditto.
2171 * libc/sys/linux/free.c: Ditto.
2172 * libc/sys/linux/freer.c: Ditto.
2173 * libc/sys/linux/msize.c: Ditto.
2174 * libc/sys/linux/msizer.c: Ditto.
2175 * libc/sys/linux/mstats.c: Ditto.
2176 * libc/sys/linux/mtrim.c: Ditto.
2177 * libc/sys/linux/mtrimr.c: Ditto.
2178 * libc/sys/linux/pvallocr.c: Ditto.
2179 * libc/sys/linux/realloc.c: Ditto.
2180 * libc/sys/linux/reallocr.c: Ditto.
2181 * libc/sys/linux/thread-m.h: Ditto.
2182 * libc/sys/linux/vallocr.c: Ditto.
2183 * libc/sys/linux/bp-checks.h: Ditto.
2184 * libc/sys/linux/libc-symbols.h: Ditto.
2185 * libc/sys/linux/libc-tsd.h: Ditto.
2186 * libc/sys/linux/libintl.h: Ditto.
2187 * libc/sys/linux/malign.c: Ditto.
2188 * libc/sys/linux/malignr.c: Ditto.
2189 * libc/sys/linux/mallinfor.c: Ditto.
2190 * libc/sys/linux/malloc.c: Ditto.
2191 * libc/sys/linux/mallocr.c: Ditto.
2192 * libc/sys/linux/malloptr.c: Ditto.
2193 * libc/sys/linux/mallstatsr.c: Ditto.
2194 * libc/sys/linux/mcheck.c: Ditto.
2195 * libc/sys/linux/mhooks.h: Ditto.
2196 * libc/sys/linux/include/bp-sym.h: Ditto.
2197 * libc/sys/linux/include/malloc.h: Ditto.
2198 * libc/sys/linux/include/mcheck.h: Ditto.
2199 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
2200 getpagesize.c.
2201 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
2202 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
2203 * libc/sys/linux/machine/i386/getpagesize.c: New file.
2204 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
2205 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2206 * libc/sys/linux/machine/i386/sysdep.h: New file.
2207 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
2208 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
2209 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
2210
ea20b60a
JJ
22112002-07-12 Jeff Johnston <jjohnstn@redhat.com>
2212
2213 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
2214 instead of <asm/siginfo.h>.
2215 * libc/sys/linux/sys/signal.h: Change to include various linux
2216 <bits/xxx.h> header files, rather than <linux/signal.h> so as
2217 to work with multiple releases of glibc header files.
2218
2fc82912
JJ
22192002-07-11 Chris Demetriou <cgd@broadcom.com>
2220
2221 * testsuite/newlib.search/hsearchtest.c: New file to test
2222 newlib/libc/search.
2223 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2224
4a404e97 22252002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
2226
2227 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
2228 a terminal.
2229 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
2230
6aec558e
JJ
22312002-07-08 Jeff Johnston <jjohnstn@redhat.com>
2232
2233 * libc/include/math.h (MAXFLOAT): Added.
2234
e47e6f0e 2235Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
2236
2237 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
2238 Make strcmp.S unconditional.
2239 * libc/machine/sh/Makefile.in: Regenerate.
2240 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
2241 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
2242 for SHcompact.
2243
89ffbd66
JJ
22442002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2245
2246 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
2247 define before including <sys/lock.h>.
2248
ae6c4c84
JJ
22492002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2250
2251 * libc/include/utime.h: Add include of <_ansi.h>.
2252 * libc/sys/linux/Makefile.am: Add utimes.c.
2253 * libc/sys/linux/Makefile.in: Regenerated.
2254 * libc/sys/linux/inode.c(__umask): New static routine.
2255 (umask): Written to use __umask and attempt to thread lock.
2256 (getumask): New function written to use __umask and thread lock.
2257 * libc/sys/linux/utimes.c: New file.
2258 * libc/sys/linux/sys/time.h: Fix utimes prototype.
2259 * libc/sys/linux/sys/utime.h: New file.
2260
a6cac46c
TF
22612002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2262
2263 * libtool.m4: New file.
2264 * libc/sys/linux/process.c: Implement vfork in terms of fork,
2265 rather than as a syscall.
2266
30b2092f
JJ
22672002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2268
2269 * libc/include/stdio.h: Add new prototypes.
2270 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
2271 * libc/stdio/Makefile.in: Regenerated.
2272 * libc/stdio/fseek.c: Add fseeko documentation.
2273 * libc/stdio/ftell.c: Add ftello documentation.
2274 * libc/stdio/fseeko.c: New file.
2275 * libc/stdio/ftello.c: New file.
2276
7501704d
JJ
22772002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2278
2279 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
2280 * libc/stdio/Makefile.in: Regenerated.
2281 * libc/stdio/asprintf.c: New file.
2282 * libc/stdio/vasprintf.c: Ditto.
2283 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
2284 the buffer for asprintf support.
2285 * libc/stdio/sprintf.c: Add asprintf documentation.
2286 * libc/stdio/vfprintf.c: Add vasprintf documentation.
2287 * libc/include/stdio.h: Add new prototypes.
2288
66eee32b
TF
22892002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2290
2291 * libc/search/hcreate.c: Remove advertising clause from license.
2292 * libc/search/hcreate_r.c: Likewise.
2293
cec4a9f8
JJ
22942002-07-02 Chris Demetriou <cgd@broadcom.com>
2295
2296 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
2297 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
2298 Check that one of them is defined and error out if not.
2299 Add any platforms defined in <machine/ieeefp.h> that are missing.
2300 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
2301 (DB_LITTLE_ENDIAN): New defines.
2302 * libc/search/hash.c: Replace all incorrect checks for
2303 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
2304 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
2305 * libc/search/hash_page.c: Likewise.
2306
2d5eb17e
TF
23072002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
2308
2309 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
2310
c1a3171f
JJ
23112002-06-27 Benjamin Kosnik <bkoz@redhat.com>
2312
2313 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
2314 * libc/include/time.h: Same.
2315 * libc/include/string.h: Same.
2316 * libc/include/stdlib.h: Same.
2317 * libc/include/signal.h: Same.
2318 * libc/include/setjmp.h: Same.
2319 * libc/include/math.h: Same.
2320 * libc/include/locale.h: Same.
2321 * libc/include/ctype.h: Same.
2322 * libc/include/machine/setjmp.h: Same.
2323 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
2324 (_END_STD_C): Add.
2325
533b4e66
JJ
23262002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2327
2328 * libc/include/sys/_types.h: Define _ssize_t as int if int is
2329 32-bits, otherwise define it as long.
2330 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
2331 and define ssize_t as _ssize_t.
2332 * libc/reent/readr.c: Change return type to _ssize_t.
2333 * libc/reent/writer.c: Ditto.
2334 * libc/sys/linux/Makefile.am: Add aio.c.
2335 * libc/sys/linux/Makefile.in: Regenerated.
2336 * libc/sys/linux/aio.c: New file.
2337 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
2338 * libm/common/fdlibm.h: Undef __P before defining it.
2339
c36e6dd7
TF
23402002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2341
54be629f
TF
2342 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
2343 exponent_is_even_int variable. Handle case where x is
2344 negative, and y is an odd integer.
2345 * libm/mathfp/sf_pow.c (powf): Likewise.
2346
c36e6dd7
TF
2347 * libm/mathfp/er_lgamma.c: Remove __kernel references.
2348 * libm/mathfp/erf_lgamma.c: Likewise.
2349 * libm/mathfp/s_tgamma.c: Likewise.
2350 * libm/mathfp/sf_tgamma.c: Likewise.
2351
baf051ca
JJ
23522002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2353
2354 * libc/sys/linux/Makefile.am: Add new clock routines.
2355 * libc/sys/linux/Makefile.in: Regenerated.
2356 * libc/sys/linux/clock_getres.c: New file.
2357 * libc/sys/linux/clock_gettime.c: Ditto.
2358 * libc/sys/linux/clock_settime.c: Ditto.
2359 * libc/sys/linux/hp-timing.h: Ditto.
2360 * libc/sys/linux/libc-internal.h: Ditto.
2361 * libc/sys/linux/sysconf.c: Fix typo.
2362 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
2363 * libc/sys/linux/machine/hp-timing.h: New file.
2364 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
2365 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2366 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
2367 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
2368 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
2369 * libc/sys/linux/sys/linux_time.h: New file.
2370 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
2371 replace with <sys/linux_time.h>.
2372
0431ed4e
JR
2373Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
2374
2375 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
2376
fc067ba5
JJ
23772002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2378
2379 * libc/sys/linux/Makefile.am: Consolidate additional items under
2380 ADD_OBJS.
2381 * libc/sys/linux/Makefile.in: Regenerated.
2382
ffddf61e
JJ
23832002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2384
2385 * libc/sys/linux/sethostname.c: New file.
2386 * libc/sys/linux/Makefile.am: Add sethostname.c support.
2387 * libc/sys/linux/Makefile.in: Regenerated.
2388
d5487d3f
TF
23892002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2390
2391 * libc/search/db_local.h: New file.
2392 * libc/include/db.h: Remove.
2393 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
2394 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
2395 "db_local.h".
2396 * libc/search/hash_bigkey.c: Likewise.
2397 * libc/search/hash_buf.c: Likewise.
2398 * libc/search/hash_func.c: Likewise.
2399 * libc/search/hash_log2.c: Likewise.
2400 * libc/search/hash_page.c: Likewise.
2401
24022002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 2403
1e7ca711 2404 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
2405 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
2406 * libc/machine/sh/Makefile.am: Regenerate.
2407
59c6d6c4
JJ
24082002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2409
2410 * libc/sys/linux/gethostname.c: Change name to __gethostname and
2411 add gethostname alias.
2412
a70486d7
JJ
24132002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2414
2415 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 2416 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 2417 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 2418 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
2419 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
2420 * libm/common/fdlibm.h: Ditto.
2421
3118725a
TF
24222002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2423
2424 * libc/include/ndbm.h: Remove.
2425 * libc/search/ndbm.c: Remove.
2426
30a06168
TF
24272002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
2428
2429 * libc/stdio/fseek.c (fseek): Fix braces.
2430
01f5155e
CV
24312002-06-21 Corinna Vinschen <corinna@vinschen.de>
2432
2433 * libc/time/strftime.c (strftime): Add %e format specifier.
2434
930bc96b
TF
24352002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2436
2437 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
2438 previously defined.
2439
55105f86
JJ
24402002-06-21 Richard Earnshaw (rearnsha@arm.com)
2441
2442 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
2443 (BYTE_ORDER): Define as appropriate for the target.
2444
2e78444a
JJ
24452002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2446
2447 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
2448 to _ssize_t.
2449 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
2450
d427d092
JJ
24512002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2452
2453 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
2454 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
2455 [HAVE_GETDATE](getdate_err): New error code.
2456 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
2457 * libc/stdio/Makefile.in: Regenerated.
2458 * libc/stdio/getdelim.c: New file.
2459 * libc/stdio/getline.c: Ditto.
2460 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
2461 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
2462 * libc/sys/linux/Makefile.in: Regenerated.
2463 * libc/sys/linux/getdate.c: New file.
2464 * libc/sys/linux/getdate_err.c: Ditto.
2465 * libc/sys/linux/ntp_gettime.c: Ditto.
2466 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
2467 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
2468
35728d4f
JJ
24692002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2470
2471 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
2472 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
2473 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
2474 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
2475 * libc/include/sys/param.h: Remove i386 case which is handled
2476 by default case.
2477 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
2478 definitions in case they are already defined.
2479 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
2480 _IEEE_LITTLE_ENDIAN flags.
2481 * libc/include/sys/reent.h: Change __uint32_t references to
2482 use _ULong instead.
2483 (_REENT_GETDATE_REENT_P): New macro.
2484 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
2485 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
2486 * libc/search/hash.h: Add default setting of BYTE_ORDER,
2487 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
2488 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
2489 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
2490 pid_t, off_t, loff_t, caddr_t, and daddr_t type
2491 definitions which are done by subsequent glibc headers.
2492 Add macro definitions to prevent subsequent header files from
2493 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
2494 intptr_t to after glibc definitions of types they are based on.
2495
4a2bfab7
JJ
24962002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2497
2498 * libc/include/errno.h: Protect from multiple inclusion.
2499
f42d18ea
NC
25002002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
2501
2502 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
2503
a7b23a8f
TF
25042002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
2505
2506 * Makefile.am (LIB_OBJECTLISTS): Add
2507 libc/search/objectlist.awk.in.
2508 * libc/Makefile.am (SUBDIRS): Add search.
2509 (SUBLIBS): Add search/libsearch.la.
2510 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
2511 * libc/search: New directory.
2512 * libc/search/Makefile.am: New file.
2513 * libc/search/extern.h: New file.
2514 * libc/search/hash.c: New file.
2515 * libc/search/hash.h: New file.
2516 * libc/search/hash_bigkey.c: New file.
2517 * libc/search/hash_buf.c: New file.
2518 * libc/search/hash_func.c: New file.
2519 * libc/search/hash_log2.c: New file.
2520 * libc/search/hash_page.c: New file.
2521 * libc/search/hcreate.3: New file.
2522 * libc/search/hcreate.c: New file.
a7b23a8f
TF
2523 * libc/search/hcreate_r.c: New file.
2524 * libc/search/ndbm.c: New file.
2525 * libc/search/page.h: New file.
2526 * libc/search/tdelete.c: New file.
2527 * libc/search/tdestroy.c: New file.
2528 * libc/search/tfind.c: New file.
2529 * libc/search/tsearch.3: New file.
2530 * libc/search/tsearch.c: New file.
2531 * libc/search/twalk.c: New file.
2532 * libc/include/db.h: New file.
2533 * libc/include/ndbm.h: New file.
2534 * libc/include/search.h: New file.
2535 * libc/include/sys/queue.h: New file.
2536 * libc/include/sys/cdefs.h: New file.
2537 * libc/include/sys/param.h
2538 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
2539 LITTLE_ENDIAN or BIG_ENDIAN.
2540 * libc/include/sys/errno.h (EFTYPE): New macro.
2541 * libc/search/bsearch.c: Move from libc/stdlib.
2542 * libc/search/qsort.c: Likewise.
2543 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
2544 qsort.c.
2545 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
2546 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
2547
ef467338
JJ
25482002-06-19 Jeff Johnston <jjohnstn@redhat.com>
2549
2550 * libc/sys/linux/Makefile.am: Add support for message queue routines,
2551 ipc routines, and ftok.
2552 * libc/sys/linux/Makefile.in: Regenerated.
2553 * libc/sys/linux/ftok.c: New file.
2554 * libc/sys/linux/ipc.c: Ditto.
2555 * libc/sys/linux/mq_close.c: Ditto.
2556 * libc/sys/linux/mq_getattr.c: Ditto.
2557 * libc/sys/linux/mq_notify.c: Ditto.
2558 * libc/sys/linux/mq_open.c: Ditto.
2559 * libc/sys/linux/mq_receive.c: Ditto.
2560 * libc/sys/linux/mq_send.c: Ditto.
2561 * libc/sys/linux/mq_setattr.c: Ditto.
2562 * libc/sys/linux/mq_unlink.c: Ditto.
2563 * libc/sys/linux/mqlocal.h: Ditto.
2564 * libc/sys/linux/include/mqueue.h: Ditto.
2565 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
2566 __uid_t_defined.
2567
7f55c08c
TF
25682002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
2569
2570 * libm/common/sf_lround.c (round): Change name to: (lround).
2571 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
2572 remquof.
2573
c9ca68d7
TF
25742002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2575
2576 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
2577 procedure.
2578 (newlib_pass_fail): Change to compile and run only one file.
2579 * testsuite/newlib.locale/locale.exp: Use new
2580 newlib_pass_fail_all procedure.
2581 * testsuite/newlib.string/string.exp: Likewise.
2582
4ecedd09
DB
25832002-06-18 Dave Brolley <brolley@redhat.com>
2584
2585 From Catherine Moore, Michael Meissner, Richard Sandiford:
2586 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
2587 (_JBTYPE): Ditto.
2588 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
2589 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
2590 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
2591 * configure.host: Support frv-*-*.
2592 * libc/machine/frv/Makefile.am: New file.
2593 * libc/machine/frv/configure.in: New file.
2594 * libc/machine/frv/setjmp.S: New file.
2595
af1c257a
TF
25962002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2597
2598 * libc/include/ctype.h: Remove isblank macro.
2599
2600 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
2601 * libc/ctype/isblank.c: New file.
2602 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
2603 declaration. Add isblank macro.
2604
4e04fa90
JJ
26052002-06-18 Jeff Johnston <jjohnstn@redhat.com>
2606
2607 * testsuite/newlib.stdlib/atexit.c: New file.
2608 * testsuite/newlib.stdlib/atexit.exp: Ditto.
2609 * testsuite/newlib.string/tstring.c: Change default start size
2610 to something more reasonable for embedded platforms.
2611
b56d7e79
TF
26122002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2613
ece3c72f
TF
2614 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
2615
b56d7e79
TF
2616 * libc/argz: New directory.
2617 * libc/argz/*: New files.
2618 * libc/argz/argz_add.c: New file.
2619 * libc/argz/argz_add_sep.c: New file.
2620 * libc/argz/argz_append.c: New file.
2621 * libc/argz/argz_count.c: New file.
2622 * libc/argz/argz_create.c: New file.
2623 * libc/argz/argz_create_sep.c: New file.
2624 * libc/argz/argz_delete.c: New file.
2625 * libc/argz/argz_extract.c: New file.
2626 * libc/argz/argz_insert.c: New file.
2627 * libc/argz/argz_next.c: New file.
2628 * libc/argz/argz_replace.c: New file.
2629 * libc/argz/argz_stringify.c: New file.
2630 * libc/argz/buf_findstr.c: New file.
2631 * libc/argz/envz_add.c: New file.
2632 * libc/argz/envz_entry.c: New file.
2633 * libc/argz/envz_get.c: New file.
2634 * libc/argz/envz_merge.c: New file.
2635 * libc/argz/envz_remove.c: New file.
2636 * libc/argz/envz_strip.c: New file.
2637 * libc/include/argz.h: New file.
2638 * libc/include/envz.h: New file.
2639 * Makefile.am (LIBC_OBJECTLISTS): Add
2640 libc/argz/objectlist.awk.in.
2641 * libc/Makefile.am (SUBDIRS): Add argz.
2642 (SUBLIBS): Add argz/libargz.la.
2643 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
2644 * libc/include/errno.h: Add error_t typedef.
2645
d062d3dd
JJ
26462002-06-13 Jeff Johnston <jjohnstn@redhat.com>
2647
2648 * libc/include/stdlib.h: Add _Exit prototype.
2649 * libc/stdlib/Makefile.am: Add _Exit.c support.
2650 * libc/stdlib/Makefile.in: Ditto.
2651 * libc/stdlib/_Exit.c: New file.
2652
a47e66ae
JJ
26532002-06-13 Stephen L. Moshier <steve@moshier.net>
2654
2655 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
2656 x is close to -1.0 and y is very large to use ax (absolute value)
2657 instead of x.
2658 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
2659
13f7d71f
JR
2660Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
2661
2662 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
2663 Fix clobbering bytes before destination if src and dst have same
2664 non-zero misalignment.
1f1fb421
JR
2665
2666 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
2667 Fixed bug in writing end of set region.
2668
b2e8018f
CF
26692002-06-10 Christopher Faylor <cgf@redhat.com>
2670
2671 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
2672 spawnve declaration.
2673
0953fe64
TF
26742002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
2675
2676 * libm/common/s_fdim.c: New file.
2677 * libm/common/s_fma.c: Likewise.
2678 * libm/common/s_fmax.c: Likewise.
2679 * libm/common/s_fmin.c: Likewise.
2680 * libm/common/s_fpclassify.c: Likewise.
2681 * libm/common/s_lrint.c: Likewise.
2682 * libm/common/s_lround.c: Likewise.
2683 * libm/common/s_nearbyint.c: Likewise.
2684 * libm/common/s_remquo.c: Likewise.
2685 * libm/common/s_round.c: Likewise.
2686 * libm/common/s_scalbln.c: Likewise.
2687 * libm/common/s_signbit.c: Likewise.
2688 * libm/common/s_trunc.c: Likewise.
2689 * libm/common/sf_fdim.c: Likewise.
2690 * libm/common/sf_fma.c: Likewise.
2691 * libm/common/sf_fmax.c: Likewise.
2692 * libm/common/sf_fmin.c: Likewise.
2693 * libm/common/sf_lrint.c: Likewise.
2694 * libm/common/sf_lround.c: Likewise.
2695 * libm/common/sf_nearbyint.c: Likewise.
2696 * libm/common/sf_remquo.c: Likewise.
2697 * libm/common/sf_round.c: Likewise.
2698 * libm/common/sf_scalbln.c: Likewise.
2699 * libm/common/sf_trunc.c: Likewise.
2700 * libm/math/w_exp2.c: Likewise.
2701 * libm/math/w_tgamma.c: Likewise.
2702 * libm/math/wf_exp2.c: Likewise.
2703 * libm/math/wf_tgamma.c: Likewise.
2704 * libm/mathfp/s_exp2.c: Likewise.
2705 * libm/mathfp/s_tgamma.c: Likewise.
2706 * libm/mathfp/sf_exp2.c: Likewise.
2707 * libm/mathfp/sf_tgamma.c: Likewise.
2708 * libm/math/er_gamma.c: Fix return value.
2709 * libm/math/erf_gamma.c: Likewise.
2710 * libm/mathfp/er_gamma.c: Likewise.
2711 * libm/mathfp/erf_gamma.c: Likewise.
2712 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
2713 declarations and macros.
2714 Regenerated all Makefile.in, aclocal.m4 and configure files to
2715 use new libtool macros in top-level libtool.m4
2716
39e65e01
JJ
27172002-06-05 Jeff Johnston <jjohnstn@redhat.com>
2718
2719 * libc/include/string.h[__linux__]: Add strsignal prototype.
2720 * libc/include/sys/lock.h: New file with default locking support.
2721 * libc/include/sys/reent.h: Add signal buffer support for strsignal
2722 and psignal.
2723 * libc/posix/Makefile.am: Add support for readdir_r.c.
2724 * libc/posix/Makefile.in: Regenerated.
2725 * libc/posix/closedir.c: Add locking support and hash table cleanup.
2726 * libc/posix/opendir.c: Add lock support.
2727 * libc/posix/readdir.c: Ditto.
2728 * libc/posix/rewinddir.c: Ditto.
2729 * libc/posix/scandir.c: Ditto.
2730 * libc/posix/seekdir.c: Ditto.
2731 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
2732 clean up leftover hash table entries.
2733 * libc/posix/readdir_r.c: New file.
2734 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
2735 * libc/sys/linux/Makefile.in: Regenerated.
2736 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
2737 * libc/sys/linux/sys/signal.h: Add psignal prototype.
2738 * libc/sys/linux/psignal.c: New file.
2739 * libc/sys/linux/strsignal.c: Ditto.
2740
cc890e89
CV
27412002-06-03 Corinna Vinschen <corinna@vinschen.de>
2742
2743 * libc/include/sys/types.h: Don't define dev_t when compiling for
2744 Cygwin.
2745
ea55e3f7
JJ
27462002-05-31 Jeff Johnston <jjohnstn@redhat.com>
2747
2748 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
2749 make siglist.inc dependent on sig.c instead of signal.c.
2750 * libc/sys/linux/Makefile.in: Regenerated.
2751 * libc/sys/linux/sig.c: Rename from signal.c and change code to
2752 use NSIG instead of _NSIG.
2753 * libc/sys/linux/sigaction.c: New file.
2754 * libc/sys/linux/signal.c: Changed to be linux signal() function
2755 so as to override regular newlib default signal.c.
ea55e3f7
JJ
2756 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
2757 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2758 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
2759 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
2760 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
2761 default linux sigset_t typedef by defining it equal to __sigset_t.
2762 * libc/unix/sigset.c: Add check so code isn't compiled on systems
2763 with a sigset_t that isn't implemented with a single int.
2764
9d362914
JJ
27652002-05-30 Jeff Johnston <jjohnstn@redhat.com>
2766
2767 * libc/sys/linux/Makefile.am: Add support for new files.
2768 * libc/sys/linux/Makefile.in: Regenerated.
2769 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
2770 * libc/sys/linux/signal.c: Change to use real-time syscalls for
2771 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
2772 it is in a separate file now.
2773 * libc/sys/linux/machine/i386/Makefile.am
2774 * libc/sys/linux/machine/i386/Makefile.in
2775 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
2776 * libc/sys/linux/sigaction.c: New file.
2777 * libc/sys/linux/sigqueue.c: Ditto.
2778 * libc/sys/linux/sigwait.c: Ditto.
2779 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
2780 * libc/sys/linux/kernel_sigaction.h: Ditto.
2781
b1f07180
JJ
27822002-05-28 Jeff Johnston <jjohnstn@redhat.com>
2783
2784 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
2785 tcsendbrk.c.
2786 * libc/sys/linux/Makefile.in: Regenerated.
2787 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
2788 tcgetpgrp(), and tcsetpgrp() functions.
2789 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
2790 to get __MAX_BAUD rate.
2791 * libc/sys/linux/machine/i386/include/termios.h: New file.
2792 * libc/include/machine/termios.h: Ditto.
2793 * libc/sys/linux/cfspeed.c: Ditto.
2794 * libc/sys/linux/tcsendbrk.c: Ditto.
2795
d29587b4
JJ
27962002-05-24 Jeff Johnston <jjohnstn@redhat.com>
2797
2798 * libc/include/string.h: Add strnlen and strerror_r prototypes.
2799 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
2800 * libc/string/Makefile.in: Regenerated.
2801 * libc/string/strerror_r.c: New file.
2802 * libc/string/strnlen.c: New file.
2803 * libc/sys/linux/Makefile.am: Add rename.c.
2804 * libc/sys/linux/Makefile.in: Regenerated.
2805 * libc/sys/linux/rename.c: New file to override default rename.
2806
9a292385
TF
28072002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2808
2809 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
2810 * libc/sys/linux/sys/time.h: Add conversion macros.
2811 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
2812 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
2813 * libc/sys/linux/gethostname.c: New file.
2814 * libc/sys/linux/seteuid.c: New file.
2815 * libc/sys/linux/sysctl.c: New file.
2816
7a364eb3
JJ
28172002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2818
2819 * libc/string/Makefile.am: Add support for strsep.c.
2820 * libc/string/Makefile.in: Regenerated.
2821 * libc/string/strsep.c: New file.
2822 * libc/string/strtok.c: Change to call __strtok_r service routine.
2823 * libc/string/strtok_r.c: Add __strtok_r routine which takes
2824 additional flag parameter regarding whether to skip leading delimeters.
2825 Change strtok_r to call __strtok_r.
2826
164ee5b0
JJ
28272002-05-23 Gareth Pearce <tilps@hotmail.com>
2828
2829 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
2830 * libc/stdio/Makefile.in: Regenerated.
2831 * libc/stdio/setbuffer.c: New file.
2832 * libc/stdio/setlinebuf.c: New file.
2833
f6b2b567
JJ
28342002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2835
2836 * libc/sys/linux/Makefile.am: Add resource.c.
2837 * libc/sys/linux/Makefile.in: Regenerated.
2838 * libc/sys/linux/resource.c: New file.
2839 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
2840 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
2841 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2842 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
2843 are now found in libc/sys/linux/resource.c.
2844
afe56517
JJ
28452002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2846
2847 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
2848 to use void * pointers and comply with Single Unix spec.
2849 * libc/string/bcmp.c: Change to use void * instead of char *.
2850 * libc/string/bcopy.c: Ditto.
2851 * libc/string/bzero.c: Ditto.
2852
7736feb2
JJ
28532002-05-22 Jeff Johnston <jjohnstn@redhat.com>
2854
2855 * libc/sys/linux/shm_open.c: New file.
2856 * libc/sys/linux/shm_unlink.c: Ditto.
2857 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
2858 shm_unlink.c.
2859 * libc/sys/linux/Makefile.in: Regenerated.
2860 * libc/sys/linux/sys/types.h: Add some additional checks to see
2861 if clock_t or time_t is already defined.
2862
19f111bd
JJ
28632002-05-22 Jeff Johnston <jjohnstn@redhat.com>
2864
2865 * Makefile.am: Don't pass $toollibdir down directly in
2866 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
2867 Pass it under the name: top_toollibdir.
2868 * Makefile.in: Regenerated.
2869
c811b1ee
CV
28702002-05-22 Corinna Vinschen <vinschen@redhat.com>
2871
2872 * libc/include/sys/types.h: Revert previous patch.
2873
2b43ad33
CV
28742002-05-22 Corinna Vinschen <vinschen@redhat.com>
2875
2876 * libc/include/sys/types.h: Include cygwin/types.h always under
2877 Cygwin, not only if _POSIX_THREADS is defined.
2878
dd671cde
TF
28792002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
2880
2881 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
2882
5e2cbfb6
JJ
28832002-05-17 Jeff Johnston <jjohnstn@redhat.com>
2884
2885 * Makefile.am: Copy and install headers from sys/machine/include
2886 directory. Also pass $toollibdir to lower-level directories.
2887 * Makefile.in: Regenerated.
2888 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
2889 stderr to use _REENT macro instead of _impure_ptr directly.
2890 * libc/include/sys/config.h[__i386__][__linux__]: Define
2891 __DYNAMIC_REENT__.
2892 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
2893 call to __getreent() function if !__SINGLE_THREAD__ and
2894 __DYNAMIC_REENT__ is set.
2895 * libc/reent/Makefile.am: Add support for getreent.c.
2896 * libc/reent/Makefile.in: Regenerated.
2897 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
2898 * libc/sys/linux/Makefile.am: Add support for new files.
2899 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
2900 * libc/sys/linux/Makefile.in: Regenerated.
2901 * libc/sys/linux/configure: Ditto.
2902 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
2903 __close, __read, __write, __poll, __open, __lseek, __fcntl from
2904 their __libc_ counterparts.
2905 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
2906 and weak-alias to regular names.
2907 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
2908 to pread64 and __pread64.
2909 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
2910 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
2911 weak-alias to pwrite64.
2912 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
2913 __libc_sched_getscheduler, __libc_sched_get_priority_max,
2914 __libc_sched_get_priority_min, and __libc_sched_setschedule to
2915 name with __ instead of __libc_.
2916 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
2917 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
2918 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
2919 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
2920 to raise.
2921 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
2922 __libc_send to __send.
2923 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
2924 __gettimeofday.
2925 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
2926 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
2927 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
2928 type and typedef __jmp_buf to jmp_buf.
2929 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
2930 setjmp.S.
2931 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2932 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
2933 section.
2934 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
2935 prefix for function macros and then use weak_alias() to regular names.
2936 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2937 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
2938 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
2939 to be flockfile() and funlockfile() respectively.
2940 * libc/sys/linux/sys/types.h
2941 * libc/reent/getreent.c: New file.
2942 * libc/sys/linux/flockfile.c: Ditto.
2943 * libc/sys/linux/funlockfile.c: Ditto.
2944 * libc/sys/linux/getreent.c: Ditto.
2945 * libc/sys/linux/pread.c: Ditto.
2946 * libc/sys/linux/pwrite.c: Ditto.
2947 * libc/sys/linux/raise.c: Ditto.
2948 * libc/sys/linux/system.c: Ditto.
2949 * libc/sys/linux/tcdrain.c: Ditto.
2950 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
2951 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
2952 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
2953 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2954 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2955
7fc85bd1
TF
29562002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
2957
2958 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
2959 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
2960 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
2961 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
2962
6935231f 2963Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
2964
2965 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
2966 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
2967 exit point.
d7a2f413 2968
3a6cb01b
TF
29692002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2970
a68fa571
TF
2971 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
2972 options when testing natively on i[3456]86-*-linux.
2973
3a6cb01b
TF
2974 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
2975 only one pass or fail per test file. Trim \r's from output
2976 values received from test programs. Remove support for named
2977 tests.
2978 * testsuite/newlib.locale/UTF-8.exp: Update to support new
2979 newlib_check_output behaviour.
2980 * testsuite/newlib.locale/UTF-8.c: Likewise.
2981
dc824ef7
JJ
29822002-05-15 Jeff Johnston <jjohnstn@redhat.com>
2983
2984 * libc/include/stdlib.h: Add on_exit prototype.
2985 * libc/include/sys/reent.h (struct _atexit): Add argument array
2986 and bits to track type of exit routine to support both on_exit
2987 and atexit.
2988 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
2989 by default and change the setting of the atexit structure.
2990 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
2991 * libc/stdlib/on_exit.c: New file.
2992 * libc/stdlib/Makefile.am: Add support for on_exit.
2993 * libc/stdlib/Makefile.in: Regenerated.
2994 * libc/stdlib/atexit.c: Change to initialize types field.
2995 * libc/stdlib/exit.c: Change to look at types field for each
2996 exit routine and either call an atexit-style or an on_exit-style
2997 routine accordingly.
2998
48d91b4a
JJ
29992002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3000
3001 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
3002 allow v specifier with n or L specifiers. For vector c format,
3003 move tmp declaration to the top.
3004
024739eb
JJ
30052002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3006
3007 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
3008 the original format specifier when looping for vectors to compensate
3009 for any changes made in vector %g format processing.
3010 Also add syntax checking for various invalid scenarios
3011 involving vector format extensions.
3012 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
3013 return code setting for vector formats. Also treat vector
3014 separator mismatch as a match error instead of an input error.
3015 Perform some syntax checking for vector formats.
3016
7d2ce898
TF
30172002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3018
3019 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
3020 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
3021 * libc/string/strlcat.c: New file.
3022 * libc/string/strlcpy.c: New file.
3023
809b6ce7
JJ
30242002-05-10 Jeff Johnston <jjohnstn@redhat.com>
3025
3026 * libc/string/strchr.c: Fix comment typo.
3027
76490806
TF
30282002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3029
0c048a9a
TF
3030 * acinclude.m4: Add support for --enable-newlib-multithread.
3031 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
3032 --enable-newlib-multithread=no.
3033
76490806
TF
3034 * libc/stdio/getc_u.c: New file.
3035 * libc/stdio/getchar_u.c: New file.
3036 * libc/stdio/putc_u.c: New file.
3037 * libc/stdio/putchar_u.c: New file.
3038 * libc/include/stdio.h: Add declarations for getc_unlocked,
3039 getchar_unlocked, putc_unlocked and putchar_unlocked.
3040 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
3041 (CHEWOUT_FILES): Add new files' .def's.
3042 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
3043
96bff22c
JR
3044Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
3045
3046 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3047 Also handle as single quad word when destination ends at last
3048 byte of first quad word. Fix byte selection in single quad code.
3049
e71372fa
TF
30502002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3051
3052 * libc/include/sys/stdio.h: New file.
3053 * libc/sys/linux/sys/stdio.h: New file.
3054 * libc/include/stdio.h: Add declarations for flockfile,
3055 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
3056 * libc/stdio/clearerr.c: Add file locking.
3057 * libc/stdio/fclose.c: Likewise.
3058 * libc/stdio/feof.c: Likewise.
3059 * libc/stdio/ferror.c: Likewise.
3060 * libc/stdio/fflush.c: Likewise.
3061 * libc/stdio/fgetc.c: Likewise.
3062 * libc/stdio/fgetpos.c: Likewise.
3063 * libc/stdio/fgets.c: Likewise.
3064 * libc/stdio/fileno.c: Likewise.
3065 * libc/stdio/fputc.c: Likewise.
3066 * libc/stdio/fputs.c: Likewise.
3067 * libc/stdio/fread.c: Likewise.
3068 * libc/stdio/freopen.c: Likewise.
3069 * libc/stdio/fseek.c: Likewise.
3070 * libc/stdio/ftell.c: Likewise.
3071 * libc/stdio/fwrite.c: Likewise.
3072 * libc/stdio/getc.c: Likewise.
3073 * libc/stdio/putc.c: Likewise.
3074 * libc/stdio/setvbuf.c: Likewise.
3075 * libc/stdio/ungetc.c: Likewise.
3076 * libc/stdio/vfprintf.c: Likewise.
3077
a03790e4
JJ
30782002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3079
60b2107c
TF
3080 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
3081 support for 'p' format. Fix code to print bytes for vector
3082 integer formats that do not specify 'h' or 'l'.
3083 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
3084 for 'p' specifier. Fix code to scan 16 bytes for vector integer
3085 formats that do not specify 'h' or 'l'.
3086
3087 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
3088
9c7d6a9d
TF
30892002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
3090
3091 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
3092 (_sbrk): Add cast of return value.
3093
c33c3635
JJ
30942002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3095
3096 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
3097 (_REENT_L64A_BUF): New macro for accessing area.
3098 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
3099 * libc/stdlib/Makefile.in: Regenerated.
3100 * libc/stdlib/a64l.c: New file.
3101 * libc/stdlib/l64a.c: New file.
3102
f78e59a8
JJ
31032002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3104
3105 * libc/unix/pread.c: Fix typo for _pread_r.
3106 * libc/unix/pwrite.c: Fix type for _pwrite_r.
3107 * libc/sys/linux/pread64.c: Fix typo for read syscall.
3108 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
3109
4b3f6588
CF
31102002-05-03 Christopher Faylor <cgf@redhat.com>
3111
3112 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
3113
e911832c
TF
31142002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3115
3116 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
3117
0d0fdc8d
CF
31182002-05-01 Christopher Faylor <cgf@redhat.com>
3119
3120 * utmp.h: Define more UNIX constants.
3121
1e997c56
TF
31222002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
3123
0717f01c
TF
3124 * Makefile.am: Add support for checking multilibs.
3125
09841445
TF
3126 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
3127 (SUBDEFS): Add LIBC_EXTRA_DEF.
3128 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
3129 (LIBC_EXTRA_DEF): Likewise.
3130 (extra_dir): Likewise.
3131 * libc/machine/xscale/machine: New directory.
3132 * libc/machine/xscale/machine/profile.h: New file.
3133
1e997c56
TF
3134 * Makefile.am (site.exp): Remove newlib_cflags. Add
3135 multibuildtop.
3136 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
3137 * testsuite/lib/flags.exp: New file.
3138 * testsuite/lib/newlib.exp: Load flags.exp.
3139 (newlib_target_compile): Remove libgloss directory references.
3140 (newlib_init): Remove newlib_cflags references.
3141
4cf4f010
TF
31422002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3143
f6bdb6f9
TF
3144 * testsuite/lib/newlib.exp (newlib_target_compile): Change
3145 method of finding libgloss_target_dir.
3146
4cf4f010
TF
3147 * Makefile.am (site.exp): Change host_alias, host_triplet,
3148 target_alias, target_triplet to refer to gcc's host and target
3149 variables (newlib's build and host variables).
3150 * testsuite/lib/newlib.exp (newlib_init): Change build
3151 references to host references, host references to target
3152 references to reflect Makefile.am changes.
3153 (newlib_target_compile): Likewise.
3154 (newlib_finish): Likewise.
3155
83096ae8
JJ
31562002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3157
3158 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
3159
822afa53
JL
31602002-04-29 Jonathan Larmour <jlarmour@redhat.com>
3161
3162 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
3163 (_system): New function. Ditto.
3164 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
3165 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
3166 targets.
3167
29798f0d
JJ
31682002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3169
3170 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
3171 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
3172 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
3173 * libc/sys/linux/Makefile.in: Regenerated.
3174 * libc/unix/Makefile.in: Ditto.
3175 * libc/sys/linux/pread64.c: New file.
3176 * libc/sys/linux/pwrite64.c: Ditto.
3177 * libc/unix/pread.c: Ditto.
3178 * libc/unix/pwrite.c: Ditto.
3179
557856bd
JJ
31802002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3181
3182 * libc/sys/linux/Makefile.am: Add io64.c.
3183 * libc/sys/linux/Makefile.in: Regenerated.
3184 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
3185 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
3186 * libc/sys/linux/io64.c: New file.
3187
7b2b12d5
JJ
31882002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3189
3190 * configure.in (CC_FOR_NEWLIB): New variable that
3191 bases on $(CC) and adds targ-include and libc/include as
3192 -isystem directives if they are not already part of $(CC).
3193 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
3194 $(CC_FOR_NEWLIB).
3195 * configure: Regenerated.
3196 * Makefile.in: Ditto.
3197
c62adacc
JJ
31982002-04-25 Jeff Johnston <jjohnstn@redhat.com>
3199
3200 * libc/sys/linux/Makefile.am: Add support for sched.c.
3201 * libc/sys/linux/Makefile.in: Regenerated.
3202 * libc/sys/linux/sched.c: New file.
3203 * libc/sys/linux/sys/types.h: Add struct timespec.
3204
217ad4a0
TF
32052002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
3206
3207 * configure.in (CC_FOR_BUILD): Set to gcc whether
3208 cross-compiling or not.
3209 (CC): Add -isystem's for targ-include and libc/include when they
3210 do not already appear in CC.
3211
eaa75b70
TF
32122002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3213
3214 * Makefile.am (check-DEJAGNU): New target.
3215 (site.exp): Likewise.
3216 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
3217 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
3218 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
3219 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
3220 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
3221 * testsuite: New directory.
3222 * testsuite/config: Likewise.
3223 * testsuite/lib: Likewise.
3224 * testsuite/newlib.locale: Likewise.
3225 * testsuite/newlib.string: Likewise.
3226 * testsuite/config/default.exp: New file.
3227 * testsuite/lib/checkoutput.exp: New file.
3228 * testsuite/lib/newlib.exp: New file.
3229 * testsuite/lib/passfail.exp: New file.
3230 * testsuite/newlib.locale/UTF-8.c: New file.
3231 * testsuite/newlib.locale/UTF-8.exp: New file.
3232 * testsuite/newlib.locale/locale.exp: New file.
3233 * testsuite/newlib.string/string.exp: New file.
3234 * testsuite/newlib.string/tstring.c: New file.
3235
b9f9f699
JJ
32362002-04-23 Jeff Johnston <jjohnstn@redhat.com>
3237
3238 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
3239 * libc/sys/linux/Makefile.am: Add support for mmap.c.
3240 * libc/sys/linux/Makefile.in: Regenerated.
3241 * libc/sys/linux/mmap.c: New file.
3242 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
3243 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
3244
7394edbb
TF
32452002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3246
3247 * acinclude.m4 (newlib_cflags): Remove include directories that
3248 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
3249
b9f9f699 32502002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
3251
3252 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
3253 * libc/machine/xscale/memcmp.c: Ditto.
3254 * libc/machine/xscale/memcpy.c: Ditto.
3255 * libc/machine/xscale/memmove.c: Ditto.
3256 * libc/machine/xscale/memset.c: Ditto.
3257 * libc/machine/xscale/strchr.c: Ditto.
3258 * libc/machine/xscale/strcmp.c: Ditto.
3259 * libc/machine/xscale/strcpy.c: Ditto.
3260 * libc/machine/xscale/strlen.c: Ditto.
3261
2dd4c4dc
JJ
32622002-04-19 Alexandre Oliva <aoliva@redhat.com>
3263
3264 * libc/include/sys/config.h: Remove include of <limits.h>.
3265 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
3266 define INT_MAX and LONG_MAX. Use them in tests.
3267
0d844014
JJ
32682002-04-19 Jeff Johnston <jjohnstn@redhat.com>
3269
3270 * configure.host: Add support for powerpc-eabialtivec*.
3271 * libc/include/malloc.h: Add include of <machine/malloc.h>.
3272 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
3273 * libc/include/machine/malloc.h: New file.
3274 * libc/include/machine/stdlib.h: Ditto.
3275 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
3276 * libc/machine/powerpc/Makefile.am: Add conditional objects and
3277 sources based on configuration.
3278 * libc/machine/powerpc/Makefile.in: Regenerated.
3279 * libc/machine/powerpc/configure: Ditto.
3280 * libc/machine/powerpc/configure.in: Add check for
3281 powerpc-eabialtivec* in which case add in additional source files.
3282 * libc/machine/powerpc/setjmp.S: Add altivec support.
3283 * libc/machine/powerpc/vec_calloc.c: New file.
3284 * libc/machine/powerpc/vec_free.c: Ditto.
3285 * libc/machine/powerpc/vec_malloc.c: Ditto.
3286 * libc/machine/powerpc/vec_mallocr.c: Ditto.
3287 * libc/machine/powerpc/vec_realloc.c: Ditto.
3288 * libc/machine/powerpc/machine/malloc.h: Ditto.
3289 * libc/machine/powerpc/machine/stdlib.h: Ditto.
3290 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
3291 with added altivec format specifiers.
3292 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
3293 added altivec format specifiers.
3294
d413aadc
JS
32952002-04-19 Joel Sherrill <joel@OARcorp.com>
3296
3297 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
3298 while autoconf is trying to link main(){}.
3299
27193895
JJ
33002002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3301
3302 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
3303 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
3304
10d00216
JJ
33052002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3306
6b0f808e
JJ
3307 * libc/time/time.tex: Add tzset info.
3308
33092002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3310
3311 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3312 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3313 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3314 (tzname): Defined for all platforms.
3315 (daylight, timezone): Defined only for CYGWIN.
3316 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3317 environment set up.
3318 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3319 environment variable is set.
3320 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3321 tzset_r.c.
3322 * libc/time/Makefile.in: Regenerated.
3323 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3324 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3325 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3326 * libc/time/local.h: New local header file.
3327 * libc/time/mktime.c (mktime): Add timezone support.
3328 * libc/time/mktm_r.c: New file which is the common engine
3329 for gmtime_r and lcltime_r. This code has timezone support.
3330 * libc/time/strftime.c (strftime): Add %Z timezone support.
3331 * libc/time/tzlock.c: New file containing timezone lock stubs.
3332 * libc/time/tzset.c: New file containing tzset() routine.
3333 * libc/time/tzset_r.c: New file containing _tzset_r and
3334 internal routine for calculating timezone changes for specified year.
3335
33362002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3337
3338 * configure.in (CRT0_DIR): Set to libc/.
3339 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3340 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3341 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3342 $(CRT1_DIR)/$(CRT1).
3343 * libc/machine/xstormy16/Makefile.in: Regenerated.
3344 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3345 * libc/machine/xstormy16/configure: Regenerated.
3346
33472002-04-13 Alexandre Oliva <aoliva@redhat.com>
3348
3349 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3350 fails, don't bail out, and try to correct next time.
3351
3352 * libc/include/sys/config.h: Include limits.h.
3353
33542002-04-12 Eric Norum <eric.norum@usask.com>
3355
3356 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3357 routine to allow autoconf to determine that building executables
3358 for rtems works.
3359 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3360 (rtems_gxx_mutex_once): Ditto.
3361
33622002-04-09 Tom Rix <trix@redhat.com>
3363
3364 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3365
33662002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3367
3368 * libc/include/time.h: Fix strptime declaration.
3369 * libc/time/Makefile.am: Add strptime.c.
3370 * libc/time/Makefile.in: Regenerated.
3371 * libc/time/strptime.c: New file.
3372
33732002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3374
3375 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3376 siglongjmp prototype, and sigsetjmp macro definition.
3377 * libc/sys/linux/siglongjmp.c: New file.
3378 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3379 * libc/sys/linux/Makefile.in: Regenerated.
3380
33812002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3382
3383 * Makefile.am: Add support for installing crt1.o if one exists.
3384 * configure.host: Specify crt1.o for linux.
3385 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3386 * Makefile.in: Regenerated.
3387 * configure: Ditto.
3388 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3389 Added for non-Cygwin, non-RTEMS configurations.
3390 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3391 * libc/sys/linux/Makefile.in: Regenerated.
3392 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3393 by gcc. This fixes problem with reconfiguring linux newlib build.
3394 * libc/sys/linux/sysconf.c: New file.
3395
33962002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3397
3398 * configure.host: Add support for machine subdirectory of
3399 sys subdirectory.
3400 * configure.in: Add check for sys machine subdirectory.
3401 * Makefile.am: Ditto.
3402 * configure: Regenerated.
3403 * Makefile.in: Ditto.
3404 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
3405 * libc/sys/linux/sys/syscall.h: Ditto.
3406 * libc/sys/linux/sleep.c: New file.
3407 * libc/sys/linux/socket.c: Ditto.
3408 * libc/sys/linux/sockops.h: Ditto.
3409 * libc/sys/linux/stack.c: Ditto.
3410 * libc/sys/linux/usleep.c: Ditto.
3411 * libc/sys/linux/machine/Makefile.am: Ditto.
3412 * libc/sys/linux/machine/Makefile.in: Ditto.
3413 * libc/sys/linux/machine/aclocal.m4: Ditto.
3414 * libc/sys/linux/machine/configure: Ditto.
3415 * libc/sys/linux/machine/configure.in: Ditto.
3416 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3417 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
3418 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
3419 * libc/sys/linux/machine/i386/configure: Ditto.
3420 * libc/sys/linux/machine/i386/configure.in: Ditto.
3421 * libc/sys/linux/machine/i386/crt0.c: Ditto.
3422 * libc/sys/linux/machine/i386/sigset.c: Ditto.
3423 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
3424 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
3425 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3426 * libc/sys/linux/sys/select.h: Ditto.
3427 * libc/sys/linux/configure.in: Add support for machine directory.
3428 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
3429 * libc/sys/linux/Makefile.in: Regenerated.
3430 * libc/sys/linux/configure: Ditto.
3431 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
3432 * libc/sys/linux/inode.c: Ditto.
3433 * libc/sys/linux/linux.c: Ditto.
3434 * libc/sys/linux/process.c: Ditto.
3435 * libc/sys/linux/systat.c: Ditto.
3436 * libc/sys/linux/time.c: Ditto.
3437 * libc/sys/linux/wait.c: Ditto.
3438 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
3439 * libc/sys/linux/io.c: Change header plus add readv/writev.
3440 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
3441 use __sigsuspend syscall.
3442 * libc/sys/linux/select.c: Change header plus change select to
3443 use _newselect syscall.
3444 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
3445 used by glibc header files.
3446 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
3447 types.
3448
34492002-04-01 Jeff Johnston <jjohnstn@redhat.com>
3450
3451 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
3452 initializing a struct _reent that has been dynamically allocated.
3453 (_REENT_CHECK_MISC): New macro that checks _misc struct for
3454 _REENT_SMALL and does nothing otherwise.
3455 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
3456 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
3457 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
3458 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
3459 [_REENT_SMALL](struct _misc_reent): New structure containing
3460 miscellaneous reentrant areas needed by newlib.
3461 [_REENT_SMALL](struct _reent): Add _misc pointer.
3462 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
3463 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
3464 and _REENT_STRTOK_LAST macros.
3465 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
3466 and _REENT_MBLEN_STATE macros.
3467 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
3468 and _REENT_MBTOWC_STATE macros.
3469 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
3470 and _REENT_WCTOMB_STATE macros.
3471
34722002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
3473
3474 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
3475
3476Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
3477
3478 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
3479
3480Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
3481
3482 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
3483 Store high part of leading bytes too.
3484
34852002-03-22 Richard Sandiford <rsandifo@redhat.com>
3486
3487 * libm/math/ef_hypot.c: Increase scale factor to 68.
3488
34892002-03-13 Alexandre Oliva <aoliva@redhat.com>
3490
3491 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
3492 error.
3493
34942002-03-12 Jeff Johnston <jjohnstn@redhat.com>
3495
3496 * libc/sys/go32/access.c: Change license to relaxed license
3497 used in identical file throughout newlib/libgloss.
3498
34992002-03-12 Richard Earnshaw <rearnsha@arm.com>
3500
3501 * libc/sys/arm/access.c: New file.
3502 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
3503 * libc/sys/arm/Makefile.in: Regenerate.
3504 * libc/sys/arm/syscalls.c (_stat): New function.
3505
35062002-03-11 Michael Meissner <meissner@redhat.com>
3507
3508 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
3509 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
3510 * libc/machine/mips/Makefile.in: Regenerate.
3511 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
3512 * libc/machine/mips/memset.c: Dito.
3513 * libc/machine/mips/strcmp.c: Dito.
3514 * libc/machine/mips/strlen.c: Dito.
3515 * libc/machine/mips/strncmp.c: Dito.
3516
35172002-03-06 Jeff Johnston <jjohnstn@redhat.com>
3518
3519 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
3520 object so it works for shared library or statici library.
35212002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3522
10d00216
JJ
3523 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3524 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3525 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3526 (tzname): Defined for all platforms.
3527 (daylight, timezone): Defined only for CYGWIN.
3528 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3529 environment set up.
3530 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3531 environment variable is set.
3532 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3533 tzset_r.c.
3534 * libc/time/Makefile.in: Regenerated.
3535 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3536 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3537 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3538 * libc/time/local.h: New local header file.
3539 * libc/time/mktime.c (mktime): Add timezone support.
3540 * libc/time/mktm_r.c: New file which is the common engine
3541 for gmtime_r and lcltime_r. This code has timezone support.
3542 * libc/time/strftime.c (strftime): Add %Z timezone support.
3543 * libc/time/tzlock.c: New file containing timezone lock stubs.
3544 * libc/time/tzset.c: New file containing tzset() routine.
3545 * libc/time/tzset_r.c: New file containing _tzset_r and
3546 internal routine for calculating timezone changes for specified year.
3547
5f1c13c6
TF
35482002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3549
3550 * configure.in (CRT0_DIR): Set to libc/.
3551 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3552 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3553 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3554 $(CRT1_DIR)/$(CRT1).
3555 * libc/machine/xstormy16/Makefile.in: Regenerated.
3556 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3557 * libc/machine/xstormy16/configure: Regenerated.
3558
0cc261b1
AO
35592002-04-13 Alexandre Oliva <aoliva@redhat.com>
3560
2f3009bd
AO
3561 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3562 fails, don't bail out, and try to correct next time.
3563
0cc261b1
AO
3564 * libc/include/sys/config.h: Include limits.h.
3565
26116455
JJ
35662002-04-12 Eric Norum <eric.norum@usask.com>
3567
3568 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3569 routine to allow autoconf to determine that building executables
3570 for rtems works.
3571 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3572 (rtems_gxx_mutex_once): Ditto.
3573
4608280d
TR
35742002-04-09 Tom Rix <trix@redhat.com>
3575
3576 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3577
dea7e25c
JJ
35782002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3579
3580 * libc/include/time.h: Fix strptime declaration.
3581 * libc/time/Makefile.am: Add strptime.c.
3582 * libc/time/Makefile.in: Regenerated.
3583 * libc/time/strptime.c: New file.
3584
c5ef1e95
JJ
35852002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3586
3587 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3588 siglongjmp prototype, and sigsetjmp macro definition.
3589 * libc/sys/linux/siglongjmp.c: New file.
3590 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3591 * libc/sys/linux/Makefile.in: Regenerated.
3592
6e6cd5bd
JJ
35932002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3594
3595 * Makefile.am: Add support for installing crt1.o if one exists.
3596 * configure.host: Specify crt1.o for linux.
3597 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3598 * Makefile.in: Regenerated.
3599 * configure: Ditto.
3600 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3601 Added for non-Cygwin, non-RTEMS configurations.
3602 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3603 * libc/sys/linux/Makefile.in: Regenerated.
3604 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3605 by gcc. This fixes problem with reconfiguring linux newlib build.
3606 * libc/sys/linux/sysconf.c: New file.
3607
fa4a16a1
JJ
36082002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3609
3610 * configure.host: Add support for machine subdirectory of
3611 sys subdirectory.
3612 * configure.in: Add check for sys machine subdirectory.
3613 * Makefile.am: Ditto.
3614 * configure: Regenerated.
3615 * Makefile.in: Ditto.
3616 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
3617 * libc/sys/linux/sys/syscall.h: Ditto.
3618 * libc/sys/linux/sleep.c: New file.
3619 * libc/sys/linux/socket.c: Ditto.
3620 * libc/sys/linux/sockops.h: Ditto.
3621 * libc/sys/linux/stack.c: Ditto.
3622 * libc/sys/linux/usleep.c: Ditto.
3623 * libc/sys/linux/machine/Makefile.am: Ditto.
3624 * libc/sys/linux/machine/Makefile.in: Ditto.
3625 * libc/sys/linux/machine/aclocal.m4: Ditto.
3626 * libc/sys/linux/machine/configure: Ditto.
3627 * libc/sys/linux/machine/configure.in: Ditto.
3628 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3629 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
3630 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
3631 * libc/sys/linux/machine/i386/configure: Ditto.
3632 * libc/sys/linux/machine/i386/configure.in: Ditto.
3633 * libc/sys/linux/machine/i386/crt0.c: Ditto.
3634 * libc/sys/linux/machine/i386/sigset.c: Ditto.
3635 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
3636 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
3637 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3638 * libc/sys/linux/sys/select.h: Ditto.
3639 * libc/sys/linux/configure.in: Add support for machine directory.
3640 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
3641 * libc/sys/linux/Makefile.in: Regenerated.
3642 * libc/sys/linux/configure: Ditto.
3643 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
3644 * libc/sys/linux/inode.c: Ditto.
3645 * libc/sys/linux/linux.c: Ditto.
3646 * libc/sys/linux/process.c: Ditto.
3647 * libc/sys/linux/systat.c: Ditto.
3648 * libc/sys/linux/time.c: Ditto.
3649 * libc/sys/linux/wait.c: Ditto.
3650 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
3651 * libc/sys/linux/io.c: Change header plus add readv/writev.
3652 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
3653 use __sigsuspend syscall.
3654 * libc/sys/linux/select.c: Change header plus change select to
3655 use _newselect syscall.
3656 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
3657 used by glibc header files.
3658 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
3659 types.
3660
d4dca0e4
JJ
36612002-04-01 Jeff Johnston <jjohnstn@redhat.com>
3662
3663 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
3664 initializing a struct _reent that has been dynamically allocated.
3665 (_REENT_CHECK_MISC): New macro that checks _misc struct for
3666 _REENT_SMALL and does nothing otherwise.
3667 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
3668 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
3669 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
3670 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
3671 [_REENT_SMALL](struct _misc_reent): New structure containing
3672 miscellaneous reentrant areas needed by newlib.
3673 [_REENT_SMALL](struct _reent): Add _misc pointer.
3674 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
3675 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
3676 and _REENT_STRTOK_LAST macros.
3677 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
3678 and _REENT_MBLEN_STATE macros.
3679 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
3680 and _REENT_MBTOWC_STATE macros.
3681 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
3682 and _REENT_WCTOMB_STATE macros.
3683
54a7c6d2
JJ
36842002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
3685
3686 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
3687
c82479b1
CF
3688Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
3689
3690 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
3691
43ecf6e8
JR
3692Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
3693
3694 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
3695 Store high part of leading bytes too.
3696
a485d93f
RS
36972002-03-22 Richard Sandiford <rsandifo@redhat.com>
3698
3699 * libm/math/ef_hypot.c: Increase scale factor to 68.
3700
62a963ee
AO
37012002-03-13 Alexandre Oliva <aoliva@redhat.com>
3702
3703 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
3704 error.
3705
c53d8453
JJ
37062002-03-12 Jeff Johnston <jjohnstn@redhat.com>
3707
3708 * libc/sys/go32/access.c: Change license to relaxed license
3709 used in identical file throughout newlib/libgloss.
3710
d2a246ad
JJ
37112002-03-12 Richard Earnshaw <rearnsha@arm.com>
3712
3713 * libc/sys/arm/access.c: New file.
3714 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
3715 * libc/sys/arm/Makefile.in: Regenerate.
3716 * libc/sys/arm/syscalls.c (_stat): New function.
3717
eabb48d5
MM
37182002-03-11 Michael Meissner <meissner@redhat.com>
3719
3720 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
3721 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
3722 * libc/machine/mips/Makefile.in: Regenerate.
3723 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
3724 * libc/machine/mips/memset.c: Dito.
3725 * libc/machine/mips/strcmp.c: Dito.
3726 * libc/machine/mips/strlen.c: Dito.
3727 * libc/machine/mips/strncmp.c: Dito.
3728
2a606041
JJ
37292002-03-06 Jeff Johnston <jjohnstn@redhat.com>
3730
eabb48d5
MM
3731 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
3732 object so it works for shared library or statici library.
3733 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 3734
55f26f11
JR
3735Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
3736
96bff22c
JR
3737 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
3738 Add memcpy.S, memset.S and strcpy.S.
3739 * libc/machine/sh/Makefile.in: Regenerate.
3740 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 3741 (SHHI, SHLO): Define.
96bff22c
JR
3742 * libc/machine/sh/memset.S: Add code for SH5.
3743 * libc/machine/sh/memset.S: Likewise.
3744 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 3745
afecf2fa
JJ
37462002-02-27 Jeff Johnston <jjohnstn@redhat.com>
3747
3748 * configure.host: Add check for --disable-newlib-io-float
3749 configuration option and add -DNO_FLOATING_POINT to newlib cflags
3750 if appropriate.
3751 * acinclude.m4: Added --disable-newlib-io-float option.
3752 * aclocal.m4: Regenerated.
3753 * configure: Ditto.
3754 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
3755 * libc/*/aclocal.m4 libc/*/configure
3756 * libm/*/aclocal.m4 libm/*/configure: Ditto.
3757 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
3758 if NO_FLOATING_POINT flag is not defined.
3759
c1010a63
JJ
37602002-02-25 Jeff Johnston <jjohnstn@redhat.com>
3761
3762 * libc/include/sys/config.h: Add __extension__ in front of
3763 long long references.
3764
630c657e
CV
37652002-02-23 Corinna Vinschen <corinna@vinschen.de>
3766
3767 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
3768 (_stat): Ditto.
3769
59ee2e20
CV
37702002-02-23 Corinna Vinschen <corinna@vinschen.de>
3771
3772 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
3773 of off_t.
3774
2dd68dc2
NC
37752002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
3776
3777 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
3778 clobbered registers.
3779
55500bf1
TF
37802002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3781
3782 * configure.host (newlib_cflags): When host is in m68* add
3783 -DCOMPACT_CTYPE.
3784
ba0173f0
JJ
37852002-02-15 Jeff Johnston <jjohnstn@redhat.com>
3786
3787 * libc/include/sys/config.h: Add definitions for
3788 __int16_t, __uint16_t, __int64_t, and __uint64_t.
3789
7b61d0c5
JJ
37902002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
3791
3792 * libc/sys/mmixware/link.c: New.
3793 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
3794 volatile.
3795 * libc/sys/mmixware/times.c (_times): Renamed from times.
3796 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
3797 properly by reading previous contents, not through BinaryReadWrite.
3798 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
3799 * libc/sys/mmixware/Makefile.in: Regenerate.
3800
a505db65
CV
38012002-02-10 Corinna Vinschen <corinna@vinschen.de>
3802
3803 * libc/include/grp.h: Don't declare group functions when compiling
3804 Cygwin.
3805
f3b39c45
CV
38062002-02-09 Corinna Vinschen <corinna@vinschen.de>
3807
3808 * libc/include/grp.h: Include Cygwin specific header.
3809 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
3810 when compiling for Cygwin.
3811 * libc/include/sys/types.h: Don't define off_t, uid_t
3812 and gid_t when compiling for Cygwin.
3813
82b3ac56
MG
38142002-02-08 matthew green <mrg@redhat.com>
3815
3816 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
3817 _REENT_EMERGENCY_SIZE, not sizeof(char *).
3818
9f25eed9
AO
38192002-02-08 Alexandre Oliva <aoliva@redhat.com>
3820
3821 Contribute sh64-elf.
3822 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
3823 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
3824 support in printf.
3825 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
3826 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
3827 any labels.
3828 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
3829 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
3830 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
3831 * libc/machine/sh/configure.in: Rework conditionals.
3832 * libc/machine/sh/Makefile.am: Likewise.
3833 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
3834 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
3835 * configure.host: Match `sh*'.
3836 * libc/include/machine/setjmp.h: Define for SH5.
3837 * libc/machine/sh/configure.in: Detect SH5.
3838 * libc/machine/sh/configure: Rebuilt.
3839 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
3840 * libc/machine/sh/Makefile.in: Rebuilt.
3841 * libc/machine/sh/asm.h: Adjust for SH5.
3842 * libc/machine/sh/setjmp.S: Implement in SHmedia.
3843 * libc/sys/sh/crt0.S: Likewise.
3844 * libc/sys/sh/trap.S: Likewise.
3845
a2a405ae
JJ
38462002-02-07 Jeff Johnston <jjohnstn@redhat.com>
3847
3848 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
3849 (mach_add_obj): Conditionally set to setjmp.o or nothing.
3850 (LIB_SOURCES): Remove $(mach_add_src).
3851 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
3852 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
3853 * libc/machine/i386/Makefile.in: Regenerate.
3854
27478365
JJ
38552002-02-05 Manik Raina <manik@cisco.com>
3856
994fa212 3857 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
3858 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
3859 s, p, k, and outstr.
3860 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
3861
815a37f7
JJ
38622002-02-04 Jeff Johnston <jjohnstn@redhat.com>
3863
3864 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
3865 _REENT_CHECK_EMERGENCY macro.
3866
a4139c12
MG
38672002-02-03 matthew green <mrg@redhat.com>
3868
3869 * libc/reent/signgam.c (__signgam): Fix error in previous.
3870
8195aff7
MG
38712002-02-02 matthew green <mrg@redhat.com>
3872
3873 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
3874
3875 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
3876 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
3877 * libc/include/sys/reent.h (struct _reent): Completely new version
3878 for _REENT_SMALL.
3879 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
3880 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
3881 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
3882 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
3883 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
3884 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
3885 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
3886 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
3887 (_REENT_EMERGENCY): Likewise.
3888
3889 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
3890 the start of the real __sFILE, used for stdin, stdout and stderr until
3891 they are setup properly.
3892 (struct __sFILE): Move location of _data in _REENT_SMALL case.
3893 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
3894 allocated stdin, stdout and stderr.
3895 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
3896 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
3897 * libc/stdio/perror.c (_perror_r): Likewise.
3898 * libc/stdio/printf.c (printf, _printf_r): Likewise.
3899 * libc/stdio/putchar.c (_putchar_r): Likewise.
3900 * libc/stdio/puts.c (_puts_r): Likewise.
3901 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
3902 * libc/stdio/vprintf.c (vprintf): Likewise.
3903 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
3904
3905 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
3906
3907 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
3908 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
3909 for _REENT_SMALL.
3910 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
3911 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
3912
3913 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
3914 _REENT_SMALL.
3915 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
3916 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
3917 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
3918 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
3919 * libc/stdlib/rand48.c (__dorand48): Likewise.
3920 * libc/stdlib/seed48.c (_seed48_r): Likewise.
3921 * libc/stdlib/srand48.c (_srand48_r): Likewise.
3922 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
3923 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
3924 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
3925 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
3926 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
3927 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
3928 * libc/stdlib/rand.c (rand): Likewise.
3929
3930 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
3931 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
3932
3933 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
3934 _REENT_MP_FREELIST() and _REENT_MP_P5S.
3935 * libc/include/sys/reent.h (struct _mprec): New structure.
3936
3937 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
3938 _unused_strtok_last.
3939 * libc/string/strtok.c (strtok): Use a local static variable.
3940
3941 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
3942 (_REENT_EMERGENCY_SIZE): Likewise.
3943 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
3944 _REENT_ASCTIME_BUF().
3945 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
3946 _REENT_TM().
3947
3948 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
3949 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
3950 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
3951 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
3952 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
3953 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
3954
9c2e7642
GK
39552002-02-01 Geoffrey Keating <geoffk@redhat.com>
3956
3957 * configure.host (xstormy16): Don't use the generic malloc.
3958 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
3959 * libc/machine/xstormy16/Makefile.in: Regenerate.
3960 * libc/machine/xstormy16/mallocr.c: New file.
3961 * libc/machine/xstormy16/tiny-malloc.c: New file.
3962
4bb6112f
TF
39632002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3964
3965 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
3966 when _CYGWIN_TYPES_H is not defined.
3967
8d345552
TF
39682002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3969
3970 * libc/include/sys/signal.h: Revert 2002-01-23 change.
3971
bcc49082
TF
39722002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3973
3974 * libc/include/sys/signal.h: Remove pthread_kill declaration
3975 when __CYGWIN__ is defined.
3976
13baedeb
CF
39772002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3978
3979 * libc/include/time.h: Add prototype for strptime for Cygwin.
3980
b2db0ebc
NC
39812002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3982
ebf139fb
NC
3983 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
3984 dst was not word aligned.
3985
b2db0ebc
NC
3986 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
3987 if too much memory is requested.
3988
798c015d
JJ
39892002-01-11 Jeff Johnston <jjohnstn@redhat.com>
3990
3991 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
3992 reads blanks from the input file to break if EOF reached
3993 rather than end processing.
3994
46ad2ef4
JJ
39952002-01-07 Jeff Johnston <jjohnstn@redhat.com>
3996
3997 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
3998
86b06396
JJ
39992002-01-07 Alan Matsuoka <alanm@redhat.com>
4000
4001 * libc/include/machine/ieeefp.h: Configure d10v doubles to
4002 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
4003 libc/include/sys/config.h: Ditto.
4004
423d5064
CV
40052001-12-28 Corinna Vinschen <corinna@vinschen.de>
4006
4007 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
4008
f6eff1c0
GK
40092001-12-22 Geoffrey Keating <geoffk@redhat.com>
4010 Catherine Moore <clm@redhat.com>
4011 Richard Henderson <rth@redhat.com>
4012 Corinna Vinschen <vinschen@redhat.com>
4013
4014 * configure.host: Add support for xstormy16.
4015 * libc/include/machine/ieeefp.h: Add support for xstormy16.
4016 * libc/include/machine/setjmp.h: Add support for xstormy16.
4017 * libc/include/sys/config.h: Add support for xstormy16.
4018 * libc/machine/xstormy16/Makefile.am: New file.
4019 * libc/machine/xstormy16/Makefile.in: New file.
4020 * libc/machine/xstormy16/aclocal.m4: New file.
4021 * libc/machine/xstormy16/configure: New file.
4022 * libc/machine/xstormy16/configure.in: New file.
4023 * libc/machine/xstormy16/setjmp.S: New file.
4024
1f93c55f
TF
40252001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4026
4027 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
4028 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
4029
13b918be
CV
40302001-12-19 Corinna Vinschen <corinna@vinschen.de>
4031
4032 * libm/machine/Makefile.am: Change rules to create correct lib.a.
4033 * libm/machine/Makefile.in: Regenerated through automake.
4034
08e857b4
TF
40352001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4036
4037 * Makefile.am (DOCDIR): Force to empty string when doc
4038 directory is not present.
4039
60565ed6
TF
40402001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4041
4042 * libc/machine/i386/f_*: Move to libm/machine/i386.
4043
40442001-12-18 Joel Sherrill <joel@OARcorp.com>
4045
4046 * libm/machine/Makefile.am: Add dummy doc stub so
4047 "make info" works.
4048
40492001-12-17 Joel Sherrill <joel@OARcorp.com>
4050
4051 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
4052
fc504135
TF
40532001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4054
4055 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
4056 $(COMPILE) rather than $(CC).
4057 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
4058 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
4059 $(LIB_COMPILE) change.
4060 (vfiprintf.$(oext)): Likewise.
4061
efeae9a3
CV
40622001-12-17 Corinna Vinschen <vinschen@redhat.de>
4063
4064 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
4065 conditionalized including of getopt stuff.
4066
cdf7120d
TF
40672001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4068
4069 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
4070 compile line.
f85be99c 4071 (vfiprintf.$(oext)): Likewise.
cdf7120d 4072
2e1a7175
TF
40732001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4074
4075 * Makefile.shared: New file.
4076 * libc/sys/linux/shared.ld: New file.
4077 * libm/machine/*: New files.
4078 * libm/machine/i386/*: New files.
4079 * Makefile.am: Add libtool support. Change math and mathfp
4080 references to variables.
4081 * configure.host: Add variables for libtool support. Add
4082 libm_machine_dir variable.
4083 * configure.in: Add objectlist variables, for libtool
4084 support. Add CC_FOR_BUILD tests.
4085 * libc/Makefile.am: Add libtool support. Change crt0.o
4086 reference to be a variable reference.
4087 * libc/configure.in: Add libtool support. Change sublib
4088 names to be lib${subdir}.la when using libtool.
4089 * libc/ctype/Makefile.am: Add libtool support.
4090 * libc/errno/Makefile.am: Likewise.
4091 * libc/locale/Makefile.am: Likewise.
4092 * libc/machine/Makefile.am: Likewise.
4093 * libc/machine/configure.in: Likewise.
4094 * libc/machine/i386/Makefile.am: Likewise.
4095 * libc/machine/i386/configure.in: Likewise.
4096 * libc/misc/Makefile.am: Likewise.
4097 * libc/posix/Makefile.am: Likewise.
4098 * libc/reent/Makefile.am: Likewise.
4099 * libc/signal/Makefile.am: Likewise.
4100 * libc/stdio/Makefile.am: Likewise.
4101 * libc/stdlib/Makefile.am: Likewise.
4102 * libc/string/Makefile.am: Likewise.
4103 * libc/sys/Makefile.am: Likewise.
4104 * libc/sys/configure.in: Likewise.
4105 * libc/sys/linux/Makefile.am: Add libtool support. Change
4106 awk reference to a variable reference. Change signal.h
4107 reference to a variable reference.
4108 * libc/sys/linux/configure.in: Add libtool support.
4109 * libc/syscalls/Makefile.am: Likewise.
4110 * libc/time/Makefile.am: Likewise.
4111 * libc/unix/Makefile.am: Likewise.
4112 * libm/Makefile.am: Add libtool support. Change math and
4113 mathfp references to variables.
4114 * libm/configure.in: Add libtool support. Add
4115 LIBM_MACHINE_LIB variable.
4116 * libm/common/Makefile.am: Add libtool support.
4117 * libm/math/Makefile.am: Likewise.
4118 * libm/mathfp/Makefile.am: Likewise.
4119 Regenerate all Makefile.in, aclocal.m4, and configure.
4120
b92591a1
JJ
41212001-12-13 Anita Kulkarni <anitak@kpit.com>
4122
4123 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
4124
355b664e
CF
41252001-12-06 John Peacock <jpeacock@rowman.com>
4126
4127 * libc/include/sys/unistd.h: Correct ualarm declaration.
4128
e9853806
NC
41292001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
4130
4131 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
4132 vector before calling the initialisation functions.
4133
a8e091b0
CF
41342001-11-29 Christopher Faylor <cgf@redhat.com>
4135
4136 * libc/include/dirent.h: Protect against multiple inclusion.
4137
ab634123
CF
41382001-11-27 Christopher Faylor <cgf@redhat.com>
4139
4140 * libc/include/sys/types.h: Define useconds_t.
4141 * libc/include/sys/ulimit.h: Declare ualarm.
4142
d37e401e
CF
41432001-11-21 Christopher Faylor <cgf@redhat.com>
4144
4145 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
4146
8ac90051
HPN
41472001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
4148
4149 * libc/sys/mmixware/*: Tweak license header in all source files.
4150
d7ca37e4
CV
41512001-11-12 Corinna Vinschen <vinschen@redhat.com>
4152
4153 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
4154 to here. Rearrange for general inclusion by stdlib.h.
4155 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
4156 isn't defined.
4157 * libc/sys/linux/include/alloca.h: Move to libc/include.
4158
28f8744e
AG
41592001-11-12 Anthony Green <green@redhat.com>
4160
4161 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
4162
4cede8c4
HPN
41632001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
4164
4165 * libc/sys/mmixware/*: Correct spacing in all source files.
4166 * libc/sys/mmixware/syscall.h: Move misplaced file...
4167 * libc/sys/mmixware/sys/syscall.h: ...here.
4168
8be9b48b
JJ
41692001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
4170
4171 * libc/include/machine/ieeefp.h: Add support for mmix target.
4172 * libc/include/machine/setjmp.h: Ditto.
4173 * configure.host: Ditto.
4174 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
4175 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
4176 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
4177 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
4178 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
4179 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
4180 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
4181 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
4182 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
4183 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
4184 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
4185 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
4186 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
4187 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
4188 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
4189 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
4190 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
4191 libc/sys/mmixware/aclocal.m4: Generate.
4192
c7dd4f95
CV
41932001-11-05 Corinna Vinschen <corinna@vinschen.de>
4194
4195 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
4196 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
4197 when __CYGWIN__ is defined.
4198 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
4199 logwtmp().
4200
a6a6f9fe
JJ
42012001-11-01 Arati Dikey <aratidikey@hotmail.com>
4202
4203 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
4204 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
4205 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
4206 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
4207
d0504c35
JJ
42082001-10-24 Christopher Faylor <cgf@redhat.com>
4209
4210 * libc/stdio/fseek.c: Reset pointer to buffer base
4211 when forced to seek outside of current buffer contents.
4212 This prevents the code from erroneously thinking there is
4213 anything in the current buffer.
4214
0280c8c0
GK
42152001-10-22 Geoffrey Keating <geoffk@redhat.com>
4216
4217 * libc/include/math.h: The C++ standard adds the single-precision
4218 versions of the elementary functions.
4219
333d6098
CF
42202001-10-22 Christopher Faylor <cgf@redhat.com>
4221
4222 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
4223 throughout.
4224 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
4225 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
4226 * system.c (_system_r): Ditto.
4227
c7118319
CV
42282001-10-17 Corinna Vinschen <corinna@vinschen.de>
4229
4230 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 4231 __CYGWIN__ or __rtems__ is defined.
c7118319 4232
5665b0e1
JJ
42332001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
4234
4235 * libc/include/stdlib.h: add declarations for
4236 _strtoull_r, _strtoll_r, strtoull, and strtoll.
4237 * libc/stdio/local.h: remove declarations of
4238 __strtoull_r and __strtoll_r.
4239 * libc/stdio/vfscanf.c(__svfscanf_r): call
4240 _strtoull_r instead of __strtoull_r. Ditto
4241 _strtoll_r vs. __strtoll_r.
4242 * libc/stdlib/Makefile.am: add new files to
4243 .c list and .def list
4244 * libc/stdlib/Makefile.in: regenerate
4245 * libc/stdlib/strtoll_r.c: rename __strtoll_r
4246 as _strtoll_r
4247 * libc/stdlib/strtoull_r.c: rename __strtoull_r
4248 as _strtoull_r
4249 * libc/stdlib/strtoull.c: new file
4250 * libc/stdlib/strtoll.c: new file
4251
d2d5eb41
CF
4252Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
4253
4254 * libc/include/process.h: Add getpid() declaration.
4255
448e3c14
NC
42562001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
4257
4258 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
4259 for new style arm/elf ctor/dtor handling.
4260 Minor formatting tidy up.
4261
7a2afbbb
JJ
42622001-09-13 Jeff Johnston <jjohnstn@redhat.com>
4263
4264 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
4265 and strtoull_r.c.
4266 * libc/stdlib/Makefile.in: Regenerated.
4267 * libc/stdlib/strtoll_r.c: New file.
4268 * libc/stdlib/strtoull_r.c: New file.
4269 * libc/stdio/local.h: Add prototypes for long long string
4270 conversion routines.
4271 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
4272 tied to %L integer conversion specifier.
4273
6342caa4
JJ
4274Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
4275
4276 * strftime.c (strftime): Fix "%W" implementation to properly handle
4277 Mondays too.
4278
b2d319cb
JJ
42792001-09-07 Jeff Law <law@redhat.com>
4280
4281 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
4282 __fini with "mov.l" instead of "mov.w".
4283
233823ba
CV
42842001-09-05 Corinna Vinschen <corinna@vinschen.de>
4285
4286 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
4287 and getopt.h.
4288
63c17b54
JJ
42892001-09-04 Jason Merrill <jason_merrill@redhat.com>
4290
4291 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
4292
a3e67ddf
CV
42932001-09-03 Corinna Vinschen <corinna@vinschen.de>
4294
4295 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
4296 field.
4297 (__DIRENT_VERSION): New define.
4298
6d47f33a
CV
42992001-09-03 Corinna Vinschen <corinna@vinschen.de>
4300
4301 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
4302 Shrink __d_reserved accordingly to keep structure size.
4303 (dirfd): Declare external.
6d47f33a 4304
348c5e06
JJ
43052001-08-29 Joel Sherrill <joel@OARcorp.com>
4306
4307 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
4308
43092001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4310
4311 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
4312 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
4313 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
4314 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
4315 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
4316 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
4317 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
4318 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
4319 Add conditional compilation to avoid HW FPU instructions
4320 when compiled for soft-float.
4321
f29865c5
JJ
43222001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4323
4324 * Makefile.am: Add check for ln failing when creating libg.a
4325 so that cp gets used as a backup.
4326 * Makefile.in: Regenerated.
4327
9e2a4ef8
JJ
43282001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4329
4330 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
4331 No longer include time.h. Add struct __tm to use for
4332 _localtime_buf in the reentrant structure. Add a
4333 _NULL definition to use in initializing the reentrant struct.
4334 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
4335 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
4336 <sys/_types.h>.
4337 * libc/include/sys/unistd.h: Include <sys/_types.h>.
4338 * libc/time/lcltime.c (localtime): Cast the reentrant struct
4339 _localtime_buf to be struct tm *.
4340
1ae900d6
JR
4341Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
4342
4343 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
4344 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
4345 __ctors_end.
4346 * libc/sys/h8300hms/syscalls.c: Include errno.h.
4347 (_unlink): New stub function.
4348
8e26d5b5
CF
4349Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
4350
4351 * libc/include/sys/errno.h: Add a cautionary comment.
4352
e8267664
JJ
43532001-08-21 Jeff Johnston <jjohnstn@redhat.com>
4354
4355 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
4356 for SIZE_SZ so that alignment ends up a minimum of 8.
4357
4acf3edf
CF
4358Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
4359
4360 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
4361 arguments.
4362
4363 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
4364 Cygwin.
4365
52c80be8
JJ
43662001-08-13 Jeff Johnston <jjohnstn@redhat.com>
4367
4368 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
4369 macro constants for mallopt options.
4370 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
4371
a7061f7f
JJ
43722001-08-02 Jeff Johnston <jjohnstn@redhat.com>
4373
4374 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
4375 otherwise default.
4376
0b4bfdd5
AH
43772001-07-12 Aldy Hernandez <aldyh@redhat.com>
4378
4379 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
4380
2b6b730c
NC
43812001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
4382
4383 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
4384 Define for little endian ARMs.
4385
4386 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
4387 __IEEE_BYTES_LITTLE_ENDIAN is defined.
4388
25842b68
JJ
43892001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
4390
4391 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
4392
371b76ef
JJ
43932001-06-11 Egor Duda <deo@logos-m.ru>
4394
4395 * libc/ctype/ctype_.c: When compiled with gcc on platforms
4396 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
4397 initialized memory region. Platform can define COMPACT_CTYPE
4398 to avoid allocation of the additional 128 bytes of data.
4399 Add pointer to _ctype_ array. Always initialize all _ctype_
4400 array elements.
4401
43b44bc5
JL
44022001-06-08 Jonathan Larmour <jlarmour@redhat.com>
4403
4404 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
4405 NULL pointer.
4406
188bc140
NC
44072001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4408
4409 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
4410
2ce88418
NC
44112001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
4412
4413 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
4414 matching, non-word alignment, and the length is <= 4 but more than
4415 enough to move them over a word boundary.
4416 Add comments explaining what each instruction does.
4417
ca60ed47
CF
4418Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
4419
4420 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 4421 * libc/include/sys/unistd.h: Ditto.
ca60ed47 4422
8b3bcfba
JJ
44232001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
4424
4425 * libc/string/strrchr.c: Use strchr for the speed improvements.
4426
b09e3cf8
JJ
44272001-05-01 Jeff Johnston <jjohnstn@redhat.com>
4428
4429 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
4430 real file systems, let __smakebuf() determine if line buffering
4431 should be used for stdout.
4432
0ca66974
JJ
44332001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4434
4435 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
4436
7cb7017a
JJ
44372001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4438
4439 * libc/include/stdlib.h: Add prototype for _strtod_r.
4440
a874cd21
JJ
44412001-04-24 Charles Wilson <cwilson@ece.gatech.edu
4442
4443 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
4444 * libc/stdio/vprintf.c (_vprintf_r): new function
4445 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
4446 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
4447 _DEFUN, and call _vfprintf_r, not vfprintf.
4448 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
4449 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
4450 _DEFUN, and call _vfprintf_r, not vfprintf.
4451
cb4cc283
CF
44522001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
4453
4454 * libc/include/sys/unistd.h [X_OK]: Use better protection against
4455 Cygwin X_OK definitions in sys/file.h.
4456
8c9df1d5
CF
4457Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
4458
4459 * libc/include/sys/time.h: Define timercmp and other macros for
4460 __CYGWIN__, too.
4461
3ac6f3a7
JJ
44622001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4463
4464 * acinclude.m4: Added --enable-malloc-debugging configure flag.
4465 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
4466 --enable-malloc-debugging selected.
4467 * aclocal.m4 configure: Regenerated.
4468 libm/aclocal.m4 libm/configure: Ditto.
4469 * libc/aclocal.m4 libc/configure: Ditto.
4470 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
4471 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
4472 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
4473 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
4474 * doc/aclocal.m4 doc/configure: Ditto.
4475
52cb9e69
JJ
44762001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
4479 into one list.
4480 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
4481 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
4482 function prototypes.
4483 (_fscanf_r, _sscanf_r): Ditto.
4484 * libc/include/stdlib.h: Added _strtod_r prototype.
4485 * libc/stdio/Makefile.am: Add new v*scanf functions.
4486 * libc/stdio/Makefile.in: Regenerate.
4487 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
4488 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
4489 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
4490 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
4491 (sscanf): Changed to call __svfscanf_r with _REENT argument.
4492 (_sscanf_r): New routine.
4493 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
4494 with __svfscanf_r prototype.
4495 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
4496 routines.
4497 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
4498 structure as argument as calls reentrant versions of helper functions
4499 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
4500 to _strtol_r and _strtod_r respectively.
4501 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
4502 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
4503 _REENT argument.
4504 * libc/stdio/vscanf.c: New file.
4505 * libc/stdio/vsscanf.c: Ditto.
4506
ee9f39fb
JJ
45072001-04-19 Robert Collins <rbtcollins@hotmail.com>
4508
4509 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
4510 Define daylight to _daylight if it is not defined
4511 Prepare a variable export of timezone based on timezonevariable.
4512 (Cannot be used with the timezone() function.)
4513
273861e3
JJ
45142001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
4515
4516 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
4517 Correct the numerical values.
4518
a25b8414
CF
45192001-04-13 Robert Collins <rbtcollins@hotmail.com>
4520
4521 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
4522
b8a8c59d
CV
4523Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
4524
4525 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
4526 on case insensitve file systems.
4527
74f8cc63
CF
45282001-04-12 Robert Collins <rbtcollins@hotmail.com>
4529
4530 * libc/include/sys/features.h: Add appropriate defines for Cygwin
4531 pthread support.
4532 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
4533 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
4534 types. Include <cygwin/types.h> for the cygwin specific typedefs.
4535
16740220
RS
45362001-04-04 Richard Sandiford <rsandifo@redhat.com>
4537
4538 * libc/include/machine/ieeefp.h: Comment about new configuration
4539 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
4540 * libm/common/fdlib.h: Define new macros for testing floats.
4541 * libm/common/sf_*: Use them.
4542 * libm/math/ef_*: Likewise.
4543 * libm/math/sf_*: Likewise.
4544
0694d8d3
JJ
45452001-03-29 Jeff Johnston <jjohnstn@redhat.com>
4546
4547 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
4548 prolog to by-pass possible assembler error.
4549
4833b38c
JJ
45502001-03-21 Egor Duda <deo@logos-m.ru>
4551
4552 Allow building internal stubs for non-reentrant syscalls
4553 if target provides its own malloc
4554 * libc/reent/reent.c (errno): Move definition here.
4555 * libc/reent/sbrkr.c: From here.
4556
d17d6d42
CF
45572001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
4558
4559 * libc/include/sys/types.h (BSD int typedefs): Guard with
4560 _BSDTYPES_DEFINED rather than _WINSOCK_H.
4561 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
4562 _SYS_TYPES_FD_SET.
4563 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
4564 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
4565
c7ee75cd
CV
4566Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
4567
4568 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
4569 _PC_POSIX_SECURITY constants for Cygwin.
4570
63dc5d80
CV
4571Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
4572
4573 * libc/sys/cygwin/crt0.c: Add copyright hint.
4574 * libc/sys/cygwin/sys/dirent.h: Ditto.
4575 * libc/sys/cygwin/sys/param.h: Ditto.
4576 * libc/sys/cygwin/sys/utime.h: Ditto.
4577 * libc/sys/cygwin/sys/utmp.h: Ditto.
4578
6f637037
AO
45792001-03-13 Alexandre Oliva <aoliva@redhat.com>
4580
4581 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
4582 equivalent to LONGINT.
4583
e69b6f73
JJ
45842001-03-08 Richard Sandiford <rsandifo@redhat.com>
4585
4586 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
4587 jmpbuf on MIPS64 targets.
4588 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
4589
6198dece
CF
4590Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
4591
e69b6f73
JJ
4592 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
4593 declarations.
6198dece 4594
cfc05d96
JJ
4595Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
4596
4597 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
4598 For RTEMS, define to be ssize_t. Default to int if not defined.
4599 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
4600 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
4601 * libc/stdio/local.h (__sread, __swrite): Likewise.
4602 * libc/include/sys/reent.h (_read, _write): Likewise.
4603 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
4604 * libc/syscalls/sysread.c (read): Likewise.
4605 * libc/syscalls/syswrite.c (write): Likewise.
4606
6249353a
JJ
46072001-03-05 Jeff Johnston <jjohnstn@redhat.com>
4608
4609 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
4610
658b5db9
CF
4611Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
4612
4613 * libc/include/sys/stat.h: Use special defines for executable stat bits
4614 when compiling for Cygwin.
4615 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
4616 for Cygwin.
4617
19ca46d5
JJ
46182001-03-02 Jeff Johnston <jjohnstn@redhat.com>
4619
4620 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
4621 of strtok_r is always defined.
4622
b73ed85e
JJ
46232001-03-02 Jeff Johnston <jjohnstn@redhat.com>
4624
4625 * libc/include/machine/ansi.h: New dummy header file.
4626
ee37ede1
JJ
46272001-02-22 Jeff Johnston <jjohnstn@redhat.com>
4628
4629 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
4630 changed the copyright information to allow free modification of the
4631 file with no reference to "copying.dj".
4632 * libc/include/sys/stat-dj.h: Ditto.
4633 * libc/machine/i386/setjmp.S: Ditto.
4634 * libc/sys/h8300hms/sys/file.h: Ditto.
4635 * libc/sys/sysmec/access.c: Ditto.
4636 * libc/sys/sysnecv850/access.c: Ditto.
4637 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
4638 * libc/stdlib/getenv_r.c: Ditto.
4639 * libc/stdlib/putenv_r.c: Ditto.
4640 * libc/stdlib/setenv_r.c: Ditto.
4641 * libc/stdlib/getenv.c: Removed DJ reference since any possible
4642 modifications will now be in the _r version of this file.
4643 * libc/stdlib/putenv.c: Ditto.
4644 * libc/stdlib/setenv.c: Ditto.
4645 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
4646 valid. Added a reference to DJ's web page that contains his address.
4647 * libc/sys/go32/*.s: Removed references to DJ's old address.
4648 * libc/sys/go32/*.c: Ditto.
4649 * libc/sys/go32/*.h: Ditto.
4650 * libc/sys/go32/*.S: Ditto.
4651 * libc/sys/go32/sys/*.h: Ditto.
4652
3a8fc0e4
JJ
46532001-02-21 Jeff Johnston <jjohnstn@redhat.com>
4654
4655 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
4656 HAVE_FCNTL flag check.
4657 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
4658 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
4659
b24ee749
CF
4660Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
4661
4662 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
4663
ab4745dc
JJ
46642001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4665
4666 * libc/include/stdlib.h: Add declarations of rand48 functions and
4667 their reentrant versions.
4668 * libc/include/sys/reent.h: Move macros from rand48.h. Add
4669 struct _rand48 for shared parameters of rand48 functions.
4670 (struct _reent): Add a variable _r48 of struct _rand48.
4671 (_REENT_INIT): Add _r48 initialization.
4672 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
4673 (CHEWOUT_FILES): Add rand48.def.
4674 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
4675 * libc/stdlib/Makefile.in: Regenerated.
4676 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
4677 NetBSD C library.
4678 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
4679 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
4680 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
4681 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
4682 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
4683 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
4684 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
4685 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
4686 * libc/stdlib/rand48.c (__dorand48): Ditto.
4687 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
4688 parameters into macros referring them in the reentrant structure.
4689
a34c461f
JJ
46902001-02-12 Jeff Johnston <jjohnstn@redhat.com>
4691
4692 * libc/include/sys/stat.h: Add mknod for Cygwin now that
4693 Cygwin definition has correct prototype.
4694
34f31ff2
JJ
46952001-02-08 Jeff Johnston <jjohnstn@redhat.com>
4696
4697 * libc/include/sys/stat.h: Must revert change for mknod
4698 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
4699 prototype.
4700
5336d6de
JJ
47012001-02-08 Jeff Johnston <jjohnstn@redhat.com>
4702
4703 * libc/include/stdio.h: Revert putw prototype.
4704
8915d10a
JJ
47052001-02-08 Edward M. Lee <tailbert@yahoo.com>
4706
4707 * libc/include/grp.h: add prototype for initgroups.
4708 * libc/include/stdio.h: fix prototype for putw.
4709 * libc/include/sys/signal.h: add prototype for killpg.
4710 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
4711 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
4712 vhangup and remove duplicate sysconf prototype.
4713
93ac4487
JJ
47142001-02-07 Jeff Johnston <jjohnstn@redhat.com>
4715
4716 * libc/sys/rtems/sys/types.h: Removed.
4717
31f5feea
JJ
47182001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
4719
4720 * libc/include/locale.h: add LC_MESSAGES definition
4721
b5139f59
AO
47222001-02-01 Alexandre Oliva <aoliva@redhat.com>
4723
4724 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
4725 SYS_get_argN):
4726 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
4727 __setup_argv_and_call_main): New.
4728
e29d8355
JJ
47292001-01-31 Jeff Johnston <jjohnstn@redhat.com>
4730
4731 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
4732 if defined.
4733 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
4734 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
4735 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
4736 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
4737
82ea92f3
CF
4738Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
4739
4740 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
4741 compiling under Cygwin.
4742
3aaa66f8
JJ
47432001-01-29 Jeff Johnston <jjohnstn@redhat.com>
4744
4745 * libc/include/math.h (signgam): Change to errno-like solution
4746 using a function to return the address of the real signgam.
4747 * libc/reent/signgam.c: New file containing __signgam().
4748 * libc/reent/Makefile.am: Added signgam.c to list of files.
4749 * libc/reent/Makefile.in: Regenerated.
4750
610b895a
AO
47512001-01-25 Alexandre Oliva <aoliva@redhat.com>
4752
b0913397
AO
4753 * libc/sys/sh/syscalls.c (_times): New.
4754
610b895a
AO
4755 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
4756 * libc/sys/sh/syscalls.c (_gettimeofday): New.
4757
3643210e
JJ
47582001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4759
4760 * libc/include/math.h (signgam): Regress previous fix as
4761 it does not handle programs with extern int signgam in them.
4762
841081c9
JJ
47632001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4764
4765 * libc/include/math.h (signgam): Changed to a macro refering to
4766 its location in the reentrant structure.
4767
e9cd87b8
JJ
47682001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4769
4770 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
4771 that suppressed . for %.0f, 0.1. Check now looks if there
4772 are padding zeroes (expt) in addition to any digits (ndig) to
4773 print.
4774
a302b48c
JJ
47752001-01-18 Jeff Johnston <jjohnstn@redhat.com>
4776
4777 * libc/sys/arc/Makefile.am: New file.
4778 * libc/sys/arc/Makefile.in: Ditto.
4779 * libc/sys/arc/aclocal.m4: Ditto.
4780 * libc/sys/arc/configure: Ditto.
4781 * libc/sys/arc/configure.in: Ditto.
4782 * libc/sys/arc/crt0.S: Ditto.
4783 * libc/sys/arc/isatty.c: Ditto.
4784 * libc/sys/arc/mem-layout.c: Ditto.
4785 * libc/sys/arc/sbrk.c: Ditto.
4786 * libc/sys/arc/syscalls.c: Ditto.
4787 * libc/sys/arc/sys/syscall.h: Ditto.
4788
d0319c3b
CF
4789Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
4790
4791 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
4792
e45ab890
CF
4793Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
4794
4795 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
4796
1376245a
DD
4797Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
4798
4799 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
4800
92b57543
NC
48012001-01-09 Nick Clifton <nickc@redhat.com>
4802
4803 * configure.host (v859): Remove unsupported compiler options.
4804
7d6d33d4
JJ
4805Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
4806
4807 * src/newlib/configure.host (*-*-rtems*): add printf long long
4808 support for RTEMS.
4809
602f8b5a 48102000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
4811
4812 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
4813
9c2b8183
JJ
4814Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
4815
4816 * configure.host: Turn on long double I/O for Cygwin.
4817
804368d3
JJ
4818Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
4819
4820 * MAINTAINERS: Removed Ranjith.
4821 * NEWS: Updated for 1.9.0.
4822 * README: Updated.
4823 * acinclude.m4: Updated to release 1.9.0.
4824 * aclocal.m4 configure
4825 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4826 libc/machine/aclocal.m4 libc/machine/configure
4827 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
4828 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
4829 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
4830 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
4831 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
4832 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
4833 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
4834 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
4835 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
4836 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
4837 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
4838 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
4839 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
4840 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
4841 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
4842 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
4843 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
4844 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
4845 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
4846 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
4847 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
4848 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
4849 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
4850 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
4851 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
4852 libc/sys/aclocal.m4 libc/sys/configure
4853 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4854 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
4855 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
4856 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4857 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4858 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4859 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4860 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4861 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
4862 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4863 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4864 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4865 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4866 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4867 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4868 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4869 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4870 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4871 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4872 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4873 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4874 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4875 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4876 libm/aclocal.m4 libm/configure: Regenerated.
4877
0985d43f
CV
4878Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4879
4880 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
4881 when __CYGWIN__ is defined.
4882
b6182a09
JJ
48832000-12-13 Jeff Johnston <jjohnstn@redhat.com>
4884
4885 * libc/stdlib/ldtoa.c (_ldcheck): New routine
4886 that categorizes a long double as NaN, Infinity, or other.
4887 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
4888 isinfl and isnanl static routines which were i386-specific. Changed
4889 calls to the two removed routines to a single _ldcheck call.
4890 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
4891
adbbb034
JJ
48922000-12-13 Jeff Johnston <jjohnstn@redhat.com>
4893
4894 * Makefile.am: Fixed install-data-local target to use
4895 $(mkinstalldirs) for the installed header files to ensure
4896 the directories exist before copying.
4897 * Makefile.in: Regenerated.
4898
cbd19336
JJ
48992000-12-12 Jeff Johnston <jjohnstn@redhat.com>
4900
4901 * libc/include/sys/unistd.h: Restored Cygwin _SC
4902 constants and moved new constants appropriately
4903 so Cygwin will build.
4904
8fb37963
JJ
49052000-12-11 Joel Sherrill <joel@OARcorp.com>
4906
4907 * Merge RTEMS specific .h files into main libc/include.
4908 * libc/sys/rtems/include/signal.h: Removed.
4909 * libc/sys/rtems/include/time.h: Removed.
4910 * libc/sys/rtems/sys/features.h: Removed.
4911 * libc/sys/rtems/sys/sched.h: Removed.
4912 * libc/sys/rtems/sys/siginfo.h: Removed.
4913 * libc/sys/rtems/sys/signal.h: Removed.
4914 * libc/sys/rtems/sys/time.h: Removed.
4915 * libc/sys/rtems/sys/times.h: Removed.
4916 definitions for time_t and clock_t since these are
4917 no longer in time.h.
4918 * libc/include/pthread.h: New file.
4919 * libc/include/sys/sched.h: New file.
4920 * libc/include/sys/features.h: New file.
4921 * libc/include/time.h: Removed duplicate definition of clock_t
4922 and time_t, get them from <sys/types.h> instead. Add prototypes
4923 for POSIX clock and timer functionality.
4924 * libc/sys/linux/sys/types.h: Changed to include
4925 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
4926 * libc/include/sys/signal.h: Add more complete set of POSIX
4927 signal functionality including real-time and threaded signals.
4928 * libc/include/sys/types.h: Add clock_t, time_t, struct
4929 timespec, and struct itimerspec. Centralizing these makes
4930 things cleaner. RTEMS uses 64-bit dev_t.
4931 Added numerous primitive definitions
4932 for pthreads including macros, pthread_attr_t,
4933 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
4934 pthread_once_t, and pthread_t.
4935 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
4936 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
4937 Feature flags removed and moved to new file <sys/features.h>.
4938 Full set of POSIX sysconf() constants
4939
2efbc2a7
JJ
49402000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
4941
4942 * configure.host: Added x86 linux target.
4943 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
4944 definitions provided if not already defined.
4945 * libc/sys/linux/crt0.c: New file.
4946 * libc/sys/linux/Makefile.am: Ditto.
4947 * libc/sys/linux/Makefile.in: Ditto.
4948 * libc/sys/linux/aclocal.m4: Ditto.
4949 * libc/sys/linux/brk.c: Ditto.
4950 * libc/sys/linux/configure: Ditto.
4951 * libc/sys/linux/configure.in: Ditto.
4952 * libc/sys/linux/getoptlong.c: Ditto.
4953 * libc/sys/linux/ids.c: Ditto.
4954 * libc/sys/linux/inode.c: Ditto.
4955 * libc/sys/linux/io.c: Ditto.
4956 * libc/sys/linux/linux.c: Ditto.
4957 * libc/sys/linux/process.c: Ditto.
4958 * libc/sys/linux/realpath.c: Ditto.
4959 * libc/sys/linux/select.c: Ditto.
4960 * libc/sys/linux/signal.c: Ditto.
4961 * libc/sys/linux/systat.c: Ditto.
4962 * libc/sys/linux/termios.c: Ditto.
4963 * libc/sys/linux/time.c: Ditto.
4964 * libc/sys/linux/wait.c: Ditto.
4965 * libc/sys/linux/include/alloca.h: Ditto.
4966 * libc/sys/linux/include/getopt.h: Ditto.
4967 * libc/sys/linux/include/stdint.h: Ditto.
4968 * libc/sys/linux/include/unistd.h: Ditto.
4969 * libc/sys/linux/sys/cdefs.h: Ditto.
4970 * libc/sys/linux/sys/dirent.h: Ditto.
4971 * libc/sys/linux/sys/errno.h: Ditto.
4972 * libc/sys/linux/sys/fcntl.h: Ditto.
4973 * libc/sys/linux/sys/file.h: Ditto.
4974 * libc/sys/linux/sys/ioctl.h: Ditto.
4975 * libc/sys/linux/sys/resource.h: Ditto.
4976 * libc/sys/linux/sys/signal.h: Ditto.
4977 * libc/sys/linux/sys/stat.h: Ditto.
4978 * libc/sys/linux/sys/syscall.h: Ditto.
4979 * libc/sys/linux/sys/termios.h: Ditto.
4980 * libc/sys/linux/sys/time.h: Ditto.
4981 * libc/sys/linux/sys/types.h: Ditto.
4982 * libc/sys/linux/sys/utmp.h: Ditto.
4983 * libc/sys/linux/sys/utsname.h: Ditto.
4984 * libc/sys/linux/sys/wait.h: Ditto.
4985
a08c98bb
JJ
49862000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4987
4988 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
4989 can be a relative path to $(top_srcdir)/install.sh so ensure the
4990 autoconf detected settings are properly passed recursively.
4991 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
4992 properly to subdirectories.
4993 * Makefile.in: Regenerated.
4994
b294082c
JJ
49952000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
4996
4997 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
4998 a floating point register unless really printing a floating
4999 point number.
5000
2005ab6b
JJ
50012000-12-07 Jeff Johnston <jjohnstn@redhat.com>
5002
5003 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
5004 Also removed \r's.
5005 (asctoeg): Replaced alloca call with stack array and malloc
5006 when storage exceeds reasonable limit.
5007 (e53toe): Fixed einfin calls missing ldp parameter.
5008 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
5009
9f6e8f1b
JJ
50102000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5011
2005ab6b 5012
9f6e8f1b
JJ
5013 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
5014
6bdac416
JJ
50152000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5016
5017 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
5018 * libc/stdlib/Makefile.in: Regenerated.
5019 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
5020 * libc/stdio/vfieeefp.h: Added long double bit structures.
5021 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
5022 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
5023 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
5024 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
5025 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
5026 _strtold routines used for conversions between character
5027 and long double.
5028
ec270d31
CV
5029Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5030
5031 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
5032
db2d9549
JJ
50332000-12-04 Joel Sherrill <joel@OARcorp.com>
5034
5035 * libc/include/machine/time.h: RTEMS systems can configure clock
5036 tick rate so use sysconf() to ask.
5037
6ba54a15
JJ
50382000-12-04 Joel Sherrill <joel@OARcorp.com>
5039
5040 * libc/include/sys/times.h: Add reference to POSIX standard.
5041
8677b819
JJ
50422000-12-04 Joel Sherrill <joel@OARcorp.com>
5043
5044 * libc/include/sys/time.h: Added BSD timer manipulation macros
5045 used by RTEMS code.
5046
1b61a706
JJ
50472000-12-04 Joel Sherrill <joel@OARcorp.com>
5048
5049 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
5050 referenced by code generated by gcc 2.8.1.
5051 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
5052 satisfy gcc.
5053
f5e7c124
JJ
50542000-12-04 Joel Sherrill <joel@OARcorp.com>
5055
5056 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
5057
768abc9c
JJ
50582000-12-04 Joel Sherrill <joel@OARcorp.com>
5059
5060 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
5061
9e5dd5ea
JJ
50622000-12-04 Joel Sherrill <joel@OARcorp.com>
5063
5064 * configure.host (or16, or32): New entries for OpenCores
5065 OpenRisc CPUs.
5066 (*-*-rtems*): Add -DNO_EXEC.
5067
768abc9c 50682000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
5069
5070 * libc/include/sys/errno.h: Added comments on many error numbers.
5071 * libc/string/strerror.c: Added some more strings.
5072
b273323f
JJ
50732000-11-30 Jeff Johnston <jjohnstn@redhat.com>
5074
5075 * libc/sys/sh/syscalls.c (_link): New stub.
5076
0ffc3b94
NC
50772000-11-29 Nick Clifton <nickc@redhat.com>
5078
5079 * configure.host: Add xscale target.
5080 * libc/machine/xscale: New directory.
5081 * libc/machine/xscale/Makefile.am: New file.
5082 * libc/machine/xscale/Makefile.in: New file.
5083 * libc/machine/xscale/aclocal.m4: New file.
5084 * libc/machine/xscale/configure: New file.
5085 * libc/machine/xscale/configure.in: New file.
5086 * libc/machine/xscale/memchr.S: New file.
5087 * libc/machine/xscale/memcmp.S: New file.
5088 * libc/machine/xscale/memcpy.S: New file.
5089 * libc/machine/xscale/memmove.S: New file.
5090 * libc/machine/xscale/memset.S: New file.
5091 * libc/machine/xscale/strchr.S: New file.
5092 * libc/machine/xscale/strcmp.S: New file.
5093 * libc/machine/xscale/strcpy.S: New file.
5094 * libc/machine/xscale/strlen.S: New file.
5095
cbbf0f96
CV
5096Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5097
5098 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
5099 avoid compiler warnings.
5100
73dea790
MM
51012000-11-22 Michael Meissner <meissner@redhat.com>
5102
5103 * libc/posix/execl.c (execl): Don't reference environ directly,
5104 reference it only via a static pointer to avoid problems with some
5105 shared library systems and with different uses of small data where
5106 the user specifies his own version of environ.
5107 * libc/posix/execv.c (execv): Ditto.
5108 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
5109 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
5110 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
5111
5112 * libc/stdlib/getenv.c (environ): Delete unused reference to
5113 environ.
5114
5115 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
5116 colorization.
5117 * libc/stdlib/system.c: Ditto.
5118
08eac2ae
CF
5119Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
5120
5121 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
5122 including windows headers.
5123
5478bf37
JJ
51242000-11-20 Jeff Johnston <jjohnstn@redhat.com>
5125
5126 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
5127 * libc/include/dirent.h: Added definition of MAXNAMLEN if
5128 not defined by sys/dirent.h.
5129 * libc/posix/execvp.c: Added include of dirent.h to get
5130 MAXNAMLEN value which used to be in unistd.h.
5131
3a760728
CV
5132Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5133
5134 * libc/include/sys/types.h: Change type of i to `size_t' in
5135 FD_ZERO macro to avoid compiler warnings.
5136
86fff69f
CF
5137Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
5138
5139 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
5140 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
5141
ba9e88d2
CV
5142Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5143
5144 * libc/include/sys/unistd.h: Add defines for sysconf values
5145 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
5146 _SC_AVPHYS_PAGES.
5147
a8018ef3
CF
5148Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
5149
5150 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
5151 declarations for __CYGWIN__.
5152
b944c6f6
GK
51532000-09-19 Geoffrey Keating <geoffk@cygnus.com>
5154
5155 * libc/signal/signal.c (__sigtramp_r): ISO C requires
5156 case labels to be integral constant expressions, so
5157 use an if/else tree instead.
5158 (_raise_r): Likewise.
5159
7f18fcb4
JJ
51602000-09-13 Jeff Johnston <jjohnstn@redhat.com>
5161
5162 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
5163 clipping patch from e-mail reader.
5164
242361df
JJ
51652000-09-13 Will Cohen <wcohen@redhat.com>
5166
5167 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
5168 Added return value 0.
5169 (_longjmp): Allow longjmp to return value of second argument
5170 passed to it.
5171
8a8c59b9
JJ
51722000-09-06 Jeff Johnston <jjohnstn@redhat.com>
5173
5174 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
5175 inline code to prevent having to include another header file.
5176
a385ae75
CF
5177Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
5178
5179 * Makefile.am: Fix space vs. tab problem in install-data-local.
5180 * Makefile.in: Regenerate.
5181
5182Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
5183
5184 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
5185 (_EXPARM): New macro for defining a function parameter.
5186 * libc/include/stdlib.h: Use _EXPARM.
5187 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
5188
a36cd013
JJ
51892000-09-05 Manfred Hollstein <manfredh@redhat.com>
5190
5191 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
5192 required, as documented in the gnu coding standards.
5193 * Makefile.in: Regenerate.
5194
f825dfda
JJ
51952000-09-05 Jeff Johnston <jjohnstn@redhat.com>
5196
5197 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
5198 make O_NDELAY and O_NONBLOCK have the same value.
5199
4ba9aab7
JJ
52002000-08-30 Kazu Hirata <kazu@hxi.com>
5201
5202 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
5203
db7acc38
JJ
52042000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
5205
5206 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
5207 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
5208 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
5209 everywhere else.
5210
44e36af4
GK
52112000-08-30 Geoffrey Keating <geoffk@cygnus.com>
5212
5213 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
5214 * libc/include/string.h: Don't include <sys/types.h>,
5215 as it causes really bad namespace pollution. Don't declare
5216 swab(), it is properly declared in unistd.h.
5217
00a2f168
JJ
52182000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
5219
5220 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
5221 (broken) support for non-existent /etc/passwd field "comment".
5222
6beeb240
JJ
52232000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5224
5225 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
5226 only if _DIRENT_HAVE_D_NAMLEN is defined.
5227 (alphasort): aligned prototype with
5228 libc/sys/cygwin/sys/dirent.h and simplified function body.
5229 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
5230 long telldir (DIR *) as mentioned in annex B of POSIX.1
5231
ef44da42
JJ
52322000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5233
5234 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
5235 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
5236 Added __CLI and __STI macros (controlled via
5237 _I386MACH_ALLOW_HW_INTERRUPTS macro).
5238 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
5239 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
5240 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
5241 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
5242 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
5243 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
5244 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
5245 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
5246 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
5247 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
5248 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
5249 for all global entry points.
5250 * libc/machine/i386/setjmp.S: removed code replicated in
5251 libc/machine/i386/i386mach.h and included i386mach.h instead;
5252 Use __CLI and __STI instead of cli and sti.
5253
14d3488d
DD
52542000-08-25 DJ Delorie <dj@redhat.com>
5255
5256 * libc/include/sys/unistd.h (environ): this one isn't from the
5257 DLL, no __IMPORT
5258
c9ca4412
CF
5259Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
5260
5261 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
5262 environ when compiling under cygwin since it is already declared in
5263 unistd.h.
5264
2d5862de
JJ
52652000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5266
5267 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
5268 like x << y-z to the equivalent x << (y-z).
5269 (d2b): changed if statements with assignment to perform the
5270 assignment prior to the if check.
5271 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
5272 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
5273 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
5274 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
5275 precedence.
5276 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
5277 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
5278 execve.c).
5279 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
5280 precedence.
5281 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
5282 clarify && and || precendence (and to remove pascalism).
5283 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
5284 * libm/math/s_infconst.c: added another pair of braces to all
5285 initializers for __infinity (need three: for __infinity[1] array,
5286 for union __dmath, and for i[2]).
5287
0888fedd
JJ
52882000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5289
199359f0
JJ
5290 * libc/stdlib/abort.c: changed description: uses "raise" instead of
5291 "getpid" and "kill"; added: uses "write" and "_exit".
5292 Also included unistd.h for "_exit" prototype.
5293 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
5294 reent.h for "_fork_r" and "_wait_r" prototypes.
5295 (do_system): changed extern char *environ[] to POSIX-friendly
5296 extern char **environ.
5297 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
5298 prototypes.
5299 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
5300 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
5301 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
5302 * libc/reent/openr.c: included fcntl.h for "open" prototype.
5303 * libc/reent/signalr.c: included signal.h for "kill" prototype,
5304 unistd.h for "getpid" prototype.
5305 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
5306 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
5307 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
5308 prototype. Also included stdlib.h for "abort", string.h for
5309 "strdup" and "strncmp" prototypes.
5310 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
5311 "strncpy", unistd.h for "read" and "close" prototypes.
5312 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
5313 "strcat" prototypes.
5314
53152000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
5316
0888fedd
JJ
5317 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
5318 used later (ifdef __SCLE)
5319 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
5320 used later (ifdef MB_CAPABLE)
5321 * libc/string/memset.c (memset): removed unused variables "count"
5322 and "unaligned_addr"
5323 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
5324 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
5325 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
5326 and "gid"
5327
a334e5ef
JJ
53282000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5329
5330 * libc/stdlib/envlock.c: changed documented "__env_lock" and
5331 "__env_unlock" prototype from "void *" or "char *" to
5332 "struct _reent *" to match real function. Also added include
5333 of envlock.h.
5334 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
5335 "__malloc_unlock" prototype from "void *" or "char *" to
5336 "struct _reent *" to match real function.
5337 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
5338 prototypes (for getenv_r.c and setenv_r.c).
5339
644b7f26
DD
53402000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
5341
5342 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
5343 and prototype in cygwin's utmp.h
5344
5bacbf10
JJ
53452000-08-16 Eric Fifer <efifer@sanwaint.com>
5346
5347 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5348
38a6bf98
NC
53492000-08-09 Nick Clifton <nickc@cygnus.com>
5350
5351 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
5352 epilogue and to allow the functions to be used in a Thumb based
5353 toolchain.
5354
befe0fb3
JJ
53552000-08-08 Jeff Johnston <jjohnstn@redhat.com>
5356
5357 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
5358 so size of 0 results in nothing being written to string.
5359 Also fixed code so that when size is non-zero, there is only
5360 a maximum of size - 1 characters written to the array and
5361 a nul terminator is appended at the end.
5362 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
5363
749d9bcd
DD
53642000-08-01 DJ Delorie <dj@redhat.com>
5365
5366 * libc/include/sys/config.h: define __IMPORT appropriately
5367 * libc/include/ctype.h (_ctype_): use __IMPORT
5368 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
5369 * libc/include/math.h (__mb_cur_max): ditto
5370 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
5371 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
5372 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
5373 * libc/include/unistd.h (environ): ditto
5374
7c110b17
MM
53752000-07-28 Michael Meissner <meissner@redhat.com>
5376
5377 * libc/include/math.h (__infinity): Declare as an array without
5378 bounds to get around small data support. Rewrite Cygwin support
5379 to be more general.
5380 * libm/math/s_infconst.c (__infinity): Ditto.
5381 * libm/mathfp/s_infconst.c (__infinity): Ditto.
5382
bf7be721
CF
5383Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
5384
5385 * libc/include/math.h: Use appropriate dll import linkage for
5386 __infinity under Cygwin.
5387
91a8d90b
DD
53882000-07-13 DJ Delorie <dj@cygnus.com>
5389
5390 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
5391
ba2048d3
JJ
5392Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
5393
5394 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
5395 to argument list for AngelSWI_Reason_GetCmdLine.
5396
4634da64
JJ
5397Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5398
5399 * configure.host: Add support for AVR target.
5400 * libc/include/machine/ieeefp.h: Likewise.
5401 * libc/include/sys/config.h: Likewise.
5402
b19f72a2
RK
5403Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5404
5405 * README: Newlib 1.8.2 must be built in a separate directory
5406 than the sources.
5407
a704d94a
JJ
5408Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5409
5410 * libc/include/sys/reent.h (_rand_next): Added __extension__
5411 qualifier as long long type is not strict ANSI.
5412 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
5413 to long long constant.
5414
b585720b
CV
5415Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
5416
5417 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
5418 `setegid' provided by Cygwin.
5419
01c327ba
CV
5420Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
5421
5422 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
5423 account for Cygwin.
5424
46a43a99
JJ
5425Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5426
5427 * libc/include/sys/reent.h (_rand_next): Changed to
5428 unsigned long long and moved to end of _reent struct in _new union.
5429 (_REENT_INIT): Changed to move _rand_next initialization.
5430 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
5431 linear congruential algorithm that is used by DJGPP.
5432
a68078cb
RK
5433Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5434
5435 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
5436 * libc/include/sys/config.h: Define __RAND_MAX.
5437
518882f3
JJ
5438Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5439
5440 * libc/stdlib/rand_r.c: New algorithm that meets minimal
5441 standard.
5442
d51d968a
CF
5443Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
5444
5445 * libc/include/string.h: Work around problem with strsignal and gdb.
5446
d2dd5765
CF
5447Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
5448
5449 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
5450 * libc/include/malloc.h: Ditto.
5451 * libc/include/process.h: Ditto.
5452 * libc/include/stdio.h: Ditto.
5453 * libc/include/stdlib.h: Ditto.
5454 * libc/include/time.h: Ditto.
5455 * libc/include/machine/setjmp.h: Ditto.
5456 * libc/include/sys/errno.h: Ditto.
5457 * libc/include/sys/signal.h: Ditto.
5458 * libc/include/sys/stat.h: Ditto.
5459 * libc/include/sys/time.h: Ditto.
5460 * libc/include/sys/unistd.h: Ditto.
5461 * libc/include/string.h: Ditto. strsignal should return a const char *.
5462
88870218
JJ
54632000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
5464
5465 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
5466 * libm/common/s_log1p.c (log1p): Likewise.
5467 * libm/common/s_scalbn.c (scalbn): Likewise.
5468 * libm/math/e_log.c: Likewise.
5469 * libm/math/e_asin.c: Likewise.
5470 * libm/math/ef_asin.c: Likewise.
5471 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
5472 * libm/math/e_j1.c (pone, qone): Likewise.
5473 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
5474 * libm/math/ef_j1.c (ponef, qonef): Likewise.
5475 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
5476 * libm/mathfp/e_j1.c (pone, qone): Likewise.
5477 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
5478 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
5479
c4e1aa01
DD
54802000-05-19 DJ Delorie <dj@cygnus.com>
5481
5482 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
5483 (__sread): always read in binary mode
5484 (__swrite): always write in binary mode
5485 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
5486 compatibility issues with different dll versions
5487 * libc/stdio/fopen.c: use __stextmode
5488 * libc/stdio/fdopen.c: ditto
5489 * libc/stdio/freopen.c: ditto
5490 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
5491 * libc/stdio/local.h: declare __stextmode
5492
f4393261
DD
54932000-05-18 DJ Delorie <dj@cygnus.com>
5494
5495 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
5496
2b533fac
JJ
5497Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5498
5499 * libc/include/ctype.h: Changed tolower and toupper macros
5500 to use __extension__ to prevent pedantic warnings.
5501
75362a76
RK
5502Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
5503
5504 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
5505 structures.
5506
ec463fc7
JW
5507Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
5508
5509 * libc/include/machine/ieeefp.h: Add ia64 support.
5510 * configure.host: Likewise.
5511
f35ceefa
JJ
5512Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
5513
5514 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
5515 month is now padded with space, not zero. This now conforms to
5516 ANSI standard.
5517
b96fca8c
CV
5518Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
5519
5520 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
5521 host or network path") used by cygwin. Add some comments.
5522
49d64538
JJ
5523Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
5524
5525 * libc/include/stdio.h (FILE): define __SCLE for "convert line
5526 endings" for Cygwin.
5527 (__sgetc): convert line endings if needed
5528 (__sputc): ditto
5529 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
5530 * libc/stdio/fopen.c (_fopen_r): ditto
5531 * libc/stdio/freopen.c (freopen): ditto
5532 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
5533 * libc/stdio/fvwrite.c (__sfvwrite): ditto
5534
91fb1e7f
AO
5535Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
5536
5537 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
5538 post-increment when it is worth it, spacewise.
5539
c87be3e4
JJ
5540Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5541
5542 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
5543 * libc/stdio/findfp.c (std): Added declaration of flags and file.
5544 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
5545 return type.
5546 * libc/stdio/putchar.c (putchar): Added return statement.
5547 * libc/stdio/refill.c (lflush): Added correct parentheses.
5548 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5549 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
5550 prints long value to use l qualifier.
5551 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
5552 messages and initialized local values: ilim, ilim1, and spec_case.
5553 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
5554 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
5555 * libc/stdlib/mprec.c: Ditto.
5556 * libc/stdlib/setenv_r.c: Ditto.
5557 * libc/stdlib/strtod.c: Ditto.
5558 * libc/stdlib/strtol.c: Ditto.
5559 * libc/stdlib/strtoul.c: Ditto.
5560 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
5561 * libm/common/sf_log1p.c: Ditto.
5562 * libm/common/sf_scalbn.c: Ditto.
5563 * libm/math/ef_log.c: Ditto.
5564
11f5b065
CV
5565Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
5566
5567 * libc/posix/execvp.c (execvp): Check path for
5568 trailing slash.
5569
796e3b20
CV
5570Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
5571
5572 * libc/include/sys/unistd.h: Add prototypes for
5573 fchmod, fchown, lchown.
5574
b489803a
JJ
5575Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5576
5577 * acinclude.m4: Changed release to 1.8.2.
5578 * aclocal.m4 configure doc/aclocal.m4 doc/configure
5579 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
5580 libc/machine/configure libc/machine/a29k/aclocal.m4
5581 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5582 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5583 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5584 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5585 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
5586 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5587 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5588 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5589 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5590 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5591 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
5592 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5593 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5594 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5595 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5596 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5597 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5598 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5599 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5600 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5601 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5602 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5603 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
5604 libc/machine/z8k/configure libc/sys/aclocal.m4
5605 libc/sys/aclocal.m4 libc/sys/configure
5606 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5607 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5608 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5609 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5610 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5611 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5612 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5613 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5614 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5615 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5616 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5617 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5618 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5619 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5620 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5621 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5622 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5623 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5624 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5625 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5626 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5627 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5628 libm/aclocal.m4 libm/configure: Regenerated.
5629
79908d67
NC
56302000-03-24 Nick Clifton <nickc@cygnus.com>
5631
5632 * libc/sys/arm/syscalls.c: Fix compile time warnings.
5633 (do_AngelSWI): Add "cc" to list o registers clobbered.
5634
7684ddaf
FN
5635Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
5636
5637 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
5638 information to be clobbered by an Angel C library support syscall.
5639
b8ec20c8
JJ
5640Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5641
5642 * libc/stdlib/envlock.c: Fixed comment typo.
5643
fae4c299
JJ
5644Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5645
5646 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
5647 code to update nread as each character is processed instead
5648 of using buffer contents which throw away leading zeroes.
5649
dc98804b
RK
5650Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
5651
5652 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
5653
5ed2f523
JJ
5654Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
5655
5656 * libc/include/string.h: Include <sys/types.h>.
5657
1cf0ee34
AO
5658Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5659
5660 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
5661 with XSH5, not SVID.
5662
e9c94978
JJ
5663Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
5664
5665 * libc/include/string.h: Changed last argument back to ssize_t
5666 to make it compatible with XPG4 definition which is
5667 defined in <unistd.h>. There is a conflict in the SVID 3
5668 and XPG4 definitions and newlib will settle with XPG4.
5669 * libc/string/swab.c: Ditto.
5670
3072163c
JJ
5671Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
5672
5673 * libc/include/string.h: Changed last argument to size_t.
5674 * libc/string/swab.c: Changed last argument to size_t.
5675
f205ea7a
AO
5676Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5677
5678 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
5679 (CHEWOUT_FILES): Added unlinkr.def.
5680 * libc/reent/Makefile.in: Rebuilt.
5681 * libc/sys.tex: Include unlinkr.def.
5682 * libc/reent/linkr.c (_unlink_r): Moved to...
5683 * libc/reent/unlinkr.c: ... new file.
5684
85dd2e5b
AO
5685Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5686
5687 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
5688 (CHEWOUT_FILES): Added swab.def.
5689 * libc/string/Makefile.in: Rebuilt.
5690 * libc/string/string.tex: Include swab.def.
5691 * libc/include/string.h (swab): Declare.
5692 * libc/string/swab.c: New file.
5693
c5053058
AO
5694Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5695
5696 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
5697 (CHEWOUT_FILES): Added getw.def and putw.def.
5698 * libc/stdio/Makefile.in: Rebuilt.
5699 * libc/stdio/stdio.tex: Include getw.def and putw.def.
5700 * libc/stdio/getw.c: New file.
5701 * libc/stdio/putw.c: New file.
5702
dbaf37cf
JJ
5703Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
5704
5705 * libc/stdio/flags.c (__sflags): Added check that mode[1]
5706 is non-null before looking at mode[2].
5707
bc019ef2
RK
5708Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
5709
5710 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
5711 * libm/mathfp/sf_atan.c: Ditto.
5712
5713Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
5714
5715 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
5716
cd641b2d
RK
5717Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
5718
5719 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
5720 _DOUBLE_IS_32BITS.
5721
b0ba0ac2
JJ
5722Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
5723
5724 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
5725 call prior to calling _VFPRINTF_R so reentrant data area is set.
5726 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
5727
8a0efa53
CF
5728Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5729
5730 * libc/stdio/vfscanf.c (limits.h): #include.
5731 (MAX_LONG_LEN): #define.
5732 (__svfscanf): Handle floating point numbers with arbitrary amounts
5733 of leading zeroes.
5734
57352000-02-15 Nick Clifton <nickc@cygnus.com>
5736
5737 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
5738 zero. Set the blocksize to 1024/
5739
5740Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
5741
5742 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
5743 with line buffering.
5744
5745Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5746
5747 * acinclude.m4: Changed include directory for winsup headers.
5748 * aclocal.m4 configure libc/aclocal.m4
5749 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
5750 libc/locale/Makefile.in libc/machine/aclocal.m4
5751 libc/machine/configure libc/machine/a29k/aclocal.m4
5752 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5753 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5754 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5755 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5756 libc/machine/fr30/configure
5757 libc/machine/h8300/aclocal.m4
5758 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5759 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5760 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5761 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5762 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5763 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
5764 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5765 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5766 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5767 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5768 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5769 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5770 libc/machine/powerpc/configure
5771 libc/machine/sh/aclocal.m4
5772 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5773 libc/machine/sparc/configure
5774 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5775 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5776 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5777 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5778 libc/misc/Makefile.in libc/posix/Makefile.in
5779 libc/reent/Makefile.in
5780 libc/signal/Makefile.in
5781 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
5782 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5783 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
5784 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
5785 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
5786 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5787 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5788 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5789 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5790 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5791 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5792 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5793 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5794 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
5795 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
5796 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
5797 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
5798 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
5799 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
5800 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
5801 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
5802 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
5803 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
5804 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
5805 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
5806 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
5807 libm/configure: Regenerated.
5808
5809Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
5810
5811 * libc/stdlib/putenv_r.c (_putenv_r): New file.
5812 * libc/stdlib/strdup_r.c (_strdup_r): New file.
5813 * libc/include/string.h: Added _strdup_r.
5814 * libc/stdlib/putenv.c: Added call to reentrant version.
5815 * libc/stdlib/strdup.c: Ditto.
5816 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
5817 * libc/include/stdlib.h: Ditto.
5818 * libc/stdlib/Makefile.in: Regenerated.
5819 * libc/string/Makefile.in: Regenerated.
5820 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
5821 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
5822 management calls to reentrant versions.
5823 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
5824 * libc/stdlib/wctomb.c: Ditto.
5825 * libc/stdlib/mblen.c: Ditto.
5826 * libc/stdlib/mbstowcs.c: Ditto.
5827 * libc/stdlib/mbtowc.c: Ditto.
5828 * libc/stdlib/getenv.c: Ditto.
5829 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
5830 and _strdup_r.
5831
5832Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
5833
5834 patch from Corinna Vinschen <corinna@vinschen.de>
5835 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
5836
bc019ef2 5837Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
5838
5839 * libm/mathfp/s_atangent.c: Fix exponent calculation.
5840 * libm/mathfp/s_ldexp.c: Ditto.
5841 * libm/mathfp/sf_atangent.c: Ditto.
5842 * libm/mathfp/sf_ldexp.c: Ditto.
5843
5844Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5845
5846 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
5847 * libc/include/locale.h: define NULL to be 0.
5848
5849Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
5850
5851 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
5852 function.
5853
5854Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
5855
5856 * libc/machine/mn10300/setjmp.S: Handle am33.
5857
58581999-11-26 Nick Clifton <nickc@cygnus.com>
5859
5860 * libc/sys/arm/syscalls.c: Add function prototypes.
5861 (stack_ptr): Move declaration before function definitions.
5862
5863Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5864
5865 * NEWS: Updated version information.
5866 * README: Ditto.
5867
5868Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
5869
5870 * libc/machine/i386/strchr.S: Fixed alignment test.
5871
5872Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
5873
5874 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
5875
5876Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
5877
5878 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
5879 ensuring that there is space between the two.
5880
5881Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
5882
5883 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
5884 only.
5885
58861999-10-08 Vadim Egorov <egorovv@1c.ru>
5887
5888 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
5889 section
5890
5891Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5892
5893 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
5894 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
5895
5896Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
5897 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
5898 per POSIX 1003.1b.
5899 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
5900 per POSIX 1003.1b.
5901
59021999-09-13 DJ Delorie <dj@cygnus.com>
5903
5904 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
5905 also.
5906
5907Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
5908
5909 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
5910 also note BUFSIZ as its size.
5911
5912Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
5913
5914 * configure.host: Corrected feature defines for RTEMS.
5915 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
5916 * libc/include/sys/stat.h: mkfifo() should take const path arg.
5917 * libc/include/sys/unistd.h: pathconf() should take const path arg.
5918 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
5919 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
5920 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
5921 _PC_PRIO_IO, and _PC_SYNC_IO.
5922 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
5923 * libc/machine/m68k/Makefile.in: Regenerated.
5924 * libc/machine/m68k/strcpy.c: New file.
5925 * libc/machine/m68k/strlen.c: New file.
5926 * libc/stdio/tmpnam.c: Always make the returned name usable.
5927 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
5928 * libc/sys/rtems/sys/dirent.h: New file.
5929 * libc/sys/rtems/sys/types.h: Added dev_t.
5930
5931Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
5932
5933 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
5934
5935Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
5936
5937 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
5938 my patch.
5939
5940Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
5941
5942 patch from Jeff Johnston <jjohnstn@cygnus.com>
5943 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
5944 buffer is not in a useful state.
5945
59461999-09-01 Nick Clifton <nickc@cygnus.com>
5947
5948 * libc/sys/arm/syscalls.c (_link): Add stub.
5949
5950Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5951
5952 * ftell.c (ftell): Use actual position within buffer for text mode.
5953 * findfp.c (std): Initialize ptr->_bf._size.
5954
5955Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
5956
5957 * libc/include/sys/unistd.h: Add nice() declaration.
5958
59591999-08-09 Nick Clifton <nickc@cygnus.com>
5960
5961 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
5962 declare as a thumb function so that the disassembler will see the
5963 mode change.
5964
5965Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5966
5967 * libc/reent/reent.tex: Updated list of reentrant functions.
5968
59691999-07-09 Michael Meissner <meissner@cygnus.com>
5970
5971 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
5972
5973Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
5974
5975 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
5976 separate file.
5977 * libc/stdio/snprintf.c: New file.
5978 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
5979 separate file.
5980 * libc/stdio/vsnprintf.c: New file.
5981 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
5982 * libc/stdio/Makefile.in: Regenerated.
5983
5984Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
5985
5986 Patch submitted by Egor Duda <deo@logos-m.ru>:
5987 * libc/include/stdio.h: Add declarations for *nprintf.
5988 * libc/stdio/sprintf.c (snprintf): New function.
5989 (_snprintf_r): New function.
5990 * libc/stdio/vsprintf.c (vsnprintf): New function.
5991 (_vnsprintf_r): New function.
5992
5993Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
5994
5995 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
5996 * libm/Makefile.am (stmp-targetdep): Ditto.
5997 * libc/Makefile.in: Regenerated.
5998 * libm/Makefile.in: Ditto.
5999
6000Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6001
6002 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
6003 * libm/Makefile.am (stmp-targetdep): Ditto.
6004 * libc/Makefile.in: Regenerated.
6005 * libm/Makefile.in: Ditto.
6006
6007Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6008
6009 * Makefile.am: Removed dependencies on all-recursive and added "."
6010 to the SUBDIRS list to prevent infinite recursion from occurring.
6011 Also removed any references to EXTRA_DATA.
6012 * libc/Makefile.am: Ditto.
6013 * libc/machine/Makefile.am: Ditto.
6014 * libc/machine/i386/Makefile.am: Ditto.
6015 * libm/Makefile.am: Ditto.
6016 * libc/sys/Makefile.am: Ditto.
6017 * Makefile.in: Regenerated.
6018 * aclocal.m4: Ditto.
6019 * configure: Ditto.
6020 * doc/Makefile.in: Ditto.
6021 * doc/aclocal.m4: Ditto.
6022 * doc/configure: Ditto.
6023 * libc/Makefile.in: Ditto.
6024 * libc/aclocal.m4: Ditto.
6025 * libc/configure: Ditto.
6026 * libc/machine/Makefile.in: Ditto.
6027 * libc/machine/aclocal.m4: Ditto.
6028 * libc/machine/configure: Ditto.
6029 * libc/machine/mn10300/Makefile.in: Ditto.
6030 * libc/machine/mn10300/aclocal.m4: Ditto.
6031 * libc/machine/mn10300/configure: Ditto.
6032 * libc/sys/Makefile.in: Ditto.
6033 * libc/sys/aclocal.m4: Ditto.
6034 * libc/sys/configure: Ditto.
6035 * libm/Makefile.in: Ditto.
6036 * libm/aclocal.m4: Ditto.
6037 * libm/configure: Ditto.
6038
6039Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6040
6041 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
6042
6043Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6044
6045 * libc/include/stdlib.h: Add reentrant routines.
6046 * libc/stdlib/Makefile.am: Add reentrant routines.
6047 * libc/stdlib/Makefile.in: Ditto.
6048 * libc/stdlib/envlock.c: New file.
6049 * libc/stdlib/envlock.h: New file.
6050 * libc/stdlib/getenv.c: Modify to call reentrant routine.
6051 * libc/stdlib/getenv_r.c: New file.
6052 * libc/stdlib/mblen.c: Modify to call reentrant routine.
6053 * libc/stdlib/mblen_r.c: New file.
6054 * libc/stdlib/setenv.c: Modify to call reentrant routine.
6055 * libc/stdlib/setenv_r.c: New file.
6056 * libc/stdlib/stdlib.tex: Add reentrant routines.
6057
6058Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
6059
6060 * libc/include/sys/types.h: Define __MS_types__ whenever
6061 cygwin or win32.
6062
6063Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
6064
6065 * libc/include/machine/ieeefp.h: Always default to little
6066 endian if Windows, regardless of architecture.
6067 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
6068 regardless of architecture.
6069
6070Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
6071
6072 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
6073 _WIN32 isn't defined.
6074
6075Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
6076
6077 * libm/common/s_rint.c (rint): Add volatile qualifier for
6078 intermediate value w.
6079 * libm/common/sf_rint.c (rintf): Ditto.
6080
6081Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6082
6083 * libc/sys/arm/syscalls.c (remap_handle): Added check to
6084 ensure that std streams are initialized before being referenced.
6085
60861999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
6087
6088 * README: Update reference to newlib@cygnus.com new
6089 newlib@sourceware.cygnus.com address.
6090
6091Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
6092
6093 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
6094 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
6095 defined, even if _WIN32 isn't defined.
6096
6097Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
6098
6099 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
6100
6101Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6102
6103 * libc/include/sys/reent.h: Change Long and ULong to __Long and
6104 __ULong.
6105 * libc/stdlib/dtoa.c: Ditto.
6106 * libc/stdlib/mprec.c: Ditto.
6107 * libc/stdlib/mprec.h: Ditto.
6108 * libc/stdlib/strtod.c: Ditto.
6109
61101999-04-21 Nick Clifton <nickc@cygnus.com>
6111
6112 * configure.host (mcore): Remove mcore machine directory.
6113
61141999-04-18 Nick Clifton <nickc@cygnus.com>
6115
6116 * libc/include/machine/ieeefp.h: Add support for mcore target.
6117 * libc/include/machine/setjmp.h: Add support for mcore target.
6118 * configure.host: Add support for mcore target.
6119
61201999-04-13 Mark Salter <msalter@cygnus.com>
6121
6122 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
6123 * libc/sys/arm/syscalls.c: Added isatty.
6124
6125Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6126
6127 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
6128 insert zeroes after significant digits.
6129
6130Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6131
6132 * libc/stdio/vfprintf.c (cvt): Changed floating point
6133 cvt routine to use union used by dtoa to properly determine
6134 if the sign bit is on or not.
6135 * libc/stdio/vfieeefp.h: New file
6136
6137Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6138
6139 * aclocal.m4: Regenerated.
6140 * configure: Regenerated.
6141
6142Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6143
6144 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
6145 f_tanf reference.
6146 * libc/machine/i386/Makefile.in: Regenerated.
6147
6148Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
6149
6150 * acinclude.m4: Changed to work with new automake.
6151 * configure: Regenerated.
6152 * libc/machine/i386/aclocal.m4: Regenerated.
6153 * libc/machine/i386/configure: Regenerated.
6154
6155Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
6156
6157 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
6158 for telldir() and seekdir(). Rename unused structure element
6159 for use with these two routines.
6160
6161Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
6162
6163 * libc/time/mktime.c (validate_structure): Multiple fixes to
6164 code to handle cases where input fields are outside valid ranges.
6165 * libc/stdlib/div.c (div): Modified invalid rounding check.
6166 * libc/stdlib/ldiv.c (ldiv): Ditto.
6167
6168Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
6169
6170 * libc/machine/i386/memcpy.S: Performance rewrite.
6171 * libc/machine/i386/memmove.S: Ditto.
6172 * libc/machine/i386/i386mach.h: Added more register definitions.
6173 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
6174 option used.
6175 * libc/include/machine/fastmath.h: Add definitions for x86
6176 fast-math routines.
6177
6178Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6179
6180 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
6181
6182Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
6183
6184 Adjust newlib headers for new Cygwin Win32 API header files:
6185 * libc/include/sys/time.h: Check _WINSOCK_H rather than
6186 _GNU_H_WINDOWS32_SOCKETS.
6187 * libc/include/sys/types.h: Ditto.
6188
6189Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6190
6191 *include/sys/reent.h: Add checks for size of Bigint element Long.
6192 *libc/dtoa.c: Change routines to use generic Long type.
6193 *libc/mprec.c: Change routines to use generic Long type.
6194 *libc/mprec.h: Change routines to use generic Long type.
6195
6196Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
6197
6198 * libc/Makefile.am: Add .def files.
6199 * libc/Makefile.in: Regenerate.
6200 * libc/e_acosh.c: Documentation update.
6201 * libc/e_atanh.c: Documentation update.
6202 * libc/e_hypot.c: Documentation update.
6203 * libc/e_remainder.c: Documentation update.
6204 * libc/er_lgamma.c: Documentation update.
6205 * libc/mathfp.tex: Documentation update.
6206 * libc/s_acos.c: Documentation update.
6207 * libc/s_atan.c: Documentation update.
6208 * libc/s_atan2.c: Documentation update.
6209 * libc/s_cosh.c: Documentation update.
6210 * libc/s_fmod.c: Documentation update.
6211 * libc/s_isnan.c: Documentation update.
6212 * libc/s_log10.c: Documentation update.
6213 * libc/s_pow.c: Documentation update.
6214 * libc/w_jn.c: Documentation update.
6215
6216Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
6217
6218 * aclocal.m4: Regenerate.
6219 * configure: Regenerate.
6220
6221Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
6222
6223 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
6224 to return 1 if user specified return code is 0.
6225 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
6226
6227Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
6228
6229 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
6230 to save the return address. Fixed longjmp to return to the original
6231 calling address of setjmp and to return the user specified return code
6232 rather than default to 1.
6233 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
6234
6235Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
6236
6237 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
6238
62391999-02-10 Nick Clifton <nickc@cygnus.com>
6240
6241 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
6242 volatile so that its assignments will not be discarded.
6243
6244Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
6245
6246 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
6247 be __STRICT_ANSI__ which is generated by compiler.
6248 * libc/include/ctype.h: Ditto.
6249 * libc/include/math.h: Ditto.
6250 * libc/include/stdio.h: Ditto.
6251 * libc/include/stdlib.h: Ditto.
6252 * libc/include/string.h: Ditto.
6253 * libc/include/sys/signal.h: Ditto.
6254
62551999-02-08 Nick Clifton <nickc@cygnus.com>
6256
6257 * configure.host: Add support for StrongARM target.
6258
6259Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
6260
6261 * libc/string/strncpy.c (strncpy): Removed redundant code
6262 that was copying bytes if data unaligned.
6263
62641999-02-02 Brendan Kehoe <brendan@cygnus.com>
6265
6266 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
6267 mbstowcs.def, and wcstombs.def.
6268
6269Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
6270
6271 * libc/include/sys/errno.h: Add Cygwin errno.
6272 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
6273 is specified.
6274
62751999-01-29 Nick Clifton <nickc@cygnus.com>
6276
6277 * libc/sys/arm/syscalls.c: Move C library functions into seperate
6278 file.
6279
6280 * libc/sys/arm/libcfunc.c: New file containing C library functions
6281 from syscalls.c
6282
6283 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
6284 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
6285
6286
62871999-01-27 Michael Meissner <meissner@cygnus.com>
6288
6289 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
6290 type, and cut size in half so that the jmp_buf array is guaranteed
6291 to be aligned on a 64-bit boundary.
6292
6293Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
6294
6295 * libc/string/strings.tex: Added information about
6296 strcasecmp and strncasecmp.
6297 * libc/stdlib/stdlib.tex: Added missing information
6298 about mblen, mbstowcs, and wcstombs.
6299 * libc/string/strchr.c: Changed how mask is built to use
6300 shift operators so register will be used instead of storage.
6301
63021999-01-22 DJ Delorie <dj@cygnus.com>
6303
6304 * libc/include/stdlib.h: don't use dllimport if we're building
6305 newlib, since it's inside cygwin.dll
6306
6307Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
6308
6309 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
6310 _ctype_ under cygwin.
6311
6312Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
6313
6314 * include/stdlib.h: Fix typo from previous checkin.
6315
6316Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
6317
6318 * include/ctype.h: Use __declspec(dllimport) method for exporting
6319 variable from cygwin DLL.
6320 * include/time.h: Ditto.
6321 * sys/errno.h: Ditto.
6322 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
6323 * libc/locale/locale.c: Use __declspec(dllexport) method for
6324 exporting variable from cygwin DLL.
6325
6326Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
6327
6328 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
6329 access of bogus pointer will result in SIGSEGV.
6330
63311999-01-07 Nick Clifton <nickc@cygnus.com>
6332
6333 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
6334 of an underscore prefix to function names.
6335
6336Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
6337
6338 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
6339 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
6340
63411998-12-31 Michael Meissner <meissner@cygnus.com>
6342
6343 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
6344 to `%' if not already defined.
6345
63461998-12-30 Michael Meissner <meissner@cygnus.com>
6347
6348 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
6349 arguments const char *, not char *.
6350 * libc/include/stdio.h (_tempnam_r): Ditto.
6351
6352 * libc/include/sys/reent.h (struct _reent): The _sig_func type
6353 points to a function taking an integer, not void.
6354
6355Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
6356
6357 * configure.host: Add a define for Cygwin builds.
6358 * libc/include/ctype.h: Don't use dll imported variables in newlib.
6359
6360Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
6361
6362 * libc/include/ctype.h: Define _ctype_ as dll imported variable
6363 for use with Cygwin.
6364 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
6365 dll imported variables for use with Cygwin.
6366 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
6367 as a dll imported variable for Cygwin.
6368
6369Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
6370
6371 * libc/include/sys/unistd.h: Add proto for getpass.
6372
6373Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
6374
6375 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
6376 alphasort.
6377
6378Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
6379
6380 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
6381 not posix_path_list_p.
6382
63831998-12-15 Nick Clifton <nickc@cygnus.com>
6384
6385 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
6386 a signed int.
6387
63881998-12-13 Nick Clifton <nickc@cygnus.com>
6389
6390 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
6391
63921998-12-12 Nick Clifton <nickc@cygnus.com>
6393
6394 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
6395 <msalter@cygnus.com>
6396 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
6397 * libc/machine/fr30/Makefile.in: Regenerated.
6398
63991998-12-11 Nick Clifton <nickc@cygnus.com>
6400
6401 * configure.host: Remove use of libc/sys for FR30 port.
6402 * libc/sys/fr30: Remove directory (replaced by libgloss).
6403
64041998-12-10 Ken Raeburn <raeburn@cygnus.com>
6405
6406 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
6407 * libc/string/strncat.c (ALIGNED): Ditto.
6408
6409Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
6410
6411 * libc/include/sys/time.h: include sys/types.h
6412
6413Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
6414
6415 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
6416 comparison found when checking word at a time.
6417
64181998-12-04 Nick Clifton <nickc@cygnus.com>
6419
6420 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
6421
64221998-12-03 Nick Clifton <nickc@cygnus.com>
6423
6424 * libc/sys/fr30/syscalls.c (_times): New function stub.
6425
6426Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6427
6428 * configure.host (mach_add_setjmp): Replaced mach_add_objs
6429 with mach_add_setjmp flag which indicates if setjmp should
6430 be added to the machine directory objects.
6431 * acinclude.m4: Removed reference to mach_add_objs.
6432 * aclocal.m4: Regenerated.
6433 * Makefile.in: Regenerated.
6434 * configure: Regenerated.
6435 * libc/aclocal.m4: Regenerated.
6436 * libc/Makefile.in: Regenerated.
6437 * libc/configure: Regenerated.
6438 * libc/machine/aclocal.m4: Regenerated.
6439 * libc/machine/Makefile.in: Regenerated.
6440 * libc/machine/configure: Regenerated.
6441 * libc/machine/i386/aclocal.m4: Regenerated.
6442 * libc/machine/i386/Makefile.am: Altered to selectively add
6443 setjmp.S to the src files list.
6444 * libc/machine/i386/Makefile.in: Regenerated.
6445 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
6446 * libc/machine/i386/configure: Regenerated.
6447
64481998-12-02 Nick Clifton <nickc@cygnus.com>
6449
6450 * libc/sys/fr30/crt0.s (_start): Fix function names.
6451
6452 * libc/machine/fr30: New directory
6453 * libc/machine/fr30/Makefile.am: New file.
6454 * libc/machine/fr30/Makefile.in: New generated file.
6455 * libc/machine/fr30/configure.in: New file.
6456 * libc/machine/fr30/configure: New generated file.
6457 * libc/machine/fr30/aclocal.m4: New generated file.
6458 * libc/sys/fr30/Makefile.am: New file.
6459 * libc/sys/fr30/Makefile.in: New generated file.
6460 * libc/sys/fr30/configure.in: New file.
6461 * libc/sys/fr30/configure: New generated file.
6462 * libc/sys/fr30/syscalls.c: New file.
6463
6464Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
6465
6466 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
6467
64681998-12-01 Ken Raeburn <raeburn@cygnus.com>
6469
6470 * libc/time/strftime.c (strftime): Also handle %y for years before
6471 1900.
6472
6473Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
6474
6475 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
6476 UNIX convention. Perform tolower on characters before comparing
6477 them rather than use toupper.
6478 * libc/string/strncasecmp.c (strncasecmp): Ditto.
6479
6480Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6481
6482 * configure.host: Added using i386 machine directory
6483 for all x86 cross-compiler and configuring
6484 which added object files to use via new "mach_add_objs" variable.
6485 * configure: Regenerated.
6486 * libc/configure: Regenerated.
6487 * libc/Makefile.in: Regenerated.
6488 * libc/aclocal.m4: Regenerated.
6489 * libc/ctype/Makefile.in: Regenerated.
6490 * libc/errno/Makefile.in: Regenerated.
6491 * libc/locale/Makefile.in: Regenerated.
6492 * libc/machine/Makefile.in: Regenerated.
6493 * libc/machine/aclocal.m4: Regenerated.
6494 * libc/machine/configure: Regenerated.
6495 * libc/posix/Makefile.in: Regenerated.
6496 * libc/reent/Makefile.in: Regenerated.
6497 * libc/signal/Makefile.in: Regenerated.
6498 * libc/stdio/Makefile.in: Regenerated.
6499 * libc/stdlib/Makefile.in: Regenerated.
6500 * libc/string/Makefile.in: Regenerated.
6501 * libc/string/memmove.c: Optimized code to use memcpy
6502 logic when performing a non-destructive copy.
6503 * libc/string/strncmp.c: Altered code to allow building
6504 optimized for size or speed.
6505 * libc/syscalls/Makefile.in: Regenerated.
6506 * libc/time/Makefile.in: Regenerated.
6507 * libc/unix/Makefile.in: Regenerated.
6508 * libc/machine/i386/Makefile.am: Added new files and reference
6509 to "mach_add_objs" to indicate optional object files.
6510 * libc/machine/i386/Makefile.in: Regenerated.
6511 * libc/machine/i386/aclocal.m4: Regenerated.
6512 * libc/machine/i386/configure: Regenerated.
6513 * libc/machine/i386/memchr.S: New file that implements
6514 function in Intel assembler.
6515 * libc/machine/i386/memcmp.S: ditto.
6516 * libc/machine/i386/memcpy.S: ditto.
6517 * libc/machine/i386/memmove.S: ditto.
6518 * libc/machine/i386/memset.S: ditto.
6519 * libc/machine/i386/strchr.S: ditto.
6520 * libc/machine/i386/strlen.S: ditto.
6521 * libc/machine/i386/f_atan2.S: New file that implements
6522 fast version of math function to be used by compiler when
6523 --ffast_math compile option is used.
6524 * libc/machine/i386/f_atan2f.S: ditto.
6525 * libc/machine/i386/f_exp.c: ditto.
6526 * libc/machine/i386/f_expf.c: ditto.
6527 * libc/machine/i386/f_frexp.S: ditto.
6528 * libc/machine/i386/f_frexpf.S: ditto.
6529 * libc/machine/i386/f_ldexp.S: ditto.
6530 * libc/machine/i386/f_ldexpf.S: ditto.
6531 * libc/machine/i386/f_log.S: ditto.
6532 * libc/machine/i386/f_logf.S: ditto.
6533 * libc/machine/i386/f_log10.S: ditto.
6534 * libc/machine/i386/f_log10f.S: ditto.
6535 * libc/machine/i386/f_math.h: New file.
6536 * libc/machine/i386/f_pow.c: ditto.
6537 * libc/machine/i386/f_powf.S: ditto.
6538 * libc/machine/i386/f_tan.S: ditto.
6539 * libc/machine/i386/f_tan.S: ditto.
6540 * libc/machine/i386/i386mach.h: New file.
6541
6542Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
6543
6544 patch from Mumit Khan <khan@xraylith.wisc.edu>
6545 * libc/include/stdio.h (tempnam): Add prototype.
6546 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
6547 (tempnam): Adhere to prototype.
6548
6549Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
6550
6551 * Makefile.am: Add default for AR_FLAGS.
6552 * Makefile.in: Regenerate.
6553
6554Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
6555
6556 * libc/include/time.h: move __cplusplus wrapper after includes
6557 * libc/include/sys/time.h: ditto. If Cygwin, include
6558 sys/select.h.
6559 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
6560
65611998-11-23 Ken Raeburn <raeburn@cygnus.com>
6562
6563 * libc/time/strftime.c (strftime): Handle %y after year 2000.
6564
6565Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
6566
6567 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
6568 abnormnal end-of-crt0 marker.
6569
6570Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
6571
6572 * libc/sys/fr30/crt0.s: New file/directory.
6573 * libc/include/machine/setjmp.h: Add FR30 target.
6574 * libc/include/machine/ieeefp.h: Add FR30 target.
6575 * configure.host: Add FR30 target.
6576
6577Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6578
6579 * libm/math: Files that are duplicated in common directory removed.
6580 * libm/math/fdlibm.h: Removed.
6581 * libm/math/s_cbrt.c: Removed.
6582 * libm/math/s_copysign.c: Removed.
6583 * libm/math/s_expm1.c: Removed.
6584 * libm/math/s_finite.c: Removed.
6585 * libm/math/s_ilogb.c: Removed.
6586 * libm/math/s_infinity.c: Removed.
6587 * libm/math/s_lib_ver.c: Removed.
6588 * libm/math/s_log1p.c: Removed.
6589 * libm/math/s_logb.c: Removed.
6590 * libm/math/s_matherr.c: Removed.
6591 * libm/math/s_modf.c: Removed.
6592 * libm/math/s_nan.c: Removed.
6593 * libm/math/s_nextafter.c: Removed.
6594 * libm/math/s_rint.c: Removed.
6595 * libm/math/s_scalbn.c: Removed.
6596 * libm/math/sf_cbrt.c: Removed.
6597 * libm/math/sf_copysign.c: Removed.
6598 * libm/math/sf_expm1.c: Removed.
6599 * libm/math/sf_finite.c: Removed.
6600 * libm/math/sf_ilogb.c: Removed.
6601 * libm/math/sf_infinity.c: Removed.
6602 * libm/math/sf_log1p.c: Removed.
6603 * libm/math/sf_logb.c: Removed.
6604 * libm/math/sf_modf.c: Removed.
6605 * libm/math/sf_nan.c: Removed.
6606 * libm/math/sf_nextafter.c: Removed.
6607 * libm/math/sf_rint.c: Removed.
6608 * libm/math/sf_scalbn.c: Removed.
6609 * libm/math/Makefile.am: Removed references to deleted files (above).
6610 * libm/math/Makefile.in: Regenerated.
6611 * libm/Makefile.am: Added common directory to math.
6612 * libm/Makefile.in: Regenerated.
6613
6614Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6615
6616 * libm/mathfp: Add non-ANSI functions.
6617 * libm/mathfp/e_acosh.c acosh(): New file.
6618 * libm/mathfp/e_atanh.c atanh(): New file.
6619 * libm/mathfp/e_hypot.c hypot(): New file.
6620 * libm/mathfp/e_j0.c j0(): New file.
6621 * libm/mathfp/e_j1.c j1(): New file.
6622 * libm/mathfp/e_remainder.c remainder(): New file.
6623 * libm/mathfp/e_scalb.c scalb(): New file.
6624 * libm/mathfp/ef_acosh.c acoshf(): New file.
6625 * libm/mathfp/ef_atanh.c atanhf(): New file.
6626 * libm/mathfp/ef_hypot.c hypotf(): New file.
6627 * libm/mathfp/ef_j0.c j0f(): New file.
6628 * libm/mathfp/ef_j1.c j1f(): New file.
6629 * libm/mathfp/ef_remainder.c remainderf(): New file.
6630 * libm/mathfp/ef_scalb.c scalbf(): New file.
6631 * libm/mathfp/er_gamma.c gamma_r: New file.
6632 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
6633 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
6634 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
6635 * libm/mathfp/w_cabs.c cabs(): New file.
6636 * libm/mathfp/w_drem.c drem(): New file.
6637 * libm/mathfp/w_jn.c jn(): New file.
6638 * libm/mathfp/wf_cabs.c cabsf(): New file.
6639 * libm/mathfp/wf_drem.c dremf(): New file.
6640 * libm/mathfp/wf_jn.c jnf(): New file.
6641
6642Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
6643
6644 * libc/sys/cygwin32: remove directory and contents
6645 * libc/sys/cygwin: and add back, losing the "32".
6646 * configure.host: check for cygwin* instead of cygwin32.
6647 * acinclude.m4: ditto.
6648 * aclocal.m4: regenerate with aclocal
6649 * configure: regenerate with autoconf
6650
6651Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
6652
6653 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
6654 for length
6655
6656Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6657
6658 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
6659 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
6660 to make rand/srand, strtok, asctime, localtime, w_gamma,
6661 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
6662 time.h to bring in struct tm definition.
6663 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
6664 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
6665 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
6666 instead of static variable.
6667 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
6668 struct reent instead of static variable.
6669 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
6670 struct reent instead of static variable.
6671 * libm/math/Makefile.am: Removed s_signgam.o.
6672 * libm/math/Makefile.in: Regenerated.
6673 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
6674 struct reent instead of global variable 'signgam'.
6675 * libm/math/w_lgamma.c (lgamma): Likewise.
6676 * libm/math/wf_gamma.c (gammaf): Likewise.
6677 * libm/math/wf_lgamma.c (lgammaf): Likewise.
6678 * libm/math/s_signgam.c: Removed.
6679 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
6680 to be const.
6681 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
6682 to be const.
6683 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
6684 libc/include/reent.h.
6685 * libc/reent/Makefile.in: Regenerated.
6686 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
6687 to be const.
6688 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
6689 'JIS_action_table' to be const.
6690 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
6691
6692Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
6693
6694 * acinclude.m4: $with_target_subdir should default to '.'
6695 or confusion results when configuring in same directory as sources.
6696 * Regenerate all aclocal.m4 and configure files.
6697
6698Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
6699
6700 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
6701 can be set by defining MALLOC_ALIGNMENT=16. Also added support
6702 for platforms where sizeof(size_t) < sizeof(long) via
6703 SIZE_T_SMALLER_THAN_LONG macro.
6704
6705Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
6706
6707 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
6708 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
6709 which sets _CLOCKS_PER_SEC_ for selected machines.
6710 * libc/include/machine/time.h: New file.
6711
6712Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6713
6714 * libc/syscalls/sysexecve.c: New file.
6715 * libc/syscalls/sysgettod.c: New file.
6716 * libc/syscalls/systimes.c: New file.
6717 * libc/syscalls/Makefile.am: Added new objects.
6718 * libc/syscalls/Makefile.in: Regenerated.
6719 * libc/include/_syslist.h (_execve): Moved define in file.
6720 * libc/include/reent.h: Added _execve_r declaration.
6721 * libc/Makefile.in: Regenerated.
6722 * libc/ctype/Makefile.in: Regenerated.
6723 * libc/errno/Makefile.in: Regenerated.
6724 * libc/locale/Makefile.in: Regenerated.
6725 * libc/machine/Makefile.in: Regenerated.
6726 * libc/misc/Makefile.in: Regenerated.
6727 * libc/posix/Makefile.in: Regenerated.
6728 * libc/reent/Makefile.in: Regenerated.
6729 * libc/reent/execr.c (_execve_r): Added _execve_r function.
6730 * libc/signal/Makefile.in: Regenerated.
6731 * libc/stdio/Makefile.in: Regenerated.
6732 * libc/time/Makefile.in: Regenerated.
6733 * libc/unix/Makefile.in: Regenerated.
6734 * libm/mathfp/Makefile.in: Regenerated.
6735
6736Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6737
6738 * libc/string/Makefile.in: Regenerated.
6739 * libc/string/memchr.c (memchr): Moved code to reduce object size.
6740 * libc/string/memcpy.c (memcpy): Ditto.
6741 * libc/string/memcmp.c (memcmp): Ditto.
6742 * libc/string/memset.c (memset): Ditto.
6743 * libc/string/strchr.c (strchr): Ditto.
6744 * libc/string/strcmp.c (strcmp): Ditto.
6745 * libc/string/strcpy.c (strcpy): Ditto.
6746 * libc/string/strlen.c (strlen): Ditto.
6747
6748Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6749
6750 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
6751 to generate aclocal.m4.
6752 * libm/Makefile.in: Regenerated.
6753 * libm/aclocal.m4: Regenerated.
6754 * libm/configure: Regenerated.
6755 * libm/math/Makefile.in: Regenerated.
6756 * libm/mathfp/Makefile.in: Regenerated.
6757
67581998-09-25 Mark Salter <msalter@cygnus.com>
6759
6760 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
6761 by adding leading and trailing underscores to symbol names.
6762
6763Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
6764
6765 * Makefile.in: Add default for AR_FLAGS.
6766
6767Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
6768
6769 patch from ian@airs.com (Ian Taylor):
6770 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
6771 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
6772 is needed for detecting the build machine. Required for
6773 cygwin native builds.
6774
6775 * Regenerate all aclocal.m4 and configure files.
6776
6777Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
6778
6779 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
6780 used to start with LC.
6781
6782Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6783
6784 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
6785 (longjmp): Likewise.
6786
6787Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6788
6789 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
6790 the test for small number of bytes.
6791
6792Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6793
6794 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
6795 math library that uses floating point algorithms instead of the old
6796 libm.
6797 * Makefile.in: Regenerate with automake version 1.3b.
6798 * configure: Rebuild.
6799 * libm/Makefile.in: Regenerate with automake version 1.3b.
6800 * libm/aclocal.m4: Regenerate.
6801 * libm/configure: Rebuild.
6802 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
6803 * libm/acinclude.m4: Define macros for configure.in.
6804 * libm/config.h.in: Generate.
6805 * libm/mathfp/Makefile.am: New file.
6806 * libm/mathfp/Makefile.in: Generate.
6807 * libm/mathfp/s_acos.c (acos): New file.
6808 * libm/mathfp/s_asin.c (asin): New file.
6809 * libm/mathfp/s_asine.c (asine): New file.
6810 * libm/mathfp/s_atan.c (atan): New file.
6811 * libm/mathfp/s_atan2.c (atan2): New file.
6812 * libm/mathfp/s_atangent.c (atangent): New file.
6813 * libm/mathfp/s_ceil.c (ceil): New file.
6814 * libm/mathfp/s_copysign.c (copysign): New file.
6815 * libm/mathfp/s_cos.c (cos): New file.
6816 * libm/mathfp/s_cosh.c (cosh): New file.
6817 * libm/mathfp/s_exp.c (exp): New file.
6818 * libm/mathfp/s_fabs.c (fabs): New file.
6819 * libm/mathfp/s_finite.c (finite): New file.
6820 * libm/mathfp/s_floor.c (floor): New file.
6821 * libm/mathfp/s_fmod.c (fmod): New file.
6822 * libm/mathfp/s_frexp.c (frexp): New file.
6823 * libm/mathfp/s_infconst.c: New file.
6824 * libm/mathfp/s_isinf (isinf).c: New file.
6825 * libm/mathfp/s_isnan.c (isnan): New file.
6826 * libm/mathfp/s_ispos.c (ispos): New file.
6827 * libm/mathfp/s_ldexp.c (ldexp): New file.
6828 * libm/mathfp/s_log.c (log): New file.
6829 * libm/mathfp/s_log10.c (log10): New file.
6830 * libm/mathfp/s_logarithm.c (logarithm): New file.
6831 * libm/mathfp/s_mathcnst.c: New file.
6832 * libm/mathfp/s_modf (modf).c: New file.
6833 * libm/mathfp/s_numtest.c (numtest): New file.
6834 * libm/mathfp/s_pow.c (pow): New file.
6835 * libm/mathfp/s_scalbn.c (scalbn): New file.
6836 * libm/mathfp/s_sin (sin).c: New file.
6837 * libm/mathfp/s_sine.c (sine): New file.
6838 * libm/mathfp/s_sineh.c (sineh): New file.
6839 * libm/mathfp/s_sinf.c (sinf): New file.
6840 * libm/mathfp/s_sinh.c (sinh): New file.
6841 * libm/mathfp/s_sqrt.c (sqrt): New file.
6842 * libm/mathfp/s_tan.c (tan): New file.
6843 * libm/mathfp/s_tanh.c (tanh): New file.
6844 * libm/mathfp/sf_acos.c (acosf): New file.
6845 * libm/mathfp/sf_asin.c (asinf): New file.
6846 * libm/mathfp/sf_asine.c (asinef): New file.
6847 * libm/mathfp/sf_atan.c (atanf): New file.
6848 * libm/mathfp/sf_atan2.c (atan2f): New file.
6849 * libm/mathfp/sf_atangent.c (atangent): New file.
6850 * libm/mathfp/sf_ceil.c (ceilf): New file.
6851 * libm/mathfp/sf_copysign.c (copysignf): New file.
6852 * libm/mathfp/sf_cos.c (cosf): New file.
6853 * libm/mathfp/sf_cosh.c (coshf): New file.
6854 * libm/mathfp/sf_exp.c (expf): New file.
6855 * libm/mathfp/sf_fabs.c (fabsf): New file.
6856 * libm/mathfp/sf_finite.c (finitef): New file.
6857 * libm/mathfp/sf_floor.c (floorf): New file.
6858 * libm/mathfp/sf_fmod.c (fmodf): New file.
6859 * libm/mathfp/sf_frexp.c (frexpf): New file.
6860 * libm/mathfp/sf_isinf.c (isinff): New file.
6861 * libm/mathfp/sf_isnan.c (isnanf): New file.
6862 * libm/mathfp/sf_ispos.c (isposf): New file.
6863 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
6864 * libm/mathfp/sf_log.c (logf): New file.
6865 * libm/mathfp/sf_log10.c (log10f): New file.
6866 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
6867 * libm/mathfp/sf_modf.c (modff): New file.
6868 * libm/mathfp/sf_numtest.c (numtestf): New file.
6869 * libm/mathfp/sf_pow.c (powf): New file.
6870 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
6871 * libm/mathfp/sf_sin.c (sinf): New file.
6872 * libm/mathfp/sf_sine.c (sinef): New file.
6873 * libm/mathfp/sf_sineh.c (sinehf): New file.
6874 * libm/mathfp/sf_sinh.c (sinhf): New file.
6875 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
6876 * libm/mathfp/sf_tan.c (tanf): New file.
6877 * libm/mathfp/sf_tanh.c (tanhf): New file.
6878 * libm/mathfp/zmath.h: New file.
6879
6880Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6881
6882 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
6883 exit if it has been overwritten by pre-fetching in delay slot.
6884
68851998-09-01 Michael Meissner <meissner@cygnus.com>
6886
6887 * Makefile.am (tooldir): Add in host_alias, so that multilib
6888 libraries are installed in the directory the compiler looks in.
6889 * Makefile.in: Regenerate.
6890
6891 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
6892
6893Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
6894
6895 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
6896 ahead of test for number of bytes being moved.
6897
6898Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
6899
6900 * libc/include/sys/unistd.h: Nothing special needed for
6901 _exit under cygwin.
6902
6903Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
6904
6905 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
6906 conform to user label naming conventions.
6907
6908Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
6909
6910 * libc/sys/cygwin32/sys/utime.h: variable names in
6911 protos should start with two leading underscores
6912 * libc/include/string.h: ditto
6913 * libc/include/sys/signal.h: ditto
6914 * libc/include/sys/stat.h: ditto
6915 * libc/include/sys/time.h: ditto
6916 * libc/include/sys/unistd.h: ditto
6917 * libc/include/ctype.h: ditto
6918 * libc/include/stdlib.h: ditto
6919 * libc/include/sys/reent.h: struct _atexit function ptr takes a
6920 void, same with _sig_func.
6921
6922Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
6923
6924 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
6925 for MB_CAPABLE to reduce code size when newlib is not configured
6926 with --enable-newlib-mb.
6927 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
6928 mbtowc_r.o to minimize size.
6929 * libc/stdlib/Makefile.in: Rebuild.
6930
6931Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
6932
6933 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
6934 to -DREENT.
6935 * libc/sys/sparc64/Makefile.in: Rebuild.
6936
6937Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
6938
6939 * Makefile.am (MAKEOVERRIDES): Define.
6940 * Makefile.in: Rebuild.
6941
6942Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
6943
6944 * libc/sys/sparc64/sys/stat.h (stat): Add const.
6945
6946Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
6947
6948 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
6949 newlib_cflags when looking for targ-include.
6950 * */aclocal.m4, */configure: Rebuild.
6951
6952Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
6953
6954 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
6955 to "_end".
6956
6957Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
6958
6959 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
6960 on SPARCs with little-endian data.
6961 * libc/include/machine/ieeefp.h: Ditto.
6962
6963Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
6964
6965 * acinclude.m4: Handle a relative srcdir correctly when setting
6966 newlib_cflags.
6967 * */aclocal.m4, */configure: Rebuild.
6968
6969Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
6970
6971 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
6972 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
6973 * libm/math/wrf_gamma.c (gammaf_r): ditto
6974 * libm/math/wr_lgamma.c (lgamma_r): ditto
6975 * libm/math/wr_gamma.c (gamma_r): ditto
6976 * libm/math/wf_sqrt.c (sqrtf): ditto
6977 * libm/math/wf_sinh.c (sinhf): ditto
6978 * libm/math/wf_scalb.c (scalbf): ditto
6979 * libm/math/wf_remainder.c (remainderf): ditto
6980 * libm/math/wf_pow.c (powf): ditto
6981 * libm/math/wf_log10.c (log10f): ditto
6982 * libm/math/wf_log.c (logf): ditto
6983 * libm/math/wf_lgamma.c (lgammaf): ditto
6984 * libm/math/wf_jn.c (jnf, ynf): ditto
6985 * libm/math/wf_j1.c (j1f, y1f): ditto
6986 * libm/math/wf_j0.c (j0f, y0f): ditto
6987 * libm/math/wf_hypot.c (hypotf): ditto
6988 * libm/math/wf_gamma.c (gammaf): ditto
6989 * libm/math/wf_fmod.c (fmodf): ditto
6990 * libm/math/wf_exp.c (expf): ditto
6991 * libm/math/wf_cosh.c (coshf): ditto
6992 * libm/math/wf_atanh.c (atanhf): ditto
6993 * libm/math/wf_atan2f.c (atan2f): ditto
6994 * libm/math/wf_asin.c (asinf): ditto
6995 * libm/math/wf_acosh.c (acoshf): ditto
6996 * libm/math/wf_acos.c (acosf): ditto
6997 * libm/math/w_sqrt.c (sqrt): ditto
6998 * libm/math/w_sinh.c (sinh): ditto
6999 * libm/math/w_scalb.c (scalb): ditto
7000 * libm/math/w_remainder.c (remainder): ditto
7001 * libm/math/w_pow.c (pow): ditto
7002 * libm/math/w_log10.c (log10): ditto
7003 * libm/math/w_log.c (log): ditto
7004 * libm/math/w_lgamma.c (lgamma): ditto
7005 * libm/math/w_jn.c (jn, yn): ditto
7006 * libm/math/w_j1.c (j1, y1): ditto
7007 * libm/math/w_j0.c (j0, y0): ditto
7008 * libm/math/w_hypot.c (hypot): ditto
7009 * libm/math/w_gamma.c (gamma): ditto
7010 * libm/math/w_fmod.c (fmod): ditto
7011 * libm/math/w_exp.c (exp): ditto
7012 * libm/math/w_cosh.c (cosh): ditto
7013 * libm/math/w_atanh.c (atanh): ditto
7014 * libm/math/w_atan2f.c (atan2): ditto
7015 * libm/math/w_asin.c (asin): ditto
7016 * libm/math/w_acosh.c (acosh): ditto
7017 * libm/math/w_acos.c (acos): ditto
7018
7019Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
7020
7021 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
7022 (fsrc): Add wf_cabs.c and wf_drem.c.
7023 * libm/math/Makefile.in: Rebuild.
7024
7025 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
7026 unused directory variables. Remove duplicate CFLAGS.
7027 * Makefile.in: Rebuild.
7028
7029 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
7030 with $(CC_FOR_BUILD).
7031 (makedoc.o): Likewise.
7032 * doc/Makefile.in: Rebuild.
7033
7034 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
7035 force a definition of COMPILE.
7036 (libfoo_a_SOURCES): Define.
7037 * libc/sys/cygwin32/Makefile.in: Rebuild.
7038 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
7039 force a definition of COMPILE.
7040 (libfoo_a_SOURCES): Define.
7041 * libc/sys/tic80/Makefile.in: Rebuild.
7042
7043Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
7044
7045 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
7046 flag.
7047
7048Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
7049
7050 * Build using autoconf and automake. Added many Makefile.am and
7051 configure.in files, plus generated files. Old configure.in files
7052 and all old Makefile.in files completely replaced. Removed
7053 host/any. Added acinclude.m4 and configure.host.
7054
7055Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
7056
7057 * libc/stdio/vfprintf.c: enable long long support, sometimes.
7058 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
7059
7060Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7061
7062 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
7063 * libc/machine/sh/Makefile.in: Add rules for new files.
7064
7065Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7066
7067 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
7068 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
7069 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
7070
7071Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
7072
7073 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
7074 code is ignored.
7075
7076Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
7077
7078 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
7079 internal static buffer when s is NULL, as prescribed by ANSI.
7080
70811998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
7082
7083 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
7084 removed.
7085 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
7086 libc/stdlib will be used for h8300hms.
7087
7088Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7089
7090 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
7091 version that can be built either for speed or size.
7092 * libc/machine/mn10300/memset.S (_memset): ditto
7093 * libc/machine/mn10300/memchr.S (_memchr): ditto
7094 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
7095 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
7096 * libc/machine/mn10300/strchr.S (_strchr): ditto
7097 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
7098 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
7099 * libc/machine/mn10300/Makefile.in: Added entries for
7100 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
7101 strcmp.o, strcpy.o, and strlen.o.
7102
7103Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
7104
7105 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
7106 been replaced with libgloss/mn10200.
7107
7108Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
7109
7110 * libc/string/strchr.c (strchr): Make s a constant pointer to
7111 avoid warning.
7112
7113Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
7114
7115 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
7116 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
7117 board SWIs instead of Demon board SWIs).
7118
7119Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
7120
7121 * libc/string/strncat.c (strncat): Make -Os act the same as
7122 PREFER_SIZE_OVER_SPEED being defined.
7123
7124Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
7125
7126 * libc/string/memchr.c (memchr): Make -Os act the same as
7127 PREFER_SIZE_OVER_SPEED being defined.
7128 * libc/string/memcmp.c (memcmp): Ditto.
7129 * libc/string/memcpy.c (memcpy): Ditto.
7130 * libc/string/memset.c (memset): Ditto.
7131 * libc/string/strcat.c (strcat): Ditto.
7132 * libc/string/strchr.c (strchr): Ditto.
7133 * libc/string/strcmp.c (strcmp): Ditto.
7134 * libc/string/strcpy.c (strcpy): Ditto.
7135 * libc/string/strlen.c (strlen): Ditto.
7136 * libc/string/strncat.c (strncat): Ditto.
7137 * libc/string/strncmp.c (strncmp): Ditto.
7138 * libc/string/strncpy.c (strncpy): Ditto.
7139
7140Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
7141
7142 * libc/include/sys/itimer.h: remove
7143 * libc/include/sys/time.h: itimer stuff should be here
7144
7145Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
7146
7147 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
7148 bit instead of comparing to 0 so -0.0 can be printed correctly.
7149
7150Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7151
7152 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
7153
7154Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
7155
7156 * libc/include/sys/unistd.h: fix sync() proto
7157 * libc/include/sys/fcntl.h: remove _close which is already
7158 defined in unistd.h.
7159 * libc/include/sys/time.h: add getitimer proto
7160
7161Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
7162
7163 * libc/string/strchr.c: convert arg to unsigned char
7164 * libc/include/stdlib.h: add protos for random, srandom
7165 * libc/include/sys/stat.h: add lstat proto
7166 * libc/include/sys/time.h: add setitimer proto
7167 * libc/include/sys/unistd.h: add readlink, symlink protos
7168 * libc/include/process.h: instead of including windows.h and using
7169 HANDLEs in sexec protos, just use void *s. Need to include
7170 sys/types.h.
7171
7172Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
7173
7174 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
7175
7176Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
7177
7178 * libc/include/process.h: add secure exec protos
7179
7180Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
7181
7182 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
7183 which are accessed as both doubles and integers.
7184 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
7185 * libc/stdlib/strtod.c (_strtod_r): Likewise.
7186 * libc/stdlib/mprec.h: Add "union double_union" and change
7187 word0/word1 macros to use it.
7188
7189Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
7190
7191 * libc/include/sys/signal.h: add __cplusplus wrapper
7192
7193Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
7194
7195 * libc/include/sys/utime.h: new generic file that gets replaced by
7196 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
7197 function.
7198 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
7199 * libc/include/time.h: remove duplicate utime proto
7200 * libc/include/utime.h: add comment
7201
7202Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
7203
7204 * libc/include/sys/time.h: Add missing include to
7205 allow use of _EXFUN. Remove times function that is
7206 already defined in times.h.
7207
7208Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
7209
7210 * libc/include/time.h: Fix typo in tzset.
7211
7212Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
7213
7214 * libc/include/sys/time.h: add missing Cygwin32 function protos
7215 * libc/include/sys/unistd.h: ditto
7216 * libc/include/time.h: ditto
7217
7218Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
7219
7220 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
7221 FIXME.
7222 * libc/include/sys/types.h: add a new __MS_types__ section
7223 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
7224 __BIT_TYPES_DEFINED__.
7225
7226Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
7227
7228 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
7229 since it overrides the one in libc/include/sys. Also, start
7230 including types.h.
7231
7232Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
7233
7234 * libm/math/Makefile.in: add s_signgam.o to obj list
7235
7236Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
7237
7238 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
7239
7240Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
7241
7242 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
7243 so don't use defines.
7244
7245Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
7246
7247 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
7248
7249Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
7250
7251 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
7252 _current_locale as default locale.
7253
7254Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
7255
7256 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
7257 insufficient space in a chunk.
7258
7259Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
7260
7261 * configure.in (links): Added check for --enable-newlib-mb configure
7262 option which defines the MB_CAPABLE macro.
7263 * libc/locale/locale.c (_setlocale_r): Added support for setting
7264 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
7265 defined.
7266 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
7267 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
7268 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
7269 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
7270 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
7271 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
7272 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
7273 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
7274 * libc/stdlib/Makefile.in: Added new multibyte
7275 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
7276 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
7277 _mbstowcs_r(), and _wcstombs_r().
7278 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
7279 for JIS, SJIS, and EUC-JP characters.
7280 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
7281 MB_CAPABLE defined.
7282 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
7283 MB_CAPABLE defined.
7284 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
7285 MB_CAPABLE defined.
7286 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
7287 if MB_CAPABLE defined.
7288 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
7289 if MB_CAPABLE defined.
7290 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
7291 to the format string processing when MB_CAPABLE.
7292 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
7293 call _mbtowc_r().
7294
7295Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
7296
7297 The following modifications are courtesy of Anthony Thompson,
7298 athompson@cambridge.arm.com:
7299 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
7300 boith RDI and RDP monitors.
7301 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
7302 RDI and RDP monitors.
7303
7304Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
7305
7306 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
7307 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
7308 (_swiopen): Fixed open flags to treat write with append as just append.
7309 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
7310 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
7311
7312Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7313
7314 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
7315 When needing to transfer an initial 2-byte-word, store as
7316 two single bytes.
7317
7318Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7319
7320 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
7321 __SH3E__ .
7322 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
7323 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
7324
7325Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
7326
7327 * configure.in (target_cflags): If --enable-target-optspace, use
7328 -Os to compile newlib rather than -O2. Default to using -Os for
7329 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
7330 used.
7331
7332Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
7333
7334 * libc/include/machine/setjmp.h: change sigsetjmp and
7335 siglongjmp definitions to use an array instead of a struct
7336 for __CYGWIN32__
7337
7338Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
7339
7340 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
7341
7342Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
7343
7344 * libc/string/strxfrm.c: fix to get correct return value
7345
7346Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
7347
7348 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
7349 builds. Make mode change labels global so that they will be seen
7350 by the debugger.
7351
7352Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
7353
7354 * configure.in (links): Do not use ARM debiugging protocols for PE
7355 builds.
7356
7357 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
7358 message.
7359
7360Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7361
7362 * libc/stdio/findfp.c (__sinit): Made stdout default to
7363 line buffered mode as defined by ANSI.
7364
7365Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
7366
7367 * libc/include/sys/itimer.h: New file.
7368
7369 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
7370
7371Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7372
7373 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
7374 failure.
7375
7376Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
7377
7378 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
7379 insns.
7380
7381Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
7382
7383 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
7384
7385Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
7386
7387 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
7388 support.
7389
7390 * libc/include/machine/setjmp.h: Add D30V support.
7391
7392 * configure.in (d30v-*): Add d30v machine directory.
7393
7394Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
7395
7396 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
7397 been replaced with libgloss/mn10300.
7398
7399Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
7400
7401 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
7402 it is no longer needed.
7403
7404Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7405
7406 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
7407
7408Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
7409
7410 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
7411 the file when O_APPEND is set, wherever the EOF happens to be at
7412 that time.
7413
7414Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
7415
7416 patch from cgf@bbc.com (Christopher Faylor):
7417 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
7418 convention of closing fp prior to attempting to open the file
7419 argument. This allows correct operation when reopening
7420 stdin/stdout/stderr. Replaces last freopen.c patch.
7421
7422Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
7423
7424 patch from cgf@bbc.com (Christopher Faylor):
7425 * libc/stdio/freopen.c: freopen was not preserving the fd
7426 of the stream being operated on. This confuses programs that
7427 expect that the handles for stdout and stderr will be 1 and 2.
7428
7429Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
7430
7431 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
7432
7433Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
7434
7435 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
7436
7437Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
7438
7439 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
7440 altered to not use a branch. Also added hint that last
7441 bclr in longjmp will likely result in branch.
7442
7443
7444Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
7445
7446 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
7447
7448Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
7449
7450 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
7451 v850 builds.
7452
7453 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
7454
7455Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
7456
7457 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
7458 that loads FR14 to specify offset of 8 rather than 4
7459 so it loads from offset 96 (where setjmp stored it).
7460
7461Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7462
7463 * libc/machine/sh/memcpy.S: (_memcpy): Update to
7464 latest version supplied by customer.
7465 * libc/machine/sh/memset.S (_memset): Ditto.
7466
7467Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
7468
7469 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
7470 PR14730).
7471
7472Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
7473
7474 * libc/include/string.h: remove redefinition of ffs
7475
7476Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
7477
7478 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
7479 defined
7480
7481Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7482
7483 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
7484 TI Libraries to link to libc.a
7485
7486Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
7487
7488 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
7489 * libc/include/sys/stat.h (_{,f}stat): Ditto.
7490 * libc/include/sys/wait.h (_wait): Ditto.
7491 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
7492 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
7493
7494Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
7495
7496 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
7497 minded stabs so function name shows up when running the simulator
7498 with -t.
7499 * libc/sys/d10v/{crt0,trap}.S: Ditto.
7500
7501Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
7502
7503 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
7504 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
7505 Use R5 where we used to use R3.
7506
7507Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
7508
7509 * libc/stdlib/getopt.c (getopt): replaced __progname
7510 with nargv[0] to improve portability to imbedded systems.
7511
7512Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
7513
7514 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
7515 patch supplied by Tont.Thompson@arm.com to fix the creation of the
7516 stdout file.
7517
7518Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
7519
7520 * libc/stdio/tmpnam.c (worker): Generate a different file name
7521 each time.
7522
7523 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
7524 fails, try an execlp for sh.
7525
7526 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
7527 option for the winsup include directory.
7528
7529Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
7530
7531 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
7532 debugging interface from Tony.Thompson@arm.com.
7533
7534 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
7535 * libc/sys/arm/swi.h: ditto.
7536
7537Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7538
7539 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
7540 DIR struct used for readdir hashes.
7541
7542Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
7543
7544 * libc/string/strchr.c: Use "unsigned chars" as necessary.
7545
7546Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
7547
7548 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
7549 integer targets.
7550
7551Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
7552
7553 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
7554 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
7555 * libc/include/malloc.h: Add extern "C" if __cplusplus.
7556 (__malloc_copy): Declare.
7557
7558Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
7559
7560 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
7561 <sys/config.h>.
7562 (POINTER_UINT): Define.
7563 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
7564 (MALLOC_ALIGNMENT): Don't define if already defined.
7565 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
7566 long.
7567
7568Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
7569
7570 * libc/string/memset.c (memset): Fiddle with code so that the long
7571 value being stored is not a stack value. Unroll storing longs 4
7572 times.
7573
7574Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
7575
7576 * Reduce code size for libm modules.
7577 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
7578 and simply move code into sqrt.
7579 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
7580 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
7581 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
7582 * libm/math/wr_gamma.c (gamma_r): Likewise.
7583 * libm/math/wf_sinh.c (sinfh): Likewise.
7584 * libm/math/w_sinh.c (sinh): Likewise.
7585 * libm/math/wf_scalb.c (scalbf): Likewise.
7586 * libm/math/w_scalb.c (scalb): Likewise.
7587 * libm/math/wf_remainder.c (remainderf): Likewise.
7588 * libm/math/w_remainder.c (remainder): Likewise.
7589 * libm/math/wf_pow.c (powf): Likewise.
7590 * libm/math/w_pow.c (pow): Likewise.
7591 * libm/math/wf_log10.c (log10f): Likewise.
7592 * libm/math/w_log10.c (log10): Likewise.
7593 * libm/math/wf_log.c (logf): Likewise.
7594 * libm/math/w_log.c (log): Likewise.
7595 * libm/math/w_lgamma.c (lgamma): Likewise.
7596 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7597 * libm/math/wf_jn.c (jnf): Likewise.
7598 * libm/math/w_jn.c (jn): Likewise.
7599 * libm/math/wf_j1.c (j1f): Likewise.
7600 * libm/math/w_j1.c (j1): Likewise.
7601 * libm/math/wf_j0.c (j0f): Likewise.
7602 * libm/math/w_j0.c (j0): Likewise.
7603 * libm/math/wf_hypot.c (hypotf): Likewise.
7604 * libm/math/w_hypot.c (hypot): Likewise.
7605 * libm/math/wf_gamma.c (gammaf): Likewise.
7606 * libm/math/w_gamma.c (gamma): Likewise.
7607 * libm/math/wf_fmod.c (fmodf): Likewise.
7608 * libm/math/w_fmod.c (fmod): Likewise.
7609 * libm/math/wf_exp.c (expf): Likewise.
7610 * libm/math/w_exp.c (exp): Likewise.
7611 * libm/math/wf_cosh.c (coshf): Likewise.
7612 * libm/math/w_cosh.c (cosh): Likewise.
7613 * libm/math/wf_atanh.c (atanhf): Likewise.
7614 * libm/math/w_atanh.c (atanh): Likewise.
7615 * libm/math/wf_atan2.c (atan2f): Likewise.
7616 * libm/math/w_atan2.c (atan2): Likewise.
7617 * libm/math/wf_asin.c (asinf): Likewise.
7618 * libm/math/w_asin.c (asin): Likewise.
7619 * libm/math/wf_acosh.c (acoshf): Likewise.
7620 * libm/math/w_acosh.c (acosh): Likewise.
7621 * libm/math/wf_acos.c (asocf): Likewise.
7622 * libm/math/w_acos.c (acos): Likewise.
7623 * libm/math/wf_sqrt.c (sqrtf): Likewise.
7624 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
7625 for embedded systems.
7626
7627Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
7628
7629 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
7630 Lea in case of a foreign sbrk.
7631
7632Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
7633
7634 Incorporate Doug Lea's malloc:
7635 * libc/stdlib/mallocr.c: Completely replaced.
7636 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
7637 (realloc): Remove.
7638 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
7639 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
7640 mallopt.
7641 (mallinfo, malloc_stats, mallopt): New functions.
7642 (_mstats_r): Just call _malloc_stats_r.
7643 * libc/stdlib/malign.c: New file.
7644 * libc/stdlib/mlock.c: New file.
7645 * libc/stdlib/msize.c: New file.
7646 * libc/stdlib/mtrim.c: New file.
7647 * libc/stdlib/realloc.c: New file.
7648 * libc/stdlib/valloc.c: New file.
7649 * libc/stdlib/malloc.h: Remove.
7650 * libc/stdlib/callocr.c: Remove.
7651 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
7652 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
7653 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
7654 reallocr.o, valloc.o, vallocr.o.
7655 (CHEWOUT_FILES): Add mlock.def, mstats.def.
7656 (MALLOC_CFLAGS): New variable.
7657 (mallocr.o): New target, build from mallocr.c.
7658 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
7659 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
7660 (msizer.o, malloptr.o): Likewise.
7661 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
7662 (valloc.o): New target.
7663 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
7664 * libc/include/malloc.h: Declare struct mallinfo, and new
7665 routines.
7666 * libc/include/stdlib.h (cfree): Correct declaration.
7667
7668Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
7669
7670 * libc/include/machine/setjmp.h: Add support for Thumb target.
7671
7672 * libc/include/machine/ieeefp.h: Add support for Thumb target.
7673
7674 * configure.in (links): Add support for Thumb target.
7675
7676Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
7677
7678 * libc/sys/arm/setjmp.S: Updated with version from branch.
7679
7680Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
7681
7682 * libc/include/stdio.h: add POSIX-required define L_ctermid
7683 for ctermid
7684
7685Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
7686
7687 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
7688 addition to MISSING_SYSCALL_NAMES.
7689
7690Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7691
7692 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
7693
7694Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
7695
7696 * libc/include/string.h: change strsignal proto to return
7697 a char *. This eliminates compile problems in gdb resulting
7698 from gdb's definition of strsignal in defs.h.
7699
7700Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
7701
7702 * libc/sys/cygwin32/sys/utime.h: new (moved here from
7703 winsup/include) so as not to conflict with the one in
7704 libc/include.
7705 * libc/include/string.h: add protos for strsignal, strtosigno
7706
7707Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
7708
7709 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
7710
7711 * configure.in (d30v-*-*): Add configuration.
7712
7713Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
7714
7715 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
7716 to select which kind of debug monitor is in use for an ARM target.
7717
7718 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
7719 Angel and Demon debug monitors. Part of this code was supplied by
7720 Tony Thompson at ARM: athompso@arm.com.
7721
7722Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
7723
7724 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
7725 semantics when the count is greater than the length of the second
7726 source string.
7727
7728Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
7729
7730 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
7731 * libc/include/sys/unistd.h: add protos for usleep, truncate,
7732 truncate and ftruncate take off_t, not size_t
7733
7734Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
7735
7736 * libc/string/strcat.c (strcat): Add missing comment end.
7737 * libc/string/strncat.c (strncat): Likewise.
7738
7739Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
7740
7741 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
7742 targets.
7743 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
7744 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
7745 defined.
7746 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
7747 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
7748 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
7749
7750Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
7751
7752 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
7753 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
7754
7755Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
7756
7757 * libc/machine/i386/setjmp.S: New file.
7758 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
7759 (OFILES): Add setjmp.o.
7760 (setjmp.o): Add rule for.
7761 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
7762
7763Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
7764 Jeffrey A Law (law@cygnus.com)
7765
7766 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
7767 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
7768 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
7769 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
7770
7771Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
7772
7773 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
7774 rules.
7775
7776 * libc/include/sys/config.h: Use __v850 to select v850
7777 endianness.
7778
7779 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
7780 buffer size.
7781
7782 * libc/include/machine/ieeefp.h: Use __v850 to select v850
7783 endianness.
7784
7785Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
7786
7787 * libc/stdlib/setenv.c: change unsetenv definition to match
7788 style of setenv (with _DEFUN). The string should be a const.
7789 * libc/include/stdlib.h: unsetenv proto should return void.
7790
7791Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
7792
7793 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
7794
7795Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
7796
7797 * libc/stdio/glue.h: remove.
7798 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
7799 * libc/stdio/Makefile.in: remove glue.h dependencies
7800
7801Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
7802
7803 * libc/sys/sysnecv850/crt0.S: Created V850e version.
7804
7805Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
7806
7807 * configure.in (target_cpu): Add `arc'.
7808
7809Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
7810
7811 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
7812 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
7813 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
7814 * newlib/libc/reent/reent.c: Add _wrapup_reent.
7815 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
7816
7817Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
7818
7819 * libc/machine/mips/setjmp.S: Handle mips16 builds.
7820
7821Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
7822
7823 * libc/include/stdio.h (siprintf): Declare.
7824
7825Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
7826
7827 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
7828 TARGET_CFLAGS and NEWLIB_FLAGS.
7829
7830Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
7831
7832 * configure.in (links): Add support for v850ea target.
7833
7834Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
7835
7836 * configure.in (links): Add support for v850e target.
7837
7838Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
7839
7840 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
7841
7842Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
7843
7844 * configure.in (arc-*-*): Add support for.
7845 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
7846
7847Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7848
7849 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
7850
7851Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
7852
7853 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
7854 comparison which accesses invalid memory when the key is
7855 larger than the last member of the array.
7856 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
7857 for CYGWIN32
7858 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
7859
7860Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
7861
7862 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
7863 not _STRICT_ANSI.
7864
7865Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
7866
7867 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
7868 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
7869
7870Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
7871
7872 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
7873 to load/store memory.
7874
7875Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
7876
7877 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
7878 underscores if _WIN32.
7879
7880Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
7881
7882 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
7883 support ifdef _USE_WRITE missed in last change.
7884 From Anders Blomdell <anders.blomdell@control.lth.se>.
7885
7886Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
7887
7888 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
7889 (_tmpnam_r, _tempnam_r): Update.
7890
7891Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
7892
7893 * libc/machine/sparc/setjmp.S: New file.
7894 * libc/machine/sparc/Makefile.in: Add setjmp.
7895 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
7896
7897Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
7898
7899 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
7900
7901Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
7902
7903 From Joel Sherrill <joel@oarcorp.com>.
7904 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
7905
7906 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
7907 * configure.in: Recognize *-*-rtems*.
7908 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
7909 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
7910 time.h,times.h,types.h}: New files.
7911 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
7912
7913Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
7914
7915 patch from sos@prospect.com.ru (Sergey Okhapkin):
7916 * include/sys/wait.h: correct operator precidence bug
7917 in WIFSIGNALED
7918
7919Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
7920
7921 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
7922 with newlib's unsetenv function
7923 * libc/sys/cygwin32/sys: new directory for includes
7924 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
7925 here from winsup/include/sys
7926
7927Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
7928
7929 * libc/include/sys/unistd.h: _exit should only be
7930 labelled noreturn when not __CYGWIN32__
7931 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
7932 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
7933 increment NSIG
7934
7935Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
7936
7937 * libc/include/sys/time.h: Only define timeval and timezone if
7938 _GNU_H_WINDOWS32_SOCKETS is not defined.
7939 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
7940
7941Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
7942
7943 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
7944 * libc/machine/mn10300/setjmp.S: Likewise.
7945
7946 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
7947 the mn10300 (more relaxing opportunities).
7948
7949Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
7950
7951 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
7952 Build libraries with -mstrict-align.
7953
7954Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
7955
7956 * libc/string/strlwr.c: New file.
7957 * libc/string/strupr.c: New file.
7958 * libc/include/string.h: Declare strlwr and strupr.
7959 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
7960 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
7961 (strlwr.o, strupr.o): New targets.
7962 * libc/string/strings.tex: Include strlwr and strupr docs.
7963
7964 * libc/include/sys/types.h: Don't define u_char, et. al., if
7965 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
7966 et. al. Make FD_SETSIZE default 64 rather than 60. Define
7967 _types_fd_set rather than fd_set, and define fd_set as a macro.
7968
7969 * libc/include/malloc.h: New file.
7970
7971 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
7972 strnicmp if they are not already defined.
7973
7974 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
7975 _timezone, _daylight, and _tzname.
7976
7977Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
7978
7979 * configure.in: Sort all configuration tables.
7980
7981 From Joel Sherrill <joel@oarcorp.com>
7982 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
7983
7984Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
7985
7986 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
7987 use int when declaring kill.
7988
7989 * libc/include/sys/timeb.h: New file.
7990
7991Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
7992
7993 * libc/include/sys/time.h: add itimer support for Cygwin32
7994
7995Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
7996
7997 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
7998 out a message that abort was called to stderr.
7999
8000Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
8001
8002 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
8003 so that libio doesn't freak.
8004
8005 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
8006 int.
8007
8008 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
8009 memory sizes, not int.
8010
8011Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
8012
8013 * libm/math/ef_hypot.c: Use long constants where
8014 appropriate.
8015 * libm/math/ef_sqrt.c: Ditto.
8016
8017 * libc/sys/sysmec/times.c(_times): Change to times.
8018
8019 * libc/sys/sysmec/read.c(_read): The third argument is
8020 size_t.
8021 * libc/sys/sysmec/write.c (_write): Ditto.
8022
8023 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
8024 (_lseek): It's off_t for the second argument.
8025
8026Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
8027
8028 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
8029 as well as machine/ieeefp.h.
8030
8031Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
8032
8033 * libc/include/sys/signal.h: add signal protos for winsup
8034 functions (when __CYGWIN32__), include types.h
8035 * libc/include/sys/types.h: Change __go32_types__ internal
8036 define to __MS_types__ since it's used for more than just
8037 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
8038 defined.
8039 * libc/include/sys/unistd.h: add ftruncate proto for
8040 winsup functions (when __CYGWIN32__)
8041
8042Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
8043
8044 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
8045
8046Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
8047
8048 * libc/include/machine/setjmp.h: Add tic80 support.
8049 * libc/machine/tic80/setjmp.S: Likewise.
8050
8051Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
8052
8053 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
8054 link programs from libraries only (such as in the X11
8055 distribution)
8056
8057Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
8058
8059 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
8060 supplied elsewhere in newlib.
8061
8062Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
8063
8064 * Makefile.in (INSTALL): Change install.sh to install-sh.
8065
8066Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
8067
8068 * README: update WWW address for on-line documentation.
8069
8070Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
8071
8072 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
8073 increment NSIG
8074
8075Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
8076
8077 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
8078 mn10300.
8079 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
8080
8081Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
8082
8083 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
8084 * libc/sys/d10v/syscalls.c: Likewise.
8085 * libc/sys/h8300hms/sbrk.c: Likewise.
8086 * libc/sys/h8500hms/syscalls.c: Likewise.
8087 * libc/sys/m88kbug/syscalls.c: Likewise.
8088 * libc/sys/sh/syscalls.c: Likewise.
8089 * libc/sys/sysmec/sbrk.c: Likewise.
8090 * libc/sys/sysnecv850/sbrk.c: Likewise.
8091 * libc/sys/w65/syscalls.c: Likewise.
8092 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
8093
8094Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
8095
8096 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
8097 emulated syscall instead of "trap".
8098
8099Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
8100
8101 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
8102 not trap 0.
8103
8104Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
8105
8106 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
8107
8108Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
8109
8110 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
8111 not "sh".
8112 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
8113 not "d10v".
8114 * libc/sys/tic80/crt0.c: New file for TIc80.
8115 * libc/sys/tic80/Makefile.in: New file for TIc80.
8116 * libc/machine/tic80/Makefile.in: New file for TIc80.
8117
8118Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
8119
8120 * libc/machine/sh/memcpy.S: New file.
8121 * libc/machine/sh/memset.S: New file.
8122 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
8123
8124Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
8125
8126 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
8127 for TIc80.
8128
8129Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
8130
8131 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
8132 the mn10200.
8133
8134Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
8135
8136 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
8137 (patch from andrew@pogo.WV.TEK.COM).
8138
8139Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
8140
8141 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
8142 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
8143
8144Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
8145
8146 * configure.in: Add cases for "tic80" to set machine_dir,
8147 sys_dir, and syscall_dir.
8148
8149Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
8150
8151 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
8152
8153Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
8154
8155 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
8156
8157Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
8158
8159 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
8160 Use proper constant prefix.
8161
8162Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
8163
8164 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
8165 that loses on the mn10200 where ints and pointers are different
8166 sizes.
8167
8168Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
8169
8170 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
8171 target as signal is provided in winsup.
8172
8173Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
8174
8175 * libc/include/sys/process.h: Corrected const definitions
8176 in spawn functions. Added cwait.
8177
8178Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
8179
8180 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
8181 doubles.
8182 * libc/include/sys/config.h: Similarly.
8183
8184Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8185
8186 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
8187 target_cflags.
8188 (i[3456]86-*-sco*): Ditto.
8189
8190 * libc/signal/Makefile.in (OFILES): Add signal.o.
8191 (CFILES): Add signal.c.
8192
8193 * libc/signal/raise.c (_raise_r): Only compile code if
8194 SIGNAL_PROVIDED is defined.
8195
8196 * libc/signal/signal.c: Redo whole file so that it works with
8197 current newlib. Use _kill_r if no signal handler provided.
8198
8199 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
8200 signal stubs.
8201 * libc/sys/sysvnecv70/Makefile.in: Ditto.
8202 * libc/sys/sysnecv850/Makefile.in: Ditto.
8203
8204 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
8205 * libc/sys/sysmec/{raise,signal}.c: Ditto.
8206 * libc/sys/sysvnecv70/signal.s: Ditto.
8207 * libc/sys/sysnecv850/raise.c: Ditto.
8208
8209 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
8210 simulator and debugger can tell the difference between a signal
8211 being raised and an exit system call.
8212
8213 * NEWS: Document software signals being provided.
8214
8215Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8216
8217 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
8218 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
8219 include/sys/config.h.
8220 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
8221 Change from 'inpure_data'.
8222 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
8223 &impure_data, not &inpure_data.
8224
8225 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
8226 and and System V ABI, define so that _impure_ptr lives in the
8227 .sdata section.
8228
8229Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8230
8231 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
8232 nothing if not defined.
8233 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
8234 its attributes.
8235
8236 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8237
8238Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
8239
8240 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
8241 * libc/sys/sysmec/trap.s: Handle mn10200 too.
8242 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
8243
8244Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
8245
8246 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
8247
8248Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
8249
8250 * libc/include/sys/errno.h: Added net errno's.
8251
8252Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8253
8254 * libc/misc/ffs.c: New file to support ffs function for GCC test
8255 gcc.c-torture/execute/960909-1.c.
8256
8257 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
8258
8259Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
8260
8261 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
8262 * libc/sys/sysmec/trap.S: Likewise.
8263
8264Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
8265
8266 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
8267 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
8268
8269Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
8270
8271 * libc/sys/sysmec/signal.c: Dummy file.
8272 * libc/sys/sysmec/Makefile.in: Build it.
8273
8274Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
8275
8276 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
8277 mips16.
8278
8279Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
8280
8281 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
8282 c-startup and simulator traps.
8283
8284
8285 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
8286 * libc/sys/sysmec/trap0.S: Likewise.
8287
8288Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8289
8290 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
8291 round to double word alignment.
8292 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
8293 byte alignment.
8294
8295 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
8296
8297 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
8298 out of memory.
8299
8300Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
8301
8302 * configure.in: Handle mn10200 and mn10300.
8303 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
8304 * libc/include/sys/config.h: Likewise.
8305 * libc/sys/sysmec: New directory for mec stuff.
8306 * libc/machine/mn10300: New directory for mn10300 stuff.
8307 * libc/machine/mn10200: Similarly for mn10200 stuff.
8308
8309Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
8310
8311 * libc/sys/arm/crt0.S: Use .text, not .section .text.
8312 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
8313
8314 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
8315 (nlink_t): Change type from unsigned int to unsigned short.
8316 (mode_t): Ensure size is 32 bits even if int is 16.
8317 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
8318 (st_spare[123]): Change type from int to long.
8319
8320Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8321
8322 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
8323 byte boundary.
8324
8325 * configure.in (d10v*): Define SMALL_MEMORY.
8326
8327Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8328
8329 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
8330 -mrelocatable-lib and -mno-eabi flags.
8331
8332Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
8333
8334 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
8335 Fix handling of mis-aligned source operand when both the
8336 destination & length are properly aligned.
8337
8338Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
8339
8340 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
8341 times.o, time.o and gettime.o
8342 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
8343 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
8344 SYS_gettimeofday.
8345
8346Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
8347
8348 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
8349 * libc/sys/sysnecv850/access.c: New file.
8350
8351Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
8352
8353 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
8354
8355 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
8356 long.
8357
8358Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
8359
8360 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
8361
8362Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
8363
8364 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
8365 * libc/include/sys/config.h: Add m32r support.
8366
8367Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
8368
8369 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
8370 here.
8371
8372Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
8373
8374 * libc/include/machine/setjmp.h: Add D10v support.
8375
8376Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
8377
8378 * configure.in: Configure the "libc/syscalls" directory for
8379 the v850.
8380
8381 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
8382 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
8383 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
8384 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
8385 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
8386
8387Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
8388
8389 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
8390 stack for args for main and other routines. Zero out args for
8391 main.
8392
8393 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
8394 correctly.
8395
8396Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8397
8398 * libc/stdio/findfp.c (std): Remove extraneous ';' after
8399 function.
8400
8401 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
8402
8403 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
8404 real system calls now.
8405
8406 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
8407 before casting them to int.
8408 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
8409
8410 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
8411 aligning pointer.
8412 * libc/string/memset.c (memset): Ditto.
8413
8414 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
8415 first convert ints to _POINTER_INT to eliminate GCC warning.
8416
8417 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
8418 processing %p.
8419
8420 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
8421 from 65000 if ints are only 16 bits.
8422
8423 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
8424 from 50000 if ints are only 16 bits.
8425
8426 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
8427 int type that is the same size as a pointer.
8428
8429 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
8430 processing %p.
8431 (get_number): Explicitly cast number to long before shifting by 16
8432 or 24, in case ints are short.
8433
8434 * libc/include/sys/config.h (_POINTER_INT): Define as short.
8435
8436Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
8437
8438 * libc/string.h: Added ffs, removed swab.
8439 * libc/sys/errno.h: Added EOPNOTSUPP.
8440 * libc/sys/unistd.h: Added swab.
8441
8442Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
8443
8444 * libc/include/sys/stat.h: Added fchmod.
8445 * libc/include/sys/unistd.h: Added fsync.
8446
8447Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
8448
8449 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
8450 and ECONNRESET (104) for cygwin32.
8451
8452Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
8453
8454 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
8455 do the static destructors.
8456
8457Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
8458
8459 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
8460
8461Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
8462
8463 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
8464 * configure.in: Recognize m32r-*-*.
8465
8466Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
8467
8468 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
8469 __rt_stkovf_split_small): Added default software stack overflow
8470 handlers, which just call SWI_Exit.
8471 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
8472 limit initialisation.
8473
8474Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
8475
8476 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
8477
8478Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
8479
8480 * libc/include/sys/types.h: Added ssize_t definition.
8481
8482Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8483
8484 * libc/machine/d10v/setjmp.S: Use ';' for comments.
8485 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
8486
8487 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
8488 branch around a single ldi instruction.
8489
8490 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
8491 Call exit, instead of just issuing a stop instruction.
8492
8493Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8494
8495 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
8496
8497Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8498
8499 * libc/stdlib/mprec.h: Explicitly declare all large constants as
8500 longs, and then cast them to __uint32_t.
8501
8502 * libc/include/sys/config.h: Protect against multiple inclusions.
8503
8504Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
8505
8506 * configure.in (d10v*): Set syscall_dir.
8507
8508Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
8509
8510 * libc/sys/d10v/crt0.S: Set stack pointer.
8511
8512Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
8513
8514 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
8515 in assembly for efficiency. Change calling convention to allow
8516 long ints to be returned.
8517
8518Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8519
8520 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
8521
8522Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
8523
8524 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
8525 Handle empty entries in $PATH.
8526
8527Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
8528
8529 * libc/machine/d10v/setjmp.S: Make it really work.
8530
8531Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
8532
8533 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
8534 the .stack section.
8535
8536Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
8537
8538 * sys/sysnecv850/sys/file.h: Remove.
8539 * sys/sysnecv850/sys/syscall.h: New file.
8540 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
8541 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
8542 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
8543 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
8544 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
8545 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
8546 * sys/sysnec850/trap.S: New file.
8547 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
8548 syscalls.
8549 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
8550 * sys/sysnec850/sbrk.c: New version.
8551
8552Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
8553
8554 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
8555 as long as r6 is less than r7.
8556
8557Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
8558
8559 * Makefile.in (mostlyclean): Separate from clean target. Don't
8560 remove *.a or targ-include.
8561 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
8562
8563Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8564
8565 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
8566 d10v.
8567 (__SMALL_BITFIELDS): Ditto.
8568
8569 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
8570
8571Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
8572
8573 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
8574 prefix.
8575
8576 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
8577 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
8578 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
8579 * libc/sys/sysnecv850/write.c (write): Likewise.
8580
8581 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
8582 .bss.
8583
8584Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8585
8586 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
8587 appropriately for D10V, depending on -mint16/-mint32.
8588
8589Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
8590
8591 * configure.in: Add cases for D10V.
8592
8593Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8594
8595 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
8596
8597Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
8598
8599 * libc/include/machine/ieeefp.h: Fix typo.
8600
8601Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
8602
8603 * libc/sys/d10v: New directory for D10V stuff.
8604 * libc/include/machine/ieeefp.h: Add D10V defines.
8605
8606Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
8607
8608 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
8609 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
8610 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
8611 * libc/string/strerror.c (strerror): Add them.
8612
8613Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
8614
8615 * libc/sys/sysnecv850: New directory for v850 stuff.
8616
8617 * libc/machine/v850: New directory for v850 stuff.
8618 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
8619
8620 * configure.in: Add support for the v850.
8621
8622 * libc/include/machine/ieeefp.h: Add v850 defines.
8623 * libc/include/machine/setjmp.h: Likewise.
8624 * libc/include/sys/config.h: Add v850 defines.
8625
8626Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
8627
8628 * libc/include/machine/ieeefp.h
8629 * libc/include/machine/setjmp.h
8630 * libc/include/sys/fcntl.h
8631 * libc/include/sys/signal.h
8632 * libc/include/sys/types.h
8633 * libc/stdlib/system.c:
8634 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
8635 API availability, __CYGWIN32__ for cygwin32 environment specific).
8636
8637Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
8638
8639 * libc/include/stdlib.h: add multibyte character functions. Add
8640 __eprintf for assert.
8641
8642Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8643
8644 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
8645 arithmetic or __alignof__ to properly get the alignment, instead
8646 of hardwiring it to 4.
8647
8648Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
8649
8650 * libc/stdio/fseek.c: add fflush call to adjust seek offset
8651 on append stream (fix from NetBSD sources), adjust curoff offset
8652 for ungetc's benefit.
8653 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
8654 * libc/stdio/rewind.c: replace code with up to date NetBSD
8655 code to undo hacks made to work around above problem of not
8656 having fflush call mentioned above
8657
8658Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8659
8660 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
8661 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
8662 Partially revert last changes. The thread specific errno is set
8663 iff if the underlying syscall fails and the global errno is not
8664 zero.
8665
8666Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8667
8668 * libc/reent/filer.c: Removed files, all functions have split out
8669 into their own files.
8670 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8671 New files containing functions formally in filer.c
8672 * libc/reent/Makefile.in: Updated for above change.
8673
8674 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
8675 syscall fails, not if errno is changed.
8676 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8677 _write_r): Likewise.
8678 * libc/reent/fstatr.c (_fstat_r): Likewise.
8679 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
8680 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
8681 * libc/reent/signalr.c (_kill_r): Likewise.
8682 * libc/reent/statr.c (_stat_r): Likewise.
8683 * libc/reent/timer.c (_gettimeofday_r): Likewise.
8684
8685 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
8686 signalr.c, statr.c, timer.c} (errno): declare extern rather
8687 than as a common.
8688
8689 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
8690 instead of calling vfprintf so that i*printf will not require
8691 floating point support code.
8692
8693Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
8694
8695 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
8696 path delimiter.
8697 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
8698 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
8699
8700Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
8701
8702 * libc/include/signal.h: _sig_func_ptr function takes an int
8703 * libc/include/sys/signal.h: sa_handler function takes an int
8704
8705Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
8706
8707 * libc/include/machine/ieeefp.h: Simplify H8/S support.
8708 * libc/include/sys/config.h: Add missing H8/S conditional.
8709
8710Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
8711
8712 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
8713
8714Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
8715
8716 * libc/include/machine/setjmp.h: Handle H8/S.
8717 * libc/include/machine/ieeefp.h: Likewise.
8718 * libc/include/sys/config.h: Likewise.
8719 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
8720 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
8721 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
8722 * libc/sys/h8300hms/crt0.S: Likewise.
8723
8724Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8725
8726 * Makefile.in (datadir): Set to $(prefix)/share.
8727 (oldincludedir, docdir): Removed.
8728 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8729 (oldincludedir, docdir): Removed.
8730 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8731 (oldincludedir, docdir): Removed.
8732 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8733 (oldincludedir, docdir): Removed.
8734
8735Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
8736
8737 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
8738 _reent struct.
8739
8740Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
8741
8742 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
8743 fetch current path rules with sysconf and handler posix/win32
8744 appropriately.
8745
8746 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
8747
8748 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
8749 (WAIT_CHILD): Always define.
8750
8751Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
8752
8753 * libc/stdlib/eprintf.c: New file.
8754 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
8755 (eprintf.o): New target.
8756
8757Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
8758
8759 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
8760 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
8761
8762Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
8763
8764 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
8765 NT in PowerPC endianess cases.
8766
8767Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8768
8769 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
8770
8771Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8772
8773 * libc/string/strtok.c: Fix doc typo.
8774
8775Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8776
8777 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
8778 _next, _scanpoint, _signgam fields.
8779
8780 * libc/include/stdlib.h (rand_r): Added new declaration.
8781 (_rand_r, _srand_r): Removed declarations.
8782 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
8783 have been made obsolete by rand_r.
8784 * libc/stdlib/rand_r.c: New file, rand_r function as specified
8785 by POSIX.1c.
8786
8787 * libc/string/strtok.c: Update documentation to describe
8788 strtok_r().
8789
8790Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
8791
8792 * libc/include/sys/stat.h (stat structure): Use the expanded stat
8793 structure on Solaris, and PowerPC systems even though __svr4__ is
8794 defined.
8795
8796Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
8797
8798 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
8799
8800Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
8801
8802 * host/any: Use ../.. rather than .. to get to the main build
8803 directory. This matches the current layout of the build
8804 directory.
8805
8806Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
8807
8808 * libc/machine/h8300/__main.S: Delete. No longer needed.
8809 * libc/machine/h8300/Makefile.in: Corresponding changes.
8810 * libc/sys/h8300hms/crt1.c: New file.
8811 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
8812 * libc/sys/h8300hms/crt0.s: Call __main.
8813
8814 * libc/sys/h8300hms/crt0.S: Use temporary label names
8815 for branch targets.
8816
8817Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
8818
8819 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
8820
8821Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8822
8823 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
8824 .sdata on the PowerPC so that we can link newlib with code
8825 compiled with -msdata.
8826
8827Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
8828
8829 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
8830
8831Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
8832
8833 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
8834 exception handler to __cygwin_exception_handler.
8835
8836Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
8837
8838 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
8839
8840Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
8841
8842 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
8843 SunOS VPATH.
8844 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
8845 wcstombs.o): Likewise.
8846
8847Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
8848
8849 * libc/stdlib/environ.c (initial_env): New static local.
8850 (environ): Point to `initial_env'.
8851
8852 * libc/include/machine/setjmp.h: Clean up.
8853 (__H8300H__,__PPC__): Define _JBTYPE.
8854 (__arm__): Provide entry for.
8855 (sigjmp_buf): Delete.
8856 (jmp_buf): Use _JBTYPE if defined, otherwise int.
8857
8858Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
8859
8860 * libc/machine/h8300/strcmp.S: Sign extend the result to
8861 32bits so we don't lose with -mint32.
8862
8863Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
8864
8865 * libc/sys/go32/sys/errno.h: New file.
8866 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
8867 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
8868 errno's address (make compatible with rest of newlib).
8869 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
8870 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
8871
8872Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
8873
8874 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
8875 * libc/machine/sparc/Makefile.in: Build them.
8876 * libc/machine/sparc/machine/sparclet.h: New file.
8877
8878Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8879
8880 * libc/machine/sh/asm.h: New file.
8881 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
8882 support for SH3e's FP registers. Use asm.h.
8883
8884Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
8885
8886 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
8887 as first argument. Call _dtoa_r and pass the reent structure
8888 instead of calling __dtoa.
8889
8890Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
8891
8892 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
8893 the h8300, h8500, and others. Add comments for some rather
8894 dubious code.
8895
8896Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
8897
8898 * Makefile.in (check): Check that testsuite exists before cd.
8899
8900Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8901
8902 * libc/include/string.h (strsep): Correct prototype.
8903
8904Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
8905
8906 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
8907 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
8908 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
8909
8910Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
8911
8912 * libc/posix/{creat.c,isatty.c}: New files.
8913 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
8914
8915 * libc/sys/sparc64/crt0.S (environ): Delete.
8916 (.LHaveBias): Renamed from HaveBias.
8917
8918Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
8919
8920 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
8921 (_morecore_r): Delete SBRK_IS_ALLOC support.
8922
8923Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8924
8925 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
8926 module rather than touch, so we don't get warning messages when
8927 all of the libraries are combined into libc.a.
8928
8929Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
8930
8931 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
8932 crt0.s replaced by version in libgloss.
8933
8934Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8935
8936 * libc/reent/Makefile.in (OFILES): Add impure.o.
8937 * libc/reent/impure.o: New file, define initial reentrancy struct.
8938 * libc/reent/reent.c: Remove above definition.
8939
8940 * libm/math/sf_asinh.c: Fix typo.
8941
8942 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
8943 srf_ldexp.o.
8944
8945 * libm/libm.texinfo: Change documentation to reflect changes
8946 in reentrancy model.
8947 * libm/math/w_gamma.c: Likewise.
8948
8949Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
8950
8951 * configure.in (*-*-cygwin32): New.
8952 (*-*-win32): Deleted.
8953 * libc/sys/win32 renamed libc/sys/cygwin32.
8954
8955Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8956
8957 * libc/include/sys/file.h: New include file.
8958
8959Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
8960
8961 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
8962
8963Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
8964
8965 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
8966
8967Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8968
8969 * doc/makedoc.c (realloc): Declare at file scope.
8970 (catchar): Not here.
8971
8972Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
8973
8974 * Makefile.in (VERSION): Update to 1.7.0.
8975 * {libc,libm}/Makefile.in (VERSION): Likewise.
8976 * configure.in: Minor clean up of multilib stuff.
8977
8978 From David Johnson <davidj@ICSI.Berkeley.EDU>
8979 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
8980
8981 * libc/stdlib/environ.c: New file.
8982 * libc/stdlib/Makefile.in (OFILES): Build it.
8983 * libc/sys/h8500hms/crt0.c (environ): Deleted.
8984 * libc/sys/m88kbug/crt0.c (environ): Deleted.
8985 * libc/sys/z8ksim/crt0.c (environ): Deleted.
8986 * libc/sys/netware/environ.c: Deleted.
8987
8988Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
8989
8990 * configure.in (links): set sys_dir, posix_dir, syscall_dir
8991
8992Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
8993
8994 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
8995 declaration out to external scope and declare it PTR, not char *.
8996
8997Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
8998
8999 * libc/include/sys/unistd.h (getpagesize): New declaration.
9000 (_SC_PAGESIZE): New definition.
9001 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
9002 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
9003
9004Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
9005
9006 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
9007 addressing. System call returns size, not (last address + 1).
9008
9009Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9010
9011 * libm/math/*.c: Removed _foo_r() reentrancy API.
9012 * libc/include/math.h: Removed _foo_r prototypes and macros.
9013
9014 * libm/math/*.c: On systems with IEEE single precision "doubles"
9015 move foo() -> foof() wrapper code from the files that implement
9016 the standard IEEE double precision functions to the files that
9017 implement IEEE single precision functions. (ie. On those systems
9018 sin is moved from s_sin.c to sf_sin.c). There should eventually
9019 be use of a C extension (like gcc's alias attribute) so that the
9020 wrappers are not needed at all.
9021
9022 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
9023 strict NEC V810 compiler.
9024 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
9025 for same reason.
9026
9027Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9028
9029 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
9030 from NetBSD C library.
9031 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
9032
9033 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
9034 and adapted from implementation I wrote for NetBSD C library.
9035 The difference is __assert doesn't take a format argument,
9036 so that there won't be multiple copies of the same string
9037 constant in the executable if assertions are enabled in
9038 more than one source module.
9039 * libc/include/assert.h (assert): Changed to call __assert.
9040
9041Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9042
9043 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
9044 word1 on systems with 32 bit doubles.
9045 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
9046 so that we can do arithmetic on them.
9047 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
9048 compilers.
9049
9050Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
9051
9052 * libc/sys/arm/crt0.S: Zero bss.
9053
9054Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
9055
9056 * libc/include/unctrl.h: New file.
9057 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
9058 * configure.in (subdirs): Add libc/misc.
9059 * libc/Makefile.in (SUBDIRS): Add misc.
9060 (SUBLIBS): Add misc/lib.a.
9061
9062 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
9063
9064Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
9065
9066 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
9067 (_vfprintf_r): Call CHECK_INIT.
9068
9069Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
9070
9071 * Makefile.in (MULTITOP): Delete.
9072 (MULTISRCTOP, MULTIBUILDTOP): Add.
9073 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
9074 instead of cfg-ml-pos.in.
9075
9076Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9077
9078 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
9079 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
9080 presence.
9081
9082Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9083
9084 * libc/string/strtok.c: Include string.h to pick up strtok_r
9085 prototype.
9086
9087Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9088
9089 * libc/string/strtok.c: include <_ansi.h>.
9090 * libc/time/asctime_r.c: `reresult' -> `result'.
9091
9092Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9093
9094 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
9095 in #ifndef _REENT_ONLY ... #endif conditional.
9096
9097 * libc/include/string.h (_strtok_r): Remove declaration.
9098 * libc/include/time.h (_asctime_r): Remove declaration.
9099 * libc/string/strtok.c (_strtok_r): Removed.
9100 * libc/time/asctime.c (_asctime_r): Removed.
9101
9102 * libc/string/Makefile.in (OFILES): Add new object.
9103 * libc/string/strtok_r.c: New file. strtok_r function as
9104 specified by POSIX.1c, adapted from strtok implementation
9105 from NetBSD C library.
9106 * libc/string/strtok.c (strtok): Reimplemented in terms of
9107 strtok_r.
9108
9109 * libc/time/Makefile.in (OFILES): Add new objects.
9110 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
9111 New files, reentrant time functions specified by POSIX.1c.
9112 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
9113 reentrant time functions re-written in terms of reentrant
9114 functions.
9115 * libc/time/lcltime.c: Renamed from localtime.c
9116
9117 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
9118 gmtime_r, and localtime_r.
9119
9120Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
9121
9122 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
9123 * libc/include/sys/unistd.h (getlogin): Revert change of
9124 Oct 19.
9125 * libc/include/sys/signal.h (sigprocmask): Change prototype
9126 so it compiles with c++.
9127
9128Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
9129
9130 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
9131 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
9132 to give some room in case we need to align the jmp_buf.
9133
9134 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
9135 the new ppc-asm.h include file the compiler provides to specify
9136 function prologue/epilogue. Eliminate saves of the xer and ctr
9137 registers, which are volatile. Before starting to save registers,
9138 align to 8 byte boundary.
9139
9140Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9141
9142 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
9143 referenced by standard libraries.
9144
9145Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
9146
9147 * libc/unix/Makefile.in, libc/string/Makefile.in,
9148 libc/stdio/Makefile.in, libc/reent/Makefile.in,
9149 libc/posix/Makefile.in:
9150 Remove tabs from otherwise empty line. Confuses some
9151 older non-GNU versions of "make".
9152
9153Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
9154
9155 * libc/sys/unistd.h (getlogin): Returns const char *.
9156
9157Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
9158
9159 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
9160 * libc/include/errno.h: Moved into and include...
9161 * libc/include/sys/errno.h: New file.
9162 * libc/include/sys/wait.h: New file.
9163 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
9164 * libc/sys/win32/*: Moved out.
9165 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
9166 * configure.in (i[345]86-*-win32): HAVE_RENAME
9167
9168Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9169
9170 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
9171 avoid macro expansion for these two names.
9172
9173Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
9174
9175 * libc/machine/h8500/psi.S: r6 renamed to fp.
9176
9177Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9178
9179 * configure.in (powerpc*): No longer need to define
9180 NO_LONGLONG_POINTERS to supress warnings.
9181
9182Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9183
9184 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
9185 through PTR instead of directly.
9186
9187 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
9188 non-standard constructor support.
9189
9190Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9191
9192 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
9193 address of the Bigint instead of the address of its _x field,
9194 as the size the result buffer was calculated accordingly.
9195 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
9196
9197 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
9198 from NetBSD C library. No longer special cases division by
9199 zero (which needs to be done by the application anyway), but
9200 it doesn't need to call abs() (or labs()) four times either.
9201
9202 * libc/stdlib/qsort.c: Replaced with implementation from
9203 NetBSD C library.
9204
9205Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9206
9207 * libc/stdio/vfprintf.c: Replaced with implementation from
9208 NetBSD C library (which is derived from the 4.4BSD C library).
9209 * libc/stdio/cvt.c: Removed.
9210 * libc/stdio/Makefile: Updated.
9211
9212Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
9213
9214 * libc/sys/win32/syscalls.c (rename): New.
9215 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
9216
9217Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9218
9219 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
9220 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
9221
9222 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
9223 (setjmp.o): Delete rule to build setjmp.o.
9224 * libc/sys/sh/setjmp.S: Delete file.
9225
9226Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9227
9228 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
9229 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
9230 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
9231 pow5mult and s2b to identifiers with leading underscores.
9232 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
9233 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
9234
9235Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
9236
9237 * libc/sys/posix/popen.c (sys/types.h): Include.
9238
9239Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
9240
9241 * libc/sys/win32/syscalls.h (fhandler): New struct.
9242 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
9243 (__fhandler_normal): Declare.
9244 (hinfo): New member op_handlers.
9245 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
9246 (__write): Likewise.
9247 (_read, _write, _open, _close, _lseek): Validate fd here.
9248 Move file type specific stuff to foo_normal.
9249 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
9250 New functions.
9251 (__lookup_fhandler): New function.
9252 (__lookup_fhandler_hook, __fhandler_normal): New variables.
9253
9254 From anders.blomdell@control.lth.se (Anders Blomdell)
9255 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
9256 Don't touch standard handles.
9257 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
9258 (_execve): Only create __FD_TABLE__ if necessary.
9259 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
9260
9261Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
9262
9263 * libc/sys/win32/sys/termios.h (FLUSHO): New.
9264 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
9265 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
9266 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
9267 without a handler is received.
9268 * libc/sys/win32/Makefile.in: Remove --nodelete.
9269 * libc/sys/win32/resouce.c (gettimeofday): New.
9270 * libc/sys/win32/syscalls.c (path_to_real_path): New.
9271 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
9272
9273Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
9274
9275 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
9276 Don't append "/*" to search pattern if trailing '/' already there,
9277 append "*".
9278 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
9279 like /'s, convert them to \'s. Handle //<drive>/ path names.
9280 Add space for quoted \'s in arg string. Print translated prog name
9281 and original prog name.
9282 (_execve): Handle parent doing exec a teensy bit better.
9283 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
9284 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
9285 path needs conversion, handle both cases. Delete `const' from result.
9286 (hash_path_name): New function.
9287 (_open): Call it.
9288 (_stat): Likewise. Fill in more fields for directories.
9289 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
9290 (wait_for_any): Fix trace message.
9291 (waitpid): Explicitly test for intpid == 0.
9292
9293 From anders.blomdell@control.lth.se (Anders Blomdell)
9294 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
9295 so `next' is valid.
9296
9297Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
9298
9299 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
9300 complicated.
9301
9302Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9303
9304 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
9305 at all, not just == 1.
9306 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
9307
9308Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9309
9310 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
9311 * libc/sys/win32/include/wintypes.h: include <winnt.h>
9312 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
9313 file.
9314
9315Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9316
9317 * libc/sys/syscalls.c (getcwd): Fix off by one error.
9318
9319 * libc/sys/signal.c (sleep): Fill it in.
9320 * libc/sys/termios.c (tcflush): Use PurgeComm
9321 (tcsetattr): Set some more of the bits.
9322 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
9323
9324Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
9325
9326 * libc/sys/arm/crt0.S (fp): Initialize to 0.
9327 Conditionally include .idata$3 stuff ifdef __pe__.
9328
9329Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9330
9331 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
9332 * libc/sys/win32/pipe.c (pipe): Ditto.
9333 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
9334 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
9335 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
9336 (tcgetattr): Contents are new.
9337 * libc/sys/win32/include/winkernel.h (DCB): New.
9338 (GetCommState, SetCommState): New.
9339
9340Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
9341
9342 * libc/sys/arm/crt0.S (_start): Define.
9343
9344Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
9345
9346 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
9347 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
9348
9349 * libc/sys/win32/sysconf.c: New
9350 * libc/sys/win32/sys/winadvapi.h: New
9351 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
9352 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
9353 * libc/sys/win32/pipe.c (pipe): Ditto.
9354 * libc/sys/win32/signal.c (_raise): New.
9355 (_kill): Moved from spawn.c
9356 * libc/sys/win32/spawn.c (kill): Moved to signal.c
9357 * libc/sys/win32/syscalls.c (__read): Use new fields.
9358 (_open): Ditto.
9359 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
9360 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
9361 * libc/include/sys/unistd.h (rmdir): Takes const path.
9362 * libc/include/sys/stat.h (mkdir): Takes const path.
9363 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
9364
9365Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
9366
9367 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
9368
9369 Add support for specifying paths as //<drive>/foo/bar.
9370 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
9371 (__path_to_real_path): Declare.
9372 (PATH_TO_REAL_PATH): New macro.
9373 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
9374 (__path_needs_conversion_p, __path_to_real_path): New functions.
9375 (_open): Fix test for error return from CreateFileA.
9376 Handle new path syntax.
9377 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
9378 * libc/sys/win32/dirsearch.c (opendir): Likewise.
9379
9380Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
9381
9382 * libc/sys/win32/include/*.h: Reorganized
9383 * libc/sys/win32/include/WINREADME: New.
9384 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
9385 * libc/sys/win32/*.c: Fix for new include scheme.
9386 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
9387 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
9388 * libc/sys/win32/passwd.c (*): Fix.
9389 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
9390 (_stat): Get directory owner and permissions right.
9391 * libc/sys/win32/syscalls.h (uinfo): New.
9392 * libc/sys/win32/version.def: Remove leading underscores.
9393
9394Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9395
9396 * libc/sys/win32/key.c: include "include/wincon.h".
9397
9398Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
9399
9400 * libc/sys/win32/{key, stubs}.c: New.
9401 * libc/sys/win32/Makefile: Adjust to cope.
9402 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
9403 (environ_init): Change env names to upper case.
9404 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
9405 * libc/sys/win32/passwd.c (*): Fill in the functions.
9406 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
9407 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
9408 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
9409 (_open): Initialze hmap->execable_p too.
9410 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
9411 (_fstat): Fill in permissions.
9412 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
9413
9414Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
9415
9416 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
9417 if defined.
9418 (cfg-ml-pos.in invocation): Likewise.
9419
9420Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9421
9422 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
9423 s_isnan.o and sf_isnan.o.
9424
9425Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
9426
9427 * All Makefile.in files: added maintainer-clean target as a
9428 synonym for realclean.
9429
9430Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
9431
9432 * libc/include/machine/setjmp.h: Add hppa support.
9433 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
9434 support.
9435 * libc/machine/hppa/Makefile.in: Related changes.
9436
9437Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
9438
9439 * configure.in (machine_dir): Don't set for v810-*-*.
9440
9441Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9442
9443 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
9444 conventions correctly.
9445
9446Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
9447
9448 * libc/stdio/puts.c: Update documentation of return value to match
9449 ANSI standard.
9450
9451Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
9452
9453 Fix file descriptor inheritance.
9454 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
9455 (NOT_OPEN_FD): Fix.
9456 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
9457 close-on-exec flag not set. Initialize child's entire fd table.
9458 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
9459 CHILD_P.
9460 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
9461 if CHILD_P. Initialize entire hmap entry.
9462 (dup): Only create new handle as inheritable if CHILD_P.
9463 (dup2): Likewise. Properly initialize hmap entry.
9464
9465 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
9466 _spawn.
9467 (_exit): Use CHILD_P.
9468 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
9469 (_stat): Likewise.
9470
9471Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9472
9473 * libc/sys/win32/crt0.c (passover): fix up the state table.
9474 * libc/posix/popen.c: Added.
9475 * libc/posix/Makefile.in: compile popen.c.
9476
9477Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
9478
9479 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
9480 h8/500 define _DOUBLE_IS_32BITS.
9481
9482Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
9483
9484 Get vfork/exec/spawn/cwait/wait working again.
9485 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
9486 (procinfo): New member vfork_level.
9487 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
9488 (vfork_init_first): Use GetCurrentProcessId to get pid.
9489 Initialize vfork_level.
9490 (vfork_init): Delete __PID__.
9491 (environ_init): New function. Undo patch of Aug 19, Posix says
9492 environment variables are case sensitive.
9493 (mainCRTStartup): Call it.
9494 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
9495 (my_longjump: Make static.
9496 (_spawn): New argument `h'. Delete setting of __PID__.
9497 Delete local `idx'. Look for chars that need quotes, rather than
9498 ones that don't. Set handle of created process in `h'.
9499 Result is process id if created task.
9500 (allocate_spawn_entry): New function.
9501 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
9502 (_execve): Set __FD_TABLE__ before spawning child.
9503 Scan our fd table when passing fds, not our parent's.
9504 Store handle and pid in procinfo entry.
9505 (vfork0): Ensure strace message always printed.
9506 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
9507 (vfork): Don't clobber result of vfork0.
9508 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
9509 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
9510
9511 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
9512 and `exit_code'.
9513 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
9514 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
9515 adding vfork level to pseudo-pid.
9516 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
9517 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
9518 (_exit): If child, set exit code.
9519 (__vfork_record_death): Only close process handle if valid.
9520 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
9521 didn't exec.
9522 (wait_for_any): Likewise. Start scan after root entry.
9523
9524Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9525
9526 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
9527 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
9528 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
9529 of actual file length.
9530
9531 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
9532 * libc/include/paths.h: _PATH_BSHELL added.
9533 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
9534 and STDERR_FILENO.
9535
9536Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9537
9538 * libc/include/ar.h: Added.
9539 * libc/include/sys/types.h: ino_t goes back to 32-bits.
9540 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
9541 * libc/sys/win32/syscalls.c (_open): compute .namehash based
9542 on filename.
9543 (_fstat): use .namehash for inode number of the fd.
9544
9545Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
9546
9547 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
9548 Change hinfo to __this_procinfo.
9549 * libc/sys/win32/crt0.c: Remove procinfo_list.
9550
9551Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9552
9553 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
9554 win32 environment.
9555
9556Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9557
9558 * libc/sys/win32/include/grp.h: Removed.
9559 * libc/sys/include/grp.h: Added.
9560 * libc/sys/win32/grp.c: Include <grp.h>.
9561
9562Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
9563
9564 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
9565 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
9566 Defined for all but strict ANSI.
9567 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
9568 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
9569 * libc/signal/signal.c (_signal_r): Changed from using
9570 _MAX_SIGNALS to NSIG.
9571 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
9572 __hmap): Deleted.
9573 (__strace, __vfork_next_pid): New.
9574 (__exe_suffix): Default to 1.
9575 (passover, table): Understand quoted arguments.
9576 (vfork_init_first): New.
9577 (vfork_init): Initialize new process structure.
9578 (mainCRTStartup): Pass environ to main.
9579 * exceptions.c (__sig_mask): New
9580 (ehandler3): Ignore signals in mask.
9581 (really_exit): Remove CHILD_P test.
9582 * pipe.c (pipe, dup, dup2): Use new process and file structure.
9583 * resource.c (getrusage): Ditto.
9584 * signal.c (sigprocmask): New.
9585 * spawn.c (*): Rewritten.
9586 * syscalls.c (*): Use new process and file structure.
9587 (find_unused_handle): New.
9588 * syscalls.h (MAX_HANDLES): Deleted.
9589 (hinfo): Removed child_created_p.
9590 (MAX_CHILDREN): Deleted.
9591 (vfork_jmp_info, procinfo): New.
9592 * wait.c (*): Mostly new.
9593 * sys/strace.h (_STRACE_PARANOID): New.
9594 * sys/param.h: New file.
9595
9596Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9597
9598 * libc/include/sys/stat.h: add S_BLKSIZE.
9599 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
9600 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
9601 types under win32.
9602 (mode_t): add a #else to avoid multiple definitons.
9603
9604 * libc/sys/win32/Makefile.in: add grp.c.
9605 * libc/sys/win32/grp.c: include grp.h correctly.
9606 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
9607 of the st structure with real information.
9608 * libc/sys/win32 (dirent): d_ino is of type ino_t.
9609
9610Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
9611
9612 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
9613 and (maybe) sparc64.
9614 (nlink_t): Provide typedef.
9615
9616Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9617
9618 * libc/sys/win32/grp.c: New file.
9619 * libc/sys/win32/include/grp.h: New file.
9620
9621Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9622
9623 * libc/include/machine/ieeefp.h: Added whitespace to make this
9624 file easier to maintain.
9625 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
9626 depending on the value of __LITTLE_ENDIAN__.
9627 On the sh3e, define _DOUBLE_IS_32BITS.
9628
9629Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
9630
9631 * libc/sys/vr4300/syscalls.c: Added missing support
9632 routines. _raise() and getpid().
9633
9634Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
9635
9636 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
9637
9638Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
9639
9640 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
9641 and VR4300 processor.
9642 * libc/sys/vr4300: Add directory.
9643 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
9644 monitor run-time support.
9645
9646Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9647
9648 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
9649 * libc/stdlib/stdlib.tex: Don't include atol.def.
9650
9651Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9652
9653 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
9654
9655Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
9656
9657 * libc/ctype/Makefile.in: Fill in _to* dependencies.
9658
9659Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
9660
9661 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
9662 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
9663 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
9664 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
9665 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
9666
9667Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9668
9669 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
9670
9671Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9672
9673 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
9674 * libc/stdlib/atoff.c: New file.
9675 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
9676 * libc/stdlib/atoi.c (atol): Removed.
9677 * libc/stdlib/atol.c: Removed duplicate documentation.
9678
9679 * libc/include/ctype.h (_tolower, _toupper): Moved inside
9680 #ifndef _STRICT_ANSI conditional.
9681 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
9682 * libc/ctype/_tolower.c: New file.
9683 * libc/ctype/_toupper.c: New file.
9684 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
9685 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
9686 * libc/ctype/toascii.c (_toascii): Removed.
9687
9688Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
9689
9690 * libc/sys/sparc64/sys/types.h: Deleted.
9691
9692Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9693
9694 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
9695 and recognize Windows_95 systems.
9696
9697Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9698
9699 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
9700 and passed fds should be opened in text mode.
9701
9702Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9703
9704 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
9705 in __hmap, set to binary mode by default.
9706
9707Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9708
9709 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
9710 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
9711 vector 34.
9712
9713Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
9714
9715 * Makefile.in (install): Install all libraries found in the
9716 top level. If there's a sys/<type>/include directory,
9717 install those headers into include.
9718
9719 * libc/sys/win32/kernel.def351: Delete
9720 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
9721 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
9722 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
9723 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
9724 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
9725 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
9726 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
9727 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
9728
9729 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
9730 * libc/sys/win32/crt0.c: Force all env names to upper case.
9731 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
9732 * libc/sys/win32/*.c: Headers have moved.
9733 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
9734 __vfork_child_idx is now __vfork_child_ptr.
9735
9736 * posix/execvp (execvp): Don't crash if no PATH envname.
9737
9738Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9739
9740 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
9741 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
9742 through the _freelist instead of through the _reclaim list.
9743 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
9744 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
9745 sources.
9746
9747Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9748
9749 * libc/machine/h8500/setjmp.S: New file.
9750 * libc/include/machine/setjmp.h: Updated for H8/500.
9751
9752Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
9753
9754 * libc/sys/win32/syscalls.c (_open): More stracing.
9755 (_stat): Open the file in O_BINARY.
9756
9757Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9758
9759 * libc/machine/h8300/setjmp.S: New file.
9760 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
9761
9762Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
9763
9764 * libc/sys/win32/crt0.c (__exe_suffix): New global.
9765 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
9766 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
9767 __exe_suffix. Free fd_tab after setting env variable.
9768 (spawnv,_execve): Update.
9769 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
9770 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
9771 (__small_vfprintf): New function.
9772 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
9773 * libc/sys/win32/wait.c (cwait): Validate argument.
9774
9775 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
9776 (process_deletion_queue): Likewise.
9777
9778 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
9779
9780Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
9781
9782 * libc/sys/win32: Copyrights and gratuitous indenting.
9783
9784Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
9785
9786 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
9787 (process_deletion_queue): Likewise.
9788 (__close_all_files): New function.
9789 (_close): Only queue file deletion if really a file.
9790 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
9791 _P_APPEND_EXE.
9792 (_exit): Call __close_all_files.
9793
9794 * libc/stdlib/system.c: #include <errno.h>.
9795 (_system_r): Fix results in -DNO_EXEC case.
9796
9797 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
9798 Reorganize structure.
9799 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
9800 if argument is valid. Save directory name in DIR. malloc space
9801 for dirent struct separately.
9802 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
9803
9804 * libc/include/errno.h (ENAMETOOLONG): Define.
9805 * libc/string/strerror.c (strerror): Reword ENFILE.
9806 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
9807
9808Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
9809
9810 * libc/sys/win32/crt0.c (__progname): New global.
9811 (mainCRTStartup): Support strace=bitmask,filename.
9812 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
9813 * libc/sys/win32/syscalls.c (_write): Print parent trace message
9814 if error.
9815 (getcwd): Handle len too small. Convert '\\' to '/'.
9816 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
9817 Add prototypes for open, creat, fcntl.
9818 (O_APPEND): Change value to conform to Microsoft's value.
9819 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
9820
9821 * libc/stdlib/getopt.c: New file.
9822 * libc/stdlib/Makefile.in: Build it.
9823
9824Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
9825
9826 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
9827 Fix scanning of $PATH.
9828 * libc/posix/exec*.c: Call _execve, not execve.
9829 * libc/posix/execve.c: New file.
9830 * libc/posix/Makefile.in (OFILES): Add execve.o.
9831
9832 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
9833 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
9834 (_STRACE): If level==0, always print. Handle new bit mask scheme.
9835 * libc/sys/win32/crt0.c: Update _STRACE calls.
9836 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
9837
9838 * libc/sys/win32/smallprint.c (rn): Fix digit list.
9839
9840 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
9841 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
9842 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
9843 Print __seterrno trace message first.
9844 (_execve): Renamed from execve.
9845 (vfork): Update __strace usage.
9846 (__vfork_child_pid): Deleted.
9847 (__vfork_children, __vfork_child_idx): New globals.
9848 (_spawnvp): New function.
9849 (spawnvp, spawnv, _execve): Call _spawnvp.
9850 (init_child): Record child in __vfork_children.
9851 (__vfork_get_entry, __vfork_record_death): New functions.
9852 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
9853 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
9854 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
9855 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
9856 (children): New typedef.
9857 (__vfork_children,__vfork_child_idx): Declare.
9858 (__vfork_get_entry,__vfork_record_death): Declare.
9859 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
9860 (waitpid): Handle pid == -1.
9861 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
9862 * configure.in (i386-win32): Add -DNO_FORK.
9863 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
9864 * libc/reent/execr.c (_fork_r): Likewise.
9865 * libc/stdlib/system.c (do_system): New function.
9866 If WIN32, try to get shell path from $SH_PATH, use vfork.
9867 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
9868 otherwise return 0.
9869
9870Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
9871
9872 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
9873 * libc/sys/win32/fcntl.h: Don't include self.
9874 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
9875 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
9876 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
9877 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
9878 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
9879 Correct prototypes.
9880 * libc/sys/win32/strace.c: New file.
9881 * libc/sys/win32/smallprint.c: New file.
9882 * libc/sys/win32/crt0.c (func): Delete.
9883 (mainCRTStartup): Fix alloca usage. Set handles explictly.
9884 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
9885 * libc/sys/win32/exceptions.c: Lint.
9886 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
9887 Clean up handle usage.
9888 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
9889 (open.c): Default file type is text.
9890 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
9891 * libc/sys/win32/advapi32.def: New
9892
9893Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
9894
9895 * configure.in (posix_dir, libc_posix_lib): New variables.
9896 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
9897 (i[345]86-*-win32): Define posix_dir.
9898 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
9899 (if unix_dir): Fix typo.
9900 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
9901 scandir,seekdir,telldir}: New files.
9902 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
9903 from libc/unix.
9904 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
9905 (SUBDIRS): Add posix.
9906 (SUBLIBS): Add $(LIBC_POSIX_LIB).
9907
9908 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
9909 (NSIG): Increase to 21.
9910 * libc/include/sys/unistd.h (pid_t): Move from here,
9911 * libc/include/sys/types.h (pid_t): to here.
9912
9913 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
9914 (__ptrace): Delete.
9915 (hinfo): New members close_exec_p, child_created_p.
9916 (struct exception_list): Define.
9917 (__hmap): Redefine as pointer to table.
9918 (__parent_hmap, __child_hmap): New globals.
9919 (__set_errno, __really_exit): Declare.
9920 (__vfork_child_pid): Declare.
9921 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
9922 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
9923 (__parent_hmap, __child_hmap): New globals.
9924 (__hmap): Redefine as pointer to active map.
9925 (__get_console): New function.
9926 (mainCRTStartup): Change leading '=' in environ vars to '!'.
9927 (env __FD_TABLE__): Watch for this and initialize our fd/handle
9928 mapping table from it if defined.
9929 (argv, envp): Dump if __strace >= 4.
9930 (main): Call here.
9931 * libc/sys/win32/exceptions.c (myp): Redefine.
9932 (__syscalls_b): Delete.
9933 (__stack_trace): New function.
9934 (ehandler3): Update to use _STRACE. Print stack trace.
9935 Call __really_exit instead of exit.
9936 (init_exceptions): Delete args argc,argv. New arg mine.
9937 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
9938 FindFirstFileA, FindNextFileA, GetComputerNameA,
9939 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
9940 * libc/sys/win32/signal.c (signal): Validate arg.
9941 (alarm, sleep): Define as stubs for now.
9942 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
9943 (__syscalls_b, errno): Delete.
9944 (__vfork_child_pid, __vfork_jmp_buf): New globals.
9945 (__seterrno): Handle more errors.
9946 (__sys_printf): Renamed from _ptrace.
9947 (__really_exit): New function.
9948 (queue_file_deletion, process_deletion_queue): New functions.
9949 (__resume_parent): New function.
9950 (_unlink): Handle trying to delete open file.
9951 (__totime_t): Renamed from totime_t.
9952 (setsid, __read, __write): New functions.
9953 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
9954 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
9955 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
9956 * libc/sys/win32/console.c: Update to new definition of __hmap.
9957 * libc/sys/win32/Makefile.in: Build new files.
9958 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
9959 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
9960 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
9961 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
9962
9963Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
9964
9965 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
9966
9967Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9968
9969 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
9970 have been made to the master dtoa.c sources (from netlib.att.com)
9971 since they were integrated into newlib in early 1992. Fixes
9972 problems with storage leaks and handling of numbers with very
9973 negative exponents.
9974
9975Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9976
9977 * Makefile.in (all): set rootpre and srcrootpre before calling
9978 sub-makes.
9979
9980Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
9981
9982 * libc/sys/win32/crt0.c: Change __hmap usage.
9983 * libc/sys/win32/exceptions.c: Use _ptrace call.
9984 * libc/sys/win32/syscalls.c: Use _ptrace call.
9985 (read, write): Cope with DOS style CRLF when in TEXT mode.
9986 * libc/sys/win32/syscalls.h: Declare hinfo struct.
9987 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
9988 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
9989 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
9990 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
9991
9992Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9993
9994 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
9995
9996 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
9997 wrappers for hypot() and remainder() for BSD libm compatibility.
9998 These are public domain implementations written by me for the
9999 NetBSD libm some time ago. Note cabs() is required by ucbtest.
10000 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
10001 (fobj): Added wf_cabs.o and wf_drem.o.
10002
10003Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10004
10005 * libc/sys/h8500hms/misc.c: New file.
10006 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
10007
10008Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10009
10010 * libc/time/localtime.c (localtime): Fix problem with leap year
10011 handling. Stole algorithm from Arthur David Olson's tz code.
10012
10013Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
10014
10015 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
10016
10017 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
10018 (_exit): Use argument.
10019
10020Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
10021
10022 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
10023
10024Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
10025
10026 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
10027
10028Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10029
10030 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
10031 target_cflags.
10032
10033Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
10034
10035 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
10036 ptrace with case insensitivity
10037 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
10038 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
10039 New files.
10040
10041Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
10042
10043 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10044 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
10045 (all, install, *clean): Use new multilib support.
10046 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10047
10048Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
10049
10050 * libc/include/sys/signal.h (__WIN32__): New.
10051
10052 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
10053
10054 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
10055 (ulp, b2d): Handle 32 bit doubles.
10056 * libc/stdlib/mprec.h: Handle 32 bit doubles.
10057 * libc/stdlib/strtod.c (_strtod_r): Ditto.
10058
10059Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
10060
10061 from medp@primag.co.uk:
10062 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
10063 dynamically allocated buffers.
10064
10065Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
10066
10067 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
10068 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
10069
10070Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10071
10072 * configure.in (powerpc): Fix previous fix.
10073
10074Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10075
10076 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
10077 directories for this target.
10078
10079Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10080
10081 * configure.in (hppa): Add machine_dir definition.
10082 * libc/machine/hppa: New directory with PA specific implementations
10083 of the basic memory/string functions.
10084
10085Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10086
10087 * configure.in: Update current PowerPC multilib directories.
10088 Split big and little endian configurations.
10089
10090Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
10091
10092 * configure.in: Add --enable-single-float option to configure to
10093 control use of MIPS single-float directories. Default to yes.
10094
10095 * Makefile.in (all): Don't recurse into multilib directory if it
10096 does not exist.
10097
10098Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10099
10100 * libc/sys/sh/syscalls.c: Fix typo.
10101
10102Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
10103
10104 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
10105 Pass down DLLTOOL.
10106 * libc/include/process.h: Define WAIT_CHILD.
10107 * libc/include/types.h: Get sizes right for win32.
10108 * configure.in (i386-*-pe): Becomes i386-win32.
10109 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10110 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
10111 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
10112 is defined.
10113
10114Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
10115
10116 * configure.in (i[345]86-*-pe): New target (NT).
10117 * host/any: DLLTOOL new.
10118 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10119 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
10120 WIN32 (just enough to cross host the comp-tools).
10121
10122Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
10123
10124 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
10125 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
10126
10127Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
10128
10129 * libc/include/machine/ieeefp.h (arm): Change to always be
10130 __IEEE_BIG_ENDIAN (even on little endian ARM's).
10131
10132Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
10133
10134 * libc/sys/crt0.S: Initialze sp, and call exit after main.
10135 * libc/sys/syscalls.c (abort): New.
10136 * configure.in (arm): Define ABORT_PROVIDED.
10137
10138Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10139
10140 * configure.in (powerpc): Define multidirs.
10141
10142Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
10143
10144 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
10145
10146Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
10147
10148 * configure.in (sparclite): Delete target_cflags. Define multidirs.
10149
10150Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
10151
10152 * configure.in, libc/include/machine/ieeefp.h: Modified
10153 for arm:
10154 libc/machine/arm/*, libc/sys/arm/*: New
10155
10156Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10157
10158 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
10159 __powerpc__ when determining endianness.
10160
10161Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10162
10163 * configure.in (m68*): Add multidir for the m68332.
10164
10165 * host/any (CC): Fix typo in last change.
10166
10167Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
10168
10169 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
10170 when determining endianness.
10171 * libc/include/machine/ieeefp.h: Ditto.
10172 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
10173 operands.
10174
10175Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
10176
10177 * libc/include/errno.h (ENOTEMPTY): Define.
10178
10179Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10180
10181 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
10182 target_cflags.
10183
10184 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
10185 and umultiply.o.
10186
10187 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
10188 instead of only when open succeeds. ANSI requires that multiple
10189 calls to tmpnam() result in different files.
10190
10191 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
10192 objects pulled in from /lib/libc.a that must be renamed before
10193 being pulled into newlib. /lib/libc.a's div.o conflicted with
10194 newlib's file with the same name.
10195
10196 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
10197
10198 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
10199 the build tree will only be used if the executables are present
10200 (instead of just the Makefiles).
10201
10202 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
10203 wcstombs): Define.
10204 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
10205 versions of these functions that I orignally wrote for the
10206 NetBSD C library.
10207 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
10208 versions I wrote for NetBSD.
10209
10210Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
10211
10212 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
10213 * libc/sys/sparclite/crt0.s: ditto.
10214
10215Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
10216
10217 * configure.in: Add soft-float for proelf.
10218
10219Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
10220
10221 * libc/stdlib/mprec.h (Bcopy): Copy the right number
10222 of bytes.
10223
10224Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
10225
10226 * Makefile.in (all): Depend on `force'.
10227 * configure.in (syscall_dir): Renamed from fake_sys_dir.
10228 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
10229 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
10230 * libc/Makefile.in: Likewise.
10231 * libc/include/reent.h: Update syscall references.
10232 (_fcntl_r): Add prototype.
10233 * libc/syscalls/*.c #include <reent.h>.
10234 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
10235
10236Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
10237
10238 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
10239 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
10240 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
10241 (time.h, sys/types.h): Always include (even if MSDOS).
10242 (stat): Fix prototype.
10243
10244Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
10245
10246 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
10247
10248Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10249
10250 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
10251
10252Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
10253
10254 * libc/include/regdef.h: New file.
10255 * libc/machine/mips/machine/regdef.h: New file.
10256
10257Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
10258
10259 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
10260
10261Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
10262
10263 * libc/sys/sh/crt0.S: Pass main's return to exit.
10264 * libc/sys/sh/trap.S: Put errno in the right place.
10265
10266Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10267
10268 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
10269 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
10270 * libm/math/ef_rem_pio2.c: Likewise.
10271 * libm/math/e_log10.c: Remove unused static one.
10272 * libm/math/ef_log10.c: Likewise.
10273 * libm/math/s_frexp.c: Likewise.
10274 * libm/math/sf_frexp.c: Likewise.
10275
10276Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
10277
10278 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
10279 longjmp.S: Upgraded.
10280 * libc/sys/go32/sys/setjmp.h: Upgraded.
10281 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
10282
10283Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10284
10285 * configure.in: Add many entries to multidirs for mips targets.
10286
10287Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10288
10289 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
10290 5.2 which fixes bug where jn(-1,x) is three times larger than
10291 the actual answer.
10292 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
10293
10294Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
10295
10296 * libc/sys/w65/sys/syscalls.h: New file
10297 * libc/include/machine/ieeefp.h: W65 support.
10298 * libc/include/sys/config.h: Ditto.
10299 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
10300 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
10301 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
10302
10303Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10304
10305 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
10306
10307Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
10308
10309 * Makefile.in, configure.in: Remove any references to the old
10310 "stub" dir.
10311
10312Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10313
10314 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
10315 uses ... in prototype.
10316
10317
10318Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
10319
10320 * libc/sys/a29khif/sys/libconfig.h: Remove.
10321 * libc/sys/go32/sys/libconfig.h: Remove.
10322 * libc/sys/sun4/sys/libconfig.h: Remove.
10323 * libc/sys/sysvi386/sys/libconfig.h: Remove.
10324 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
10325 * libc/sys/sparc64/sys/libconfig.h: Remove.
10326
10327 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
10328 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
10329 * libc/include/math.h: Change all uses of _FLOAT_RET and
10330 _FLOAT_ARG to float.
10331 * libm/test/math.c: Likewise.
10332 * testsuite/libm.sac/math.c: Likewise.
10333 * testsuite/libm.sac/working/math.c: Likewise.
10334
10335Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10336
10337 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
10338 gcc calls gas with endian option.
10339 * configure.in (sh): Build little endian version too.
10340
10341Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10342
10343 * configure.in: Configure big and little endian versions for MIPS
10344 targets.
10345
10346Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
10347
10348 * libc/include/limits.h: Deleted.
10349 * libc/include/machine/limits.h: Deleted.
10350
10351Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
10352
10353 * ChangeLog: Remove stub directory. This has all been rewritten
10354 and moved to devo/libgloss.
10355
10356Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10357
10358 * Makefile.in (dvi): Add to info target, use $@ in sub make.
10359 (docs): Merge into info target.
10360 * libm/Makefile.in (dvi): Add $(srcdir).
10361 * libm/math/Makefile.in (chobjs): Remove underscores from file
10362 names. Texinfo doesn't like them.
10363 (wacos.def, ...): Add explicit targets for all .def files.
10364 * libm/math/math.tex: Remove underscores from @include file names.
10365 * doc/Makefile.in (dvi): Add dummy target.
10366 * testsuite/Makefile.in (dvi): Add dummy target.
10367
10368Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
10369
10370 * Makefile.in (VERSION): Define. For net newlib releases.
10371
10372Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
10373
10374 * README: New file.
10375
10376Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10377
10378 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
10379
10380Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10381
10382 * libc/stdlib/setenv.c (_findenv): Declare.
10383
10384 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
10385 fcntl to not use _EXFUN, and change string parameters to open and
10386 creat to be ``const char *''.
10387 * libc/sys/sparc64/sys/fcntl.h: Likewise.
10388 * libc/sys/sparc64/creat.c (creat): Make PATH const.
10389 * libc/syscalls/sysopen.c: Include <fcntl.h>.
10390 (open) Make _FILE const.
10391 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
10392 (_creat): Make PATH const.
10393 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
10394 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
10395 * libc/sys/m88kbug/syscalls.c (open): Likewise.
10396 * libc/sys/sh/syscalls.c (_open): Likewise.
10397 * stub/shared/glue.c (open): Make BUF const.
10398 * stub/ex93x/syscalls.c (open): Make FILENAME const.
10399
10400Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10401
10402 * libc/include/errno.h: Add ENMFILE
10403 * libc/include/sys/config.h: Support Z8000.
10404 * libc/include/sys/signal.h: New signals for go32.
10405 * libc/machine/h8500/psi.S (__addpsir0r0): New function
10406 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
10407 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
10408 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
10409 size is variable, depending upon CHUNK_POWER.
10410 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
10411
10412Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10413
10414 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
10415
10416Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10417
10418 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
10419
10420Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10421
10422 * configure.in: Change i[34]86 to i[345]86.
10423
10424 * libc/include/math.h: Don't define HUGE_VAL if it is already
10425 defined.
10426
10427Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10428
10429 * testsuite/libm.sac/test_erfc.c: Correct some result values.
10430 * testsuite/libm.sac/test_gammaf.c: Likewise.
10431 * testsuite/libm.sac/test_sin.c: Likewise.
10432 * testsuite/libm.sac/test_tanh.c: Likewise.
10433
10434Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10435
10436 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
10437 already set. Define typedefs __int32_t and __uint32_t.
10438 * libc/include/math.h: Include <machine/ieeefp.h>.
10439 (union __dmath): Use __uint32_t.
10440 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
10441 instead of int and unsigned int.
10442
10443Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10444
10445 Replace the math library with the SunPRO fdlibm package.
10446 * libm/math: Completely changed all files.
10447 * libm/ieeefp: Remove contents and directory.
10448 * libm/Makefile.in (LIBM_FP_LIB): Remove.
10449 (SUBDIRS): Just set to math/lib.a.
10450 * libm/libm.texinfo: Updated for new library.
10451 * libc/include/math.h: Extensive changes for new math library.
10452 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
10453 from _FLOAT_ARG to float.
10454 (maxpowtwo, maxpowtwof): Don't declare.
10455 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
10456 (libm_fp_lib): Removed.
10457 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
10458 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
10459 argument to ${RUNTEST}.
10460 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
10461 (.c.o): New rule.
10462 (RUNTESTFLAGS): Set CC and CFLAGS.
10463 (TESTS): Remove test_log2 and test_log2f.
10464 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
10465 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
10466 _FLOAT_ARG, for single precision argument type.
10467 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
10468 expected failure. Close the input pipe.
10469 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
10470 Correct misspelling of inaccurate.
10471 (test_mok): Use ``inaccurate'', not ``wrong''.
10472 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
10473 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
10474 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
10475 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
10476 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
10477 test_yn.c): Correct many result values. Many are still wrong.
10478
10479 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
10480 just copy the string.
10481 (_gcvt): Always return the buffer.
10482
10483Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10484
10485 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
10486
10487Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
10488
10489 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
10490 structure.
10491 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
10492 (_reclaim_reent): declare new entry point.
10493 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
10494 functions.
10495
10496 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
10497 ever allocated, so that we can later reclaim them all.
10498 (pow5mult): make reentrant.
10499
10500 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
10501 so that when given NULL as a buffer, return a pointer to static
10502 space in the rent structure. This is not documented behaviour;
10503 it's only to support ecvt and fcvt, which aren't ANSI anyway.
10504 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
10505 therefore become reentrant).
10506
10507 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
10508
10509Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10510
10511 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
10512
10513Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10514
10515 * Makefile.in: Make link to libg.a after libc.a; this is needed
10516 for the testsuites to build executables when everything comes
10517 from the tree.
10518
10519Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
10520
10521 * libc/Makefile.in: Add a VERSION variable so we can keep track.
10522 * libm/Makefile.in: Add a VERSION variable so we can keep track.
10523
10524Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10525
10526 * libc/include/stdio.h: Use __VALIST, not va_list.
10527
10528Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
10529
10530 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
10531 testsuite/libm.sac/execute.exp:
10532 Replace error proc calls with perror calls.
10533
10534Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
10535
10536 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
10537 * libc/include/time.h: #define NULL as 0L.
10538
10539Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
10540
10541 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
10542 care of it.
10543
10544Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10545
10546 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
10547 not __unix__.
10548
10549Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
10550
10551 * configure.in (TARGET_CFLAGS): Set -O2 as default.
10552 (z8k-*-*): Use syscalls fake sys dir.
10553 * libc/sys/z8k/glue.c: Rename syscalls.
10554 * libc/sys/go32/Makefile.in: Use new routines.
10555 * libc/machine/Makefile.in: Fix typo in ln stuff.
10556
10557Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10558
10559 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
10560 * libc/Makefile.in (crt0.o): Likewise.
10561 * libc/machine/Makefile.in (lib.a): Likewise.
10562 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
10563
10564 All Makefile.in files: Added mostlyclean, realclean and distclean
10565 targets.
10566
10567 * Makefile.in: Don't bother to unexport XTRAFLAGS or
10568 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
10569 the top level Makefile.
10570
10571Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
10572
10573 * libc/sys/sparc64/sys/stat.h: New file.
10574 * libc/sys/sparc64/sys/time.h: New file.
10575 * libc/sys/sparc64/sys/types.h: New file.
10576
10577Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
10578
10579 * stub/ex93x/crt0.s (start): Add code to clear bss.
10580
10581Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
10582
10583 * libc/include/sys/types.h (time_t): Properly protect inside
10584 #ifndef __time_t_defined.
10585
10586 * libc/stdio/fileno.c: New file.
10587 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
10588 (fileno.o): Add dependency.
10589 * libc/include/stdio.h (__sgetc): Rename never to _never.
10590 (fileno macro): Disable, needs to do CHECK_INIT first.
10591
10592Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
10593
10594 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
10595 goal.
10596
10597 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
10598 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
10599 runtest.
10600 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
10601 runtest.
10602
10603Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
10604
10605 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
10606 of the various constants.
10607
10608Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
10609
10610 * libc/include/math.h: #ifndef __math_68881 around things which
10611 conflict with the (gcc-provided) inline functions in
10612 gcc/ginclude/math-68881.h.
10613
10614Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
10615
10616 * libc/include/_syslist.h (_gettimeofday): Define.
10617 (_times): Ditto.
10618 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
10619 (struct tms, timeval, timezone): Declare.
10620 (_gettimeofday_r, _times_r): Declare.
10621 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
10622 #ifdef _CLOCK_T_ surrounding definition of clock_t.
10623 (time_t): Add multiple definition protection, __time_t_defined.
10624 * libc/include/sys/time.h: Don't #include <time.h>.
10625 Always define struct timezone (remove #ifndef _TIME_H_).
10626 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
10627 #ifdef _CLOCK_T_ surrounding definition of clock_t.
10628 * libc/reent/Makefile.in (OFILES): Add timer.o.
10629 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
10630 * libc/reent/timer.c: New file.
10631 * libc/time/clock.c: #include <reent.h>.
10632 (clock): Call _times_r instead of times.
10633 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
10634 HAVE_GET_TIME_OF_DAY.
10635 Add comment regarding supporting OS routine(s) required (for docs).
10636 #include <reent.h>.
10637 (time): Call _gettimeofday_r instead of gettimeofday.
10638 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
10639 * libc/time/ctime.c: Ditto.
10640 * libc/time/strftime.c: Ditto.
10641 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
10642 (TEMPLATE_SFILES_R): Define here. Also define times.
10643 Add times_r.o/times.S dependence.
10644 (time2.c, junk.c): Deleted.
10645 * libc/sys/sparc64/time2.c: Deleted.
10646 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
10647
10648 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
10649 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
10650 * libc/sys/sparc64/junk.c: Deleted.
10651
10652Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
10653
10654 * libc/sys/sparc64/Makefile.in: Add times syscall.
10655 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
10656 be used with and without it. Add comment clarifying Medium/Anywhere
10657 model requirements.
10658 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
10659 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
10660 even if obsolete.
10661
10662Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
10663
10664 * configure.in (target_cflags): Move init.
10665 (sparc64-*-*): Define HAVE_BLKSIZE.
10666
10667Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
10668
10669 * libc/include/sys/_types.h: New file.
10670 * libc/include/reent.h: #include it.
10671 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
10672 MISSING_SYSCALL_NAMES.
10673 Sort syscalls.
10674 * libc/include/_syslist.h: Remove _raise.
10675 * libc/reent/signalr.c: New file.
10676 * libc/reent/Makefile.in: Compile it.
10677 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
10678 Add doc for raise and _raise_r.
10679 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
10680 (raise): Call _raise_r.
10681 (_raise_r): Call _getpid_r and _kill_r.
10682 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
10683 (abort): Loop forever calling raise and _exit.
10684
10685Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10686
10687 * configure.in: Remove extraneous echo.
10688
10689Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
10690
10691 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
10692 collision with unistd.h, and fix for svr4.
10693
10694Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
10695
10696 * libc/stdio/local.h (_llicvt): Declare.
10697 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
10698 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
10699 (_llicvt): Define.
10700 (_sicvt): Fix function header (`value' is short).
10701 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
10702 Add printing of long long's support.
10703 Add printing of 8 byte pointer support.
10704
10705Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
10706
10707 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
10708 stat, chmod): New hooks.
10709 (sbrk): Abort if stack and heap collide.
10710 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
10711 shortcut when given small args.
10712 * libc/machine/sh/setjmp.s: Rewritten.
10713 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
10714 of cmp/str instruction.
10715
10716Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10717
10718 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
10719 and machine_dir powerpc.
10720 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
10721 Add cases for __powerpc__.
10722 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
10723 New files.
10724
10725 * libc/include/stdio.h (_iprintf_r): Declare correctly.
10726
10727Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
10728
10729 * libc/stdlib/callocr.c: New file with _calloc_r in it.
10730 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
10731
10732Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
10733
10734 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
10735 (print_e): More comments to describe args, etc.
10736 "type" arg may now be 'g' or 'G' for %g/G format --> remove
10737 trailing blanks.
10738 (_gcvt): Remove locals decpt, sign, end, p, done.
10739 More comments for print_e invocation.
10740 Pass "type" to print_e as is (g/G).
10741
10742Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
10743
10744 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
10745 stock m68000.
10746
10747Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
10748
10749 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
10750 works with any sized pointer, including ones bigger than ints and
10751 longs.
10752
10753Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
10754
10755 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
10756
10757Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10758
10759 * libc/include/stdlib.h (_calloc_r): Add prototype.
10760 * libc/machine/h8500/negsi2.c: New file.
10761 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
10762 large unsigned numbers.
10763 * libc/machine/h8500/cmpsi.c: Add cmppsi.
10764 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
10765 works when sizeof(size_t) != sizeof(char *).
10766 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
10767 get play area
10768 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
10769
10770Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
10771
10772 * libc/include/assert.h (assert): Handle -traditional.
10773
10774Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
10775
10776 * Makefile.in: added ; after every "fi" and "done" that wasn't at
10777 the end of a line (ie. anything before a backslash continuation)
10778 so that bash handles them.
10779
10780Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
10781
10782 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
10783 stat to lstat
10784
10785Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
10786
10787 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
10788 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
10789 libc/machine/sh/udivsi3.s: Use new calling convention.
10790
10791Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
10792
10793 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
10794 chmod, access, chdir, chown by making _path const. Also fix _amode
10795 param of access.
10796
10797Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
10798
10799 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
10800 _khif_tmpnam, because it doesn't comply with ANSI but may be
10801 useful anyway. Real tmpnam was already in libc/stdio, and was
10802 colliding with this one (pr 2176.)
10803 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
10804 the wrong idea anyhow.
10805
10806Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
10807
10808 * configure.in: Remove h8300h, we have multilib now.
10809
10810Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
10811
10812 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
10813 functions, to get preference over the ones in libiberty (since we
10814 provide correct declarations in <string.h>.
10815 * libc/string/Makefile.in: add support for strncasecmp,
10816 strcasecmp.
10817
10818Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
10819
10820 * Change netware config not to look for cpu explicitly.
10821
10822Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
10823
10824 * libc/sys/sparc64/{creat.c,junk.c}: New files.
10825 * libc/sys/sparc64/Makefile.in: Add dependencies.
10826
10827Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
10828
10829 * configure.in: Clean up v9 a bit, new "os" aoutv8.
10830
10831Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
10832
10833 * libc/include/sys/reent.h: make structure smaller by allocating
10834 some stuff when needed.
10835 * libc/signal/signal.c: allocate as needed
10836 * libc/stdio/findfp.c,stdio/local.h: ditto
10837 * libc/stdlib/mprec.c: ditto
10838
10839 * libc/time/localtime.c: don't return a dangling stack ptr.
10840
10841Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
10842
10843 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
10844
10845Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10846
10847 * libc/include/stdio.h (__sputc): comment out static inline which
10848 confuses coff toolchains.
10849
10850Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
10851
10852 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
10853 _write.s, getpid.c, kill.c, read.s}:
10854 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
10855 through the syscalls directory.
10856
10857Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
10858
10859 * configure.in: fixed double quote gotcha.
10860
10861Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
10862
10863 * stub/ex931: stub library for sparclite board.
10864 * stub/idp: Renamed from mc68ec. Added contructor table
10865 stuff to linker script.
10866 * stub/mvme135: Renamed from m68kmvme. Added contructor table
10867 stuff to linker script.
10868
10869Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10870
10871 * configure.in: Configure testsuites only if they exist.
10872
10873Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10874
10875 * configure.in: Don't set machine_dir for i386 until there is
10876 something in libc/machine/i386 to compile. For i[34]86-*-netware*
10877 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
10878 CLOCK_PROVIDED and MALLOC_PROVIDED.
10879
10880 * libc/sys/netware: New directory. Contains simplistic and
10881 probably incorrect stubs for NetWare. Should be enough to load
10882 the library.
10883 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
10884 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
10885 stub files.
10886
10887 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
10888 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
10889 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
10890 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
10891
10892Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
10893
10894 * testsuite/Makefile.in: add "docs" dummy target for consistency
10895 with rest of newlib; turn "info" and "install-info" into dummy
10896 targets, since they wouldn't have worked. (Depended on
10897 nonexistent "doc" subdir.)
10898
10899Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
10900
10901 * configure.in: handle mips* instead of mips
10902
10903Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
10904
10905 * libc/include/sys/dirent.h: New file. If it is not overridden by
10906 a version of libc/sys/*/sys/dirent.h, it includes the next
10907 <dirent.h> file in case there is one lurking somewhere.
10908
10909Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10910
10911 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
10912 compliance, namely: Accept a minus sign. Consider a single 0 with
10913 a radix of 0 as being a conversion. Determine overflow correctly.
10914 If an overflow occurs, set *ptr to the end of the number, not the
10915 middle.
10916 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
10917
10918Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
10919
10920 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
10921
10922Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
10923
10924 * Makefile.in (INSTALL): Use $srcrootpre.
10925 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
10926 can't handle it.
10927 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
10928 it.
10929 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
10930 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
10931 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
10932 * libm/math/Makefile.in (matherr.o): Ditto.
10933
10934Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10935
10936 * configure.in: Build multidirs for z8k.
10937 * libc/include/stdlib.h (_strtoul_r): add prototype.
10938 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
10939 * libc/include/machine/setjmp.h: Add for z8k.
10940 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
10941 * libc/sys/z8ksim/glue.c: tidy up.
10942
10943Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
10944
10945 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
10946 New files. Requires execve system call.
10947 * libc/unix/Makefile.in: Use them.
10948 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
10949 Deleted, moved to libc/unix.
10950 * libc/sys/sparc64/Makefile.in: Remove them.
10951
10952Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
10953
10954 * libc/sys/sparc64/{template.S template_r.S}: New files.
10955 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
10956 from templates.
10957 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
10958 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
10959 umask.S unlink.S wait4.S write.S}: Removed, now built from
10960 templates.
10961
10962Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
10963
10964 * libc/time/time.c: #include <_ansi.h>.
10965
10966Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
10967
10968 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
10969
10970Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10971
10972 * configure.in: match m8* rather than m88k so that m88110 is
10973 recognized as well.
10974
10975Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
10976
10977 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
10978 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
10979 misc.c: New file.
10980
10981 * configure.in: Add multilib support to h8300.
10982
10983Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
10984
10985 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
10986 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
10987 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
10988
10989Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10990
10991 * configure.in: Corrected multidirs for sparc target.
10992
10993Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10994
10995 Support for building newlib multiple times with different
10996 compilation flags.
10997 * configure.in: Only configure doc at top level. Set multidirs
10998 when appropriate for target, unless not at top level. If
10999 multidirs is set, independently configure each subdirectory.
11000 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
11001 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
11002 automagically set by configure.in.
11003 (all): If MULTIDIRS is set, build multiple copies of libraries.
11004 (install): If MULTIDIRS is set, install multiple copies of
11005 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
11006 MULTISUBDIR is set, don't bother to install header files.
11007 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
11008 ${srcrootpre}.
11009 * stub/configure.in: Set MULTISUBDIR appropriately.
11010 * stub/Makefile.in (install): Install in
11011 $(tooldir)/lib/$(MULTISUBDIR).
11012 * All Makefile.in files: Define SRCTOP as well as TOP.
11013
11014Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
11015
11016 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
11017 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
11018
11019Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
11020
11021 * libc/sys/h8300hms/exit.c (_exit): New function.
11022
11023Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11024
11025 * configure.in: recognize m88110.
11026
11027Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11028
11029 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
11030 prototype main and call with args.
11031
11032Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
11033
11034 First real try at system traps for m88k-bug.
11035 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
11036 to real trap calls.
11037 * libc/sys/m88kbug/sys/systraps.h: new file.
11038
11039Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11040
11041 Patches to fix info building when target does not use sys
11042 directory.
11043 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
11044 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
11045 libc/sys.tex.
11046 * libc/sys/Makefile.in (doc): do nothing.
11047
11048Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11049
11050 * libc/Makefile.in (CRT0): new macro.
11051 (all): depend on $(CRT0) rather than crt0.o.
11052
11053 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
11054 do not default crt0, instead, set crt0 and crt0_dir based on
11055 sys_dir and stub_dir.
11056
11057 * Makefile.in (CRT0_DIR): new macro.
11058 (all): depend on $(CRT0) rather than crt0.o which may not exist.
11059 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
11060 $(CRT0).
11061 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
11062
11063Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11064
11065 * testsuite/lib/libm.exp:
11066 added code to support compiling and linking of tests for
11067 libm.sac (paranoia to be added next) and processing the
11068 pass or failure of the tests.
11069
11070 * testsuite/config/unix-libm.exp:
11071 platform specific proc's for dealing with compiler, linker
11072 and the way we execute and process the test results.
11073
11074 * testsuite/libm.sac/execute.exp:
11075 generic framework for the sac tests. the config and lib
11076 expect code for specific platforms tie it all together.
11077
11078 * testsuite/libm.sac/test_is.c:
11079 changed the output of the test to be consistant with the
11080 other tests. parsing of pass nad fail messages is now fixed.
11081
11082Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
11083
11084 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
11085 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
11086 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
11087 #ifdef __cplusplus, surround by extern ""C { ... }.
11088 * libc/include/assert.h: Do *not* protect assert.h against
11089 multiple inclusion! Also, #undef it before #define, to allow
11090 redefinition.
11091 * libc/include/stdio.h (getlogin, cuserid): Removed. These
11092 should be only in unistd.h.
11093
11094 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
11095 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
11096 ... }.
11097
11098Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
11099
11100 * libc/machine/sparc/Makefile.in: Must create a library, even
11101 if empty.
11102
11103Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11104
11105 * configure.in: set machine_dir for m88k. edit crt0 definition
11106 into makefiles.
11107
11108 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
11109
11110 * libc/Makefile.in (all): also build crt0.o.
11111
11112 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
11113 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
11114 to remove CRT0.
11115
11116 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
11117 (all): reworked to build in place.
11118 (clean): remove lib.a
11119 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
11120
11121 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
11122 (_start): key off edata rather than _start_bss.
11123
11124Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
11125
11126 * libc/include/sys/unistd.h, libc/include/reent.h,
11127 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
11128
11129Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11130
11131 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
11132
11133 * Makefile.in (libc.a): break into two rules, one for libc.a and
11134 one for libc/libc.a. Force subdirs current before rebuilding
11135 library.
11136 (libm.a): break into two rules, one for libm.a and one for
11137 libm/libm.a. Force subdirs current before rebuilding library.
11138
11139 * libc/Makefile.in (SUBLIBS): fix typo.
11140
11141 * libc/sys/Makefile.in (all): force descent into subdirs, then
11142 rebuild library iff out of of date.
11143
11144Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11145
11146 Rework so that library is built and then finished rather than
11147 being built on each invocation of make.
11148
11149 * host/any (machine_dir, sys_dir, signal_dir): these are not
11150 shared and have been moved to their associated Makefile.in's.
11151 (AR_FLAGS): switch to qc which is faster.
11152 * configure.in: no longer assign machine_dir for m88k. set
11153 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
11154 stub_dir set, then add to configdirs. add comment about silly
11155 configuration.
11156 (configdirs): drop stub. It will be added only
11157 when needed.
11158 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
11159 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
11160 stub_lib, crt0): new variables for tailoring lower level
11161 makefiles. Assign accordingly and edit into makefiles.
11162 * libm/Makefile.in: updated copyright.
11163 (TARGETLIB): removed.
11164 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
11165 (SUBDIRS): removed TARGETDEP_DIRS.
11166 (LIBM_FP_LIB, SUBLIBS): new macros.
11167 (all): reworked.
11168 (force): new target to force rebuilds.
11169 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11170 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
11171 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
11172 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
11173 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
11174 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
11175 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
11176 stub/m68kmvme/Makefile.in: updated copyright.
11177 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
11178 (all): reworked. made this the default rule.
11179 (clean): also remove lib.a.
11180 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11181 * stub/Makefile.in: updated copyright.
11182 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
11183 (stub_lib): new macro.
11184 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
11185 RANLIB.
11186 (all): reworked.
11187 (clean, install): assume stub_dir exists.
11188 (Makefile): depend on configure.in. call $(SHELL) rather than
11189 sh. drop redundant ./
11190 * stub/configure.in (stublib): new macro, assign it, edit it into
11191 makefiles.
11192 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
11193 updated copyright.
11194 (all): reworked.
11195 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11196 * libc/Makefile.in (TARGETCRT0): removed.
11197 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
11198 TARGETCRT0.
11199 (SUBDIRS): drop TARGETDEP_DIRS.
11200 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
11201 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
11202 (force): new target to force rebuilds.
11203 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
11204 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
11205 removed.
11206 (clean): assume sys_dir always exists.
11207 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
11208 drop redundant ./
11209 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
11210 libc/locale/Makefile.in, libc/machine/Makefile.in,
11211 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
11212 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
11213 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
11214 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
11215 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
11216 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
11217 libc/signal/Makefile.in, libc/stdio/Makefile.in,
11218 libc/stdlib/Makefile.in, libc/string/Makefile.in,
11219 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
11220 libc/time/Makefile.in, libc/unix/Makefile.in,
11221 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
11222 (TARGETLIB): removed.
11223 (all): reworked.
11224 (clean): also remove lib.a.
11225 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11226 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
11227 new macros.
11228 (SUBDIRS): moved to follow frag inclusion, change stub to
11229 stub_dir.
11230 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
11231 are now set in the libc Makefile.
11232 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
11233 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
11234 TARGETCRT0.
11235 (force): new target to force rebuilds.
11236 * stub/configure.in: determine and set stub_lib for for Makefile.
11237
11238Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
11239
11240 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
11241 crt0.s renamed to crt0.S.
11242 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
11243
11244 * libc/machine/h8300/Makefile.in: Make `all' the default target.
11245 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
11246 h8300h.
11247 * libc/machine/h8300/defines.h: Add macros to handle pointers for
11248 h8300 (16 bits) and h8300h (32 bits).
11249 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
11250 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
11251
11252Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
11253
11254 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
11255 implementation of setjmp and longjmp for the m88k.
11256 * libc/include/machine/setjmp.h: Added __m88000__ case.
11257
11258Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
11259
11260 * configure.in: Recognize h8300h as variant of h8300.
11261
11262Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11263
11264 * libc/include/sys/unistd.h (read, write): get prototypes right.
11265 (sbrk): New prototype.
11266 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
11267 * libc/stdio/local.h: Include unistd.h.
11268 * libc/machine/h8300/syscalls.c: Names have changed.
11269
11270Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
11271
11272 * configure.in: add sys_dir assignment for m88k-bug.
11273
11274Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
11275
11276 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
11277 a.out or elf.
11278 * libc/sys/sparc64: all *.S files: Use new macros.
11279 * libc/sys/sparc64/isatty.c: New file.
11280 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
11281 functions beyond what newlib provides.
11282
11283Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
11284
11285 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
11286 svr4.
11287
11288Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
11289
11290 * libc/include/machine/ieeefp.h: Add support for h8/300h.
11291
11292Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
11293
11294 * configure.in: add m88k.
11295 * libc/include/machine/ieeefp.h: add case for m88k. Also add
11296 sanity check so no one else need ever chase what I did to find
11297 this.
11298
11299 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
11300
11301Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
11302
11303 * doc/makedoc.c: Include <ctype.h>.
11304
11305Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
11306
11307 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11308 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11309 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11310
11311 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
11312
11313Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
11314
11315 * libc/include/errno.h (ENOSYS): Added.
11316
11317 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
11318
11319Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11320
11321 * libc/stdio/fflush.c (fflush): Check for reent struct
11322 initialization.
11323 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
11324
11325Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
11326
11327 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
11328 out of dtoa.c so it doesn't pollute the namespace.
11329 * libc/include/_syslist.h: new file -- mappings from _function to
11330 function, for systems where we can't win (by default, all of them,
11331 until we start updating system calls.)
11332 * libc/syscalls: new directory -- stubs for exporting _function
11333 names as unmodified function names.
11334 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
11335 _syslist.h on all platforms by default, but put hooks in for
11336 fake_sys_dir so we can include it when we've renamed the system
11337 calls.
11338 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
11339 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
11340 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
11341 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
11342 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
11343 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
11344 non ANSI functions to call _function.
11345
11346Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
11347
11348 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
11349 when base 16 is specified. Don't accept non-digits if radix > 10.
11350
11351Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
11352
11353 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
11354
11355Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
11356
11357 * libc/include/sys/stat.h: Surround text after #endif with
11358 comments.
11359
11360Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
11361
11362 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
11363 _malloc_r, _realloc_r, and free_r call the corresponding
11364 non-reentrant functions.
11365
11366 * libm/math/modf.c (modf): We now take the address of ipart, so
11367 don't make it a register variable.
11368
11369Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
11370
11371 * libm/math/*: Rename all xxx_r fns to _xxx_r.
11372
11373Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
11374
11375 * libc/libc.texinfo and embedded docn throughout: formatting
11376 improvements, minor rephrasing for clarity, and improved
11377 reentrancy docn.
11378
11379Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11380
11381 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
11382
11383 * libc/stdio/cvt.c (_licvt): Print the right value on machines
11384 where sizeof(int) != sizeof(long).
11385
11386Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
11387
11388 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
11389 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
11390 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
11391 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
11392 libm/math/matherr.c: changes for better docn formatting (info).
11393
11394 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
11395 libc/reent/reent.tex, libc/signal/signal.tex,
11396 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
11397 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
11398 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
11399 makeinfo node defaulting to get better Info file node structure.
11400 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
11401 Also include a few formerly missing sections (subroutines).
11402
11403 * doc/doc.str: delete fossil expansion for "func"
11404
11405 * default.menu, no-signal.menu: delete.
11406
11407 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
11408 method used to adjust doc for missing "signals" chapter when
11409 signal_dir is empty.
11410
11411Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11412
11413 * configure.in: added testsuite/libm.sac
11414
11415Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
11416
11417 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
11418 code model).
11419
11420Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
11421
11422 * libm/Makefile.in: Use $(MAKE) rather than make, and define
11423 MAKEOVERRIDES to be empty.
11424
11425Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
11426
11427 * configure.in: Don't build mips-*-* with -msoft-float, since that
11428 makes it incompatible with hard floating point.
11429
11430Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11431
11432 * Makefile.in: added recursive 'make check'
11433
11434Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11435
11436 * configure.in: added ./testsuite ./testsuite/libm.paranoia
11437 * ./testsuite/Makefile.in: created
11438 * ./testsuite/libm.paranoia: paranoia tests added
11439
11440Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
11441
11442 * configure.in: For mips-*-* set machine_dir to mips.
11443
11444 * libc/machine/mips: New directory.
11445 * libc/machine/mips/Makefile.in: New file.
11446 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
11447 setjmp and longjmp.
11448 * libc/include/machine/setjmp.h: Added __mips__ case.
11449
11450 * libc/machine/lmips: Removed unused and useless directory.
11451
11452Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
11453
11454 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
11455
11456Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
11457
11458 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
11459 start up).
11460
11461Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
11462
11463 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
11464 SETJMP_H.
11465
11466Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
11467
11468 * libm/test/convert.c: structure member errno -> errno_val.
11469 Must include <errno.h> to use errno, it's a macro now.
11470 * libm/test/math.c: Ditto.
11471 * libm/test/math2.c: Include errno.h.
11472 * libm/test/string.c: Ditto.
11473 * libm/test/test.h: structure member errno -> errno_val.
11474 Remove extern int errno decl.
11475
11476Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
11477
11478 * libc/stdio/Makefile.in: Added dependencies on local header
11479 files.
11480 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
11481 files.
11482
11483Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
11484
11485 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
11486
11487Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
11488
11489 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
11490 Initialize _data.
11491
11492 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
11493 * libc/stdio/local.h: Add prototype for _licvt.
11494
11495 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
11496 instead of malloc,reealloc.
11497
11498 * libc/stdlib/local.h: New file.
11499 * libc/stdlib/efgcvt.c: #include local.h.
11500 (gcvt): Fix call to _gcvt.
11501 * libc/stdlib/ecvtbuf.c: #include local.h.
11502
11503 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
11504 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
11505 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
11506
11507 * libc/stdlib/atexit.c: moved global data to struct _reent.
11508 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
11509
11510 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
11511
11512Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
11513
11514 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
11515 here from ../reent.h.
11516
11517Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
11518
11519 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
11520 should be provided in both libc.a and libm.a.
11521 (libc.a): Depend on targ-include and libm.a. Copy
11522 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
11523 (libm.a): Depend on targ-include.
11524 * configure.in (subdirs): Removed libc/math.
11525
11526Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11527
11528 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
11529
11530Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
11531
11532 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
11533 sys/reent.h instead of reent.h.
11534 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
11535 headers moved to sys/reent.h.
11536 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
11537 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
11538 __need__MAX_SIGNALS defined.
11539 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
11540 std{in,out,err} refer to new _std{in,out,err} members.
11541
11542Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
11543
11544 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
11545 case.
11546
11547Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
11548
11549 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
11550 rather than whatever macro seterrno() has.
11551
11552Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
11553
11554 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
11555 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11556
11557 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
11558 __STDC__.
11559
11560 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
11561 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
11562 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11563
11564 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
11565 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11566
11567 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
11568 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
11569 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
11570 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
11571 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
11572 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
11573 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
11574 renamed to _xxx_r. struct reent_struct renamed to struct _reent
11575 for ANSI. structure members given leading "_" for ANSI. Use
11576 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11577
11578 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
11579 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
11580 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
11581 reent_struct renamed to struct _reent for ANSI.
11582 Structure members given leading "_" for ANSI.
11583 _CONST --> const in prototypes.
11584 Use _HAVE_STDC instead of __STDC__.
11585
11586 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
11587 _xxx_r.
11588 struct reent_struct renamed to struct _reent for ANSI.
11589 Structure members given leading "_" for ANSI.
11590
11591 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
11592 _xxx_r.
11593 struct reent_struct renamed to struct _reent for ANSI.
11594
11595 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
11596 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
11597 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
11598 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
11599 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
11600
11601 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
11602 signal.h, stdio.h, stdlib.h, string.h, time.h}:
11603 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11604 #ifndef _STRICT_ANSI non-ANSI routines.
11605 Reentrant routines renamed from _r_xxx to _xxx_r.
11606 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
11607 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
11608 Clean up namespace (structure members have leading "_").
11609 struct reent_struct renamed to struct _reent for ANSI compliance.
11610 _CONST --> const in function prototypes.
11611
11612 * libc/include/string.h: Add NULL and size_t.
11613
11614 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
11615 unlink, wait, wait4. Reentrant syscall routines close, fork,
11616 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
11617 write.
11618 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
11619 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
11620 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
11621 write.S}: Define reentrant versions.
11622 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
11623 reentrant syscalls.
11624
11625 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
11626
11627 * libc/include/stdlib.h (RAND_MAX): Fix value.
11628
11629Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
11630
11631 * libc/sys/a29khif/_main.c: Removed unnecessary file.
11632 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
11633 VPATH support targets after all: target.
11634
11635 * stub/mvme135/mvme.S: Renamed exceptionhandler to
11636 exceptionHandler, which is what mvme135-stub.c expects.
11637
11638Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
11639
11640 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
11641
11642 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
11643 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
11644 compliant).
11645
11646Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
11647
11648 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
11649 first.
11650 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
11651 _r_write): Ditto.
11652 libc/reent/fstatr.c (_r_fstat): Ditto.
11653 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
11654 libc/reent/sbrkr.c (_r_sbrk): Ditto.
11655 libc/reent/statr.c (_r_stat): Ditto.
11656
11657 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
11658 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
11659 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
11660 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
11661 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
11662 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
11663 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
11664 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
11665 (__swrite): Ditto for _r_lseek, _r_write.
11666 (__sseek): Ditto for _r_lseek.
11667 (__close): Ditto for _r_close.
11668 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
11669
11670 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
11671 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
11672
11673 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
11674 to make reent_struct the first argument (and thus consistent with
11675 the rest of newlib).
11676
11677 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
11678 reference to __STDC__.
11679
11680Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
11681
11682 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
11683 global __cleanup.
11684
11685Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
11686
11687 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
11688 first.
11689 libc/stdio/fclose.c (fclose): Ditto.
11690
11691Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
11692
11693 * Run through indent and rename reentrant routines for ANSI.
11694 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
11695 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
11696 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
11697 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
11698 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
11699 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
11700 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
11701 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
11702 vsprintf.c wbuf.c wsetup.c local.h}
11703
11704 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
11705
11706 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
11707 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
11708 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
11709 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
11710 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
11711 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
11712
11713 * Run through indent.
11714 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
11715 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
11716 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
11717 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
11718 strxfrm.c}
11719
11720 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
11721 localtime.c mktime.c strftime.c time.c}:
11722 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
11723
11724 * Reformatting + renaming (for ANSI, GNU style, consistency).
11725 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
11726 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
11727 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
11728
11729Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
11730
11731 * libc/include/stdio.h (stdin_r): Fix.
11732
11733Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
11734
11735 * Makefile.in: Unexport some variables to keep GNU make from
11736 putting them in the environment and using up needed ARG_MAX space
11737 (a hack is used to let this work with older makes as well).
11738
11739Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
11740
11741 * Makefile.in: Use $(MAKE) rather than make.
11742 (MAKEOVERRIDES): Define to be empty.
11743 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
11744 (libc.a, libm.a): Depend on targ-include.
11745 * host/any (LD): Don't define.
11746 (INCLUDES): Use targ-include.
11747 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
11748 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
11749 * libc/Makefile.in: Use $(MAKE) rather than make.
11750 (MAKEOVERRIDES): Define to be empty.
11751 (FLAGS_TO_PASS): Don't pass LD (it's not used).
11752 (all): Rewrote to be slightly smaller.
11753 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
11754 Define to be empty.
11755 (FLAGS_TO_PASS): Don't pass LD (it's not used).
11756 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
11757
11758Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
11759
11760 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
11761 with errno/errno.c.
11762
11763Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
11764
11765 * Changes for reentrancy.
11766 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
11767 Use ptr->_errno, not errno.
11768 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
11769 libc/stdio/remove.c (remove_r): New function.
11770 libc/stdio/rename.c (rename_r): New function.
11771 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
11772 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
11773 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
11774 reentrant versions of system calls.
11775 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
11776 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
11777 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
11778 libc/stdio/findfp.c: Include <string.h>.
11779 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
11780 "local.h".
11781 libc/stdio/wbuf.c: Include "fvwrite.h"
11782
11783 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
11784 <string.h>.
11785 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
11786 (NULL): Don't define if already defined.
11787 libc/stdlib/system.c: Call reentrant versions of system calls.
11788 (system_r): New function.
11789
11790 * Changes for reentrancy.
11791 libc/include/_ansi.h (_PARAMS): New macro.
11792 libc/include/errno.h: Define errno as a macro that calls __errno.
11793 (__errno_r): New macro for reentrant code.
11794 libc/include/math.h: Include reent.h. Declare many reentrant
11795 functions.
11796 (signgam): Now a macro, not a variable.
11797 (struct exception): Added err field.
11798 libc/include/reent.h: Don't declare __sglue. Added function
11799 declarations.
11800 (struct reent_struct): Moved errno to beginning. Added _signgam.
11801 libc/include/stdio.h, libc/include/stdlib.h: Added function
11802 declarations.
11803
11804 * More reentrancy hacking.
11805 libc/errno/errno.c (__errno): New function.
11806 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
11807 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
11808 files.
11809
11810 * Added many new reentrant functions to libm/math/*.
11811 libm/math/error.c (__matherror): Added reent_struct pointer
11812 argument. Changed all callers.
11813 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
11814 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
11815 libm/math/tan.h: Removed obsolete unused header files.
11816
11817 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
11818
11819 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
11820
11821Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11822
11823 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
11824 delay slots.
11825
11826Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11827
11828 * libc/libc.texinfo: comment out reentrancy chapter (duh)
11829
11830Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11831
11832 * libc/reent/reent.tex: New file. (text from
11833 newlib/libc/libc.texinfo)
11834 * libc/stdio/tmpnam.c: fixed doc typo
11835 * libc/stdlib/rand.c: fixed doc typo
11836
11837Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11838
11839 * libc/reent/reent.tex: New file. (text from
11840 newlib/libc/libc.texinfo)
11841
11842Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11843
11844 support for reentrancy
11845 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
11846 new files
11847 * libc/errno/errno.c, libc/include/ieeefp.h,
11848 libc/include/locale.h, libc/include/reent.h,
11849 libc/include/signal.h, libc/include/stdio.h,
11850 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
11851 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
11852 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
11853 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
11854 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
11855 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
11856 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
11857 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
11858 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
11859 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
11860 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
11861 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
11862 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
11863 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
11864 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
11865 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
11866 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
11867 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
11868 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
11869 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
11870 libc/time/strftime.c: modify to provide reentracy.
11871
11872 new routines:
11873 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
11874 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
11875 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
11876 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
11877 mstats_r, realloc_r, localeconv_r, setlocale_r
11878
11879Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
11880
11881 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
11882 libc/include/sys/config.h, libc/include/sys/signal.h,
11883 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
11884 provided macros (such as m68000), use the ansi version
11885 (__m68000__) so that the library can be used with code compiled
11886 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
11887 and sparc.
11888
11889Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
11890
11891 * configure.in (sparc*): Don't set -fsoft-float for sparc
11892 configurations. Do set -fsoft-float for sparclite configurations.
11893
11894Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
11895
11896 * default.menu, no-signal.menu: alternate forms of libc main menu
11897 (in newlib rather than newlib/libc due to configuration restrictions)
11898
11899 * configure.in: select one of the two menus above, link to
11900 libc.menu
11901
11902 * libc/libc.texinfo: include menu from separate file
11903
11904Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
11905
11906 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
11907 (info): Split long shell command in half.
11908 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
11909 sub-makes, just CHEW and TARGETDOC.
11910 (targetdep.tex): Removed now special handling of sys and machine
11911 subdirectories, made obsolete some time ago.
11912 * libc/machine/Makefile.in (doc): Don't pass everything to
11913 sub-make, just CHEW and TARGETDOC.
11914 (Makefile): New target.
11915 * libc/sys/Makefile.in (Makefile): New target.
11916
11917Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
11918
11919 * Makefile.in (here and most subdirectories): Only pass down CHEW
11920 and TARGETDOC when making info, not for other targets.
11921
11922 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
11923 $(AR_FLAGS) rather than $(ARUPDATE).
11924
11925Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
11926
11927 * Try to reduce command line length:
11928 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
11929 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
11930 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
11931 (info): Pass CHEW to other subdirs.
11932
11933Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
11934
11935 * configure.in: add signal_dir, like unix_dir, but by default it
11936 is set to "signal" so that a29khif can turn it off (since a29khif
11937 has raise() as part of machine-specific signal.s.)
11938
11939Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11940
11941 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
11942 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
11943 correctly.
11944 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
11945 libc/stdio/vfprintf: type lint.
11946 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
11947 initialzation code.
11948 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
11949
11950Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
11951
11952 * stub/mvme135/mvme135-asm.S: new file.
11953 stub/mvme135mvme135-stub.c: moved all assembler routines into
11954 mvme135-asm.S.
11955 stub/mvme135/Makefile.in: build mvme135-stub.o.
11956
11957Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
11958
11959 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
11960 sub-Makefiles instead, to try to avoid line length limitations.
11961
11962Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
11963
11964 * libc/include/unistd.h (read, write): Use void* instead of
11965 char*.
11966
11967Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
11968
11969 * stub/go32/resetpc: sample script to send a reset packet to the
11970 stub
11971
11972 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
11973 DOS environment, which compiles with Turbo C.
11974
11975 * stub/go32/DSER32.LNK: new file, linker commands for serial
11976 remote stub.
11977
11978 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
11979 start up message to identify version; call set_debug_traps.
11980
11981 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
11982 keyboard interaction); call handle_exception() in go_til_stop,
11983 rather than return, so that the remote stub gets control.
11984
11985 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
11986 rename, rather than mv), set flags that work with current Turbo C,
11987 including using the /3 flag; also, add commands to build dser32.
11988
11989 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
11990 default Turbo C installation (\tc rather than \usr)
11991
11992 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
11993 "&..."
11994
11995Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11996
11997 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
11998
11999Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12000
12001 * libc/stdio/cvt.c (licvt): new function to convert ints when
12002 sizeof(int) != sizeof(long).
12003
12004 * libc/include/stdio.h: added prototype for iprintf.
12005 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
12006
12007Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
12008
12009 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
12010 __REGISTER_PREFIX__.
12011
12012Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
12013
12014 * libc/sys/m68kbare: moved into stub directory.
12015
12016Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
12017
12018 * configure.in, Makefile.in: created new directory stub, to hold
12019 sample code for specific targets.
12020
12021Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
12022
12023 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
12024 in the unified libc/include/sys/fcntl.h.
12025
12026Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
12027
12028 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
12029 printed .01, not 0.01.
12030
12031Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
12032
12033 * configure.in: compile with -m68000 for m68* targets.
12034
12035Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
12036
12037 * libm/math/remainder.c (remainder): document the svr4 and sunos
12038 references used to construct the function.
12039
12040Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
12041
12042 * libm/math/remainder.c (rint, remainder): fix old typos.
12043 * libm/math/Makefile.in: actually build remainder.c (functions
12044 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
12045 page.)
12046
12047Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
12048
12049 * libc/string/bcopy.c: BSD version works on overlapping strings,
12050 so ours should too.
12051
12052 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
12053 ("SHELL").
12054
12055Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
12056
12057 * Makefile.in (docs): new target.
12058
12059Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
12060
12061 * libc/include/sys/times.h: define clock_t as required by POSIX.
12062 libc/include/time.h: protect clock_t from multiple definitions.
12063
12064Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12065
12066 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
12067 does not need more than the original three iterations to get
12068 within 1 ulp. (Paranoia tests for rounding to better than that,
12069 but further iterations *don't* help, only more subtle changes
12070 can.)
12071
12072Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
12073
12074 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
12075 were doing nothing useful.
12076
12077Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
12078
12079 * configure.in: define MALLOC_PROVIDED for vxworks targets;
12080 removed sys_dir settings of vxworks68 and vxworks960.
12081 host/any: don't pass -nostdinc to gcc, since newlib no longer
12082 provides all required header files.
12083
12084 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
12085 is not defined; this provides a hook for VxWorks.
12086
12087Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12088
12089 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
12090 buffer if buf is NULL, don't do it here -- it is already being
12091 done by makebuf elsewhere in stdio.
12092
12093Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
12094
12095 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
12096 that C programs can call functions without using initial
12097 underscores.
12098
12099Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
12100
12101 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
12102
12103Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
12104
12105 * configure.in: set TARGET_CFLAGS for certain CPU types to
12106 -msoft-float.
12107
12108Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12109
12110 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
12111
12112Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
12113
12114 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
12115 m68k*-unknown-coff.
12116
12117Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
12118
12119 * libc/include/stdio.h: define __need___va_list before including
12120 <stdarg.h>, to avoid defining va_arg, et. al.
12121
12122Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
12123
12124 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
12125 (don't cd to the user's home directory).
12126
12127 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
12128 In general this is the wrong thing to do, but I can't get around
12129 GNU make's insistence on passing command line arguments any other
12130 way.
12131
12132Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
12133
12134 * configure.in: always configure the libc/sys directory, since it
12135 now provides a required documentation file.
12136
12137 * Makefile.in: replaced all instances of $(MAKE) with make. In
12138 general this is the wrong thing to do, but I can't get around GNU
12139 make's insistence on passing command line arguments any other way.
12140
12141Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
12142
12143 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
12144 terminated.
12145
12146 * libc/stdio/local.h: include <stdarg.h> to define va_list.
12147 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
12148
12149 * libc/include/float.h, libc/include/stdarg.h,
12150 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
12151 versions instead.
12152 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
12153 <stdarg.h>, not from <machine/types.h>. Protect definition of
12154 NULL.
12155 libc/include/time.h: get size_t from stddef.h. Protect definition
12156 of NULL.
12157 libc/include/machine/limits.h: override gcc <limits.h> by defining
12158 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
12159 get correct INT_MIN and LONG_LONG values.
12160 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
12161 size_t or va_list at all; they're now gotten from stddef.h
12162 instead.
12163 libc/include/machine/varargs.h: removed; use gcc version instead.
12164 libc/include/sys/types.h: explicitly include <machine/types.h>.
12165
12166 * libm/math/sqrt.h: using the fp-bit routines appears to require
12167 more iterations.
12168
12169 * Makefile.in, host/any: let system include files override machine
12170 include files.
12171
12172Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12173
12174 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
12175 override _*_T_ definitions defaulted here.
12176
12177Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
12178
12179 * Makefile.in (install): install the include files in
12180 $(tooldir)/include, not $(exec_prefix)/include.
12181
12182Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
12183
12184 * Makefile.in (install): fixed typo, and changed install to not
12185 force rebuild of libc.a and libm.a.
12186
12187Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
12188
12189 * libc/sys/a29khif/*: Changed all .include's to include
12190 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
12191 that they will be installed for the user.
12192
12193 * Makefile.in (all): create targ-include, a directory holding the
12194 machine and system specific header files during the build.
12195 (install): fixed installation of machine and system specific
12196 header files.
12197
12198 * Makefile.in: fixed comment.
12199 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
12200 we can pass $(INCLUDES) to it.
12201
12202Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
12203
12204 * libc/include/sys/param.h: new generic file, which may be
12205 overridden for specific systems.
12206
12207 * libc/include/sys/signal.h: define all ANSI signal names, and
12208 NSIG (which is not ANSI) for a29k.
12209
12210Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
12211
12212 * Makefile.in: don't pass down arguments the lower level makes
12213 will not need.
12214 * libc/Makefile.in: recurse directly, rather than using subdir_do,
12215 in hopes of avoiding argument length limits.
12216 * libm/Makefile.in: recurse directly, rather using subdir_do, in
12217 hopes of avoiding argument length limits.
12218
12219Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
12220
12221 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
12222 mode_t is defined.
12223
12224Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
12225
12226 * Fixed make info and make install-info for newlib, changing most
12227 Makefile.in and several *.tex files. Moved doc directory from
12228 libc to top level.
12229
12230 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
12231 Should be rewritten.
12232
12233 * libc/string/strings.tex: renamed node index to node index
12234 function, so that it does not conflict with the top level index
12235 node.
12236
12237 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
12238
12239Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
12240
12241 * Overhauled general configuration for newlib. Eliminated all
12242 target dependent Makefile fragments. Create libraries in newlib
12243 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
12244 than CROSS_CC, et. al. Broke make docs; will fix later.
12245
12246 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
12247 Should be rewritten.
12248
12249Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
12250
12251 * libc/configure.in: cleaned up somewhat; switch on ${target}
12252 rather than ${target_alias}.
12253 * libm/configure.in: cleaned up somewhat; switch on ${target}
12254 rather than ${target_alias}.
12255
12256 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
12257 * libc/include/ctype.h: marked _ctype_ as _CONST.
12258
12259 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
12260 _CONST.
12261
12262 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
12263 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
12264 libc/stdio/gets.c (gets): removed non-ANSI warning message.
12265 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
12266
12267 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
12268 bigtens, tinytens): marked arrays _CONST.
12269 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
12270 rather than a static variable.
12271
12272 * libc/time/asctime.c (asctime), libc/time/localtime.c
12273 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
12274 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
12275 mname_len, mname): Marked static arrays _CONST.
12276
12277 * libm/math/gamma.h: made local variables non-static.
12278
12279 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
12280 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
12281 _CONST.
12282
12283 * libm/math/constants.c: removed file, because the constants it
12284 defined were never referenced.
12285 libm/math/Makefile.in: removed references to constants.c.
12286 libm/math/mathimpl.h: removed declarations of constants.
12287
12288Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
12289
12290 * libc/include/machine/varargs.h: only call __builtin_saveregs if
12291 it is sensibly defined in libgcc2. Checks preprocessor defines,
12292 which is not a good solution.
12293
12294 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
12295
12296 * libm/frexp.c: handle denormalized numbers as arguments.
12297
12298 * libm/math/Makefile.in: added some dependencies for .c files
12299 which include local .h files.
12300
12301Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
12302
12303 * libc/configure.in: set target_alias for OSE*. Replace
12304 target_makefile_frag if it is blank.
12305
12306 * libc/Makefile.in: make sure everything is passed to subsidiary
12307 makes; create all directories when installing.
12308
12309 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
12310 CROSS_ARUPDATE instead of AR.
12311
12312 * libm/configure.in: set target_alias for OSE*. Replace
12313 target_makefile_frag if it is blank.
12314
12315 * libm/Makefile.in: make sure everything is passed to subsidiary
12316 makes; create all directories when installing.
12317
12318Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
12319
12320 * add following change from libc copy.
12321
12322Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12323
12324 * libc/libc.texinfo: make copyright disclaimers appear on back of
12325 title page; make format of same slightly less ugly; avoid using
12326 underbars in section headings (avoids nasty texinfo bug in table
12327 of contents).
12328
12329 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
12330 comments only) avoid using underbars in section headings
12331
12332 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12333 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
12334 changes in comments only): shorten headings ieeefp/infinity.c,
12335 ieeefp/isnan.c: (doc, comments only) more informative headings
12336
12337 * libc/math/bessel.c: (doc, comments only) shorten heading
12338
12339 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
12340 (doc, comments only) shorten headings
12341
12342 * libc/time/localtime.c (doc, comments only): shorten headings
12343
12344 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12345 isnan
12346 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
12347 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
12348 headings
12349 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
12350 only) more informative headings
12351 * libm/math/bessel.c: (doc, comments only) shorten heading
12352
12353Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12354
12355 * .../Makefile.in: use CROSS_ARUPDATE consistently.
12356 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
12357 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
12358 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
12359 defined, the one from the .mt file will be correct.
12360 * libc/include/machine, libc/include/sys: created, and populated
12361 with common files from machine/*/machine. ifdefs were used for
12362 most, typically by handling exceptions first and then filling in
12363 defaults. Files with D.J. Delorie copyright #included rather than
12364 copied. Most files in include/sys really were the same in the
12365 original.
12366 * libc/include/...: cleaned up use of _EXFUN.
12367 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
12368 it with double quotes, not angles.
12369
12370Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
12371
12372 * libc/Makefile.in: always create installation directories.
12373
12374Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12375
12376 * libc/configure.in: handle host properly (using canonical
12377 triples), better error message for the case of target not found
12378
12379Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
12380
12381 * libc/Makefile.in (insincdir): Ensure this directory exists
12382 before attempting installation.
12383
12384Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12385
12386 * libc/stdlib/assert.c: now calls abort like it should
12387 * libc/sys/a29khif: many many patches for 29khif work
12388 * libc/machine/i386: gnulib2 expanded there.
12389
12390Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12391
12392 Added accurate fp conversion routines to stdlib, moved dcvt from
12393 stdio to stdlib and called it ecvtbuf:
12394 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
12395 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
12396 routines
12397 * libc/libc.texinfo: Modifed to include the copyright info from
12398 the mprec files
12399 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
12400 * libc/test/ : many vector which tested for the implementation
12401 defined returns of strange conversion requests have been updated
12402 to relflect the new implementation
12403
12404Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12405
12406 * libc/libc.texinfo: new chapter on variable arg lists
12407 (stdarg.h/varargs.h)
12408 * libc/libc.texinfo: new title
12409 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
12410 (doc only) shorter headings for better formatting.
12411
12412Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12413
12414 * libc/libc.texinfo: three more info menu entries
12415 * libc/locale/locale.tex: new chapter
12416 * libc/locale/locale.c: new doc for setlocale, localeconv
12417 * libc/locale/Makefile.in: use new locale doc
12418 * libc/signal/signal.tex: new chapter
12419 * libc/signal/raise.c, libc/signal/signal.c: new doc
12420 * libc/signal/Makefile.in: use new doc
12421 * libc/time/time.tex: new chapter
12422 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
12423 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
12424 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
12425 * libc/time/Makefile.in: use new doc
12426
12427Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12428
12429 * libm/math/log1p.c: split to use the new function way of float
12430 function definition. math/log1p.h deleted
12431 * libm/math/scalb.c: obsolete and deleted
12432 * libm/math/scalbn.c: created from part log1p.c
12433 * libm/math/Makefile.in: know about log1p and scalbn
12434
12435Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12436
12437 * libc/ctype/isupper.c: revise doc;
12438 libc/ctype/ctype.tex: use doc from isupper.c
12439
12440 * libc/string/bzero.c: new doc
12441
12442Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12443
12444 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
12445 new doc
12446 * libc/stdlib/Makefile.in: extract new doc
12447 * libc/stdlib/stdlib.tex: use new doc
12448
12449 * libc/string/strerror.c: expanded doc.
12450
12451 * libc/stdio/Makefile.in: extract doc from more files
12452 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
12453 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
12454 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
12455 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
12456 libc/stdio/vsprintf.c: new doc
12457 * libc/stdio/stdio.tex: use new doc
12458
12459Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12460
12461 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
12462 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
12463 finitef functions.
12464 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
12465 time ago.
12466
12467 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
12468 * libc/stdio/setbuf.c: added ansi style definition.
12469 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
12470 buffer if none provided.
12471 * libc/stdio/tmpfile.c: lint
12472 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
12473 rather than using static, also make sure file isn't already
12474 present. Uses P_tmpdir. (tempnam): rewritten to use new
12475 subroutine, and uses P_tmpdir.
12476 * libc/stdio/siprintf.c: created
12477
12478Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12479
12480 Release 1.03 for NEC, major mods. Main differences from release
12481 1.02::
12482
12483 More tests in test/:
12484 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
12485 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
12486 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
12487 get/set mask, get/set sticky and get/set roundtoi. Tests
12488 that setting the bits changes the way arithmetic is done.
12489 * string.c: added test to make sure memcmp does it with unsigned
12490 chars.
12491 * test.c: cleaned up and removed lint.
12492 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
12493 dvec.c: tests for string to value conversions, sprintf, scanf,
12494 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
12495 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
12496 rounding in sprintf too.
12497 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
12498 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
12499 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
12500 and function form.
12501 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
12502 powf
12503
12504 In the library:
12505 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
12506 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
12507 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
12508 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
12509 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
12510 than sprintf.
12511 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
12512 * Method of producting float versions of double functions has
12513 changed, functions will be modified gradually. So far:
12514 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
12515 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
12516 altered
12517 * libc/string/memcmp.c: now uses unsigned chars
12518 * libc/string/bcmp.c, libc/string/strcpy.c,
12519 libc/stsring/strxfrm.c: fixed doc
12520 * libc/sys/sysvnecv70.tex: fix example of sbrk code
12521\f
12522Local Variables:
12523version-control: never
12524End:
This page took 1.403223 seconds and 5 git commands to generate.