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