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