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