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