37eb4ad5c96308a1602b9d790421dac199aff594
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1999-07-30  Andreas Schwab  <schwab@suse.de>
2
3         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
4         definition.
5         (__get_nprocs): Use it.
6         (__get_nprocs_conf): Define as separate function if
7         GET_NPROCS_CONF_PARSER is defined.
8         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
9
10         * include/sys/sysinfo.h: New file.
11         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
12         interface.
13         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
14
15 1999-07-30  H.J. Lu  <hjl@gnu.org>
16
17         * libio/iofflush.c (fflush_unlocked): Weak aliase if
18         _IO_MTSAFE_IO is not defined.
19         * libio/clearerr.c (clearerr_unlocked): Likewise.
20         * libio/feof.c (feof_unlocked): Likewise.
21         * libio/ferror.c (ferror_unlocked): Likewise.
22         * libio/fputc.c (fputc_unlocked): Likewise.
23         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
24         * libio/getchar.c (getchar_unlocked): Likewise.
25         * libio/putc.c (putc_unlocked): Likewise.
26         * libio/putchar.c (putchar_unlocked): Likewise.
27
28 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
29
30         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
31           svc_max_pollfd and svc_pollfd to GLIBC_2.2
32         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
33           for svc_run/poll interface.
34         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
35         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
36           global variable.
37         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
38           rewrite other svc_getreq* functions to use svc_getreq_common.
39         * sunrpc/svc_run.c: Use poll().
40
41 1999-07-30  Andreas Schwab  <schwab@suse.de>
42
43         * Makerules: Put sysd-versions and Versions.all on
44         postclean-generated instead of common-generated.
45
46 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
47
48         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
49         around and CLOCKS_PER_SEC is 1e6.
50
51 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
52
53         * configure.in: Add test for local label subtraction.
54         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
55         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
56         labels to reduce number of runtime relocations and move jump
57         tables in read-only seciton.
58
59         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
60         assignment cannot be moved.
61
62 1999-07-29  H.J. Lu  <hjl@gnu.org>
63
64         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
65         if no threads are used.
66
67         * libio/iofwrite.c: Add weak alias for _unlocked function if not
68         _IO_MTSAFE_IO.
69         * libio/iofread.c: Likewise.
70         * libio/iofgets.c: Likewise.
71         * libio/iofputs.c: Likewise.
72
73         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
74         definition.
75
76         * stdlib/mbtowc.c: Include <string.h>.
77         * stdlib/wctomb.c: Likewise.
78         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
79         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
80
81         * misc/mntent_r.c: Include <alloca.h>.
82         * elf/dl-runtime.c: Likewise.
83
84 1999-07-29  Andreas Schwab  <schwab@suse.de>
85
86         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
87         all floating point formats supported by gcc.  Error out for
88         unhandled precisions.
89         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
90         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
91         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
92
93 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
94
95         * sysdeps/generic/setenv.c: Move setenv code in new function
96         __add_to_environ.  Add new parameter specifying already
97         constructed string for the environment.
98         (setenv): Call __add_to_environ with new parameter set to NULL.
99         (unsetenv): Really test all elements for duplicated name.  Missed those
100         cases where the two are following each other.
101         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
102         * include/stdlib.h: Add prototype of __add_to_environ.
103         * stdlib/tst-environ.c: New file.
104         * stdlib/Makefile (tests): Add tst-environ.
105
106         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
107
108         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
109         argument in realloc call.
110         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
111         Likewise.
112         Reported by Danny Braniss <danny@cs.huji.ac.il>.
113
114 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
115
116         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
117         to print.
118         * misc/efgcvt_r.c: Likewise.
119         * misc/qefgcvt.c: Likewise.
120         * misc/qefgcvt_r.c: Likewise.
121         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
122         anymore.
123
124 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
125
126         * manual/math.texi (FP Function Optimization): Mention drawbacks.
127
128 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
129
130         * stdlib/mblen.c: Use static state.
131         Reported by Bruno Haible <haible@ilog.fr>.
132
133         * stdlib/mbtowc.c: Reset state for s == NULL.
134         * stdlib/wctomb.c: Likewise.
135         Reported by Bruno Haible <haible@ilog.fr>.
136
137         * stdlib/mbstowcs.c: Do not use global state.
138         Reported by Bruno Haible <haible@ilog.fr>.
139
140 1999-07-28  Andeas Schwab  <schwab@suse.de>
141
142         * iconvdata/Makefile: Don't try to run iconv tests when cross
143         compiling.
144
145 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
146
147         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
148         assembler code to switch stacks and call init1 outside this
149         function.  Inside `init' the code was optimized away by gcc
150         2.95 since it was "clearly" unreachable.
151         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
152         Do something similar for the trampoline code.
153
154 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
155
156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
157         for the hinted protocol.
158
159 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
160
161         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
162
163 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
164
165         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
166         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
167         * elf/dl-load.c (_dl_map_object): Likewise.
168         * elf/do-lookup.h (do_lookup*): Likewise.
169         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
170         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
171         as uint64_t.
172         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
173
174 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
175
176         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
177         * sysdeps/generic/getpgrp.c: Likewise.
178         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
179         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
180         Patch by John Tobey <jtobey@banta-im.com>.
181
182         * sysdeps/posix/wait3.c: Help compiling in presence of
183         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
184
185 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
186
187         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
188         as much as possible. Declare them using .register pseudo-op if they
189         are still used.
190         * sysdeps/sparc/sparc64/lshift.S: Likewise.
191         * sysdeps/sparc/sparc64/memchr.S: Likewise.
192         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
193         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
194         * sysdeps/sparc/sparc64/memset.S: Likewise.
195         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
196         * sysdeps/sparc/sparc64/rshift.S: Likewise.
197         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
198         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
199         * sysdeps/sparc/sparc64/strcat.S: Likewise.
200         * sysdeps/sparc/sparc64/strchr.S: Likewise.
201         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
202         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
203         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
204         * sysdeps/sparc/sparc64/strlen.S: Likewise.
205         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
206         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
207         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
208         * sysdeps/sparc/sparc64/strspn.S: Likewise.
209         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
210         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
211         Optimize trampoline code for .plt4-.plt32767.
212         Fix trampolines for .plt32768+.
213
214 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
215
216         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
217         -mcpu=v8.
218         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
219         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
220         libc's private use (as assembly routine clobber it anyway).
221
222 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
223
224         * README.template (configurations): The crypt add-on has a new
225         ftp site.
226         * manual/install.texi (Installation): Likewise.
227
228 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
229
230         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
231         requires to have a full definition but we wait for a bug report
232         based on the test suite.
233
234         * sysdeps/generic/clock_getres.c: New file.
235         * sysdeps/generic/clock_gettime.c: New file.
236         * sysdeps/generic/clock_settime.c: New file.
237         * sysdeps/generic/timer_create.c: New file.
238         * sysdeps/generic/timer_delete.c: New file.
239         * sysdeps/generic/timer_getoverr.c: New file.
240         * sysdeps/generic/timer_gettime.c: New file.
241         * sysdeps/generic/timer_settime.c: New file.
242
243         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
244         CLOCK_REALTIME, and TIMER_ABSTIME.
245         * sysdeps/mach/hurd/bits/time.h: Likewise.
246         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
247         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
248
249         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
250
251         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
252         si_timer2.
253
254         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
255
256         * time/Makefile (routines): Add clock_getres, clock_gettime,
257         clock_setres, timer_create, timer_delete, timer_getoverr,
258         timer_gettime, and timer_settime.
259
260         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
261         POSIX.1b.  Add prototypes for clock and timer functions.
262
263 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
264
265         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
266         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
267
268 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
269
270         * stdlib/wcstombs.c: Do not use global state.
271         Reported by Bruno Haible <haible@ilog.fr>.
272
273         * wcsmbs/wctob.c: Avoid sign extension when returning character.
274         Reported by Bruno Haible <haible@ilog.fr>.
275
276         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
277         of wide characters to convert do it right and don't overestimate
278         by multiplying with MB_CUR_MAX.
279         Reported by Bruno Haible <haible@ilog.fr>.
280
281 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
282
283         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
284         (__stpcpy_small): Likewise.
285         Union has no __uc member but __c.
286
287 1999-07-26  Andreas Schwab  <schwab@suse.de>
288
289         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
290
291 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
292
293         * libio/iofclose.c (_IO_new_fclose): Only fall back on
294         _IO_old_fclose if doing versioning.
295
296         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
297         them appropriately.
298         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
299
300         * misc/mntent_r.c: Allow spaces and tabs in entry names by
301         encoding these characters.
302         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
303
304         * string/bits/string2.h: Fix aliasing problems.
305         * sysdeps/i386/i486/bits/string.h: Likewise.
306         * sysdeps/i386/bits/string.h: Likewise.
307
308 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
309
310         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
311         * elf/rtld.c (dl_main): Don't call malloc() between
312         re-relocating the dynamic linker and running the application's crt0.
313
314 1999-07-21  Paul D. Smith  <psmith@gnu.org>
315
316         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
317         glob.h to get __P() macro.
318
319         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
320         not ANSI.
321         (__strchrnul): This won't exist outside GLIBC, so create one.
322
323 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
324
325         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
326         __ino64_t should be 32bit unsigned type on sparc32.
327         Define __off64_t to __quad_t instead of __int64_t.
328         Make __pic_pid_t unsigned on sparc32.
329
330 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
331
332         * localedata/tst-rpmatch.sh: Use "&" instead of "ยง" to avoid a bug
333         in bash 2.03.
334
335 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
336
337         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
338         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
339
340 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
341
342         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
343         accesses.
344
345         * resolv/res_send.c: Add locks for res_send and res_close use.
346
347         * elf/Makefile (dl-routines): Add preinit.
348         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
349         * elf/link.h (struct link_map): Add new field l_preinitcount.
350         * elf/dl-preinit.c: New file.
351         * elf/dynamic-link.h: Initialize l_preinitcount.
352         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
353
354         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
355         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
356         and l_initcount.
357         * elf/dl-init.c: Handle DT_INIT_ARRAY.
358         * elf/dynamic-link.h: Change parameters.  Now only get link_map
359         pointer.  Calculate l_initcount.
360
361         * elf/link.h (struct link_map): Add l_runpath_dirs.
362         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
363         * elf/dl-load.c: Pretty print.
364         (decompose_rpath): Take new parameter with info from where the path
365         comes.  Pass it the fillin_rpath.
366         (_dl_init_paths): Initialize l_runpath_dirs.
367         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
368         Search using RUNPATH after LD_LIBRARY_PATH.
369         * elf/dl-support.c: Adjust comment.
370         * elf/rtld.c: Adjust help message.
371
372 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
373
374         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
375         interface.
376
377 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
378
379         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
380         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
381         ever used this, so I'm not going to worry about compatibility.
382         [__USE_GNU] (IUCLC, OLCUC): New macros.
383
384 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
385
386         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
387
388         * elf/elf.h: Add ET_LOOS and ET_HIOS.
389         Add various EM_* constants.
390         Add SHN_LOOS and SHN_HIOS.
391         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
392         Add SHF_MERGE and SHF_STRINGS.
393         (ElfXX_Sym): Update description of st_other field.
394         Add STT_COMMON.
395         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
396         Add STV_* macros.
397         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
398         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
399         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
400
401         * posix/unistd.h: Move declaration of __libc_enable_secure to...
402         * include/unistd.h: ...here.
403
404         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
405         * elf/dl-deps.c (expand_dst): Likewise.
406
407         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
408         based on DT_FLAGS value.
409
410         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
411         Add test for symbols marked STV_HIDDEN.
412         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
413         add undef_map.  Compute reference_name locally.  Update call to
414         do_lookup.
415         (_dl_lookup_symbol_skip): Likewise.
416         (_dl_lookup_versioned_symbol): Likewise.
417         (_dl_lookup_versioned_symbol_skip): Likewise.
418         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
419         * elf/dl-runtime.c: Likewise.
420         * elf/dl-sym.c: Likewise.
421         * elf/dl-symbol.c: Likewise.
422         * elf/ldsodefs.h: Adjust prototypes.
423
424         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
425         handle appropriately.  Add comment about DT_TEXTREL.
426         * elf/dl-runtime.c: Likewise.
427
428 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
429
430         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
431         * elf/ldsodefs.h: Declare it.
432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
433         instead of assert.
434         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
436         (elf_machine_lazy_rel): Likewise.
437         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
438         (elf_machine_lazy_rel): Likewise.
439         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
440         (elf_machine_lazy_rel): Likewise.
441         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
442         (elf_machine_lazy_rel): Likewise.
443         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
444         (elf_machine_lazy_rel): Likewise.
445         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
446         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
447         (elf_machine_lazy_rel): Likewise.
448         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
449         (elf_machine_lazy_rel): Likewise.
450         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
451         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
452         _dl_reloc_bad_type instead of _dl_signal_error.
453         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
454
455 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
456
457         * sysdeps/mach/_strerror.c: Include <libintl.h>.
458
459 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
460
461         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
462         hurd_signal_preemptor matches but its `preemptor' field is null, use
463         its `handler' field directly.  This is to comply with behavior
464         documented in <hurd/sigpreempt.h>.
465
466 1999-07-21  Andreas Schwab  <schwab@suse.de>
467
468         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
469         when reading from write-only stream.
470         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
471         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
472
473 1999-07-21  Andreas Schwab  <schwab@suse.de>
474
475         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
476         NULL.
477
478 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
479
480         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
481         <hurd/fd.h>.
482         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
483         <hurd/fd.h>.
484         (__libc_write): Call __pwrite instead of __pread.
485
486 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
487
488         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
489         __vm_allocate calls.
490
491         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
492         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
493
494         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
495         _hurd_fd_read with new OFFSET argument set to -1.
496         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
497         to -1.
498
499 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
500
501         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
502         descriptor table sent in the RPC.
503
504 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
505
506         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
507         bill@taniwha.org [PR libc/1211].
508
509 1999-07-19  Andreas Schwab  <schwab@suse.de>
510
511         * libio/Makefile (routines): Add fwprintf.
512
513         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
514         * math/w_sqrt.c: Moved to ...
515         * sysdeps/generic/w_sqrt.c: ... here.
516         * math/w_sqrtf.c: Moved to ...
517         * sysdeps/generic/w_sqrtf.c: ... here.
518
519         * Make-dist (generic-dirs): New variable.
520         (try-sysdeps, +sysdep-names): Use it.
521         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
522         instead of $(lib)-routines.
523         * elf/Makefile (distribute): Add dl-cache.h.
524         * db2/Makefile (distribute): Add all new files.
525         * iconvdata/Makefile (distribute): Don't distribute CVS
526         directory.
527         * math/Makefile (distribute): Remove machine/endian.h, add
528         math_ldbl.h.
529         * stdio-common/Makefile (distribute): Add _itowa.h.
530         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
531         * sysdeps/gnu/Dist: Add eval.c
532         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
533         dlfcn]: Add to this instead of libdl-routines.
534         * sysdeps/ieee754/ldbl-128/Dist: New file.
535         * sysdeps/mach/hurd/Dist: Add siglist.h
536         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
537
538 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
539
540         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
541
542         * inet/Makefile (routines): Add getipnodebyad and freehostent.
543         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
544         * inet/freehostent.c: New file.
545         * inet/getipnodebyad.c: New file.
546         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
547         and getipnodebyname.  The latter comes soon.
548         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
549         Add support for getipnode* functions.
550
551         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
552         Set h_aliases to NULL and not to a pointer to an array with a NULL
553         pointer following XNS 5.2.
554
555         * posix/sched.h: Remove internal interfaces.
556         * include/sched.h: Add internal interfaces.
557
558         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
559
560         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
561
562         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
563         and return an error in this case.
564         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
565         available.
566
567 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
568
569         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
570         1999-07-17 and adjust len parameter.
571         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
572         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
573         * manual/socket.texi (Host Names): Likewise.
574         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
575         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
576         Likewise.
577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
578         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
579         (ht_gethostbyaddr): Likewise.
580         (_gethtbyaddr): Likewise.
581
582 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
583
584         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
585         gethostbyaddr_r.
586         * include/netdb.h: Likewise.
587         * inet/gethstbyad.c: Correct type of len parameter.
588         * inet/gethstbyad_r.c: Likewise.
589
590         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
591
592 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
593
594         * include/libc-symbol.h: Clean up definitions of weak_alias,
595         strong_alias, symbol_version, etc. etc.
596         * posix/getopt.h: Use ctype.h to get features.h included, and don't
597         include it at all if __GNU_LIBRARY__ is already defined.
598
599 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
600
601         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
602
603         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
604
605         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
606         type for tv_usec element.
607         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
608         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
609         * sysdeps/generic/bits/time.h: Likewise.
610         * sysdeps/mach/hurd/bits/time.h: Likewise.
611         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
612         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
613         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
614         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
615         * sysdeps/generic/bits/types.h: Likewise.
616         * posix/sys/types.h: Define suseconds_t for X/Open.
617
618 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
619
620         * stdio-common/bug1.c: Avoid memory leak.
621
622         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
623         program deterministic.
624         * sysdeps/i386/fpu/e_powf.S: Likewise.
625         * sysdeps/i386/fpu/e_powl.S: Likewise.
626
627 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
628
629         * math/Makefile: Add t_sincosl and k_sincosl support routines.
630         * math/math_private.h (__kernel_sincosl): New declaration.
631         * sysdeps/generic/t_sincosl.c: New file.
632         * sysdeps/generic/k_sincosl.c: New file.
633         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
634         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
635         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
636         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
637         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
638         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
639         __kernel_sincosl.
640         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
641         definition.
642
643 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
644
645         * posix/unistd.h: Use __PMT for exit.
646
647 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
648
649         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
650         _outw, _outl): Added to GLIBC_2.1.2.
651
652 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
653
654         * posix/fnmatch.h: Use __name instead of __string in prototype to
655         allow use outside glibc.
656
657 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
658
659         * time/tst-strptime.c (main): Add one more test case.  Produce
660         output even when result is ok.
661
662         * time/strptime.c (get_number): Handle number parsing more
663         consistent with strftime.  Only parse a given number of digits.
664         (get_alt_number):  Fix implementation.  Was broken.
665         (strptime_internal): Add third parameter to get_number and
666         get_alt_number calls.
667
668 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
669
670         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
671         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
672         try both 32bit and 64bit dynamic linker.
673         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
674         script on all sparc targets.
675
676 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
677
678         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
679         to int.
680
681 1999-07-13  Andreas Schwab  <schwab@suse.de>
682
683         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
684         inlining.  Fixes PR libc/1198.
685
686 1999-07-14  Andreas Schwab  <schwab@suse.de>
687
688         * Makerules (common-generated): Don't prepend $(common-objpfx).
689
690 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
691
692         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
693         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
694         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
695         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
696         macro.
697         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
698         instead of ieee754.
699         * sysdeps/arm/Implies: Likewise.
700         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
701         ieee754/ldbl-96 instead of ieee754.
702         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
703         * sysdeps/generic/e_atanhl.c: New file.
704         * sysdeps/generic/e_coshl.c: New file.
705         * sysdeps/generic/e_sinhl.c: New file.
706         * sysdeps/generic/e_gammal_r.c: New file.
707         * sysdeps/generic/e_hypotl.c: New file.
708         * sysdeps/generic/s_cbrtl.c: New file.
709         * sysdeps/generic/s_asinhl.c: New file.
710         * sysdeps/generic/s_tanhl.c: New file.
711         * sysdeps/generic/w_expl.c: New file.
712         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
713         instead of ieee754.
714         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
715         ieee754/ldbl-96 instead of ieee754.
716         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
717         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
718         printf_fphex.
719         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
720         instead of ieee754.
721         * sysdeps/mips/mips64/Implies: Likewise.
722         * sysdeps/powerpc/Implies: Likewise.
723         * sysdeps/sparc/Implies: Remove.
724         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
725         ieee754/dbl-64.
726         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
727         and ieee754/ldbl-128.
728
729         * sysdeps/sparc/bits/wordsize.h: Remove.
730         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
731         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
732         only for sparc32.
733         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
734         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
735         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
736         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
737         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
738         support.
739
740         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
741         of carries. Optimize.
742
743         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
744         * sysdeps/generic/e_exp10.c: ...here.
745         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
746         * sysdeps/generic/e_exp10f.c: ...here.
747         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
748         * sysdeps/generic/e_exp10l.c: ...here.
749         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
750         * sysdeps/generic/e_scalb.c: ...here.
751         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
752         * sysdeps/generic/e_scalbf.c: ...here.
753         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
754         * sysdeps/generic/e_scalbl.c: ...here.
755         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
756         * sysdeps/generic/s_cacos.c: ...here.
757         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
758         * sysdeps/generic/s_cacosf.c: ...here.
759         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
760         * sysdeps/generic/s_cacosh.c: ...here.
761         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
762         * sysdeps/generic/s_cacoshf.c: ...here.
763         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
764         * sysdeps/generic/s_cacoshl.c: ...here.
765         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
766         * sysdeps/generic/s_cacosl.c: ...here.
767         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
768         * sysdeps/generic/s_casin.c: ...here.
769         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
770         * sysdeps/generic/s_casinf.c: ...here.
771         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
772         * sysdeps/generic/s_casinh.c: ...here.
773         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
774         * sysdeps/generic/s_casinhf.c: ...here.
775         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
776         * sysdeps/generic/s_casinhl.c: ...here.
777         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
778         * sysdeps/generic/s_casinl.c: ...here.
779         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
780         * sysdeps/generic/s_catan.c: ...here.
781         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
782         * sysdeps/generic/s_catanf.c: ...here.
783         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
784         * sysdeps/generic/s_catanh.c: ...here.
785         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
786         * sysdeps/generic/s_catanhf.c: ...here.
787         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
788         * sysdeps/generic/s_catanhl.c: ...here.
789         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
790         * sysdeps/generic/s_catanl.c: ...here.
791         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
792         * sysdeps/generic/s_ccos.c: ...here.
793         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
794         * sysdeps/generic/s_ccosf.c: ...here.
795         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
796         * sysdeps/generic/s_ccosh.c: ...here.
797         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
798         * sysdeps/generic/s_ccoshf.c: ...here.
799         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
800         * sysdeps/generic/s_ccoshl.c: ...here.
801         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
802         * sysdeps/generic/s_ccosl.c: ...here.
803         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
804         * sysdeps/generic/s_cexp.c: ...here.
805         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
806         * sysdeps/generic/s_cexpf.c: ...here.
807         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
808         * sysdeps/generic/s_cexpl.c: ...here.
809         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
810         * sysdeps/generic/s_clog.c: ...here.
811         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
812         * sysdeps/generic/s_clog10.c: ...here.
813         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
814         * sysdeps/generic/s_clog10f.c: ...here.
815         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
816         * sysdeps/generic/s_clog10l.c: ...here.
817         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
818         * sysdeps/generic/s_clogf.c: ...here.
819         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
820         * sysdeps/generic/s_clogl.c: ...here.
821         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
822         * sysdeps/generic/s_cpow.c: ...here.
823         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
824         * sysdeps/generic/s_cpowf.c: ...here.
825         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
826         * sysdeps/generic/s_cpowl.c: ...here.
827         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
828         * sysdeps/generic/s_cproj.c: ...here.
829         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
830         * sysdeps/generic/s_cprojf.c: ...here.
831         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
832         * sysdeps/generic/s_cprojl.c: ...here.
833         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
834         * sysdeps/generic/s_csin.c: ...here.
835         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
836         * sysdeps/generic/s_csinf.c: ...here.
837         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
838         * sysdeps/generic/s_csinh.c: ...here.
839         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
840         * sysdeps/generic/s_csinhf.c: ...here.
841         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
842         * sysdeps/generic/s_csinhl.c: ...here.
843         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
844         * sysdeps/generic/s_csinl.c: ...here.
845         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
846         * sysdeps/generic/s_csqrt.c: ...here.
847         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
848         * sysdeps/generic/s_csqrtf.c: ...here.
849         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
850         * sysdeps/generic/s_csqrtl.c: ...here.
851         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
852         * sysdeps/generic/s_ctan.c: ...here.
853         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
854         * sysdeps/generic/s_ctanf.c: ...here.
855         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
856         * sysdeps/generic/s_ctanh.c: ...here.
857         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
858         * sysdeps/generic/s_ctanhf.c: ...here.
859         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
860         * sysdeps/generic/s_ctanhl.c: ...here.
861         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
862         * sysdeps/generic/s_ctanl.c: ...here.
863         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
864         * sysdeps/generic/s_fdim.c: ...here.
865         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
866         * sysdeps/generic/s_fdimf.c: ...here.
867         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
868         * sysdeps/generic/s_fdiml.c: ...here.
869         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
870         * sysdeps/generic/s_fma.c: ...here.
871         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
872         * sysdeps/generic/s_fmaf.c: ...here.
873         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
874         * sysdeps/generic/s_fmal.c: ...here.
875         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
876         * sysdeps/generic/s_fmax.c: ...here.
877         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
878         * sysdeps/generic/s_fmaxf.c: ...here.
879         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
880         * sysdeps/generic/s_fmaxl.c: ...here.
881         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
882         * sysdeps/generic/s_fmin.c: ...here.
883         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
884         * sysdeps/generic/s_fminf.c: ...here.
885         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
886         * sysdeps/generic/s_fminl.c: ...here.
887         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
888         * sysdeps/generic/s_ldexp.c: ...here.
889         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
890         * sysdeps/generic/s_ldexpf.c: ...here.
891         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
892         * sysdeps/generic/s_ldexpl.c: ...here.
893         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
894         * sysdeps/generic/s_nan.c: ...here.
895         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
896         * sysdeps/generic/s_nanf.c: ...here.
897         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
898         * sysdeps/generic/s_nanl.c: ...here.
899         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
900         * sysdeps/generic/s_significand.c: ...here.
901         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
902         * sysdeps/generic/s_significandf.c: ...here.
903         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
904         * sysdeps/generic/s_significandl.c: ...here.
905         Avoid conversion from int to double and then to long double.
906         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
907         * math/w_acos.c: ...here.
908         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
909         * math/w_acosf.c: ...here.
910         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
911         * math/w_acosh.c: ...here.
912         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
913         * math/w_acoshf.c: ...here.
914         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
915         * math/w_acoshl.c: ...here.
916         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
917         * math/w_acosl.c: ...here.
918         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
919         * math/w_asin.c: ...here.
920         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
921         * math/w_asinf.c: ...here.
922         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
923         * math/w_asinl.c: ...here.
924         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
925         * math/w_atan2.c: ...here.
926         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
927         * math/w_atan2f.c: ...here.
928         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
929         * math/w_atan2l.c: ...here.
930         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
931         * math/w_atanh.c: ...here.
932         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
933         * math/w_atanhf.c: ...here.
934         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
935         * math/w_atanhl.c: ...here.
936         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
937         * math/w_cosh.c: ...here.
938         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
939         * math/w_coshf.c: ...here.
940         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
941         * math/w_coshl.c: ...here.
942         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
943         * math/w_drem.c: ...here.
944         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
945         * math/w_dremf.c: ...here.
946         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
947         * math/w_dreml.c: ...here.
948         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
949         * math/w_exp10.c: ...here.
950         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
951         * math/w_exp10f.c: ...here.
952         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
953         * math/w_exp10l.c: ...here.
954         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
955         * math/w_exp2.c: ...here.
956         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
957         * math/w_exp2f.c: ...here.
958         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
959         * math/w_exp2l.c: ...here.
960         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
961         * math/w_fmod.c: ...here.
962         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
963         * math/w_fmodf.c: ...here.
964         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
965         * math/w_fmodl.c: ...here.
966         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
967         * math/w_hypot.c: ...here.
968         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
969         * math/w_hypotf.c: ...here.
970         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
971         * math/w_hypotl.c: ...here.
972         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
973         * math/w_j0.c: ...here.
974         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
975         * math/w_j0f.c: ...here.
976         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
977         * math/w_j0l.c: ...here.
978         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
979         * math/w_j1.c: ...here.
980         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
981         * math/w_j1f.c: ...here.
982         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
983         * math/w_j1l.c: ...here.
984         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
985         * math/w_jn.c: ...here.
986         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
987         * math/w_jnf.c: ...here.
988         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
989         * math/w_jnl.c: ...here.
990         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
991         * math/w_lgamma.c: ...here.
992         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
993         * math/w_lgamma_r.c: ...here.
994         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
995         * math/w_lgammaf.c: ...here.
996         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
997         * math/w_lgammaf_r.c: ...here.
998         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
999         * math/w_lgammal.c: ...here.
1000         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
1001         * math/w_lgammal_r.c: ...here.
1002         * sysdeps/libm-ieee754/w_log.c: Moved to ...
1003         * math/w_log.c: ...here.
1004         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
1005         * math/w_log10.c: ...here.
1006         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
1007         * math/w_log10f.c: ...here.
1008         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
1009         * math/w_log10l.c: ...here.
1010         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
1011         * math/w_logf.c: ...here.
1012         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
1013         * math/w_logl.c: ...here.
1014         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
1015         * math/w_pow.c: ...here.
1016         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
1017         * math/w_powf.c: ...here.
1018         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
1019         * math/w_powl.c: ...here.
1020         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
1021         * math/w_remainder.c: ...here.
1022         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
1023         * math/w_remainderf.c: ...here.
1024         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
1025         * math/w_remainderl.c: ...here.
1026         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
1027         * math/w_scalb.c: ...here.
1028         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
1029         * math/w_scalbf.c: ...here.
1030         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
1031         * math/w_scalbl.c: ...here.
1032         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
1033         * math/w_sinh.c: ...here.
1034         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
1035         * math/w_sinhf.c: ...here.
1036         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
1037         * math/w_sinhl.c: ...here.
1038         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
1039         * math/w_sqrt.c: ...here.
1040         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
1041         * math/w_sqrtf.c: ...here.
1042         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
1043         * math/w_sqrtl.c: ...here.
1044         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
1045         * math/w_tgamma.c: ...here.
1046         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
1047         * math/w_tgammaf.c: ...here.
1048         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
1049         * math/w_tgammal.c: ...here.
1050         * sysdeps/libm-i387/e_acos.S: Moved to ...
1051         * sysdeps/i386/fpu/e_acos.S: ...here.
1052         * sysdeps/libm-i387/e_acosf.S: Moved to ...
1053         * sysdeps/i386/fpu/e_acosf.S: ...here.
1054         * sysdeps/libm-i387/e_acosh.S: Moved to ...
1055         * sysdeps/i386/fpu/e_acosh.S: ...here.
1056         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
1057         * sysdeps/i386/fpu/e_acoshf.S: ...here.
1058         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
1059         * sysdeps/i386/fpu/e_acoshl.S: ...here.
1060         * sysdeps/libm-i387/e_acosl.S: Moved to ...
1061         * sysdeps/i386/fpu/e_acosl.S: ...here.
1062         * sysdeps/libm-i387/e_asin.S: Moved to ...
1063         * sysdeps/i386/fpu/e_asin.S: ...here.
1064         * sysdeps/libm-i387/e_asinf.S: Moved to ...
1065         * sysdeps/i386/fpu/e_asinf.S: ...here.
1066         * sysdeps/libm-i387/e_asinl.S: Moved to ...
1067         * sysdeps/i386/fpu/e_asinl.S: ...here.
1068         * sysdeps/libm-i387/e_atan2.S: Moved to ...
1069         * sysdeps/i386/fpu/e_atan2.S: ...here.
1070         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
1071         * sysdeps/i386/fpu/e_atan2f.S: ...here.
1072         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
1073         * sysdeps/i386/fpu/e_atan2l.S: ...here.
1074         * sysdeps/libm-i387/e_atanh.S: Moved to ...
1075         * sysdeps/i386/fpu/e_atanh.S: ...here.
1076         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
1077         * sysdeps/i386/fpu/e_atanhf.S: ...here.
1078         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
1079         * sysdeps/i386/fpu/e_atanhl.S: ...here.
1080         * sysdeps/libm-i387/e_exp.S: Moved to ...
1081         * sysdeps/i386/fpu/e_exp.S: ...here.
1082         * sysdeps/libm-i387/e_exp10.S: Moved to ...
1083         * sysdeps/i386/fpu/e_exp10.S: ...here.
1084         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
1085         * sysdeps/i386/fpu/e_exp10f.S: ...here.
1086         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
1087         * sysdeps/i386/fpu/e_exp10l.S: ...here.
1088         * sysdeps/libm-i387/e_expf.S: Moved to ...
1089         * sysdeps/i386/fpu/e_expf.S: ...here.
1090         * sysdeps/libm-i387/e_expl.S: Moved to ...
1091         * sysdeps/i386/fpu/e_expl.S: ...here.
1092         * sysdeps/libm-i387/e_fmod.S: Moved to ...
1093         * sysdeps/i386/fpu/e_fmod.S: ...here.
1094         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
1095         * sysdeps/i386/fpu/e_fmodf.S: ...here.
1096         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
1097         * sysdeps/i386/fpu/e_fmodl.S: ...here.
1098         * sysdeps/libm-i387/e_hypot.S: Moved to ...
1099         * sysdeps/i386/fpu/e_hypot.S: ...here.
1100         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
1101         * sysdeps/i386/fpu/e_hypotf.S: ...here.
1102         * sysdeps/libm-i387/e_log.S: Moved to ...
1103         * sysdeps/i386/fpu/e_log.S: ...here.
1104         * sysdeps/libm-i387/e_log10.S: Moved to ...
1105         * sysdeps/i386/fpu/e_log10.S: ...here.
1106         * sysdeps/libm-i387/e_log10f.S: Moved to ...
1107         * sysdeps/i386/fpu/e_log10f.S: ...here.
1108         * sysdeps/libm-i387/e_log10l.S: Moved to ...
1109         * sysdeps/i386/fpu/e_log10l.S: ...here.
1110         * sysdeps/libm-i387/e_logf.S: Moved to ...
1111         * sysdeps/i386/fpu/e_logf.S: ...here.
1112         * sysdeps/libm-i387/e_logl.S: Moved to ...
1113         * sysdeps/i386/fpu/e_logl.S: ...here.
1114         * sysdeps/libm-i387/e_pow.S: Moved to ...
1115         * sysdeps/i386/fpu/e_pow.S: ...here.
1116         * sysdeps/libm-i387/e_powf.S: Moved to ...
1117         * sysdeps/i386/fpu/e_powf.S: ...here.
1118         * sysdeps/libm-i387/e_powl.S: Moved to ...
1119         * sysdeps/i386/fpu/e_powl.S: ...here.
1120         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
1121         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
1122         * sysdeps/libm-i387/e_remainder.S: Moved to ...
1123         * sysdeps/i386/fpu/e_remainder.S: ...here.
1124         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
1125         * sysdeps/i386/fpu/e_remainderf.S: ...here.
1126         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
1127         * sysdeps/i386/fpu/e_remainderl.S: ...here.
1128         * sysdeps/libm-i387/e_scalb.S: Moved to ...
1129         * sysdeps/i386/fpu/e_scalb.S: ...here.
1130         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
1131         * sysdeps/i386/fpu/e_scalbf.S: ...here.
1132         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
1133         * sysdeps/i386/fpu/e_scalbl.S: ...here.
1134         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
1135         * sysdeps/i386/fpu/e_sqrt.S: ...here.
1136         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
1137         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
1138         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
1139         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
1140         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
1141         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
1142         * sysdeps/libm-i387/s_asinh.S: Moved to ...
1143         * sysdeps/i386/fpu/s_asinh.S: ...here.
1144         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
1145         * sysdeps/i386/fpu/s_asinhf.S: ...here.
1146         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
1147         * sysdeps/i386/fpu/s_asinhl.S: ...here.
1148         * sysdeps/libm-i387/s_atan.S: Moved to ...
1149         * sysdeps/i386/fpu/s_atan.S: ...here.
1150         * sysdeps/libm-i387/s_atanf.S: Moved to ...
1151         * sysdeps/i386/fpu/s_atanf.S: ...here.
1152         * sysdeps/libm-i387/s_atanl.S: Moved to ...
1153         * sysdeps/i386/fpu/s_atanl.S: ...here.
1154         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1155         * sysdeps/i386/fpu/s_cbrt.S: ...here.
1156         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1157         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1158         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1159         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1160         * sysdeps/libm-i387/s_ceil.S: Moved to ...
1161         * sysdeps/i386/fpu/s_ceil.S: ...here.
1162         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1163         * sysdeps/i386/fpu/s_ceilf.S: ...here.
1164         * sysdeps/libm-i387/s_ceill.S: Moved to ...
1165         * sysdeps/i386/fpu/s_ceill.S: ...here.
1166         * sysdeps/libm-i387/s_cexp.S: Moved to ...
1167         * sysdeps/i386/fpu/s_cexp.S: ...here.
1168         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1169         * sysdeps/i386/fpu/s_cexpf.S: ...here.
1170         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1171         * sysdeps/i386/fpu/s_cexpl.S: ...here.
1172         * sysdeps/libm-i387/s_copysign.S: Moved to ...
1173         * sysdeps/i386/fpu/s_copysign.S: ...here.
1174         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1175         * sysdeps/i386/fpu/s_copysignf.S: ...here.
1176         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1177         * sysdeps/i386/fpu/s_copysignl.S: ...here.
1178         * sysdeps/libm-i387/s_cos.S: Moved to ...
1179         * sysdeps/i386/fpu/s_cos.S: ...here.
1180         * sysdeps/libm-i387/s_cosf.S: Moved to ...
1181         * sysdeps/i386/fpu/s_cosf.S: ...here.
1182         * sysdeps/libm-i387/s_cosl.S: Moved to ...
1183         * sysdeps/i386/fpu/s_cosl.S: ...here.
1184         * sysdeps/libm-i387/s_exp2.S: Moved to ...
1185         * sysdeps/i386/fpu/s_exp2.S: ...here.
1186         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1187         * sysdeps/i386/fpu/s_exp2f.S: ...here.
1188         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1189         * sysdeps/i386/fpu/s_exp2l.S: ...here.
1190         * sysdeps/libm-i387/s_expm1.S: Moved to ...
1191         * sysdeps/i386/fpu/s_expm1.S: ...here.
1192         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1193         * sysdeps/i386/fpu/s_expm1f.S: ...here.
1194         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1195         * sysdeps/i386/fpu/s_expm1l.S: ...here.
1196         * sysdeps/libm-i387/s_fdim.S: Moved to ...
1197         * sysdeps/i386/fpu/s_fdim.S: ...here.
1198         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1199         * sysdeps/i386/fpu/s_fdimf.S: ...here.
1200         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1201         * sysdeps/i386/fpu/s_fdiml.S: ...here.
1202         * sysdeps/libm-i387/s_finite.S: Moved to ...
1203         * sysdeps/i386/fpu/s_finite.S: ...here.
1204         * sysdeps/libm-i387/s_finitef.S: Moved to ...
1205         * sysdeps/i386/fpu/s_finitef.S: ...here.
1206         * sysdeps/libm-i387/s_finitel.S: Moved to ...
1207         * sysdeps/i386/fpu/s_finitel.S: ...here.
1208         * sysdeps/libm-i387/s_floor.S: Moved to ...
1209         * sysdeps/i386/fpu/s_floor.S: ...here.
1210         * sysdeps/libm-i387/s_floorf.S: Moved to ...
1211         * sysdeps/i386/fpu/s_floorf.S: ...here.
1212         * sysdeps/libm-i387/s_floorl.S: Moved to ...
1213         * sysdeps/i386/fpu/s_floorl.S: ...here.
1214         * sysdeps/libm-i387/s_fma.S: Moved to ...
1215         * sysdeps/i386/fpu/s_fma.S: ...here.
1216         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1217         * sysdeps/i386/fpu/s_fmaf.S: ...here.
1218         * sysdeps/libm-i387/s_fmal.S: Moved to ...
1219         * sysdeps/i386/fpu/s_fmal.S: ...here.
1220         * sysdeps/libm-i387/s_fmax.S: Moved to ...
1221         * sysdeps/i386/fpu/s_fmax.S: ...here.
1222         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1223         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1224         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1225         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1226         * sysdeps/libm-i387/s_fmin.S: Moved to ...
1227         * sysdeps/i386/fpu/s_fmin.S: ...here.
1228         * sysdeps/libm-i387/s_fminf.S: Moved to ...
1229         * sysdeps/i386/fpu/s_fminf.S: ...here.
1230         * sysdeps/libm-i387/s_fminl.S: Moved to ...
1231         * sysdeps/i386/fpu/s_fminl.S: ...here.
1232         * sysdeps/libm-i387/s_frexp.S: Moved to ...
1233         * sysdeps/i386/fpu/s_frexp.S: ...here.
1234         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1235         * sysdeps/i386/fpu/s_frexpf.S: ...here.
1236         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1237         * sysdeps/i386/fpu/s_frexpl.S: ...here.
1238         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1239         * sysdeps/i386/fpu/s_ilogb.S: ...here.
1240         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1241         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1242         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1243         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1244         * sysdeps/libm-i387/s_llrint.S: Moved to ...
1245         * sysdeps/i386/fpu/s_llrint.S: ...here.
1246         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1247         * sysdeps/i386/fpu/s_llrintf.S: ...here.
1248         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1249         * sysdeps/i386/fpu/s_llrintl.S: ...here.
1250         * sysdeps/libm-i387/s_log1p.S: Moved to ...
1251         * sysdeps/i386/fpu/s_log1p.S: ...here.
1252         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1253         * sysdeps/i386/fpu/s_log1pf.S: ...here.
1254         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1255         * sysdeps/i386/fpu/s_log1pl.S: ...here.
1256         * sysdeps/libm-i387/s_log2.S: Moved to ...
1257         * sysdeps/i386/fpu/s_log2.S: ...here.
1258         * sysdeps/libm-i387/s_log2f.S: Moved to ...
1259         * sysdeps/i386/fpu/s_log2f.S: ...here.
1260         * sysdeps/libm-i387/s_log2l.S: Moved to ...
1261         * sysdeps/i386/fpu/s_log2l.S: ...here.
1262         * sysdeps/libm-i387/s_logb.S: Moved to ...
1263         * sysdeps/i386/fpu/s_logb.S: ...here.
1264         * sysdeps/libm-i387/s_logbf.S: Moved to ...
1265         * sysdeps/i386/fpu/s_logbf.S: ...here.
1266         * sysdeps/libm-i387/s_logbl.S: Moved to ...
1267         * sysdeps/i386/fpu/s_logbl.S: ...here.
1268         * sysdeps/libm-i387/s_lrint.S: Moved to ...
1269         * sysdeps/i386/fpu/s_lrint.S: ...here.
1270         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1271         * sysdeps/i386/fpu/s_lrintf.S: ...here.
1272         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1273         * sysdeps/i386/fpu/s_lrintl.S: ...here.
1274         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1275         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1276         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1277         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1278         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1279         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1280         * sysdeps/libm-i387/s_remquo.S: Moved to ...
1281         * sysdeps/i386/fpu/s_remquo.S: ...here.
1282         * sysdeps/libm-i387/s_remquof.S: Moved to ...
1283         * sysdeps/i386/fpu/s_remquof.S: ...here.
1284         * sysdeps/libm-i387/s_remquol.S: Moved to ...
1285         * sysdeps/i386/fpu/s_remquol.S: ...here.
1286         * sysdeps/libm-i387/s_rint.S: Moved to ...
1287         * sysdeps/i386/fpu/s_rint.S: ...here.
1288         * sysdeps/libm-i387/s_rintf.S: Moved to ...
1289         * sysdeps/i386/fpu/s_rintf.S: ...here.
1290         * sysdeps/libm-i387/s_rintl.S: Moved to ...
1291         * sysdeps/i386/fpu/s_rintl.S: ...here.
1292         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1293         * sysdeps/i386/fpu/s_scalbn.S: ...here.
1294         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1295         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1296         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1297         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1298         * sysdeps/libm-i387/s_significand.S: Moved to ...
1299         * sysdeps/i386/fpu/s_significand.S: ...here.
1300         * sysdeps/libm-i387/s_significandf.S: Moved to ...
1301         * sysdeps/i386/fpu/s_significandf.S: ...here.
1302         * sysdeps/libm-i387/s_significandl.S: Moved to ...
1303         * sysdeps/i386/fpu/s_significandl.S: ...here.
1304         * sysdeps/libm-i387/s_sin.S: Moved to ...
1305         * sysdeps/i386/fpu/s_sin.S: ...here.
1306         * sysdeps/libm-i387/s_sincos.S: Moved to ...
1307         * sysdeps/i386/fpu/s_sincos.S: ...here.
1308         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1309         * sysdeps/i386/fpu/s_sincosf.S: ...here.
1310         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1311         * sysdeps/i386/fpu/s_sincosl.S: ...here.
1312         * sysdeps/libm-i387/s_sinf.S: Moved to ...
1313         * sysdeps/i386/fpu/s_sinf.S: ...here.
1314         * sysdeps/libm-i387/s_sinl.S: Moved to ...
1315         * sysdeps/i386/fpu/s_sinl.S: ...here.
1316         * sysdeps/libm-i387/s_tan.S: Moved to ...
1317         * sysdeps/i386/fpu/s_tan.S: ...here.
1318         * sysdeps/libm-i387/s_tanf.S: Moved to ...
1319         * sysdeps/i386/fpu/s_tanf.S: ...here.
1320         * sysdeps/libm-i387/s_tanl.S: Moved to ...
1321         * sysdeps/i386/fpu/s_tanl.S: ...here.
1322         * sysdeps/libm-i387/s_trunc.S: Moved to ...
1323         * sysdeps/i386/fpu/s_trunc.S: ...here.
1324         * sysdeps/libm-i387/s_truncf.S: Moved to ...
1325         * sysdeps/i386/fpu/s_truncf.S: ...here.
1326         * sysdeps/libm-i387/s_truncl.S: Moved to ...
1327         * sysdeps/i386/fpu/s_truncl.S: ...here.
1328         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1329         * sysdeps/ieee754/k_standard.c: ...here.
1330         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1331         * sysdeps/ieee754/s_lib_version.c: ...here.
1332         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1333         * sysdeps/ieee754/s_matherr.c: ...here.
1334         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1335         * sysdeps/ieee754/s_signgam.c: ...here.
1336         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1337         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1338         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1339         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1340         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1341         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1342         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1343         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1344         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1345         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1346         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1347         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1348         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1349         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1350         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1351         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1352         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1353         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1354         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1355         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1356         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1357         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1358         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1359         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1360         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1361         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1362         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1363         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1364         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1365         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1366         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1367         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1368         * sysdeps/libm-ieee754/e_log.c: Moved to ...
1369         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1370         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1371         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1372         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1373         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1374         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1375         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1376         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1377         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1378         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1379         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1380         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1381         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1382         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1383         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1384         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1385         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1386         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1387         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1388         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1389         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1390         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1391         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1392         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1393         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1394         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1395         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1396         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1397         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1398         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1399         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1400         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1401         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1402         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1403         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1404         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1405         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1406         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1407         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1408         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
1409         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
1410         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
1411         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
1412         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
1413         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
1414         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
1415         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
1416         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
1417         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
1418         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
1419         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
1420         (__isnan): Comment above function says it returns 0 or 1, but it
1421         used to return 0 or -1.
1422         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
1423         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
1424         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
1425         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
1426         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
1427         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
1428         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
1429         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
1430         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
1431         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
1432         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
1433         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
1434         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
1435         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
1436         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
1437         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
1438         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
1439         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
1440         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
1441         * sysdeps/generic/s_nextafter.c: ...here.
1442         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
1443         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
1444         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
1445         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
1446         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
1447         * sysdeps/libm-ieee754/s_round.c: Moved to ...
1448         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
1449         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
1450         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
1451         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
1452         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
1453         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
1454         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
1455         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
1456         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
1457         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
1458         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
1459         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
1460         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
1461         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
1462         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
1463         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
1464         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
1465         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
1466         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
1467         * sysdeps/ieee754/mpn2flt.c: Moved to ...
1468         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
1469         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
1470         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
1471         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
1472         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
1473         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
1474         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
1475         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
1476         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
1477         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
1478         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
1479         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
1480         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
1481         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
1482         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
1483         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
1484         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
1485         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
1486         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
1487         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
1488         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
1489         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
1490         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
1491         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
1492         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
1493         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
1494         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
1495         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
1496         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
1497         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
1498         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
1499         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
1500         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
1501         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
1502         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1503         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1504         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1505         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1506         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1507         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1508         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1509         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1510         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1511         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1512         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1513         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1514         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1515         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1516         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1517         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1518         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1519         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1520         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1521         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1522         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1523         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1524         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1525         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1526         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1527         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1528         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1529         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1530         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1531         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1532         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1533         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1534         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1535         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1536         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1537         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1538         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1539         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1540         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1541         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1542         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1543         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1544         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1545         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1546         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1547         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1548         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1549         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1550         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1551         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1552         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1553         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1554         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1555         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1556         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1557         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1558         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1559         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1560         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1561         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1562         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1563         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1564         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1565         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1566         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1567         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1568         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1569         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1570         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1571         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1572         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1573         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1574         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1575         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1576         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1577         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1578         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1579         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1580         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1581         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1582         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1583         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1584         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1585         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1586         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1587         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1588         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1589         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1590         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1591         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1592         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1593         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1595         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1597         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1598         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1599         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1600         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1601         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1602         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1603         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1604         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1605         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1606         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1607         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1608         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1609         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1610         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1611         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1612         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1613         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1614         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1615         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1616         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1617         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1618         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1619         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1620         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1621         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1622         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1623         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1624         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1625         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1626         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1627         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1628         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1629         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1631         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1632         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1633         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1634         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1635         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1636         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1637         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1638         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1639         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1640         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1641         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1642         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1643         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1644         INSERT_WORDS.
1645         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1646         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1647         (__nearbyintl): Fix for exponents 2^30.
1648         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1649         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1650         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1651         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1652         (__rintl): Fix for exponents 2^30.
1653         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1654         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1655         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1656         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1657         (__scalbnl): Fix exponent for subnormal result.
1658         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1659         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1660         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1661         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1662         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1663         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1664         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1665         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1666         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1667         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1668         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1669         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1670         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1671         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1672         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1673         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1674         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1675         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1676         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1677         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1678         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1679         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1680         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1681         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1682         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1683         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1684         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1685         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1686         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1687         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1688         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1690         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1691         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1692         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1693         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1694         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1695         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1696         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1697         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1698         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1699         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1700         * sysdeps/libm-i387/t_exp.c: Moved to ...
1701         * sysdeps/i386/fpu/t_exp.c: ...here.
1702         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1703         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1704         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1705         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1706         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1707         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1708         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1709         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1710         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1711         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1712         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1713         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1714         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1715         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1716         Fix exponent for subnormal result.
1717         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1718         * sysdeps/generic/s_nexttowardl.c: ...here.
1719         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1720         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1721         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1722         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1723         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1724         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1725         Comment above function says it returns 0 or 1, but it used to return
1726         0 or -1.
1727         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1728         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1729         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1730         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1731         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1732         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1733         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1734         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1735         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1736         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1737         Cannot compare exponents with different biases without adjusting.
1738         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1739         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1740         Cannot compare exponents with different biases without adjusting.
1741         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1742         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1743         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1744         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1745         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1746         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1747         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1748         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1749         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1750         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1751         * sysdeps/libm-ieee754/Dist: Split into ...
1752         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1753         * sysdeps/ieee754/flt-32/Dist: ...this file.
1754
1755         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1756         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1757         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1758         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1759         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1760         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1761         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1762         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1763         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1764         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1765         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1766         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1768         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1769         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1770         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1771         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1772         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1774         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1775         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1776         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1777         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1779         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1780         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1781         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1782         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1783         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1784         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1785         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1786         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1787         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1788         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1789         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1790         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1791         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1792         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1793         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1794         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1795         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1796         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1797         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1798         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1799         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1800         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1801         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1802
1803         * sysdeps/generic/math_ldbl.h: New file.
1804         * sysdeps/generic/s_nexttowardf.c: New file.
1805         * sysdeps/generic/strtold.c: New file.
1806         * sysdeps/generic/ldbl2mpn.c: New file.
1807
1808         * math/machine/endian.h: Remove.
1809         * sysdeps/i386/fpu/Implies: Remove.
1810         * sysdeps/ieee754/Implies: Remove.
1811
1812         * math/math_private.h: Move long double macros to math_ldbl.h
1813         header.
1814
1815 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1816
1817         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1818         connections without a hostname set address to localhost address.
1819
1820 1999-07-11  H.J. Lu  <hjl@gnu.org>
1821
1822         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1823         nscd's own strong version of the get[a-z]*_r function.
1824         * nscd/hstcache.c: Likewise.
1825         * nscd/pwdcache.c: Likewise.
1826
1827 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1828
1829         * configure.in: Recognize 2.95 as gcc version number.
1830         Patch by Joel Klecker <jk@espy.org>.
1831
1832 1999-07-12  Andreas Schwab  <schwab@suse.de>
1833
1834         * elf/rtld.c (dl_main): When putting back the interpreter object
1835         handle the case where a missing object might occur in the list of
1836         objects but not in the search list when in trace mode.
1837
1838 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1839
1840         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1841         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1842         _nss_hesiod_initgroups.
1843
1844 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1845
1846         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1847         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1848         Initialize it from &__data_start if defined, or else &_end.
1849
1850 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1851
1852         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1853         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1854
1855 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1856
1857         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1858
1859 1999-07-09  H.J. Lu  <hjl@gnu.org>
1860
1861         * Versions.def (GLIBC_2.1.2): Added.
1862
1863         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
1864         old one as GLIBC_2.0.
1865         * nss/getXXbyYY_r.c: Likewise.
1866
1867         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
1868         GLIBC_2.1.2.
1869         * inet/Versions (getaliasbyname_r, getaliasent_r,
1870         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
1871         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
1872         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
1873         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
1874         getservbyname_r): Likewise.
1875         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
1876         * shadow/Versions (getspent_r, getspnam_r): Likewise.
1877
1878 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1879
1880         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
1881         compilers.
1882         (__memset_cc): Likewise.
1883
1884         * sysdeps/generic/libc-start.c: For SUID binaries check whether
1885         the standard file descriptors are open.
1886         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1887
1888         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
1889         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
1890         range of mmap.  If not fail.
1891         Patches by Daniel Jacobowitz <dan@debian.org>.
1892
1893         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
1894         before the relocation happened.
1895         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1896
1897         * Versions.def (libnsl): Add GLIBC_2.2.
1898         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
1899
1900 1999-07-08  Cristian Gafton  <gafton@redhat.com>
1901
1902         * nis/yp_xdr.c (xdr_ypall): New function.
1903
1904 1999-07-09  Andreas Schwab  <schwab@suse.de>
1905
1906         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
1907
1908         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
1909
1910 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1911
1912         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
1913         * hesiod/hesiod-grp.c: Add initgroups support.
1914         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1915
1916 1999-07-08  Andreas Schwab  <schwab@suse.de>
1917
1918         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
1919
1920         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
1921         negative numbers.
1922
1923         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
1924         EOF.
1925         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
1926
1927 1999-07-08  Andreas Schwab  <schwab@suse.de>
1928
1929         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
1930
1931 1999-07-08  Andreas Schwab  <schwab@suse.de>
1932
1933         * libio/fileno.c: Return -1 instead of EOF and set errno if the
1934         stream is not a real file stream.
1935
1936 1999-07-08  Andreas Schwab  <schwab@suse.de>
1937
1938         * manual/charset.texi: Fix typos.
1939
1940 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1941
1942         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
1943
1944 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
1945
1946         * dlfcn: New directory.  Move the following files from elf:
1947         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
1948         dlopenold.c, dlsym.c, dlvsym.c.
1949         * dlfcn/Makefile: New file.
1950         * dlfcn/Versions: New file.
1951         * dlfcn/dlsym.c: All ELF-specific code split out to new
1952         function _dl_sym.
1953         * dlfcn/dlvsym.c: All ELF-specific code split out to new
1954         function _dl_vsym.
1955         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
1956         implemented here.
1957
1958         * dlfcn/dladdr.c: Remove all references to ELF data structures
1959         or headers.
1960         * dlfcn/dlclose.c: Likewise.
1961         * dlfcn/dlerror.c: Likewise.
1962         * dlfcn/dlopen.c: Likewise.
1963         * dlfcn/dlopenold.c: Likewise.
1964
1965         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
1966         yes, empty otherwise.
1967         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
1968         depending on build-shared.
1969         (subdirs): Add $(dlfcn).
1970         (rpath-dirs): Add dlfcn.
1971         * elf/Makefile: Remove all references to libdl or its
1972         components, except the ones relating to the test cases.
1973         (routines): Add dl-sym.
1974         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
1975         (libdl): Delete.
1976
1977         * elf/dl-close.c (_dl_close): Change argument to void *.
1978         * elf/dl-open.c (_dl_open): Change return type to void *.
1979         * elf/eval.c: Removed.
1980         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
1981         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
1982         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
1983         _CALL_DL_FCT macro.
1984         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
1985         Include real header from dlfcn directory.
1986         * include/ldsodefs.h: Removed.
1987
1988         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
1989         * nss/getXXbyYY_r.c: Likewise.
1990         * nss/getXXent_r.c: Likewise.
1991         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
1992         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
1993         * iconv/skeleton.c: Don't include ldsodefs.h.
1994         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
1995
1996 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1997
1998         * sysdeps/generic/setenv.c: Describe problem.
1999
2000         * malloc/malloc.c (request2size): Also set errno if failing.
2001
2002         * malloc/malloc.c (request2size): Take care of overflow in
2003         addition.
2004
2005         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
2006         (NULL, != 0) correctly.
2007
2008         * elf/dl-load.c: Use a few more __builtin_expect.
2009
2010         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
2011         is large enough.
2012
2013 1999-07-07  Andreas Schwab  <schwab@suse.de>
2014
2015         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
2016         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
2017         (_PATH_DEVPTMX): Use _PATH_DEV.
2018
2019 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2020
2021         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
2022         * malloc/Makefile (tests): Add tst-malloc.
2023
2024 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2025
2026         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
2027         convention.
2028
2029         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
2030         motherboards.
2031         Patch by Jay Estabrook.
2032
2033         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
2034         ldd for SPARC.
2035         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
2036         Patch by Cristian Gafton.
2037
2038 1999-07-02  Cristian Gafton  <gafton@redhat.com>
2039
2040         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
2041         instead of "return NULL" to make C++ happy.
2042
2043 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
2044
2045         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
2046         allowed by the file access mode of the open file.
2047
2048 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2049
2050         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
2051         macros defined.
2052
2053 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
2054
2055         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
2056         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
2057         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2058         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
2059
2060 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2061
2062         * malloc/malloc.c (request2size): Check for overflow and return
2063         NULL whenever it is encountered.
2064
2065 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
2066
2067         * sysdeps/posix/tempname.c (__gen_tempname):   Add
2068         ability to create directories.  Replace OPENIT and LARGEFILE
2069         args with a single flags parameter.
2070         * sysdeps/generic/tempname.c: Likewise.
2071         * include/stdio.h: Adjust prototype of __gen_tempname to
2072         match.  Define symbolic constants for second argument.
2073
2074         * misc/mkdtemp.c: New file, provides new function mkdtemp().
2075         * stdlib/stdlib.h: Prototype it.
2076         * misc/Versions: Export it.
2077         * misc/Makefile (routines): Add mktemp.
2078         * manual/filesys.texi: Document it.
2079
2080         * misc/mktemp.c: Adjust call of __gen_tempname to match new
2081         convention.
2082         * misc/mkstemp.c: Likewise.
2083         * stdio-common/tempnam.c: Likewise.
2084         * stdio-common/tmpfile.c: Likewise.
2085         * stdio-common/tmpfile64.c: Likewise.
2086         * stdio-common/tmpnam.c: Likewise.
2087         * stdio-common/tmpnam_r.c: Likewise.
2088
2089 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
2090
2091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
2092         R_SPARC_OLO10 relocations.
2093         * elf/elf.h (R_SPARC_OLO10): Fix comment.
2094
2095 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2096
2097         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
2098         doesn't belong in the tests, but in the wordexp implementation.
2099
2100         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
2101         split fields.
2102
2103 1999-07-01  Cristian Gafton  <gafton@redhat.com>
2104
2105         * time/strptime.c (strptime): Initialize the tm struct first to avoid
2106         returning bogus results on incomplete data.
2107         (strptime_internal): day_of_the_week() requres bith tm_mon and
2108         tm_mday to be initializaed.
2109         Computer them first if they are not given.
2110         (strptime_internal): (have_mon, have_mday): New variables.
2111
2112 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2113
2114         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
2115
2116 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2117
2118         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
2119         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2120
2121 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2122
2123         * posix/wordexp.c (parse_tilde): Handle failing call to
2124         get.*_r functions correctly for non-existing entry.
2125         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2126         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
2127
2128 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2129
2130         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
2131         getxxbyYY_r functions correctly for non-existing entry.
2132         * sunrpc/getrpcport.c: Likewise.
2133         * sunrpc/clnt_simp.c: Likewise.
2134         * inet/rexec.c: Likewise.
2135         * sunrpc/clnt_gen.c: Likewise.
2136         * inet/rcmd.c: Likewise.
2137         * sysdeps/generic/glob.c: Likewise.
2138
2139 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2140
2141         * pwd/Makefile (tests): Add rules for tst-getpw.
2142
2143         * pwd/tst-getpw.c: New program to test getpw.
2144
2145 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2146
2147         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2148         correctly.
2149
2150 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2151
2152         * manual/arith.texi (System V Number Conversion): Fix the
2153         description which confused pointer and value to pointer.
2154         Reported by Andries.Brouwer@cwi.nl.
2155
2156 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2157
2158         * pwd/getpw.c (__getpw): Check for NULL result pointer.
2159
2160 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2161
2162         * manual/users.texi (Lookup User): Document POSIX return
2163         semantics for getpwuid_r and getgrgid_r.
2164
2165         * manual/socket.texi (Host Names): Document that the result
2166         pointer is null in case of error or host not found and fix a
2167         typo.  Give a small example.
2168
2169 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2170
2171         * pwd/getpw.c: Add warning since no buffer size is given and
2172         therefore no overrun tests are possible.
2173
2174 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2175
2176         * pwd/pwd.h: Add getpw prototype declaration.
2177
2178 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2179
2180         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2181         * wcsmbs/wcschr.c: Likewise.
2182
2183 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2184
2185         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2186         returns.
2187         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2188         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2189         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2190
2191         * elf/dl-dst.h: Fix typo.
2192         * elf/dl-open.c: Likewise.
2193
2194 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
2195
2196         * elf/dl-libc.c: New file, provides three functions:
2197         __libc_dlopen, __libc_dlclose, __libc_dlsym.
2198         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
2199         * elf/Makefile (routines): Add dl-libc.c.
2200         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2201         argument to void *.
2202         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2203
2204         * iconv/gconv.c: Include dlfcn.h.
2205         * iconv/gconv_db.c: Likewise.
2206         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
2207
2208         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2209         `handle' to a void *.
2210         (__gconv_find_func): Delete prototype.
2211
2212         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
2213         dlerror_run and related functions and structs.  Use
2214         __libc_dlopen, __libc_dlsym, __libc_dlclose.
2215         * nss/nsswitch.c: Likewise.
2216
2217 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2218
2219         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2220         function correctly.
2221
2222         * sunrpc/getrpcport.c: Test for gethostbyname_r function
2223         correctly.
2224
2225         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2226
2227         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2228         functions correctly.
2229
2230         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2231
2232         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
2233         file reading a bit.
2234
2235         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2236
2237 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2238
2239         * manual/string.texi (Copying and Concatenation): Mention that
2240         strndup is a GNU extension.
2241
2242 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2243
2244         * pwd/getpw.c (__getpw): Fix check for error return.
2245
2246 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2247
2248         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2249         occurence of the aux object start with the current list entry, not
2250         the new one.  Adjust tail pointer in the unique list.  Explain how
2251         the meaning of the variables changes [PR libc/1168].
2252
2253 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2254
2255         * sysdeps/m68k/fpu/Dist: New file.
2256
2257 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2258
2259         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2260         definitions...
2261         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
2262         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2263         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2264         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2265         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2266         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2267         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2268         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2269         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2270         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2271         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2272         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2273         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2274         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2275         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2276         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2277
2278 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
2279
2280         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2281         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2282         _EXTERN_INLINE, use a macro specific to each file,
2283         _HURD_FD_H_EXTERN_INLINE and the like.
2284         * hurd/Makefile (inline-headers): New variable.
2285         (routines): Remove hurdinline.  Add $(inlines).
2286         (inlines): New variable.
2287         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2288         (generated): Append those here.
2289         * hurd/hurdinline.c: File removed.
2290
2291         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2292
2293         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2294
2295 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2296
2297         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2298
2299 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
2300
2301         * string/bits/string2.h (strnlen): Remove extra prototype.
2302
2303 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2304
2305         * manual/filesys.texi (Working on Directory Trees): Fix typos.
2306         Reported by Andries.Brouwer@cwi.nl.
2307
2308 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
2309
2310         * nscd/connections.c (handle_request): Use correct type for optlen
2311         variable.
2312
2313         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2314         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2315
2316 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
2317
2318         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2319         * nscd/pwdcache.c: Likewise.
2320         * nscd/hstcache.c: Likewise.
2321
2322 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2323
2324         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2325
2326         * posix/getopt.h: Include stdio.h.
2327
2328         * manual/arith.texi: Document restriction of ndigit parameter of
2329         ecvt and friends.
2330         * misc/efgcvt.c: Define NDIGIT_MAX.
2331         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2332         Do not dynamically allocate the static buffers.  They are small enough.
2333         * misc/efgcvt_r.c: Define NDIGIT_MAX.
2334         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2335         * misc/qefgcvt.c: Define NDIGIT_MAX.
2336         * misc/qefgcvt_r.c: Likewise.
2337         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2338
2339 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
2340
2341         * libio/stdio.h: Define stdin, stdout, stderr as macros.
2342         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2343         These are *pragmas* not macros.
2344         * wcsmbs/wchar.h: Fix comment.
2345
2346         * grp/grp.h: Use __foo_t_defined convention to typedef things
2347         only once.
2348         * io/sys/stat.h: Likewise.
2349         * libio/stdio.h: Likewise.
2350         * posix/unistd.h: Likewise.
2351         * posix/sys/types.h: Likewise.
2352         * posix/sys/wait.h: Likewise.
2353         * pwd/pwd.h: Likewise.
2354         * signal/signal.h: Likewise.
2355         * sysdeps/generic/stdint.h: Likewise.
2356         * sysdeps/gnu/utmpx.h: Likewise.
2357         * termios/termios.h: Likewise.
2358
2359 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2360
2361         * stdio/fputc.c: Don't define alias if fputc is defined as a
2362         macro.
2363         * stdio/putc.c: Define weak alias here since it is not done
2364         anymore in fputc.c.
2365
2366 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2367
2368         * assert/assert.h: Don't produce `defined' as part of macro
2369         expansion.
2370
2371 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
2372
2373         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2374         OFFSET argument of (off_t) -1.
2375         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2376         OFFSET argument of (off_t) -1.
2377
2378         * sysdeps/mach/hurd/pwrite.c: New file.
2379         * sysdeps/mach/hurd/pread.c: New file.
2380
2381         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2382         pass it in the RPC instead of always -1.
2383         * hurd/fd-write.c (_hurd_fd_write): Likewise.
2384         * hurd/hurd/fd.h: Update decls.
2385
2386 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2387
2388         * libio/wscanf.c: Include <wchar.h> for prototype.
2389
2390 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
2391
2392         * manual/io.texi. Fix typos.
2393         * manual/stdio.texi: Likewise.
2394         Patches by Brian Youmans <3diff@gnu.org>.
2395
2396 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
2397
2398         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2399         bits of two words differ.
2400
2401 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2402
2403         * libio/Makefile (routines): Add putwchar and putwchar_u.
2404
2405         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2406         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
2407         stdout.  Fix parameter name.
2408
2409         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
2410         * libio/getchar_u.c: Likewise.
2411
2412         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
2413
2414 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2415
2416         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
2417         macro expansion---it's undefined.  Properly parenthesize
2418         substituted parameters.
2419         (__GLIBC_PREREQ): Likewise.
2420
2421 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
2422
2423         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
2424         weird effects.
2425
2426         * stdlib/longlong.h: Provide __P definition if not already
2427         defined.
2428
2429         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
2430
2431 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
2432
2433         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
2434
2435 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2436
2437         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
2438
2439 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2440
2441         * stdio-common/vfprintf.c (group_member): Make parameters and
2442         return types pointers to CHAR_T instead of UCHAR_T.
2443         (vfprintf): Change type of work_buffer, workend and string to
2444         CHAR_T pointer/array.
2445         (process_arg, process_string_arg): Adjust/remove casts.  Add
2446         missing use of L_ macro.
2447         (printf_unknown): Add missing uses of L_ macro.
2448
2449 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2450
2451         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
2452         warning.
2453
2454 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2455
2456         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
2457         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
2458         (__wunderflow): Likewise.
2459         (_IO_switch_to_wget_mode): Likewise.
2460         (_IO_init_wmarker): Likewise.
2461
2462         * libio/wfileops.c (_IO_wfile_seekoff): Call
2463         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
2464         (_IO_wfile_jumps): Fix pbackfail entry.
2465
2466         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
2467         function if the stream is currently unoriented.
2468
2469 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
2470
2471         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
2472         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
2473         __gnuc_va_list in v*w(printf|scanf) prototypes.
2474
2475 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2476
2477         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
2478         1999-03-29 to iopopen also here.
2479         Reported by Richard Braakman <dark@xs4all.nl>.
2480
2481 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2482
2483         * include/features.h: Use __GNUC_PREREQ.
2484         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
2485
2486 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2487
2488         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
2489         Change EOF to WEOF and remove cast.
2490         (UNGETC): Remove macro.
2491         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
2492         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
2493         Change ISASCII to isascii and MBRLEN to mbrlen.
2494         (parse_one_spec): Compare info.spec always against wchar_t
2495         values.
2496         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
2497         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
2498         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
2499
2500 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2501
2502         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2503         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2504         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2505         oldiofsetpos64 only if doing versioning.
2506
2507 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2508
2509         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2510
2511 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2512
2513         * libio/libio.h: Fix last patch.
2514
2515 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2516
2517         * libio/libio.h (_IO_putwc): Correct type of first argument.
2518         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2519         putwc_unlocked, putwchar_unlocked): Likewise.
2520         * libio/fputwc.c: Likewise.
2521         * libio/fputwc_unlocked.c: Likewise.
2522         * libio/putwc.c: Likewise.
2523         * libio/putwc_unlocked.c: Likewise.
2524         * libio/putwchar.c: Likewise.
2525         * libio/putwchar_unlocked.c: Likewise.
2526
2527 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2528
2529         * sysdeps/gnu/siglist.h: File moved to ...
2530         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2531         any platform, since it just associates the SIG* macros with text names
2532         and descriptions. For any signal macros do not exist on every
2533         platform, we can use #ifdef tests here and still use this single
2534         common file for all platforms.
2535         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2536         should be usable for all platforms after the binary compatibility
2537         stuff in the current sysdeps/gnu version is no longer required.
2538         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2539         * sysdeps/generic/make_siglist.c: File removed.
2540         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2541         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2542
2543 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2544
2545         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2546         * sysdeps/gnu/siglist.c: ... here.
2547         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2548         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2549         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2550         Add entry for SIGLOST protected by #ifdef.
2551         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2552         and define OLD_SIGLIST_SIZE_STR.
2553         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2554
2555 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2556
2557         * include/features.h: Define new macros __GNUC_PREREQ and
2558         __GLIBC_PREREQ which can be used to test the version of gcc
2559         and glibc respectively.
2560
2561         * assert/assert.h: Use __GNUC_PREREQ.
2562         * intl/libintl.h: Likewise.
2563         * math/complex.h: Likewise.
2564         * math/tgmath.h: Likewise.
2565         * misc/sys/cdefs.h: Likewise.
2566         * posix/sys/types.h: Likewise.
2567         * socket/sys/socket.h: Likewise.
2568         * string/bits/string2.h: Likewise.
2569         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2570         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2571
2572 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2573
2574         * include/libintl.h: Declare _libc_intl_domainname here.
2575         Define _ and N_ here.
2576         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2577         define _ and N_.  Don't declare _libc_intl_domainname.
2578         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2579
2580         * db2/config.h: Don't include sys/stat.h or define
2581         HAVE_ST_BLKSIZE here...
2582         * db2/compat.h: ...do it here.
2583
2584         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2585         other headers.
2586         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2587         * iconv/iconv.c: Include stddef.h for NULL.
2588         * malloc/malloc.h: Include features.h.
2589         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2590
2591         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2592         into the generated file.
2593         * sysdeps/gnu/errlist.awk: Likewise.
2594         * sysdeps/gnu/errlist.c: Rebuilt.
2595
2596         * assert/assert-perr.c: Include libintl.h.
2597         * assert/assert.c: Likewise.
2598         * elf/dl-open.c: Likewise.
2599         * elf/dlsym.c: Likewise.
2600         * elf/dlvsym.c: Likewise.
2601         * iconv/iconv_prog.c: Likewise.
2602         * inet/rcmd.c: Likewise.
2603         * inet/ruserpass.c: Likewise.
2604         * locale/programs/charset.c: Likewise.
2605         * locale/programs/ld-collate.c: Likewise.
2606         * locale/programs/ld-ctype.c: Likewise.
2607         * locale/programs/ld-messages.c: Likewise.
2608         * locale/programs/ld-monetary.c: Likewise.
2609         * locale/programs/ld-numeric.c: Likewise.
2610         * locale/programs/ld-time.c: Likewise.
2611         * locale/programs/locfile.c: Likewise.
2612         * locale/programs/repertoire.c: Likewise.
2613         * login/programs/database.c: Likewise.
2614         * login/programs/request.c: Likewise.
2615         * malloc/mcheck.c: Likewise.
2616         * misc/error.c: Likewise.
2617         * nis/nis_call.c: Likewise.
2618         * nis/nis_callback.c: Likewise.
2619         * nis/nis_error.c: Likewise.
2620         * nis/nis_local_names.c: Likewise.
2621         * nis/nis_print.c: Likewise.
2622         * nis/nis_print_group_entry.c: Likewise.
2623         * nis/ypclnt.c: Likewise.
2624         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2625         * nscd/cache.c: Likewise.
2626         * nscd/connections.c: Likewise.
2627         * nscd/grpcache.c: Likewise.
2628         * nscd/hstcache.c: Likewise.
2629         * nscd/nscd_conf.c: Likewise.
2630         * nscd/nscd_stat.c: Likewise.
2631         * nscd/pwdcache.c: Likewise.
2632         * posix/id.c: Likewise.
2633         * resolv/herror.c: Likewise.
2634         * stdio-common/psignal.c: Likewise.
2635         * string/strsignal.c: Likewise.
2636         * sunrpc/auth_unix.c: Likewise.
2637         * sunrpc/clnt_perr.c: Likewise.
2638         * sunrpc/clnt_raw.c: Likewise.
2639         * sunrpc/clnt_tcp.c: Likewise.
2640         * sunrpc/clnt_udp.c: Likewise.
2641         * sunrpc/clnt_unix.c: Likewise.
2642         * sunrpc/get_myaddr.c: Likewise.
2643         * sunrpc/pm_getmaps.c: Likewise.
2644         * sunrpc/pmap_clnt.c: Likewise.
2645         * sunrpc/pmap_rmt.c: Likewise.
2646         * sunrpc/rpc_main.c: Likewise.
2647         * sunrpc/rpc_scan.c: Likewise.
2648         * sunrpc/svc_run.c: Likewise.
2649         * sunrpc/svc_simple.c: Likewise.
2650         * sunrpc/svc_tcp.c: Likewise.
2651         * sunrpc/svc_udp.c: Likewise.
2652         * sunrpc/svc_unix.c: Likewise.
2653         * sunrpc/xdr_rec.c: Likewise.
2654         * sunrpc/xdr_ref.c: Likewise.
2655         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2656         * sysdeps/posix/gai_strerror.c: Likewise.
2657         * sysdeps/unix/siglist.c: Likewise.
2658         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2659         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2660         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2661         * timezone/zic.c: Likewise.
2662
2663 1999-06-18  H.J. Lu  <hjl@gnu.org>
2664
2665         * localedata/Makefile (charmaps): Exclude SCCS.
2666         (locales): Likewise.
2667         (repertoiremaps): Likewise.
2668
2669 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2670
2671         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2672         * sysdeps/generic/bsd-setjmp.c: Likewise.
2673
2674         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2675
2676         * iconv/gconv_open.c: Include string.h for memset prototype.
2677
2678         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2679         definitions.
2680
2681         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2682         assignment to avoid warning on 64bit platforms.
2683
2684 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2685
2686         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2687
2688         * nss/getXXbyYY_r.c: Return error code not -1.
2689         * nss/getXXent_r.c: Likewise.
2690         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2691         small.
2692         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2693         value > 0 for error.
2694         * nscd/nscd_gethst_r.c: Likewise.
2695         * nscd/nscd_getpw_r.c: Likewise.
2696
2697 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2698
2699         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2700         disciplines.
2701
2702 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2703
2704         * nscd/nscd_nischeck.c: Fix typos.
2705
2706 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2707
2708         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2709         always when oact is NULL.
2710         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2711
2712 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2713
2714         * math/libm-test.c (jn_test): Adjust delta.
2715
2716 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2717
2718         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2719         * libio/wprintf.c: Likewise.
2720
2721 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2722
2723         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2724         to not write beyond allocated memory.
2725         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2726
2727 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2728
2729         * malloc/mtrace.c: Keep lock while printing output lines.
2730         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2731
2732 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2733
2734         * configure.in: Add warnings about broken code.
2735
2736         * Versions.def: Add GLIBC_2.2 for libc.
2737
2738         * iconv/gconv.h: Make header suitable for inclusion in public header
2739         by protecting all names with __.
2740         * iconv/gconv.c: Adapt for symbol name changes.
2741         * iconv/gconv.h: Likewise.
2742         * iconv/gconv_builtin.c: Likewise.
2743         * iconv/gconv_close.c: Likewise.
2744         * iconv/gconv_db.c: Likewise.
2745         * iconv/gconv_dl.c: Likewise.
2746         * iconv/gconv_int.h: Likewise.
2747         * iconv/gconv_open.c: Likewise.
2748         * iconv/gconv_simple.c: Likewise.
2749         * iconv/iconv.c: Likewise.
2750         * iconv/iconv_close.c: Likewise.
2751         * iconv/iconv_open.c: Likewise.
2752         * iconv/loop.c: Likewise.
2753         * iconv/skeleton.c: Likewise.
2754         * iconvdata/8bit-gap.c: Likewise.
2755         * iconvdata/8bit-generic.c: Likewise.
2756         * iconvdata/ansi_x3.110.c: Likewise.
2757         * iconvdata/big5.c: Likewise.
2758         * iconvdata/cns11643.h: Likewise.
2759         * iconvdata/cns11643l1.h: Likewise.
2760         * iconvdata/euc-cn.c: Likewise.
2761         * iconvdata/euc-jp.c: Likewise.
2762         * iconvdata/euc-kr.c: Likewise.
2763         * iconvdata/euc-tw.c: Likewise.
2764         * iconvdata/gb2312.h: Likewise.
2765         * iconvdata/iso-2022-jp.c: Likewise.
2766         * iconvdata/iso-2022-kr.c: Likewise.
2767         * iconvdata/iso646.c: Likewise.
2768         * iconvdata/iso8859-1.c: Likewise.
2769         * iconvdata/iso_6937-2.c: Likewise.
2770         * iconvdata/iso_6937.c: Likewise.
2771         * iconvdata/jis0201.h: Likewise.
2772         * iconvdata/jis0208.h: Likewise.
2773         * iconvdata/jis0212.h: Likewise.
2774         * iconvdata/johab.c: Likewise.
2775         * iconvdata/ksc5601.h: Likewise.
2776         * iconvdata/sjis.c: Likewise.
2777         * iconvdata/t.61.c: Likewise.
2778         * iconvdata/uhc.c: Likewise.
2779         * stdlib/mblen.c: Likewise.
2780         * stdlib/mbtowc.c: Likewise.
2781         * stdlib/wctomb.c: Likewise.
2782         * wcsmbs/btowc.c: Likewise.
2783         * wcsmbs/mbrtowc.c: Likewise.
2784         * wcsmbs/mbsnrtowcs.c: Likewise.
2785         * wcsmbs/mbsrtowcs.c: Likewise.
2786         * wcsmbs/wchar.h: Likewise.
2787         * wcsmbs/wcrtomb.c: Likewise.
2788         * wcsmbs/wcsmbsload.c: Likewise.
2789         * wcsmbs/wcsmbsload.h: Likewise.
2790         * wcsmbs/wcsnrtombs.c: Likewise.
2791         * wcsmbs/wcsrtombs.c: Likewise.
2792         * wcsmbs/wctob.c: Likewise.
2793
2794         * include/limits.h (MB_LEN_MAX): Increase to 16.
2795
2796         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2797         _G_iconv_t.
2798         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2799         * include/wchar.h: Change mbstate_t to __mbstate_t.
2800
2801         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2802         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2803         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2804         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2805         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2806         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2807         and iofwide.
2808         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2809         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2810         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2811         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2812         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2813         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2814         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2815         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2816         GLIBC_2.2 for libc.
2817         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2818         Extend _IO_file contain pointer to codecvt, widedata and mode.
2819         (_IO_getwc_unlocked): New macro.
2820         (_IO_putwc_unlocked): New macro.
2821         (_IO_fwide): New macro.
2822         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2823         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2824         buffers based on mode.
2825         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2826         oriented.
2827         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2828         flag to be enough to signal unallocated buffer.  For wide oriented
2829         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2830         _IO_new_do_write directly.
2831         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2832         (_IO_file_seek): Likewise.
2833         * libio/genops.c (_IO_least_marker): Make global.
2834         (__underflow): Orient stream if not already done.
2835         (__uflow): Likewise.
2836         (_IO_default_seekpos): Change to type _IO_off64_t.
2837         (_IO_default_seekoff): Likewise.
2838         (_IO_default_seek): Likewise.
2839         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2840         in initialization.
2841         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2842         to use _IO_off64_t.
2843         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2844         char stream.
2845         * libio/ftello64.c: Likewise.
2846         * libio/ioftell.c: Likewise.
2847         * libio/iofopncook.c: Likewise.
2848         * libio/ioseekoff.c: Likewise.
2849         * libio/ioseekpos.c: Likewise.
2850         * libio/oldfileops.c: Likewise.
2851         * libio/iofgetpos.c: Store state of conversion if necessary.
2852         * libio/iofgetpos64.c: Likewise.
2853         * libio/iofsetpos.c: Restore conversion state if necessary.
2854         * libio/iofsetpos64.c: Likewise.
2855         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2856         * libio/iofopen.c: Likewise.
2857         * libio/iofopen64.c: Likewise.
2858         * libio/iopopen.c: Likewise.
2859         * libio/iovdprintf.c: Likewise.
2860         * libio/iovsprintf.c: Likewise.
2861         * libio/iovsscanf.c: Likewise.
2862         * libio/memstream.c: Likewise.
2863         * libio/obprintf.c: Likewise.
2864         * libio/iofputs.c: Orient stream if not already happened.
2865         * libio/iofputs_u.c: Likewise.
2866         * libio/iofwrite.c: Likewise.
2867         * libio/iofwrite_u.c: Likewise.
2868         * libio/ioputs.c: Likewise.
2869         * libio/iosetbuffer.c: Handle not yet oriented stream.
2870         * libio/iosetvbuf.c: Likewise.
2871         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
2872         * libio/stdfiles.c: Likewise.
2873         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
2874         failed allocation.
2875         (_IO_str_seekoff): Use _IO_off64_t.
2876         * libio/vasprintf.c: Pre-orient stream.
2877         * libio/vsnprintf.c: Likewise.
2878         * libio/fputwc.c: New file.
2879         * libio/fputwc_u.c: New file.
2880         * libio/fwprintf.c: New file.
2881         * libio/fwscanf.c: New file.
2882         * libio/getwc.c: New file.
2883         * libio/getwc_u.c: New file.
2884         * libio/getwchar.c: New file.
2885         * libio/getwchar_u.c: New file.
2886         * libio/iofgetws.c: New file.
2887         * libio/iofgetws_u.c: New file.
2888         * libio/iofputws.c: New file.
2889         * libio/iofputws_u.c: New file.
2890         * libio/iofwide.c: New file.
2891         * libio/iogetwline.c: New file.
2892         * libio/ioungetwc.c: New file.
2893         * libio/iovswscanf.c: New file.
2894         * libio/iowpadn.c: New file.
2895         * libio/oldiofgetpos.c: New file.
2896         * libio/oldiofgetpos64.c: New file.
2897         * libio/oldiofsetpos.c: New file.
2898         * libio/oldiofsetpos64.c: New file.
2899         * libio/putwc.c: New file.
2900         * libio/putwc_u.c: New file.
2901         * libio/putwchar.c: New file.
2902         * libio/putwchar_u.c: New file.
2903         * libio/swprintf.c: New file.
2904         * libio/swscanf.c: New file.
2905         * libio/tst_swprintf.c: New file.
2906         * libio/tst_swscanf.c: New file.
2907         * libio/tst_wprintf.c: New file.
2908         * libio/tst_wscanf.c: New file.
2909         * libio/tst_wscanf.input: New file.
2910         * libio/vswprintf.c: New file.
2911         * libio/vwprintf.c: New file.
2912         * libio/vwscanf.c: New file.
2913         * libio/wfiledoalloc.c: New file.
2914         * libio/wfileops.c: New file.
2915         * libio/wgenops.c: New file.
2916         * libio/wprintf.c: New file.
2917         * libio/wscanf.c: New file.
2918         * libio/wstrops.c: New file.
2919         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
2920         vfwprintf, and vfwscanf.
2921         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
2922         make global.
2923         * stdio-common/_itowa.c: New file.
2924         * stdio-common/_itowa.h: New file.
2925         * stdio-common/itoa-digits.c: Minimal optimization.
2926         * stdio-common/itowa-digits.c: New file.
2927         * stdio-common/printf-parse.h: Allow use in wide character context.
2928         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
2929         * stdio-common/printf.h (printf_info): Add wide bit.
2930         * stdio-common/printf_fp.c: Determine from wide bit whether stream
2931         is wide oriented or not.
2932         * stdio-common/printf_size.c: Likewise.
2933         * sysdeps/generic/printf_fphex.c: Likewise.
2934         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
2935         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
2936         context.
2937         * stdio-common/vfscand.c: Likewise.
2938         * stdio-common/vfwprintf.c: New file.
2939         * stdio-common/vfwscanf.c: New file.
2940
2941         * time/Makefile (routines): Add wcsftime.
2942         (tests): Add tst_wcsftime.
2943         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
2944         * time/strftime.c: Make usable as wcsftime.
2945         * time/wcsftime.c: New file.
2946         * time/tst_wcsftime.c: New file.
2947
2948         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
2949         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
2950         * wcsmbs/wcschrnul.c: New file.
2951         * wcsmbs/wmemcpy.c: New file.
2952         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
2953         * wcsmbs/wmemmove.c: Likewise for wmemmove.
2954
2955         * manual/stdio.texi: Document is_char and wide element if printf_info.
2956
2957         * manual/time.texi: Document wcsftime.
2958
2959         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
2960         __wmemmove, __wcschrnul, and __vfwscanf.
2961
2962         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
2963         * locale/C-time.c: Adapt for above change.
2964         * locale/categories.def: Likewise.
2965         * locale/localeinfo.h: Likewise.
2966         * localedata/Makefile: Don't run tests for now.
2967
2968         * manual/errno.texi: Fix typos.
2969         * manual/memory.texi: Likewise.
2970         * manual/ctype.texi: Likewise.
2971         Patches by Brian Youmans <3diff@gnu.org>.
2972
2973 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2974
2975         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
2976
2977 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2978
2979         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
2980         word order.
2981         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
2982         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
2983
2984 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2985
2986         * db2/db/db.c: Restore __nss_db_open alias.
2987         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
2988         include.
2989         * db2/os/os_rw.c (__os_write): Maintain const correctness.
2990         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
2991
2992 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2993
2994         * stdio-common/printf-parse.h (parse_one_spec): Don't set
2995         is_longlong if not necessary.
2996
2997 1999-06-15  H.J. Lu  <hjl@gnu.org>
2998
2999         * Make-dist (sysdep_dirs): Exclude SCCS.
3000         * MakeTAGS (sysdep_dirs): Likewise.
3001
3002 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
3003
3004         * posix/regex.c (re_error_msgid): Remove extra commas.
3005
3006 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
3007
3008         * stdlib/tst-strtoll.c: New file.
3009         * stdlib/Makefile (tests): Add tst-strtoll.c
3010         * stdlib/strtol.c: It is not generally true that if
3011         (unsigned)a*(unsigned)b overflows, then the result is
3012         less than 'a'.
3013
3014 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
3015
3016         * nscd/connections.c (handle_request): Only root is allowed to
3017         send GETSTAT request in non secure mode.
3018         * nscd/nscd.c: Print error message if other then root try to
3019         use getstat.
3020
3021 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3022
3023         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
3024
3025 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3026
3027         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
3028         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
3029
3030 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3031
3032         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
3033         for character to search, to help the compiler.
3034         * sysdeps/generic/strchrnul.c: Likewise.
3035         * sysdeps/generic/memchr.c: Likewise.
3036         * sysdeps/generic/memccpy.c: Likewise.
3037         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
3038
3039 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3040
3041         * sysdeps/m68k/memchr.S: New file.
3042         * sysdeps/m68k/rawmemchr.S: New file.
3043         * sysdeps/m68k/strchr.S: New file.
3044         * sysdeps/m68k/strchrnul.S: New file.
3045
3046 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
3047
3048         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
3049         add `memory' clobber; optimise for constant `val'.
3050         (atomic_add): Likewise.
3051         (test_and_set): Remove `volatile'; add `memory' clobber; be more
3052         like the original `test_and_set'.
3053         (compare_and_swap): Remove `volatile'; add `memory' clobber;
3054         optimise for constant `oldval'.
3055         (always_swap): Remove `volatile'; add `memory' clobber.
3056
3057 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3058
3059         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
3060         functions for gcc <= 2.7.x.
3061
3062 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
3063
3064         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
3065         change.
3066
3067 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
3068
3069         * db2/Makefile (distribute): Remove files which do not exist
3070         anymore.
3071
3072         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
3073         definitions to calm down gcc.
3074
3075         * db2/db.h: Update from db 2.7.5.
3076         * db2/db_185.h: Likewise.
3077         * db2/db_int.h: Likewise.
3078         * db2/btree/bt_compare.c: Likewise.
3079         * db2/btree/bt_conv.c: Likewise.
3080         * db2/btree/bt_curadj.c: Likewise.
3081         * db2/btree/bt_cursor.c: Likewise.
3082         * db2/btree/bt_delete.c: Likewise.
3083         * db2/btree/bt_open.c: Likewise.
3084         * db2/btree/bt_page.c: Likewise.
3085         * db2/btree/bt_put.c: Likewise.
3086         * db2/btree/bt_rec.c: Likewise.
3087         * db2/btree/bt_recno.c: Likewise.
3088         * db2/btree/bt_rsearch.c: Likewise.
3089         * db2/btree/bt_search.c: Likewise.
3090         * db2/btree/bt_split.c: Likewise.
3091         * db2/btree/bt_stat.c: Likewise.
3092         * db2/btree/btree_auto.c: Likewise.
3093         * db2/common/db_appinit.c: Likewise.
3094         * db2/common/db_apprec.c: Likewise.
3095         * db2/common/db_err.c: Likewise.
3096         * db2/common/db_region.c: Likewise.
3097         * db2/common/db_salloc.c: Likewise.
3098         * db2/db/db.c: Likewise.
3099         * db2/db/db.src: Likewise.
3100         * db2/db/db_am.c: Likewise.
3101         * db2/db/db_auto.c: Likewise.
3102         * db2/db/db_dispatch.c: Likewise.
3103         * db2/db/db_dup.c: Likewise.
3104         * db2/db/db_iface.c: Likewise.
3105         * db2/db/db_join.c: Likewise.
3106         * db2/db/db_overflow.c: Likewise.
3107         * db2/db/db_pr.c: Likewise.
3108         * db2/db/db_rec.c: Likewise.
3109         * db2/db/db_ret.c: Likewise.
3110         * db2/db185/db185.c: Likewise.
3111         * db2/dbm/dbm.c: Likewise.
3112         * db2/hash/hash.c: Likewise.
3113         * db2/hash/hash_auto.c: Likewise.
3114         * db2/hash/hash_dup.c: Likewise.
3115         * db2/hash/hash_page.c: Likewise.
3116         * db2/hash/hash_rec.c: Likewise.
3117         * db2/hash/hash_stat.c: Likewise.
3118         * db2/include/btree.h: Likewise.
3119         * db2/include/btree_ext.h: Likewise.
3120         * db2/include/clib_ext.h: Likewise.
3121         * db2/include/common_ext.h: Likewise.
3122         * db2/include/db_am.h: Likewise.
3123         * db2/include/db_auto.h: Likewise.
3124         * db2/include/db_cxx.h: Likewise.
3125         * db2/include/db_ext.h: Likewise.
3126         * db2/include/db_join.h: Likewise.
3127         * db2/include/db_page.h: Likewise.
3128         * db2/include/hash.h: Likewise.
3129         * db2/include/hash_ext.h: Likewise.
3130         * db2/include/lock.h: Likewise.
3131         * db2/include/lock_ext.h: Likewise.
3132         * db2/include/log.h: Likewise.
3133         * db2/include/log_ext.h: Likewise.
3134         * db2/include/mp.h: Likewise.
3135         * db2/include/mp_ext.h: Likewise.
3136         * db2/include/os.h: Likewise.
3137         * db2/include/os_ext.h: Likewise.
3138         * db2/include/os_func.h: Likewise.
3139         * db2/include/txn.h: Likewise.
3140         * db2/include/txn_auto.h: Likewise.
3141         * db2/include/txn_ext.h: Likewise.
3142         * db2/include/xa.h: Likewise.
3143         * db2/include/xa_ext.h: Likewise.
3144         * db2/lock/lock.c: Likewise.
3145         * db2/lock/lock_conflict.c: Likewise.
3146         * db2/lock/lock_deadlock.c: Likewise.
3147         * db2/lock/lock_region.c: Likewise.
3148         * db2/lock/lock_util.c: Likewise.
3149         * db2/log/log.c: Likewise.
3150         * db2/log/log_archive.c: Likewise.
3151         * db2/log/log_auto.c: Likewise.
3152         * db2/log/log_findckp.c: Likewise.
3153         * db2/log/log_get.c: Likewise.
3154         * db2/log/log_put.c: Likewise.
3155         * db2/log/log_rec.c: Likewise.
3156         * db2/log/log_register.c: Likewise.
3157         * db2/mp/mp_bh.c: Likewise.
3158         * db2/mp/mp_fget.c: Likewise.
3159         * db2/mp/mp_fopen.c: Likewise.
3160         * db2/mp/mp_fput.c: Likewise.
3161         * db2/mp/mp_fset.c: Likewise.
3162         * db2/mp/mp_open.c: Likewise.
3163         * db2/mp/mp_pr.c: Likewise.
3164         * db2/mp/mp_region.c: Likewise.
3165         * db2/mp/mp_sync.c: Likewise.
3166         * db2/mutex/mutex.c: Likewise.
3167         * db2/mutex/uts4_cc.s: Likewise.
3168         * db2/os/os_abs.c: Likewise.
3169         * db2/os/os_alloc.c: Likewise.
3170         * db2/os/os_config.c: Likewise.
3171         * db2/os/os_dir.c: Likewise.
3172         * db2/os/os_fid.c: Likewise.
3173         * db2/os/os_fsync.c: Likewise.
3174         * db2/os/os_map.c: Likewise.
3175         * db2/os/os_oflags.c: Likewise.
3176         * db2/os/os_open.c: Likewise.
3177         * db2/os/os_rw.c: Likewise.
3178         * db2/os/os_seek.c: Likewise.
3179         * db2/os/os_sleep.c: Likewise.
3180         * db2/os/os_spin.c: Likewise.
3181         * db2/os/os_stat.c: Likewise.
3182         * db2/os/os_tmpdir.c: Likewise.
3183         * db2/os/os_unlink.c: Likewise.
3184         * db2/progs/db_archive/db_archive.c: Likewise.
3185         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3186         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3187         * db2/progs/db_dump/db_dump.c: Likewise.
3188         * db2/progs/db_load/db_load.c: Likewise.
3189         * db2/progs/db_printlog/README: Likewise.
3190         * db2/progs/db_printlog/commit.awk: Likewise.
3191         * db2/progs/db_printlog/count.awk: Likewise.
3192         * db2/progs/db_printlog/db_printlog.c: Likewise.
3193         * db2/progs/db_printlog/pgno.awk: Likewise.
3194         * db2/progs/db_printlog/range.awk: Likewise.
3195         * db2/progs/db_printlog/status.awk: Likewise.
3196         * db2/progs/db_printlog/txn.awk: Likewise.
3197         * db2/progs/db_recover/db_recover.c: Likewise.
3198         * db2/progs/db_stat/db_stat.c: Likewise.
3199         * db2/txn/txn.c: Likewise.
3200         * db2/txn/txn.src: Likewise.
3201         * db2/txn/txn_auto.c: Likewise.
3202         * db2/txn/txn_rec.c: Likewise.
3203         * db2/xa/xa.c: Likewise.
3204         * db2/xa/xa_db.c: Likewise.
3205         * db2/xa/xa_map.c: Likewise.
3206
3207         * db2/btree/bt_close.c: Removed.
3208         * db2/db/db_thread.c: Likewise.
3209         * db2/hash/hash_debug.c: Likewise.
3210         * db2/include/db.h.src: Likewise.
3211         * db2/include/db_int.h.src: Likewise.
3212         * db2/include/os_jump.h: Likewise.
3213         * db2/mutex/alpha.dec: Likewise.
3214         * db2/mutex/alpha.gcc: Likewise.
3215         * db2/mutex/parisc.hp: Likewise.
3216         * db2/mutex/uts4.cc.s: Likewise.
3217
3218         * db2/Makefile: Add new routines, remove old for 2.7.5.
3219         * db2/Versions: Add internal function names for the helper programs.
3220         * db2/makedb.c: Update for new cursor callback.
3221         * Versions.def: Define versions for libdb.
3222
3223 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
3224
3225         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3226         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3227         * nscd/nscd_nischeck.c: New file.
3228         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3229
3230 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3231
3232         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3233         MSG_* flags from Linux 2.2.9.
3234
3235 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3236
3237         * Makeconfig (static-start-installed-name): Set to
3238         $(start-installed-name) if not defined.
3239         (+link-static): Use $(static-start-installed-name) instead of
3240         $(start-installed-name).
3241         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3242         Set to crt0.o.
3243
3244 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3245
3246         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3247         inserting a send right into the child instead of unconditionally
3248         copying the send right.
3249
3250 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
3251
3252         * locale/lc-time.c: Add free_mem function to free if necessary
3253         statically allocated memory.
3254
3255 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
3256
3257         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3258         bias from the raw exponent.
3259
3260 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3261
3262         * inet/arpa/tftp.h: Move attribute declaration in right position.
3263
3264 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
3265
3266         * nscd/nscd.c: Add -S options for separate caching of data for
3267         every user. So one user couldn't see the data another user
3268         has gotten with his credentials.
3269         * nscd/nscd.h: Add new prototypes.
3270         * nscd/cache.c: Compare owner of cache entry if in secure mode.
3271         * nscd/connections.c: Check on shutdown if caller really was root.
3272         In secure mode get uid of caller.
3273         * nscd/grpcache.c: Add support for new secure group mode.
3274         * nscd/hstcache.c: Add support for new secure hosts mode.
3275         * nscd/pwdcache.c: Add support for new secure passwd mode.
3276
3277 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3278
3279         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3280         of user-provided buffer.
3281
3282 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
3283
3284         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3285         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3286
3287 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
3288
3289         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3290         and A format.
3291
3292         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3293         returning after last entry.
3294         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3295
3296 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
3297
3298         * misc/sysexits.h: Remove advertising clause of copyright.
3299         * resolv/getnetnamadr.c: Likewise.
3300         * sysdeps/vax/bcopy.s: Likewise.
3301         * sysdeps/vax/bzero.s: Likewise.
3302         * sysdeps/vax/ffs.s: Likewise.
3303         * sysdeps/vax/memchr.s: Likewise.
3304         * sysdeps/vax/memcmp.s: Likewise.
3305         * sysdeps/vax/memmove.s: Likewise.
3306         * sysdeps/vax/memset.s: Likewise.
3307         * sysdeps/vax/strcat.s: Likewise.
3308         * sysdeps/vax/strchr.s: Likewise.
3309         * sysdeps/vax/strcmp.s: Likewise.
3310         * sysdeps/vax/strcpy.s: Likewise.
3311         * sysdeps/vax/strcspn.s: Likewise.
3312         * sysdeps/vax/strlen.s: Likewise.
3313         * sysdeps/vax/strncat.s: Likewise.
3314         * sysdeps/vax/strncmp.s: Likewise.
3315         * sysdeps/vax/strncpy.s: Likewise.
3316         * sysdeps/vax/strpbrk.s: Likewise.
3317         * sysdeps/vax/strrchr.s: Likewise.
3318         * sysdeps/vax/strsep.s: Likewise.
3319         * sysdeps/vax/strspn.s: Likewise.
3320         * sysdeps/vax/strstr.s: Likewise.
3321
3322         * libio/iofopncook.c: Adjust for renaming of structure elements.
3323         * libio/libio.h: Define cookie functions with all the names.
3324
3325         * pwd/fgetpwent_r.c: Set errno in the correct way.
3326         * shadow/fgetspent_r.c: Likewise.
3327         * pwd/fgetpwent.c: Handle long lines correctly.  Little
3328         optimizations.  Free static buffer when debugging memory handling.
3329         * shadow/fgetspent.c: Likewise.
3330
3331         * grp/fgetgrent.c: Little optimization in loop.
3332
3333 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3334
3335         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3336         in a different way.
3337
3338 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
3339
3340         * stdlib/longlong.h: gas changed sethi handling when without
3341         %hi(). Fix assembly.
3342         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3343         port specific cache id checks.
3344         * sysdeps/generic/dl-cache.h: New file.
3345         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3346
3347 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3348
3349         * gmon/gmon.c: Remove advertising clause of copyright.
3350         * gmon/mcount.c: Likewise.
3351         * gmon/sys/gmon.h: Likewise.
3352         * inet/arpa/ftp.h: Likewise.
3353         * inet/arpa/telnet.h: Likewise.
3354         * inet/arpa/tftp.h: Likewise.
3355         * inet/inet_lnaof.c: Likewise.
3356         * inet/inet_mkadr.c: Likewise.
3357         * inet/inet_net.c: Likewise.
3358         * inet/inet_netof.c: Likewise.
3359         * inet/protocols/routed.h: Likewise.
3360         * inet/protocols/rwhod.h: Likewise.
3361         * inet/protocols/talkd.h: Likewise.
3362         * inet/protocols/timed.h: Likewise.
3363         * inet/rcmd.c: Likewise.
3364         * inet/rexec.c: Likewise.
3365         * inet/ruserpass.c: Likewise.
3366         * io/fts.c: Likewise.
3367         * io/fts.h: Likewise.
3368         * login/login_tty.c: Likewise.
3369         * misc/fstab.h: Likewise.
3370         * misc/getttyent.c: Likewise.
3371         * misc/getusershell.c: Likewise.
3372         * misc/sys/queue.h: Likewise.
3373         * misc/sys/syslog.h: Likewise.
3374         * misc/syslog.c: Likewise.
3375         * misc/ttyent.h: Likewise.
3376         * misc/ttyslot.c: Likewise.
3377         * resolv/arpa/nameser.h: Likewise.
3378         * resolv/gethnamaddr.c: Likewise.
3379         * resolv/herror.c: Likewise.
3380         * resolv/inet_addr.c: Likewise.
3381         * resolv/mapv4v6addr.h: Likewise.
3382         * resolv/mapv4v6hostent.h: Likewise
3383         * resolv/nss_dns/dns-host.c: Likewise.
3384         * resolv/nss_dns/dns-network.c: Likewise.
3385         * resolv/res_comp.c: Likewise.
3386         * resolv/res_data.c: Likewise.
3387         * resolv/res_debug.c: Likewise.
3388         * resolv/res_init.c: Likewise.
3389         * resolv/res_mkquery.c: Likewise.
3390         * resolv/res_query.c: Likewise.
3391         * resolv/res_send.c: Likewise.
3392         * resolv/resolv.h: Likewise.
3393         * sysdeps/generic/div.c: Likewise.
3394         * sysdeps/generic/netinet/ip.h: Likewise.
3395         * sysdeps/generic/netinet/tcp.h: Likewise.
3396         * sysdeps/generic/paths.h: Likewise.
3397         * sysdeps/generic/prof-freq.c: Likewise.
3398         * sysdeps/generic/sys/ttydefaults.h: Likewise.
3399         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3400         * sysdeps/gnu/netinet/tcp.h: Likewise.
3401         * sysdeps/ieee754/support.c: Likewise.
3402         * sysdeps/mach/hurd/sys/param.h: Likewise.
3403         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3404         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3405         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3406         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3407         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3408         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
3409         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3410         * sysdeps/unix/sysv/linux/paths.h: Likewise.
3411         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3412         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
3413         * sysdeps/vax/DEFS.h: Likewise.
3414         * termios/sys/ttychars.h: Likewise.
3415         * misc/daemon.c: Likewise.  Call fork.
3416
3417         * grp/fgetgrent.c (buffer): Make file local variable.
3418         (free_mem): New function.  Call for malloc debugging.
3419
3420         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
3421
3422 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3423
3424         * grp/Makefile: Add rules for tst_fgetgrent.
3425
3426         * grp/tst_fgetgrent.c: Rewritten to read only one file.
3427
3428         * grp/tst_fgetgrent.sh: New file.
3429
3430 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3431
3432         * grp/Makefile (tests): Add tst_fgetgrent.
3433         * grp/tst_fgetgrent.c: New file.
3434         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3435
3436 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
3437
3438         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
3439         be POSIX compliant.  Prior definition was broken for Hurd.
3440         Reported by Mark Kettenis <kettenis@gnu.org>.
3441
3442 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3443
3444         * ctype/ctype.h: Protect __tobody code by __extension__.
3445
3446 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3447
3448         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
3449         reading and reset in case the buffer was too small.
3450
3451         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
3452         of EOF.
3453
3454 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3455
3456         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
3457         another SIOGIFNAME typo.
3458
3459 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3460
3461         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
3462
3463         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
3464         bit.
3465
3466 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3467
3468         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
3469         the precision if the mantissa is zero.
3470
3471 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3472
3473         * manual/lang.texi (Floating Point Parameters): GCC already
3474         supports long double for a long time.
3475
3476 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3477
3478         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
3479         yn_test): Increase some epsilons.
3480
3481 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3482
3483         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
3484         parameters.
3485
3486 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3487
3488         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3489         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
3490         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
3491         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
3492
3493         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
3494         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
3495         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
3496         * sysdeps/libm-ieee754/w_j1.c: Likewise.
3497         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
3498         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
3499         * sysdeps/libm-ieee754/w_jn.c: Likewise.
3500         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
3501         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3502
3503         * stdio-common/vfprintf.c: Correct typos.
3504
3505         * math/libm-test.c (jn_test): Adjust delta.
3506         (y1_test): Likewise.
3507         (yn_test): Likewise.
3508
3509         * elf/do-lookup.h: It should never happen that if we expect a versioned
3510         symbol from a file the file has no version table.  This should have
3511         been checked in dl-version.c.
3512         * elf/dl-lookup.c: Include assert.h.
3513
3514         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3515         function handling.
3516
3517         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3518
3519 1999-06-06  Andi Kleen  <ak@muc.de>
3520
3521         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3522         SA_RESTORER flag.
3523
3524 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3525
3526         * math/libm-test.c (yn_test): Change one delta.
3527         (jn_test): Likewise.
3528         (j1_test): Likewise.
3529         (y0_test): Likewise.
3530
3531 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3532
3533         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3534         avoid multiple calls to getpagesize() which might be a syscall.
3535
3536 1999-06-06  Philip Blundell  <philb@gnu.org>
3537
3538         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3539
3540 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3541
3542         * manual/install.texi (Running make install): Correct typo in
3543         dynamic linker invocation.
3544
3545 1999-06-05  Philip Blundell  <philb@gnu.org>
3546
3547         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
3548         problems with GOT addressing.
3549
3550 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3551
3552         * malloc/malloc.c (check_action): Change into bitmap so that both
3553         diagnostic and abort can be requested by setting it to 3.
3554         (mALLOC_SET_STATe): Disable malloc checking if necessary.
3555
3556 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
3557
3558         * configure.in: Few changes for HPUX.
3559
3560         * scripts/config.guess: Update from latest version.
3561         * scripts/config.sub: Likewise.
3562
3563 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3564
3565         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
3566         map files.  Closes PR libc/1147.
3567
3568 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3569
3570         * math/libm-test.c (main): Add new test functions.
3571         (jn_test): New tests.
3572         (j1_test): Add some more tests.
3573         (j0_test): Add some more tests.
3574         (y0_test): Add some more tests.
3575         (y1_test): Add some more tests.
3576
3577 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3578
3579         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
3580         Patch by mhagger@dera.gov.uk [PR libc/1145].
3581
3582         * math/libm-test.c (y1_test): New tests.
3583         (y0_test): Likewise.
3584         (j1_test): Likewise.
3585         (j0_test): Likewise.
3586         (main): Added new tests.
3587
3588 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
3589
3590         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
3591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
3592         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
3593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
3594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
3595         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
3596
3597 1999-06-02  David S. Miller  <davem@redhat.com>
3598
3599         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
3600         pointers properly.
3601
3602 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
3603
3604         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
3605         and elide compatibility code if possible.
3606
3607 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
3608
3609         * manual/llio.texi: Remove menu entry for removed section.
3610
3611 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3612
3613         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
3614         variables.
3615
3616 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3617
3618         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
3619         (from Linux 2.3.4).
3620
3621 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
3622
3623         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
3624
3625 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3626
3627         * manual/stdio.texi: Fix some typos.
3628
3629 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3630
3631         * malloc/malloc.h: Properly handle future GCC versions.
3632
3633 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3634
3635         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
3636         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
3637         text of error message.
3638
3639         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
3640
3641 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3642
3643         * manual/filesys.texi: Extend (f)truncate documentation.
3644         * manual/llio.texi: Remove duplicate (f)truncate definition.
3645
3646 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3647
3648         * manual/stdio.texi (Formatted Output Functions): Mention
3649         semantics of snprintf in glibc 2.0.
3650         Reported by Ben Pfaff <pfaffben@msu.edu>.
3651
3652 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3653
3654         * include/features.h (__GLIBC_MINOR__): Bump to 2.
3655
3656 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
3657
3658         * math/libm-test.c: Adjust a few more deltas for the poor ARM
3659         FPU emulator.
3660
3661 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3662
3663         * configure.in: Fix typo.
3664
3665 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3666
3667         * manual/socket.texi (Host Names): Remove statement that h_errno
3668         needs to be declared since this isn't true anymore.
3669         Closes PR libc/1138.
3670
3671 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
3672
3673         * config.h.in: Add __LINUX_KERNEL_VERSION.
3674         * configure.in: Recognize --enable-kernel.
3675         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
3676         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
3677         appropriately.
3678         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
3679         given perform runtime test.
3680
3681         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
3682         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
3683         minimal supported kernel is known to have the feature.
3684         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3685         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3686         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3687         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3688         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3689         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3690         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3691         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3692         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3693         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3694         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3695         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
3696         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3697         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3698         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3699
3700         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
3701
3702 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3703
3704         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
3705
3706 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
3707
3708         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
3709         Optimized sparc64 routines.
3710
3711 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3712
3713         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
3714         they are the same as ints.
3715         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3716
3717         * version.h (VERSION): Bump to 2.1.90.
3718         (RELEASE): Mark as development.
3719
3720         * stdio-common/vfprintf.c (vfprintf): Don't implement special
3721         handling for long long if it is the same as long.
3722         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3723
3724         * stdlib/strtol.c: Moved to ...
3725         * sysdeps/generic/strtol.c: ...here.
3726         * stdlib/strtoul.c: Moved to ...
3727         * sysdeps/generic/strtoul.c: ...here.
3728         * stdlib/strtoll.c: Moved to ...
3729         * sysdeps/generic/strtoll.c: ...here.
3730         * stdlib/strtoull.c: Moved to ...
3731         * sysdeps/generic/strtoull.c: ...here.
3732         * stdlib/strtol_l.c: Moved to ...
3733         * sysdeps/generic/strtol_l.c: ...here.
3734         * stdlib/strtoul_l.c: Moved to ...
3735         * sysdeps/generic/strtoul_l.c: ...here.
3736         * stdlib/strtoll_l.c: Moved to ...
3737         * sysdeps/generic/strtoll_l.c: ...here.
3738         * stdlib/strtoull_l.c: Moved to ...
3739         * sysdeps/generic/strtoull_l.c: ...here.
3740
3741         * sysdeps/wordsize-64/strtol.c: New file.
3742         * sysdeps/wordsize-64/strtoul.c: New file.
3743         * sysdeps/wordsize-64/strtoll.c: New file.
3744         * sysdeps/wordsize-64/strtoull.c: New file.
3745         * sysdeps/wordsize-64/strtol_l.c: New file.
3746         * sysdeps/wordsize-64/strtoul_l.c: New file.
3747         * sysdeps/wordsize-64/strtoll_l.c: New file.
3748         * sysdeps/wordsize-64/strtoull_l.c: New file.
3749
3750         * wcsmbs/wcstol.c: Moved to ...
3751         * sysdeps/generic/wcstol.c: ...here.
3752         * wcsmbs/wcstoul.c: Moved to ...
3753         * sysdeps/generic/wcstoul.c: ...here.
3754         * wcsmbs/wcstoll.c: Moved to ...
3755         * sysdeps/generic/wcstoll.c: ...here.
3756         * wcsmbs/wcstoull.c: Moved to ...
3757         * sysdeps/generic/wcstoull.c: ...here.
3758         * wcsmbs/wcstol_l.c: Moved to ...
3759         * sysdeps/generic/wcstol_l.c: ...here.
3760         * wcsmbs/wcstoul_l.c: Moved to ...
3761         * sysdeps/generic/wcstoul_l.c: ...here.
3762         * wcsmbs/wcstoll_l.c: Moved to ...
3763         * sysdeps/generic/wcstoll_l.c: ...here.
3764         * wcsmbs/wcstoull_l.c: Moved to ...
3765         * sysdeps/generic/wcstoull_l.c: ...here.
3766
3767         * sysdeps/wordsize-64/wcstol.c: New file.
3768         * sysdeps/wordsize-64/wcstoul.c: New file.
3769         * sysdeps/wordsize-64/wcstoll.c: New file.
3770         * sysdeps/wordsize-64/wcstoull.c: New file.
3771         * sysdeps/wordsize-64/wcstol_l.c: New file.
3772         * sysdeps/wordsize-64/wcstoul_l.c: New file.
3773         * sysdeps/wordsize-64/wcstoll_l.c: New file.
3774         * sysdeps/wordsize-64/wcstoull_l.c: New file.
3775
3776 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
3777
3778         * sysdeps/sparc/bits/wordsize.h: New file.
3779         * sysdeps/sparc/fpu/bits/fenv.h: New file.
3780         * sysdeps/sparc/fpu/fpu_control.h: New file.
3781         * sysdeps/sparc/gmp-mparam.h: New file.
3782
3783         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
3784         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
3785         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
3786         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
3787         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
3788         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
3789
3790         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
3791         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
3792         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
3793         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
3794
3795         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
3796         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
3797         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
3798         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
3799         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
3800
3801 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
3802
3803         * login/openpty.c (openpty): Make sure pty does not because
3804         controlling TTY.
3805
3806         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
3807
3808 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
3809
3810         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
3811         Do proper error return.
3812
3813 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3814
3815         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
3816         of __P in the rest of glibc; define __MALLOC_PMT and use it.
3817         Reported by Stephan Kulow <coolo@kde.org>.
3818
3819 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
3820
3821         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
3822
3823         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
3824
3825 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3826
3827         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
3828         names to protect from user's macro namespace.
3829         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
3830         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
3831         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
3832         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
3833         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
3834         Adapted.
3835         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
3836         sysdeps/arm/fpu/fesetenv.c: Likewise.
3837         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
3838         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
3839         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3840         * sysdeps/mips/fesetenv.c: Likewise.
3841
3842 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
3843
3844         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
3845
3846 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
3847
3848         * configure.in: Recognize and allow gcc 2.95.
3849
3850 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3851
3852         * sysdeps/generic/bits/elfclass.h: Version common to
3853         wordsize-32 and wordsize-64.
3854         * sysdeps/generic/bits/environments.h: Ditto.
3855         * sysdeps/generic/stdint.h: Ditto.
3856         * sysdeps/generic/inttypes.h: Ditto.
3857
3858         * sysdeps/generic/bits/wordsize.h: New file.
3859         * stdlib/Makefile: Add bits/wordsize.h to headers.
3860
3861         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3862
3863         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
3864         headers to be used for 32bit and 64bit ABI compilations.
3865         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
3866         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
3867         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
3868         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
3869         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
3870
3871         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
3872         * sysdeps/wordsize-64/bits/environments.h: Remove.
3873         * sysdeps/wordsize-64/stdint.h: Remove.
3874         * sysdeps/wordsize-64/inttypes.h: Remove.
3875         * sysdeps/wordsize-64/bits/wordsize.h: New file.
3876
3877         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
3878         * sysdeps/wordsize-32/bits/environments.h: Remove.
3879         * sysdeps/wordsize-32/stdint.h: Remove.
3880         * sysdeps/wordsize-32/inttypes.h: Remove.
3881         * sysdeps/wordsize-32/bits/wordsize.h: New file.
3882
3883 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3884
3885         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
3886         __align_cpy_16): New functions.
3887         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
3888
3889         * sysdeps/sparc/sparc32/Versions: New file.
3890         * sysdeps/sparc/sparc64/Versions: New file.
3891         * sysdeps/sparc/Versions: Remove.
3892
3893 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3894
3895         * sysdeps/unix/sysv/linux/configure.in:
3896         On sparc64-*-linux*, set slibdir to /lib64 if prefix
3897         is /usr, plus set libdir to ${exec_prefix}/lib64.
3898         * sysdeps/unix/sysv/linux/configure: Regenerated.
3899         * config.make.in: Propagate libdir settings from configure
3900         to the Makefiles.
3901         * shlib-versions: sparc64-*-linux* dynamic linker is
3902         /lib64/ld-linux.so.2.
3903
3904 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
3905
3906         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
3907         RPC connection.
3908
3909 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
3910
3911         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
3912         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
3913
3914         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
3915         contains garbage in bits 8-63.
3916         * sysdeps/sparc/sparc64/memset.S: Ditto.
3917         * sysdeps/sparc/sparc64/strchr.S: Ditto.
3918
3919 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
3920
3921         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
3922
3923 1999-05-17  David S. Miller  <davem@redhat.com>
3924
3925         * sysdeps/sparc/sparc32/atomicity.h: New file.
3926         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
3927         * sysdeps/sparc/sparc64/atomicity.h: New file.
3928         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
3929         sysdep-CFLAGS.
3930
3931 1999-05-18  Richard Henderson  <rth@twiddle.net>
3932
3933         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
3934
3935 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3936
3937         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
3938         posix/sys/types.h: Handle the case of __GNUC__=3,
3939         __GNUC_MINOR__=(anything).
3940
3941 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3942
3943         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
3944         if _FORCE_INLINES.
3945
3946 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3947
3948         * elf/Makefile (distribute): Remove dl-origin.h.
3949         Add dl-dst.h and gen-trusted-dirs.awk.
3950
3951 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3952
3953         * sysdeps/i386/i486/Versions: New file with inline functions from
3954         sysdeps/i386/i486/bits/string.h for now.
3955
3956         * sysdeps/i386/Versions: Add inline functions from
3957         sysdeps/i386/bits/string.h.
3958
3959         * string/Versions: Add inline functions from <bits/string2.h>.
3960
3961         * string/Makefile (routines): Add string-inlines.
3962         * string/string-inlines.c: New file, used for implementation of
3963         extern inline functions.
3964
3965         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
3966         non inlined versions of functions.
3967         * string/bits/string2.h: Likewise.
3968         * sysdeps/i386/bits/string.h: Likewise.
3969
3970 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3971
3972         * inet/arpa/tftp.h: Add second packed attribute.
3973
3974 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3975
3976         * malloc/malloc.c: Cleanup to bring in line with released
3977         stand-alone version `ptmalloc'.  Update some comments.
3978         (internal_function): Move fallback definition so that the source
3979         compiles outside of libc, and use it in more places.
3980         (malloc_atfork): Fix when malloc_check is in use.
3981
3982 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3983
3984         * stdlib/tst-strtod.c: Fix typo.
3985
3986 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3987
3988         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
3989         const incorrectness.
3990
3991 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
3992
3993         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
3994
3995 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
3996
3997         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
3998         * sunrpc/key_call.c: Fix memory leak, close file handle.
3999         * nis/nis_creategroup.c: Use malloc instead of calloc,
4000         set ctime and mtime.
4001         * nis/nis_subr.c: Check for realloc result.
4002         * nis/nis_file.c: Fix memory leak.
4003         * nis/nis_table.c: Pretty print.
4004         * nis/nis_getservlist.c: Likewise.
4005         * nis/nis_ismember.c: Likewise.
4006         * nis/nis_lookup.c: Likewise.
4007         * nis/nis_ping.c: Likewise.
4008         * nis/nis_removemember.c: Likewise.
4009         * nis/nis_util.c: Likewise, check calloc result.
4010
4011 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
4012
4013         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
4014         * sysdeps/generic/sys/socketvar.h: ... here.
4015         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
4016         * sysdeps/generic/netinet/in_systm.h: ... here.
4017         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
4018         sys/socketvar.h.
4019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
4020         * inet/Makefile (headers): Add netinet/in_systm.h here.
4021         * socket/Makefile (headers): Add sys/socketvar.h here.
4022
4023 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
4024
4025         * stdlib/strtol.c: Optimize inner loop of long long versions.
4026
4027         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
4028         Unix98.  Add forward declaration of struct utmp.
4029
4030 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4031
4032         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
4033         calloc.
4034
4035         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
4036         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
4037         memory allocation results.
4038
4039 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
4040
4041         * sysdeps/generic/getutmp.c: Include <string.h>
4042         (getutmp): Rewrite to only copy those members that are really
4043         present in `struct utmp'.
4044         * sysdeps/generic/getutmpx.c: Likewise.
4045
4046 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4047
4048         * nss/getXXbyYY.c: Add free_mem function which disposes all
4049         statically allocated memory when debugging.
4050         * nss/getXXent.c: Likewise.
4051         * nss/nsswitch.c: Likewise.
4052
4053 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
4054
4055         * sysdeps/gnu/getutmpx.c: New file.
4056         * sysdeps/gnu/getutmp.c: New file.
4057
4058 1999-05-13  H.J. Lu  <hjl@gnu.org>
4059
4060         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
4061         (getutmp): Likewise.
4062
4063         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
4064         getutmpx for login.
4065
4066         * sysdeps/gnu/utmpx.h (getutmp): Added.
4067         (getutmpx): Likewise.
4068
4069         * sysdeps/generic/getutmp.c: New file.
4070
4071         * sysdeps/generic/getutmpx.c: New file.
4072
4073 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4074
4075         * glibcbug.in (BUGGLIBC): Change address to
4076         libc-alpha@sourceware.cygnus.com.
4077
4078 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4079
4080         * resolv/arpa/nameser.h: Add C++ protectors.
4081
4082 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4083
4084         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
4085         Elad Tsur <eladts@post.tau.ac.il>.
4086
4087 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
4088
4089         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
4090         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
4091         lazily if LD_BIND_NOW is not set.
4092         * elf/dl-support.c (_dl_lazy): New variable.
4093         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
4094         * elf/rtld.c (_dl_lazy): new global variable.
4095         ( dl_main): Remove lazy, replace it by _dl_lazy.
4096
4097 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>