Update.
[glibc.git] / ChangeLog
blob8b270df5a7516ad6ab20f62bd29b147de5f38494
1 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
3         * stdlib/random_r.c (__setstate_r): Allow call with same state
4         array as currently used (PR libc/774).
6         * include/limits.h: Include gcc's header even if this file is
7         found more than once before it (PR libc/778)
9         * sysdeps/unix/sysv/linux/Makefile (subdirs==misc)
10         [sysdep_headers]: Remove sys/debugreg.h.
11         * sysdeps/unix/sysv/linux/i386/Makefile (subdirs==misc)
12         [sysdep_headers]: Add sys/debugreg.h.
13         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
14         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
16         * stdio-common/tmpnam.c: Move local static variable buf to
17         toplevel and rename to tmpnam_buffer to ease debugging.
18         Patch by Joe Keane <jgk@jgk.org>.
19         Optimize s == NULL case a bit.
21         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
22         correction.
24 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
26         * resolv/res_init.c (res_init): Initialize _res.nscount and
27         _res.nsaddr.sin_port differently for the can when no loopback
28         is available to allow immediate timeout in non-networking environments.
29         Patch by Cristian Gafton <gafton@redhat.com>.
31 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
33         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
34         BAR and not EM DASH.
35         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
36         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
37         Fixes PR libc/717.
39 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
41         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
42         for test.
43         * timezone/tst-timezone.c (tests): Fix typo in last patch.
45         * time/tzfile.c (__tzfile_read): Handle case when there are no
46         transitions.  Set __timezone based on computed offset.
47         * time/tzset.c (tzset_internal): Set __timezone before returning.
49         * time/tzset.c (tzset_internal): Optimize handling of local string
50         copy.
52 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
54         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
55         libc/776).
57 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
59         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
60         (csqrt_test): Likewise.
61         * sysdeps/powerpc/bits/fenv.h: Add parens.
63 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
65         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
66         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
67         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
69 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
71         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
72         the special `-1' pointer.
74 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
76         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
77         inline.
79 1998-09-07  Paul Eggert  <eggert@twinsun.com>
81         * time/mktime.c (__EXTENSIONS__): Define if not defined.
82         (_REENTRANT): Remove.  It has undesirable consequences in
83         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
84         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
85         is what we want.
86         * time/strftime.c: Likewise.
88 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
90         * elf/dl-error.c: Fix spelling.
92 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
94         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
95         * stdio-common/_itoa.c: Likewise.
96         * stdio-common/printf_fp.c: Likewise.
97         * stdio-common/vfscanf.c: Likewise.
98         * wcsmbs/wcstok.c: Likewise.
99         * sysdeps/generic/glob.c: Likewise.
100         * posix/getopt.c: Likewise.
101         * sysdeps/posix/getaddrinfo.c: Likewise.
102         * posix/wordexp.c: Likewise.
103         * io/ftw.c: Likewise.
104         * io/fts.c: Likewise.
105         * misc/getpass.c: Likewise.
106         * iconv/gconv_conf.c: Likewise.
107         * argp/argp-fmtstream.c: Likewise.
108         * argp/argp-help.c: Likewise.
109         * elf/dl-load.c: Likewise.
110         * locale/programs/stringtrans.c: Likewise.
111         * catgets/gencat.c: Likewise.
112         * posix/getconf.c: Likewise.
113         * iconv/gconv_conf.c: Likewise.
114         * iconv/iconv_prog.c: Likewise.
116         * string/strcoll.c: Optimize a few expressions.
117         * string/strxfrm.c: Likewise.
119 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
121         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
122         level to avoid uninit variable warning.
124 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
126         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
127         instead of _dl_default_scope[2] as argument to _dl_init_next.
129         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
130         C9x macro.
132 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
134         Fix compatibility problems introduced in last change.
135         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
136         defined.
137         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
138         -DWEAK_GMON_START to CFLAGS-initfini.s.
140         * elf/dl-object.c (_dl_new_object): Store map address in
141         _dl_loaded if _dl_loaded is NULL.
142         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
144         * sysdeps/generic/setrlimit64.c: Remove stub warning.
146 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
148         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
149         quiet.
150         * db2/btree/bt_cursor.c: Likewise.
151         * db2/common/db_region.db_c: Likewise.
152         * db2/common/db_salloc.db_c: Likewise.
153         * db2/db/db.c: Likewise.
154         * db2/db/db_rec.c: Likewise.
155         * db2/hash/hash.c: Likewise.
156         * db2/hash/hash_page.c: Likewise.
157         * db2/hash/hash_rec.c: Likewise.
158         * db2/log/log_findckp.c: Likewise.
159         * db2/log/log_get.c: Likewise.
160         * db2/log/log_put.c: Likewise.
161         * db2/mp/mp_fget.c: Likewise.
162         * db2/mp/mp_fput.c: Likewise.
163         * db2/mp/mp_region.c: Likewise.
164         * stdlib/strtol.c: Likewise.
165         * string/strcoll.c: Likewise.
166         * string/strxfrm.c: Likewise.
167         * argp/argp-help.c: Likewise.
168         * argp/argp-parse.c: Likewise.
169         * resolv/res_debug.c: Likewise.
171 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
173         * math/tgmath.h (scalb): Only define for __USE_MISC or
174         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
176 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
178         * libio/stdio.h: Fix comment.
180         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
181         __USE_ISOC9X.
183 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
185         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
187         * elf/dl-open.c: Quiet -Wparentheses warnings.
188         * iconvdata/johab.c: Likewise.
189         * iconvdata/uhc.c: Likewise.
190         * inet/inet_net.c: Likewise.
191         * io/fts.c: Likewise.
192         * locale/newlocale.c: Likewise.
193         * misc/getttyent.c: Likewise.
194         * misc/mntent_r.c: Likewise.
195         * misc/ttyslot.c: Likewise.
196         * nscd/nscd_conf.c: Likewise.
197         * nss/nsswitch.c: Likewise.
198         * resolv/gethnamaddr.c: Likewise.
199         * resolv/nsap_addr.c: Likewise.
200         * resolv/res_debug.c: Likewise.
201         * stdio-common/_itoa.c: Likewise.
202         * stdlib/strtod.c: Likewise.
203         * string/strverscmp.c: Likewise.
204         * sunrpc/svc.c: Likewise.
205         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
206         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
207         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
208         * sysdeps/posix/getaddrinfo.c: Likewise.
210 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
212         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
213         for use of global scope.
214         * elf/dlvsym.c (dlvsym_doit): Likewise.
216 1998-09-02  Paul Eggert  <eggert@twinsun.com>
218         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
219         copy the redundant bytes at the end of the format as-is; don't
220         just copy their first byte and then rescan, as that might get
221         us an encoding error.
222         Account correctly for the length of multibyte sequences in the
223         format.
225 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
227         * posix/wordexp-test.c: Add tests for different IFS values.
228         Change unquoted-newline test so that newline is not in IFS.
230         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
231         determining IFS characters.  Return WRDE_BADCHAR for unquoted
232         special characters _except_ if they are separators.
234 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
236         * include/tgmath.h: New file.
238         * libio/stdio.h: Correct reversed #ifs.
239         Patch by Zack Weinberg.
241         * manual/creature.texi: Better explain reason for feature select
242         macros.
243         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
245 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
247         * include/alloca.h: Add multiple-inclusion guard.
248         * include/db.h: Likewise.
249         * include/db_185.h: Likewise.
250         * include/dlfcn.h: Likewise.
251         * include/fcntl.h: Likewise.
252         * include/grp.h: Likewise.
253         * include/libintl.h: Likewise.
254         * include/mntent.h: Likewise.
255         * include/pwd.h: Likewise.
256         * include/sched.h: Likewise.
257         * include/search.h: Likewise.
258         * include/setjmp.h: Likewise.
259         * include/shadow.h: Likewise.
260         * include/signal.h: Likewise.
261         * include/stdio.h: Likewise.
262         * include/stdlib.h: Likewise.
263         * include/string.h: Likewise.
264         * include/termios.h: Likewise.
265         * include/time.h: Likewise.
266         * include/ulimit.h: Likewise.
267         * include/utmp.h: Likewise.
268         * include/wchar.h: Likewise.
269         * include/sys/file.h: Likewise.
270         * include/sys/gmon.h: Likewise.
271         * include/sys/ioctl.h: Likewise.
272         * include/sys/mman.h: Likewise.
273         * include/sys/resource.h: Likewise.
274         * include/sys/select.h: Likewise.
275         * include/sys/socket.h: Likewise.
276         * include/sys/statfs.h: Likewise.
277         * include/sys/time.h: Likewise.
278         * include/sys/times.h: Likewise.
279         * include/sys/wait.h: Likewise.
281 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
283         * version.h (VERSION): Bump to 2.0.96.
285         Rewrite runtime linker to be truly thread-safe.  There is now no
286         global variable specifying the scope.  We create all needed
287         scopes at the time the link maps are created.
288         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
289         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
290         l_symbolic_searchlist, l_scope, and l_local_scope elements in
291         struct link_map.
292         * elf/dl-close.c: Rewritten accordingly.
293         * elf/dl-deps.c: Likewise.
294         * elf/dl-error.c: Likewise.
295         * elf/dl-init.c: Likewise.
296         * elf/dl-load.c: Likewise.
297         * elf/dl-lookup.c: Likewise.
298         * elf/dl-object.c: Likewise.
299         * elf/dl-open.c: Likewise.
300         * elf/dl-reloc.c: Likewise.
301         * elf/dl-runtime.c: Likewise.
302         * elf/dl-support.c: Likewise.
303         * elf/dl-symbol.c: Likewise.
304         * elf/dl-version.c: Likewise.
305         * elf/dlsym.c: Likewise.
306         * elf/dlvsym.c: Likewise.
307         * elf/ldsodefs.h: Likewise.
308         * elf/rtld.c: Likewise.
309         * iconv/gconv_dl.c: Likewise.
310         * nss/nsswitch.c: Likewise.
311         * sysdeps/i386/dl-machine.h: Likewise.
312         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
314         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
315         Define RTLD_DEFAULT.
317 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
319         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
320         __getopt_clean_environment with __environ instead of envp.
322 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
324         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
326         * string/argz-extract.c (__argz_extract): Add de-consting cast for
327         setting results.
329         * string/argz.h (argz_next): Add de-consting cast for return.
330         * string/argz-next.c (__argz_next): Likewise.
332         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
333         Don't add netinet/udp.h, netinet/ip_icmp.h here.
334         * sysdeps/gnu/Makefile: Do it here instead.
335         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
336         * sysdeps/gnu/Dist: ... to here.
338         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
339         sysdeps/unix/sysv/linux/netinet/tcp.h,
340         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
342 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
344         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
345         * string/argz-next.c, string/argz-extract.c: Fix defns.
347 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
349         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
351         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
352         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
353         * sysdeps/generic/sysd-stdio.c: Likewise.
355 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
357         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
358         (_dl_map_object_from_fd): Make NAME argument const.
359         Remove last parameter in _dl_new_object call.
360         (print_search_path): Correct construction of composed path name.
361         (_dl_map_object): Prevent looking at RPATH of the main map twice.
362         Remove last parameter in _dl_new_object call.
363         * elf/dl-object.c: Remove last parameter.  Determine whether create
364         origin entry based on empty realname.  Handle file in root directory
365         correctly.
366         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
367         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
368         Remove last parameter in _dl_new_object call.
369         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
370         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
372 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
374         * elf/dl-close.c (_dl_close): Add more comments and correct some.
375         Free l_searchlist and l_dupsearchlist.
377         * debug/catchsegv.sh: Add one more pair of quotes.
379 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
381         * elf/dl-load.c (add_name_to_object): Change return type to void and
382         make NAME parameter const.  Allocate room for NAME in same memory
383         block used for l_libname entry.
384         (_dl_map_object_from_fd): Don't free NAME on failure.
385         (map_segment): Pass SONAME to add_name_to_object, not a copy.
386         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
387         _dl_map_object_from_fd.
388         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
389         memory block used for l_libname entry.
390         * elf/dl-close.c: Adjust free()ing for this change.
392 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
394         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
396         * malloc/mtrace.c: Add bug report address.  Update email address.
397         Add more @XXX@ to print correct address size.
399         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
400         really initialized.
402         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
403         for munmap call instead of examining phdr again.
404         Free all malloc()ed strings and arrays.
406 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
408         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
409         dl-machine.h.
410         * sysdeps/powerpc/dl-machine.c: New file.
411         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
412         files.  Revise ELF_PREFERRED_ADDRESS to take account of
413         the new mapping information (fixes bug involving huge bloated
414         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
415         * sysdeps/powerpc/dl-start.S: New file.
417         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
418         l_map_end.
419         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
420         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
421         others.  Call elf_dynamic_do_##reloc only once (to save even more
422         space).
423         * elf/link.h: Add new members l_map_start and l_map_end to keep
424         track of the memory map.
425         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
426         the executable.
428 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
430         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
431         Reported by Andreas Jaeger.
433         * posix/glob.h: Use __size_t instead of size_t in definitions and
434         make sure this is defined.
436 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
438         * manual/locale.texi: Almost complete rewrite.  Document more functions
439         and functionality.
440         * manual/arith.texi: Correct reference.
441         * manual/string.texi: Pretty printing.
443         * manual/texinfo.tex: Update from last available version.
445 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
447         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
448         invalid password.
449         (_nss_nis_getpwuid_r): Likewise.
450         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
452         * inet/rcmd.c: Implement netgroup support.
453         Patch by Dick Streefland <dick_streefland@tasking.com>.
455 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
457         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
458         object on the list is removed.  Don't use this code for PIC.
459         Reported by HJ Lu [PR libc/770].
461 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
463         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
465         * include/stdio.h: Add __vsscanf.
467         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
468         __USE_ISOC9X.
469         Remove __vsscanf declaration.
470         Always declare fgetpos and fsetpos.
472         * math/math.h: Define isinf as macro.
473         * math/bits/mathcalls.h: Change to declare __isinf all the time.
474         Don't declare scalb for ISO C 9x.
476         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
478         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
480         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
481         sys/ucontext.h.
483         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
484         macros.
486 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
488         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
489         Reported by jreising@frequentis.com [PR libc/767].
491 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
493         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
494         fl.l_start at beginning of function.
495         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
497 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
499         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
500         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
502         * nscd/nscd.init: Make it work in RedHat systems.
503         Patch by Christian Gafton.
505 1998-08-29  Philip Blundell  <philb@gnu.org>
507         * catgets/Makefile: Don't try to run test programs when
508         cross-compiling.
510 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
512         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
513         Reported by Zack Weinberg.
515 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
517         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
518         * elf/Makefile (distribute): Remove ldd.sh.in.
520 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
522         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
523         variable.
525 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
527         * sysdeps/i386/register-dump.h: Move to ...
528         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
530 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
532         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
533         with load address, not map address.
534         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
535         parameter and use this value.
536         * sysdeps/arm/dl-machine.h: Likewise.
537         * sysdeps/i386/dl-machine.h: Likewise.
538         * sysdeps/m68k/dl-machine.h: Likewise.
539         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
540         parameter.
541         * sysdeps/powerpc/dl-machine.h: Likewise
542         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
543         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
545 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
547         * elf/rtld.c (process_envvars): Fix copy&paste error.
549         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
550         memalign hook.
551         (realloc_hook_ini): Don't overwrite memalign hook.
552         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
553         Reported by Philippe Troin <phil@fifi.org>.
555         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
556         Patch by Philippe Troin <phil@fifi.org>.
558 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
560         * sysdeps/generic/segfault.c (install_handler): Protect the
561         non-POSIX signals with #ifdef.
562         (catch_segfault): Add missing mode parameter for open.
563         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
564         other termination signals.
566 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
568         * debug/Makefile (distribute): Add register-dump.h.
570 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
572         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
574 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
576         * elf/Makefile (distribute): Add dl-origin.h.
577         * sysdeps/generic/dl-origin.h: New file.
578         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
579         * elf/link.h (struct link_map): Add l_origin field.
580         * elf/dl-load.c (expand_dynamic_string_token): New function.
581         (decompose_path): Remove WHERE argument, take link map pointer instead.
582         Call expand_dynamic_string_token instead of local_strdup to make copy
583         of rpath.
584         (_dl_init_paths): Call decompose_path with correct argument.
585         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
586         not defined.
587         Check EI_OSABI and EI_ABIVERSION fields in header.
588         Call _dl_new_object with extra argument.
589         (_dl_map_object): Call decompose_path with correct argument.
590         Call expand_dynamic_string_token instead of local_strdup to also
591         expand DST.
592         Call _dl_new_object with extra argument.
593         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
594         but the main one if new argument is nonzero.
595         * elf/ldsodefs.h: Adjust for _dl_new_object change.
596         * elf/dl-support.c: Define _dl_origin_path.
597         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
598         (dl_main): Call _dl_new_object with extra argument.
600         * elf/dl-close (_dl_close): Free l_name and l_origin.
602         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
603         modifier in asm, not c.
605         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
606         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
608 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
610         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
611         variable so that map can be freed.
612         Reported by Philippe Troin <phil@fifi.org>.
614         * elf/dl-open.c (dl_open_worker): Correct test for extending global
615         scope array.
616         Patch by Philippe Troin <phil@fifi.org>.
618 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
620         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
621         Don't call writev() with a 100-element vector.
622         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
623         return address.
625         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
626         In particular, set __libc_stack_end.
627         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
628         undefined.  Fix copyright notice.
630 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
632         * math/Makefile (gmp-objs): New variable.
633         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
634         Depend on it.
635         (tests): Add atest-exp atest-sincos atest-exp2.
636         (tests-static): Remove atest-exp atest-sincos atest-exp2.
638 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
640         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
641         to toplevel.
642         (_dl_unload_cache): New function.
643         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
644         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
645         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
647         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
648         Correct comment for O_LARGEFILE.
649         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
650         Change O_LARGEFILE to correct value.
652 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
654         * libio/iogetline.c (_IO_getline_info): Don't read anything for
655         N == 0.  Patch by HJ Lu.
657 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
659         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
661 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
663         * argp/argp.h: Use __inline__ not inline.
665         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
666         an input register as being clobbered.
667         * sysdeps/i386/memset.c (memset): Likewise.
668         * sysdeps/i386/bzero.c (__bzero): Likewise.
669         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
671 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
673         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
674         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
676 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
678         * debug/catchsegv.sh: Handle text preceding backtrace better.
679         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
680         to be installed for other signals than SIGSEGV.
681         * sysdeps/generic/register-dump.h: New file.
682         * sysdeps/i386/register-dump.h: New file.
683         * sysdeps/powerpc/register-dump.h: New file.
685         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
686         sigcontextinfo.h.
687         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
689 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
691         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
693 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
695         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
696         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
697         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
698         getresuid, getresgid.
700 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
702         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
703         pointer in userland.
705 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
707         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
708         and fix value.
710 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
712         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
713         over arguments Bourne shell compatible.  Don't exit unsuccessfully
714         if nonelf returns successfully.  Avoid duplicating most of the
715         script.
716         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
717         around $file.
719 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
721         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
722         sys/reg.h.
723         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
724         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
726 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
728         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
729         __modify_ldt and modify_ldt.
730         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
732         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
733         Use orl $-1 instead of movl $-1 to save two bytes.
734         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
735         Likewise.
737 1998-08-17  H.J. Lu  <hjl@gnu.org>
739         * libio/Versions (_IO_do_write, _IO_file_attach,
740         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
741         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
742         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
743         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
745         * libio/fileops.c (_IO_do_write, _IO_file_attach,
746         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
747         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
748         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
749         _IO_file_write, _IO_file_xsputn): Change the prefix to
750         "_IO_new_". Added to GLIBC_2.1.
752         * libio/libioP.h (_IO_do_write, _IO_file_attach,
753         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
754         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
755         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
756         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
757         "_IO_new_".
759         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
760         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
761         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
762         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
763         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
765 1998-08-23  Richard Henderson  <rth@cygnus.com>
767         * Makeconfig (LDFLAGS): Remove.
769         * csu/initfini.c: Return to .text before __gmon_start__.
771         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
772         (STO_MIPS_*): Rename from STO_*.
773         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
774         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
776         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
777         (main): e3s is negative on zero.
778         * math/atest-exp2.c: Likewise.
779         * math/atest-sincos.c: Likewise.
781 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
783         * Makerules (install): Add comment about absolute paths.
785 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
787         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
788         array to NUL to handle maxlen==1 case correctly.
789         Patch by HJ Lu.
791 1998-08-23  Richard Henderson  <rth@cygnus.com>
793         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
794         * sysdeps/alpha/elf/crtend.S: Likewise.
795         * sysdeps/alpha/elf/start.S: Likewise.
797         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
798         non-standard pv usage.
800         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
801         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
802         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
803         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
804         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
805         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
806         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
807         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
808         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
809         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
810         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
812         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
813         a finite non-denormal, deferring to the full IEEE version otherwise.
815         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
816         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
817         * sysdeps/alpha/fpu/s_floor.c: New.
818         * sysdeps/alpha/fpu/s_floorf.c: New.
819         * sysdeps/alpha/fpu/s_ceil.c: New.
820         * sysdeps/alpha/fpu/s_ceilf.c: New.
822 1998-08-22  Philip Blundell  <philb@gnu.org>
824         * sysdeps/arm/bits/string.h: New file.
826 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
829         document it.
831         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
832         test for recent Linux 2.1.100+ headers.
834 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
836         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
838 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
840         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
842 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
844         * Makefile (elf/ldso_install): Put back.  The problem still persists.
845         * elf/Makefile (ldso_install): Likewise.
847 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
849         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
850         create weak alias.
851         * include/db.h: Declare __nss_db_open.
852         * db2/Versions: Export it.
854         * db2/makedb.c: Convert to use db2 API.
855         * nss/nss_db/db-XXX.c: Likewise.
856         * nss/nss_db/db-netgrp.c: Likewise.
857         * nss/nss_db/db-alias.c: Likewise.
858         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
860 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
862         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
863         sys_setresuid, already built automatically (or not).
864         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
865         instead of __syscall_setresuid and add back setresuid.
866         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
867         __syscall_setresuid.
869 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
871         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
873 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
875         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
876         BASH-ONLY marked region.
877         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
879 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
881         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
882         _IO_SYSSEEK fails.
884         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
886         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
887         element.
889 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
891         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
892         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
893         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
894         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
895         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
896         those magic comments, and to use /bin/sh for @BASH@.
897         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
898         * elf/ldd.sh.in: File removed.
900 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
902         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
903         cast them to unsigned long int.
904         * pwd/putpwent.c (putpwent): Likewise.
905         Patch by John Tobey <jtobey@banta-im.com>.
907 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
909         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
910         _IO_pos_BAD.
912 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
914         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
915         _IO_SYSSEEK fails.
917 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
919         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
920         Add umount and umount2.
921         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
922         * sysdeps/unix/sysv/linux/umount.S: New file.
923         * sysdeps/unix/sysv/linux/umount2.S: New file.
924         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
925         Define MNT_FORCE.
927         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
928         Add sys/sendfile.h.
929         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
930         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
932         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
935         sendfile.
937 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
939         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
940         * elf/ldd.bash.in: Likewise.
942         * elf/sln.c: Avoid warning for no main prototype.
944         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
945         O_WRITE.
946         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
949         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
950         F_GETSIG.
951         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
952         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
955 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
957         * sysdeps/arm/fpu/ieee754.h: Move to...
958         * sysdeps/arm/ieee754.h: ... here.
960         * sysdeps/arm/__longjmp.S: Put return value in correct register.
961         Don't set the condition flags unnecessarily.
962         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
963         registers correctly.
965         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
966         (patch from Scott Bambrough).
968         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
970         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
971         NULL, just call it unconditionally.
972         (__gmon_start__): Provide stub version as a weak symbol.
974 1998-07-30  Philip Blundell  <philb@gnu.org>
976         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
977         by Scott Bambrough)
979         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
980         like `@' in .type directives.
982         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
983         * sysdeps/arm/bsd-_setjmp.S: Likewise.
985         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
987 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
989         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
990         (F_GETOWN): Likewise.
992         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
993         Linux 2.1.117).
995 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
997         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
998         already defined.
1000 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1002         * include/features.h: Define __USE_EXTERN_INLINES for recent
1003         enough gcc.
1004         * argp/argp.h: Define extern inline functions only if
1005         __USE_EXTERN_INLINES is defined.
1006         * libio/stdio.h: Likewise.
1007         * math/math.h: Likewise.
1008         * stdlib/stdlib.h: Likewise.
1009         * string/argz.h: Likewise.
1010         * sysdeps/generic/bits/sigset.h: Likewise.
1011         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1012         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1013         * sysdeps/wordsize-32/inttypes.h: Likewise.
1014         * sysdeps/wordsize-64/inttypes.h: Likewise.
1015         * wcsmbs/wchar.h: Likewise.
1017         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1018         to allow compilation without optimization.
1020 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1022         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1023         more entries.
1024         * nis/nss_compat/compat-initgroups.c: Likewise.
1025         * nis/nss_compat/compat-pwd.c: Likewise.
1026         * nis/nss_compat/compat-spwd.c: Likewise.
1027         * nis/nss_nis/nis-alias.c: Likewise.
1028         * nis/nss_nis/nis-ethers.c: Likewise.
1029         * nis/nss_nis/nis-grp.c: Likewise.
1030         * nis/nss_nis/nis-hosts.c: Likewise.
1031         * nis/nss_nis/nis-initgroups.c: Likewise.
1032         * nis/nss_nis/nis-network.c: Likewise.
1033         * nis/nss_nis/nis-proto.c: Likewise.
1034         * nis/nss_nis/nis-pwd.c: Likewise.
1035         * nis/nss_nis/nis-rpc.c: Likewise.
1036         * nis/nss_nis/nis-service.c: Likewise.
1037         * nis/nss_nis/nis-spwd.c: Likewise.
1039         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1041         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1043         * nis/yp_xdr.c: Remove 1024 byte limit.
1044         * nis/ypupdate_xdr.c: Likewise.
1046         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1047         wrong data.
1049 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1051         * Rules (binaries-static, binaries-shared static pattern rules):
1052         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1054         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1055         this here, overriding Makeconfig generic value so we link against
1056         the RPC libs.
1058 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1060         * posix/tstgetopt.c (options): Add NULL entry at end
1061         Patch by Adrian Miranda <ade@psg.com>.
1063 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1065         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1066         to 9.
1068 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1070         * elf/elf.h: Add PPC Diab relocations.
1072         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1074 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1076         * manual/texinfo.tex: Update.
1078 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1080         * sysdeps/powerpc/backtrace.c: New file.
1082 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1084         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1085         sigjmp_save.
1086         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1088 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1090         * Makefile (install-symbolic-link): Fix spelling.
1092 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1094         * elf/elf.h (SHT_HIOS): Fix value.
1096 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1098         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1099         part of the expansion, this is undefined by the standard.
1101 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1103         * posix/getconf.c: Add support for systems with incomplete confname.h.
1105         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1107         * sysdeps/posix/wait3.c: Make it work.
1109 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1111         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1112         (elf/ldso_install): Remove.
1114         * elf/Makefile (distribute): Add sln.c.
1115         (others): Add sln.
1116         (others-static): Add sln.
1117         (install-rootsbin): Add sln.
1118         (others-static): Add sln.
1119         (ldso_install): Remove.
1121 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1123         * Makerules (install-clean-symbolic-link-list): Make phony.
1124         * Makefile (install-symbolic-link): Make phony.  Depend on
1125         subdir_install for parallel makes.
1128 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1130         * elf/Makefile (distribute): Add sln.c
1132 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1134         * elf/sln.c: New file.
1136         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1137         (install-clean-symbolic-link-list): New target.
1138         (install): Depend on install-clean-symbolic-link-list.
1139         (make-shlib-link): Changed for $(symbolic-link-list).
1141         * Makefile (install-symbolic-link): New target.
1142         (install): Depend on install-symbolic-link.
1144 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1146         * include/unistd.h: Protect against multiple inclusion.
1148         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1149         is defined, not is glob is defined.
1150         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1152 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1154         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1155         xdr_string for ut_line, ut_name and ut_host.
1157 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1159         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1160         /var/mail in accordance with FHS 2.0.
1161         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1163 1998-08-12  Richard Henderson  <rth@cygnus.com>
1165         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1166         Update aliases for cancelation.
1168         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1169         playing with symbol versions.
1171 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1173         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1174         multiple inclusion protection.
1175         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1176         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1177         define all these to 1.
1178         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1180 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1182         * sysdeps/mach/usleep.c: Include <unistd.h>.
1183         (usleep): Return void.
1185 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1187         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1188         decl to inhibit warning in if_freenameindex defn.
1190         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1192         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1194         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1195         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1196         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1197         * sysdeps/mach/usleep.c: Likewise.
1199         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1201         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1202         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1203         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1204         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1205         * sysdeps/mach/usleep.c (usleep): Likewise.
1206         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1207         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1208         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1209         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1211 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1213         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1214         (glob64): Fix typo.
1216         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1217         %p arg to fprintf, since `void *' is the right type already.
1219 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1221         * sysdeps/mach/hurd/getcwd.c
1222         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1223         for unknown root directories.
1224         (__getcwd): Return NULL when the current root directory could not
1225         be reached.
1227 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1229         * string/strsignal.c (strsignal): Count real-time signals from zero.
1232 See ChangeLog.8 for earlier changes.