Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2
3         * resolv/res_send.c (res_send): Don't test file descriptor for
4         range, we use poll now.  [PR libc/1240]
5
6 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
7
8         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
9         2.0 defined if they are not available.
10
11 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
12
13         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
14         Define.
15
16 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
17
18         * rt/aio_read.c: Fix return value.
19         * rt/aio_read64.c: Likewise.
20         Reported by Christian Gafton.
21
22         * rt/aio_write.c: Fix return value.
23         * rt/aio_write64.c: Likewise.
24         * rt/aio_fsync.c: Likewise.
25
26         * rt/aio_misc.c: Set errno at correct place.
27
28         * rt/aio_fsync.c: Test OP parameter for correct values.
29
30         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
31
32 1999-08-04  Andreas Schwab  <schwab@suse.de>
33
34         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
35         Initialize result to one.
36         (GET_NPROCS_CONF_PARSER): Likewise.
37
38 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
39
40         * inet/ether_hton.c: Pass errno pointer to NSS function.
41         * inet/getnetgrent_r.c: Likewise.
42         Reported by Marty Leisner <leisner@rochester.rr.com>.
43
44 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
45
46         * nis/nis_callback.c: Fix port problem on big-endian machines
47         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
48         fields are always 32 bit.
49         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
50
51         * nis/nss_nis/nis-service.c: Remove htons, port is always in
52         network-byte-order.
53         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
54
55 1999-08-03  Andreas Schwab  <schwab@suse.de>
56
57         * sysdeps/posix/sigset.c: Unblock the signal after setting its
58         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
59         avoid two calls to sigprocmask.
60
61 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
62
63         * sysdeps/generic/s_nexttowardf.c: Fix typo.
64
65 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
66
67         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
68         Only allow rt signal frames. No SA_SIGINFO signals will have the
69         siginfo_t just not filled out with SI_NOINFO code.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
71         (register_dump): Take the above change into account.
72         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
73         (rt_signal_frame): Likewise.
74
75         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
76
77 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
78
79         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
80         instead of select().
81
82 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
83
84         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
85         nexttoward so something else so that aliasing works.
86
87 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
88
89         * sysdeps/generic/math_ldbl.h: Fix typo.
90         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
91         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
92
93 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
94
95         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
96
97 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
98
99         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
100         program.
101         * elf/resolvfail.c: New file.
102
103         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
104         pass it to _dl_lookup_symbol.
105
106         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
107         bit.  Reword message.
108
109         * dlfcn/dlerror.c: Make code thread-safe.
110
111 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
112
113         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
114         initializer in CHECK: a bit size, not the type code repeated!
115
116 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
117
118         * string/tester.c: Add tests with constant arguments for strcpy
119         and stpcpy.
120
121 1999-07-31  H.J. Lu  <hjl@gnu.org>
122
123         * string/bits/string2.h (__strcpy_small): Fix a typo.
124
125 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
126
127         * Makeconfig (link-libc): Always define it, not only for shared
128         builds.
129
130         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
131         * sysdeps/i386/fpu/e_powf.S: Likewise.
132         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
133
134         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
135         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
136
137 1999-07-30  Andreas Schwab  <schwab@suse.de>
138
139         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
140         definition.
141         (__get_nprocs): Use it.
142         (__get_nprocs_conf): Define as separate function if
143         GET_NPROCS_CONF_PARSER is defined.
144         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
145
146         * include/sys/sysinfo.h: New file.
147         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
148         interface.
149         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
150
151 1999-07-30  H.J. Lu  <hjl@gnu.org>
152
153         * libio/iofflush.c (fflush_unlocked): Weak aliase if
154         _IO_MTSAFE_IO is not defined.
155         * libio/clearerr.c (clearerr_unlocked): Likewise.
156         * libio/feof.c (feof_unlocked): Likewise.
157         * libio/ferror.c (ferror_unlocked): Likewise.
158         * libio/fputc.c (fputc_unlocked): Likewise.
159         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
160         * libio/getchar.c (getchar_unlocked): Likewise.
161         * libio/putc.c (putc_unlocked): Likewise.
162         * libio/putchar.c (putchar_unlocked): Likewise.
163
164 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
165
166         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
167           svc_max_pollfd and svc_pollfd to GLIBC_2.2
168         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
169           for svc_run/poll interface.
170         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
171         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
172           global variable.
173         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
174           rewrite other svc_getreq* functions to use svc_getreq_common.
175         * sunrpc/svc_run.c: Use poll().
176
177 1999-07-30  Andreas Schwab  <schwab@suse.de>
178
179         * Makerules: Put sysd-versions and Versions.all on
180         postclean-generated instead of common-generated.
181
182 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
183
184         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
185         around and CLOCKS_PER_SEC is 1e6.
186
187 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
188
189         * configure.in: Add test for local label subtraction.
190         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
191         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
192         labels to reduce number of runtime relocations and move jump
193         tables in read-only seciton.
194
195         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
196         assignment cannot be moved.
197
198 1999-07-29  H.J. Lu  <hjl@gnu.org>
199
200         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
201         if no threads are used.
202
203         * libio/iofwrite.c: Add weak alias for _unlocked function if not
204         _IO_MTSAFE_IO.
205         * libio/iofread.c: Likewise.
206         * libio/iofgets.c: Likewise.
207         * libio/iofputs.c: Likewise.
208
209         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
210         definition.
211
212         * stdlib/mbtowc.c: Include <string.h>.
213         * stdlib/wctomb.c: Likewise.
214         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
215         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
216
217         * misc/mntent_r.c: Include <alloca.h>.
218         * elf/dl-runtime.c: Likewise.
219
220 1999-07-29  Andreas Schwab  <schwab@suse.de>
221
222         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
223         all floating point formats supported by gcc.  Error out for
224         unhandled precisions.
225         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
226         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
227         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
228
229 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
230
231         * sysdeps/generic/setenv.c: Move setenv code in new function
232         __add_to_environ.  Add new parameter specifying already
233         constructed string for the environment.
234         (setenv): Call __add_to_environ with new parameter set to NULL.
235         (unsetenv): Really test all elements for duplicated name.  Missed those
236         cases where the two are following each other.
237         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
238         * include/stdlib.h: Add prototype of __add_to_environ.
239         * stdlib/tst-environ.c: New file.
240         * stdlib/Makefile (tests): Add tst-environ.
241
242         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
243
244         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
245         argument in realloc call.
246         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
247         Likewise.
248         Reported by Danny Braniss <danny@cs.huji.ac.il>.
249
250 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
251
252         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
253         to print.
254         * misc/efgcvt_r.c: Likewise.
255         * misc/qefgcvt.c: Likewise.
256         * misc/qefgcvt_r.c: Likewise.
257         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
258         anymore.
259
260 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
261
262         * manual/math.texi (FP Function Optimization): Mention drawbacks.
263
264 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
265
266         * stdlib/mblen.c: Use static state.
267         Reported by Bruno Haible <haible@ilog.fr>.
268
269         * stdlib/mbtowc.c: Reset state for s == NULL.
270         * stdlib/wctomb.c: Likewise.
271         Reported by Bruno Haible <haible@ilog.fr>.
272
273         * stdlib/mbstowcs.c: Do not use global state.
274         Reported by Bruno Haible <haible@ilog.fr>.
275
276 1999-07-28  Andeas Schwab  <schwab@suse.de>
277
278         * iconvdata/Makefile: Don't try to run iconv tests when cross
279         compiling.
280
281 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
282
283         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
284         assembler code to switch stacks and call init1 outside this
285         function.  Inside `init' the code was optimized away by gcc
286         2.95 since it was "clearly" unreachable.
287         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
288         Do something similar for the trampoline code.
289
290 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
291
292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
293         for the hinted protocol.
294
295 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
296
297         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
298
299 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
300
301         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
302         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
303         * elf/dl-load.c (_dl_map_object): Likewise.
304         * elf/do-lookup.h (do_lookup*): Likewise.
305         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
306         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
307         as uint64_t.
308         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
309
310 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
311
312         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
313         * sysdeps/generic/getpgrp.c: Likewise.
314         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
315         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
316         Patch by John Tobey <jtobey@banta-im.com>.
317
318         * sysdeps/posix/wait3.c: Help compiling in presence of
319         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
320
321 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
322
323         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
324         as much as possible. Declare them using .register pseudo-op if they
325         are still used.
326         * sysdeps/sparc/sparc64/lshift.S: Likewise.
327         * sysdeps/sparc/sparc64/memchr.S: Likewise.
328         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
329         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
330         * sysdeps/sparc/sparc64/memset.S: Likewise.
331         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
332         * sysdeps/sparc/sparc64/rshift.S: Likewise.
333         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
334         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
335         * sysdeps/sparc/sparc64/strcat.S: Likewise.
336         * sysdeps/sparc/sparc64/strchr.S: Likewise.
337         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
338         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
339         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
340         * sysdeps/sparc/sparc64/strlen.S: Likewise.
341         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
342         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
343         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
344         * sysdeps/sparc/sparc64/strspn.S: Likewise.
345         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
346         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
347         Optimize trampoline code for .plt4-.plt32767.
348         Fix trampolines for .plt32768+.
349
350 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
351
352         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
353         -mcpu=v8.
354         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
355         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
356         libc's private use (as assembly routine clobber it anyway).
357
358 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
359
360         * README.template (configurations): The crypt add-on has a new
361         ftp site.
362         * manual/install.texi (Installation): Likewise.
363
364 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
365
366         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
367         requires to have a full definition but we wait for a bug report
368         based on the test suite.
369
370         * sysdeps/generic/clock_getres.c: New file.
371         * sysdeps/generic/clock_gettime.c: New file.
372         * sysdeps/generic/clock_settime.c: New file.
373         * sysdeps/generic/timer_create.c: New file.
374         * sysdeps/generic/timer_delete.c: New file.
375         * sysdeps/generic/timer_getoverr.c: New file.
376         * sysdeps/generic/timer_gettime.c: New file.
377         * sysdeps/generic/timer_settime.c: New file.
378
379         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
380         CLOCK_REALTIME, and TIMER_ABSTIME.
381         * sysdeps/mach/hurd/bits/time.h: Likewise.
382         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
383         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
384
385         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
386
387         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
388         si_timer2.
389
390         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
391
392         * time/Makefile (routines): Add clock_getres, clock_gettime,
393         clock_setres, timer_create, timer_delete, timer_getoverr,
394         timer_gettime, and timer_settime.
395
396         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
397         POSIX.1b.  Add prototypes for clock and timer functions.
398
399 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
400
401         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
402         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
403
404 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
405
406         * stdlib/wcstombs.c: Do not use global state.
407         Reported by Bruno Haible <haible@ilog.fr>.
408
409         * wcsmbs/wctob.c: Avoid sign extension when returning character.
410         Reported by Bruno Haible <haible@ilog.fr>.
411
412         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
413         of wide characters to convert do it right and don't overestimate
414         by multiplying with MB_CUR_MAX.
415         Reported by Bruno Haible <haible@ilog.fr>.
416
417 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
418
419         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
420         (__stpcpy_small): Likewise.
421         Union has no __uc member but __c.
422
423 1999-07-26  Andreas Schwab  <schwab@suse.de>
424
425         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
426
427 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
428
429         * libio/iofclose.c (_IO_new_fclose): Only fall back on
430         _IO_old_fclose if doing versioning.
431
432         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
433         them appropriately.
434         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
435
436         * misc/mntent_r.c: Allow spaces and tabs in entry names by
437         encoding these characters.
438         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
439
440         * string/bits/string2.h: Fix aliasing problems.
441         * sysdeps/i386/i486/bits/string.h: Likewise.
442         * sysdeps/i386/bits/string.h: Likewise.
443
444 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
445
446         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
447         * elf/rtld.c (dl_main): Don't call malloc() between
448         re-relocating the dynamic linker and running the application's crt0.
449
450 1999-07-21  Paul D. Smith  <psmith@gnu.org>
451
452         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
453         glob.h to get __P() macro.
454
455         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
456         not ANSI.
457         (__strchrnul): This won't exist outside GLIBC, so create one.
458
459 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
460
461         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
462         __ino64_t should be 32bit unsigned type on sparc32.
463         Define __off64_t to __quad_t instead of __int64_t.
464         Make __pic_pid_t unsigned on sparc32.
465
466 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
467
468         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
469         in bash 2.03.
470
471 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
472
473         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
474         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
475
476 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
477
478         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
479         accesses.
480
481         * resolv/res_send.c: Add locks for res_send and res_close use.
482
483         * elf/Makefile (dl-routines): Add preinit.
484         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
485         * elf/link.h (struct link_map): Add new field l_preinitcount.
486         * elf/dl-preinit.c: New file.
487         * elf/dynamic-link.h: Initialize l_preinitcount.
488         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
489
490         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
491         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
492         and l_initcount.
493         * elf/dl-init.c: Handle DT_INIT_ARRAY.
494         * elf/dynamic-link.h: Change parameters.  Now only get link_map
495         pointer.  Calculate l_initcount.
496
497         * elf/link.h (struct link_map): Add l_runpath_dirs.
498         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
499         * elf/dl-load.c: Pretty print.
500         (decompose_rpath): Take new parameter with info from where the path
501         comes.  Pass it the fillin_rpath.
502         (_dl_init_paths): Initialize l_runpath_dirs.
503         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
504         Search using RUNPATH after LD_LIBRARY_PATH.
505         * elf/dl-support.c: Adjust comment.
506         * elf/rtld.c: Adjust help message.
507
508 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
509
510         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
511         interface.
512
513 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
514
515         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
516         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
517         ever used this, so I'm not going to worry about compatibility.
518         [__USE_GNU] (IUCLC, OLCUC): New macros.
519
520 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
521
522         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
523
524         * elf/elf.h: Add ET_LOOS and ET_HIOS.
525         Add various EM_* constants.
526         Add SHN_LOOS and SHN_HIOS.
527         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
528         Add SHF_MERGE and SHF_STRINGS.
529         (ElfXX_Sym): Update description of st_other field.
530         Add STT_COMMON.
531         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
532         Add STV_* macros.
533         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
534         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
535         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
536
537         * posix/unistd.h: Move declaration of __libc_enable_secure to...
538         * include/unistd.h: ...here.
539
540         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
541         * elf/dl-deps.c (expand_dst): Likewise.
542
543         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
544         based on DT_FLAGS value.
545
546         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
547         Add test for symbols marked STV_HIDDEN.
548         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
549         add undef_map.  Compute reference_name locally.  Update call to
550         do_lookup.
551         (_dl_lookup_symbol_skip): Likewise.
552         (_dl_lookup_versioned_symbol): Likewise.
553         (_dl_lookup_versioned_symbol_skip): Likewise.
554         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
555         * elf/dl-runtime.c: Likewise.
556         * elf/dl-sym.c: Likewise.
557         * elf/dl-symbol.c: Likewise.
558         * elf/ldsodefs.h: Adjust prototypes.
559
560         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
561         handle appropriately.  Add comment about DT_TEXTREL.
562         * elf/dl-runtime.c: Likewise.
563
564 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
565
566         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
567         * elf/ldsodefs.h: Declare it.
568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
569         instead of assert.
570         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
572         (elf_machine_lazy_rel): Likewise.
573         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
574         (elf_machine_lazy_rel): Likewise.
575         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
576         (elf_machine_lazy_rel): Likewise.
577         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
578         (elf_machine_lazy_rel): Likewise.
579         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
580         (elf_machine_lazy_rel): Likewise.
581         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
582         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
583         (elf_machine_lazy_rel): Likewise.
584         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
585         (elf_machine_lazy_rel): Likewise.
586         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
587         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
588         _dl_reloc_bad_type instead of _dl_signal_error.
589         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
590
591 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
592
593         * sysdeps/mach/_strerror.c: Include <libintl.h>.
594
595 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
596
597         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
598         hurd_signal_preemptor matches but its `preemptor' field is null, use
599         its `handler' field directly.  This is to comply with behavior
600         documented in <hurd/sigpreempt.h>.
601
602 1999-07-21  Andreas Schwab  <schwab@suse.de>
603
604         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
605         when reading from write-only stream.
606         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
607         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
608
609 1999-07-21  Andreas Schwab  <schwab@suse.de>
610
611         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
612         NULL.
613
614 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
615
616         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
617         <hurd/fd.h>.
618         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
619         <hurd/fd.h>.
620         (__libc_write): Call __pwrite instead of __pread.
621
622 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
623
624         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
625         __vm_allocate calls.
626
627         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
628         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
629
630         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
631         _hurd_fd_read with new OFFSET argument set to -1.
632         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
633         to -1.
634
635 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
636
637         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
638         descriptor table sent in the RPC.
639
640 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
641
642         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
643         bill@taniwha.org [PR libc/1211].
644
645 1999-07-19  Andreas Schwab  <schwab@suse.de>
646
647         * libio/Makefile (routines): Add fwprintf.
648
649         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
650         * math/w_sqrt.c: Moved to ...
651         * sysdeps/generic/w_sqrt.c: ... here.
652         * math/w_sqrtf.c: Moved to ...
653         * sysdeps/generic/w_sqrtf.c: ... here.
654
655         * Make-dist (generic-dirs): New variable.
656         (try-sysdeps, +sysdep-names): Use it.
657         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
658         instead of $(lib)-routines.
659         * elf/Makefile (distribute): Add dl-cache.h.
660         * db2/Makefile (distribute): Add all new files.
661         * iconvdata/Makefile (distribute): Don't distribute CVS
662         directory.
663         * math/Makefile (distribute): Remove machine/endian.h, add
664         math_ldbl.h.
665         * stdio-common/Makefile (distribute): Add _itowa.h.
666         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
667         * sysdeps/gnu/Dist: Add eval.c
668         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
669         dlfcn]: Add to this instead of libdl-routines.
670         * sysdeps/ieee754/ldbl-128/Dist: New file.
671         * sysdeps/mach/hurd/Dist: Add siglist.h
672         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
673
674 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
675
676         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
677
678         * inet/Makefile (routines): Add getipnodebyad and freehostent.
679         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
680         * inet/freehostent.c: New file.
681         * inet/getipnodebyad.c: New file.
682         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
683         and getipnodebyname.  The latter comes soon.
684         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
685         Add support for getipnode* functions.
686
687         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
688         Set h_aliases to NULL and not to a pointer to an array with a NULL
689         pointer following XNS 5.2.
690
691         * posix/sched.h: Remove internal interfaces.
692         * include/sched.h: Add internal interfaces.
693
694         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
695
696         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
697
698         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
699         and return an error in this case.
700         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
701         available.
702
703 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
704
705         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
706         1999-07-17 and adjust len parameter.
707         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
708         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
709         * manual/socket.texi (Host Names): Likewise.
710         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
711         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
712         Likewise.
713         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
714         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
715         (ht_gethostbyaddr): Likewise.
716         (_gethtbyaddr): Likewise.
717
718 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
719
720         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
721         gethostbyaddr_r.
722         * include/netdb.h: Likewise.
723         * inet/gethstbyad.c: Correct type of len parameter.
724         * inet/gethstbyad_r.c: Likewise.
725
726         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
727
728 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
729
730         * include/libc-symbol.h: Clean up definitions of weak_alias,
731         strong_alias, symbol_version, etc. etc.
732         * posix/getopt.h: Use ctype.h to get features.h included, and don't
733         include it at all if __GNU_LIBRARY__ is already defined.
734
735 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
736
737         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
738
739         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
740
741         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
742         type for tv_usec element.
743         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
744         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
745         * sysdeps/generic/bits/time.h: Likewise.
746         * sysdeps/mach/hurd/bits/time.h: Likewise.
747         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
748         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
749         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
750         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
751         * sysdeps/generic/bits/types.h: Likewise.
752         * posix/sys/types.h: Define suseconds_t for X/Open.
753
754 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
755
756         * stdio-common/bug1.c: Avoid memory leak.
757
758         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
759         program deterministic.
760         * sysdeps/i386/fpu/e_powf.S: Likewise.
761         * sysdeps/i386/fpu/e_powl.S: Likewise.
762
763 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
764
765         * math/Makefile: Add t_sincosl and k_sincosl support routines.
766         * math/math_private.h (__kernel_sincosl): New declaration.
767         * sysdeps/generic/t_sincosl.c: New file.
768         * sysdeps/generic/k_sincosl.c: New file.
769         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
770         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
771         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
772         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
773         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
774         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
775         __kernel_sincosl.
776         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
777         definition.
778
779 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
780
781         * posix/unistd.h: Use __PMT for exit.
782
783 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
784
785         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
786         _outw, _outl): Added to GLIBC_2.1.2.
787
788 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
789
790         * posix/fnmatch.h: Use __name instead of __string in prototype to
791         allow use outside glibc.
792
793 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
794
795         * time/tst-strptime.c (main): Add one more test case.  Produce
796         output even when result is ok.
797
798         * time/strptime.c (get_number): Handle number parsing more
799         consistent with strftime.  Only parse a given number of digits.
800         (get_alt_number):  Fix implementation.  Was broken.
801         (strptime_internal): Add third parameter to get_number and
802         get_alt_number calls.
803
804 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
805
806         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
807         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
808         try both 32bit and 64bit dynamic linker.
809         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
810         script on all sparc targets.
811
812 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
813
814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
815         to int.
816
817 1999-07-13  Andreas Schwab  <schwab@suse.de>
818
819         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
820         inlining.  Fixes PR libc/1198.
821
822 1999-07-14  Andreas Schwab  <schwab@suse.de>
823
824         * Makerules (common-generated): Don't prepend $(common-objpfx).
825
826 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
827
828         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
829         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
830         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
831         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
832         macro.
833         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
834         instead of ieee754.
835         * sysdeps/arm/Implies: Likewise.
836         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
837         ieee754/ldbl-96 instead of ieee754.
838         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
839         * sysdeps/generic/e_atanhl.c: New file.
840         * sysdeps/generic/e_coshl.c: New file.
841         * sysdeps/generic/e_sinhl.c: New file.
842         * sysdeps/generic/e_gammal_r.c: New file.
843         * sysdeps/generic/e_hypotl.c: New file.
844         * sysdeps/generic/s_cbrtl.c: New file.
845         * sysdeps/generic/s_asinhl.c: New file.
846         * sysdeps/generic/s_tanhl.c: New file.
847         * sysdeps/generic/w_expl.c: New file.
848         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
849         instead of ieee754.
850         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
851         ieee754/ldbl-96 instead of ieee754.
852         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
853         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
854         printf_fphex.
855         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
856         instead of ieee754.
857         * sysdeps/mips/mips64/Implies: Likewise.
858         * sysdeps/powerpc/Implies: Likewise.
859         * sysdeps/sparc/Implies: Remove.
860         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
861         ieee754/dbl-64.
862         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
863         and ieee754/ldbl-128.
864
865         * sysdeps/sparc/bits/wordsize.h: Remove.
866         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
867         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
868         only for sparc32.
869         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
870         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
871         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
872         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
873         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
874         support.
875
876         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
877         of carries. Optimize.
878
879         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
880         * sysdeps/generic/e_exp10.c: ...here.
881         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
882         * sysdeps/generic/e_exp10f.c: ...here.
883         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
884         * sysdeps/generic/e_exp10l.c: ...here.
885         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
886         * sysdeps/generic/e_scalb.c: ...here.
887         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
888         * sysdeps/generic/e_scalbf.c: ...here.
889         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
890         * sysdeps/generic/e_scalbl.c: ...here.
891         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
892         * sysdeps/generic/s_cacos.c: ...here.
893         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
894         * sysdeps/generic/s_cacosf.c: ...here.
895         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
896         * sysdeps/generic/s_cacosh.c: ...here.
897         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
898         * sysdeps/generic/s_cacoshf.c: ...here.
899         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
900         * sysdeps/generic/s_cacoshl.c: ...here.
901         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
902         * sysdeps/generic/s_cacosl.c: ...here.
903         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
904         * sysdeps/generic/s_casin.c: ...here.
905         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
906         * sysdeps/generic/s_casinf.c: ...here.
907         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
908         * sysdeps/generic/s_casinh.c: ...here.
909         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
910         * sysdeps/generic/s_casinhf.c: ...here.
911         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
912         * sysdeps/generic/s_casinhl.c: ...here.
913         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
914         * sysdeps/generic/s_casinl.c: ...here.
915         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
916         * sysdeps/generic/s_catan.c: ...here.
917         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
918         * sysdeps/generic/s_catanf.c: ...here.
919         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
920         * sysdeps/generic/s_catanh.c: ...here.
921         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
922         * sysdeps/generic/s_catanhf.c: ...here.
923         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
924         * sysdeps/generic/s_catanhl.c: ...here.
925         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
926         * sysdeps/generic/s_catanl.c: ...here.
927         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
928         * sysdeps/generic/s_ccos.c: ...here.
929         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
930         * sysdeps/generic/s_ccosf.c: ...here.
931         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
932         * sysdeps/generic/s_ccosh.c: ...here.
933         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
934         * sysdeps/generic/s_ccoshf.c: ...here.
935         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
936         * sysdeps/generic/s_ccoshl.c: ...here.
937         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
938         * sysdeps/generic/s_ccosl.c: ...here.
939         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
940         * sysdeps/generic/s_cexp.c: ...here.
941         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
942         * sysdeps/generic/s_cexpf.c: ...here.
943         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
944         * sysdeps/generic/s_cexpl.c: ...here.
945         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
946         * sysdeps/generic/s_clog.c: ...here.
947         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
948         * sysdeps/generic/s_clog10.c: ...here.
949         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
950         * sysdeps/generic/s_clog10f.c: ...here.
951         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
952         * sysdeps/generic/s_clog10l.c: ...here.
953         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
954         * sysdeps/generic/s_clogf.c: ...here.
955         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
956         * sysdeps/generic/s_clogl.c: ...here.
957         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
958         * sysdeps/generic/s_cpow.c: ...here.
959         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
960         * sysdeps/generic/s_cpowf.c: ...here.
961         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
962         * sysdeps/generic/s_cpowl.c: ...here.
963         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
964         * sysdeps/generic/s_cproj.c: ...here.
965         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
966         * sysdeps/generic/s_cprojf.c: ...here.
967         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
968         * sysdeps/generic/s_cprojl.c: ...here.
969         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
970         * sysdeps/generic/s_csin.c: ...here.
971         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
972         * sysdeps/generic/s_csinf.c: ...here.
973         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
974         * sysdeps/generic/s_csinh.c: ...here.
975         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
976         * sysdeps/generic/s_csinhf.c: ...here.
977         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
978         * sysdeps/generic/s_csinhl.c: ...here.
979         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
980         * sysdeps/generic/s_csinl.c: ...here.
981         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
982         * sysdeps/generic/s_csqrt.c: ...here.
983         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
984         * sysdeps/generic/s_csqrtf.c: ...here.
985         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
986         * sysdeps/generic/s_csqrtl.c: ...here.
987         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
988         * sysdeps/generic/s_ctan.c: ...here.
989         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
990         * sysdeps/generic/s_ctanf.c: ...here.
991         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
992         * sysdeps/generic/s_ctanh.c: ...here.
993         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
994         * sysdeps/generic/s_ctanhf.c: ...here.
995         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
996         * sysdeps/generic/s_ctanhl.c: ...here.
997         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
998         * sysdeps/generic/s_ctanl.c: ...here.
999         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
1000         * sysdeps/generic/s_fdim.c: ...here.
1001         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
1002         * sysdeps/generic/s_fdimf.c: ...here.
1003         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
1004         * sysdeps/generic/s_fdiml.c: ...here.
1005         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
1006         * sysdeps/generic/s_fma.c: ...here.
1007         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
1008         * sysdeps/generic/s_fmaf.c: ...here.
1009         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
1010         * sysdeps/generic/s_fmal.c: ...here.
1011         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
1012         * sysdeps/generic/s_fmax.c: ...here.
1013         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
1014         * sysdeps/generic/s_fmaxf.c: ...here.
1015         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
1016         * sysdeps/generic/s_fmaxl.c: ...here.
1017         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
1018         * sysdeps/generic/s_fmin.c: ...here.
1019         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
1020         * sysdeps/generic/s_fminf.c: ...here.
1021         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
1022         * sysdeps/generic/s_fminl.c: ...here.
1023         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
1024         * sysdeps/generic/s_ldexp.c: ...here.
1025         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
1026         * sysdeps/generic/s_ldexpf.c: ...here.
1027         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
1028         * sysdeps/generic/s_ldexpl.c: ...here.
1029         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
1030         * sysdeps/generic/s_nan.c: ...here.
1031         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
1032         * sysdeps/generic/s_nanf.c: ...here.
1033         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
1034         * sysdeps/generic/s_nanl.c: ...here.
1035         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
1036         * sysdeps/generic/s_significand.c: ...here.
1037         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
1038         * sysdeps/generic/s_significandf.c: ...here.
1039         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
1040         * sysdeps/generic/s_significandl.c: ...here.
1041         Avoid conversion from int to double and then to long double.
1042         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
1043         * math/w_acos.c: ...here.
1044         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
1045         * math/w_acosf.c: ...here.
1046         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
1047         * math/w_acosh.c: ...here.
1048         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
1049         * math/w_acoshf.c: ...here.
1050         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
1051         * math/w_acoshl.c: ...here.
1052         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
1053         * math/w_acosl.c: ...here.
1054         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
1055         * math/w_asin.c: ...here.
1056         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
1057         * math/w_asinf.c: ...here.
1058         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
1059         * math/w_asinl.c: ...here.
1060         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
1061         * math/w_atan2.c: ...here.
1062         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
1063         * math/w_atan2f.c: ...here.
1064         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
1065         * math/w_atan2l.c: ...here.
1066         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
1067         * math/w_atanh.c: ...here.
1068         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
1069         * math/w_atanhf.c: ...here.
1070         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
1071         * math/w_atanhl.c: ...here.
1072         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
1073         * math/w_cosh.c: ...here.
1074         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
1075         * math/w_coshf.c: ...here.
1076         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
1077         * math/w_coshl.c: ...here.
1078         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
1079         * math/w_drem.c: ...here.
1080         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
1081         * math/w_dremf.c: ...here.
1082         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
1083         * math/w_dreml.c: ...here.
1084         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
1085         * math/w_exp10.c: ...here.
1086         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
1087         * math/w_exp10f.c: ...here.
1088         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
1089         * math/w_exp10l.c: ...here.
1090         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
1091         * math/w_exp2.c: ...here.
1092         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
1093         * math/w_exp2f.c: ...here.
1094         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
1095         * math/w_exp2l.c: ...here.
1096         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
1097         * math/w_fmod.c: ...here.
1098         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
1099         * math/w_fmodf.c: ...here.
1100         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
1101         * math/w_fmodl.c: ...here.
1102         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
1103         * math/w_hypot.c: ...here.
1104         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
1105         * math/w_hypotf.c: ...here.
1106         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
1107         * math/w_hypotl.c: ...here.
1108         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
1109         * math/w_j0.c: ...here.
1110         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
1111         * math/w_j0f.c: ...here.
1112         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
1113         * math/w_j0l.c: ...here.
1114         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
1115         * math/w_j1.c: ...here.
1116         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
1117         * math/w_j1f.c: ...here.
1118         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
1119         * math/w_j1l.c: ...here.
1120         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
1121         * math/w_jn.c: ...here.
1122         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
1123         * math/w_jnf.c: ...here.
1124         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
1125         * math/w_jnl.c: ...here.
1126         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
1127         * math/w_lgamma.c: ...here.
1128         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
1129         * math/w_lgamma_r.c: ...here.
1130         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
1131         * math/w_lgammaf.c: ...here.
1132         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
1133         * math/w_lgammaf_r.c: ...here.
1134         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
1135         * math/w_lgammal.c: ...here.
1136         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
1137         * math/w_lgammal_r.c: ...here.
1138         * sysdeps/libm-ieee754/w_log.c: Moved to ...
1139         * math/w_log.c: ...here.
1140         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
1141         * math/w_log10.c: ...here.
1142         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
1143         * math/w_log10f.c: ...here.
1144         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
1145         * math/w_log10l.c: ...here.
1146         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
1147         * math/w_logf.c: ...here.
1148         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
1149         * math/w_logl.c: ...here.
1150         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
1151         * math/w_pow.c: ...here.
1152         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
1153         * math/w_powf.c: ...here.
1154         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
1155         * math/w_powl.c: ...here.
1156         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
1157         * math/w_remainder.c: ...here.
1158         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
1159         * math/w_remainderf.c: ...here.
1160         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
1161         * math/w_remainderl.c: ...here.
1162         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
1163         * math/w_scalb.c: ...here.
1164         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
1165         * math/w_scalbf.c: ...here.
1166         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
1167         * math/w_scalbl.c: ...here.
1168         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
1169         * math/w_sinh.c: ...here.
1170         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
1171         * math/w_sinhf.c: ...here.
1172         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
1173         * math/w_sinhl.c: ...here.
1174         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
1175         * math/w_sqrt.c: ...here.
1176         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
1177         * math/w_sqrtf.c: ...here.
1178         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
1179         * math/w_sqrtl.c: ...here.
1180         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
1181         * math/w_tgamma.c: ...here.
1182         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
1183         * math/w_tgammaf.c: ...here.
1184         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
1185         * math/w_tgammal.c: ...here.
1186         * sysdeps/libm-i387/e_acos.S: Moved to ...
1187         * sysdeps/i386/fpu/e_acos.S: ...here.
1188         * sysdeps/libm-i387/e_acosf.S: Moved to ...
1189         * sysdeps/i386/fpu/e_acosf.S: ...here.
1190         * sysdeps/libm-i387/e_acosh.S: Moved to ...
1191         * sysdeps/i386/fpu/e_acosh.S: ...here.
1192         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
1193         * sysdeps/i386/fpu/e_acoshf.S: ...here.
1194         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
1195         * sysdeps/i386/fpu/e_acoshl.S: ...here.
1196         * sysdeps/libm-i387/e_acosl.S: Moved to ...
1197         * sysdeps/i386/fpu/e_acosl.S: ...here.
1198         * sysdeps/libm-i387/e_asin.S: Moved to ...
1199         * sysdeps/i386/fpu/e_asin.S: ...here.
1200         * sysdeps/libm-i387/e_asinf.S: Moved to ...
1201         * sysdeps/i386/fpu/e_asinf.S: ...here.
1202         * sysdeps/libm-i387/e_asinl.S: Moved to ...
1203         * sysdeps/i386/fpu/e_asinl.S: ...here.
1204         * sysdeps/libm-i387/e_atan2.S: Moved to ...
1205         * sysdeps/i386/fpu/e_atan2.S: ...here.
1206         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
1207         * sysdeps/i386/fpu/e_atan2f.S: ...here.
1208         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
1209         * sysdeps/i386/fpu/e_atan2l.S: ...here.
1210         * sysdeps/libm-i387/e_atanh.S: Moved to ...
1211         * sysdeps/i386/fpu/e_atanh.S: ...here.
1212         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
1213         * sysdeps/i386/fpu/e_atanhf.S: ...here.
1214         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
1215         * sysdeps/i386/fpu/e_atanhl.S: ...here.
1216         * sysdeps/libm-i387/e_exp.S: Moved to ...
1217         * sysdeps/i386/fpu/e_exp.S: ...here.
1218         * sysdeps/libm-i387/e_exp10.S: Moved to ...
1219         * sysdeps/i386/fpu/e_exp10.S: ...here.
1220         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
1221         * sysdeps/i386/fpu/e_exp10f.S: ...here.
1222         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
1223         * sysdeps/i386/fpu/e_exp10l.S: ...here.
1224         * sysdeps/libm-i387/e_expf.S: Moved to ...
1225         * sysdeps/i386/fpu/e_expf.S: ...here.
1226         * sysdeps/libm-i387/e_expl.S: Moved to ...
1227         * sysdeps/i386/fpu/e_expl.S: ...here.
1228         * sysdeps/libm-i387/e_fmod.S: Moved to ...
1229         * sysdeps/i386/fpu/e_fmod.S: ...here.
1230         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
1231         * sysdeps/i386/fpu/e_fmodf.S: ...here.
1232         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
1233         * sysdeps/i386/fpu/e_fmodl.S: ...here.
1234         * sysdeps/libm-i387/e_hypot.S: Moved to ...
1235         * sysdeps/i386/fpu/e_hypot.S: ...here.
1236         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
1237         * sysdeps/i386/fpu/e_hypotf.S: ...here.
1238         * sysdeps/libm-i387/e_log.S: Moved to ...
1239         * sysdeps/i386/fpu/e_log.S: ...here.
1240         * sysdeps/libm-i387/e_log10.S: Moved to ...
1241         * sysdeps/i386/fpu/e_log10.S: ...here.
1242         * sysdeps/libm-i387/e_log10f.S: Moved to ...
1243         * sysdeps/i386/fpu/e_log10f.S: ...here.
1244         * sysdeps/libm-i387/e_log10l.S: Moved to ...
1245         * sysdeps/i386/fpu/e_log10l.S: ...here.
1246         * sysdeps/libm-i387/e_logf.S: Moved to ...
1247         * sysdeps/i386/fpu/e_logf.S: ...here.
1248         * sysdeps/libm-i387/e_logl.S: Moved to ...
1249         * sysdeps/i386/fpu/e_logl.S: ...here.
1250         * sysdeps/libm-i387/e_pow.S: Moved to ...
1251         * sysdeps/i386/fpu/e_pow.S: ...here.
1252         * sysdeps/libm-i387/e_powf.S: Moved to ...
1253         * sysdeps/i386/fpu/e_powf.S: ...here.
1254         * sysdeps/libm-i387/e_powl.S: Moved to ...
1255         * sysdeps/i386/fpu/e_powl.S: ...here.
1256         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
1257         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
1258         * sysdeps/libm-i387/e_remainder.S: Moved to ...
1259         * sysdeps/i386/fpu/e_remainder.S: ...here.
1260         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
1261         * sysdeps/i386/fpu/e_remainderf.S: ...here.
1262         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
1263         * sysdeps/i386/fpu/e_remainderl.S: ...here.
1264         * sysdeps/libm-i387/e_scalb.S: Moved to ...
1265         * sysdeps/i386/fpu/e_scalb.S: ...here.
1266         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
1267         * sysdeps/i386/fpu/e_scalbf.S: ...here.
1268         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
1269         * sysdeps/i386/fpu/e_scalbl.S: ...here.
1270         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
1271         * sysdeps/i386/fpu/e_sqrt.S: ...here.
1272         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
1273         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
1274         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
1275         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
1276         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
1277         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
1278         * sysdeps/libm-i387/s_asinh.S: Moved to ...
1279         * sysdeps/i386/fpu/s_asinh.S: ...here.
1280         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
1281         * sysdeps/i386/fpu/s_asinhf.S: ...here.
1282         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
1283         * sysdeps/i386/fpu/s_asinhl.S: ...here.
1284         * sysdeps/libm-i387/s_atan.S: Moved to ...
1285         * sysdeps/i386/fpu/s_atan.S: ...here.
1286         * sysdeps/libm-i387/s_atanf.S: Moved to ...
1287         * sysdeps/i386/fpu/s_atanf.S: ...here.
1288         * sysdeps/libm-i387/s_atanl.S: Moved to ...
1289         * sysdeps/i386/fpu/s_atanl.S: ...here.
1290         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1291         * sysdeps/i386/fpu/s_cbrt.S: ...here.
1292         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1293         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1294         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1295         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1296         * sysdeps/libm-i387/s_ceil.S: Moved to ...
1297         * sysdeps/i386/fpu/s_ceil.S: ...here.
1298         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1299         * sysdeps/i386/fpu/s_ceilf.S: ...here.
1300         * sysdeps/libm-i387/s_ceill.S: Moved to ...
1301         * sysdeps/i386/fpu/s_ceill.S: ...here.
1302         * sysdeps/libm-i387/s_cexp.S: Moved to ...
1303         * sysdeps/i386/fpu/s_cexp.S: ...here.
1304         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1305         * sysdeps/i386/fpu/s_cexpf.S: ...here.
1306         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1307         * sysdeps/i386/fpu/s_cexpl.S: ...here.
1308         * sysdeps/libm-i387/s_copysign.S: Moved to ...
1309         * sysdeps/i386/fpu/s_copysign.S: ...here.
1310         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1311         * sysdeps/i386/fpu/s_copysignf.S: ...here.
1312         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1313         * sysdeps/i386/fpu/s_copysignl.S: ...here.
1314         * sysdeps/libm-i387/s_cos.S: Moved to ...
1315         * sysdeps/i386/fpu/s_cos.S: ...here.
1316         * sysdeps/libm-i387/s_cosf.S: Moved to ...
1317         * sysdeps/i386/fpu/s_cosf.S: ...here.
1318         * sysdeps/libm-i387/s_cosl.S: Moved to ...
1319         * sysdeps/i386/fpu/s_cosl.S: ...here.
1320         * sysdeps/libm-i387/s_exp2.S: Moved to ...
1321         * sysdeps/i386/fpu/s_exp2.S: ...here.
1322         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1323         * sysdeps/i386/fpu/s_exp2f.S: ...here.
1324         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1325         * sysdeps/i386/fpu/s_exp2l.S: ...here.
1326         * sysdeps/libm-i387/s_expm1.S: Moved to ...
1327         * sysdeps/i386/fpu/s_expm1.S: ...here.
1328         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1329         * sysdeps/i386/fpu/s_expm1f.S: ...here.
1330         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1331         * sysdeps/i386/fpu/s_expm1l.S: ...here.
1332         * sysdeps/libm-i387/s_fdim.S: Moved to ...
1333         * sysdeps/i386/fpu/s_fdim.S: ...here.
1334         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1335         * sysdeps/i386/fpu/s_fdimf.S: ...here.
1336         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1337         * sysdeps/i386/fpu/s_fdiml.S: ...here.
1338         * sysdeps/libm-i387/s_finite.S: Moved to ...
1339         * sysdeps/i386/fpu/s_finite.S: ...here.
1340         * sysdeps/libm-i387/s_finitef.S: Moved to ...
1341         * sysdeps/i386/fpu/s_finitef.S: ...here.
1342         * sysdeps/libm-i387/s_finitel.S: Moved to ...
1343         * sysdeps/i386/fpu/s_finitel.S: ...here.
1344         * sysdeps/libm-i387/s_floor.S: Moved to ...
1345         * sysdeps/i386/fpu/s_floor.S: ...here.
1346         * sysdeps/libm-i387/s_floorf.S: Moved to ...
1347         * sysdeps/i386/fpu/s_floorf.S: ...here.
1348         * sysdeps/libm-i387/s_floorl.S: Moved to ...
1349         * sysdeps/i386/fpu/s_floorl.S: ...here.
1350         * sysdeps/libm-i387/s_fma.S: Moved to ...
1351         * sysdeps/i386/fpu/s_fma.S: ...here.
1352         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1353         * sysdeps/i386/fpu/s_fmaf.S: ...here.
1354         * sysdeps/libm-i387/s_fmal.S: Moved to ...
1355         * sysdeps/i386/fpu/s_fmal.S: ...here.
1356         * sysdeps/libm-i387/s_fmax.S: Moved to ...
1357         * sysdeps/i386/fpu/s_fmax.S: ...here.
1358         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1359         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1360         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1361         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1362         * sysdeps/libm-i387/s_fmin.S: Moved to ...
1363         * sysdeps/i386/fpu/s_fmin.S: ...here.
1364         * sysdeps/libm-i387/s_fminf.S: Moved to ...
1365         * sysdeps/i386/fpu/s_fminf.S: ...here.
1366         * sysdeps/libm-i387/s_fminl.S: Moved to ...
1367         * sysdeps/i386/fpu/s_fminl.S: ...here.
1368         * sysdeps/libm-i387/s_frexp.S: Moved to ...
1369         * sysdeps/i386/fpu/s_frexp.S: ...here.
1370         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1371         * sysdeps/i386/fpu/s_frexpf.S: ...here.
1372         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1373         * sysdeps/i386/fpu/s_frexpl.S: ...here.
1374         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1375         * sysdeps/i386/fpu/s_ilogb.S: ...here.
1376         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1377         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1378         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1379         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1380         * sysdeps/libm-i387/s_llrint.S: Moved to ...
1381         * sysdeps/i386/fpu/s_llrint.S: ...here.
1382         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1383         * sysdeps/i386/fpu/s_llrintf.S: ...here.
1384         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1385         * sysdeps/i386/fpu/s_llrintl.S: ...here.
1386         * sysdeps/libm-i387/s_log1p.S: Moved to ...
1387         * sysdeps/i386/fpu/s_log1p.S: ...here.
1388         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1389         * sysdeps/i386/fpu/s_log1pf.S: ...here.
1390         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1391         * sysdeps/i386/fpu/s_log1pl.S: ...here.
1392         * sysdeps/libm-i387/s_log2.S: Moved to ...
1393         * sysdeps/i386/fpu/s_log2.S: ...here.
1394         * sysdeps/libm-i387/s_log2f.S: Moved to ...
1395         * sysdeps/i386/fpu/s_log2f.S: ...here.
1396         * sysdeps/libm-i387/s_log2l.S: Moved to ...
1397         * sysdeps/i386/fpu/s_log2l.S: ...here.
1398         * sysdeps/libm-i387/s_logb.S: Moved to ...
1399         * sysdeps/i386/fpu/s_logb.S: ...here.
1400         * sysdeps/libm-i387/s_logbf.S: Moved to ...
1401         * sysdeps/i386/fpu/s_logbf.S: ...here.
1402         * sysdeps/libm-i387/s_logbl.S: Moved to ...
1403         * sysdeps/i386/fpu/s_logbl.S: ...here.
1404         * sysdeps/libm-i387/s_lrint.S: Moved to ...
1405         * sysdeps/i386/fpu/s_lrint.S: ...here.
1406         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1407         * sysdeps/i386/fpu/s_lrintf.S: ...here.
1408         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1409         * sysdeps/i386/fpu/s_lrintl.S: ...here.
1410         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1411         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1412         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1413         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1414         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1415         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1416         * sysdeps/libm-i387/s_remquo.S: Moved to ...
1417         * sysdeps/i386/fpu/s_remquo.S: ...here.
1418         * sysdeps/libm-i387/s_remquof.S: Moved to ...
1419         * sysdeps/i386/fpu/s_remquof.S: ...here.
1420         * sysdeps/libm-i387/s_remquol.S: Moved to ...
1421         * sysdeps/i386/fpu/s_remquol.S: ...here.
1422         * sysdeps/libm-i387/s_rint.S: Moved to ...
1423         * sysdeps/i386/fpu/s_rint.S: ...here.
1424         * sysdeps/libm-i387/s_rintf.S: Moved to ...
1425         * sysdeps/i386/fpu/s_rintf.S: ...here.
1426         * sysdeps/libm-i387/s_rintl.S: Moved to ...
1427         * sysdeps/i386/fpu/s_rintl.S: ...here.
1428         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1429         * sysdeps/i386/fpu/s_scalbn.S: ...here.
1430         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1431         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1432         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1433         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1434         * sysdeps/libm-i387/s_significand.S: Moved to ...
1435         * sysdeps/i386/fpu/s_significand.S: ...here.
1436         * sysdeps/libm-i387/s_significandf.S: Moved to ...
1437         * sysdeps/i386/fpu/s_significandf.S: ...here.
1438         * sysdeps/libm-i387/s_significandl.S: Moved to ...
1439         * sysdeps/i386/fpu/s_significandl.S: ...here.
1440         * sysdeps/libm-i387/s_sin.S: Moved to ...
1441         * sysdeps/i386/fpu/s_sin.S: ...here.
1442         * sysdeps/libm-i387/s_sincos.S: Moved to ...
1443         * sysdeps/i386/fpu/s_sincos.S: ...here.
1444         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1445         * sysdeps/i386/fpu/s_sincosf.S: ...here.
1446         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1447         * sysdeps/i386/fpu/s_sincosl.S: ...here.
1448         * sysdeps/libm-i387/s_sinf.S: Moved to ...
1449         * sysdeps/i386/fpu/s_sinf.S: ...here.
1450         * sysdeps/libm-i387/s_sinl.S: Moved to ...
1451         * sysdeps/i386/fpu/s_sinl.S: ...here.
1452         * sysdeps/libm-i387/s_tan.S: Moved to ...
1453         * sysdeps/i386/fpu/s_tan.S: ...here.
1454         * sysdeps/libm-i387/s_tanf.S: Moved to ...
1455         * sysdeps/i386/fpu/s_tanf.S: ...here.
1456         * sysdeps/libm-i387/s_tanl.S: Moved to ...
1457         * sysdeps/i386/fpu/s_tanl.S: ...here.
1458         * sysdeps/libm-i387/s_trunc.S: Moved to ...
1459         * sysdeps/i386/fpu/s_trunc.S: ...here.
1460         * sysdeps/libm-i387/s_truncf.S: Moved to ...
1461         * sysdeps/i386/fpu/s_truncf.S: ...here.
1462         * sysdeps/libm-i387/s_truncl.S: Moved to ...
1463         * sysdeps/i386/fpu/s_truncl.S: ...here.
1464         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1465         * sysdeps/ieee754/k_standard.c: ...here.
1466         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1467         * sysdeps/ieee754/s_lib_version.c: ...here.
1468         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1469         * sysdeps/ieee754/s_matherr.c: ...here.
1470         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1471         * sysdeps/ieee754/s_signgam.c: ...here.
1472         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1473         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1474         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1475         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1476         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1477         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1478         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1479         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1480         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1481         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1482         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1483         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1484         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1485         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1486         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1487         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1488         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1489         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1490         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1491         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1492         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1493         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1494         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1495         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1496         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1497         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1498         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1499         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1500         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1501         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1502         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1503         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1504         * sysdeps/libm-ieee754/e_log.c: Moved to ...
1505         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1506         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1507         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1508         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1509         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1510         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1511         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1512         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1513         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1514         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1515         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1516         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1517         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1518         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1519         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1520         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1521         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1522         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1523         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1524         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1525         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1526         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1527         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1528         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1529         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1530         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1531         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1532         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1533         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1534         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1535         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1536         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1537         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1538         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1539         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1540         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1541         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1542         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1543         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1544         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
1545         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
1546         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
1547         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
1548         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
1549         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
1550         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
1551         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
1552         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
1553         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
1554         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
1555         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
1556         (__isnan): Comment above function says it returns 0 or 1, but it
1557         used to return 0 or -1.
1558         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
1559         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
1560         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
1561         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
1562         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
1563         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
1564         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
1565         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
1566         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
1567         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
1568         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
1569         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
1570         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
1571         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
1572         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
1573         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
1574         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
1575         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
1576         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
1577         * sysdeps/generic/s_nextafter.c: ...here.
1578         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
1579         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
1580         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
1581         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
1582         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
1583         * sysdeps/libm-ieee754/s_round.c: Moved to ...
1584         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
1585         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
1586         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
1587         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
1588         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
1589         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
1590         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
1591         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
1592         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
1593         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
1594         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
1595         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
1596         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
1597         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
1598         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
1599         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
1600         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
1601         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
1602         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
1603         * sysdeps/ieee754/mpn2flt.c: Moved to ...
1604         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
1605         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
1606         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
1607         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
1608         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
1609         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
1610         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
1611         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
1612         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
1613         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
1614         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
1615         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
1616         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
1617         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
1618         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
1619         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
1620         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
1621         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
1622         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
1623         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
1624         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
1625         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
1626         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
1627         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
1628         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
1629         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
1630         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
1631         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
1632         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
1633         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
1634         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
1635         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
1636         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
1637         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
1638         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1639         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1640         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1641         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1642         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1643         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1644         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1645         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1646         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1647         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1648         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1649         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1650         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1651         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1652         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1653         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1654         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1655         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1656         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1657         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1658         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1659         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1660         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1661         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1662         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1663         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1664         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1665         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1666         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1667         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1668         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1669         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1670         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1671         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1672         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1673         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1674         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1675         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1676         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1677         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1678         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1679         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1680         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1681         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1682         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1683         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1684         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1685         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1686         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1687         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1688         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1689         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1690         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1691         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1692         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1693         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1694         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1695         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1696         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1697         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1698         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1699         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1700         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1701         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1702         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1703         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1704         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1705         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1706         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1707         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1708         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1709         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1710         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1711         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1712         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1713         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1714         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1715         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1716         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1717         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1718         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1719         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1720         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1721         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1722         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1723         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1724         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1725         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1726         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1727         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1728         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1729         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1730         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1731         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1732         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1733         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1734         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1735         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1736         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1737         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1738         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1739         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1740         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1741         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1742         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1743         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1744         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1745         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1746         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1747         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1748         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1749         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1750         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1751         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1752         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1753         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1754         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1755         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1756         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1757         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1758         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1759         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1760         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1761         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1762         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1763         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1764         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1765         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1766         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1767         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1768         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1769         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1770         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1771         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1772         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1773         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1774         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1775         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1776         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1777         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1778         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1779         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1780         INSERT_WORDS.
1781         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1782         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1783         (__nearbyintl): Fix for exponents 2^30.
1784         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1785         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1786         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1787         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1788         (__rintl): Fix for exponents 2^30.
1789         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1790         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1791         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1792         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1793         (__scalbnl): Fix exponent for subnormal result.
1794         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1795         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1796         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1797         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1798         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1799         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1800         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1802         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1803         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1804         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1805         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1806         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1807         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1808         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1809         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1810         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1811         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1812         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1813         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1814         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1815         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1816         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1817         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1818         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1820         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1821         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1822         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1823         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1824         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1825         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1826         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1827         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1828         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1830         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1831         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1832         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1833         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1834         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1835         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1836         * sysdeps/libm-i387/t_exp.c: Moved to ...
1837         * sysdeps/i386/fpu/t_exp.c: ...here.
1838         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1839         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1840         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1841         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1842         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1843         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1844         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1845         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1846         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1847         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1848         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1849         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1850         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1852         Fix exponent for subnormal result.
1853         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1854         * sysdeps/generic/s_nexttowardl.c: ...here.
1855         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1856         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1857         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1858         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1859         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1860         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1861         Comment above function says it returns 0 or 1, but it used to return
1862         0 or -1.
1863         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1864         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1865         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1866         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1867         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1868         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1869         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1870         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1871         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1872         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1873         Cannot compare exponents with different biases without adjusting.
1874         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1876         Cannot compare exponents with different biases without adjusting.
1877         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1878         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1879         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1880         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1881         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1882         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1883         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1884         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1885         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1886         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1887         * sysdeps/libm-ieee754/Dist: Split into ...
1888         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1889         * sysdeps/ieee754/flt-32/Dist: ...this file.
1890
1891         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1892         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1893         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1894         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1895         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1896         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1897         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1898         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1899         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1900         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1901         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1902         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1903         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1904         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1905         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1906         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1907         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1908         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1909         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1910         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1911         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1912         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1913         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1914         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1915         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1916         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1917         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1918         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1919         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1920         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1921         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1922         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1923         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1924         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1926         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1928         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1929         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1930         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1931         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1932         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1934         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1935         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1936         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1937         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1938
1939         * sysdeps/generic/math_ldbl.h: New file.
1940         * sysdeps/generic/s_nexttowardf.c: New file.
1941         * sysdeps/generic/strtold.c: New file.
1942         * sysdeps/generic/ldbl2mpn.c: New file.
1943
1944         * math/machine/endian.h: Remove.
1945         * sysdeps/i386/fpu/Implies: Remove.
1946         * sysdeps/ieee754/Implies: Remove.
1947
1948         * math/math_private.h: Move long double macros to math_ldbl.h
1949         header.
1950
1951 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1952
1953         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1954         connections without a hostname set address to localhost address.
1955
1956 1999-07-11  H.J. Lu  <hjl@gnu.org>
1957
1958         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1959         nscd's own strong version of the get[a-z]*_r function.
1960         * nscd/hstcache.c: Likewise.
1961         * nscd/pwdcache.c: Likewise.
1962
1963 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1964
1965         * configure.in: Recognize 2.95 as gcc version number.
1966         Patch by Joel Klecker <jk@espy.org>.
1967
1968 1999-07-12  Andreas Schwab  <schwab@suse.de>
1969
1970         * elf/rtld.c (dl_main): When putting back the interpreter object
1971         handle the case where a missing object might occur in the list of
1972         objects but not in the search list when in trace mode.
1973
1974 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1975
1976         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1977         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1978         _nss_hesiod_initgroups.
1979
1980 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1981
1982         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1983         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1984         Initialize it from &__data_start if defined, or else &_end.
1985
1986 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1987
1988         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1989         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1990
1991 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1992
1993         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1994
1995 1999-07-09  H.J. Lu  <hjl@gnu.org>
1996
1997         * Versions.def (GLIBC_2.1.2): Added.
1998
1999         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
2000         old one as GLIBC_2.0.
2001         * nss/getXXbyYY_r.c: Likewise.
2002
2003         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
2004         GLIBC_2.1.2.
2005         * inet/Versions (getaliasbyname_r, getaliasent_r,
2006         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
2007         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
2008         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
2009         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
2010         getservbyname_r): Likewise.
2011         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
2012         * shadow/Versions (getspent_r, getspnam_r): Likewise.
2013
2014 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
2015
2016         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
2017         compilers.
2018         (__memset_cc): Likewise.
2019
2020         * sysdeps/generic/libc-start.c: For SUID binaries check whether
2021         the standard file descriptors are open.
2022         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2023
2024         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
2025         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
2026         range of mmap.  If not fail.
2027         Patches by Daniel Jacobowitz <dan@debian.org>.
2028
2029         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
2030         before the relocation happened.
2031         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2032
2033         * Versions.def (libnsl): Add GLIBC_2.2.
2034         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
2035
2036 1999-07-08  Cristian Gafton  <gafton@redhat.com>
2037
2038         * nis/yp_xdr.c (xdr_ypall): New function.
2039
2040 1999-07-09  Andreas Schwab  <schwab@suse.de>
2041
2042         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
2043
2044         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
2045
2046 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
2047
2048         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
2049         * hesiod/hesiod-grp.c: Add initgroups support.
2050         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
2051
2052 1999-07-08  Andreas Schwab  <schwab@suse.de>
2053
2054         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
2055
2056         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
2057         negative numbers.
2058
2059         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
2060         EOF.
2061         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
2062
2063 1999-07-08  Andreas Schwab  <schwab@suse.de>
2064
2065         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
2066
2067 1999-07-08  Andreas Schwab  <schwab@suse.de>
2068
2069         * libio/fileno.c: Return -1 instead of EOF and set errno if the
2070         stream is not a real file stream.
2071
2072 1999-07-08  Andreas Schwab  <schwab@suse.de>
2073
2074         * manual/charset.texi: Fix typos.
2075
2076 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
2077
2078         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
2079
2080 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
2081
2082         * dlfcn: New directory.  Move the following files from elf:
2083         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
2084         dlopenold.c, dlsym.c, dlvsym.c.
2085         * dlfcn/Makefile: New file.
2086         * dlfcn/Versions: New file.
2087         * dlfcn/dlsym.c: All ELF-specific code split out to new
2088         function _dl_sym.
2089         * dlfcn/dlvsym.c: All ELF-specific code split out to new
2090         function _dl_vsym.
2091         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
2092         implemented here.
2093
2094         * dlfcn/dladdr.c: Remove all references to ELF data structures
2095         or headers.
2096         * dlfcn/dlclose.c: Likewise.
2097         * dlfcn/dlerror.c: Likewise.
2098         * dlfcn/dlopen.c: Likewise.
2099         * dlfcn/dlopenold.c: Likewise.
2100
2101         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
2102         yes, empty otherwise.
2103         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
2104         depending on build-shared.
2105         (subdirs): Add $(dlfcn).
2106         (rpath-dirs): Add dlfcn.
2107         * elf/Makefile: Remove all references to libdl or its
2108         components, except the ones relating to the test cases.
2109         (routines): Add dl-sym.
2110         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
2111         (libdl): Delete.
2112
2113         * elf/dl-close.c (_dl_close): Change argument to void *.
2114         * elf/dl-open.c (_dl_open): Change return type to void *.
2115         * elf/eval.c: Removed.
2116         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
2117         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
2118         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
2119         _CALL_DL_FCT macro.
2120         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
2121         Include real header from dlfcn directory.
2122         * include/ldsodefs.h: Removed.
2123
2124         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
2125         * nss/getXXbyYY_r.c: Likewise.
2126         * nss/getXXent_r.c: Likewise.
2127         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
2128         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
2129         * iconv/skeleton.c: Don't include ldsodefs.h.
2130         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
2131
2132 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
2133
2134         * sysdeps/generic/setenv.c: Describe problem.
2135
2136         * malloc/malloc.c (request2size): Also set errno if failing.
2137
2138         * malloc/malloc.c (request2size): Take care of overflow in
2139         addition.
2140
2141         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
2142         (NULL, != 0) correctly.
2143
2144         * elf/dl-load.c: Use a few more __builtin_expect.
2145
2146         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
2147         is large enough.
2148
2149 1999-07-07  Andreas Schwab  <schwab@suse.de>
2150
2151         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
2152         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
2153         (_PATH_DEVPTMX): Use _PATH_DEV.
2154
2155 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2156
2157         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
2158         * malloc/Makefile (tests): Add tst-malloc.
2159
2160 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2161
2162         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
2163         convention.
2164
2165         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
2166         motherboards.
2167         Patch by Jay Estabrook.
2168
2169         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
2170         ldd for SPARC.
2171         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
2172         Patch by Cristian Gafton.
2173
2174 1999-07-02  Cristian Gafton  <gafton@redhat.com>
2175
2176         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
2177         instead of "return NULL" to make C++ happy.
2178
2179 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
2180
2181         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
2182         allowed by the file access mode of the open file.
2183
2184 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2185
2186         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
2187         macros defined.
2188
2189 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
2190
2191         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
2192         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
2193         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2194         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
2195
2196 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2197
2198         * malloc/malloc.c (request2size): Check for overflow and return
2199         NULL whenever it is encountered.
2200
2201 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
2202
2203         * sysdeps/posix/tempname.c (__gen_tempname):   Add
2204         ability to create directories.  Replace OPENIT and LARGEFILE
2205         args with a single flags parameter.
2206         * sysdeps/generic/tempname.c: Likewise.
2207         * include/stdio.h: Adjust prototype of __gen_tempname to
2208         match.  Define symbolic constants for second argument.
2209
2210         * misc/mkdtemp.c: New file, provides new function mkdtemp().
2211         * stdlib/stdlib.h: Prototype it.
2212         * misc/Versions: Export it.
2213         * misc/Makefile (routines): Add mktemp.
2214         * manual/filesys.texi: Document it.
2215
2216         * misc/mktemp.c: Adjust call of __gen_tempname to match new
2217         convention.
2218         * misc/mkstemp.c: Likewise.
2219         * stdio-common/tempnam.c: Likewise.
2220         * stdio-common/tmpfile.c: Likewise.
2221         * stdio-common/tmpfile64.c: Likewise.
2222         * stdio-common/tmpnam.c: Likewise.
2223         * stdio-common/tmpnam_r.c: Likewise.
2224
2225 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
2226
2227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
2228         R_SPARC_OLO10 relocations.
2229         * elf/elf.h (R_SPARC_OLO10): Fix comment.
2230
2231 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2232
2233         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
2234         doesn't belong in the tests, but in the wordexp implementation.
2235
2236         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
2237         split fields.
2238
2239 1999-07-01  Cristian Gafton  <gafton@redhat.com>
2240
2241         * time/strptime.c (strptime): Initialize the tm struct first to avoid
2242         returning bogus results on incomplete data.
2243         (strptime_internal): day_of_the_week() requres bith tm_mon and
2244         tm_mday to be initializaed.
2245         Computer them first if they are not given.
2246         (strptime_internal): (have_mon, have_mday): New variables.
2247
2248 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2249
2250         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
2251
2252 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2253
2254         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
2255         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2256
2257 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2258
2259         * posix/wordexp.c (parse_tilde): Handle failing call to
2260         get.*_r functions correctly for non-existing entry.
2261         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2262         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
2263
2264 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2265
2266         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
2267         getxxbyYY_r functions correctly for non-existing entry.
2268         * sunrpc/getrpcport.c: Likewise.
2269         * sunrpc/clnt_simp.c: Likewise.
2270         * inet/rexec.c: Likewise.
2271         * sunrpc/clnt_gen.c: Likewise.
2272         * inet/rcmd.c: Likewise.
2273         * sysdeps/generic/glob.c: Likewise.
2274
2275 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2276
2277         * pwd/Makefile (tests): Add rules for tst-getpw.
2278
2279         * pwd/tst-getpw.c: New program to test getpw.
2280
2281 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2282
2283         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2284         correctly.
2285
2286 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2287
2288         * manual/arith.texi (System V Number Conversion): Fix the
2289         description which confused pointer and value to pointer.
2290         Reported by Andries.Brouwer@cwi.nl.
2291
2292 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2293
2294         * pwd/getpw.c (__getpw): Check for NULL result pointer.
2295
2296 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2297
2298         * manual/users.texi (Lookup User): Document POSIX return
2299         semantics for getpwuid_r and getgrgid_r.
2300
2301         * manual/socket.texi (Host Names): Document that the result
2302         pointer is null in case of error or host not found and fix a
2303         typo.  Give a small example.
2304
2305 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2306
2307         * pwd/getpw.c: Add warning since no buffer size is given and
2308         therefore no overrun tests are possible.
2309
2310 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2311
2312         * pwd/pwd.h: Add getpw prototype declaration.
2313
2314 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2315
2316         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2317         * wcsmbs/wcschr.c: Likewise.
2318
2319 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2320
2321         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2322         returns.
2323         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2324         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2325         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2326
2327         * elf/dl-dst.h: Fix typo.
2328         * elf/dl-open.c: Likewise.
2329
2330 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
2331
2332         * elf/dl-libc.c: New file, provides three functions:
2333         __libc_dlopen, __libc_dlclose, __libc_dlsym.
2334         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
2335         * elf/Makefile (routines): Add dl-libc.c.
2336         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2337         argument to void *.
2338         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2339
2340         * iconv/gconv.c: Include dlfcn.h.
2341         * iconv/gconv_db.c: Likewise.
2342         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
2343
2344         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2345         `handle' to a void *.
2346         (__gconv_find_func): Delete prototype.
2347
2348         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
2349         dlerror_run and related functions and structs.  Use
2350         __libc_dlopen, __libc_dlsym, __libc_dlclose.
2351         * nss/nsswitch.c: Likewise.
2352
2353 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2354
2355         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2356         function correctly.
2357
2358         * sunrpc/getrpcport.c: Test for gethostbyname_r function
2359         correctly.
2360
2361         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2362
2363         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2364         functions correctly.
2365
2366         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2367
2368         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
2369         file reading a bit.
2370
2371         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2372
2373 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2374
2375         * manual/string.texi (Copying and Concatenation): Mention that
2376         strndup is a GNU extension.
2377
2378 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2379
2380         * pwd/getpw.c (__getpw): Fix check for error return.
2381
2382 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2383
2384         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2385         occurence of the aux object start with the current list entry, not
2386         the new one.  Adjust tail pointer in the unique list.  Explain how
2387         the meaning of the variables changes [PR libc/1168].
2388
2389 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2390
2391         * sysdeps/m68k/fpu/Dist: New file.
2392
2393 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2394
2395         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2396         definitions...
2397         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
2398         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2399         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2400         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2401         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2402         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2403         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2404         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2405         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2406         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2407         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2408         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2409         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2410         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2411         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2412         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2413
2414 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
2415
2416         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2417         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2418         _EXTERN_INLINE, use a macro specific to each file,
2419         _HURD_FD_H_EXTERN_INLINE and the like.
2420         * hurd/Makefile (inline-headers): New variable.
2421         (routines): Remove hurdinline.  Add $(inlines).
2422         (inlines): New variable.
2423         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2424         (generated): Append those here.
2425         * hurd/hurdinline.c: File removed.
2426
2427         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2428
2429         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2430
2431 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2432
2433         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2434
2435 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
2436
2437         * string/bits/string2.h (strnlen): Remove extra prototype.
2438
2439 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2440
2441         * manual/filesys.texi (Working on Directory Trees): Fix typos.
2442         Reported by Andries.Brouwer@cwi.nl.
2443
2444 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
2445
2446         * nscd/connections.c (handle_request): Use correct type for optlen
2447         variable.
2448
2449         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2450         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2451
2452 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
2453
2454         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2455         * nscd/pwdcache.c: Likewise.
2456         * nscd/hstcache.c: Likewise.
2457
2458 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2459
2460         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2461
2462         * posix/getopt.h: Include stdio.h.
2463
2464         * manual/arith.texi: Document restriction of ndigit parameter of
2465         ecvt and friends.
2466         * misc/efgcvt.c: Define NDIGIT_MAX.
2467         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2468         Do not dynamically allocate the static buffers.  They are small enough.
2469         * misc/efgcvt_r.c: Define NDIGIT_MAX.
2470         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2471         * misc/qefgcvt.c: Define NDIGIT_MAX.
2472         * misc/qefgcvt_r.c: Likewise.
2473         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2474
2475 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
2476
2477         * libio/stdio.h: Define stdin, stdout, stderr as macros.
2478         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2479         These are *pragmas* not macros.
2480         * wcsmbs/wchar.h: Fix comment.
2481
2482         * grp/grp.h: Use __foo_t_defined convention to typedef things
2483         only once.
2484         * io/sys/stat.h: Likewise.
2485         * libio/stdio.h: Likewise.
2486         * posix/unistd.h: Likewise.
2487         * posix/sys/types.h: Likewise.
2488         * posix/sys/wait.h: Likewise.
2489         * pwd/pwd.h: Likewise.
2490         * signal/signal.h: Likewise.
2491         * sysdeps/generic/stdint.h: Likewise.
2492         * sysdeps/gnu/utmpx.h: Likewise.
2493         * termios/termios.h: Likewise.
2494
2495 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2496
2497         * stdio/fputc.c: Don't define alias if fputc is defined as a
2498         macro.
2499         * stdio/putc.c: Define weak alias here since it is not done
2500         anymore in fputc.c.
2501
2502 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2503
2504         * assert/assert.h: Don't produce `defined' as part of macro
2505         expansion.
2506
2507 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
2508
2509         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2510         OFFSET argument of (off_t) -1.
2511         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2512         OFFSET argument of (off_t) -1.
2513
2514         * sysdeps/mach/hurd/pwrite.c: New file.
2515         * sysdeps/mach/hurd/pread.c: New file.
2516
2517         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2518         pass it in the RPC instead of always -1.
2519         * hurd/fd-write.c (_hurd_fd_write): Likewise.
2520         * hurd/hurd/fd.h: Update decls.
2521
2522 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2523
2524         * libio/wscanf.c: Include <wchar.h> for prototype.
2525
2526 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
2527
2528         * manual/io.texi. Fix typos.
2529         * manual/stdio.texi: Likewise.
2530         Patches by Brian Youmans <3diff@gnu.org>.
2531
2532 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
2533
2534         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2535         bits of two words differ.
2536
2537 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2538
2539         * libio/Makefile (routines): Add putwchar and putwchar_u.
2540
2541         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2542         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
2543         stdout.  Fix parameter name.
2544
2545         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
2546         * libio/getchar_u.c: Likewise.
2547
2548         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
2549
2550 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2551
2552         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
2553         macro expansion---it's undefined.  Properly parenthesize
2554         substituted parameters.
2555         (__GLIBC_PREREQ): Likewise.
2556
2557 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
2558
2559         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
2560         weird effects.
2561
2562         * stdlib/longlong.h: Provide __P definition if not already
2563         defined.
2564
2565         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
2566
2567 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
2568
2569         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
2570
2571 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2572
2573         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
2574
2575 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2576
2577         * stdio-common/vfprintf.c (group_member): Make parameters and
2578         return types pointers to CHAR_T instead of UCHAR_T.
2579         (vfprintf): Change type of work_buffer, workend and string to
2580         CHAR_T pointer/array.
2581         (process_arg, process_string_arg): Adjust/remove casts.  Add
2582         missing use of L_ macro.
2583         (printf_unknown): Add missing uses of L_ macro.
2584
2585 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2586
2587         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
2588         warning.
2589
2590 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2591
2592         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
2593         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
2594         (__wunderflow): Likewise.
2595         (_IO_switch_to_wget_mode): Likewise.
2596         (_IO_init_wmarker): Likewise.
2597
2598         * libio/wfileops.c (_IO_wfile_seekoff): Call
2599         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
2600         (_IO_wfile_jumps): Fix pbackfail entry.
2601
2602         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
2603         function if the stream is currently unoriented.
2604
2605 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
2606
2607         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
2608         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
2609         __gnuc_va_list in v*w(printf|scanf) prototypes.
2610
2611 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2612
2613         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
2614         1999-03-29 to iopopen also here.
2615         Reported by Richard Braakman <dark@xs4all.nl>.
2616
2617 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2618
2619         * include/features.h: Use __GNUC_PREREQ.
2620         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
2621
2622 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2623
2624         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
2625         Change EOF to WEOF and remove cast.
2626         (UNGETC): Remove macro.
2627         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
2628         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
2629         Change ISASCII to isascii and MBRLEN to mbrlen.
2630         (parse_one_spec): Compare info.spec always against wchar_t
2631         values.
2632         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
2633         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
2634         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
2635
2636 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2637
2638         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2639         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2640         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2641         oldiofsetpos64 only if doing versioning.
2642
2643 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2644
2645         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2646
2647 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2648
2649         * libio/libio.h: Fix last patch.
2650
2651 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2652
2653         * libio/libio.h (_IO_putwc): Correct type of first argument.
2654         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2655         putwc_unlocked, putwchar_unlocked): Likewise.
2656         * libio/fputwc.c: Likewise.
2657         * libio/fputwc_unlocked.c: Likewise.
2658         * libio/putwc.c: Likewise.
2659         * libio/putwc_unlocked.c: Likewise.
2660         * libio/putwchar.c: Likewise.
2661         * libio/putwchar_unlocked.c: Likewise.
2662
2663 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2664
2665         * sysdeps/gnu/siglist.h: File moved to ...
2666         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2667         any platform, since it just associates the SIG* macros with text names
2668         and descriptions. For any signal macros do not exist on every
2669         platform, we can use #ifdef tests here and still use this single
2670         common file for all platforms.
2671         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2672         should be usable for all platforms after the binary compatibility
2673         stuff in the current sysdeps/gnu version is no longer required.
2674         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2675         * sysdeps/generic/make_siglist.c: File removed.
2676         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2677         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2678
2679 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2680
2681         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2682         * sysdeps/gnu/siglist.c: ... here.
2683         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2684         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2685         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2686         Add entry for SIGLOST protected by #ifdef.
2687         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2688         and define OLD_SIGLIST_SIZE_STR.
2689         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2690
2691 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2692
2693         * include/features.h: Define new macros __GNUC_PREREQ and
2694         __GLIBC_PREREQ which can be used to test the version of gcc
2695         and glibc respectively.
2696
2697         * assert/assert.h: Use __GNUC_PREREQ.
2698         * intl/libintl.h: Likewise.
2699         * math/complex.h: Likewise.
2700         * math/tgmath.h: Likewise.
2701         * misc/sys/cdefs.h: Likewise.
2702         * posix/sys/types.h: Likewise.
2703         * socket/sys/socket.h: Likewise.
2704         * string/bits/string2.h: Likewise.
2705         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2706         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2707
2708 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2709
2710         * include/libintl.h: Declare _libc_intl_domainname here.
2711         Define _ and N_ here.
2712         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2713         define _ and N_.  Don't declare _libc_intl_domainname.
2714         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2715
2716         * db2/config.h: Don't include sys/stat.h or define
2717         HAVE_ST_BLKSIZE here...
2718         * db2/compat.h: ...do it here.
2719
2720         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2721         other headers.
2722         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2723         * iconv/iconv.c: Include stddef.h for NULL.
2724         * malloc/malloc.h: Include features.h.
2725         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2726
2727         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2728         into the generated file.
2729         * sysdeps/gnu/errlist.awk: Likewise.
2730         * sysdeps/gnu/errlist.c: Rebuilt.
2731
2732         * assert/assert-perr.c: Include libintl.h.
2733         * assert/assert.c: Likewise.
2734         * elf/dl-open.c: Likewise.
2735         * elf/dlsym.c: Likewise.
2736         * elf/dlvsym.c: Likewise.
2737         * iconv/iconv_prog.c: Likewise.
2738         * inet/rcmd.c: Likewise.
2739         * inet/ruserpass.c: Likewise.
2740         * locale/programs/charset.c: Likewise.
2741         * locale/programs/ld-collate.c: Likewise.
2742         * locale/programs/ld-ctype.c: Likewise.
2743         * locale/programs/ld-messages.c: Likewise.
2744         * locale/programs/ld-monetary.c: Likewise.
2745         * locale/programs/ld-numeric.c: Likewise.
2746         * locale/programs/ld-time.c: Likewise.
2747         * locale/programs/locfile.c: Likewise.
2748         * locale/programs/repertoire.c: Likewise.
2749         * login/programs/database.c: Likewise.
2750         * login/programs/request.c: Likewise.
2751         * malloc/mcheck.c: Likewise.
2752         * misc/error.c: Likewise.
2753         * nis/nis_call.c: Likewise.
2754         * nis/nis_callback.c: Likewise.
2755         * nis/nis_error.c: Likewise.
2756         * nis/nis_local_names.c: Likewise.
2757         * nis/nis_print.c: Likewise.
2758         * nis/nis_print_group_entry.c: Likewise.
2759         * nis/ypclnt.c: Likewise.
2760         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2761         * nscd/cache.c: Likewise.
2762         * nscd/connections.c: Likewise.
2763         * nscd/grpcache.c: Likewise.
2764         * nscd/hstcache.c: Likewise.
2765         * nscd/nscd_conf.c: Likewise.
2766         * nscd/nscd_stat.c: Likewise.
2767         * nscd/pwdcache.c: Likewise.
2768         * posix/id.c: Likewise.
2769         * resolv/herror.c: Likewise.
2770         * stdio-common/psignal.c: Likewise.
2771         * string/strsignal.c: Likewise.
2772         * sunrpc/auth_unix.c: Likewise.
2773         * sunrpc/clnt_perr.c: Likewise.
2774         * sunrpc/clnt_raw.c: Likewise.
2775         * sunrpc/clnt_tcp.c: Likewise.
2776         * sunrpc/clnt_udp.c: Likewise.
2777         * sunrpc/clnt_unix.c: Likewise.
2778         * sunrpc/get_myaddr.c: Likewise.
2779         * sunrpc/pm_getmaps.c: Likewise.
2780         * sunrpc/pmap_clnt.c: Likewise.
2781         * sunrpc/pmap_rmt.c: Likewise.
2782         * sunrpc/rpc_main.c: Likewise.
2783         * sunrpc/rpc_scan.c: Likewise.
2784         * sunrpc/svc_run.c: Likewise.
2785         * sunrpc/svc_simple.c: Likewise.
2786         * sunrpc/svc_tcp.c: Likewise.
2787         * sunrpc/svc_udp.c: Likewise.
2788         * sunrpc/svc_unix.c: Likewise.
2789         * sunrpc/xdr_rec.c: Likewise.
2790         * sunrpc/xdr_ref.c: Likewise.
2791         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2792         * sysdeps/posix/gai_strerror.c: Likewise.
2793         * sysdeps/unix/siglist.c: Likewise.
2794         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2795         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2796         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2797         * timezone/zic.c: Likewise.
2798
2799 1999-06-18  H.J. Lu  <hjl@gnu.org>
2800
2801         * localedata/Makefile (charmaps): Exclude SCCS.
2802         (locales): Likewise.
2803         (repertoiremaps): Likewise.
2804
2805 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2806
2807         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2808         * sysdeps/generic/bsd-setjmp.c: Likewise.
2809
2810         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2811
2812         * iconv/gconv_open.c: Include string.h for memset prototype.
2813
2814         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2815         definitions.
2816
2817         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2818         assignment to avoid warning on 64bit platforms.
2819
2820 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2821
2822         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2823
2824         * nss/getXXbyYY_r.c: Return error code not -1.
2825         * nss/getXXent_r.c: Likewise.
2826         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2827         small.
2828         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2829         value > 0 for error.
2830         * nscd/nscd_gethst_r.c: Likewise.
2831         * nscd/nscd_getpw_r.c: Likewise.
2832
2833 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2834
2835         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2836         disciplines.
2837
2838 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2839
2840         * nscd/nscd_nischeck.c: Fix typos.
2841
2842 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2843
2844         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2845         always when oact is NULL.
2846         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2847
2848 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2849
2850         * math/libm-test.c (jn_test): Adjust delta.
2851
2852 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2853
2854         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2855         * libio/wprintf.c: Likewise.
2856
2857 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2858
2859         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2860         to not write beyond allocated memory.
2861         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2862
2863 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2864
2865         * malloc/mtrace.c: Keep lock while printing output lines.
2866         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2867
2868 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2869
2870         * configure.in: Add warnings about broken code.
2871
2872         * Versions.def: Add GLIBC_2.2 for libc.
2873
2874         * iconv/gconv.h: Make header suitable for inclusion in public header
2875         by protecting all names with __.
2876         * iconv/gconv.c: Adapt for symbol name changes.
2877         * iconv/gconv.h: Likewise.
2878         * iconv/gconv_builtin.c: Likewise.
2879         * iconv/gconv_close.c: Likewise.
2880         * iconv/gconv_db.c: Likewise.
2881         * iconv/gconv_dl.c: Likewise.
2882         * iconv/gconv_int.h: Likewise.
2883         * iconv/gconv_open.c: Likewise.
2884         * iconv/gconv_simple.c: Likewise.
2885         * iconv/iconv.c: Likewise.
2886         * iconv/iconv_close.c: Likewise.
2887         * iconv/iconv_open.c: Likewise.
2888         * iconv/loop.c: Likewise.
2889         * iconv/skeleton.c: Likewise.
2890         * iconvdata/8bit-gap.c: Likewise.
2891         * iconvdata/8bit-generic.c: Likewise.
2892         * iconvdata/ansi_x3.110.c: Likewise.
2893         * iconvdata/big5.c: Likewise.
2894         * iconvdata/cns11643.h: Likewise.
2895         * iconvdata/cns11643l1.h: Likewise.
2896         * iconvdata/euc-cn.c: Likewise.
2897         * iconvdata/euc-jp.c: Likewise.
2898         * iconvdata/euc-kr.c: Likewise.
2899         * iconvdata/euc-tw.c: Likewise.
2900         * iconvdata/gb2312.h: Likewise.
2901         * iconvdata/iso-2022-jp.c: Likewise.
2902         * iconvdata/iso-2022-kr.c: Likewise.
2903         * iconvdata/iso646.c: Likewise.
2904         * iconvdata/iso8859-1.c: Likewise.
2905         * iconvdata/iso_6937-2.c: Likewise.
2906         * iconvdata/iso_6937.c: Likewise.
2907         * iconvdata/jis0201.h: Likewise.
2908         * iconvdata/jis0208.h: Likewise.
2909         * iconvdata/jis0212.h: Likewise.
2910         * iconvdata/johab.c: Likewise.
2911         * iconvdata/ksc5601.h: Likewise.
2912         * iconvdata/sjis.c: Likewise.
2913         * iconvdata/t.61.c: Likewise.
2914         * iconvdata/uhc.c: Likewise.
2915         * stdlib/mblen.c: Likewise.
2916         * stdlib/mbtowc.c: Likewise.
2917         * stdlib/wctomb.c: Likewise.
2918         * wcsmbs/btowc.c: Likewise.
2919         * wcsmbs/mbrtowc.c: Likewise.
2920         * wcsmbs/mbsnrtowcs.c: Likewise.
2921         * wcsmbs/mbsrtowcs.c: Likewise.
2922         * wcsmbs/wchar.h: Likewise.
2923         * wcsmbs/wcrtomb.c: Likewise.
2924         * wcsmbs/wcsmbsload.c: Likewise.
2925         * wcsmbs/wcsmbsload.h: Likewise.
2926         * wcsmbs/wcsnrtombs.c: Likewise.
2927         * wcsmbs/wcsrtombs.c: Likewise.
2928         * wcsmbs/wctob.c: Likewise.
2929
2930         * include/limits.h (MB_LEN_MAX): Increase to 16.
2931
2932         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2933         _G_iconv_t.
2934         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2935         * include/wchar.h: Change mbstate_t to __mbstate_t.
2936
2937         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2938         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2939         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2940         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2941         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2942         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2943         and iofwide.
2944         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2945         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2946         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2947         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2948         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2949         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2950         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2951         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2952         GLIBC_2.2 for libc.
2953         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2954         Extend _IO_file contain pointer to codecvt, widedata and mode.
2955         (_IO_getwc_unlocked): New macro.
2956         (_IO_putwc_unlocked): New macro.
2957         (_IO_fwide): New macro.
2958         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2959         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2960         buffers based on mode.
2961         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2962         oriented.
2963         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2964         flag to be enough to signal unallocated buffer.  For wide oriented
2965         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2966         _IO_new_do_write directly.
2967         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2968         (_IO_file_seek): Likewise.
2969         * libio/genops.c (_IO_least_marker): Make global.
2970         (__underflow): Orient stream if not already done.
2971         (__uflow): Likewise.
2972         (_IO_default_seekpos): Change to type _IO_off64_t.
2973         (_IO_default_seekoff): Likewise.
2974         (_IO_default_seek): Likewise.
2975         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2976         in initialization.
2977         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2978         to use _IO_off64_t.
2979         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2980         char stream.
2981         * libio/ftello64.c: Likewise.
2982         * libio/ioftell.c: Likewise.
2983         * libio/iofopncook.c: Likewise.
2984         * libio/ioseekoff.c: Likewise.
2985         * libio/ioseekpos.c: Likewise.
2986         * libio/oldfileops.c: Likewise.
2987         * libio/iofgetpos.c: Store state of conversion if necessary.
2988         * libio/iofgetpos64.c: Likewise.
2989         * libio/iofsetpos.c: Restore conversion state if necessary.
2990         * libio/iofsetpos64.c: Likewise.
2991         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2992         * libio/iofopen.c: Likewise.
2993         * libio/iofopen64.c: Likewise.
2994         * libio/iopopen.c: Likewise.
2995         * libio/iovdprintf.c: Likewise.
2996         * libio/iovsprintf.c: Likewise.
2997         * libio/iovsscanf.c: Likewise.
2998         * libio/memstream.c: Likewise.
2999         * libio/obprintf.c: Likewise.
3000         * libio/iofputs.c: Orient stream if not already happened.
3001         * libio/iofputs_u.c: Likewise.
3002         * libio/iofwrite.c: Likewise.
3003         * libio/iofwrite_u.c: Likewise.
3004         * libio/ioputs.c: Likewise.
3005         * libio/iosetbuffer.c: Handle not yet oriented stream.
3006         * libio/iosetvbuf.c: Likewise.
3007         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
3008         * libio/stdfiles.c: Likewise.
3009         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
3010         failed allocation.
3011         (_IO_str_seekoff): Use _IO_off64_t.
3012         * libio/vasprintf.c: Pre-orient stream.
3013         * libio/vsnprintf.c: Likewise.
3014         * libio/fputwc.c: New file.
3015         * libio/fputwc_u.c: New file.
3016         * libio/fwprintf.c: New file.
3017         * libio/fwscanf.c: New file.
3018         * libio/getwc.c: New file.
3019         * libio/getwc_u.c: New file.
3020         * libio/getwchar.c: New file.
3021         * libio/getwchar_u.c: New file.
3022         * libio/iofgetws.c: New file.
3023         * libio/iofgetws_u.c: New file.
3024         * libio/iofputws.c: New file.
3025         * libio/iofputws_u.c: New file.
3026         * libio/iofwide.c: New file.
3027         * libio/iogetwline.c: New file.
3028         * libio/ioungetwc.c: New file.
3029         * libio/iovswscanf.c: New file.
3030         * libio/iowpadn.c: New file.
3031         * libio/oldiofgetpos.c: New file.
3032         * libio/oldiofgetpos64.c: New file.
3033         * libio/oldiofsetpos.c: New file.
3034         * libio/oldiofsetpos64.c: New file.
3035         * libio/putwc.c: New file.
3036         * libio/putwc_u.c: New file.
3037         * libio/putwchar.c: New file.
3038         * libio/putwchar_u.c: New file.
3039         * libio/swprintf.c: New file.
3040         * libio/swscanf.c: New file.
3041         * libio/tst_swprintf.c: New file.
3042         * libio/tst_swscanf.c: New file.
3043         * libio/tst_wprintf.c: New file.
3044         * libio/tst_wscanf.c: New file.
3045         * libio/tst_wscanf.input: New file.
3046         * libio/vswprintf.c: New file.
3047         * libio/vwprintf.c: New file.
3048         * libio/vwscanf.c: New file.
3049         * libio/wfiledoalloc.c: New file.
3050         * libio/wfileops.c: New file.
3051         * libio/wgenops.c: New file.
3052         * libio/wprintf.c: New file.
3053         * libio/wscanf.c: New file.
3054         * libio/wstrops.c: New file.
3055         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
3056         vfwprintf, and vfwscanf.
3057         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
3058         make global.
3059         * stdio-common/_itowa.c: New file.
3060         * stdio-common/_itowa.h: New file.
3061         * stdio-common/itoa-digits.c: Minimal optimization.
3062         * stdio-common/itowa-digits.c: New file.
3063         * stdio-common/printf-parse.h: Allow use in wide character context.
3064         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
3065         * stdio-common/printf.h (printf_info): Add wide bit.
3066         * stdio-common/printf_fp.c: Determine from wide bit whether stream
3067         is wide oriented or not.
3068         * stdio-common/printf_size.c: Likewise.
3069         * sysdeps/generic/printf_fphex.c: Likewise.
3070         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
3071         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
3072         context.
3073         * stdio-common/vfscand.c: Likewise.
3074         * stdio-common/vfwprintf.c: New file.
3075         * stdio-common/vfwscanf.c: New file.
3076
3077         * time/Makefile (routines): Add wcsftime.
3078         (tests): Add tst_wcsftime.
3079         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
3080         * time/strftime.c: Make usable as wcsftime.
3081         * time/wcsftime.c: New file.
3082         * time/tst_wcsftime.c: New file.
3083
3084         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
3085         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
3086         * wcsmbs/wcschrnul.c: New file.
3087         * wcsmbs/wmemcpy.c: New file.
3088         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
3089         * wcsmbs/wmemmove.c: Likewise for wmemmove.
3090
3091         * manual/stdio.texi: Document is_char and wide element if printf_info.
3092
3093         * manual/time.texi: Document wcsftime.
3094
3095         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
3096         __wmemmove, __wcschrnul, and __vfwscanf.
3097
3098         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
3099         * locale/C-time.c: Adapt for above change.
3100         * locale/categories.def: Likewise.
3101         * locale/localeinfo.h: Likewise.
3102         * localedata/Makefile: Don't run tests for now.
3103
3104         * manual/errno.texi: Fix typos.
3105         * manual/memory.texi: Likewise.
3106         * manual/ctype.texi: Likewise.
3107         Patches by Brian Youmans <3diff@gnu.org>.
3108
3109 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3110
3111         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
3112
3113 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3114
3115         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
3116         word order.
3117         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
3118         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
3119
3120 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3121
3122         * db2/db/db.c: Restore __nss_db_open alias.
3123         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
3124         include.
3125         * db2/os/os_rw.c (__os_write): Maintain const correctness.
3126         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
3127
3128 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
3129
3130         * stdio-common/printf-parse.h (parse_one_spec): Don't set
3131         is_longlong if not necessary.
3132
3133 1999-06-15  H.J. Lu  <hjl@gnu.org>
3134
3135         * Make-dist (sysdep_dirs): Exclude SCCS.
3136         * MakeTAGS (sysdep_dirs): Likewise.
3137
3138 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
3139
3140         * posix/regex.c (re_error_msgid): Remove extra commas.
3141
3142 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
3143
3144         * stdlib/tst-strtoll.c: New file.
3145         * stdlib/Makefile (tests): Add tst-strtoll.c
3146         * stdlib/strtol.c: It is not generally true that if
3147         (unsigned)a*(unsigned)b overflows, then the result is
3148         less than 'a'.
3149
3150 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
3151
3152         * nscd/connections.c (handle_request): Only root is allowed to
3153         send GETSTAT request in non secure mode.
3154         * nscd/nscd.c: Print error message if other then root try to
3155         use getstat.
3156
3157 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3158
3159         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
3160
3161 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3162
3163         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
3164         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
3165
3166 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3167
3168         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
3169         for character to search, to help the compiler.
3170         * sysdeps/generic/strchrnul.c: Likewise.
3171         * sysdeps/generic/memchr.c: Likewise.
3172         * sysdeps/generic/memccpy.c: Likewise.
3173         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
3174
3175 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3176
3177         * sysdeps/m68k/memchr.S: New file.
3178         * sysdeps/m68k/rawmemchr.S: New file.
3179         * sysdeps/m68k/strchr.S: New file.
3180         * sysdeps/m68k/strchrnul.S: New file.
3181
3182 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
3183
3184         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
3185         add `memory' clobber; optimise for constant `val'.
3186         (atomic_add): Likewise.
3187         (test_and_set): Remove `volatile'; add `memory' clobber; be more
3188         like the original `test_and_set'.
3189         (compare_and_swap): Remove `volatile'; add `memory' clobber;
3190         optimise for constant `oldval'.
3191         (always_swap): Remove `volatile'; add `memory' clobber.
3192
3193 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3194
3195         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
3196         functions for gcc <= 2.7.x.
3197
3198 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
3199
3200         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
3201         change.
3202
3203 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
3204
3205         * db2/Makefile (distribute): Remove files which do not exist
3206         anymore.
3207
3208         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
3209         definitions to calm down gcc.
3210
3211         * db2/db.h: Update from db 2.7.5.
3212         * db2/db_185.h: Likewise.
3213         * db2/db_int.h: Likewise.
3214         * db2/btree/bt_compare.c: Likewise.
3215         * db2/btree/bt_conv.c: Likewise.
3216         * db2/btree/bt_curadj.c: Likewise.
3217         * db2/btree/bt_cursor.c: Likewise.
3218         * db2/btree/bt_delete.c: Likewise.
3219         * db2/btree/bt_open.c: Likewise.
3220         * db2/btree/bt_page.c: Likewise.
3221         * db2/btree/bt_put.c: Likewise.
3222         * db2/btree/bt_rec.c: Likewise.
3223         * db2/btree/bt_recno.c: Likewise.
3224         * db2/btree/bt_rsearch.c: Likewise.
3225         * db2/btree/bt_search.c: Likewise.
3226         * db2/btree/bt_split.c: Likewise.
3227         * db2/btree/bt_stat.c: Likewise.
3228         * db2/btree/btree_auto.c: Likewise.
3229         * db2/common/db_appinit.c: Likewise.
3230         * db2/common/db_apprec.c: Likewise.
3231         * db2/common/db_err.c: Likewise.
3232         * db2/common/db_region.c: Likewise.
3233         * db2/common/db_salloc.c: Likewise.
3234         * db2/db/db.c: Likewise.
3235         * db2/db/db.src: Likewise.
3236         * db2/db/db_am.c: Likewise.
3237         * db2/db/db_auto.c: Likewise.
3238         * db2/db/db_dispatch.c: Likewise.
3239         * db2/db/db_dup.c: Likewise.
3240         * db2/db/db_iface.c: Likewise.
3241         * db2/db/db_join.c: Likewise.
3242         * db2/db/db_overflow.c: Likewise.
3243         * db2/db/db_pr.c: Likewise.
3244         * db2/db/db_rec.c: Likewise.
3245         * db2/db/db_ret.c: Likewise.
3246         * db2/db185/db185.c: Likewise.
3247         * db2/dbm/dbm.c: Likewise.
3248         * db2/hash/hash.c: Likewise.
3249         * db2/hash/hash_auto.c: Likewise.
3250         * db2/hash/hash_dup.c: Likewise.
3251         * db2/hash/hash_page.c: Likewise.
3252         * db2/hash/hash_rec.c: Likewise.
3253         * db2/hash/hash_stat.c: Likewise.
3254         * db2/include/btree.h: Likewise.
3255         * db2/include/btree_ext.h: Likewise.
3256         * db2/include/clib_ext.h: Likewise.
3257         * db2/include/common_ext.h: Likewise.
3258         * db2/include/db_am.h: Likewise.
3259         * db2/include/db_auto.h: Likewise.
3260         * db2/include/db_cxx.h: Likewise.
3261         * db2/include/db_ext.h: Likewise.
3262         * db2/include/db_join.h: Likewise.
3263         * db2/include/db_page.h: Likewise.
3264         * db2/include/hash.h: Likewise.
3265         * db2/include/hash_ext.h: Likewise.
3266         * db2/include/lock.h: Likewise.
3267         * db2/include/lock_ext.h: Likewise.
3268         * db2/include/log.h: Likewise.
3269         * db2/include/log_ext.h: Likewise.
3270         * db2/include/mp.h: Likewise.
3271         * db2/include/mp_ext.h: Likewise.
3272         * db2/include/os.h: Likewise.
3273         * db2/include/os_ext.h: Likewise.
3274         * db2/include/os_func.h: Likewise.
3275         * db2/include/txn.h: Likewise.
3276         * db2/include/txn_auto.h: Likewise.
3277         * db2/include/txn_ext.h: Likewise.
3278         * db2/include/xa.h: Likewise.
3279         * db2/include/xa_ext.h: Likewise.
3280         * db2/lock/lock.c: Likewise.
3281         * db2/lock/lock_conflict.c: Likewise.
3282         * db2/lock/lock_deadlock.c: Likewise.
3283         * db2/lock/lock_region.c: Likewise.
3284         * db2/lock/lock_util.c: Likewise.
3285         * db2/log/log.c: Likewise.
3286         * db2/log/log_archive.c: Likewise.
3287         * db2/log/log_auto.c: Likewise.
3288         * db2/log/log_findckp.c: Likewise.
3289         * db2/log/log_get.c: Likewise.
3290         * db2/log/log_put.c: Likewise.
3291         * db2/log/log_rec.c: Likewise.
3292         * db2/log/log_register.c: Likewise.
3293         * db2/mp/mp_bh.c: Likewise.
3294         * db2/mp/mp_fget.c: Likewise.
3295         * db2/mp/mp_fopen.c: Likewise.
3296         * db2/mp/mp_fput.c: Likewise.
3297         * db2/mp/mp_fset.c: Likewise.
3298         * db2/mp/mp_open.c: Likewise.
3299         * db2/mp/mp_pr.c: Likewise.
3300         * db2/mp/mp_region.c: Likewise.
3301         * db2/mp/mp_sync.c: Likewise.
3302         * db2/mutex/mutex.c: Likewise.
3303         * db2/mutex/uts4_cc.s: Likewise.
3304         * db2/os/os_abs.c: Likewise.
3305         * db2/os/os_alloc.c: Likewise.
3306         * db2/os/os_config.c: Likewise.
3307         * db2/os/os_dir.c: Likewise.
3308         * db2/os/os_fid.c: Likewise.
3309         * db2/os/os_fsync.c: Likewise.
3310         * db2/os/os_map.c: Likewise.
3311         * db2/os/os_oflags.c: Likewise.
3312         * db2/os/os_open.c: Likewise.
3313         * db2/os/os_rw.c: Likewise.
3314         * db2/os/os_seek.c: Likewise.
3315         * db2/os/os_sleep.c: Likewise.
3316         * db2/os/os_spin.c: Likewise.
3317         * db2/os/os_stat.c: Likewise.
3318         * db2/os/os_tmpdir.c: Likewise.
3319         * db2/os/os_unlink.c: Likewise.
3320         * db2/progs/db_archive/db_archive.c: Likewise.
3321         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3322         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3323         * db2/progs/db_dump/db_dump.c: Likewise.
3324         * db2/progs/db_load/db_load.c: Likewise.
3325         * db2/progs/db_printlog/README: Likewise.
3326         * db2/progs/db_printlog/commit.awk: Likewise.
3327         * db2/progs/db_printlog/count.awk: Likewise.
3328         * db2/progs/db_printlog/db_printlog.c: Likewise.
3329         * db2/progs/db_printlog/pgno.awk: Likewise.
3330         * db2/progs/db_printlog/range.awk: Likewise.
3331         * db2/progs/db_printlog/status.awk: Likewise.
3332         * db2/progs/db_printlog/txn.awk: Likewise.
3333         * db2/progs/db_recover/db_recover.c: Likewise.
3334         * db2/progs/db_stat/db_stat.c: Likewise.
3335         * db2/txn/txn.c: Likewise.
3336         * db2/txn/txn.src: Likewise.
3337         * db2/txn/txn_auto.c: Likewise.
3338         * db2/txn/txn_rec.c: Likewise.
3339         * db2/xa/xa.c: Likewise.
3340         * db2/xa/xa_db.c: Likewise.
3341         * db2/xa/xa_map.c: Likewise.
3342
3343         * db2/btree/bt_close.c: Removed.
3344         * db2/db/db_thread.c: Likewise.
3345         * db2/hash/hash_debug.c: Likewise.
3346         * db2/include/db.h.src: Likewise.
3347         * db2/include/db_int.h.src: Likewise.
3348         * db2/include/os_jump.h: Likewise.
3349         * db2/mutex/alpha.dec: Likewise.
3350         * db2/mutex/alpha.gcc: Likewise.
3351         * db2/mutex/parisc.hp: Likewise.
3352         * db2/mutex/uts4.cc.s: Likewise.
3353
3354         * db2/Makefile: Add new routines, remove old for 2.7.5.
3355         * db2/Versions: Add internal function names for the helper programs.
3356         * db2/makedb.c: Update for new cursor callback.
3357         * Versions.def: Define versions for libdb.
3358
3359 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
3360
3361         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3362         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3363         * nscd/nscd_nischeck.c: New file.
3364         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3365
3366 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3367
3368         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3369         MSG_* flags from Linux 2.2.9.
3370
3371 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3372
3373         * Makeconfig (static-start-installed-name): Set to
3374         $(start-installed-name) if not defined.
3375         (+link-static): Use $(static-start-installed-name) instead of
3376         $(start-installed-name).
3377         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3378         Set to crt0.o.
3379
3380 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3381
3382         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3383         inserting a send right into the child instead of unconditionally
3384         copying the send right.
3385
3386 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
3387
3388         * locale/lc-time.c: Add free_mem function to free if necessary
3389         statically allocated memory.
3390
3391 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
3392
3393         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3394         bias from the raw exponent.
3395
3396 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3397
3398         * inet/arpa/tftp.h: Move attribute declaration in right position.
3399
3400 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
3401
3402         * nscd/nscd.c: Add -S options for separate caching of data for
3403         every user. So one user couldn't see the data another user
3404         has gotten with his credentials.
3405         * nscd/nscd.h: Add new prototypes.
3406         * nscd/cache.c: Compare owner of cache entry if in secure mode.
3407         * nscd/connections.c: Check on shutdown if caller really was root.
3408         In secure mode get uid of caller.
3409         * nscd/grpcache.c: Add support for new secure group mode.
3410         * nscd/hstcache.c: Add support for new secure hosts mode.
3411         * nscd/pwdcache.c: Add support for new secure passwd mode.
3412
3413 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3414
3415         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3416         of user-provided buffer.
3417
3418 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
3419
3420         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3421         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3422
3423 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
3424
3425         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3426         and A format.
3427
3428         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3429         returning after last entry.
3430         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3431
3432 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
3433
3434         * misc/sysexits.h: Remove advertising clause of copyright.
3435         * resolv/getnetnamadr.c: Likewise.
3436         * sysdeps/vax/bcopy.s: Likewise.
3437         * sysdeps/vax/bzero.s: Likewise.
3438         * sysdeps/vax/ffs.s: Likewise.
3439         * sysdeps/vax/memchr.s: Likewise.
3440         * sysdeps/vax/memcmp.s: Likewise.
3441         * sysdeps/vax/memmove.s: Likewise.
3442         * sysdeps/vax/memset.s: Likewise.
3443         * sysdeps/vax/strcat.s: Likewise.
3444         * sysdeps/vax/strchr.s: Likewise.
3445         * sysdeps/vax/strcmp.s: Likewise.
3446         * sysdeps/vax/strcpy.s: Likewise.
3447         * sysdeps/vax/strcspn.s: Likewise.
3448         * sysdeps/vax/strlen.s: Likewise.
3449         * sysdeps/vax/strncat.s: Likewise.
3450         * sysdeps/vax/strncmp.s: Likewise.
3451         * sysdeps/vax/strncpy.s: Likewise.
3452         * sysdeps/vax/strpbrk.s: Likewise.
3453         * sysdeps/vax/strrchr.s: Likewise.
3454         * sysdeps/vax/strsep.s: Likewise.
3455         * sysdeps/vax/strspn.s: Likewise.
3456         * sysdeps/vax/strstr.s: Likewise.
3457
3458         * libio/iofopncook.c: Adjust for renaming of structure elements.
3459         * libio/libio.h: Define cookie functions with all the names.
3460
3461         * pwd/fgetpwent_r.c: Set errno in the correct way.
3462         * shadow/fgetspent_r.c: Likewise.
3463         * pwd/fgetpwent.c: Handle long lines correctly.  Little
3464         optimizations.  Free static buffer when debugging memory handling.
3465         * shadow/fgetspent.c: Likewise.
3466
3467         * grp/fgetgrent.c: Little optimization in loop.
3468
3469 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3470
3471         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3472         in a different way.
3473
3474 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
3475
3476         * stdlib/longlong.h: gas changed sethi handling when without
3477         %hi(). Fix assembly.
3478         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3479         port specific cache id checks.
3480         * sysdeps/generic/dl-cache.h: New file.
3481         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3482
3483 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3484
3485         * gmon/gmon.c: Remove advertising clause of copyright.
3486         * gmon/mcount.c: Likewise.
3487         * gmon/sys/gmon.h: Likewise.
3488         * inet/arpa/ftp.h: Likewise.
3489         * inet/arpa/telnet.h: Likewise.
3490         * inet/arpa/tftp.h: Likewise.
3491         * inet/inet_lnaof.c: Likewise.
3492         * inet/inet_mkadr.c: Likewise.
3493         * inet/inet_net.c: Likewise.
3494         * inet/inet_netof.c: Likewise.
3495         * inet/protocols/routed.h: Likewise.
3496         * inet/protocols/rwhod.h: Likewise.
3497         * inet/protocols/talkd.h: Likewise.
3498         * inet/protocols/timed.h: Likewise.
3499         * inet/rcmd.c: Likewise.
3500         * inet/rexec.c: Likewise.
3501         * inet/ruserpass.c: Likewise.
3502         * io/fts.c: Likewise.
3503         * io/fts.h: Likewise.
3504         * login/login_tty.c: Likewise.
3505         * misc/fstab.h: Likewise.
3506         * misc/getttyent.c: Likewise.
3507         * misc/getusershell.c: Likewise.
3508         * misc/sys/queue.h: Likewise.
3509         * misc/sys/syslog.h: Likewise.
3510         * misc/syslog.c: Likewise.
3511         * misc/ttyent.h: Likewise.
3512         * misc/ttyslot.c: Likewise.
3513         * resolv/arpa/nameser.h: Likewise.
3514         * resolv/gethnamaddr.c: Likewise.
3515         * resolv/herror.c: Likewise.
3516         * resolv/inet_addr.c: Likewise.
3517         * resolv/mapv4v6addr.h: Likewise.
3518         * resolv/mapv4v6hostent.h: Likewise
3519         * resolv/nss_dns/dns-host.c: Likewise.
3520         * resolv/nss_dns/dns-network.c: Likewise.
3521         * resolv/res_comp.c: Likewise.
3522         * resolv/res_data.c: Likewise.
3523         * resolv/res_debug.c: Likewise.
3524         * resolv/res_init.c: Likewise.
3525         * resolv/res_mkquery.c: Likewise.
3526         * resolv/res_query.c: Likewise.
3527         * resolv/res_send.c: Likewise.
3528         * resolv/resolv.h: Likewise.
3529         * sysdeps/generic/div.c: Likewise.
3530         * sysdeps/generic/netinet/ip.h: Likewise.
3531         * sysdeps/generic/netinet/tcp.h: Likewise.
3532         * sysdeps/generic/paths.h: Likewise.
3533         * sysdeps/generic/prof-freq.c: Likewise.
3534         * sysdeps/generic/sys/ttydefaults.h: Likewise.
3535         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3536         * sysdeps/gnu/netinet/tcp.h: Likewise.
3537         * sysdeps/ieee754/support.c: Likewise.
3538         * sysdeps/mach/hurd/sys/param.h: Likewise.
3539         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3540         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3541         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3542         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3543         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3544         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
3545         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3546         * sysdeps/unix/sysv/linux/paths.h: Likewise.
3547         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3548         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
3549         * sysdeps/vax/DEFS.h: Likewise.
3550         * termios/sys/ttychars.h: Likewise.
3551         * misc/daemon.c: Likewise.  Call fork.
3552
3553         * grp/fgetgrent.c (buffer): Make file local variable.
3554         (free_mem): New function.  Call for malloc debugging.
3555
3556         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
3557
3558 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3559
3560         * grp/Makefile: Add rules for tst_fgetgrent.
3561
3562         * grp/tst_fgetgrent.c: Rewritten to read only one file.
3563
3564         * grp/tst_fgetgrent.sh: New file.
3565
3566 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3567
3568         * grp/Makefile (tests): Add tst_fgetgrent.
3569         * grp/tst_fgetgrent.c: New file.
3570         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3571
3572 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
3573
3574         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
3575         be POSIX compliant.  Prior definition was broken for Hurd.
3576         Reported by Mark Kettenis <kettenis@gnu.org>.
3577
3578 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3579
3580         * ctype/ctype.h: Protect __tobody code by __extension__.
3581
3582 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3583
3584         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
3585         reading and reset in case the buffer was too small.
3586
3587         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
3588         of EOF.
3589
3590 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3591
3592         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
3593         another SIOGIFNAME typo.
3594
3595 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3596
3597         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
3598
3599         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
3600         bit.
3601
3602 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3603
3604         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
3605         the precision if the mantissa is zero.
3606
3607 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3608
3609         * manual/lang.texi (Floating Point Parameters): GCC already
3610         supports long double for a long time.
3611
3612 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3613
3614         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
3615         yn_test): Increase some epsilons.
3616
3617 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3618
3619         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
3620         parameters.
3621
3622 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3623
3624         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3625         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
3626         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
3627         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
3628
3629         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
3630         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
3631         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
3632         * sysdeps/libm-ieee754/w_j1.c: Likewise.
3633         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
3634         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
3635         * sysdeps/libm-ieee754/w_jn.c: Likewise.
3636         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
3637         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3638
3639         * stdio-common/vfprintf.c: Correct typos.
3640
3641         * math/libm-test.c (jn_test): Adjust delta.
3642         (y1_test): Likewise.
3643         (yn_test): Likewise.
3644
3645         * elf/do-lookup.h: It should never happen that if we expect a versioned
3646         symbol from a file the file has no version table.  This should have
3647         been checked in dl-version.c.
3648         * elf/dl-lookup.c: Include assert.h.
3649
3650         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3651         function handling.
3652
3653         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3654
3655 1999-06-06  Andi Kleen  <ak@muc.de>
3656
3657         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3658         SA_RESTORER flag.
3659
3660 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3661
3662         * math/libm-test.c (yn_test): Change one delta.
3663         (jn_test): Likewise.
3664         (j1_test): Likewise.
3665         (y0_test): Likewise.
3666
3667 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3668
3669         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3670         avoid multiple calls to getpagesize() which might be a syscall.
3671
3672 1999-06-06  Philip Blundell  <philb@gnu.org>
3673
3674         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3675
3676 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3677
3678         * manual/install.texi (Running make install): Correct typo in
3679         dynamic linker invocation.
3680
3681 1999-06-05  Philip Blundell  <philb@gnu.org>
3682
3683         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
3684         problems with GOT addressing.
3685
3686 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3687
3688         * malloc/malloc.c (check_action): Change into bitmap so that both
3689         diagnostic and abort can be requested by setting it to 3.
3690         (mALLOC_SET_STATe): Disable malloc checking if necessary.
3691
3692 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
3693
3694         * configure.in: Few changes for HPUX.
3695
3696         * scripts/config.guess: Update from latest version.
3697         * scripts/config.sub: Likewise.
3698
3699 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3700
3701         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
3702         map files.  Closes PR libc/1147.
3703
3704 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3705
3706         * math/libm-test.c (main): Add new test functions.
3707         (jn_test): New tests.
3708         (j1_test): Add some more tests.
3709         (j0_test): Add some more tests.
3710         (y0_test): Add some more tests.
3711         (y1_test): Add some more tests.
3712
3713 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3714
3715         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
3716         Patch by mhagger@dera.gov.uk [PR libc/1145].
3717
3718         * math/libm-test.c (y1_test): New tests.
3719         (y0_test): Likewise.
3720         (j1_test): Likewise.
3721         (j0_test): Likewise.
3722         (main): Added new tests.
3723
3724 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
3725
3726         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
3727         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
3728         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
3729         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
3730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
3731         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
3732
3733 1999-06-02  David S. Miller  <davem@redhat.com>
3734
3735         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
3736         pointers properly.
3737
3738 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
3739
3740         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
3741         and elide compatibility code if possible.
3742
3743 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
3744
3745         * manual/llio.texi: Remove menu entry for removed section.
3746
3747 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3748
3749         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
3750         variables.
3751
3752 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3753
3754         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
3755         (from Linux 2.3.4).
3756
3757 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
3758
3759         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
3760
3761 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3762
3763         * manual/stdio.texi: Fix some typos.
3764
3765 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3766
3767         * malloc/malloc.h: Properly handle future GCC versions.
3768
3769 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3770
3771         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
3772         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
3773         text of error message.
3774
3775         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
3776
3777 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3778
3779         * manual/filesys.texi: Extend (f)truncate documentation.
3780         * manual/llio.texi: Remove duplicate (f)truncate definition.
3781
3782 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3783
3784         * manual/stdio.texi (Formatted Output Functions): Mention
3785         semantics of snprintf in glibc 2.0.
3786         Reported by Ben Pfaff <pfaffben@msu.edu>.
3787
3788 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3789
3790         * include/features.h (__GLIBC_MINOR__): Bump to 2.
3791
3792 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
3793
3794         * math/libm-test.c: Adjust a few more deltas for the poor ARM
3795         FPU emulator.
3796
3797 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3798
3799         * configure.in: Fix typo.
3800
3801 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3802
3803         * manual/socket.texi (Host Names): Remove statement that h_errno
3804         needs to be declared since this isn't true anymore.
3805         Closes PR libc/1138.
3806
3807 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
3808
3809         * config.h.in: Add __LINUX_KERNEL_VERSION.
3810         * configure.in: Recognize --enable-kernel.
3811         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
3812         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
3813         appropriately.
3814         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
3815         given perform runtime test.
3816
3817         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
3818         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
3819         minimal supported kernel is known to have the feature.
3820         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3821         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3822         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3823         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3824         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3825         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3826         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3827         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3828         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3829         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3830         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3831         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
3832         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3833         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3834         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3835
3836         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
3837
3838 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3839
3840         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
3841
3842 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
3843
3844         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
3845         Optimized sparc64 routines.
3846
3847 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3848
3849         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
3850         they are the same as ints.
3851         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3852
3853         * version.h (VERSION): Bump to 2.1.90.
3854         (RELEASE): Mark as development.
3855
3856         * stdio-common/vfprintf.c (vfprintf): Don't implement special
3857         handling for long long if it is the same as long.
3858         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3859
3860         * stdlib/strtol.c: Moved to ...
3861         * sysdeps/generic/strtol.c: ...here.
3862         * stdlib/strtoul.c: Moved to ...
3863         * sysdeps/generic/strtoul.c: ...here.
3864         * stdlib/strtoll.c: Moved to ...
3865         * sysdeps/generic/strtoll.c: ...here.
3866         * stdlib/strtoull.c: Moved to ...
3867         * sysdeps/generic/strtoull.c: ...here.
3868         * stdlib/strtol_l.c: Moved to ...
3869         * sysdeps/generic/strtol_l.c: ...here.
3870         * stdlib/strtoul_l.c: Moved to ...
3871         * sysdeps/generic/strtoul_l.c: ...here.
3872         * stdlib/strtoll_l.c: Moved to ...
3873         * sysdeps/generic/strtoll_l.c: ...here.
3874         * stdlib/strtoull_l.c: Moved to ...
3875         * sysdeps/generic/strtoull_l.c: ...here.
3876
3877         * sysdeps/wordsize-64/strtol.c: New file.
3878         * sysdeps/wordsize-64/strtoul.c: New file.
3879         * sysdeps/wordsize-64/strtoll.c: New file.
3880         * sysdeps/wordsize-64/strtoull.c: New file.
3881         * sysdeps/wordsize-64/strtol_l.c: New file.
3882         * sysdeps/wordsize-64/strtoul_l.c: New file.
3883         * sysdeps/wordsize-64/strtoll_l.c: New file.
3884         * sysdeps/wordsize-64/strtoull_l.c: New file.
3885
3886         * wcsmbs/wcstol.c: Moved to ...
3887         * sysdeps/generic/wcstol.c: ...here.
3888         * wcsmbs/wcstoul.c: Moved to ...
3889         * sysdeps/generic/wcstoul.c: ...here.
3890         * wcsmbs/wcstoll.c: Moved to ...
3891         * sysdeps/generic/wcstoll.c: ...here.
3892         * wcsmbs/wcstoull.c: Moved to ...
3893         * sysdeps/generic/wcstoull.c: ...here.
3894         * wcsmbs/wcstol_l.c: Moved to ...
3895         * sysdeps/generic/wcstol_l.c: ...here.
3896         * wcsmbs/wcstoul_l.c: Moved to ...
3897         * sysdeps/generic/wcstoul_l.c: ...here.
3898         * wcsmbs/wcstoll_l.c: Moved to ...
3899         * sysdeps/generic/wcstoll_l.c: ...here.
3900         * wcsmbs/wcstoull_l.c: Moved to ...
3901         * sysdeps/generic/wcstoull_l.c: ...here.
3902
3903         * sysdeps/wordsize-64/wcstol.c: New file.
3904         * sysdeps/wordsize-64/wcstoul.c: New file.
3905         * sysdeps/wordsize-64/wcstoll.c: New file.
3906         * sysdeps/wordsize-64/wcstoull.c: New file.
3907         * sysdeps/wordsize-64/wcstol_l.c: New file.
3908         * sysdeps/wordsize-64/wcstoul_l.c: New file.
3909         * sysdeps/wordsize-64/wcstoll_l.c: New file.
3910         * sysdeps/wordsize-64/wcstoull_l.c: New file.
3911
3912 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
3913
3914         * sysdeps/sparc/bits/wordsize.h: New file.
3915         * sysdeps/sparc/fpu/bits/fenv.h: New file.
3916         * sysdeps/sparc/fpu/fpu_control.h: New file.
3917         * sysdeps/sparc/gmp-mparam.h: New file.
3918
3919         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
3920         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
3921         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
3922         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
3923         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
3924         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
3925
3926         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
3927         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
3928         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
3929         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
3930
3931         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
3932         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
3933         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
3934         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
3935         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
3936
3937 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
3938
3939         * login/openpty.c (openpty): Make sure pty does not because
3940         controlling TTY.
3941
3942         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
3943
3944 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
3945
3946         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
3947         Do proper error return.
3948
3949 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3950
3951         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
3952         of __P in the rest of glibc; define __MALLOC_PMT and use it.
3953         Reported by Stephan Kulow <coolo@kde.org>.
3954
3955 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
3956
3957         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
3958
3959         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
3960
3961 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3962
3963         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
3964         names to protect from user's macro namespace.
3965         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
3966         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
3967         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
3968         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
3969         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
3970         Adapted.
3971         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
3972         sysdeps/arm/fpu/fesetenv.c: Likewise.
3973         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
3974         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
3975         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3976         * sysdeps/mips/fesetenv.c: Likewise.
3977
3978 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
3979
3980         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
3981
3982 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
3983
3984         * configure.in: Recognize and allow gcc 2.95.
3985
3986 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3987
3988         * sysdeps/generic/bits/elfclass.h: Version common to
3989         wordsize-32 and wordsize-64.
3990         * sysdeps/generic/bits/environments.h: Ditto.
3991         * sysdeps/generic/stdint.h: Ditto.
3992         * sysdeps/generic/inttypes.h: Ditto.
3993
3994         * sysdeps/generic/bits/wordsize.h: New file.
3995         * stdlib/Makefile: Add bits/wordsize.h to headers.
3996
3997         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3998
3999         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
4000         headers to be used for 32bit and 64bit ABI compilations.
4001         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
4002         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
4003         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
4004         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
4005         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
4006
4007         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
4008         * sysdeps/wordsize-64/bits/environments.h: Remove.
4009         * sysdeps/wordsize-64/stdint.h: Remove.
4010         * sysdeps/wordsize-64/inttypes.h: Remove.
4011         * sysdeps/wordsize-64/bits/wordsize.h: New file.
4012
4013         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
4014         * sysdeps/wordsize-32/bits/environments.h: Remove.
4015         * sysdeps/wordsize-32/stdint.h: Remove.
4016         * sysdeps/wordsize-32/inttypes.h: Remove.
4017         * sysdeps/wordsize-32/bits/wordsize.h: New file.
4018
4019 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
4020
4021         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
4022         __align_cpy_16): New functions.
4023         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
4024
4025         * sysdeps/sparc/sparc32/Versions: New file.
4026         * sysdeps/sparc/sparc64/Versions: New file.
4027         * sysdeps/sparc/Versions: Remove.
4028
4029 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
4030
4031         * sysdeps/unix/sysv/linux/configure.in:
4032         On sparc64-*-linux*, set slibdir to /lib64 if prefix
4033         is /usr, plus set libdir to ${exec_prefix}/lib64.
4034         * sysdeps/unix/sysv/linux/configure: Regenerated.
4035         * config.make.in: Propagate libdir settings from configure
4036         to the Makefiles.
4037         * shlib-versions: sparc64-*-linux* dynamic linker is
4038         /lib64/ld-linux.so.2.
4039
4040 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
4041
4042         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
4043         RPC connection.
4044
4045 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
4046
4047         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
4048         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
4049
4050         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
4051         contains garbage in bits 8-63.
4052         * sysdeps/sparc/sparc64/memset.S: Ditto.
4053         * sysdeps/sparc/sparc64/strchr.S: Ditto.
4054
4055 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
4056
4057         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
4058
4059 1999-05-17  David S. Miller  <davem@redhat.com>
4060
4061         * sysdeps/sparc/sparc32/atomicity.h: New file.
4062         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
4063         * sysdeps/sparc/sparc64/atomicity.h: New file.
4064         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
4065         sysdep-CFLAGS.
4066
4067 1999-05-18  Richard Henderson  <rth@twiddle.net>
4068
4069         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
4070
4071 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4072
4073         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
4074         posix/sys/types.h: Handle the case of __GNUC__=3,
4075         __GNUC_MINOR__=(anything).
4076
4077 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4078
4079         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
4080         if _FORCE_INLINES.
4081
4082 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
4083
4084         * elf/Makefile (distribute): Remove dl-origin.h.
4085         Add dl-dst.h and gen-trusted-dirs.awk.
4086
4087 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4088
4089         * sysdeps/i386/i486/Versions: New file with inline functions from
4090         sysdeps/i386/i486/bits/string.h for now.
4091
4092         * sysdeps/i386/Versions: Add inline functions from
4093         sysdeps/i386/bits/string.h.
4094
4095         * string/Versions: Add inline functions from <bits/string2.h>.
4096
4097         * string/Makefile (routines): Add string-inlines.
4098         * string/string-inlines.c: New file, used for implementation of
4099         extern inline functions.
4100
4101         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
4102         non inlined versions of functions.
4103         * string/bits/string2.h: Likewise.
4104         * sysdeps/i386/bits/string.h: Likewise.
4105
4106 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
4107
4108         * inet/arpa/tftp.h: Add second packed attribute.
4109
4110 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4111
4112         * malloc/malloc.c: Cleanup to bring in line with released
4113         stand-alone version `ptmalloc'.  Update some comments.
4114         (internal_function): Move fallback definition so that the source
4115         compiles outside of libc, and use it in more places.
4116         (malloc_atfork): Fix when malloc_check is in use.
4117
4118 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4119
4120         * stdlib/tst-strtod.c: Fix typo.
4121
4122 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4123
4124         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
4125         const incorrectness.
4126
4127 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
4128
4129         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
4130
4131 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
4132
4133         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
4134         * sunrpc/key_call.c: Fix memory leak, close file handle.
4135         * nis/nis_creategroup.c: Use malloc instead of calloc,
4136         set ctime and mtime.
4137         * nis/nis_subr.c: Check for realloc result.
4138         * nis/nis_file.c: Fix memory leak.
4139         * nis/nis_table.c: Pretty print.
4140         * nis/nis_getservlist.c: Likewise.
4141         * nis/nis_ismember.c: Likewise.
4142         * nis/nis_lookup.c: Likewise.
4143         * nis/nis_ping.c: Likewise.
4144         * nis/nis_removemember.c: Likewise.
4145         * nis/nis_util.c: Likewise, check calloc result.
4146
4147 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
4148
4149         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
4150         * sysdeps/generic/sys/socketvar.h: ... here.
4151         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
4152         * sysdeps/generic/netinet/in_systm.h: ... here.
4153         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
4154         sys/socketvar.h.
4155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
4156         * inet/Makefile (headers): Add netinet/in_systm.h here.
4157         * socket/Makefile (headers): Add sys/socketvar.h here.
4158
4159 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
4160
4161         * stdlib/strtol.c: Optimize inner loop of long long versions.
4162
4163         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
4164         Unix98.  Add forward declaration of struct utmp.
4165
4166 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4167
4168         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
4169         calloc.
4170
4171         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
4172         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
4173         memory allocation results.
4174
4175 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
4176
4177         * sysdeps/generic/getutmp.c: Include <string.h>
4178         (getutmp): Rewrite to only copy those members that are really
4179         present in `struct utmp'.
4180         * sysdeps/generic/getutmpx.c: Likewise.
4181
4182 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4183
4184         * nss/getXXbyYY.c: Add free_mem function which disposes all
4185         statically allocated memory when debugging.
4186         * nss/getXXent.c: Likewise.
4187         * nss/nsswitch.c: Likewise.
4188
4189 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
4190
4191         * sysdeps/gnu/getutmpx.c: New file.
4192         * sysdeps/gnu/getutmp.c: New file.
4193
4194 1999-05-13  H.J. Lu  <hjl@gnu.org>
4195
4196         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
4197         (getutmp): Likewise.
4198
4199         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
4200         getutmpx for login.
4201
4202         * sysdeps/gnu/utmpx.h (getutmp): Added.
4203         (getutmpx): Likewise.
4204
4205         * sysdeps/generic/getutmp.c: New file.
4206
4207         * sysdeps/generic/getutmpx.c: New file.
4208
4209 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4210
4211         * glibcbug.in (BUGGLIBC): Change address to
4212         libc-alpha@sourceware.cygnus.com.
4213
4214 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4215
4216         * resolv/arpa/nameser.h: Add C++ protectors.
4217
4218 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4219
4220         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
4221         Elad Tsur <eladts@post.tau.ac.il>.
4222
4223 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
4224
4225         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
4226         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
4227         lazily if LD_BIND_NOW is not set.
4228         * elf/dl-support.c (_dl_lazy): New variable.
4229         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
4230         * elf/rtld.c (_dl_lazy): new global variable.
4231         ( dl_main): Remove lazy, replace it by _dl_lazy.
4232
4233 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4234
4235         * locale/setlocale.c (new_composite_name): Check also whether the
4236         first category name differs.
4237
4238 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4239
4240         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
4241         the generic one.
4242
4243 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
4244
4245         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
4246         structure; storage suitable for any socket address.
4247         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
4248         Likewise.
4249         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
4250         sockaddr_storage): Likewise.
4251
4252         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
4253         platform.
4254
4255 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
4256
4257         * hesiod/Versions: Change _nss_hesiod_getpwuid and
4258         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
4259         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
4260
4261 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
4262
4263         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
4264         if the file is empty.
4265
4266 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
4267
4268         * elf/do-lookup.h: Fix typo in comment.
4269
4270         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
4271         f_bsize to help some broken programs.
4272
4273         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
4274
4275         * stdio-common/vfprintf.c: Fix typo.
4276
4277 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
4278
4279         * elf/link.h (struct link_map): New field l_phdr_allocated.
4280         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
4281         the program header being part of any loaded segment.  If it is not
4282         allocate memory and set l_phdr_allocated flag.
4283         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
4284
4285         * nss/digits_dots.c: Correct return value interpretation of
4286         inet_ntoa.  Fix PR libc/1109.
4287
4288 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
4289
4290         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
4291
4292 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
4293
4294         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
4295         * stdlib/fpioconst.c: Move #endif before end of struct.
4296
4297 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
4298
4299         * Versions.def (ld.so): Add GLIBC_2.1.1.
4300         * elf/Makefile (routines): Add dl-origin.
4301         (tests): Add origtest.  Add dependencies for the program.
4302         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
4303         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
4304         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
4305         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
4306         DT_AUXILIARY, and DT_FILTER filenames.
4307         * elf/dl-load.c (expand_dynamic_string_token): Explode into
4308         two functions and three macros.
4309         (_dl_dst_count, _dl_dst_substitute): New functions.
4310         * elf/dl-dst.h: New file.
4311         * elf/dl-open.c (_dl_open): Take extra parameter with address of
4312         caller.  Pass address in args structure.
4313         (dl_open_worker): Recognize and expand DSTs in filename.
4314         * elf/ldsodefs.h (_dl_open): Adapt prototype.
4315         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
4316         (__dlopen_check): Pass caller address to dlopen_doit in args.
4317         * elf/dlopendoit.c: Likewise.
4318         * iconv/gconv_dl.c: Adapt call of _dl_open.
4319         * nss/nsswitch.c: Likewise.
4320         * elf/origtest.c: New file.
4321         * sysdeps/generic/dl-origin.h: Moved to...
4322         * sysdeps/generic/dl-origin.c: ...here.
4323         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
4324         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
4325
4326         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
4327         with specific bases and only few bits set in second word.
4328
4329         * timezone/Makefile (install-others): Create target directory
4330         before creating tzfiles.
4331
4332 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
4333
4334         * nis/nis_file.c (readColdStartFile): Allocate memory only after
4335         the file is opened successfully.
4336
4337         * nis/nis_table.c: Fix some memory leaks.
4338
4339 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
4340
4341         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
4342         variable.
4343
4344         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
4345         around DST.  Correctly ignore ORIGIN IN SUID binaries.
4346
4347 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
4348
4349         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
4350         * sysdeps/generic/strtok.c: Likewise.
4351
4352         * string/tester.c: Add test of rawmemchr.
4353
4354         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
4355         specification.  It's not necessary.
4356
4357         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
4358         * elf/gen-trusted-dirs.awk: New file.
4359         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
4360         from SYSTEM_DIRS macro.
4361         (system_dirs_len): New variable.  Contains lengths of system_dirs
4362         strings.
4363         (fillin_rpath): Rewrite for systems_dirs being a simple string.
4364         Improve string comparisons.  Change parameter trusted to be a flag.
4365         Change all callers.
4366         (_dt_init_paths): Improve using new format for system_dirs.
4367
4368         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
4369         $ORIGIN for SUID binaries.
4370
4371         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
4372
4373 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4374
4375         * sunrpc/Makefile: Generate dependencies for all flavors of
4376         librpcsvc objects.
4377         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
4378         invocations.
4379
4380 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4381
4382         * elf/dlopenold.c: Move #if down after includes to get
4383         dependencies right.
4384
4385 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4386
4387         * sysdeps/generic/bzero.c: Undefine __bzero.
4388
4389 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4390
4391         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
4392         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
4393         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
4394         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
4395
4396         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
4397         parameter to struct gaih_servtuple *.  Adapt appropriately.
4398         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
4399         This fixes a memory leak.
4400         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
4401
4402         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
4403         and fpregset_t definition.  They are defined in ucontext.h.
4404
4405 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4406
4407         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
4408         and struct ether_header must be packed on the ARM.  The default
4409         alignment constraints add padding to the end of the structures.
4410
4411 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4412
4413         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
4414         default alignment constraints add padding to the end of the
4415         structure and between members.
4416
4417 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4418
4419         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
4420         _dl_cache_libcmp instead of strcmp.
4421
4422         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
4423         fails on a file.
4424         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
4425
4426 1998-03-30  Joel Klecker  <espy@debian.org>
4427
4428         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
4429         (sysdep-others,install-bin): Add lddlibc4.
4430
4431 1999-05-02  H.J. Lu  <hjl@gnu.org>
4432
4433         * timezone/zic.c (dolink): Remove the symlink destination first.
4434
4435         * catgets/open_catalog.c (__open_catalog): Set catalog->status
4436         to "nonexisting" if failed to open the file.
4437
4438 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
4439
4440         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
4441         gcc3.
4442
4443         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
4444         Prevent warnings from multiplication with 0x01010101 by another cast.
4445
4446 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4447
4448         * string/bits/string2.h (memset): Revert to previous version if
4449         unaligned writes are not available.
4450
4451 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4452
4453         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
4454         better code in presence of the asm.
4455
4456 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4457
4458         * stdlib/fmtmsg.c (keywords): Increase array size for faster
4459         indexing.
4460
4461         * locale/localeinfo.h (_nl_category_names): Increase array element
4462         size for faster indexing.
4463         * locale/setlocale.c (_nl_category_names): Adjusted.
4464
4465 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4466
4467         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
4468
4469 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4470
4471         * sysdeps/m68k/stackinfo.h: New file.
4472
4473 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4474
4475         * string/tester.c (test_strchrnul): New function.
4476         (test_memset): Test one more special case.
4477
4478         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
4479         25% of all cases.
4480
4481         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
4482         base types.
4483
4484         * string/bits/string2.h: Fix bugs I introduced in last change.
4485
4486         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
4487         register stall.
4488         Extend memset optimization.
4489         Correct i686 version of memchr.
4490
4491 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
4492
4493         * sysdeps/i386/bzero.c: Add #undef __bzero.
4494
4495         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
4496         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
4497         exec server simulated a SIGTRAP before we even started up, so gdb is
4498         already happy.
4499
4500 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4501
4502         * nss/digits_dots.c: Always initialize not_ok.
4503
4504 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
4505
4506         * string/bits/string2.h (memset): Avoid arithmetic overflow at
4507         compile time, which produces obnoxious warnings.  If GCCv2 is
4508         in use, map __bzero to __builtin_memset to enable that
4509         optimization.
4510
4511 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4512
4513         * string/bits/string2.h: Add more memset optimizations.
4514
4515         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
4516
4517         * resolv/inet_pton.c (inet_pton4): Little optimizations.
4518         (inet_pton6): Likewise.
4519
4520         * nss/getXXbyYY_r.c: Include assert.h.
4521         * nss/getXXbyYY.c: Likewise.
4522
4523 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4524
4525         * termios/tcgetsid.c (tcgetsid): Rename variable to
4526         tiocgsid_does_not_work.
4527
4528 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4529
4530         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
4531
4532 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4533
4534         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
4535         This allows e.g. gethostbyname to accept "10.1234".
4536         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
4537
4538         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
4539         non quad IPv4 numbers.
4540
4541 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4542
4543         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
4544
4545 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4546
4547         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
4548         * argp/argp-parse.c (_argp_hang): Likewise.
4549         * argp/argp-pv.c (argp_program_version): Likewise.
4550         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
4551         * inet/ether_hton.c (ether_hton, startp): Likewise.
4552         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
4553         * inet/getnetgrent_r.c (setup, startp): Likewise.
4554         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
4555         * intl/localealias.c (string_space, string_space_act, string_space_max,
4556         nmap, maxmap): Likewise.
4557         * libio/iopopen.c (proc_file_chain): Likewise.
4558         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
4559         * locale/lc-collate.c (__collate_table, __collate_extra,
4560         __collate_element_hash, __collate_element_strings,
4561         __collate_element_values): Likewise.
4562         * malloc/mcheck.c (mcheck_used): Likewise.
4563         * malloc/mtrace.c (added_atexit_handler): Likewise.
4564         * malloc/set-freeres.c (already_called): Likewise.
4565         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
4566         * misc/syslog.c (LogStat, LogTag): Likewise.
4567         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
4568         * nss/getXXbyYY_r.c (startp): Likewise.
4569         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
4570         * posix/regex.c (init_syntax_once) [done]: Likewise.
4571         (debug): Likewise.
4572         * string/strfry.c (init): Likewise.
4573         * sunrpc/svc_run.c (svc_top): Likewise.
4574         * posix/euidaccess.c (have_ids): Likewise.
4575         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
4576         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
4577         * time/getdate.c (getdate_err): Likewise.
4578         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
4579         Likewise.
4580         * time/tzset.c (old_tz, is_initialized): Likewise.
4581
4582         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
4583         of static data with zero.
4584         * signal/allocrtsig.c (init): Likewise.
4585
4586         * string/Makefile (routines): Add strchrnul.
4587         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
4588         * string/string.c: Add strchrnul prototype.
4589         * include/string.h: Add __strchrnul prototype.
4590         * sysdeps/generic/strchrnul.c: New file.
4591         * sysdeps/i386/strchrnul.S: New file.
4592         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
4593         * sysdeps/i386/i486/bits/string.c: Likewise.
4594         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
4595         * inet/ether_line.c (ether_line): Likewise.
4596         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
4597         * nss/nsswitch.c (nss_parse_file): Likewise.
4598         * posix/execvp.c (execvp): Likewise.
4599         * posix/fnmatch.c (internal_fnmatch): Likewise.
4600         * resolv/res_hconf.c (_res_hconv_init): Likewise.
4601         * resolv/res_init.c (res_init): Likewise.
4602         * stdlib/fmtmsg.c (init): Likewise.
4603         * stdlib/getsubopt.c (getsubopt): Likewise.
4604
4605         * catgets/catgets.c (catopen): Only allocate one memory block.
4606         (catclose): Only one free call necessary.
4607
4608         * catgets/open_catalog.c (__open_catalog): Simplify handling of
4609         file descriptor.
4610
4611         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
4612         of real functions.  Simplify _tolower and _toupper.
4613
4614         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
4615         variable.
4616
4617         * iconv/gconv.h (struct gconv_info): Change data element from pointer
4618         to array of size 0.
4619         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
4620         * iconv/gconv_close.c (__gconv_close): Don't free data.
4621
4622         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
4623         insert new alias.
4624
4625         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
4626         for error while inserting in tree.
4627
4628         * include/time.h: Pretty print.
4629
4630         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
4631         in table and lots of relocations.
4632         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
4633         string pointers in table and lots of relocations.
4634
4635         * intl/finddomain.c: Remove definition of strchr macro.
4636
4637         * io/ftw.c (nftw_arr, ftw_arr): Make const.
4638
4639         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
4640
4641         * locale/localeinfo.h (_nl_category_names): Change into an array with
4642         fixed width char string elements.
4643         * locale/setlocale.c (_nl_category_names): Likewise.
4644         (_nl_current): Make global.
4645         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
4646
4647         * malloc/Makefile (distribute): Add stackinfo.h.
4648         * sysdeps/generic/stackinfo.h: New file.
4649         * sysdeps/i386/stackinfo.h: New file.
4650         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
4651         * posix/execle.c: Likewise.
4652         * posix/execlp.c: Likewise.
4653
4654         * nis/nis_table.c (__create_ib_request): Always use realloc.
4655
4656         * posix/execvp.c (execute): Rename to script_execute and keep only
4657         code to execute using shell.
4658         (execvp): Call execv directly and only fall back on script_execute.
4659
4660         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
4661         and always use xdigits instead.
4662
4663         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
4664         where appropriate.
4665
4666         * stdlib/fpioconst.h (__tens): New declaration.
4667         (struct mp_power): Remove array, add arrayoff element.
4668         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
4669         __tens array and add in _fpioconst_pow10 offsets into __tens.
4670         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
4671         * stdlib/strtod.c: Likewise.
4672
4673         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
4674
4675         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
4676         of the list.
4677         * stdlib/atexit.c (__exit_funcs): Don't initialize.
4678
4679         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
4680
4681         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
4682         a single and an array with offsets.
4683
4684         * sunrpc/des_soft.c (partab): Make it const.
4685
4686         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
4687         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
4688         (__key_decryptsession_pk_LOCAL): Likewise.
4689         (__key_gendes_LOCAL): Likewise.
4690         (MESSENGER): Mark const.
4691         (key_call_private_main): Don't initialize with 0.
4692         (use_keyenvoy): Don't initialize with 0.
4693         (key_call): Rewrite to reverse logic of use_doors variable.
4694
4695         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
4696         (startp): Don't initialize with zero.
4697
4698         * sunrpc/openchild.c (_openchild): Make first argument const.
4699
4700         * sunrpc/pmap_rmt.c (timeout): Mark const.
4701         * sunrpc/xcrypt.c (hex): Likewise.
4702
4703         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
4704         initialization of global variables.
4705         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4706         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4707         * termios/tcgetsid.c: Likewise.
4708
4709         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
4710         fxsr to osfxsr.
4711
4712         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
4713         block.  Add function to free memory if wanted.
4714         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
4715
4716         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
4717
4718         * wcsmbs/wmemset.c: Little code optimization.
4719
4720 1999-04-23  Paul Eggert  <eggert@twinsun.com>
4721
4722         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
4723         ifdef _LIBC.
4724
4725 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
4726
4727         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
4728         implementation and just always fail with ENOSYS.  This entry point is
4729         obsolete.  Add link warning to that effect.
4730
4731 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4732
4733         * hurd/get-host.c: Include <hurd/lookup.h>.
4734
4735 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4736
4737         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
4738         is != NULL.
4739
4740 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4741
4742         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
4743         ISO C9x and Unix98.
4744
4745 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4746
4747         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
4748         Patch by Peter Miller <millerp@canb.auug.org.au>.
4749
4750 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
4751
4752         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
4753         prefers loopback device.
4754
4755 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4756
4757         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
4758         no_leading_period change.
4759
4760         * posix/testfnm.c: More test cases.
4761
4762 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
4763
4764         * include/dirent.h: Remove __getdirentries declaration, add __getdents
4765         and __getdents64.
4766         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
4767         * sysdeps/unix/readdir_r.c: Likewise.
4768         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4769         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4770         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
4771         __getdirentries.  Remove fourth argument.
4772         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
4773         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
4774         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
4775         Add getdirentries and getdirentries64.
4776         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
4777
4778         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
4779         pointer in case of an invalid [[: expression.
4780
4781         * posix/testfnm.c: Add more test cases.
4782
4783 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4784
4785         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
4786         set, pass EXEC_SIGTRAP flag in exec RPC.
4787
4788 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4789
4790         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
4791         extra parameter.  Fix several more bugs involving wildcard and
4792         ranges.
4793         (fnmatch): New function.  Call internal_fnmatch.
4794
4795         * posix/testfnm.c: More test cases.
4796
4797 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4798
4799         * manual/install.texi (Configuring and compiling): Explain that
4800         files are changed in the source directory.
4801         Closes PR libc/981.
4802         (Configuring and compiling): Explain situation with PARALLELMFLAGS
4803         in the source directory.
4804
4805 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4806
4807         * locale/programs/ld-ctype.c: Spelling fixes.
4808         (ctype_finish): Fix argument of error message format.
4809         * locale/programs/ld-messages.c: Spelling fixes.
4810         * locale/programs/ld-monetary.c: Spelling fixes.
4811         * locale/programs/ld-time.c (time_finish): Make sure that name and
4812         format of era_entries are adjacent.
4813         (time_output): Reduce the size of the io vector.
4814
4815 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4816
4817         * manual/filesys.texi (Attribute Meanings): Move a misplaced
4818         paragraph.
4819
4820 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4821
4822         * locale/programs/ld-collate.c (collate_output): Convert
4823         undefined_offset to an array index.  Fix computation of other
4824         endian extra table.
4825
4826 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
4827
4828         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
4829         return success with empty value.
4830
4831 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4832
4833         * posix/fnmatch.c: Include string.h also for glibc.
4834         (fnmatch, case '?'): Optimize if cascades a bit.
4835         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
4836
4837         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
4838
4839 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
4840
4841         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
4842         * iconv/gconv_int.h: Declare UTF16 functions.
4843         * iconv/gconv_simple.c: Add UTF16 conversion functions.
4844
4845 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4846
4847         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
4848         be used correctly as parameter for parse_dollars/parse_tilde.
4849
4850 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4851
4852         * manual/conf.texi (Utility Limits): Remove duplicate description
4853         of BC_DIM_MAX.
4854
4855 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
4856
4857         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
4858         outbufend for dst==NULL.
4859
4860 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4861
4862         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
4863         for dst==NULL.
4864         Fixes PR libc/1084.
4865
4866         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
4867         Fixes PR libc/1083.
4868
4869 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
4870
4871         * sunrpc/Makefile: Remove special handling of bootparam.x,
4872         add rpcsvc/bootparam.h to headers.
4873         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
4874         * sunrpc/rpcsvc/bootparam.x: Renamed to...
4875         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
4876
4877 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4878
4879         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
4880         detect and handle invalid descriptors.
4881
4882 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
4883
4884         * timezone/zic.c (dolink): Append complete path not only filename
4885         to ../ list.
4886
4887 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4888
4889         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
4890
4891 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
4892
4893         * iconvdata/gconv-modules: Rename CP874 to IBM874.
4894         * iconvdata/Makefile: Likewise.
4895         * iconvdata/cp874.h: Removed.
4896         * iconvdata/cp874.c: Renamed to...
4897         * iconvdata/ibm874.c: ...this.
4898
4899 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4900
4901         * sysdeps/unix/sysv/linux/bits/types.h: Correct
4902         signed/unsigned-ness of blkcnt and fsblkcnt.
4903         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4904         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4905
4906         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
4907         SOL_AAL, and SOL_IRDA.
4908
4909 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4910
4911         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
4912         include "linux_fsinfo.h".
4913         Based on a patch by H.J. Lu <hjl@gnu.org>.
4914
4915 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
4916
4917         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
4918
4919 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4920
4921         * nscd/cache.c (prune_cache): Only disable file checking for
4922         future if the file does not exist.
4923         Update file_mtime if cache was flushed.
4924
4925 1999-04-15  David S. Miller  <davem@redhat.com>
4926
4927         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
4928         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
4929
4930 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
4931
4932         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
4933         compilation of file.
4934
4935 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4936
4937         * Versions.def: Add GLIBC_2.1.1 to libpthread.
4938
4939         * iconvdata/Makefile (modules): Add KOI8-U.
4940         (distribute): Add koi8-u.c.
4941         (gen-8bit-gap-modules): Add koi8-u.
4942         * iconvdata/gconv-modules: Add KOI8-U entries.
4943         * iconvdata/koi8-u.c: New file.
4944
4945 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
4946
4947         * sunrpc/auth_des.c: 64bit fixes, security fixes.
4948         * sunrpc/auth_none.c: Pretty print.
4949         * sunrpc/auth_unix.c: Likewise.
4950         * sunrpc/authdes_prot.c: Likewise.
4951         * sunrpc/authuxprot.c: Likewise.
4952         * sunrpc/bindrsvprt.c: Likewise.
4953         * sunrpc/clnt_gen.c: Likewise.
4954         * sunrpc/rpc/xdr.h: Likewise.
4955         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
4956         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
4957         * sunrpc/rtime.c: Use new rpc_timeval.
4958         * sunrpc/svc_authux.c: Don't use *long pointers.
4959         * sunrpc/svcauth_des.c: Likewise + security fixes.
4960         * sunrpc/xdr_mem.c: Don't use *long pointers.
4961         * sunrpc/xdr_rec.c: Likewise.
4962         * sunrpc/xdr_sizeof.c: Likewise.
4963         * sunrpc/xdr_stdio.c: Likewise.
4964
4965 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4966
4967         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
4968         so that it is redone for each sending.
4969
4970 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4971
4972         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
4973
4974 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4975
4976         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
4977         known to not exist don't try to load shared objects.
4978         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
4979
4980         * nscd/cache.c (prune_cache): The table might not be unused.  In
4981         this case do nothing.
4982
4983         * catgets/gencat.c (read_input_file): Don't drop white spaces
4984         between number/identifier and string.
4985         Patch by Dima Barsky <dima@pwd.hp.com>.
4986         If no white space at all follows number/identifier remove existing
4987         message with the number/identifier.
4988
4989 1999-04-14  H.J. Lu  <hjl@gnu.org>
4990
4991         * sunrpc/clnt_udp.c (is_network_up): New function.
4992         (clntudp_call): Call is_network_up () to check if any network
4993         interface is up in case of timeout.
4994
4995 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4996
4997         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
4998         * wctype/Makefile (tests): Add test_wcfuncs.
4999
5000 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
5001
5002         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
5003         architectures.
5004         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
5005         instead of CFLAGS.
5006         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
5007         instead of CFLAGS. For gnulib and string directories use
5008         -Wa,-Av9a gcc ASFLAGS.
5009         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
5010         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
5011         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
5012         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
5013         the same way as sparc-*.
5014
5015 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
5016
5017         * locale/programs/locfile.c (locfile_read): Fix typo.
5018         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
5019
5020 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
5021
5022         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
5023         restarted after being interrupted by a signal.  The parameters on
5024         the stack were corrupted by the signal handler.
5025
5026         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
5027         restarted after being interrupted by a signal.  The parameters on
5028         the stack were corrupted by the signal handler.
5029
5030 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5031
5032         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
5033         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
5034
5035 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
5036
5037         * posix/wordexp-test.c: In field-splitting test cases where
5038         subshells were involved, unset IFS first: some shells (ash) use
5039         IFS even when no expansion is performed.
5040
5041 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5042
5043         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
5044         the real end of the chunk, not some random point inbetween.
5045         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
5046         obstack when growing.  Use fast version of obstack_blank when
5047         shrinking.
5048         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
5049         allocating the vtable pointer.
5050         (_IO_obstack_vprintf): Adjust for above change and avoid
5051         unnecessary casts.  Use fast version of obstack_blank when
5052         shrinking.
5053         Fixes PR libc/1075.
5054
5055 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
5056
5057         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
5058         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
5059
5060 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5061
5062         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
5063         is seen, as well as fixing semantics.  Don't reset the word count
5064         to zero when an invalid character is seen, but leave it as it was
5065         (this makes a difference with WRDE_APPEND).
5066
5067         * posix/wordexp-test.c: More test cases.
5068
5069         * posix/wordexp.c (parse_param): In words like ${var#pattern},
5070         always expand pattern when it is needed.  Also, handle quoting in
5071         pattern properly.
5072
5073 1999-04-12  Philip Blundell  <philb@gnu.org>
5074
5075         * elf/elf.h: Update ARM definitions to match current gas2.
5076
5077         * sysdeps/arm/bits/endian.h: Support big endian operation.
5078
5079         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
5080         Don't bother range checking the port number.
5081
5082         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
5083
5084         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
5085         the syscall name in assembler output for ease of debugging.
5086
5087         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
5088         compiler behaviour.
5089         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
5090         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
5091         (sysdep_routines): Add sigrestorer.
5092
5093         * string/tester.c (test_strcpy): Add new tests for unaligned
5094         arguments.
5095         * sysdeps/arm/bits/string.h: Delete inline implementations of
5096         strcpy and stpcpy.
5097
5098 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
5099
5100         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
5101
5102 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
5103
5104         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
5105
5106 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
5107
5108         * iconvdata/Makefile (modules): Add TIS-620.
5109         (distribute): Add tis-620.c.
5110         (gen-8bit-gap-modules): tis-620.
5111         * iconvdata/tis-620.c: New file.
5112         * iconvdata/gconv-modules: Add TIS-620 entries.
5113
5114         * iconvdata/asmo_449.c: Correct comment.
5115
5116 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5117
5118         * manual/install.texi (Configuring and compiling): Comment out
5119         description of --disable-static since this doesn't work currently
5120         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
5121
5122 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
5123
5124         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
5125         use binary search.
5126         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5127
5128 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5129
5130         * scripts/test-installation.pl (installation_problem): Skip
5131         libnss1_* libraries from glibc-compat add-on.
5132
5133 1999-04-07  H.J. Lu  <hjl@gnu.org>
5134
5135         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
5136         libstdc++ 2.7.2.
5137         * posix/Versions (__waitpid): Likewise.
5138
5139 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5140
5141         * manual/install.texi (Reporting Bugs): Add section about reported
5142         bugs and correct email address of glibcbug script.
5143
5144 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
5145
5146         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
5147         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
5148         xdr_u_longlong_t. Based on patch from Dan Shechter
5149         <damageboy@isdn.net.il>.
5150         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
5151         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
5152
5153         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
5154
5155 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5156
5157         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
5158         directly if getdents returns with error set.
5159
5160 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5161
5162         * locale/langinfo.h (THOUSEP): Rename second occurence of
5163         THOUSANDS_SEP to THOUSEP.
5164         Reported by Roman Belenov <roman@nstl.nnov.ru>.
5165
5166 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
5167
5168         * hurd/STATUS: File removed.  Moved items that are still relevant into
5169         TODO list in hurd source.
5170
5171 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
5172
5173         * sysdeps/mach/hurd/bits/time.h: New file.
5174         * sysdeps/mach/hurd/getrusage.c: New file.
5175         * sysdeps/mach/hurd/clk_tck.c: New file.
5176         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
5177         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
5178         (sysdep_routines): Add clk_tck.
5179         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
5180         implemented.
5181
5182 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
5183
5184         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
5185         (closelog): But instead here.
5186         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
5187
5188 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5189
5190         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5191         the source directory.  Fixes PR libc/1059.
5192
5193 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5194
5195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
5196         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5197
5198 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
5199
5200         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
5201         * iconvdata/testdata/ISO-8859-14: New file.
5202         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
5203         * iconvdata/testdata/ISO-8859-15: New file.
5204         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
5205
5206 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
5207
5208         * iconvdata/testdata/CP1258: New file.
5209         * iconvdata/testdata/CP1258..UTF8: New file.
5210         * iconvdata/TESTS: Add CP1258 entry.
5211
5212         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
5213
5214         * timezone/africa: Update from tzdata1999d.
5215         * timezone/europe: Likewise.
5216         * timezone/northamerica: Likewise.
5217
5218 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
5219
5220         * login/programs/pt_chown.c (main): Save effective user ID before
5221         dropping priviliges and use this to check if the program is
5222         properly installed.
5223
5224 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
5225
5226         * iconvdata/testdata/CP1254: Update for charmap changes.
5227         * iconvdata/testdata/CP1254..UTF8: Likewise.
5228         * iconvdata/testdata/CP1255: Likewise.
5229         * iconvdata/testdata/CP1255..UTF8: Likewise.
5230         * iconvdata/testdata/CP1256: Likewise.
5231         * iconvdata/testdata/CP1256..UTF8: Likewise.
5232         * iconvdata/testdata/CP1257: Likewise.
5233         * iconvdata/testdata/CP1257..UTF8: Likewise.
5234
5235         * iconvdata/Makefile (distribute): Remove cp1258.h.
5236         (gen-8bit-gap-modules): Add cp1258.
5237         * iconvdata/cp1258.h: Removed.
5238
5239 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
5240
5241         * timezone/tst-timezone.c (tests): Add more cases.
5242         (check_tzvars): Mark errors clearer.
5243         (main): Likewise.
5244
5245 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5246
5247         * login/programs/pt_chown.c: Drop privileges if invoked with
5248         arguments.  Don't close the master pty.
5249
5250 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
5251
5252         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
5253         Minor optimization.
5254
5255 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
5256
5257         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
5258         relocation for SUID binaries.
5259
5260 1999-03-29  Paul Eggert  <eggert@twinsun.com>
5261
5262         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
5263         while in child process.
5264
5265 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
5266
5267         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
5268         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
5269         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
5270         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
5271         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
5272
5273         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
5274         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
5275         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
5276         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
5277         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
5278         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
5279         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
5280         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
5281         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
5282         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
5283         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
5284         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
5285         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
5286         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
5287         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
5288         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
5289         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
5290         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
5291         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
5292         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
5293         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
5294         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
5295         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
5296         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
5297         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
5298         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
5299
5300         * sysdeps/sparc/sparc32/bcopy.c: New file.
5301         * sysdeps/sparc/sparc32/bzero.c: New file.
5302         * sysdeps/sparc/sparc32/memchr.S: New file.
5303         * sysdeps/sparc/sparc32/memcpy.S: New file.
5304         * sysdeps/sparc/sparc32/memmove.c: New file.
5305         * sysdeps/sparc/sparc32/memset.S: New file.
5306         * sysdeps/sparc/sparc32/stpcpy.S: New file.
5307         * sysdeps/sparc/sparc32/strchr.S: New file.
5308         * sysdeps/sparc/sparc32/strrchr.c: New file.
5309         * sysdeps/sparc/sparc32/strcpy.S: New file.
5310         * sysdeps/sparc/sparc32/strlen.S: New file.
5311         * sysdeps/sparc/sparc32/strcat.S: New file.
5312         * sysdeps/sparc/sparc32/strcmp.S: New file.
5313
5314         * sysdeps/sparc/sparc64/bcopy.c: New file.
5315         * sysdeps/sparc/sparc64/bzero.c: New file.
5316         * sysdeps/sparc/sparc64/memchr.S: New file.
5317         * sysdeps/sparc/sparc64/memcmp.S: New file.
5318         * sysdeps/sparc/sparc64/memcpy.S: New file.
5319         * sysdeps/sparc/sparc64/memset.S: New file.
5320         * sysdeps/sparc/sparc64/stpcpy.S: New file.
5321         * sysdeps/sparc/sparc64/strcat.S: New file.
5322         * sysdeps/sparc/sparc64/strchr.S: New file.
5323         * sysdeps/sparc/sparc64/strcmp.S: New file.
5324         * sysdeps/sparc/sparc64/strcpy.S: New file.
5325         * sysdeps/sparc/sparc64/strcspn.S: New file.
5326         * sysdeps/sparc/sparc64/strlen.S: New file.
5327         * sysdeps/sparc/sparc64/strncpy.S: New file.
5328         * sysdeps/sparc/sparc64/strpbrk.S: New file.
5329         * sysdeps/sparc/sparc64/strrchr.c: New file.
5330         * sysdeps/sparc/sparc64/strspn.S: New file.
5331         * sysdeps/sparc/sparc64/stpncpy.S: New file.
5332         * sysdeps/sparc/sparc64/strncmp.S: New file.
5333
5334         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
5335         Append -fPIC, don't replace.
5336
5337         * configure.in: Recognize sparcv8plus / sparcv9.
5338
5339 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5340
5341         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
5342         char * to avoid C++ warning.
5343         Patch by yasushi@cs.washington.edu [PR libc/1035].
5344
5345 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5346
5347         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
5348         declared in stdlib.h, correct return value of mkstemp.
5349         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
5350
5351         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
5352         from Linux 2.2.5.
5353
5354 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5355
5356         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
5357         C++ warning.
5358
5359         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
5360         inline functions.  Closes PR libc/1049.
5361
5362 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5363
5364         * timezone/README: Update from tzdata1999c and tzcode1999c.
5365
5366         * timezone/africa: Update from tzdata1999c.
5367         * timezone/antarctica: Likewise.
5368         * timezone/asia: Likewise.
5369         * timezone/australasia: Likewise.
5370         * timezone/europe: Likewise.
5371         * timezone/northamerica: Likewise.
5372         * timezone/southamerica: Likewise.
5373         * timezone/zone.tab: Likewise.
5374
5375         * timezone/zic.c: Update from tzcode1999c.
5376
5377 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5378
5379         * Makerules: Add $(common-objpfx)Versions.all to common-generated
5380         outside of ifndef avoid-generated.
5381
5382         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
5383         in iofdopen.c.
5384         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
5385         iofopen.c.
5386         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
5387         in iofclose.c.
5388         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
5389         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
5390
5391 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
5392
5393         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
5394         if we build the profiled library.
5395
5396 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5397
5398         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
5399         Jaeger <aj@arthur.rhein-neckar.de>
5400
5401 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
5402
5403         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
5404         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
5405         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
5406
5407 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
5408
5409         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
5410         works properly in subdirs.
5411
5412 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
5413
5414         * sysdeps/mach/hurd/Makefile: Undo last change.
5415         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
5416         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
5417
5418         * mach/Machrules (+preinit, +postinit, +interp,
5419         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
5420         linked just like other shared libraries.
5421         (interface.so): Fix typo in defn, so it works.
5422         ($(objpfx)$(interface.so)): Make it depend on libc.so.
5423
5424 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
5425
5426         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
5427         $(link-rpcuserlibs).
5428
5429 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5430
5431         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
5432         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
5433         targets if not building shared libraries.
5434
5435 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5436
5437         * configure.in: Also look in $PATH when searching for
5438         install-info.  Remove autoconf bug workaround and require autoconf
5439         2.13.
5440
5441 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5442
5443         * db/Makefile: Don't try to install shared library link if not
5444         building with shared libs.
5445
5446 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5447
5448         * rt/Makefile: Link against static library if no shared lib is
5449         available.
5450
5451         * localedata/Makefile: The shells scripts implementing the test
5452         require the dynamic linker which is not available with
5453         --disable-shared.  Skip the test if --disable-shared is given.
5454
5455         * linuxthreads/Makefile: Link test against static libpthread if no
5456         shared lib is available.
5457
5458         * iconvdata/Makefile (tests): Run iconv-test only if we're
5459         building shared libraries.
5460         * elf/Makefile (tests): Likewise for elf tests.
5461
5462         * posix/Makefile: The test frameworks globtest and wordexp-test
5463         require the dynamic linker which is not available with
5464         --disable-shared.  Skip the test if --disable-shared is given.
5465
5466         * grp/Makefile (otherlibs): For static nss build link against
5467         necessary libs.
5468
5469 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5470
5471         * debug/Makefile (install-bin): Install and build catchsegv only
5472         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
5473         libc/965].
5474
5475 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5476
5477         * time/tzfile.c (__tzfile_read): Handle the case where there are
5478         transitions but no DST.
5479
5480 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
5481
5482         * mach/Machrules (extra-libs-others): Add $(interface-library) here
5483         too, so it gets built in the others pass rather than the lib pass.
5484         This is necessary since the RPC libraries need to be linked against
5485         libc.
5486
5487 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
5488
5489         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
5490         _itoa_word decl.
5491
5492         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
5493         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
5494         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
5495         versions of lib{mach,hurd}user.so without reference to libc.so,
5496         then link libc.so against that to get deps and symbol versions, then
5497         finally link real lib*user.so against libc.so.
5498
5499         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
5500         Support whole-file locking (only) by using the file_lock RPC.  This
5501         has very wrong semantics, but is better than nothing for the time
5502         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
5503         protocols that will be somewhat hairy to specify.)
5504
5505 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
5506
5507         * sysdeps/mach/hurd/ptsname.c: New file.
5508
5509 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5510
5511         * timezone/asia: Fix rule in Asia/Nicosia entry.
5512
5513 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5514
5515         * manual/getopt.texi (Using Getopt): Explain "::" in option
5516         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
5517
5518 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
5519
5520         * sunrpc/clnt_unix.c: Fix creation of parameters for
5521         sendmsg/recvmsg on non intel platforms.
5522         * sunrpc/svc_unix.c: Likewise.
5523
5524 1999-03-18  Philip Blundell  <philb@gnu.org>
5525
5526         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
5527         implementation.
5528
5529 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5530
5531         * timezone/africa: Update from tzdata1999b.
5532         * timezone/asia: Likewise.
5533         * timezone/australasia: Likewise.
5534         * timezone/europe: Likewise.
5535         * timezone/northamerica: Likewise.
5536         * timezone/southamerica: Likewise.
5537         * timezone/zone.tab: Likewise.
5538
5539         * timezone/README: Mention tzdata1999b.
5540
5541 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
5542
5543         * sysdeps/generic/segfault.c (write_strsignal): New function.
5544         (catch_segfault): Use it instead of calling strsignal.
5545
5546 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5547
5548         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
5549         char to avoid warning.
5550
5551 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5552
5553         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
5554
5555         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
5556         outbuf to unsigned char to avoid warning.
5557
5558 1999-03-11  David S. Miller  <davem@redhat.com>
5559
5560         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
5561         masks.
5562         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
5563
5564 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5565
5566         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
5567         `unsigned char'.
5568         (gconv_step_data): Likewise.
5569         * iconv/gconv_int.h (__gconv): Likewise.
5570         (__BUILINT_TRANS): Likewise.
5571         * iconv/gconv.c (__gconv): Likewise.
5572         * iconv/iconv.c (iconv): Add casts for call of __gconv.
5573         * iconv/skeleton.c: Change local parameters and variable from `char' to
5574         `unsigned char'.  Remove casts from calls into modules.
5575         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
5576         `char' to `unsigned char'.
5577         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
5578         * wcsmbs/mbrtowc.c: Likewise.
5579         * wcsmbs/mbsnrtowcs.c: Likewise.
5580         * wcsmbs/mbsrtowcs.c: Likewise.
5581         * wcsmbs/wcrtomb.c: Likewise.
5582         * wcsmbs/wcsnrtombs.c: Likewise.
5583         * wcsmbs/wcsrtombs.c: Likewise.
5584         * wcsmbs/wctob.c: Likewise.
5585
5586 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5587
5588         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
5589         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
5590         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
5591         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
5592         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
5593         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
5594
5595 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5596
5597         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
5598         _hurd_select if TIMEMOUT is -1.
5599
5600 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5601
5602         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
5603
5604 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5605
5606         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
5607         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
5608
5609 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5610
5611         * manual/libc.texinfo: Undo last change for now.
5612
5613 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5614
5615         * intl/locale.alias: Add entries for Croatian.
5616         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
5617
5618 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5619
5620         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
5621         if the opened master pty really is a pty.  `isatty' checks for
5622         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
5623         if we are out of pty's.
5624
5625 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5626
5627         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
5628         opened file is closed on exec.
5629         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
5630         opened socket.
5631
5632 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5633
5634         * manual/llio.texi (File Position Primitive): Reformat @end
5635         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
5636
5637 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
5638
5639         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
5640         entry is found.
5641         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5642         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5643
5644         * locale/programs/localedef.c (main): Initialize `cat' to please
5645         the compiler.
5646
5647 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
5648
5649         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
5650         check for root-owned symlinks and reject them too.
5651
5652 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5653
5654         * stdio-common/printf_fphex.c: Move to ...
5655         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
5656         extended precision number.
5657         * sysdeps/m68k/printf_fphex.c: New file.
5658
5659 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5660
5661         * manual/stdio.texi: Fix typos.
5662
5663 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
5664
5665         * version.h (VERSION): Bump to 2.1.1.
5666
5667 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
5668
5669         * nis/ypclnt.c: Try only twice to connect to NIS server.
5670
5671 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5672
5673         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
5674
5675 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5676
5677         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
5678         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
5679         * stdlib/strtold.c: Moved to ...
5680         * sysdeps/generic/strtold.c: ... here.
5681         * sysdeps/m68k/strtold.c: New file.
5682
5683 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5684
5685         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
5686         point if the precision is zero, even if the mantissa is non-zero.
5687
5688 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5689
5690         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
5691         arguments into the request message buffer inside `send_rpc'
5692         subfunction.  We must repeat the marshalling when retrying the RPC
5693         after a SIGTTOU delivery.
5694
5695         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
5696         path when there is no ctty port.
5697         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5698         Move sigstate check inside loop so we recheck after handling a signal.
5699
5700 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5701
5702         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
5703         O_EXLOCK are BSD extensions.
5704         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
5705
5706 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
5707
5708         * manual/signal.texi (Termination in Handler): Correct example.
5709         Install default handler before reraising the signal.
5710         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
5711
5712 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
5713
5714         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
5715         null, in which case send an empty string.
5716
5717 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
5718
5719         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
5720         backward compatibility EH functions to be linked when using
5721         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
5722
5723 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5724
5725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
5726         /dev/pts status may change during runtime.
5727
5728 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5729
5730         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
5731         change.  /dev/pts status can change during runtime.
5732
5733 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
5734
5735         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
5736         poll reports error.
5737         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
5738         add some more sanity checks.
5739         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
5740         parser prototype.
5741
5742 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
5743
5744         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
5745         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
5746         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
5747         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
5748         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
5749         for x_getint32.
5750         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
5751         * nis/nis_print.c: Fix ctime argument for platforms where
5752         sizeof (time_t) != sizeof (int).
5753
5754 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
5755
5756         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
5757         CLOCKS_PER_SEC instead of CLK_TCK.
5758
5759 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
5760
5761         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
5762         whether /dev/pts is available.
5763         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
5764         dev_pts_available.
5765
5766         * posix/globtest.sh: Make common_objpfx path absolute and and db2
5767         and hesiod directory to library path [PR libc/1007].
5768
5769 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5770
5771         * resolv/inet_addr.c (inet_aton): Don't allow componets >
5772         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
5773
5774 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
5775
5776         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5777         DT_PLTGOT has already been relocated.
5778         (__elf_machine_fixup_plt): Likewise.
5779         Minor cleanups.
5780
5781 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
5782
5783         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
5784
5785 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
5786
5787         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
5788         and fold string to uppercase [PR libc/1005].
5789
5790 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5791
5792         * elf/dl-load.c (lose): Fix return type.
5793
5794 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
5795
5796         * sysdeps/mach/hurd/bits/fcntl.h
5797         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
5798         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
5799         set O_NOTRANS as well.
5800         (__hurd_file_name_lookup_retry): At successful end of lookup,
5801         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
5802         it is a translated node not owned by root.
5803         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
5804         on the file name passed to LOOKUP.
5805
5806 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
5807
5808         * manual/time.texi (High Resolution Timer): Correct computation in
5809         example.  Reported by jjf@devel.cemsys.com.
5810
5811 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
5812
5813         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5814         entry is already relocated.
5815
5816 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5817
5818         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
5819         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
5820
5821 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5822
5823         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
5824         uc_link which is the right name according to Unix98.
5825         Reported by Craig Metz [PR libc/1001].
5826         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
5827         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
5828         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
5829         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
5830         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
5831         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
5832
5833 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5834
5835         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
5836         @ifinfo.
5837
5838 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5839
5840         * iconvdata/Makefile: Always include iconv-rules, but disable rule
5841         to regenerate it if avoid-generated.
5842
5843         * Makeconfig: Always include sys-dirs, but disable rule to
5844         regenerate it when avoid-generated.
5845
5846         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
5847         rule to generate sysd-syscalls.
5848
5849         * elf/Makefile (generated): Remove $(objpfx) from names.
5850
5851 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
5852
5853         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
5854         actual length if the adress length is smaller than the input
5855         value.  Change type of *LEN paramater to socklen_t.
5856         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5857         * sysdeps/mach/hurd/accept.c (accept): Likewise.
5858         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5859         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
5860         paramater to socklen_t.
5861
5862 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
5863
5864         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
5865         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
5866         with the RPC.
5867
5868 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5869
5870         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
5871         __get_phys_pages): Cast &HBI to silence warning.
5872
5873         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
5874         * hurd/hurdchdir.c: New file.
5875         * hurd/hurdfchdir.c: New file.
5876         * sysdeps/mach/hurd/chroot.c: Call
5877         _hurd_change_directory_port_from_name to do the work.
5878         * sysdeps/mach/hurd/chdir.c: Likewise.
5879         * sysdeps/mach/hurd/fchdir.c: Call
5880         _hurd_change_directory_port_from_fd to do the work.
5881         * hurd/fchroot.c: Likewise.
5882         * hurd/hurd.h: Declare them.
5883
5884 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
5885
5886         * elf/dl-load.c (lose): Add more comments to explain the `why'.
5887         (_dl_map_object): Remove redundant test.
5888
5889 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5890
5891         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
5892         try to _hurd_port_free a lower-numbered descriptor that was not in any
5893         fd_set.
5894
5895 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5896
5897         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
5898         declaration for ____wcstod_l_internal.
5899
5900         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
5901         __strtod_internal prototype.
5902         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
5903         (____strtold_l_internal): Add prototype declaration.
5904         (__strtold_l): Call correct function.
5905
5906 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
5907
5908         * elf/elf.h: Add 32bit HPPA definitions.
5909
5910 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5911
5912         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
5913         non-checked heap is restored when malloc checking was requested by
5914         the user.
5915         (struct malloc_state): Add using_malloc_checking.
5916         (MALLOC_STATE_VERSION): Increment minor.
5917         (using_malloc_checking, disallow_malloc_check): New variables.
5918         (__malloc_check_init): Use them.
5919         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
5920         that it can the chunk is properly instrumented when malloc
5921         checking is enabled.  Set the new using_malloc_checking field.
5922         (malloc_hook_ini): Correct signature when _LIBC is not defined.
5923
5924 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5925
5926         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5927         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
5928         time.
5929
5930         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
5931         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
5932         if ld.so is the main program.
5933
5934 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
5935
5936         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
5937         large for work_buffer, allocate new buffer.
5938         (printf_unknown): Likewise.  [PR libc/988]
5939
5940 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5941
5942         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
5943         instead of stat and fstat.
5944         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5945
5946 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5947
5948         * elf/dl-error.c (_dl_signal_cerror): New function.
5949         (_dl_signal_error): Don't call receiver function.
5950         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
5951         instead of _dl_signal_error when reporting references to undefined
5952         symbols or versions.
5953         (_dl_lookup_versioned_symbol): Likewise.
5954         (_dl_lookup_versioned_symbol_skip): Likewise.
5955         * elf/dl-version.c (match_symbol): Likewise.
5956
5957         * elf/ldsodefs.h: Declare _dl_signal_cerror.
5958
5959 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5960
5961         * misc/getttyent.c (getttyent): Release lock on stream later to
5962         also protect global variable zapchar.
5963
5964         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
5965         __times [PR libc/990].
5966
5967 1999-02-21  David S. Miller  <davem@redhat.com>
5968
5969         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
5970         parentheses in Feb 2 changes.
5971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5972
5973 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5974
5975         * sysdeps/generic/glob.c (glob): Save previous errno.
5976
5977 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
5978
5979         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
5980         lookup functions if it is too small.
5981
5982 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
5983
5984         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
5985         for tracing to the scope lists.
5986         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
5987         DT_SYMTAB is always available according to ELF spec.
5988
5989         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
5990         call test whether there is any scope left.
5991         (_dl_lookup_versioned_symbol_skip): Likewise.
5992
5993         * elf/Makefile (distribute): Add do-lookup.h.
5994         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
5995         * elf/dl-lookup.c: Move do_lookup function in separate file and
5996         include the file twice, for handling versioning and without it.
5997
5998         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5999         entry is already relocated.
6000         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6001         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6002         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
6003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6004         Likewise.
6005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6006         Likewise.
6007         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
6008         Likewise.
6009
6010         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
6011         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
6012         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
6013         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
6014         rel and rela relocations can both happen and skip one test if this
6015         is not possible.
6016         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
6017         appropriately.
6018         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
6019         already relocated.
6020         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
6021         relocated.
6022         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
6023         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
6024         (_dl_map_object): DT_STRTAB entry is already relocated.
6025         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
6026         already relocated.
6027         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
6028         relocated.
6029         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
6030         DT_VERSYM entries are already relocated.
6031         (profile_fixup): Likewise.
6032         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
6033         all users.
6034         (match_symbol): DT_STRTAB entry is already relocated.
6035         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
6036         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
6037         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
6038         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
6039         (find_needed): DT_STRTAB entry is already relocated.
6040         (dl_main): Pass extra argument to elf_get_dynamic_info.
6041         DT_STRTAB entry is already relocated.
6042         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
6043         DT_PLTGOT entries are already relocated.
6044         (elf_machine_rela): Likewise for DT_SYMTAB.
6045         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
6046         relocated.
6047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6048         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6051         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
6052         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
6053         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
6054         * sysdeps/mips/mips64/dl-machine.h: Likewise.
6055
6056         * grp/initgroups.c (initgroups): If function in current module was
6057         successful don't stop but continue to process to get all the groups.
6058
6059         * elf/dl-load.c (_dl_map_object_from_fd): Use global
6060         _dl_pf_to_proot array to convert p_flags value.
6061         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6062
6063         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
6064         loop to clear `info'.
6065
6066         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
6067         do the work and don't use inline assembler.
6068
6069 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
6070
6071         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
6072         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
6073         noreturn, and prevent it from being inlined.
6074         Define LOSE appropriately.
6075         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
6076         Optimize decoding of p_flags for certain platforms.
6077
6078 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
6079
6080         * Makeconfig (link-libc): When doing a static link, make sure that
6081         libgcc.a is included both before and after libc.a.
6082
6083 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
6084
6085         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
6086         sp_warn, sp_inact, sp_expire and sp_flag.
6087
6088 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
6089
6090         * elf/link.h (link_map): Add l_dev and l_ino.
6091         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
6092         loaded shared object with all loaded objects.  Initialize l_ino
6093         and l_dev in case it's new.
6094         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
6095         object.
6096         * elf/Makefile: Compile and run new test.
6097         * elf/multiload.c: New file.
6098
6099         * nss/nsswitch.h (service_user): Change name field from const char *
6100         to char[0].
6101         (name_database_entry): Likewise.
6102         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
6103         for change of `service_user'.
6104         (nss_getline): Adjust memory allocation for change of
6105         `name_database_entry'.
6106
6107         * catgets/catgets.c: Correctly handle NLSPATH from environment
6108         [PR libc/980].
6109
6110         * io/Makefile (routines): Add lock64.
6111         * io/Versions: Add lockf64 for GLIBC_2.1.1.
6112         * sysdeps/generic/lockf64.c: New file.
6113
6114 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6115
6116         * string/bits/string2.h: Only use strncmp optimization if count
6117         argument is constant.
6118
6119 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
6120
6121         * sysdeps/mach/hurd/revoke.c: New file.
6122
6123 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6124
6125         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
6126         int to avoid warning about `ISO C restricts enumerator values to
6127         range of `int''.
6128
6129 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6130
6131         * elf/dlfcn.h: Fix typo.
6132         * sysdeps/generic/bits/dlfcn.h: Likewise.
6133         * sysdeps/mips/bits/dlfcn.h: Likewise.
6134
6135 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6136
6137         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
6138         for the case N == 0.
6139
6140         * db2/Makefile (distribute): Add LICENSE.
6141
6142 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
6143
6144         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
6145         generated files.
6146
6147         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
6148
6149 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6150
6151         * time/mktime.c: Use ISO C form for function definitions and
6152         remove unnecessary prototypes.
6153
6154         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
6155
6156         * time/time.h: Avoid unneccesary #ifdef.
6157
6158 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
6159
6160         * stdio-common/_itoa.c (_itoa): Correct parameters to
6161         udiv_qrnnd_preinv.
6162
6163 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6164
6165         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
6166         before (e.g. in glob.h).
6167         Closes PR libc/959.
6168
6169 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6170
6171         * sysdeps/mips/fpu_control.h: Fix typo.
6172         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
6173         Remove __setfpucw.
6174
6175 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
6176
6177         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
6178         the "unused" ends of the sockets.  Let pipes be bidirectional.
6179
6180 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
6181
6182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
6183         invalid ai_flags.
6184
6185 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6186
6187         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
6188         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
6189
6190         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
6191         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
6192
6193 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
6194
6195         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
6196
6197 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6198
6199         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
6200         check for priority mask.
6201
6202 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
6203
6204         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
6205         Reported by Craig Metz <cmetz@inner.net> .
6206
6207 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6208
6209         * stdio-common/Makefile (tests): tllformat added.
6210
6211         * stdio-common/tllformat.c: New program, based on tiformat.c with
6212         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6213
6214 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6215
6216         * posix/test-vfork.c: Fix exit status test.
6217
6218 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6219
6220         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
6221         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
6222
6223 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6224
6225         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
6226         of separare explicit comparisons.
6227
6228 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6229
6230         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
6231         defined.
6232
6233         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
6234         defined.
6235
6236 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
6237
6238         * po/el.po: Update from translation team.
6239
6240 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6241
6242         * intl/locale.alias: Fix slovenian entry [PR libc/948].
6243
6244 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6245
6246         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
6247         * inet/ruserpass.c: Likewise.
6248         * locale/programs/stringtrans.c: Likewise.
6249         * locale/programs/localedef.c: Likewise.
6250         * nscd/grpcache.c: Likewise.
6251         * nss/nss_files/files-XXX.c: Likewise.
6252         * stdlib/canonicalize.c: Likewise.
6253         * sysdeps/posix/sigwait.c: Likewise.
6254
6255 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6256
6257         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
6258         even on 64 bit platforms.
6259
6260         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6261         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
6262
6263 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
6264
6265         * intl/dcgettext.c: Include locale.h is available.
6266
6267 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
6268
6269         * po/nl.po: Update from translation team.
6270
6271         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
6272
6273         * Makefile: Allow calling goals for po subdir.
6274
6275         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
6276         signal definitions.
6277
6278         * po/el.po: New file.
6279
6280 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6281
6282         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
6283         when processing DT_SYMBOLIC objects.
6284
6285 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6286
6287         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
6288         program headers without PT_PHDR only require that they are
6289         contained within one of the loaded segments.  Don't use assert,
6290         since that would be a bug in the object, not the dynamic linker.
6291
6292 1999-02-08  Richard Henderson  <rth@cygnus.com>
6293
6294         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
6295         restore all call-clobbered fp regs.
6296
6297 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
6298
6299         * po/cs.po: New file.
6300
6301         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
6302         SUID binaries.
6303
6304 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6305
6306         * signal/signal.h: Don't declare __libc_allocate_rtsig.
6307         * include/signal.h: Declare __libc_allocate_rtsig here.
6308
6309         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
6310         point functions, not do_lookup since the later can be called more
6311         than once.
6312
6313 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
6314
6315         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
6316         macro, so that architectures which need to add some special
6317         offset to stack pointer can share this file.
6318
6319         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
6320         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
6321         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
6322         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
6323
6324         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
6325         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
6326         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
6327         between sparc32 and sparc64.
6328
6329         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
6330         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
6331         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
6332         between sparc32 and sparc64.
6333
6334         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
6335         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
6336         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
6337         between sparc32 and sparc64.
6338
6339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
6340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
6341         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
6342         between sparc32 and sparc64.
6343
6344 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6345
6346         * Versions.def: New version GLIBC_2.1.1 for libc.
6347         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
6348         * stdlib/labs.c: Moved to...
6349         * sysdeps/generic/labs.c: ...here.
6350         * stdlib/llabs.c: Moved to...
6351         * sysdeps/generic/llabs.c: ...here.
6352         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
6353         header.  Declare _Exit.
6354         * sysdeps/generic/_exit.c: Add alias _Exit.
6355         * sysdeps/mach/hurd/_exit.c: Likewise.
6356         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
6357         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
6358         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
6359         * sysdeps/unix/_exit.c: Likewise.
6360         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
6361         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
6362         * sysdeps/wordsize-64/inttypes.h: Likewise.
6363         * sysdeps/wordsize-32/llabs.c: New file.
6364         * sysdeps/wordsize-32/lldiv.c: New file.
6365         * sysdeps/wordsize-64/labs.c: New file.
6366         * sysdeps/wordsize-64/ldiv.c: New file.
6367         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
6368         * manual/startup.texi: Document _Exit.
6369
6370 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6371
6372         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
6373
6374 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
6375
6376         * Versions.def: Add versions for ld.so.
6377         * csu/Versions: Remove __libc_stack_end here.
6378         * elf/Versions: Split libc definitions in libc and ld.so definitions.
6379         * elf/Makefile (ld-map): Change to ld.so.map.
6380         * scripts/versions.awk: Recognize dot in library names.
6381
6382         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
6383         Don't use __tolower and __toupper in inline functions.
6384         Add optimizing macros for tolower and toupper.
6385         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
6386         (_toupper): Don't use __toupper.
6387         * ctype/ctype.c (tolower): Don't use __tolower.
6388         (toupper): Don't use toupper.
6389
6390         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
6391
6392         * resolv/Versions (libresolv): Export __ns_name_unpack and
6393         __ns_name_ntop.
6394         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
6395         make it global.  Change all users.  Similar for ns_name_ntop.
6396         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
6397         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
6398         directly to detect too small buffer.
6399         * resolv/nss_dns/dns-network.c: Likewise.
6400
6401         * stdio-common/Makefile (tests): Add scanf12.
6402         * stdio-common/scanf12.c: New file.
6403         * stdio-common/scanf12.input: New file.
6404         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
6405         floating-point correctly if the number is invalid.
6406
6407         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
6408         functions.
6409         * stdio-common/printf_fp.c: Likewise.
6410         * stdio-common/printf_fphex.c: Likewise.
6411         * stdio-common/vfprintf.c: Likewise.
6412
6413
6414 See ChangeLog.9 for earlier changes.