Update.
[glibc.git] / ChangeLog
blob47d33bb04af7acc9bcc1bf6fe2541fe5066822b7
1 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
3         * io/pwd.c (main): Add call to mtrace.
5         * malloc/mtrace.pl: Quote @ in string.
7 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
9         * posix/wordexp.c (parse_arith): Fix memory leaks.
10         (exec_comm): Likewise.
11         (parse_param): Likewise.
12         (wordexp): Likewise.
13         (exec_comm): Reduce number of function return points.
14         (parse_param): Likewise.
15         (wordexp): Likewise.
17 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
19         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
20         yield three fields, not two.  Test both parameter expansion and
21         command substitution for correct field-splitting behaviour.
23         * posix/wordexp.c (w_emptyword): New function.
24         (parse_param): Use it.
25         (exec_comm): Likewise, for consistency with the way parse_param
26         splits fields.
27         (parse_param): Fix some memory leaks.
29 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
31         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
32         Don't mark asm `volatile'.
33         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
34         from the data cache too.  Assume it isn't in the instruction cache yet.
35         (__elf_machine_fixup_plt): Clear the modified address from the caches.
37 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
39         * sysdeps/generic/segfault.c (install_handler): Install signal
40         handler with SA_ONSTACK instead of setting the stack flags to
41         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
42         defined.
44 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
46         * signal/signal.h: Fix multiple inclusion guard to cover the
47         entire file.
48         * wcsmbs/wchar.h: Remove prototype of internal function
49         __mbsrtowcs.
50         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
51         arithmetic on `void *'.
53 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
55         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
57         * posix/wordexp.c (wordexp): Perform word-splitting instead of
58         field-splitting here.
59         (wordexp): If out of memory mid-word, free the word (but still
60         leave pwordexp alone for caller to see).
61         (parse_param): Allow for zero-length fields (smarter checking of
62         memory allocation failure).
63         (w_addword): Convert NULL words to "".
64         (wordexp): Convert left-over IFS characters to blanks (like bash).
66 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
68         * configure.in: Use test -f instead of test -e.
69         Patch by John Tobey <jtobey@banta-im.com>.
71         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
72         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
73         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
74         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
75         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
76         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
77         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
78         Patches by John Tobey <jtobey@banta-im.com>.
80         * time/strftime.c (my_strftime): Delay use of *tp values until
81         latest possible point to allow partly initialized structures
82         (e.g., from strptime).
84         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
85         and NATS-SEFI.
86         Define *-routines variables for new modules.
87         (distribute): Add .c files for new modules.
88         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
89         and nats-sefi.h.
90         Add rules for header generation.
91         * iconvdata/gconv-modules: Add entries for new modules.
92         * iconvdata/iso_10367-box.c: New file.
93         * iconvdata/mac-is.c: New file.
94         * iconvdata/nats-dano.c: New file.
95         * iconvdata/nats-sefi.c: New file.
97 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
99         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
100         loader if PIC is not defined.
102 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
104         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
105         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
106         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
107         and ISO_5428.
108         Define *-routines variables for new modules.
109         (distribute): Add .c files for new modules.
110         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
111         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
112         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
113         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
114         Add rules for header generation.
115         * iconvdata/gconv-modules: Add entries for new modules.
116         * iconvdata/csn_369103.c: New file.
117         * iconvdata/cwi.c: New file.
118         * iconvdata/dec-mcs.c: New file.
119         * iconvdata/ecma-cyrillic.c: New file.
120         * iconvdata/gost_19768-74.c: New file.
121         * iconvdata/greek-ccitt.c: New file.
122         * iconvdata/greek7-old.c: New file.
123         * iconvdata/greek7.c: New file.
124         * iconvdata/inis-8.c: New file.
125         * iconvdata/inis-cyrillic.c: New file.
126         * iconvdata/inis.c: New file.
127         * iconvdata/iso6937-2.c: New file.
128         * iconvdata/iso_2033.c: New file.
129         * iconvdata/iso_5427-ext.c: New file.
130         * iconvdata/iso_5427.c: New file.
131         * iconvdata/iso_5428.c: New file.
133         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
134         entries.
135         Convert U02dd correctly.
137 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
139         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
140         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
141         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
142         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
144 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
146         * resolv/res_init.c (res_init): Handle resolv.conf file with only
147         one nameserver correctly.  Patch by HJ Lu.
149         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
150         and ANSI_X3.110.
151         Define *-routines variables for new modules.
152         (distribute): Add .c files for new modules.
153         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
154         Add rules for hedaer generation.
155         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
156         * iconvdata/ansi_x3.110.c: New file.
157         * iconvdata/asmo_449.c: New file.
158         * iconvdata/baltic.c: New file.
159         * iconvdata/iec_p27-1.c: New file.
161         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
162         entries.
163         Convert U02dc correctly.
165         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
166         * math/atest-exp2.c: Likewise.
167         * math/atest-sincos.c: Likewise.
169         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
170         is defined.
172 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
174         * string/strcoll.c: Optimize a few expressions.
175         * string/strxfrm.c: Likewise.
177 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
179         * manual/locale.texi: Fix typos.
181 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
183         * stdlib/random_r.c (__setstate_r): Allow call with same state
184         array as currently used (PR libc/774).
186         * include/limits.h: Include gcc's header even if this file is
187         found more than once before it (PR libc/778)
189         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
190         (sysdep_headers): Remove sys/debugreg.h.
191         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
192         (sysdep_headers): Add sys/debugreg.h.
193         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
194         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
196         * stdio-common/tmpnam.c: Move local static variable buf to
197         toplevel and rename to tmpnam_buffer to ease debugging.
198         Patch by Joe Keane <jgk@jgk.org>.
199         Optimize s == NULL case a bit.
201         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
202         correction.
204 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
206         * resolv/res_init.c (res_init): Initialize _res.nscount and
207         _res.nsaddr.sin_port differently for the can when no loopback
208         is available to allow immediate timeout in non-networking environments.
209         Patch by Cristian Gafton <gafton@redhat.com>.
211 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
213         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
214         BAR and not EM DASH.
215         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
216         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
217         Fixes PR libc/717.
219 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
221         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
222         for test.
223         * timezone/tst-timezone.c (tests): Fix typo in last patch.
225         * time/tzfile.c (__tzfile_read): Handle case when there are no
226         transitions.  Set __timezone based on computed offset.
227         * time/tzset.c (tzset_internal): Set __timezone before returning.
229         * time/tzset.c (tzset_internal): Optimize handling of local string
230         copy.
232 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
234         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
235         libc/776).
237 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
239         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
240         (csqrt_test): Likewise.
241         * sysdeps/powerpc/bits/fenv.h: Add parens.
243 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
245         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
246         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
247         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
249 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
251         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
252         the special `-1' pointer.
254 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
256         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
257         inline.
259 1998-09-07  Paul Eggert  <eggert@twinsun.com>
261         * time/mktime.c (__EXTENSIONS__): Define if not defined.
262         (_REENTRANT): Remove.  It has undesirable consequences in
263         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
264         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
265         is what we want.
266         * time/strftime.c: Likewise.
268 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
270         * elf/dl-error.c: Fix spelling.
272 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
274         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
275         * stdio-common/_itoa.c: Likewise.
276         * stdio-common/printf_fp.c: Likewise.
277         * stdio-common/vfscanf.c: Likewise.
278         * wcsmbs/wcstok.c: Likewise.
279         * sysdeps/generic/glob.c: Likewise.
280         * posix/getopt.c: Likewise.
281         * sysdeps/posix/getaddrinfo.c: Likewise.
282         * posix/wordexp.c: Likewise.
283         * io/ftw.c: Likewise.
284         * io/fts.c: Likewise.
285         * misc/getpass.c: Likewise.
286         * iconv/gconv_conf.c: Likewise.
287         * argp/argp-fmtstream.c: Likewise.
288         * argp/argp-help.c: Likewise.
289         * elf/dl-load.c: Likewise.
290         * locale/programs/stringtrans.c: Likewise.
291         * catgets/gencat.c: Likewise.
292         * posix/getconf.c: Likewise.
293         * iconv/gconv_conf.c: Likewise.
294         * iconv/iconv_prog.c: Likewise.
296         * string/strcoll.c: Optimize a few expressions.
297         * string/strxfrm.c: Likewise.
299 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
301         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
302         level to avoid uninit variable warning.
304 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
306         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
307         instead of _dl_default_scope[2] as argument to _dl_init_next.
309         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
310         C9x macro.
312 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
314         Fix compatibility problems introduced in last change.
315         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
316         defined.
317         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
318         -DWEAK_GMON_START to CFLAGS-initfini.s.
320         * elf/dl-object.c (_dl_new_object): Store map address in
321         _dl_loaded if _dl_loaded is NULL.
322         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
324         * sysdeps/generic/setrlimit64.c: Remove stub warning.
326 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
328         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
329         quiet.
330         * db2/btree/bt_cursor.c: Likewise.
331         * db2/common/db_region.db_c: Likewise.
332         * db2/common/db_salloc.db_c: Likewise.
333         * db2/db/db.c: Likewise.
334         * db2/db/db_rec.c: Likewise.
335         * db2/hash/hash.c: Likewise.
336         * db2/hash/hash_page.c: Likewise.
337         * db2/hash/hash_rec.c: Likewise.
338         * db2/log/log_findckp.c: Likewise.
339         * db2/log/log_get.c: Likewise.
340         * db2/log/log_put.c: Likewise.
341         * db2/mp/mp_fget.c: Likewise.
342         * db2/mp/mp_fput.c: Likewise.
343         * db2/mp/mp_region.c: Likewise.
344         * stdlib/strtol.c: Likewise.
345         * string/strcoll.c: Likewise.
346         * string/strxfrm.c: Likewise.
347         * argp/argp-help.c: Likewise.
348         * argp/argp-parse.c: Likewise.
349         * resolv/res_debug.c: Likewise.
351 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
353         * math/tgmath.h (scalb): Only define for __USE_MISC or
354         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
356 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
358         * libio/stdio.h: Fix comment.
360         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
361         __USE_ISOC9X.
363 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
365         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
367         * elf/dl-open.c: Quiet -Wparentheses warnings.
368         * iconvdata/johab.c: Likewise.
369         * iconvdata/uhc.c: Likewise.
370         * inet/inet_net.c: Likewise.
371         * io/fts.c: Likewise.
372         * locale/newlocale.c: Likewise.
373         * misc/getttyent.c: Likewise.
374         * misc/mntent_r.c: Likewise.
375         * misc/ttyslot.c: Likewise.
376         * nscd/nscd_conf.c: Likewise.
377         * nss/nsswitch.c: Likewise.
378         * resolv/gethnamaddr.c: Likewise.
379         * resolv/nsap_addr.c: Likewise.
380         * resolv/res_debug.c: Likewise.
381         * stdio-common/_itoa.c: Likewise.
382         * stdlib/strtod.c: Likewise.
383         * string/strverscmp.c: Likewise.
384         * sunrpc/svc.c: Likewise.
385         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
386         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
387         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
388         * sysdeps/posix/getaddrinfo.c: Likewise.
390 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
392         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
393         for use of global scope.
394         * elf/dlvsym.c (dlvsym_doit): Likewise.
396 1998-09-02  Paul Eggert  <eggert@twinsun.com>
398         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
399         copy the redundant bytes at the end of the format as-is; don't
400         just copy their first byte and then rescan, as that might get
401         us an encoding error.
402         Account correctly for the length of multibyte sequences in the
403         format.
405 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
407         * posix/wordexp-test.c: Add tests for different IFS values.
408         Change unquoted-newline test so that newline is not in IFS.
410         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
411         determining IFS characters.  Return WRDE_BADCHAR for unquoted
412         special characters _except_ if they are separators.
414 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
416         * include/tgmath.h: New file.
418         * libio/stdio.h: Correct reversed #ifs.
419         Patch by Zack Weinberg.
421         * manual/creature.texi: Better explain reason for feature select
422         macros.
423         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
425 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
427         * include/alloca.h: Add multiple-inclusion guard.
428         * include/db.h: Likewise.
429         * include/db_185.h: Likewise.
430         * include/dlfcn.h: Likewise.
431         * include/fcntl.h: Likewise.
432         * include/grp.h: Likewise.
433         * include/libintl.h: Likewise.
434         * include/mntent.h: Likewise.
435         * include/pwd.h: Likewise.
436         * include/sched.h: Likewise.
437         * include/search.h: Likewise.
438         * include/setjmp.h: Likewise.
439         * include/shadow.h: Likewise.
440         * include/signal.h: Likewise.
441         * include/stdio.h: Likewise.
442         * include/stdlib.h: Likewise.
443         * include/string.h: Likewise.
444         * include/termios.h: Likewise.
445         * include/time.h: Likewise.
446         * include/ulimit.h: Likewise.
447         * include/utmp.h: Likewise.
448         * include/wchar.h: Likewise.
449         * include/sys/file.h: Likewise.
450         * include/sys/gmon.h: Likewise.
451         * include/sys/ioctl.h: Likewise.
452         * include/sys/mman.h: Likewise.
453         * include/sys/resource.h: Likewise.
454         * include/sys/select.h: Likewise.
455         * include/sys/socket.h: Likewise.
456         * include/sys/statfs.h: Likewise.
457         * include/sys/time.h: Likewise.
458         * include/sys/times.h: Likewise.
459         * include/sys/wait.h: Likewise.
461 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
463         * version.h (VERSION): Bump to 2.0.96.
465         Rewrite runtime linker to be truly thread-safe.  There is now no
466         global variable specifying the scope.  We create all needed
467         scopes at the time the link maps are created.
468         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
469         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
470         l_symbolic_searchlist, l_scope, and l_local_scope elements in
471         struct link_map.
472         * elf/dl-close.c: Rewritten accordingly.
473         * elf/dl-deps.c: Likewise.
474         * elf/dl-error.c: Likewise.
475         * elf/dl-init.c: Likewise.
476         * elf/dl-load.c: Likewise.
477         * elf/dl-lookup.c: Likewise.
478         * elf/dl-object.c: Likewise.
479         * elf/dl-open.c: Likewise.
480         * elf/dl-reloc.c: Likewise.
481         * elf/dl-runtime.c: Likewise.
482         * elf/dl-support.c: Likewise.
483         * elf/dl-symbol.c: Likewise.
484         * elf/dl-version.c: Likewise.
485         * elf/dlsym.c: Likewise.
486         * elf/dlvsym.c: Likewise.
487         * elf/ldsodefs.h: Likewise.
488         * elf/rtld.c: Likewise.
489         * iconv/gconv_dl.c: Likewise.
490         * nss/nsswitch.c: Likewise.
491         * sysdeps/i386/dl-machine.h: Likewise.
492         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
494         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
495         Define RTLD_DEFAULT.
497 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
499         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
500         __getopt_clean_environment with __environ instead of envp.
502 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
504         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
506         * string/argz-extract.c (__argz_extract): Add de-consting cast for
507         setting results.
509         * string/argz.h (argz_next): Add de-consting cast for return.
510         * string/argz-next.c (__argz_next): Likewise.
512         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
513         Don't add netinet/udp.h, netinet/ip_icmp.h here.
514         * sysdeps/gnu/Makefile: Do it here instead.
515         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
516         * sysdeps/gnu/Dist: ... to here.
518         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
519         sysdeps/unix/sysv/linux/netinet/tcp.h,
520         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
522 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
524         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
525         * string/argz-next.c, string/argz-extract.c: Fix defns.
527 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
529         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
531         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
532         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
533         * sysdeps/generic/sysd-stdio.c: Likewise.
535 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
537         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
538         (_dl_map_object_from_fd): Make NAME argument const.
539         Remove last parameter in _dl_new_object call.
540         (print_search_path): Correct construction of composed path name.
541         (_dl_map_object): Prevent looking at RPATH of the main map twice.
542         Remove last parameter in _dl_new_object call.
543         * elf/dl-object.c: Remove last parameter.  Determine whether create
544         origin entry based on empty realname.  Handle file in root directory
545         correctly.
546         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
547         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
548         Remove last parameter in _dl_new_object call.
549         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
550         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
552 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
554         * elf/dl-close.c (_dl_close): Add more comments and correct some.
555         Free l_searchlist and l_dupsearchlist.
557         * debug/catchsegv.sh: Add one more pair of quotes.
559 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
561         * elf/dl-load.c (add_name_to_object): Change return type to void and
562         make NAME parameter const.  Allocate room for NAME in same memory
563         block used for l_libname entry.
564         (_dl_map_object_from_fd): Don't free NAME on failure.
565         (map_segment): Pass SONAME to add_name_to_object, not a copy.
566         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
567         _dl_map_object_from_fd.
568         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
569         memory block used for l_libname entry.
570         * elf/dl-close.c: Adjust free()ing for this change.
572 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
574         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
576         * malloc/mtrace.c: Add bug report address.  Update email address.
577         Add more @XXX@ to print correct address size.
579         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
580         really initialized.
582         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
583         for munmap call instead of examining phdr again.
584         Free all malloc()ed strings and arrays.
586 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
588         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
589         dl-machine.h.
590         * sysdeps/powerpc/dl-machine.c: New file.
591         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
592         files.  Revise ELF_PREFERRED_ADDRESS to take account of
593         the new mapping information (fixes bug involving huge bloated
594         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
595         * sysdeps/powerpc/dl-start.S: New file.
597         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
598         l_map_end.
599         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
600         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
601         others.  Call elf_dynamic_do_##reloc only once (to save even more
602         space).
603         * elf/link.h: Add new members l_map_start and l_map_end to keep
604         track of the memory map.
605         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
606         the executable.
608 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
610         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
611         Reported by Andreas Jaeger.
613         * posix/glob.h: Use __size_t instead of size_t in definitions and
614         make sure this is defined.
616 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
618         * manual/locale.texi: Almost complete rewrite.  Document more functions
619         and functionality.
620         * manual/arith.texi: Correct reference.
621         * manual/string.texi: Pretty printing.
623         * manual/texinfo.tex: Update from last available version.
625 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
627         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
628         invalid password.
629         (_nss_nis_getpwuid_r): Likewise.
630         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
632         * inet/rcmd.c: Implement netgroup support.
633         Patch by Dick Streefland <dick_streefland@tasking.com>.
635 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
637         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
638         object on the list is removed.  Don't use this code for PIC.
639         Reported by HJ Lu [PR libc/770].
641 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
643         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
645         * include/stdio.h: Add __vsscanf.
647         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
648         __USE_ISOC9X.
649         Remove __vsscanf declaration.
650         Always declare fgetpos and fsetpos.
652         * math/math.h: Define isinf as macro.
653         * math/bits/mathcalls.h: Change to declare __isinf all the time.
654         Don't declare scalb for ISO C 9x.
656         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
658         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
660         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
661         sys/ucontext.h.
663         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
664         macros.
666 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
668         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
669         Reported by jreising@frequentis.com [PR libc/767].
671 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
673         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
674         fl.l_start at beginning of function.
675         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
677 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
679         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
680         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
682         * nscd/nscd.init: Make it work in RedHat systems.
683         Patch by Christian Gafton.
685 1998-08-29  Philip Blundell  <philb@gnu.org>
687         * catgets/Makefile: Don't try to run test programs when
688         cross-compiling.
690 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
692         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
693         Reported by Zack Weinberg.
695 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
697         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
698         * elf/Makefile (distribute): Remove ldd.sh.in.
700 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
702         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
703         variable.
705 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
707         * sysdeps/i386/register-dump.h: Move to ...
708         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
710 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
712         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
713         with load address, not map address.
714         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
715         parameter and use this value.
716         * sysdeps/arm/dl-machine.h: Likewise.
717         * sysdeps/i386/dl-machine.h: Likewise.
718         * sysdeps/m68k/dl-machine.h: Likewise.
719         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
720         parameter.
721         * sysdeps/powerpc/dl-machine.h: Likewise
722         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
723         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
725 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
727         * elf/rtld.c (process_envvars): Fix copy&paste error.
729         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
730         memalign hook.
731         (realloc_hook_ini): Don't overwrite memalign hook.
732         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
733         Reported by Philippe Troin <phil@fifi.org>.
735         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
736         Patch by Philippe Troin <phil@fifi.org>.
738 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
740         * sysdeps/generic/segfault.c (install_handler): Protect the
741         non-POSIX signals with #ifdef.
742         (catch_segfault): Add missing mode parameter for open.
743         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
744         other termination signals.
746 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
748         * debug/Makefile (distribute): Add register-dump.h.
750 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
752         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
754 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
756         * elf/Makefile (distribute): Add dl-origin.h.
757         * sysdeps/generic/dl-origin.h: New file.
758         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
759         * elf/link.h (struct link_map): Add l_origin field.
760         * elf/dl-load.c (expand_dynamic_string_token): New function.
761         (decompose_path): Remove WHERE argument, take link map pointer instead.
762         Call expand_dynamic_string_token instead of local_strdup to make copy
763         of rpath.
764         (_dl_init_paths): Call decompose_path with correct argument.
765         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
766         not defined.
767         Check EI_OSABI and EI_ABIVERSION fields in header.
768         Call _dl_new_object with extra argument.
769         (_dl_map_object): Call decompose_path with correct argument.
770         Call expand_dynamic_string_token instead of local_strdup to also
771         expand DST.
772         Call _dl_new_object with extra argument.
773         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
774         but the main one if new argument is nonzero.
775         * elf/ldsodefs.h: Adjust for _dl_new_object change.
776         * elf/dl-support.c: Define _dl_origin_path.
777         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
778         (dl_main): Call _dl_new_object with extra argument.
780         * elf/dl-close (_dl_close): Free l_name and l_origin.
782         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
783         modifier in asm, not c.
785         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
786         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
788 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
790         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
791         variable so that map can be freed.
792         Reported by Philippe Troin <phil@fifi.org>.
794         * elf/dl-open.c (dl_open_worker): Correct test for extending global
795         scope array.
796         Patch by Philippe Troin <phil@fifi.org>.
798 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
800         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
801         Don't call writev() with a 100-element vector.
802         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
803         return address.
805         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
806         In particular, set __libc_stack_end.
807         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
808         undefined.  Fix copyright notice.
810 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
812         * math/Makefile (gmp-objs): New variable.
813         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
814         Depend on it.
815         (tests): Add atest-exp atest-sincos atest-exp2.
816         (tests-static): Remove atest-exp atest-sincos atest-exp2.
818 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
820         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
821         to toplevel.
822         (_dl_unload_cache): New function.
823         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
824         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
825         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
827         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
828         Correct comment for O_LARGEFILE.
829         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
830         Change O_LARGEFILE to correct value.
832 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
834         * libio/iogetline.c (_IO_getline_info): Don't read anything for
835         N == 0.  Patch by HJ Lu.
837 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
839         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
841 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
843         * argp/argp.h: Use __inline__ not inline.
845         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
846         an input register as being clobbered.
847         * sysdeps/i386/memset.c (memset): Likewise.
848         * sysdeps/i386/bzero.c (__bzero): Likewise.
849         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
851 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
853         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
854         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
856 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
858         * debug/catchsegv.sh: Handle text preceding backtrace better.
859         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
860         to be installed for other signals than SIGSEGV.
861         * sysdeps/generic/register-dump.h: New file.
862         * sysdeps/i386/register-dump.h: New file.
863         * sysdeps/powerpc/register-dump.h: New file.
865         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
866         sigcontextinfo.h.
867         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
869 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
871         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
873 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
875         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
876         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
877         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
878         getresuid, getresgid.
880 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
882         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
883         pointer in userland.
885 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
887         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
888         and fix value.
890 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
892         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
893         over arguments Bourne shell compatible.  Don't exit unsuccessfully
894         if nonelf returns successfully.  Avoid duplicating most of the
895         script.
896         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
897         around $file.
899 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
901         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
902         sys/reg.h.
903         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
904         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
906 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
908         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
909         __modify_ldt and modify_ldt.
910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
912         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
913         Use orl $-1 instead of movl $-1 to save two bytes.
914         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
915         Likewise.
917 1998-08-17  H.J. Lu  <hjl@gnu.org>
919         * libio/Versions (_IO_do_write, _IO_file_attach,
920         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
921         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
922         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
923         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
925         * libio/fileops.c (_IO_do_write, _IO_file_attach,
926         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
927         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
928         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
929         _IO_file_write, _IO_file_xsputn): Change the prefix to
930         "_IO_new_". Added to GLIBC_2.1.
932         * libio/libioP.h (_IO_do_write, _IO_file_attach,
933         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
934         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
935         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
936         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
937         "_IO_new_".
939         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
940         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
941         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
942         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
943         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
945 1998-08-23  Richard Henderson  <rth@cygnus.com>
947         * Makeconfig (LDFLAGS): Remove.
949         * csu/initfini.c: Return to .text before __gmon_start__.
951         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
952         (STO_MIPS_*): Rename from STO_*.
953         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
954         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
956         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
957         (main): e3s is negative on zero.
958         * math/atest-exp2.c: Likewise.
959         * math/atest-sincos.c: Likewise.
961 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
963         * Makerules (install): Add comment about absolute paths.
965 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
967         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
968         array to NUL to handle maxlen==1 case correctly.
969         Patch by HJ Lu.
971 1998-08-23  Richard Henderson  <rth@cygnus.com>
973         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
974         * sysdeps/alpha/elf/crtend.S: Likewise.
975         * sysdeps/alpha/elf/start.S: Likewise.
977         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
978         non-standard pv usage.
980         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
981         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
982         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
983         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
984         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
985         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
986         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
987         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
988         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
989         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
990         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
992         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
993         a finite non-denormal, deferring to the full IEEE version otherwise.
995         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
996         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
997         * sysdeps/alpha/fpu/s_floor.c: New.
998         * sysdeps/alpha/fpu/s_floorf.c: New.
999         * sysdeps/alpha/fpu/s_ceil.c: New.
1000         * sysdeps/alpha/fpu/s_ceilf.c: New.
1002 1998-08-22  Philip Blundell  <philb@gnu.org>
1004         * sysdeps/arm/bits/string.h: New file.
1006 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1008         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1009         document it.
1011         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1012         test for recent Linux 2.1.100+ headers.
1014 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1016         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1018 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1020         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1022 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1024         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1025         * elf/Makefile (ldso_install): Likewise.
1027 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1029         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1030         create weak alias.
1031         * include/db.h: Declare __nss_db_open.
1032         * db2/Versions: Export it.
1034         * db2/makedb.c: Convert to use db2 API.
1035         * nss/nss_db/db-XXX.c: Likewise.
1036         * nss/nss_db/db-netgrp.c: Likewise.
1037         * nss/nss_db/db-alias.c: Likewise.
1038         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1040 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1042         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1043         sys_setresuid, already built automatically (or not).
1044         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1045         instead of __syscall_setresuid and add back setresuid.
1046         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1047         __syscall_setresuid.
1049 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1051         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1053 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1055         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1056         BASH-ONLY marked region.
1057         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1059 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1061         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1062         _IO_SYSSEEK fails.
1064         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1066         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1067         element.
1069 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1071         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1072         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1073         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1074         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1075         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1076         those magic comments, and to use /bin/sh for @BASH@.
1077         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1078         * elf/ldd.sh.in: File removed.
1080 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1082         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1083         cast them to unsigned long int.
1084         * pwd/putpwent.c (putpwent): Likewise.
1085         Patch by John Tobey <jtobey@banta-im.com>.
1087 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1089         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1090         _IO_pos_BAD.
1092 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1094         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1095         _IO_SYSSEEK fails.
1097 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1099         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1100         Add umount and umount2.
1101         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1102         * sysdeps/unix/sysv/linux/umount.S: New file.
1103         * sysdeps/unix/sysv/linux/umount2.S: New file.
1104         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1105         Define MNT_FORCE.
1107         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1108         Add sys/sendfile.h.
1109         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1110         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1112         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1114         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1115         sendfile.
1117 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1119         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1120         * elf/ldd.bash.in: Likewise.
1122         * elf/sln.c: Avoid warning for no main prototype.
1124         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1125         O_WRITE.
1126         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1129         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1130         F_GETSIG.
1131         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1135 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1137         * sysdeps/arm/fpu/ieee754.h: Move to...
1138         * sysdeps/arm/ieee754.h: ... here.
1140         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1141         Don't set the condition flags unnecessarily.
1142         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1143         registers correctly.
1145         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1146         (patch from Scott Bambrough).
1148         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1150         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1151         NULL, just call it unconditionally.
1152         (__gmon_start__): Provide stub version as a weak symbol.
1154 1998-07-30  Philip Blundell  <philb@gnu.org>
1156         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1157         by Scott Bambrough)
1159         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1160         like `@' in .type directives.
1162         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1163         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1165         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1167 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1169         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1170         (F_GETOWN): Likewise.
1172         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1173         Linux 2.1.117).
1175 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1177         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1178         already defined.
1180 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1182         * include/features.h: Define __USE_EXTERN_INLINES for recent
1183         enough gcc.
1184         * argp/argp.h: Define extern inline functions only if
1185         __USE_EXTERN_INLINES is defined.
1186         * libio/stdio.h: Likewise.
1187         * math/math.h: Likewise.
1188         * stdlib/stdlib.h: Likewise.
1189         * string/argz.h: Likewise.
1190         * sysdeps/generic/bits/sigset.h: Likewise.
1191         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1192         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1193         * sysdeps/wordsize-32/inttypes.h: Likewise.
1194         * sysdeps/wordsize-64/inttypes.h: Likewise.
1195         * wcsmbs/wchar.h: Likewise.
1197         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1198         to allow compilation without optimization.
1200 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1202         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1203         more entries.
1204         * nis/nss_compat/compat-initgroups.c: Likewise.
1205         * nis/nss_compat/compat-pwd.c: Likewise.
1206         * nis/nss_compat/compat-spwd.c: Likewise.
1207         * nis/nss_nis/nis-alias.c: Likewise.
1208         * nis/nss_nis/nis-ethers.c: Likewise.
1209         * nis/nss_nis/nis-grp.c: Likewise.
1210         * nis/nss_nis/nis-hosts.c: Likewise.
1211         * nis/nss_nis/nis-initgroups.c: Likewise.
1212         * nis/nss_nis/nis-network.c: Likewise.
1213         * nis/nss_nis/nis-proto.c: Likewise.
1214         * nis/nss_nis/nis-pwd.c: Likewise.
1215         * nis/nss_nis/nis-rpc.c: Likewise.
1216         * nis/nss_nis/nis-service.c: Likewise.
1217         * nis/nss_nis/nis-spwd.c: Likewise.
1219         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1221         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1223         * nis/yp_xdr.c: Remove 1024 byte limit.
1224         * nis/ypupdate_xdr.c: Likewise.
1226         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1227         wrong data.
1229 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1231         * Rules (binaries-static, binaries-shared static pattern rules):
1232         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1234         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1235         this here, overriding Makeconfig generic value so we link against
1236         the RPC libs.
1238 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1240         * posix/tstgetopt.c (options): Add NULL entry at end
1241         Patch by Adrian Miranda <ade@psg.com>.
1243 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1245         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1246         to 9.
1248 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1250         * elf/elf.h: Add PPC Diab relocations.
1252         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1254 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1256         * manual/texinfo.tex: Update.
1258 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1260         * sysdeps/powerpc/backtrace.c: New file.
1262 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1264         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1265         sigjmp_save.
1266         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1268 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1270         * Makefile (install-symbolic-link): Fix spelling.
1272 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1274         * elf/elf.h (SHT_HIOS): Fix value.
1276 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1278         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1279         part of the expansion, this is undefined by the standard.
1281 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1283         * posix/getconf.c: Add support for systems with incomplete confname.h.
1285         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1287         * sysdeps/posix/wait3.c: Make it work.
1289 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1291         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1292         (elf/ldso_install): Remove.
1294         * elf/Makefile (distribute): Add sln.c.
1295         (others): Add sln.
1296         (others-static): Add sln.
1297         (install-rootsbin): Add sln.
1298         (others-static): Add sln.
1299         (ldso_install): Remove.
1301 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1303         * Makerules (install-clean-symbolic-link-list): Make phony.
1304         * Makefile (install-symbolic-link): Make phony.  Depend on
1305         subdir_install for parallel makes.
1308 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1310         * elf/Makefile (distribute): Add sln.c
1312 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1314         * elf/sln.c: New file.
1316         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1317         (install-clean-symbolic-link-list): New target.
1318         (install): Depend on install-clean-symbolic-link-list.
1319         (make-shlib-link): Changed for $(symbolic-link-list).
1321         * Makefile (install-symbolic-link): New target.
1322         (install): Depend on install-symbolic-link.
1324 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1326         * include/unistd.h: Protect against multiple inclusion.
1328         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1329         is defined, not is glob is defined.
1330         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1332 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1334         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1335         xdr_string for ut_line, ut_name and ut_host.
1337 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1339         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1340         /var/mail in accordance with FHS 2.0.
1341         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1343 1998-08-12  Richard Henderson  <rth@cygnus.com>
1345         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1346         Update aliases for cancelation.
1348         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1349         playing with symbol versions.
1351 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1353         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1354         multiple inclusion protection.
1355         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1356         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1357         define all these to 1.
1358         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1360 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1362         * sysdeps/mach/usleep.c: Include <unistd.h>.
1363         (usleep): Return void.
1365 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1367         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1368         decl to inhibit warning in if_freenameindex defn.
1370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1372         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1374         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1375         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1376         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1377         * sysdeps/mach/usleep.c: Likewise.
1379         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1381         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1382         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1383         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1384         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1385         * sysdeps/mach/usleep.c (usleep): Likewise.
1386         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1387         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1388         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1389         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1391 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1393         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1394         (glob64): Fix typo.
1396         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1397         %p arg to fprintf, since `void *' is the right type already.
1399 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1401         * sysdeps/mach/hurd/getcwd.c
1402         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1403         for unknown root directories.
1404         (__getcwd): Return NULL when the current root directory could not
1405         be reached.
1407 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1409         * string/strsignal.c (strsignal): Count real-time signals from zero.
1412 See ChangeLog.8 for earlier changes.