Update.
[glibc.git] / ChangeLog
blob988cf8dc40f4d2c419c64f11d21829aea3d5f0d2
1 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
3         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
5 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
7         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
8         recent ld.so changes.
9         (elf_machine_runtime_setup): Correct behaviour when profiling.
11 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
13         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
14         Patch by John Tobey <jtobey@banta-im.com>.
16 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
18         * login/pty-internal.h: Removed.  Moved constants related to the
19         `grantpt' helper program protocol to ...
20         * login/pty-private.h: ... here.  New file.
21         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
22         to make the function work with kernels >= 2.1.115.
23         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
24         version if using the cloning device fails.
25         * sysdeps/unix/sysv/linux/grantpt.c: New file.
26         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
27         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
28         use by Linux specific code.
29         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
30         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
31         function.  (grantpt): Use pts_name, check group and permission
32         mode in addition to owner.  Try to set the owner, group and
33         permission mode first without invoking the helper program.
34         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
35         internationalization support.  Use symbolic constants instead of
36         hardwired numbers for permission mode.
37         * sysdeps/unix/bsd/ptsname.c: New file.
39 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
41         * posix/wordexp-test.c: Undo last change.
43         * posix/wordexp.c: Undo last change.
45 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
47         * nscd/grpcache.c (save_grp): Partly undo last change.
49         * nscd/pwdcache.c (save_pwd): Undo last change.
51 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
53         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
54         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
56 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
58         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
59         Add profiling support.
60         (TRAMPOLINE_TEMPLATE): New macro.
61         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
62         (RTLD_START): Prettify, and set __libc_stack_end properly.
63         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
64         and check for sym being NULL instead.
65         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
66         of stack space.
67         * sysdeps/sparc/sparc64/lshift.S: Likewise.
68         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
69         * sysdeps/sparc/sparc64/rshift.S: Likewise.
70         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
71         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
72         MEDANY code model %g4 usage.
73         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
74         MEDANY code model %g4 usage.
75         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
76         code model address formation.
77         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
78         include elf/ldsodefs.h
79         (DT_SPARC): Remove.
80         (elf_machine_matches_host): It is now EM_SPARCV9.
81         (elf_machine_dynamic): Clean up to remove ugly cast.
82         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
83         new PLT formats.
84         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
85         Prettify rest of function.
86         [R_SPARC_COPY]: Check for sym being NULL.
87         [R_SPARC_32]: Handle it.
88         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
89         MEDMID code model.
90         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
91         MEDANY code model.
92         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
93         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
94         Add profiling support.
95         (TRAMPOLINE_TEMPLATE): New macro.
96         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
97         (RTLD_START): Prettify and set __libc_stack_end.
98         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
99         Define.
100         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
101         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
102         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
103         unused variable scratch.
104         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
105         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
106         Declare.
107         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
108         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
109         old format kernel sigaction structures.
110         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
111         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
112         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
113         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
114         ucontext include.
115         (_JMPBUF_UNWINDS): Define.
116         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
117         statfs64 structure, which is exactly the same as the normal one.
118         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
119         of stack.  Use correct syscall trap number.  Add branch prediction
120         settings to branch instructions.  Remove old MEDANY code model %g4
121         referneces for non-PIC.
122         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
123         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
124         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
125         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
127         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
128         __libc_longjmp and __libc_siglongjmp strong aliases.
129         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
130         Also define to __no__readdir64_decl around readdir.c inclusion.
131         (__readdir64): Add strong alias.
132         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
133         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
134         Set strong and weak names properly.
136 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
138         * manual/Makefile (AWK): Default to gawk if standalone.
140 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
142         * Makefile (distribute): Undo last change.
143         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
144         for sysdep headers.
145         (+subdir-headers): Removed, unused.
147 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
149         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
150         $(do-install).
152 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
154         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
155         absolute name in $(config-sysdirs), can never happen.
156         ($(+sysdir_pfx)sysd-rules): Likewise.
157         * Makeconfig (full-config-sysdirs): Likewise.
158         (all-Subdirs-files): Prepend $(..).
160         * configure.in: Don't check for absolute name in $add_ons_pfx, can
161         not happen.  Let --enable-add-ons=yes work if no add-ons actually
162         exist.
164 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
166         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
167         continuations in command.
169 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
171         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
173 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
175         * posix/wordexp-test.c: If expansion or substitution occurs
176         anywhere in a word, the entire word is subject to field-splitting.
178         * posix/wordexp.c (parse_glob): Look for end of word instead of
179         end of field when deciding what to glob.
180         (field_split_word): New function, now the only place where
181         field-splitting is performed.
182         (parse_dollars): New parameter - tell the caller if
183         field-splitting should be performed on this word.
185         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
186         succeeded (or failed with WRDE_NOSPACE).
188 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
190         * posix/wordexp.c (wordexp): Don't convert IFS characters to
191         blanks.
193         * posix/wordexp-test.c: Words not the result of expansion or
194         substitution should remain unchanged.
196 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
198         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
199         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
201 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
203         * stdio-common/Makefile: Include Makeconfig so that
204         $(inst_includedir) is defined.
206 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
208         * io/pwd.c: Include <mcheck.h>.
210 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
212         * nscd/pwdcache.c (save_pwd): Correct copying.
213         * nscd/grpcache.c (save_grp): Likewise.
215 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
217         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
218         (free_pwd): Adjust for this change.
219         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
220         (free_grp): Adjust for this change.
222 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
224         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
226 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
228         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
229         (install-others): Add bits/stdio_lim.h.
230         Add rule to install bits/stdio_lim.h.
232         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
234         * Makefile (distribute): Add include/sys/mman.h.
236         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
237         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
238         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
240         * grp/initgroups.c: Include stdlib.h.
241         Patch by Zack Weinberg.
243 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
245         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
246         for field-splitting :abc: is correct, and that two fields should
247         result. Revert tests to reflect this.
249         * posix/wordexp.c (w_emptyword): Remove function.
250         (exec_comm): Don't use w_emptyword.
251         (parse_param): Likewise.
253 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
255         * sysdeps/arm/fpu/Dist: Moved to...
256         * sysdeps/arm/Dist: ...here.
257         * sysdeps/posix/Dist: Removed.
258         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
259         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
261 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
263         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
265 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
267         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
269 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
271         * libc-work/nis/nss_nisplus/nisplus-service.c
272         (_nss_nisplus_parse_servent): Convert port in network byte order.
274 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
276         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
277         to provide only malloc and calloc.
278         * include/stdlib.h: Support the above.
279         * string/bits/string2.h: Use __need_malloc_and_calloc when
280         including stdlib.h.
281         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
283         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
284         * iconvdata/iso646.c: Include <stdlib.h>.
286 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
288         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
289         * sysdeps/libm-ieee754/w_pow.c: Likewise.
290         * sysdeps/libm-ieee754/w_powf.c: Likewise.
291         * sysdeps/libm-ieee754/w_powl.c: Likewise.
293 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
295         * stdio-common/stdio_lim.h.in: New file.  All parameters
296         are adjustable at build time.
297         * Rules: Add a rule to build bits/stdio_lim.h from
298         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
299         all subdirectories know how to make the file.  It can't be
300         in Makerules because then it gets built at top level and the
301         dependencies are wrong.)
303         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
304         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
305         stdio_lim.h.
306         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
307         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
308         * sysdeps/posix/Makefile: Removed.
309         * sysdeps/posix/mk-stdiolim.c: Removed.
310         * sysdeps/generic/bits/stdio_lim.h: Removed.
312 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
314         * argp/argp-help.c: Fixup indentation.
315         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
316         * resolv/nss_dns/dns-network.c: Likewise.
317         * resolv/res_send.c: Likewise.
318         * rt/aio_cancel.c: Likewise.
319         * rt/aio_misc.c: Likewise.
321 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
323         * Makefile (install-symbolic-link): Remove the link list file at last.
324         * Makerules (install-clean-symbolic-link-list): Removed.
326 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
328         * timezone/tst-timezone.c: Print time in UTC to get consistent
329         output.
331 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
333         * elf/rtld.c (_dl_rpath): Removed.
334         * elf/dl-support.c (_dl_path): Removed.
335         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
336         (CFLAGS-dl-support.c): Removed.
338         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
339         uses changed.
340         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
341         instead of appending it to the main map's rpath info.
342         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
343         DT_RPATHs.  This makes it effective again.
344         (decompose_rpath): Remove second parameter, callers changed.
345         (fillin_rpath): Allocate enough space in curwd.
346         (expand_dynamic_string_token): Cope with get_origin returning -1.
348 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
350         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
351         passwd.adjunct.
353         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
354         invalid password.
356 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
358         * locale/programs/locale.c: Update dates.
360 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
362         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
363         size_t is defined.  Some reordering of defenitions to make
364         maintaining this file in parallel with the linux-specific file easier.
366 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
368         * io/pwd.c (main): Add call to mtrace.
370         * malloc/mtrace.pl: Quote @ in string.
372 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
374         * posix/wordexp.c (parse_arith): Fix memory leaks.
375         (exec_comm): Likewise.
376         (parse_param): Likewise.
377         (wordexp): Likewise.
378         (exec_comm): Reduce number of function return points.
379         (parse_param): Likewise.
380         (wordexp): Likewise.
382 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
384         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
385         yield three fields, not two.  Test both parameter expansion and
386         command substitution for correct field-splitting behaviour.
388         * posix/wordexp.c (w_emptyword): New function.
389         (parse_param): Use it.
390         (exec_comm): Likewise, for consistency with the way parse_param
391         splits fields.
392         (parse_param): Fix some memory leaks.
394 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
396         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
397         Don't mark asm `volatile'.
398         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
399         from the data cache too.  Assume it isn't in the instruction cache yet.
400         (__elf_machine_fixup_plt): Clear the modified address from the caches.
402 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
404         * sysdeps/generic/segfault.c (install_handler): Install signal
405         handler with SA_ONSTACK instead of setting the stack flags to
406         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
407         defined.
409 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
411         * signal/signal.h: Fix multiple inclusion guard to cover the
412         entire file.
413         * wcsmbs/wchar.h: Remove prototype of internal function
414         __mbsrtowcs.
415         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
416         arithmetic on `void *'.
418 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
420         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
422         * posix/wordexp.c (wordexp): Perform word-splitting instead of
423         field-splitting here.
424         (wordexp): If out of memory mid-word, free the word (but still
425         leave pwordexp alone for caller to see).
426         (parse_param): Allow for zero-length fields (smarter checking of
427         memory allocation failure).
428         (w_addword): Convert NULL words to "".
429         (wordexp): Convert left-over IFS characters to blanks (like bash).
431 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
433         * configure.in: Use test -f instead of test -e.
434         Patch by John Tobey <jtobey@banta-im.com>.
436         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
437         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
438         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
439         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
440         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
441         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
442         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
443         Patches by John Tobey <jtobey@banta-im.com>.
445         * time/strftime.c (my_strftime): Delay use of *tp values until
446         latest possible point to allow partly initialized structures
447         (e.g., from strptime).
449         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
450         and NATS-SEFI.
451         Define *-routines variables for new modules.
452         (distribute): Add .c files for new modules.
453         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
454         and nats-sefi.h.
455         Add rules for header generation.
456         * iconvdata/gconv-modules: Add entries for new modules.
457         * iconvdata/iso_10367-box.c: New file.
458         * iconvdata/mac-is.c: New file.
459         * iconvdata/nats-dano.c: New file.
460         * iconvdata/nats-sefi.c: New file.
462 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
464         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
465         loader if PIC is not defined.
467 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
469         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
470         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
471         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
472         and ISO_5428.
473         Define *-routines variables for new modules.
474         (distribute): Add .c files for new modules.
475         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
476         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
477         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
478         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
479         Add rules for header generation.
480         * iconvdata/gconv-modules: Add entries for new modules.
481         * iconvdata/csn_369103.c: New file.
482         * iconvdata/cwi.c: New file.
483         * iconvdata/dec-mcs.c: New file.
484         * iconvdata/ecma-cyrillic.c: New file.
485         * iconvdata/gost_19768-74.c: New file.
486         * iconvdata/greek-ccitt.c: New file.
487         * iconvdata/greek7-old.c: New file.
488         * iconvdata/greek7.c: New file.
489         * iconvdata/inis-8.c: New file.
490         * iconvdata/inis-cyrillic.c: New file.
491         * iconvdata/inis.c: New file.
492         * iconvdata/iso6937-2.c: New file.
493         * iconvdata/iso_2033.c: New file.
494         * iconvdata/iso_5427-ext.c: New file.
495         * iconvdata/iso_5427.c: New file.
496         * iconvdata/iso_5428.c: New file.
498         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
499         entries.
500         Convert U02dd correctly.
502 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
504         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
505         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
506         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
507         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
509 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
511         * resolv/res_init.c (res_init): Handle resolv.conf file with only
512         one nameserver correctly.  Patch by HJ Lu.
514         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
515         and ANSI_X3.110.
516         Define *-routines variables for new modules.
517         (distribute): Add .c files for new modules.
518         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
519         Add rules for hedaer generation.
520         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
521         * iconvdata/ansi_x3.110.c: New file.
522         * iconvdata/asmo_449.c: New file.
523         * iconvdata/baltic.c: New file.
524         * iconvdata/iec_p27-1.c: New file.
526         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
527         entries.
528         Convert U02dc correctly.
530         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
531         * math/atest-exp2.c: Likewise.
532         * math/atest-sincos.c: Likewise.
534         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
535         is defined.
537 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
539         * string/strcoll.c: Optimize a few expressions.
540         * string/strxfrm.c: Likewise.
542 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
544         * manual/locale.texi: Fix typos.
546 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
548         * stdlib/random_r.c (__setstate_r): Allow call with same state
549         array as currently used (PR libc/774).
551         * include/limits.h: Include gcc's header even if this file is
552         found more than once before it (PR libc/778)
554         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
555         (sysdep_headers): Remove sys/debugreg.h.
556         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
557         (sysdep_headers): Add sys/debugreg.h.
558         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
559         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
561         * stdio-common/tmpnam.c: Move local static variable buf to
562         toplevel and rename to tmpnam_buffer to ease debugging.
563         Patch by Joe Keane <jgk@jgk.org>.
564         Optimize s == NULL case a bit.
566         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
567         correction.
569 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
571         * resolv/res_init.c (res_init): Initialize _res.nscount and
572         _res.nsaddr.sin_port differently for the can when no loopback
573         is available to allow immediate timeout in non-networking environments.
574         Patch by Cristian Gafton <gafton@redhat.com>.
576 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
578         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
579         BAR and not EM DASH.
580         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
581         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
582         Fixes PR libc/717.
584 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
586         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
587         for test.
588         * timezone/tst-timezone.c (tests): Fix typo in last patch.
590         * time/tzfile.c (__tzfile_read): Handle case when there are no
591         transitions.  Set __timezone based on computed offset.
592         * time/tzset.c (tzset_internal): Set __timezone before returning.
594         * time/tzset.c (tzset_internal): Optimize handling of local string
595         copy.
597 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
599         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
600         libc/776).
602 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
604         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
605         (csqrt_test): Likewise.
606         * sysdeps/powerpc/bits/fenv.h: Add parens.
608 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
610         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
611         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
612         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
614 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
616         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
617         the special `-1' pointer.
619 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
621         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
622         inline.
624 1998-09-07  Paul Eggert  <eggert@twinsun.com>
626         * time/mktime.c (__EXTENSIONS__): Define if not defined.
627         (_REENTRANT): Remove.  It has undesirable consequences in
628         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
629         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
630         is what we want.
631         * time/strftime.c: Likewise.
633 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
635         * elf/dl-error.c: Fix spelling.
637 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
639         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
640         * stdio-common/_itoa.c: Likewise.
641         * stdio-common/printf_fp.c: Likewise.
642         * stdio-common/vfscanf.c: Likewise.
643         * wcsmbs/wcstok.c: Likewise.
644         * sysdeps/generic/glob.c: Likewise.
645         * posix/getopt.c: Likewise.
646         * sysdeps/posix/getaddrinfo.c: Likewise.
647         * posix/wordexp.c: Likewise.
648         * io/ftw.c: Likewise.
649         * io/fts.c: Likewise.
650         * misc/getpass.c: Likewise.
651         * iconv/gconv_conf.c: Likewise.
652         * argp/argp-fmtstream.c: Likewise.
653         * argp/argp-help.c: Likewise.
654         * elf/dl-load.c: Likewise.
655         * locale/programs/stringtrans.c: Likewise.
656         * catgets/gencat.c: Likewise.
657         * posix/getconf.c: Likewise.
658         * iconv/gconv_conf.c: Likewise.
659         * iconv/iconv_prog.c: Likewise.
661         * string/strcoll.c: Optimize a few expressions.
662         * string/strxfrm.c: Likewise.
664 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
666         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
667         level to avoid uninit variable warning.
669 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
671         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
672         instead of _dl_default_scope[2] as argument to _dl_init_next.
674         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
675         C9x macro.
677 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
679         Fix compatibility problems introduced in last change.
680         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
681         defined.
682         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
683         -DWEAK_GMON_START to CFLAGS-initfini.s.
685         * elf/dl-object.c (_dl_new_object): Store map address in
686         _dl_loaded if _dl_loaded is NULL.
687         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
689         * sysdeps/generic/setrlimit64.c: Remove stub warning.
691 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
693         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
694         quiet.
695         * db2/btree/bt_cursor.c: Likewise.
696         * db2/common/db_region.db_c: Likewise.
697         * db2/common/db_salloc.db_c: Likewise.
698         * db2/db/db.c: Likewise.
699         * db2/db/db_rec.c: Likewise.
700         * db2/hash/hash.c: Likewise.
701         * db2/hash/hash_page.c: Likewise.
702         * db2/hash/hash_rec.c: Likewise.
703         * db2/log/log_findckp.c: Likewise.
704         * db2/log/log_get.c: Likewise.
705         * db2/log/log_put.c: Likewise.
706         * db2/mp/mp_fget.c: Likewise.
707         * db2/mp/mp_fput.c: Likewise.
708         * db2/mp/mp_region.c: Likewise.
709         * stdlib/strtol.c: Likewise.
710         * string/strcoll.c: Likewise.
711         * string/strxfrm.c: Likewise.
712         * argp/argp-help.c: Likewise.
713         * argp/argp-parse.c: Likewise.
714         * resolv/res_debug.c: Likewise.
716 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
718         * math/tgmath.h (scalb): Only define for __USE_MISC or
719         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
721 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
723         * libio/stdio.h: Fix comment.
725         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
726         __USE_ISOC9X.
728 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
730         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
732         * elf/dl-open.c: Quiet -Wparentheses warnings.
733         * iconvdata/johab.c: Likewise.
734         * iconvdata/uhc.c: Likewise.
735         * inet/inet_net.c: Likewise.
736         * io/fts.c: Likewise.
737         * locale/newlocale.c: Likewise.
738         * misc/getttyent.c: Likewise.
739         * misc/mntent_r.c: Likewise.
740         * misc/ttyslot.c: Likewise.
741         * nscd/nscd_conf.c: Likewise.
742         * nss/nsswitch.c: Likewise.
743         * resolv/gethnamaddr.c: Likewise.
744         * resolv/nsap_addr.c: Likewise.
745         * resolv/res_debug.c: Likewise.
746         * stdio-common/_itoa.c: Likewise.
747         * stdlib/strtod.c: Likewise.
748         * string/strverscmp.c: Likewise.
749         * sunrpc/svc.c: Likewise.
750         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
751         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
752         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
753         * sysdeps/posix/getaddrinfo.c: Likewise.
755 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
757         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
758         for use of global scope.
759         * elf/dlvsym.c (dlvsym_doit): Likewise.
761 1998-09-02  Paul Eggert  <eggert@twinsun.com>
763         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
764         copy the redundant bytes at the end of the format as-is; don't
765         just copy their first byte and then rescan, as that might get
766         us an encoding error.
767         Account correctly for the length of multibyte sequences in the
768         format.
770 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
772         * posix/wordexp-test.c: Add tests for different IFS values.
773         Change unquoted-newline test so that newline is not in IFS.
775         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
776         determining IFS characters.  Return WRDE_BADCHAR for unquoted
777         special characters _except_ if they are separators.
779 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
781         * include/tgmath.h: New file.
783         * libio/stdio.h: Correct reversed #ifs.
784         Patch by Zack Weinberg.
786         * manual/creature.texi: Better explain reason for feature select
787         macros.
788         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
790 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
792         * include/alloca.h: Add multiple-inclusion guard.
793         * include/db.h: Likewise.
794         * include/db_185.h: Likewise.
795         * include/dlfcn.h: Likewise.
796         * include/fcntl.h: Likewise.
797         * include/grp.h: Likewise.
798         * include/libintl.h: Likewise.
799         * include/mntent.h: Likewise.
800         * include/pwd.h: Likewise.
801         * include/sched.h: Likewise.
802         * include/search.h: Likewise.
803         * include/setjmp.h: Likewise.
804         * include/shadow.h: Likewise.
805         * include/signal.h: Likewise.
806         * include/stdio.h: Likewise.
807         * include/stdlib.h: Likewise.
808         * include/string.h: Likewise.
809         * include/termios.h: Likewise.
810         * include/time.h: Likewise.
811         * include/ulimit.h: Likewise.
812         * include/utmp.h: Likewise.
813         * include/wchar.h: Likewise.
814         * include/sys/file.h: Likewise.
815         * include/sys/gmon.h: Likewise.
816         * include/sys/ioctl.h: Likewise.
817         * include/sys/mman.h: Likewise.
818         * include/sys/resource.h: Likewise.
819         * include/sys/select.h: Likewise.
820         * include/sys/socket.h: Likewise.
821         * include/sys/statfs.h: Likewise.
822         * include/sys/time.h: Likewise.
823         * include/sys/times.h: Likewise.
824         * include/sys/wait.h: Likewise.
826 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
828         * version.h (VERSION): Bump to 2.0.96.
830         Rewrite runtime linker to be truly thread-safe.  There is now no
831         global variable specifying the scope.  We create all needed
832         scopes at the time the link maps are created.
833         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
834         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
835         l_symbolic_searchlist, l_scope, and l_local_scope elements in
836         struct link_map.
837         * elf/dl-close.c: Rewritten accordingly.
838         * elf/dl-deps.c: Likewise.
839         * elf/dl-error.c: Likewise.
840         * elf/dl-init.c: Likewise.
841         * elf/dl-load.c: Likewise.
842         * elf/dl-lookup.c: Likewise.
843         * elf/dl-object.c: Likewise.
844         * elf/dl-open.c: Likewise.
845         * elf/dl-reloc.c: Likewise.
846         * elf/dl-runtime.c: Likewise.
847         * elf/dl-support.c: Likewise.
848         * elf/dl-symbol.c: Likewise.
849         * elf/dl-version.c: Likewise.
850         * elf/dlsym.c: Likewise.
851         * elf/dlvsym.c: Likewise.
852         * elf/ldsodefs.h: Likewise.
853         * elf/rtld.c: Likewise.
854         * iconv/gconv_dl.c: Likewise.
855         * nss/nsswitch.c: Likewise.
856         * sysdeps/i386/dl-machine.h: Likewise.
857         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
859         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
860         Define RTLD_DEFAULT.
862 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
864         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
865         __getopt_clean_environment with __environ instead of envp.
867 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
869         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
871         * string/argz-extract.c (__argz_extract): Add de-consting cast for
872         setting results.
874         * string/argz.h (argz_next): Add de-consting cast for return.
875         * string/argz-next.c (__argz_next): Likewise.
877         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
878         Don't add netinet/udp.h, netinet/ip_icmp.h here.
879         * sysdeps/gnu/Makefile: Do it here instead.
880         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
881         * sysdeps/gnu/Dist: ... to here.
883         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
884         sysdeps/unix/sysv/linux/netinet/tcp.h,
885         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
887 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
889         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
890         * string/argz-next.c, string/argz-extract.c: Fix defns.
892 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
894         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
896         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
897         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
898         * sysdeps/generic/sysd-stdio.c: Likewise.
900 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
902         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
903         (_dl_map_object_from_fd): Make NAME argument const.
904         Remove last parameter in _dl_new_object call.
905         (print_search_path): Correct construction of composed path name.
906         (_dl_map_object): Prevent looking at RPATH of the main map twice.
907         Remove last parameter in _dl_new_object call.
908         * elf/dl-object.c: Remove last parameter.  Determine whether create
909         origin entry based on empty realname.  Handle file in root directory
910         correctly.
911         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
912         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
913         Remove last parameter in _dl_new_object call.
914         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
915         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
917 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
919         * elf/dl-close.c (_dl_close): Add more comments and correct some.
920         Free l_searchlist and l_dupsearchlist.
922         * debug/catchsegv.sh: Add one more pair of quotes.
924 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
926         * elf/dl-load.c (add_name_to_object): Change return type to void and
927         make NAME parameter const.  Allocate room for NAME in same memory
928         block used for l_libname entry.
929         (_dl_map_object_from_fd): Don't free NAME on failure.
930         (map_segment): Pass SONAME to add_name_to_object, not a copy.
931         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
932         _dl_map_object_from_fd.
933         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
934         memory block used for l_libname entry.
935         * elf/dl-close.c: Adjust free()ing for this change.
937 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
939         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
941         * malloc/mtrace.c: Add bug report address.  Update email address.
942         Add more @XXX@ to print correct address size.
944         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
945         really initialized.
947         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
948         for munmap call instead of examining phdr again.
949         Free all malloc()ed strings and arrays.
951 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
953         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
954         dl-machine.h.
955         * sysdeps/powerpc/dl-machine.c: New file.
956         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
957         files.  Revise ELF_PREFERRED_ADDRESS to take account of
958         the new mapping information (fixes bug involving huge bloated
959         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
960         * sysdeps/powerpc/dl-start.S: New file.
962         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
963         l_map_end.
964         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
965         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
966         others.  Call elf_dynamic_do_##reloc only once (to save even more
967         space).
968         * elf/link.h: Add new members l_map_start and l_map_end to keep
969         track of the memory map.
970         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
971         the executable.
973 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
975         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
976         Reported by Andreas Jaeger.
978         * posix/glob.h: Use __size_t instead of size_t in definitions and
979         make sure this is defined.
981 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
983         * manual/locale.texi: Almost complete rewrite.  Document more functions
984         and functionality.
985         * manual/arith.texi: Correct reference.
986         * manual/string.texi: Pretty printing.
988         * manual/texinfo.tex: Update from last available version.
990 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
992         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
993         invalid password.
994         (_nss_nis_getpwuid_r): Likewise.
995         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
997         * inet/rcmd.c: Implement netgroup support.
998         Patch by Dick Streefland <dick_streefland@tasking.com>.
1000 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1002         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1003         object on the list is removed.  Don't use this code for PIC.
1004         Reported by HJ Lu [PR libc/770].
1006 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1008         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1010         * include/stdio.h: Add __vsscanf.
1012         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1013         __USE_ISOC9X.
1014         Remove __vsscanf declaration.
1015         Always declare fgetpos and fsetpos.
1017         * math/math.h: Define isinf as macro.
1018         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1019         Don't declare scalb for ISO C 9x.
1021         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1023         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1025         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1026         sys/ucontext.h.
1028         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1029         macros.
1031 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1033         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1034         Reported by jreising@frequentis.com [PR libc/767].
1036 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1038         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1039         fl.l_start at beginning of function.
1040         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1042 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1044         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1045         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1047         * nscd/nscd.init: Make it work in RedHat systems.
1048         Patch by Christian Gafton.
1050 1998-08-29  Philip Blundell  <philb@gnu.org>
1052         * catgets/Makefile: Don't try to run test programs when
1053         cross-compiling.
1055 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1057         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1058         Reported by Zack Weinberg.
1060 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1062         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1063         * elf/Makefile (distribute): Remove ldd.sh.in.
1065 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1067         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1068         variable.
1070 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1072         * sysdeps/i386/register-dump.h: Move to ...
1073         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1075 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1077         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1078         with load address, not map address.
1079         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1080         parameter and use this value.
1081         * sysdeps/arm/dl-machine.h: Likewise.
1082         * sysdeps/i386/dl-machine.h: Likewise.
1083         * sysdeps/m68k/dl-machine.h: Likewise.
1084         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1085         parameter.
1086         * sysdeps/powerpc/dl-machine.h: Likewise
1087         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1088         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1090 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1092         * elf/rtld.c (process_envvars): Fix copy&paste error.
1094         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1095         memalign hook.
1096         (realloc_hook_ini): Don't overwrite memalign hook.
1097         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1098         Reported by Philippe Troin <phil@fifi.org>.
1100         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1101         Patch by Philippe Troin <phil@fifi.org>.
1103 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1105         * sysdeps/generic/segfault.c (install_handler): Protect the
1106         non-POSIX signals with #ifdef.
1107         (catch_segfault): Add missing mode parameter for open.
1108         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1109         other termination signals.
1111 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1113         * debug/Makefile (distribute): Add register-dump.h.
1115 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1117         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1119 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1121         * elf/Makefile (distribute): Add dl-origin.h.
1122         * sysdeps/generic/dl-origin.h: New file.
1123         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1124         * elf/link.h (struct link_map): Add l_origin field.
1125         * elf/dl-load.c (expand_dynamic_string_token): New function.
1126         (decompose_path): Remove WHERE argument, take link map pointer instead.
1127         Call expand_dynamic_string_token instead of local_strdup to make copy
1128         of rpath.
1129         (_dl_init_paths): Call decompose_path with correct argument.
1130         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1131         not defined.
1132         Check EI_OSABI and EI_ABIVERSION fields in header.
1133         Call _dl_new_object with extra argument.
1134         (_dl_map_object): Call decompose_path with correct argument.
1135         Call expand_dynamic_string_token instead of local_strdup to also
1136         expand DST.
1137         Call _dl_new_object with extra argument.
1138         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1139         but the main one if new argument is nonzero.
1140         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1141         * elf/dl-support.c: Define _dl_origin_path.
1142         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1143         (dl_main): Call _dl_new_object with extra argument.
1145         * elf/dl-close (_dl_close): Free l_name and l_origin.
1147         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1148         modifier in asm, not c.
1150         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1151         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1153 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1155         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1156         variable so that map can be freed.
1157         Reported by Philippe Troin <phil@fifi.org>.
1159         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1160         scope array.
1161         Patch by Philippe Troin <phil@fifi.org>.
1163 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1165         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
1166         Don't call writev() with a 100-element vector.
1167         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1168         return address.
1170         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1171         In particular, set __libc_stack_end.
1172         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1173         undefined.  Fix copyright notice.
1175 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1177         * math/Makefile (gmp-objs): New variable.
1178         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1179         Depend on it.
1180         (tests): Add atest-exp atest-sincos atest-exp2.
1181         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1183 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1185         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1186         to toplevel.
1187         (_dl_unload_cache): New function.
1188         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1189         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1190         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1192         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1193         Correct comment for O_LARGEFILE.
1194         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1195         Change O_LARGEFILE to correct value.
1197 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1199         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1200         N == 0.  Patch by HJ Lu.
1202 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1204         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1206 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1208         * argp/argp.h: Use __inline__ not inline.
1210         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1211         an input register as being clobbered.
1212         * sysdeps/i386/memset.c (memset): Likewise.
1213         * sysdeps/i386/bzero.c (__bzero): Likewise.
1214         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1216 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1218         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1219         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1221 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1223         * debug/catchsegv.sh: Handle text preceding backtrace better.
1224         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1225         to be installed for other signals than SIGSEGV.
1226         * sysdeps/generic/register-dump.h: New file.
1227         * sysdeps/i386/register-dump.h: New file.
1228         * sysdeps/powerpc/register-dump.h: New file.
1230         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1231         sigcontextinfo.h.
1232         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1234 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1236         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1238 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1240         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1241         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1242         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1243         getresuid, getresgid.
1245 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1247         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1248         pointer in userland.
1250 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1252         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1253         and fix value.
1255 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1257         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1258         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1259         if nonelf returns successfully.  Avoid duplicating most of the
1260         script.
1261         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1262         around $file.
1264 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1266         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1267         sys/reg.h.
1268         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1269         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1271 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1273         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1274         __modify_ldt and modify_ldt.
1275         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1277         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1278         Use orl $-1 instead of movl $-1 to save two bytes.
1279         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1280         Likewise.
1282 1998-08-17  H.J. Lu  <hjl@gnu.org>
1284         * libio/Versions (_IO_do_write, _IO_file_attach,
1285         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1286         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1287         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1288         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1290         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1291         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1292         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1293         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1294         _IO_file_write, _IO_file_xsputn): Change the prefix to
1295         "_IO_new_". Added to GLIBC_2.1.
1297         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1298         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1299         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1300         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1301         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1302         "_IO_new_".
1304         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1305         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1306         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1307         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1308         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1310 1998-08-23  Richard Henderson  <rth@cygnus.com>
1312         * Makeconfig (LDFLAGS): Remove.
1314         * csu/initfini.c: Return to .text before __gmon_start__.
1316         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1317         (STO_MIPS_*): Rename from STO_*.
1318         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1319         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1321         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1322         (main): e3s is negative on zero.
1323         * math/atest-exp2.c: Likewise.
1324         * math/atest-sincos.c: Likewise.
1326 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1328         * Makerules (install): Add comment about absolute paths.
1330 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1332         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1333         array to NUL to handle maxlen==1 case correctly.
1334         Patch by HJ Lu.
1336 1998-08-23  Richard Henderson  <rth@cygnus.com>
1338         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1339         * sysdeps/alpha/elf/crtend.S: Likewise.
1340         * sysdeps/alpha/elf/start.S: Likewise.
1342         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1343         non-standard pv usage.
1345         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1346         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1347         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1348         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1349         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1350         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1351         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1352         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1353         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1354         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1355         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1357         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1358         a finite non-denormal, deferring to the full IEEE version otherwise.
1360         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1361         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1362         * sysdeps/alpha/fpu/s_floor.c: New.
1363         * sysdeps/alpha/fpu/s_floorf.c: New.
1364         * sysdeps/alpha/fpu/s_ceil.c: New.
1365         * sysdeps/alpha/fpu/s_ceilf.c: New.
1367 1998-08-22  Philip Blundell  <philb@gnu.org>
1369         * sysdeps/arm/bits/string.h: New file.
1371 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1373         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1374         document it.
1376         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1377         test for recent Linux 2.1.100+ headers.
1379 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1381         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1383 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1385         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1387 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1389         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1390         * elf/Makefile (ldso_install): Likewise.
1392 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1394         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1395         create weak alias.
1396         * include/db.h: Declare __nss_db_open.
1397         * db2/Versions: Export it.
1399         * db2/makedb.c: Convert to use db2 API.
1400         * nss/nss_db/db-XXX.c: Likewise.
1401         * nss/nss_db/db-netgrp.c: Likewise.
1402         * nss/nss_db/db-alias.c: Likewise.
1403         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1405 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1407         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1408         sys_setresuid, already built automatically (or not).
1409         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1410         instead of __syscall_setresuid and add back setresuid.
1411         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1412         __syscall_setresuid.
1414 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1416         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1418 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1420         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1421         BASH-ONLY marked region.
1422         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1424 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1426         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1427         _IO_SYSSEEK fails.
1429         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1431         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1432         element.
1434 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1436         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1437         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1438         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1439         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1440         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1441         those magic comments, and to use /bin/sh for @BASH@.
1442         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1443         * elf/ldd.sh.in: File removed.
1445 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1447         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1448         cast them to unsigned long int.
1449         * pwd/putpwent.c (putpwent): Likewise.
1450         Patch by John Tobey <jtobey@banta-im.com>.
1452 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1454         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1455         _IO_pos_BAD.
1457 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1459         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1460         _IO_SYSSEEK fails.
1462 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1464         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1465         Add umount and umount2.
1466         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1467         * sysdeps/unix/sysv/linux/umount.S: New file.
1468         * sysdeps/unix/sysv/linux/umount2.S: New file.
1469         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1470         Define MNT_FORCE.
1472         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1473         Add sys/sendfile.h.
1474         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1475         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1477         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1479         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1480         sendfile.
1482 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1484         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1485         * elf/ldd.bash.in: Likewise.
1487         * elf/sln.c: Avoid warning for no main prototype.
1489         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1490         O_WRITE.
1491         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1494         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1495         F_GETSIG.
1496         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1497         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1500 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1502         * sysdeps/arm/fpu/ieee754.h: Move to...
1503         * sysdeps/arm/ieee754.h: ... here.
1505         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1506         Don't set the condition flags unnecessarily.
1507         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1508         registers correctly.
1510         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1511         (patch from Scott Bambrough).
1513         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1515         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1516         NULL, just call it unconditionally.
1517         (__gmon_start__): Provide stub version as a weak symbol.
1519 1998-07-30  Philip Blundell  <philb@gnu.org>
1521         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1522         by Scott Bambrough)
1524         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1525         like `@' in .type directives.
1527         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1528         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1530         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1532 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1534         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1535         (F_GETOWN): Likewise.
1537         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1538         Linux 2.1.117).
1540 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1542         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1543         already defined.
1545 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1547         * include/features.h: Define __USE_EXTERN_INLINES for recent
1548         enough gcc.
1549         * argp/argp.h: Define extern inline functions only if
1550         __USE_EXTERN_INLINES is defined.
1551         * libio/stdio.h: Likewise.
1552         * math/math.h: Likewise.
1553         * stdlib/stdlib.h: Likewise.
1554         * string/argz.h: Likewise.
1555         * sysdeps/generic/bits/sigset.h: Likewise.
1556         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1557         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1558         * sysdeps/wordsize-32/inttypes.h: Likewise.
1559         * sysdeps/wordsize-64/inttypes.h: Likewise.
1560         * wcsmbs/wchar.h: Likewise.
1562         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1563         to allow compilation without optimization.
1565 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1567         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1568         more entries.
1569         * nis/nss_compat/compat-initgroups.c: Likewise.
1570         * nis/nss_compat/compat-pwd.c: Likewise.
1571         * nis/nss_compat/compat-spwd.c: Likewise.
1572         * nis/nss_nis/nis-alias.c: Likewise.
1573         * nis/nss_nis/nis-ethers.c: Likewise.
1574         * nis/nss_nis/nis-grp.c: Likewise.
1575         * nis/nss_nis/nis-hosts.c: Likewise.
1576         * nis/nss_nis/nis-initgroups.c: Likewise.
1577         * nis/nss_nis/nis-network.c: Likewise.
1578         * nis/nss_nis/nis-proto.c: Likewise.
1579         * nis/nss_nis/nis-pwd.c: Likewise.
1580         * nis/nss_nis/nis-rpc.c: Likewise.
1581         * nis/nss_nis/nis-service.c: Likewise.
1582         * nis/nss_nis/nis-spwd.c: Likewise.
1584         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1586         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1588         * nis/yp_xdr.c: Remove 1024 byte limit.
1589         * nis/ypupdate_xdr.c: Likewise.
1591         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1592         wrong data.
1594 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1596         * Rules (binaries-static, binaries-shared static pattern rules):
1597         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1599         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1600         this here, overriding Makeconfig generic value so we link against
1601         the RPC libs.
1603 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1605         * posix/tstgetopt.c (options): Add NULL entry at end
1606         Patch by Adrian Miranda <ade@psg.com>.
1608 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1610         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1611         to 9.
1613 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1615         * elf/elf.h: Add PPC Diab relocations.
1617         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1619 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1621         * manual/texinfo.tex: Update.
1623 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1625         * sysdeps/powerpc/backtrace.c: New file.
1627 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1629         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1630         sigjmp_save.
1631         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1633 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1635         * Makefile (install-symbolic-link): Fix spelling.
1637 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1639         * elf/elf.h (SHT_HIOS): Fix value.
1641 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1643         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1644         part of the expansion, this is undefined by the standard.
1646 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1648         * posix/getconf.c: Add support for systems with incomplete confname.h.
1650         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1652         * sysdeps/posix/wait3.c: Make it work.
1654 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1656         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1657         (elf/ldso_install): Remove.
1659         * elf/Makefile (distribute): Add sln.c.
1660         (others): Add sln.
1661         (others-static): Add sln.
1662         (install-rootsbin): Add sln.
1663         (others-static): Add sln.
1664         (ldso_install): Remove.
1666 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1668         * Makerules (install-clean-symbolic-link-list): Make phony.
1669         * Makefile (install-symbolic-link): Make phony.  Depend on
1670         subdir_install for parallel makes.
1673 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1675         * elf/Makefile (distribute): Add sln.c
1677 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1679         * elf/sln.c: New file.
1681         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1682         (install-clean-symbolic-link-list): New target.
1683         (install): Depend on install-clean-symbolic-link-list.
1684         (make-shlib-link): Changed for $(symbolic-link-list).
1686         * Makefile (install-symbolic-link): New target.
1687         (install): Depend on install-symbolic-link.
1689 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1691         * include/unistd.h: Protect against multiple inclusion.
1693         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1694         is defined, not is glob is defined.
1695         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1697 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1699         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1700         xdr_string for ut_line, ut_name and ut_host.
1702 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1704         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1705         /var/mail in accordance with FHS 2.0.
1706         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1708 1998-08-12  Richard Henderson  <rth@cygnus.com>
1710         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1711         Update aliases for cancelation.
1713         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1714         playing with symbol versions.
1716 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1718         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1719         multiple inclusion protection.
1720         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1721         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1722         define all these to 1.
1723         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1725 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1727         * sysdeps/mach/usleep.c: Include <unistd.h>.
1728         (usleep): Return void.
1730 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1732         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1733         decl to inhibit warning in if_freenameindex defn.
1735         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1737         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1739         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1740         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1741         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1742         * sysdeps/mach/usleep.c: Likewise.
1744         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1746         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1747         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1748         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1749         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1750         * sysdeps/mach/usleep.c (usleep): Likewise.
1751         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1752         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1753         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1754         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1756 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1758         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1759         (glob64): Fix typo.
1761         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1762         %p arg to fprintf, since `void *' is the right type already.
1764 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1766         * sysdeps/mach/hurd/getcwd.c
1767         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1768         for unknown root directories.
1769         (__getcwd): Return NULL when the current root directory could not
1770         be reached.
1772 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1774         * string/strsignal.c (strsignal): Count real-time signals from zero.
1777 See ChangeLog.8 for earlier changes.