Update.
[glibc.git] / ChangeLog
blob63ab4e7c10d8f5b02f09f2ccf1d1526ab368ad70
1 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
3         * nis/ypclnt.c: Remove not needed close calls.
5 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
7         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
8         check a bit.  Also close socket of domain client.  Close socket
9         in IPPORT_RESERVED error case.
11 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
13         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
14         CMSG_ALIGN (fixes a bug) and correct test for availability of
15         another entry.
16         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
17         Linux version.
18         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
19         availability of another entry.
20         Patch by ak@muc.de.
22         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
23         Patch by ak@muc.de.
25 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
27         * posix/annexc.c (xsystem): New function.  Use it instead of
28         system.
30 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
32         * stdlib/longlong.h: Remove #endif for #if removed in last change.
34 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
36         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
37         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
38         allow using `ut' parameter.
39         [!emacs]: Define ut_argument, ut_argument_spec, and
40         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
41         argument_spec to prototypes and definitions.
42         (my_strftime): Don't call tzset of ut != 0.
43         Compute diff as 0 is ut != 0;
44         [emacs]: Define new emacs_strftime function.
45         Based on a patch by Paul Eggert.
47 1998-09-24  Paul Eggert  <eggert@twinsun.com>
49         * time/strftime.c (my_strftime): When asking for the length of the
50         subformatted buffer, do not limit the length to look for;
51         otherwise, we have no reliable way to distinguish between the
52         empty buffer and an error.
54 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
56         * math/Makefile (gmp-objs): Add mp_clz_tab.
58 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
60         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
61         set them.
62         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
63         cpus lacking hardware multiply and divide.
65 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
67         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
68         $(<F), not $(^F).
70 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
72         * db/btree/bt_delete.c: Fix -Wparentheses warning.
74 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
76         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
77         $(do-install).
79 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
81         * debug/catchsegv.sh: Also produce output if clone process died.
83 1998-09-24  Paul Eggert  <eggert@twinsun.com>
85         * time/strftime.c (f_wkday): Remove duplicate definition.
86         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
87         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
88         1998-09-11 fix to this case.
89         (wkday_len, month_len): Remove these macros; they're no longer needed.
91 1998-09-24  Paul Eggert  <eggert@twinsun.com>
93         * time/strftime.c (my_strftime): Don't store past the end of a
94         zero-sized buffer.
96 1998-09-24  Paul Eggert  <eggert@twinsun.com>
98         * time/strftime.c (underlying_strftime):
99         Set the buffer to a nonzero value before calling
100         strftime, and check to see whether strftime has set the buffer to zero.
101         This lets us distinguish between an empty buffer and an error.
103 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
105         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
106         This fix is propagated from tzcode1998g.tar.gz.
108 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
110         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
111         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
112         sys_siglist.  This is handled correctly by the weak_alias macro.
114 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
116         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
117         of mempcpy.  Reported by Andreas Jaeger.
119         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
120         pollute the namespace since the compiler will resolve it inline.
121         Reported by Florian La Roche <florian@suse.de>.
123 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
125         * timezone/private.h: Update from tzcode1998g.
127         * timezone/africa: Update from tzdata1998h.
128         * timezone/asia: Likewise.
129         * timezone/australasia: Likewise.
130         * timezone/europe: Likewise.
131         * timezone/northamerica: Likewise.
132         * timezone/southamerica: Likewise.
133         * timezone/zone.tab: Likewise.
135 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
137         * misc/sys/mman.h: New file.
139         * sysdeps/generic/bits/mman.h: New file.
140         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
141         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
142         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
143         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
145         * sysdeps/generic/sys/mman.h: Removed.
146         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
147         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
148         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
149         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
150         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
152         * include/sys/mman.h: Look directly for misc/sys/mman.h.
153         * misc/Makefile (headers): Add bits/mman.h.
154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
155         bits/mman.h.
157         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
158         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
159         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
160         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
161         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
163         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
164         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
166 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
168         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
169         * sysdeps/mach/alpha/thread_state.h: Likewise.
170         * sysdeps/mach/i386/sysdep.h: Likewise.
171         * sysdeps/mach/i386/thread_state.h: Likewise.
172         * sysdeps/mach/mips/sysdep.h: Likewise.
173         * sysdeps/mach/mips/thread_state.h: Likewise.
174         * sysdeps/posix/profil.c: Likewise.
175         * sysdeps/i386/i586/memcopy.h: Likewise.
176         * sysdeps/mach/pagecopy.h: Likewise.
178 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
180         * libio/stdio.h: Define __need_getopt and include getopt.h to define
181         getopt stuff.
182         * posix/unistd.h: Likewise.
183         * stdio/stdio.h: Likewise.
184         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
185         define only getopt and the variables.
187 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
189         * scripts/test-installation.pl (installation_problem): Don't link
190         the test program against libdb1.
192 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
194         * Makeconfig (all-subdirs): Add db.
195         * Versions.def: Add definition for libdb1.
196         * shlib-versions: Add definitions for libdb1.
197         * db/Makefile (extra-libs): Replace by libdb1.
198         (libdb-routines): Rename to libdb1-routines.
199         (headers): Rename to db1-headers.
200         (distribute): Add $(db1-headers).
201         (install-others): Define to install symlink libdb.so.NN and the
202         $(db1-headers).
203         (CPPFLAGS): Add -DUSE_LIBDB1
204         Remove rules to build makedb.
205         * db/Versions: Rename libdb to libdb1.
206         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
207         * db/makedb.c: Removed.
209         * scripts/versions.awk: Recognize digits in library names.
211         * db/btree/bt_open.c: Fix compiler warnings.
212         * db/btree/bt_put.c: Likewise.
213         * db/btree/bt_split.c: Likewise.
214         * db/hash/hash.c: Likewise.
215         * db/hash/hash_bigkey.c: Likewise.
216         * db/recno/rec_close.c: Likewise.
218         * Makefile: Add localedata/% goal.
220 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
222         * posix/execvp.c: Don't give up searching the PATH if execve
223         returns ENOTDIR.
225 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
227         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
228         if _dl_fpu_control_set is set.
229         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
230         * elf/rtld.c: Don't define _dl_fpu_control_set.
231         * elf/Versions: Remove _dl_fpu_control_set.
233 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
235         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
236         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
237         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
238         Correct values of other SA_* macros according to kernel headers.
240 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
242         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
243         variable l.
244         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
245         old.
247 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
249         * elf/ldsodefs.h: Fix typo in comment.
251 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
253         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
254         char when comparing buffer contents with putback character.
256 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
258         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
259         Undo last change.
260         * elf/Versions: Undo last change.  Export _dl_fpu_control and
261         _dl_fpu_control_set.
262         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
263         variables.  Include <fpu_control.h>.
264         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
265         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
266         to indicate that is was seen.
267         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
268         only if _dl_fpu_control was set and is equal to desired value.
269         * math/Makefile (aux): Undo last change.
270         * math/Versions: Export __fpu_control with version GLIBC_2.0.
272 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
274         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
275         optimized.
277 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
279         * string/bits/string2.h: Add mempcpy optimization.
280         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
281         * intl/localealias.c: Define mempcpy only if not already defined.
283         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
284         defined.
286 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
288         * csu/abi-note.S: Emit the note directly instead of defining
289         a preprocessor macro that's only used once.  Don't include sysdep.h.
290         * abi-tags: Generalize Solaris entry.
292 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
294         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
295         Change to array to avoid runtime relocation.
296         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
298 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
300         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
301         * math/Makefile ($(objpfx)libieee.a): Likewise.
303 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
305         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
306         Patch by John Tobey <jtobey@banta-im.com>.
308 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
310         * login/Makefile (distribute): Remove pty-internal.h, add
311         pty-private.h.
313         * stdlib/tst-strtol.c: Add more checks.
314         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
316 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
318         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
319         * elf/elf.h: Add AT_FPUCW.
320         * elf/Makefile (dl-routines): Add fpu_control.
321         (elide-routines.os): Add fpu_control.
322         (rtld-routines): Add fpu_control.
323         * math/Makefile (aux): Remove fpu_control.
324         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
325         (_dl_show_auxv): Likewise.
326         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
327         if different from OS default.
329         * stdio-common/tstscanf.c: Add test case for (nil).
331 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
333         * libio/fileops.c (_IO_new_file_underflow): Before allocating
334         buffer make sure the pushback buffer is destroyed.
335         (_IO_new_file_seekoff): Likewise.
336         If mode==0 quit early with the result.
337         Clear OEF flag after successful fseek.
338         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
339         * libio/ftello.c (ftello): Add offset from original buffer if
340         stream has pushed back characters.
341         * libio/ftello64.c (ftello64): Likewise.
342         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
343         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
344         * libio/ioftell.c (_IO_ftell): Likewise.
345         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
346         and _IO_save_ptr.
347         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
348         (_IO_default_pbackfail): Only stored push back character in original
349         buffer if it is the same as the one in the file at this position.
350         * libio/iofclose.c: Free backup buffer if one is available.
351         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
352         mode!=0.
354         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
356         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
358         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
360 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
362         * login/programs/pt_chown.c (more_help): Correct message that
363         describes the purpose of the program.
365         * login/openpty.c: Do not include pty-private.h.
366         (pts_name): New function.  Return name of slave pseudo terminal in
367         an allocated buffer if necessary.
368         (openpty): Use pts_name to get name of the slave end of the pseudo
369         terminal pair.
371         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
372         pts_name before return.
374 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
376         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
378 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
380         * login/openpty.c: Include pty-private.h instead of
381         pty-internal.h.
383 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
385         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
387 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
389         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
390         recent ld.so changes.
391         (elf_machine_runtime_setup): Correct behaviour when profiling.
393 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
395         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
396         Patch by John Tobey <jtobey@banta-im.com>.
398 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
400         * login/pty-internal.h: Removed.  Moved constants related to the
401         `grantpt' helper program protocol to ...
402         * login/pty-private.h: ... here.  New file.
403         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
404         to make the function work with kernels >= 2.1.115.
405         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
406         version if using the cloning device fails.
407         * sysdeps/unix/sysv/linux/grantpt.c: New file.
408         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
409         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
410         use by Linux specific code.
411         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
412         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
413         function.  (grantpt): Use pts_name, check group and permission
414         mode in addition to owner.  Try to set the owner, group and
415         permission mode first without invoking the helper program.
416         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
417         internationalization support.  Use symbolic constants instead of
418         hardwired numbers for permission mode.
419         * sysdeps/unix/bsd/ptsname.c: New file.
421 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
423         * posix/wordexp-test.c: Undo last change.
425         * posix/wordexp.c: Undo last change.
427 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
429         * nscd/grpcache.c (save_grp): Partly undo last change.
431         * nscd/pwdcache.c (save_pwd): Undo last change.
433 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
435         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
436         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
438 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
440         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
441         Add profiling support.
442         (TRAMPOLINE_TEMPLATE): New macro.
443         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
444         (RTLD_START): Prettify, and set __libc_stack_end properly.
445         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
446         and check for sym being NULL instead.
447         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
448         of stack space.
449         * sysdeps/sparc/sparc64/lshift.S: Likewise.
450         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
451         * sysdeps/sparc/sparc64/rshift.S: Likewise.
452         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
453         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
454         MEDANY code model %g4 usage.
455         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
456         MEDANY code model %g4 usage.
457         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
458         code model address formation.
459         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
460         include elf/ldsodefs.h
461         (DT_SPARC): Remove.
462         (elf_machine_matches_host): It is now EM_SPARCV9.
463         (elf_machine_dynamic): Clean up to remove ugly cast.
464         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
465         new PLT formats.
466         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
467         Prettify rest of function.
468         [R_SPARC_COPY]: Check for sym being NULL.
469         [R_SPARC_32]: Handle it.
470         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
471         MEDMID code model.
472         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
473         MEDANY code model.
474         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
475         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
476         Add profiling support.
477         (TRAMPOLINE_TEMPLATE): New macro.
478         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
479         (RTLD_START): Prettify and set __libc_stack_end.
480         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
481         Define.
482         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
483         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
484         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
485         unused variable scratch.
486         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
487         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
488         Declare.
489         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
490         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
491         old format kernel sigaction structures.
492         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
493         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
494         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
495         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
496         ucontext include.
497         (_JMPBUF_UNWINDS): Define.
498         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
499         statfs64 structure, which is exactly the same as the normal one.
500         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
501         of stack.  Use correct syscall trap number.  Add branch prediction
502         settings to branch instructions.  Remove old MEDANY code model %g4
503         referneces for non-PIC.
504         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
505         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
506         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
507         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
509         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
510         __libc_longjmp and __libc_siglongjmp strong aliases.
511         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
512         Also define to __no__readdir64_decl around readdir.c inclusion.
513         (__readdir64): Add strong alias.
514         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
515         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
516         Set strong and weak names properly.
518 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
520         * manual/Makefile (AWK): Default to gawk if standalone.
522 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
524         * Makefile (distribute): Undo last change.
525         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
526         for sysdep headers.
527         (+subdir-headers): Removed, unused.
529 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
531         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
532         $(do-install).
534 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
536         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
537         absolute name in $(config-sysdirs), can never happen.
538         ($(+sysdir_pfx)sysd-rules): Likewise.
539         * Makeconfig (full-config-sysdirs): Likewise.
540         (all-Subdirs-files): Prepend $(..).
542         * configure.in: Don't check for absolute name in $add_ons_pfx, can
543         not happen.  Let --enable-add-ons=yes work if no add-ons actually
544         exist.
546 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
548         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
549         continuations in command.
551 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
553         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
555 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
557         * posix/wordexp-test.c: If expansion or substitution occurs
558         anywhere in a word, the entire word is subject to field-splitting.
560         * posix/wordexp.c (parse_glob): Look for end of word instead of
561         end of field when deciding what to glob.
562         (field_split_word): New function, now the only place where
563         field-splitting is performed.
564         (parse_dollars): New parameter - tell the caller if
565         field-splitting should be performed on this word.
567         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
568         succeeded (or failed with WRDE_NOSPACE).
570 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
572         * posix/wordexp.c (wordexp): Don't convert IFS characters to
573         blanks.
575         * posix/wordexp-test.c: Words not the result of expansion or
576         substitution should remain unchanged.
578 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
580         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
581         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
583 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
585         * stdio-common/Makefile: Include Makeconfig so that
586         $(inst_includedir) is defined.
588 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
590         * io/pwd.c: Include <mcheck.h>.
592 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
594         * nscd/pwdcache.c (save_pwd): Correct copying.
595         * nscd/grpcache.c (save_grp): Likewise.
597 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
599         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
600         (free_pwd): Adjust for this change.
601         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
602         (free_grp): Adjust for this change.
604 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
606         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
608 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
610         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
611         (install-others): Add bits/stdio_lim.h.
612         Add rule to install bits/stdio_lim.h.
614         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
616         * Makefile (distribute): Add include/sys/mman.h.
618         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
619         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
620         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
622         * grp/initgroups.c: Include stdlib.h.
623         Patch by Zack Weinberg.
625 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
627         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
628         for field-splitting :abc: is correct, and that two fields should
629         result. Revert tests to reflect this.
631         * posix/wordexp.c (w_emptyword): Remove function.
632         (exec_comm): Don't use w_emptyword.
633         (parse_param): Likewise.
635 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
637         * sysdeps/arm/fpu/Dist: Moved to...
638         * sysdeps/arm/Dist: ...here.
639         * sysdeps/posix/Dist: Removed.
640         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
641         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
643 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
645         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
647 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
649         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
651 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
653         * libc-work/nis/nss_nisplus/nisplus-service.c
654         (_nss_nisplus_parse_servent): Convert port in network byte order.
656 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
658         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
659         to provide only malloc and calloc.
660         * include/stdlib.h: Support the above.
661         * string/bits/string2.h: Use __need_malloc_and_calloc when
662         including stdlib.h.
663         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
665         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
666         * iconvdata/iso646.c: Include <stdlib.h>.
668 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
670         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
671         * sysdeps/libm-ieee754/w_pow.c: Likewise.
672         * sysdeps/libm-ieee754/w_powf.c: Likewise.
673         * sysdeps/libm-ieee754/w_powl.c: Likewise.
675 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
677         * stdio-common/stdio_lim.h.in: New file.  All parameters
678         are adjustable at build time.
679         * Rules: Add a rule to build bits/stdio_lim.h from
680         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
681         all subdirectories know how to make the file.  It can't be
682         in Makerules because then it gets built at top level and the
683         dependencies are wrong.)
685         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
686         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
687         stdio_lim.h.
688         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
689         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
690         * sysdeps/posix/Makefile: Removed.
691         * sysdeps/posix/mk-stdiolim.c: Removed.
692         * sysdeps/generic/bits/stdio_lim.h: Removed.
694 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
696         * argp/argp-help.c: Fixup indentation.
697         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
698         * resolv/nss_dns/dns-network.c: Likewise.
699         * resolv/res_send.c: Likewise.
700         * rt/aio_cancel.c: Likewise.
701         * rt/aio_misc.c: Likewise.
703 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
705         * Makefile (install-symbolic-link): Remove the link list file at last.
706         * Makerules (install-clean-symbolic-link-list): Removed.
708 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
710         * timezone/tst-timezone.c: Print time in UTC to get consistent
711         output.
713 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
715         * elf/rtld.c (_dl_rpath): Removed.
716         * elf/dl-support.c (_dl_path): Removed.
717         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
718         (CFLAGS-dl-support.c): Removed.
720         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
721         uses changed.
722         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
723         instead of appending it to the main map's rpath info.
724         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
725         DT_RPATHs.  This makes it effective again.
726         (decompose_rpath): Remove second parameter, callers changed.
727         (fillin_rpath): Allocate enough space in curwd.
728         (expand_dynamic_string_token): Cope with get_origin returning -1.
730 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
732         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
733         passwd.adjunct.
735         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
736         invalid password.
738 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
740         * locale/programs/locale.c: Update dates.
742 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
744         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
745         size_t is defined.  Some reordering of defenitions to make
746         maintaining this file in parallel with the linux-specific file easier.
748 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
750         * io/pwd.c (main): Add call to mtrace.
752         * malloc/mtrace.pl: Quote @ in string.
754 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
756         * posix/wordexp.c (parse_arith): Fix memory leaks.
757         (exec_comm): Likewise.
758         (parse_param): Likewise.
759         (wordexp): Likewise.
760         (exec_comm): Reduce number of function return points.
761         (parse_param): Likewise.
762         (wordexp): Likewise.
764 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
766         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
767         yield three fields, not two.  Test both parameter expansion and
768         command substitution for correct field-splitting behaviour.
770         * posix/wordexp.c (w_emptyword): New function.
771         (parse_param): Use it.
772         (exec_comm): Likewise, for consistency with the way parse_param
773         splits fields.
774         (parse_param): Fix some memory leaks.
776 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
778         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
779         Don't mark asm `volatile'.
780         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
781         from the data cache too.  Assume it isn't in the instruction cache yet.
782         (__elf_machine_fixup_plt): Clear the modified address from the caches.
784 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
786         * sysdeps/generic/segfault.c (install_handler): Install signal
787         handler with SA_ONSTACK instead of setting the stack flags to
788         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
789         defined.
791 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
793         * signal/signal.h: Fix multiple inclusion guard to cover the
794         entire file.
795         * wcsmbs/wchar.h: Remove prototype of internal function
796         __mbsrtowcs.
797         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
798         arithmetic on `void *'.
800 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
802         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
804         * posix/wordexp.c (wordexp): Perform word-splitting instead of
805         field-splitting here.
806         (wordexp): If out of memory mid-word, free the word (but still
807         leave pwordexp alone for caller to see).
808         (parse_param): Allow for zero-length fields (smarter checking of
809         memory allocation failure).
810         (w_addword): Convert NULL words to "".
811         (wordexp): Convert left-over IFS characters to blanks (like bash).
813 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
815         * configure.in: Use test -f instead of test -e.
816         Patch by John Tobey <jtobey@banta-im.com>.
818         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
819         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
820         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
821         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
822         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
823         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
824         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
825         Patches by John Tobey <jtobey@banta-im.com>.
827         * time/strftime.c (my_strftime): Delay use of *tp values until
828         latest possible point to allow partly initialized structures
829         (e.g., from strptime).
831         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
832         and NATS-SEFI.
833         Define *-routines variables for new modules.
834         (distribute): Add .c files for new modules.
835         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
836         and nats-sefi.h.
837         Add rules for header generation.
838         * iconvdata/gconv-modules: Add entries for new modules.
839         * iconvdata/iso_10367-box.c: New file.
840         * iconvdata/mac-is.c: New file.
841         * iconvdata/nats-dano.c: New file.
842         * iconvdata/nats-sefi.c: New file.
844 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
846         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
847         loader if PIC is not defined.
849 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
851         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
852         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
853         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
854         and ISO_5428.
855         Define *-routines variables for new modules.
856         (distribute): Add .c files for new modules.
857         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
858         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
859         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
860         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
861         Add rules for header generation.
862         * iconvdata/gconv-modules: Add entries for new modules.
863         * iconvdata/csn_369103.c: New file.
864         * iconvdata/cwi.c: New file.
865         * iconvdata/dec-mcs.c: New file.
866         * iconvdata/ecma-cyrillic.c: New file.
867         * iconvdata/gost_19768-74.c: New file.
868         * iconvdata/greek-ccitt.c: New file.
869         * iconvdata/greek7-old.c: New file.
870         * iconvdata/greek7.c: New file.
871         * iconvdata/inis-8.c: New file.
872         * iconvdata/inis-cyrillic.c: New file.
873         * iconvdata/inis.c: New file.
874         * iconvdata/iso6937-2.c: New file.
875         * iconvdata/iso_2033.c: New file.
876         * iconvdata/iso_5427-ext.c: New file.
877         * iconvdata/iso_5427.c: New file.
878         * iconvdata/iso_5428.c: New file.
880         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
881         entries.
882         Convert U02dd correctly.
884 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
886         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
887         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
888         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
889         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
891 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
893         * resolv/res_init.c (res_init): Handle resolv.conf file with only
894         one nameserver correctly.  Patch by HJ Lu.
896         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
897         and ANSI_X3.110.
898         Define *-routines variables for new modules.
899         (distribute): Add .c files for new modules.
900         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
901         Add rules for hedaer generation.
902         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
903         * iconvdata/ansi_x3.110.c: New file.
904         * iconvdata/asmo_449.c: New file.
905         * iconvdata/baltic.c: New file.
906         * iconvdata/iec_p27-1.c: New file.
908         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
909         entries.
910         Convert U02dc correctly.
912         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
913         * math/atest-exp2.c: Likewise.
914         * math/atest-sincos.c: Likewise.
916         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
917         is defined.
919 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
921         * string/strcoll.c: Optimize a few expressions.
922         * string/strxfrm.c: Likewise.
924 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
926         * manual/locale.texi: Fix typos.
928 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
930         * stdlib/random_r.c (__setstate_r): Allow call with same state
931         array as currently used (PR libc/774).
933         * include/limits.h: Include gcc's header even if this file is
934         found more than once before it (PR libc/778)
936         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
937         (sysdep_headers): Remove sys/debugreg.h.
938         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
939         (sysdep_headers): Add sys/debugreg.h.
940         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
941         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
943         * stdio-common/tmpnam.c: Move local static variable buf to
944         toplevel and rename to tmpnam_buffer to ease debugging.
945         Patch by Joe Keane <jgk@jgk.org>.
946         Optimize s == NULL case a bit.
948         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
949         correction.
951 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
953         * resolv/res_init.c (res_init): Initialize _res.nscount and
954         _res.nsaddr.sin_port differently for the can when no loopback
955         is available to allow immediate timeout in non-networking environments.
956         Patch by Cristian Gafton <gafton@redhat.com>.
958 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
960         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
961         BAR and not EM DASH.
962         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
963         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
964         Fixes PR libc/717.
966 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
968         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
969         for test.
970         * timezone/tst-timezone.c (tests): Fix typo in last patch.
972         * time/tzfile.c (__tzfile_read): Handle case when there are no
973         transitions.  Set __timezone based on computed offset.
974         * time/tzset.c (tzset_internal): Set __timezone before returning.
976         * time/tzset.c (tzset_internal): Optimize handling of local string
977         copy.
979 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
981         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
982         libc/776).
984 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
986         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
987         (csqrt_test): Likewise.
988         * sysdeps/powerpc/bits/fenv.h: Add parens.
990 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
992         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
993         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
994         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
996 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
998         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
999         the special `-1' pointer.
1001 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
1003         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1004         inline.
1006 1998-09-07  Paul Eggert  <eggert@twinsun.com>
1008         * time/mktime.c (__EXTENSIONS__): Define if not defined.
1009         (_REENTRANT): Remove.  It has undesirable consequences in
1010         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
1011         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1012         is what we want.
1013         * time/strftime.c: Likewise.
1015 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1017         * elf/dl-error.c: Fix spelling.
1019 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1021         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1022         * stdio-common/_itoa.c: Likewise.
1023         * stdio-common/printf_fp.c: Likewise.
1024         * stdio-common/vfscanf.c: Likewise.
1025         * wcsmbs/wcstok.c: Likewise.
1026         * sysdeps/generic/glob.c: Likewise.
1027         * posix/getopt.c: Likewise.
1028         * sysdeps/posix/getaddrinfo.c: Likewise.
1029         * posix/wordexp.c: Likewise.
1030         * io/ftw.c: Likewise.
1031         * io/fts.c: Likewise.
1032         * misc/getpass.c: Likewise.
1033         * iconv/gconv_conf.c: Likewise.
1034         * argp/argp-fmtstream.c: Likewise.
1035         * argp/argp-help.c: Likewise.
1036         * elf/dl-load.c: Likewise.
1037         * locale/programs/stringtrans.c: Likewise.
1038         * catgets/gencat.c: Likewise.
1039         * posix/getconf.c: Likewise.
1040         * iconv/gconv_conf.c: Likewise.
1041         * iconv/iconv_prog.c: Likewise.
1043         * string/strcoll.c: Optimize a few expressions.
1044         * string/strxfrm.c: Likewise.
1046 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1048         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1049         level to avoid uninit variable warning.
1051 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1053         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1054         instead of _dl_default_scope[2] as argument to _dl_init_next.
1056         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1057         C9x macro.
1059 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1061         Fix compatibility problems introduced in last change.
1062         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1063         defined.
1064         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1065         -DWEAK_GMON_START to CFLAGS-initfini.s.
1067         * elf/dl-object.c (_dl_new_object): Store map address in
1068         _dl_loaded if _dl_loaded is NULL.
1069         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1071         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1073 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1075         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1076         quiet.
1077         * db2/btree/bt_cursor.c: Likewise.
1078         * db2/common/db_region.db_c: Likewise.
1079         * db2/common/db_salloc.db_c: Likewise.
1080         * db2/db/db.c: Likewise.
1081         * db2/db/db_rec.c: Likewise.
1082         * db2/hash/hash.c: Likewise.
1083         * db2/hash/hash_page.c: Likewise.
1084         * db2/hash/hash_rec.c: Likewise.
1085         * db2/log/log_findckp.c: Likewise.
1086         * db2/log/log_get.c: Likewise.
1087         * db2/log/log_put.c: Likewise.
1088         * db2/mp/mp_fget.c: Likewise.
1089         * db2/mp/mp_fput.c: Likewise.
1090         * db2/mp/mp_region.c: Likewise.
1091         * stdlib/strtol.c: Likewise.
1092         * string/strcoll.c: Likewise.
1093         * string/strxfrm.c: Likewise.
1094         * argp/argp-help.c: Likewise.
1095         * argp/argp-parse.c: Likewise.
1096         * resolv/res_debug.c: Likewise.
1098 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1100         * math/tgmath.h (scalb): Only define for __USE_MISC or
1101         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1103 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1105         * libio/stdio.h: Fix comment.
1107         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1108         __USE_ISOC9X.
1110 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1112         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1114         * elf/dl-open.c: Quiet -Wparentheses warnings.
1115         * iconvdata/johab.c: Likewise.
1116         * iconvdata/uhc.c: Likewise.
1117         * inet/inet_net.c: Likewise.
1118         * io/fts.c: Likewise.
1119         * locale/newlocale.c: Likewise.
1120         * misc/getttyent.c: Likewise.
1121         * misc/mntent_r.c: Likewise.
1122         * misc/ttyslot.c: Likewise.
1123         * nscd/nscd_conf.c: Likewise.
1124         * nss/nsswitch.c: Likewise.
1125         * resolv/gethnamaddr.c: Likewise.
1126         * resolv/nsap_addr.c: Likewise.
1127         * resolv/res_debug.c: Likewise.
1128         * stdio-common/_itoa.c: Likewise.
1129         * stdlib/strtod.c: Likewise.
1130         * string/strverscmp.c: Likewise.
1131         * sunrpc/svc.c: Likewise.
1132         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1133         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1134         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1135         * sysdeps/posix/getaddrinfo.c: Likewise.
1137 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1139         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1140         for use of global scope.
1141         * elf/dlvsym.c (dlvsym_doit): Likewise.
1143 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1145         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1146         copy the redundant bytes at the end of the format as-is; don't
1147         just copy their first byte and then rescan, as that might get
1148         us an encoding error.
1149         Account correctly for the length of multibyte sequences in the
1150         format.
1152 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1154         * posix/wordexp-test.c: Add tests for different IFS values.
1155         Change unquoted-newline test so that newline is not in IFS.
1157         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1158         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1159         special characters _except_ if they are separators.
1161 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1163         * include/tgmath.h: New file.
1165         * libio/stdio.h: Correct reversed #ifs.
1166         Patch by Zack Weinberg.
1168         * manual/creature.texi: Better explain reason for feature select
1169         macros.
1170         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1172 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1174         * include/alloca.h: Add multiple-inclusion guard.
1175         * include/db.h: Likewise.
1176         * include/db_185.h: Likewise.
1177         * include/dlfcn.h: Likewise.
1178         * include/fcntl.h: Likewise.
1179         * include/grp.h: Likewise.
1180         * include/libintl.h: Likewise.
1181         * include/mntent.h: Likewise.
1182         * include/pwd.h: Likewise.
1183         * include/sched.h: Likewise.
1184         * include/search.h: Likewise.
1185         * include/setjmp.h: Likewise.
1186         * include/shadow.h: Likewise.
1187         * include/signal.h: Likewise.
1188         * include/stdio.h: Likewise.
1189         * include/stdlib.h: Likewise.
1190         * include/string.h: Likewise.
1191         * include/termios.h: Likewise.
1192         * include/time.h: Likewise.
1193         * include/ulimit.h: Likewise.
1194         * include/utmp.h: Likewise.
1195         * include/wchar.h: Likewise.
1196         * include/sys/file.h: Likewise.
1197         * include/sys/gmon.h: Likewise.
1198         * include/sys/ioctl.h: Likewise.
1199         * include/sys/mman.h: Likewise.
1200         * include/sys/resource.h: Likewise.
1201         * include/sys/select.h: Likewise.
1202         * include/sys/socket.h: Likewise.
1203         * include/sys/statfs.h: Likewise.
1204         * include/sys/time.h: Likewise.
1205         * include/sys/times.h: Likewise.
1206         * include/sys/wait.h: Likewise.
1208 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1210         * version.h (VERSION): Bump to 2.0.96.
1212         Rewrite runtime linker to be truly thread-safe.  There is now no
1213         global variable specifying the scope.  We create all needed
1214         scopes at the time the link maps are created.
1215         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1216         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1217         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1218         struct link_map.
1219         * elf/dl-close.c: Rewritten accordingly.
1220         * elf/dl-deps.c: Likewise.
1221         * elf/dl-error.c: Likewise.
1222         * elf/dl-init.c: Likewise.
1223         * elf/dl-load.c: Likewise.
1224         * elf/dl-lookup.c: Likewise.
1225         * elf/dl-object.c: Likewise.
1226         * elf/dl-open.c: Likewise.
1227         * elf/dl-reloc.c: Likewise.
1228         * elf/dl-runtime.c: Likewise.
1229         * elf/dl-support.c: Likewise.
1230         * elf/dl-symbol.c: Likewise.
1231         * elf/dl-version.c: Likewise.
1232         * elf/dlsym.c: Likewise.
1233         * elf/dlvsym.c: Likewise.
1234         * elf/ldsodefs.h: Likewise.
1235         * elf/rtld.c: Likewise.
1236         * iconv/gconv_dl.c: Likewise.
1237         * nss/nsswitch.c: Likewise.
1238         * sysdeps/i386/dl-machine.h: Likewise.
1239         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1241         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1242         Define RTLD_DEFAULT.
1244 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1246         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1247         __getopt_clean_environment with __environ instead of envp.
1249 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1251         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1253         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1254         setting results.
1256         * string/argz.h (argz_next): Add de-consting cast for return.
1257         * string/argz-next.c (__argz_next): Likewise.
1259         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1260         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1261         * sysdeps/gnu/Makefile: Do it here instead.
1262         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1263         * sysdeps/gnu/Dist: ... to here.
1265         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1266         sysdeps/unix/sysv/linux/netinet/tcp.h,
1267         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1269 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1271         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1272         * string/argz-next.c, string/argz-extract.c: Fix defns.
1274 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1276         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1278         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1279         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1280         * sysdeps/generic/sysd-stdio.c: Likewise.
1282 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1284         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1285         (_dl_map_object_from_fd): Make NAME argument const.
1286         Remove last parameter in _dl_new_object call.
1287         (print_search_path): Correct construction of composed path name.
1288         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1289         Remove last parameter in _dl_new_object call.
1290         * elf/dl-object.c: Remove last parameter.  Determine whether create
1291         origin entry based on empty realname.  Handle file in root directory
1292         correctly.
1293         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1294         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1295         Remove last parameter in _dl_new_object call.
1296         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1297         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1299 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1301         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1302         Free l_searchlist and l_dupsearchlist.
1304         * debug/catchsegv.sh: Add one more pair of quotes.
1306 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1308         * elf/dl-load.c (add_name_to_object): Change return type to void and
1309         make NAME parameter const.  Allocate room for NAME in same memory
1310         block used for l_libname entry.
1311         (_dl_map_object_from_fd): Don't free NAME on failure.
1312         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1313         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1314         _dl_map_object_from_fd.
1315         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1316         memory block used for l_libname entry.
1317         * elf/dl-close.c: Adjust free()ing for this change.
1319 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1321         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1323         * malloc/mtrace.c: Add bug report address.  Update email address.
1324         Add more @XXX@ to print correct address size.
1326         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1327         really initialized.
1329         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1330         for munmap call instead of examining phdr again.
1331         Free all malloc()ed strings and arrays.
1333 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1335         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1336         dl-machine.h.
1337         * sysdeps/powerpc/dl-machine.c: New file.
1338         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1339         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1340         the new mapping information (fixes bug involving huge bloated
1341         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1342         * sysdeps/powerpc/dl-start.S: New file.
1344         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1345         l_map_end.
1346         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1347         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1348         others.  Call elf_dynamic_do_##reloc only once (to save even more
1349         space).
1350         * elf/link.h: Add new members l_map_start and l_map_end to keep
1351         track of the memory map.
1352         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1353         the executable.
1355 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1357         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1358         Reported by Andreas Jaeger.
1360         * posix/glob.h: Use __size_t instead of size_t in definitions and
1361         make sure this is defined.
1363 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1365         * manual/locale.texi: Almost complete rewrite.  Document more functions
1366         and functionality.
1367         * manual/arith.texi: Correct reference.
1368         * manual/string.texi: Pretty printing.
1370         * manual/texinfo.tex: Update from last available version.
1372 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1374         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1375         invalid password.
1376         (_nss_nis_getpwuid_r): Likewise.
1377         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1379         * inet/rcmd.c: Implement netgroup support.
1380         Patch by Dick Streefland <dick_streefland@tasking.com>.
1382 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1384         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1385         object on the list is removed.  Don't use this code for PIC.
1386         Reported by HJ Lu [PR libc/770].
1388 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1390         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1392         * include/stdio.h: Add __vsscanf.
1394         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1395         __USE_ISOC9X.
1396         Remove __vsscanf declaration.
1397         Always declare fgetpos and fsetpos.
1399         * math/math.h: Define isinf as macro.
1400         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1401         Don't declare scalb for ISO C 9x.
1403         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1405         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1407         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1408         sys/ucontext.h.
1410         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1411         macros.
1413 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1415         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1416         Reported by jreising@frequentis.com [PR libc/767].
1418 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1420         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1421         fl.l_start at beginning of function.
1422         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1424 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1426         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1427         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1429         * nscd/nscd.init: Make it work in RedHat systems.
1430         Patch by Christian Gafton.
1432 1998-08-29  Philip Blundell  <philb@gnu.org>
1434         * catgets/Makefile: Don't try to run test programs when
1435         cross-compiling.
1437 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1439         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1440         Reported by Zack Weinberg.
1442 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1444         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1445         * elf/Makefile (distribute): Remove ldd.sh.in.
1447 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1449         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1450         variable.
1452 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1454         * sysdeps/i386/register-dump.h: Move to ...
1455         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1457 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1459         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1460         with load address, not map address.
1461         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1462         parameter and use this value.
1463         * sysdeps/arm/dl-machine.h: Likewise.
1464         * sysdeps/i386/dl-machine.h: Likewise.
1465         * sysdeps/m68k/dl-machine.h: Likewise.
1466         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1467         parameter.
1468         * sysdeps/powerpc/dl-machine.h: Likewise
1469         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1470         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1472 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1474         * elf/rtld.c (process_envvars): Fix copy&paste error.
1476         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1477         memalign hook.
1478         (realloc_hook_ini): Don't overwrite memalign hook.
1479         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1480         Reported by Philippe Troin <phil@fifi.org>.
1482         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1483         Patch by Philippe Troin <phil@fifi.org>.
1485 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1487         * sysdeps/generic/segfault.c (install_handler): Protect the
1488         non-POSIX signals with #ifdef.
1489         (catch_segfault): Add missing mode parameter for open.
1490         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1491         other termination signals.
1493 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1495         * debug/Makefile (distribute): Add register-dump.h.
1497 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1499         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1501 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1503         * elf/Makefile (distribute): Add dl-origin.h.
1504         * sysdeps/generic/dl-origin.h: New file.
1505         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1506         * elf/link.h (struct link_map): Add l_origin field.
1507         * elf/dl-load.c (expand_dynamic_string_token): New function.
1508         (decompose_path): Remove WHERE argument, take link map pointer instead.
1509         Call expand_dynamic_string_token instead of local_strdup to make copy
1510         of rpath.
1511         (_dl_init_paths): Call decompose_path with correct argument.
1512         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1513         not defined.
1514         Check EI_OSABI and EI_ABIVERSION fields in header.
1515         Call _dl_new_object with extra argument.
1516         (_dl_map_object): Call decompose_path with correct argument.
1517         Call expand_dynamic_string_token instead of local_strdup to also
1518         expand DST.
1519         Call _dl_new_object with extra argument.
1520         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1521         but the main one if new argument is nonzero.
1522         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1523         * elf/dl-support.c: Define _dl_origin_path.
1524         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1525         (dl_main): Call _dl_new_object with extra argument.
1527         * elf/dl-close (_dl_close): Free l_name and l_origin.
1529         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1530         modifier in asm, not c.
1532         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1533         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1535 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1537         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1538         variable so that map can be freed.
1539         Reported by Philippe Troin <phil@fifi.org>.
1541         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1542         scope array.
1543         Patch by Philippe Troin <phil@fifi.org>.
1545 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1547         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
1548         Don't call writev() with a 100-element vector.
1549         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1550         return address.
1552         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1553         In particular, set __libc_stack_end.
1554         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1555         undefined.  Fix copyright notice.
1557 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1559         * math/Makefile (gmp-objs): New variable.
1560         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1561         Depend on it.
1562         (tests): Add atest-exp atest-sincos atest-exp2.
1563         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1565 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1567         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1568         to toplevel.
1569         (_dl_unload_cache): New function.
1570         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1571         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1572         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1574         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1575         Correct comment for O_LARGEFILE.
1576         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1577         Change O_LARGEFILE to correct value.
1579 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1581         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1582         N == 0.  Patch by HJ Lu.
1584 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1586         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1588 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1590         * argp/argp.h: Use __inline__ not inline.
1592         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1593         an input register as being clobbered.
1594         * sysdeps/i386/memset.c (memset): Likewise.
1595         * sysdeps/i386/bzero.c (__bzero): Likewise.
1596         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1598 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1600         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1601         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1603 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1605         * debug/catchsegv.sh: Handle text preceding backtrace better.
1606         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1607         to be installed for other signals than SIGSEGV.
1608         * sysdeps/generic/register-dump.h: New file.
1609         * sysdeps/i386/register-dump.h: New file.
1610         * sysdeps/powerpc/register-dump.h: New file.
1612         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1613         sigcontextinfo.h.
1614         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1616 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1618         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1620 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1622         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1623         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1624         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1625         getresuid, getresgid.
1627 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1629         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1630         pointer in userland.
1632 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1634         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1635         and fix value.
1637 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1639         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1640         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1641         if nonelf returns successfully.  Avoid duplicating most of the
1642         script.
1643         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1644         around $file.
1646 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1648         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1649         sys/reg.h.
1650         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1651         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1653 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1655         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1656         __modify_ldt and modify_ldt.
1657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1659         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1660         Use orl $-1 instead of movl $-1 to save two bytes.
1661         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1662         Likewise.
1664 1998-08-17  H.J. Lu  <hjl@gnu.org>
1666         * libio/Versions (_IO_do_write, _IO_file_attach,
1667         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1668         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1669         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1670         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1672         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1673         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1674         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1675         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1676         _IO_file_write, _IO_file_xsputn): Change the prefix to
1677         "_IO_new_". Added to GLIBC_2.1.
1679         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1680         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1681         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1682         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1683         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1684         "_IO_new_".
1686         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1687         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1688         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1689         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1690         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1692 1998-08-23  Richard Henderson  <rth@cygnus.com>
1694         * Makeconfig (LDFLAGS): Remove.
1696         * csu/initfini.c: Return to .text before __gmon_start__.
1698         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1699         (STO_MIPS_*): Rename from STO_*.
1700         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1701         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1703         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1704         (main): e3s is negative on zero.
1705         * math/atest-exp2.c: Likewise.
1706         * math/atest-sincos.c: Likewise.
1708 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1710         * Makerules (install): Add comment about absolute paths.
1712 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1714         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1715         array to NUL to handle maxlen==1 case correctly.
1716         Patch by HJ Lu.
1718 1998-08-23  Richard Henderson  <rth@cygnus.com>
1720         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1721         * sysdeps/alpha/elf/crtend.S: Likewise.
1722         * sysdeps/alpha/elf/start.S: Likewise.
1724         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1725         non-standard pv usage.
1727         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1728         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1729         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1730         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1731         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1732         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1733         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1734         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1735         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1736         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1737         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1739         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1740         a finite non-denormal, deferring to the full IEEE version otherwise.
1742         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1743         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1744         * sysdeps/alpha/fpu/s_floor.c: New.
1745         * sysdeps/alpha/fpu/s_floorf.c: New.
1746         * sysdeps/alpha/fpu/s_ceil.c: New.
1747         * sysdeps/alpha/fpu/s_ceilf.c: New.
1749 1998-08-22  Philip Blundell  <philb@gnu.org>
1751         * sysdeps/arm/bits/string.h: New file.
1753 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1755         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1756         document it.
1758         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1759         test for recent Linux 2.1.100+ headers.
1761 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1763         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1765 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1767         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1769 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1771         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1772         * elf/Makefile (ldso_install): Likewise.
1774 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1776         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1777         create weak alias.
1778         * include/db.h: Declare __nss_db_open.
1779         * db2/Versions: Export it.
1781         * db2/makedb.c: Convert to use db2 API.
1782         * nss/nss_db/db-XXX.c: Likewise.
1783         * nss/nss_db/db-netgrp.c: Likewise.
1784         * nss/nss_db/db-alias.c: Likewise.
1785         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1787 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1790         sys_setresuid, already built automatically (or not).
1791         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1792         instead of __syscall_setresuid and add back setresuid.
1793         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1794         __syscall_setresuid.
1796 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1798         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1800 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1802         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1803         BASH-ONLY marked region.
1804         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1806 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1808         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1809         _IO_SYSSEEK fails.
1811         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1813         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1814         element.
1816 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1818         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1819         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1820         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1821         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1822         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1823         those magic comments, and to use /bin/sh for @BASH@.
1824         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1825         * elf/ldd.sh.in: File removed.
1827 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1829         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1830         cast them to unsigned long int.
1831         * pwd/putpwent.c (putpwent): Likewise.
1832         Patch by John Tobey <jtobey@banta-im.com>.
1834 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1836         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1837         _IO_pos_BAD.
1839 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1841         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1842         _IO_SYSSEEK fails.
1844 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1846         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1847         Add umount and umount2.
1848         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1849         * sysdeps/unix/sysv/linux/umount.S: New file.
1850         * sysdeps/unix/sysv/linux/umount2.S: New file.
1851         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1852         Define MNT_FORCE.
1854         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1855         Add sys/sendfile.h.
1856         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1857         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1859         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1861         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1862         sendfile.
1864 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1866         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1867         * elf/ldd.bash.in: Likewise.
1869         * elf/sln.c: Avoid warning for no main prototype.
1871         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1872         O_WRITE.
1873         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1876         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1877         F_GETSIG.
1878         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1879         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1882 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1884         * sysdeps/arm/fpu/ieee754.h: Move to...
1885         * sysdeps/arm/ieee754.h: ... here.
1887         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1888         Don't set the condition flags unnecessarily.
1889         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1890         registers correctly.
1892         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1893         (patch from Scott Bambrough).
1895         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1897         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1898         NULL, just call it unconditionally.
1899         (__gmon_start__): Provide stub version as a weak symbol.
1901 1998-07-30  Philip Blundell  <philb@gnu.org>
1903         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1904         by Scott Bambrough)
1906         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1907         like `@' in .type directives.
1909         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1910         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1912         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1914 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1916         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1917         (F_GETOWN): Likewise.
1919         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1920         Linux 2.1.117).
1922 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1924         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1925         already defined.
1927 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1929         * include/features.h: Define __USE_EXTERN_INLINES for recent
1930         enough gcc.
1931         * argp/argp.h: Define extern inline functions only if
1932         __USE_EXTERN_INLINES is defined.
1933         * libio/stdio.h: Likewise.
1934         * math/math.h: Likewise.
1935         * stdlib/stdlib.h: Likewise.
1936         * string/argz.h: Likewise.
1937         * sysdeps/generic/bits/sigset.h: Likewise.
1938         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1939         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1940         * sysdeps/wordsize-32/inttypes.h: Likewise.
1941         * sysdeps/wordsize-64/inttypes.h: Likewise.
1942         * wcsmbs/wchar.h: Likewise.
1944         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1945         to allow compilation without optimization.
1947 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1949         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1950         more entries.
1951         * nis/nss_compat/compat-initgroups.c: Likewise.
1952         * nis/nss_compat/compat-pwd.c: Likewise.
1953         * nis/nss_compat/compat-spwd.c: Likewise.
1954         * nis/nss_nis/nis-alias.c: Likewise.
1955         * nis/nss_nis/nis-ethers.c: Likewise.
1956         * nis/nss_nis/nis-grp.c: Likewise.
1957         * nis/nss_nis/nis-hosts.c: Likewise.
1958         * nis/nss_nis/nis-initgroups.c: Likewise.
1959         * nis/nss_nis/nis-network.c: Likewise.
1960         * nis/nss_nis/nis-proto.c: Likewise.
1961         * nis/nss_nis/nis-pwd.c: Likewise.
1962         * nis/nss_nis/nis-rpc.c: Likewise.
1963         * nis/nss_nis/nis-service.c: Likewise.
1964         * nis/nss_nis/nis-spwd.c: Likewise.
1966         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1968         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1970         * nis/yp_xdr.c: Remove 1024 byte limit.
1971         * nis/ypupdate_xdr.c: Likewise.
1973         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1974         wrong data.
1976 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1978         * Rules (binaries-static, binaries-shared static pattern rules):
1979         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1981         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1982         this here, overriding Makeconfig generic value so we link against
1983         the RPC libs.
1985 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1987         * posix/tstgetopt.c (options): Add NULL entry at end
1988         Patch by Adrian Miranda <ade@psg.com>.
1990 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1992         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1993         to 9.
1995 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1997         * elf/elf.h: Add PPC Diab relocations.
1999         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2001 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
2003         * manual/texinfo.tex: Update.
2005 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
2007         * sysdeps/powerpc/backtrace.c: New file.
2009 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
2011         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2012         sigjmp_save.
2013         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2015 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2017         * Makefile (install-symbolic-link): Fix spelling.
2019 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2021         * elf/elf.h (SHT_HIOS): Fix value.
2023 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2025         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2026         part of the expansion, this is undefined by the standard.
2028 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
2030         * posix/getconf.c: Add support for systems with incomplete confname.h.
2032         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2034         * sysdeps/posix/wait3.c: Make it work.
2036 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2038         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2039         (elf/ldso_install): Remove.
2041         * elf/Makefile (distribute): Add sln.c.
2042         (others): Add sln.
2043         (others-static): Add sln.
2044         (install-rootsbin): Add sln.
2045         (others-static): Add sln.
2046         (ldso_install): Remove.
2048 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2050         * Makerules (install-clean-symbolic-link-list): Make phony.
2051         * Makefile (install-symbolic-link): Make phony.  Depend on
2052         subdir_install for parallel makes.
2055 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2057         * elf/Makefile (distribute): Add sln.c
2059 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2061         * elf/sln.c: New file.
2063         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2064         (install-clean-symbolic-link-list): New target.
2065         (install): Depend on install-clean-symbolic-link-list.
2066         (make-shlib-link): Changed for $(symbolic-link-list).
2068         * Makefile (install-symbolic-link): New target.
2069         (install): Depend on install-symbolic-link.
2071 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2073         * include/unistd.h: Protect against multiple inclusion.
2075         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2076         is defined, not is glob is defined.
2077         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2079 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2081         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2082         xdr_string for ut_line, ut_name and ut_host.
2084 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2086         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2087         /var/mail in accordance with FHS 2.0.
2088         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2090 1998-08-12  Richard Henderson  <rth@cygnus.com>
2092         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2093         Update aliases for cancelation.
2095         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2096         playing with symbol versions.
2098 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2100         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2101         multiple inclusion protection.
2102         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2103         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2104         define all these to 1.
2105         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2107 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2109         * sysdeps/mach/usleep.c: Include <unistd.h>.
2110         (usleep): Return void.
2112 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2114         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2115         decl to inhibit warning in if_freenameindex defn.
2117         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2119         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2121         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2122         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2123         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2124         * sysdeps/mach/usleep.c: Likewise.
2126         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2128         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2129         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2130         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2131         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2132         * sysdeps/mach/usleep.c (usleep): Likewise.
2133         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2134         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2135         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2136         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2138 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2140         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2141         (glob64): Fix typo.
2143         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2144         %p arg to fprintf, since `void *' is the right type already.
2146 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2148         * sysdeps/mach/hurd/getcwd.c
2149         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2150         for unknown root directories.
2151         (__getcwd): Return NULL when the current root directory could not
2152         be reached.
2154 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2156         * string/strsignal.c (strsignal): Count real-time signals from zero.
2159 See ChangeLog.8 for earlier changes.