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