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