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