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