Update.
[glibc.git] / ChangeLog
bloba20d42801cb06c919252d6d8c0a9bfd8547e577d
1 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
3         * Makeconfig (all-subdirs): Add db.
4         * Versions.def: Add definition for libdb1.
5         * shlib-versions: Add definitions for libdb1.
6         * db/Makefile (extra-libs): Replace by libdb1.
7         (libdb-routines): Rename to libdb1-routines.
8         (headers): Rename to db1-headers.
9         (distribute): Add $(db1-headers).
10         (install-others): Define to install symlink libdb.so.NN and the
11         $(db1-headers).
12         (CPPFLAGS): Add -USE_LIBDB1
13         Remove rules to build makedb.
14         * db/Versions: Rename libdb to libdb1.
15         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
17         * scripts/versions.awk: Recognize digits in library names.
19         * db/btree/bt_open.c: Fix compiler warnings.
20         * db/btree/bt_put.c: Likewise.
21         * db/btree/bt_split.c: Likewise.
22         * db/hash/hash.c: Likewise.
23         * db/hash/hash_bigkey.c: Likewise.
24         * db/recno/rec_close.c: Likewise.
26 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
28         * posix/execvp.c: Don't give up searching the PATH if execve
29         returns ENOTDIR.
31 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
33         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
34         if _dl_fpu_control_set is set.
35         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
36         * elf/rtld.c: Don't define _dl_fpu_control_set.
37         * elf/Versions: Remove _dl_fpu_control_set.
39 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
41         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
42         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
43         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
44         Correct values of other SA_* macros according to kernel headers.
46 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
48         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
49         variable l.
50         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
51         old.
53 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
55         * elf/ldsodefs.h: Fix typo in comment.
57 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
59         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
60         char when comparing buffer contents with putback character.
62 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
64         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
65         Undo last change.
66         * elf/Versions: Undo last change.  Export _dl_fpu_control and
67         _dl_fpu_control_set.
68         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
69         variables.  Include <fpu_control.h>.
70         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
71         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
72         to indicate that is was seen.
73         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
74         only if _dl_fpu_control was set and is equal to desired value.
75         * math/Makefile (aux): Undo last change.
76         * math/Versions: Export __fpu_control with version GLIBC_2.0.
78 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
80         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
81         optimized.
83 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
85         * string/bits/string2.h: Add mempcpy optimization.
86         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
87         * intl/localealias.c: Define mempcpy only if not already defined.
89         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
90         defined.
92 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
94         * csu/abi-note.S: Emit the note directly instead of defining
95         a preprocessor macro that's only used once.  Don't include sysdep.h.
96         * abi-tags: Generalize Solaris entry.
98 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
100         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
101         Change to array to avoid runtime relocation.
102         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
104 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
106         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
107         * math/Makefile ($(objpfx)libieee.a): Likewise.
109 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
111         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
112         Patch by John Tobey <jtobey@banta-im.com>.
114 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
116         * login/Makefile (distribute): Remove pty-internal.h, add
117         pty-private.h.
119         * stdlib/tst-strtol.c: Add more checks.
120         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
122 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
124         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
125         * elf/elf.h: Add AT_FPUCW.
126         * elf/Makefile (dl-routines): Add fpu_control.
127         (elide-routines.os): Add fpu_control.
128         (rtld-routines): Add fpu_control.
129         * math/Makefile (aux): Remove fpu_control.
130         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
131         (_dl_show_auxv): Likewise.
132         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
133         if different from OS default.
135         * stdio-common/tstscanf.c: Add test case for (nil).
137 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
139         * libio/fileops.c (_IO_new_file_underflow): Before allocating
140         buffer make sure the pushback buffer is destroyed.
141         (_IO_new_file_seekoff): Likewise.
142         If mode==0 quit early with the result.
143         Clear OEF flag after successful fseek.
144         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
145         * libio/ftello.c (ftello): Add offset from original buffer if
146         stream has pushed back characters.
147         * libio/ftello64.c (ftello64): Likewise.
148         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
149         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
150         * libio/ioftell.c (_IO_ftell): Likewise.
151         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
152         and _IO_save_ptr.
153         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
154         (_IO_default_pbackfail): Only stored push back character in original
155         buffer if it is the same as the one in the file at this position.
156         * libio/iofclose.c: Free backup buffer if one is available.
157         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
158         mode!=0.
160         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
162         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
164         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
166 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
168         * login/programs/pt_chown.c (more_help): Correct message that
169         describes the purpose of the program.
171         * login/openpty.c: Do not include pty-private.h.
172         (pts_name): New function.  Return name of slave pseudo terminal in
173         an allocated buffer if necessary.
174         (openpty): Use pts_name to get name of the slave end of the pseudo
175         terminal pair.
177         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
178         pts_name before return.
180 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
182         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
184 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
186         * login/openpty.c: Include pty-private.h instead of
187         pty-internal.h.
189 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
191         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
193 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
195         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
196         recent ld.so changes.
197         (elf_machine_runtime_setup): Correct behaviour when profiling.
199 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
201         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
202         Patch by John Tobey <jtobey@banta-im.com>.
204 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
206         * login/pty-internal.h: Removed.  Moved constants related to the
207         `grantpt' helper program protocol to ...
208         * login/pty-private.h: ... here.  New file.
209         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
210         to make the function work with kernels >= 2.1.115.
211         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
212         version if using the cloning device fails.
213         * sysdeps/unix/sysv/linux/grantpt.c: New file.
214         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
215         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
216         use by Linux specific code.
217         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
218         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
219         function.  (grantpt): Use pts_name, check group and permission
220         mode in addition to owner.  Try to set the owner, group and
221         permission mode first without invoking the helper program.
222         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
223         internationalization support.  Use symbolic constants instead of
224         hardwired numbers for permission mode.
225         * sysdeps/unix/bsd/ptsname.c: New file.
227 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
229         * posix/wordexp-test.c: Undo last change.
231         * posix/wordexp.c: Undo last change.
233 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
235         * nscd/grpcache.c (save_grp): Partly undo last change.
237         * nscd/pwdcache.c (save_pwd): Undo last change.
239 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
241         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
242         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
244 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
246         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
247         Add profiling support.
248         (TRAMPOLINE_TEMPLATE): New macro.
249         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
250         (RTLD_START): Prettify, and set __libc_stack_end properly.
251         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
252         and check for sym being NULL instead.
253         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
254         of stack space.
255         * sysdeps/sparc/sparc64/lshift.S: Likewise.
256         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
257         * sysdeps/sparc/sparc64/rshift.S: Likewise.
258         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
259         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
260         MEDANY code model %g4 usage.
261         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
262         MEDANY code model %g4 usage.
263         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
264         code model address formation.
265         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
266         include elf/ldsodefs.h
267         (DT_SPARC): Remove.
268         (elf_machine_matches_host): It is now EM_SPARCV9.
269         (elf_machine_dynamic): Clean up to remove ugly cast.
270         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
271         new PLT formats.
272         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
273         Prettify rest of function.
274         [R_SPARC_COPY]: Check for sym being NULL.
275         [R_SPARC_32]: Handle it.
276         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
277         MEDMID code model.
278         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
279         MEDANY code model.
280         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
281         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
282         Add profiling support.
283         (TRAMPOLINE_TEMPLATE): New macro.
284         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
285         (RTLD_START): Prettify and set __libc_stack_end.
286         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
287         Define.
288         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
289         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
290         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
291         unused variable scratch.
292         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
293         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
294         Declare.
295         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
296         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
297         old format kernel sigaction structures.
298         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
299         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
300         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
301         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
302         ucontext include.
303         (_JMPBUF_UNWINDS): Define.
304         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
305         statfs64 structure, which is exactly the same as the normal one.
306         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
307         of stack.  Use correct syscall trap number.  Add branch prediction
308         settings to branch instructions.  Remove old MEDANY code model %g4
309         referneces for non-PIC.
310         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
311         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
312         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
313         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
315         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
316         __libc_longjmp and __libc_siglongjmp strong aliases.
317         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
318         Also define to __no__readdir64_decl around readdir.c inclusion.
319         (__readdir64): Add strong alias.
320         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
321         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
322         Set strong and weak names properly.
324 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
326         * manual/Makefile (AWK): Default to gawk if standalone.
328 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
330         * Makefile (distribute): Undo last change.
331         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
332         for sysdep headers.
333         (+subdir-headers): Removed, unused.
335 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
337         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
338         $(do-install).
340 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
342         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
343         absolute name in $(config-sysdirs), can never happen.
344         ($(+sysdir_pfx)sysd-rules): Likewise.
345         * Makeconfig (full-config-sysdirs): Likewise.
346         (all-Subdirs-files): Prepend $(..).
348         * configure.in: Don't check for absolute name in $add_ons_pfx, can
349         not happen.  Let --enable-add-ons=yes work if no add-ons actually
350         exist.
352 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
354         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
355         continuations in command.
357 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
359         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
361 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
363         * posix/wordexp-test.c: If expansion or substitution occurs
364         anywhere in a word, the entire word is subject to field-splitting.
366         * posix/wordexp.c (parse_glob): Look for end of word instead of
367         end of field when deciding what to glob.
368         (field_split_word): New function, now the only place where
369         field-splitting is performed.
370         (parse_dollars): New parameter - tell the caller if
371         field-splitting should be performed on this word.
373         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
374         succeeded (or failed with WRDE_NOSPACE).
376 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
378         * posix/wordexp.c (wordexp): Don't convert IFS characters to
379         blanks.
381         * posix/wordexp-test.c: Words not the result of expansion or
382         substitution should remain unchanged.
384 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
386         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
387         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
389 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
391         * stdio-common/Makefile: Include Makeconfig so that
392         $(inst_includedir) is defined.
394 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
396         * io/pwd.c: Include <mcheck.h>.
398 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
400         * nscd/pwdcache.c (save_pwd): Correct copying.
401         * nscd/grpcache.c (save_grp): Likewise.
403 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
405         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
406         (free_pwd): Adjust for this change.
407         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
408         (free_grp): Adjust for this change.
410 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
412         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
414 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
416         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
417         (install-others): Add bits/stdio_lim.h.
418         Add rule to install bits/stdio_lim.h.
420         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
422         * Makefile (distribute): Add include/sys/mman.h.
424         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
425         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
426         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
428         * grp/initgroups.c: Include stdlib.h.
429         Patch by Zack Weinberg.
431 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
433         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
434         for field-splitting :abc: is correct, and that two fields should
435         result. Revert tests to reflect this.
437         * posix/wordexp.c (w_emptyword): Remove function.
438         (exec_comm): Don't use w_emptyword.
439         (parse_param): Likewise.
441 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
443         * sysdeps/arm/fpu/Dist: Moved to...
444         * sysdeps/arm/Dist: ...here.
445         * sysdeps/posix/Dist: Removed.
446         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
447         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
449 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
451         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
453 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
455         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
457 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
459         * libc-work/nis/nss_nisplus/nisplus-service.c
460         (_nss_nisplus_parse_servent): Convert port in network byte order.
462 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
464         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
465         to provide only malloc and calloc.
466         * include/stdlib.h: Support the above.
467         * string/bits/string2.h: Use __need_malloc_and_calloc when
468         including stdlib.h.
469         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
471         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
472         * iconvdata/iso646.c: Include <stdlib.h>.
474 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
476         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
477         * sysdeps/libm-ieee754/w_pow.c: Likewise.
478         * sysdeps/libm-ieee754/w_powf.c: Likewise.
479         * sysdeps/libm-ieee754/w_powl.c: Likewise.
481 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
483         * stdio-common/stdio_lim.h.in: New file.  All parameters
484         are adjustable at build time.
485         * Rules: Add a rule to build bits/stdio_lim.h from
486         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
487         all subdirectories know how to make the file.  It can't be
488         in Makerules because then it gets built at top level and the
489         dependencies are wrong.)
491         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
492         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
493         stdio_lim.h.
494         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
495         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
496         * sysdeps/posix/Makefile: Removed.
497         * sysdeps/posix/mk-stdiolim.c: Removed.
498         * sysdeps/generic/bits/stdio_lim.h: Removed.
500 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
502         * argp/argp-help.c: Fixup indentation.
503         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
504         * resolv/nss_dns/dns-network.c: Likewise.
505         * resolv/res_send.c: Likewise.
506         * rt/aio_cancel.c: Likewise.
507         * rt/aio_misc.c: Likewise.
509 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
511         * Makefile (install-symbolic-link): Remove the link list file at last.
512         * Makerules (install-clean-symbolic-link-list): Removed.
514 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
516         * timezone/tst-timezone.c: Print time in UTC to get consistent
517         output.
519 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
521         * elf/rtld.c (_dl_rpath): Removed.
522         * elf/dl-support.c (_dl_path): Removed.
523         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
524         (CFLAGS-dl-support.c): Removed.
526         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
527         uses changed.
528         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
529         instead of appending it to the main map's rpath info.
530         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
531         DT_RPATHs.  This makes it effective again.
532         (decompose_rpath): Remove second parameter, callers changed.
533         (fillin_rpath): Allocate enough space in curwd.
534         (expand_dynamic_string_token): Cope with get_origin returning -1.
536 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
538         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
539         passwd.adjunct.
541         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
542         invalid password.
544 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
546         * locale/programs/locale.c: Update dates.
548 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
550         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
551         size_t is defined.  Some reordering of defenitions to make
552         maintaining this file in parallel with the linux-specific file easier.
554 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
556         * io/pwd.c (main): Add call to mtrace.
558         * malloc/mtrace.pl: Quote @ in string.
560 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
562         * posix/wordexp.c (parse_arith): Fix memory leaks.
563         (exec_comm): Likewise.
564         (parse_param): Likewise.
565         (wordexp): Likewise.
566         (exec_comm): Reduce number of function return points.
567         (parse_param): Likewise.
568         (wordexp): Likewise.
570 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
572         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
573         yield three fields, not two.  Test both parameter expansion and
574         command substitution for correct field-splitting behaviour.
576         * posix/wordexp.c (w_emptyword): New function.
577         (parse_param): Use it.
578         (exec_comm): Likewise, for consistency with the way parse_param
579         splits fields.
580         (parse_param): Fix some memory leaks.
582 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
584         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
585         Don't mark asm `volatile'.
586         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
587         from the data cache too.  Assume it isn't in the instruction cache yet.
588         (__elf_machine_fixup_plt): Clear the modified address from the caches.
590 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
592         * sysdeps/generic/segfault.c (install_handler): Install signal
593         handler with SA_ONSTACK instead of setting the stack flags to
594         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
595         defined.
597 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
599         * signal/signal.h: Fix multiple inclusion guard to cover the
600         entire file.
601         * wcsmbs/wchar.h: Remove prototype of internal function
602         __mbsrtowcs.
603         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
604         arithmetic on `void *'.
606 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
608         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
610         * posix/wordexp.c (wordexp): Perform word-splitting instead of
611         field-splitting here.
612         (wordexp): If out of memory mid-word, free the word (but still
613         leave pwordexp alone for caller to see).
614         (parse_param): Allow for zero-length fields (smarter checking of
615         memory allocation failure).
616         (w_addword): Convert NULL words to "".
617         (wordexp): Convert left-over IFS characters to blanks (like bash).
619 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
621         * configure.in: Use test -f instead of test -e.
622         Patch by John Tobey <jtobey@banta-im.com>.
624         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
625         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
626         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
627         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
628         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
629         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
630         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
631         Patches by John Tobey <jtobey@banta-im.com>.
633         * time/strftime.c (my_strftime): Delay use of *tp values until
634         latest possible point to allow partly initialized structures
635         (e.g., from strptime).
637         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
638         and NATS-SEFI.
639         Define *-routines variables for new modules.
640         (distribute): Add .c files for new modules.
641         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
642         and nats-sefi.h.
643         Add rules for header generation.
644         * iconvdata/gconv-modules: Add entries for new modules.
645         * iconvdata/iso_10367-box.c: New file.
646         * iconvdata/mac-is.c: New file.
647         * iconvdata/nats-dano.c: New file.
648         * iconvdata/nats-sefi.c: New file.
650 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
652         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
653         loader if PIC is not defined.
655 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
657         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
658         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
659         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
660         and ISO_5428.
661         Define *-routines variables for new modules.
662         (distribute): Add .c files for new modules.
663         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
664         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
665         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
666         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
667         Add rules for header generation.
668         * iconvdata/gconv-modules: Add entries for new modules.
669         * iconvdata/csn_369103.c: New file.
670         * iconvdata/cwi.c: New file.
671         * iconvdata/dec-mcs.c: New file.
672         * iconvdata/ecma-cyrillic.c: New file.
673         * iconvdata/gost_19768-74.c: New file.
674         * iconvdata/greek-ccitt.c: New file.
675         * iconvdata/greek7-old.c: New file.
676         * iconvdata/greek7.c: New file.
677         * iconvdata/inis-8.c: New file.
678         * iconvdata/inis-cyrillic.c: New file.
679         * iconvdata/inis.c: New file.
680         * iconvdata/iso6937-2.c: New file.
681         * iconvdata/iso_2033.c: New file.
682         * iconvdata/iso_5427-ext.c: New file.
683         * iconvdata/iso_5427.c: New file.
684         * iconvdata/iso_5428.c: New file.
686         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
687         entries.
688         Convert U02dd correctly.
690 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
692         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
693         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
694         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
695         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
697 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
699         * resolv/res_init.c (res_init): Handle resolv.conf file with only
700         one nameserver correctly.  Patch by HJ Lu.
702         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
703         and ANSI_X3.110.
704         Define *-routines variables for new modules.
705         (distribute): Add .c files for new modules.
706         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
707         Add rules for hedaer generation.
708         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
709         * iconvdata/ansi_x3.110.c: New file.
710         * iconvdata/asmo_449.c: New file.
711         * iconvdata/baltic.c: New file.
712         * iconvdata/iec_p27-1.c: New file.
714         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
715         entries.
716         Convert U02dc correctly.
718         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
719         * math/atest-exp2.c: Likewise.
720         * math/atest-sincos.c: Likewise.
722         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
723         is defined.
725 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
727         * string/strcoll.c: Optimize a few expressions.
728         * string/strxfrm.c: Likewise.
730 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
732         * manual/locale.texi: Fix typos.
734 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
736         * stdlib/random_r.c (__setstate_r): Allow call with same state
737         array as currently used (PR libc/774).
739         * include/limits.h: Include gcc's header even if this file is
740         found more than once before it (PR libc/778)
742         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
743         (sysdep_headers): Remove sys/debugreg.h.
744         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
745         (sysdep_headers): Add sys/debugreg.h.
746         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
747         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
749         * stdio-common/tmpnam.c: Move local static variable buf to
750         toplevel and rename to tmpnam_buffer to ease debugging.
751         Patch by Joe Keane <jgk@jgk.org>.
752         Optimize s == NULL case a bit.
754         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
755         correction.
757 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
759         * resolv/res_init.c (res_init): Initialize _res.nscount and
760         _res.nsaddr.sin_port differently for the can when no loopback
761         is available to allow immediate timeout in non-networking environments.
762         Patch by Cristian Gafton <gafton@redhat.com>.
764 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
766         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
767         BAR and not EM DASH.
768         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
769         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
770         Fixes PR libc/717.
772 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
774         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
775         for test.
776         * timezone/tst-timezone.c (tests): Fix typo in last patch.
778         * time/tzfile.c (__tzfile_read): Handle case when there are no
779         transitions.  Set __timezone based on computed offset.
780         * time/tzset.c (tzset_internal): Set __timezone before returning.
782         * time/tzset.c (tzset_internal): Optimize handling of local string
783         copy.
785 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
787         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
788         libc/776).
790 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
792         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
793         (csqrt_test): Likewise.
794         * sysdeps/powerpc/bits/fenv.h: Add parens.
796 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
798         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
799         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
800         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
802 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
804         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
805         the special `-1' pointer.
807 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
809         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
810         inline.
812 1998-09-07  Paul Eggert  <eggert@twinsun.com>
814         * time/mktime.c (__EXTENSIONS__): Define if not defined.
815         (_REENTRANT): Remove.  It has undesirable consequences in
816         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
817         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
818         is what we want.
819         * time/strftime.c: Likewise.
821 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
823         * elf/dl-error.c: Fix spelling.
825 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
827         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
828         * stdio-common/_itoa.c: Likewise.
829         * stdio-common/printf_fp.c: Likewise.
830         * stdio-common/vfscanf.c: Likewise.
831         * wcsmbs/wcstok.c: Likewise.
832         * sysdeps/generic/glob.c: Likewise.
833         * posix/getopt.c: Likewise.
834         * sysdeps/posix/getaddrinfo.c: Likewise.
835         * posix/wordexp.c: Likewise.
836         * io/ftw.c: Likewise.
837         * io/fts.c: Likewise.
838         * misc/getpass.c: Likewise.
839         * iconv/gconv_conf.c: Likewise.
840         * argp/argp-fmtstream.c: Likewise.
841         * argp/argp-help.c: Likewise.
842         * elf/dl-load.c: Likewise.
843         * locale/programs/stringtrans.c: Likewise.
844         * catgets/gencat.c: Likewise.
845         * posix/getconf.c: Likewise.
846         * iconv/gconv_conf.c: Likewise.
847         * iconv/iconv_prog.c: Likewise.
849         * string/strcoll.c: Optimize a few expressions.
850         * string/strxfrm.c: Likewise.
852 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
854         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
855         level to avoid uninit variable warning.
857 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
859         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
860         instead of _dl_default_scope[2] as argument to _dl_init_next.
862         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
863         C9x macro.
865 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
867         Fix compatibility problems introduced in last change.
868         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
869         defined.
870         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
871         -DWEAK_GMON_START to CFLAGS-initfini.s.
873         * elf/dl-object.c (_dl_new_object): Store map address in
874         _dl_loaded if _dl_loaded is NULL.
875         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
877         * sysdeps/generic/setrlimit64.c: Remove stub warning.
879 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
881         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
882         quiet.
883         * db2/btree/bt_cursor.c: Likewise.
884         * db2/common/db_region.db_c: Likewise.
885         * db2/common/db_salloc.db_c: Likewise.
886         * db2/db/db.c: Likewise.
887         * db2/db/db_rec.c: Likewise.
888         * db2/hash/hash.c: Likewise.
889         * db2/hash/hash_page.c: Likewise.
890         * db2/hash/hash_rec.c: Likewise.
891         * db2/log/log_findckp.c: Likewise.
892         * db2/log/log_get.c: Likewise.
893         * db2/log/log_put.c: Likewise.
894         * db2/mp/mp_fget.c: Likewise.
895         * db2/mp/mp_fput.c: Likewise.
896         * db2/mp/mp_region.c: Likewise.
897         * stdlib/strtol.c: Likewise.
898         * string/strcoll.c: Likewise.
899         * string/strxfrm.c: Likewise.
900         * argp/argp-help.c: Likewise.
901         * argp/argp-parse.c: Likewise.
902         * resolv/res_debug.c: Likewise.
904 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
906         * math/tgmath.h (scalb): Only define for __USE_MISC or
907         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
909 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
911         * libio/stdio.h: Fix comment.
913         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
914         __USE_ISOC9X.
916 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
918         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
920         * elf/dl-open.c: Quiet -Wparentheses warnings.
921         * iconvdata/johab.c: Likewise.
922         * iconvdata/uhc.c: Likewise.
923         * inet/inet_net.c: Likewise.
924         * io/fts.c: Likewise.
925         * locale/newlocale.c: Likewise.
926         * misc/getttyent.c: Likewise.
927         * misc/mntent_r.c: Likewise.
928         * misc/ttyslot.c: Likewise.
929         * nscd/nscd_conf.c: Likewise.
930         * nss/nsswitch.c: Likewise.
931         * resolv/gethnamaddr.c: Likewise.
932         * resolv/nsap_addr.c: Likewise.
933         * resolv/res_debug.c: Likewise.
934         * stdio-common/_itoa.c: Likewise.
935         * stdlib/strtod.c: Likewise.
936         * string/strverscmp.c: Likewise.
937         * sunrpc/svc.c: Likewise.
938         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
939         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
940         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
941         * sysdeps/posix/getaddrinfo.c: Likewise.
943 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
945         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
946         for use of global scope.
947         * elf/dlvsym.c (dlvsym_doit): Likewise.
949 1998-09-02  Paul Eggert  <eggert@twinsun.com>
951         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
952         copy the redundant bytes at the end of the format as-is; don't
953         just copy their first byte and then rescan, as that might get
954         us an encoding error.
955         Account correctly for the length of multibyte sequences in the
956         format.
958 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
960         * posix/wordexp-test.c: Add tests for different IFS values.
961         Change unquoted-newline test so that newline is not in IFS.
963         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
964         determining IFS characters.  Return WRDE_BADCHAR for unquoted
965         special characters _except_ if they are separators.
967 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
969         * include/tgmath.h: New file.
971         * libio/stdio.h: Correct reversed #ifs.
972         Patch by Zack Weinberg.
974         * manual/creature.texi: Better explain reason for feature select
975         macros.
976         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
978 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
980         * include/alloca.h: Add multiple-inclusion guard.
981         * include/db.h: Likewise.
982         * include/db_185.h: Likewise.
983         * include/dlfcn.h: Likewise.
984         * include/fcntl.h: Likewise.
985         * include/grp.h: Likewise.
986         * include/libintl.h: Likewise.
987         * include/mntent.h: Likewise.
988         * include/pwd.h: Likewise.
989         * include/sched.h: Likewise.
990         * include/search.h: Likewise.
991         * include/setjmp.h: Likewise.
992         * include/shadow.h: Likewise.
993         * include/signal.h: Likewise.
994         * include/stdio.h: Likewise.
995         * include/stdlib.h: Likewise.
996         * include/string.h: Likewise.
997         * include/termios.h: Likewise.
998         * include/time.h: Likewise.
999         * include/ulimit.h: Likewise.
1000         * include/utmp.h: Likewise.
1001         * include/wchar.h: Likewise.
1002         * include/sys/file.h: Likewise.
1003         * include/sys/gmon.h: Likewise.
1004         * include/sys/ioctl.h: Likewise.
1005         * include/sys/mman.h: Likewise.
1006         * include/sys/resource.h: Likewise.
1007         * include/sys/select.h: Likewise.
1008         * include/sys/socket.h: Likewise.
1009         * include/sys/statfs.h: Likewise.
1010         * include/sys/time.h: Likewise.
1011         * include/sys/times.h: Likewise.
1012         * include/sys/wait.h: Likewise.
1014 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1016         * version.h (VERSION): Bump to 2.0.96.
1018         Rewrite runtime linker to be truly thread-safe.  There is now no
1019         global variable specifying the scope.  We create all needed
1020         scopes at the time the link maps are created.
1021         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1022         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1023         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1024         struct link_map.
1025         * elf/dl-close.c: Rewritten accordingly.
1026         * elf/dl-deps.c: Likewise.
1027         * elf/dl-error.c: Likewise.
1028         * elf/dl-init.c: Likewise.
1029         * elf/dl-load.c: Likewise.
1030         * elf/dl-lookup.c: Likewise.
1031         * elf/dl-object.c: Likewise.
1032         * elf/dl-open.c: Likewise.
1033         * elf/dl-reloc.c: Likewise.
1034         * elf/dl-runtime.c: Likewise.
1035         * elf/dl-support.c: Likewise.
1036         * elf/dl-symbol.c: Likewise.
1037         * elf/dl-version.c: Likewise.
1038         * elf/dlsym.c: Likewise.
1039         * elf/dlvsym.c: Likewise.
1040         * elf/ldsodefs.h: Likewise.
1041         * elf/rtld.c: Likewise.
1042         * iconv/gconv_dl.c: Likewise.
1043         * nss/nsswitch.c: Likewise.
1044         * sysdeps/i386/dl-machine.h: Likewise.
1045         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1047         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1048         Define RTLD_DEFAULT.
1050 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1052         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1053         __getopt_clean_environment with __environ instead of envp.
1055 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1057         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1059         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1060         setting results.
1062         * string/argz.h (argz_next): Add de-consting cast for return.
1063         * string/argz-next.c (__argz_next): Likewise.
1065         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1066         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1067         * sysdeps/gnu/Makefile: Do it here instead.
1068         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1069         * sysdeps/gnu/Dist: ... to here.
1071         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1072         sysdeps/unix/sysv/linux/netinet/tcp.h,
1073         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1075 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1077         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1078         * string/argz-next.c, string/argz-extract.c: Fix defns.
1080 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1082         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1084         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1085         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1086         * sysdeps/generic/sysd-stdio.c: Likewise.
1088 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1090         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1091         (_dl_map_object_from_fd): Make NAME argument const.
1092         Remove last parameter in _dl_new_object call.
1093         (print_search_path): Correct construction of composed path name.
1094         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1095         Remove last parameter in _dl_new_object call.
1096         * elf/dl-object.c: Remove last parameter.  Determine whether create
1097         origin entry based on empty realname.  Handle file in root directory
1098         correctly.
1099         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1100         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1101         Remove last parameter in _dl_new_object call.
1102         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1103         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1105 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1107         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1108         Free l_searchlist and l_dupsearchlist.
1110         * debug/catchsegv.sh: Add one more pair of quotes.
1112 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1114         * elf/dl-load.c (add_name_to_object): Change return type to void and
1115         make NAME parameter const.  Allocate room for NAME in same memory
1116         block used for l_libname entry.
1117         (_dl_map_object_from_fd): Don't free NAME on failure.
1118         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1119         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1120         _dl_map_object_from_fd.
1121         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1122         memory block used for l_libname entry.
1123         * elf/dl-close.c: Adjust free()ing for this change.
1125 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1127         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1129         * malloc/mtrace.c: Add bug report address.  Update email address.
1130         Add more @XXX@ to print correct address size.
1132         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1133         really initialized.
1135         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1136         for munmap call instead of examining phdr again.
1137         Free all malloc()ed strings and arrays.
1139 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1141         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1142         dl-machine.h.
1143         * sysdeps/powerpc/dl-machine.c: New file.
1144         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1145         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1146         the new mapping information (fixes bug involving huge bloated
1147         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1148         * sysdeps/powerpc/dl-start.S: New file.
1150         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1151         l_map_end.
1152         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1153         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1154         others.  Call elf_dynamic_do_##reloc only once (to save even more
1155         space).
1156         * elf/link.h: Add new members l_map_start and l_map_end to keep
1157         track of the memory map.
1158         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1159         the executable.
1161 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1163         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1164         Reported by Andreas Jaeger.
1166         * posix/glob.h: Use __size_t instead of size_t in definitions and
1167         make sure this is defined.
1169 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1171         * manual/locale.texi: Almost complete rewrite.  Document more functions
1172         and functionality.
1173         * manual/arith.texi: Correct reference.
1174         * manual/string.texi: Pretty printing.
1176         * manual/texinfo.tex: Update from last available version.
1178 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1180         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1181         invalid password.
1182         (_nss_nis_getpwuid_r): Likewise.
1183         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1185         * inet/rcmd.c: Implement netgroup support.
1186         Patch by Dick Streefland <dick_streefland@tasking.com>.
1188 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1190         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1191         object on the list is removed.  Don't use this code for PIC.
1192         Reported by HJ Lu [PR libc/770].
1194 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1196         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1198         * include/stdio.h: Add __vsscanf.
1200         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1201         __USE_ISOC9X.
1202         Remove __vsscanf declaration.
1203         Always declare fgetpos and fsetpos.
1205         * math/math.h: Define isinf as macro.
1206         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1207         Don't declare scalb for ISO C 9x.
1209         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1211         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1213         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1214         sys/ucontext.h.
1216         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1217         macros.
1219 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1221         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1222         Reported by jreising@frequentis.com [PR libc/767].
1224 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1226         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1227         fl.l_start at beginning of function.
1228         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1230 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1232         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1233         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1235         * nscd/nscd.init: Make it work in RedHat systems.
1236         Patch by Christian Gafton.
1238 1998-08-29  Philip Blundell  <philb@gnu.org>
1240         * catgets/Makefile: Don't try to run test programs when
1241         cross-compiling.
1243 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1245         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1246         Reported by Zack Weinberg.
1248 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1250         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1251         * elf/Makefile (distribute): Remove ldd.sh.in.
1253 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1255         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1256         variable.
1258 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1260         * sysdeps/i386/register-dump.h: Move to ...
1261         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1263 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1265         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1266         with load address, not map address.
1267         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1268         parameter and use this value.
1269         * sysdeps/arm/dl-machine.h: Likewise.
1270         * sysdeps/i386/dl-machine.h: Likewise.
1271         * sysdeps/m68k/dl-machine.h: Likewise.
1272         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1273         parameter.
1274         * sysdeps/powerpc/dl-machine.h: Likewise
1275         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1276         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1278 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1280         * elf/rtld.c (process_envvars): Fix copy&paste error.
1282         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1283         memalign hook.
1284         (realloc_hook_ini): Don't overwrite memalign hook.
1285         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1286         Reported by Philippe Troin <phil@fifi.org>.
1288         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1289         Patch by Philippe Troin <phil@fifi.org>.
1291 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1293         * sysdeps/generic/segfault.c (install_handler): Protect the
1294         non-POSIX signals with #ifdef.
1295         (catch_segfault): Add missing mode parameter for open.
1296         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1297         other termination signals.
1299 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1301         * debug/Makefile (distribute): Add register-dump.h.
1303 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1305         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1307 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1309         * elf/Makefile (distribute): Add dl-origin.h.
1310         * sysdeps/generic/dl-origin.h: New file.
1311         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1312         * elf/link.h (struct link_map): Add l_origin field.
1313         * elf/dl-load.c (expand_dynamic_string_token): New function.
1314         (decompose_path): Remove WHERE argument, take link map pointer instead.
1315         Call expand_dynamic_string_token instead of local_strdup to make copy
1316         of rpath.
1317         (_dl_init_paths): Call decompose_path with correct argument.
1318         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1319         not defined.
1320         Check EI_OSABI and EI_ABIVERSION fields in header.
1321         Call _dl_new_object with extra argument.
1322         (_dl_map_object): Call decompose_path with correct argument.
1323         Call expand_dynamic_string_token instead of local_strdup to also
1324         expand DST.
1325         Call _dl_new_object with extra argument.
1326         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1327         but the main one if new argument is nonzero.
1328         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1329         * elf/dl-support.c: Define _dl_origin_path.
1330         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1331         (dl_main): Call _dl_new_object with extra argument.
1333         * elf/dl-close (_dl_close): Free l_name and l_origin.
1335         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1336         modifier in asm, not c.
1338         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1339         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1341 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1343         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1344         variable so that map can be freed.
1345         Reported by Philippe Troin <phil@fifi.org>.
1347         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1348         scope array.
1349         Patch by Philippe Troin <phil@fifi.org>.
1351 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1353         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
1354         Don't call writev() with a 100-element vector.
1355         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1356         return address.
1358         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1359         In particular, set __libc_stack_end.
1360         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1361         undefined.  Fix copyright notice.
1363 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1365         * math/Makefile (gmp-objs): New variable.
1366         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1367         Depend on it.
1368         (tests): Add atest-exp atest-sincos atest-exp2.
1369         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1371 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1373         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1374         to toplevel.
1375         (_dl_unload_cache): New function.
1376         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1377         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1378         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1380         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1381         Correct comment for O_LARGEFILE.
1382         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1383         Change O_LARGEFILE to correct value.
1385 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1387         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1388         N == 0.  Patch by HJ Lu.
1390 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1392         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1394 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1396         * argp/argp.h: Use __inline__ not inline.
1398         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1399         an input register as being clobbered.
1400         * sysdeps/i386/memset.c (memset): Likewise.
1401         * sysdeps/i386/bzero.c (__bzero): Likewise.
1402         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1404 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1406         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1407         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1409 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1411         * debug/catchsegv.sh: Handle text preceding backtrace better.
1412         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1413         to be installed for other signals than SIGSEGV.
1414         * sysdeps/generic/register-dump.h: New file.
1415         * sysdeps/i386/register-dump.h: New file.
1416         * sysdeps/powerpc/register-dump.h: New file.
1418         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1419         sigcontextinfo.h.
1420         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1422 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1424         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1426 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1428         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1429         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1430         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1431         getresuid, getresgid.
1433 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1435         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1436         pointer in userland.
1438 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1440         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1441         and fix value.
1443 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1445         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1446         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1447         if nonelf returns successfully.  Avoid duplicating most of the
1448         script.
1449         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1450         around $file.
1452 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1454         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1455         sys/reg.h.
1456         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1457         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1459 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1461         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1462         __modify_ldt and modify_ldt.
1463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1465         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1466         Use orl $-1 instead of movl $-1 to save two bytes.
1467         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1468         Likewise.
1470 1998-08-17  H.J. Lu  <hjl@gnu.org>
1472         * libio/Versions (_IO_do_write, _IO_file_attach,
1473         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1474         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1475         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1476         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1478         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1479         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1480         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1481         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1482         _IO_file_write, _IO_file_xsputn): Change the prefix to
1483         "_IO_new_". Added to GLIBC_2.1.
1485         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1486         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1487         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1488         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1489         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1490         "_IO_new_".
1492         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1493         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1494         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1495         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1496         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1498 1998-08-23  Richard Henderson  <rth@cygnus.com>
1500         * Makeconfig (LDFLAGS): Remove.
1502         * csu/initfini.c: Return to .text before __gmon_start__.
1504         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1505         (STO_MIPS_*): Rename from STO_*.
1506         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1507         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1509         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1510         (main): e3s is negative on zero.
1511         * math/atest-exp2.c: Likewise.
1512         * math/atest-sincos.c: Likewise.
1514 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1516         * Makerules (install): Add comment about absolute paths.
1518 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1520         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1521         array to NUL to handle maxlen==1 case correctly.
1522         Patch by HJ Lu.
1524 1998-08-23  Richard Henderson  <rth@cygnus.com>
1526         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1527         * sysdeps/alpha/elf/crtend.S: Likewise.
1528         * sysdeps/alpha/elf/start.S: Likewise.
1530         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1531         non-standard pv usage.
1533         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1534         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1535         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1536         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1537         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1538         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1539         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1540         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1541         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1542         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1543         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1545         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1546         a finite non-denormal, deferring to the full IEEE version otherwise.
1548         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1549         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1550         * sysdeps/alpha/fpu/s_floor.c: New.
1551         * sysdeps/alpha/fpu/s_floorf.c: New.
1552         * sysdeps/alpha/fpu/s_ceil.c: New.
1553         * sysdeps/alpha/fpu/s_ceilf.c: New.
1555 1998-08-22  Philip Blundell  <philb@gnu.org>
1557         * sysdeps/arm/bits/string.h: New file.
1559 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1561         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1562         document it.
1564         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1565         test for recent Linux 2.1.100+ headers.
1567 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1569         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1571 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1573         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1575 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1577         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1578         * elf/Makefile (ldso_install): Likewise.
1580 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1582         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1583         create weak alias.
1584         * include/db.h: Declare __nss_db_open.
1585         * db2/Versions: Export it.
1587         * db2/makedb.c: Convert to use db2 API.
1588         * nss/nss_db/db-XXX.c: Likewise.
1589         * nss/nss_db/db-netgrp.c: Likewise.
1590         * nss/nss_db/db-alias.c: Likewise.
1591         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1593 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1595         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1596         sys_setresuid, already built automatically (or not).
1597         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1598         instead of __syscall_setresuid and add back setresuid.
1599         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1600         __syscall_setresuid.
1602 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1604         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1606 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1608         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1609         BASH-ONLY marked region.
1610         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1612 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1614         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1615         _IO_SYSSEEK fails.
1617         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1619         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1620         element.
1622 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1624         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1625         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1626         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1627         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1628         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1629         those magic comments, and to use /bin/sh for @BASH@.
1630         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1631         * elf/ldd.sh.in: File removed.
1633 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1635         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1636         cast them to unsigned long int.
1637         * pwd/putpwent.c (putpwent): Likewise.
1638         Patch by John Tobey <jtobey@banta-im.com>.
1640 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1642         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1643         _IO_pos_BAD.
1645 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1647         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1648         _IO_SYSSEEK fails.
1650 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1652         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1653         Add umount and umount2.
1654         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1655         * sysdeps/unix/sysv/linux/umount.S: New file.
1656         * sysdeps/unix/sysv/linux/umount2.S: New file.
1657         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1658         Define MNT_FORCE.
1660         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1661         Add sys/sendfile.h.
1662         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1663         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1665         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1667         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1668         sendfile.
1670 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1672         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1673         * elf/ldd.bash.in: Likewise.
1675         * elf/sln.c: Avoid warning for no main prototype.
1677         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1678         O_WRITE.
1679         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1682         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1683         F_GETSIG.
1684         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1685         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1688 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1690         * sysdeps/arm/fpu/ieee754.h: Move to...
1691         * sysdeps/arm/ieee754.h: ... here.
1693         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1694         Don't set the condition flags unnecessarily.
1695         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1696         registers correctly.
1698         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1699         (patch from Scott Bambrough).
1701         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1703         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1704         NULL, just call it unconditionally.
1705         (__gmon_start__): Provide stub version as a weak symbol.
1707 1998-07-30  Philip Blundell  <philb@gnu.org>
1709         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1710         by Scott Bambrough)
1712         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1713         like `@' in .type directives.
1715         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1716         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1718         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1720 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1722         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1723         (F_GETOWN): Likewise.
1725         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1726         Linux 2.1.117).
1728 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1730         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1731         already defined.
1733 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1735         * include/features.h: Define __USE_EXTERN_INLINES for recent
1736         enough gcc.
1737         * argp/argp.h: Define extern inline functions only if
1738         __USE_EXTERN_INLINES is defined.
1739         * libio/stdio.h: Likewise.
1740         * math/math.h: Likewise.
1741         * stdlib/stdlib.h: Likewise.
1742         * string/argz.h: Likewise.
1743         * sysdeps/generic/bits/sigset.h: Likewise.
1744         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1745         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1746         * sysdeps/wordsize-32/inttypes.h: Likewise.
1747         * sysdeps/wordsize-64/inttypes.h: Likewise.
1748         * wcsmbs/wchar.h: Likewise.
1750         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1751         to allow compilation without optimization.
1753 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1755         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1756         more entries.
1757         * nis/nss_compat/compat-initgroups.c: Likewise.
1758         * nis/nss_compat/compat-pwd.c: Likewise.
1759         * nis/nss_compat/compat-spwd.c: Likewise.
1760         * nis/nss_nis/nis-alias.c: Likewise.
1761         * nis/nss_nis/nis-ethers.c: Likewise.
1762         * nis/nss_nis/nis-grp.c: Likewise.
1763         * nis/nss_nis/nis-hosts.c: Likewise.
1764         * nis/nss_nis/nis-initgroups.c: Likewise.
1765         * nis/nss_nis/nis-network.c: Likewise.
1766         * nis/nss_nis/nis-proto.c: Likewise.
1767         * nis/nss_nis/nis-pwd.c: Likewise.
1768         * nis/nss_nis/nis-rpc.c: Likewise.
1769         * nis/nss_nis/nis-service.c: Likewise.
1770         * nis/nss_nis/nis-spwd.c: Likewise.
1772         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1774         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1776         * nis/yp_xdr.c: Remove 1024 byte limit.
1777         * nis/ypupdate_xdr.c: Likewise.
1779         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1780         wrong data.
1782 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1784         * Rules (binaries-static, binaries-shared static pattern rules):
1785         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1787         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1788         this here, overriding Makeconfig generic value so we link against
1789         the RPC libs.
1791 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1793         * posix/tstgetopt.c (options): Add NULL entry at end
1794         Patch by Adrian Miranda <ade@psg.com>.
1796 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1798         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1799         to 9.
1801 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1803         * elf/elf.h: Add PPC Diab relocations.
1805         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1807 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1809         * manual/texinfo.tex: Update.
1811 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1813         * sysdeps/powerpc/backtrace.c: New file.
1815 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1817         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1818         sigjmp_save.
1819         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1821 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1823         * Makefile (install-symbolic-link): Fix spelling.
1825 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1827         * elf/elf.h (SHT_HIOS): Fix value.
1829 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1831         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1832         part of the expansion, this is undefined by the standard.
1834 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1836         * posix/getconf.c: Add support for systems with incomplete confname.h.
1838         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1840         * sysdeps/posix/wait3.c: Make it work.
1842 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1844         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1845         (elf/ldso_install): Remove.
1847         * elf/Makefile (distribute): Add sln.c.
1848         (others): Add sln.
1849         (others-static): Add sln.
1850         (install-rootsbin): Add sln.
1851         (others-static): Add sln.
1852         (ldso_install): Remove.
1854 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1856         * Makerules (install-clean-symbolic-link-list): Make phony.
1857         * Makefile (install-symbolic-link): Make phony.  Depend on
1858         subdir_install for parallel makes.
1861 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1863         * elf/Makefile (distribute): Add sln.c
1865 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1867         * elf/sln.c: New file.
1869         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1870         (install-clean-symbolic-link-list): New target.
1871         (install): Depend on install-clean-symbolic-link-list.
1872         (make-shlib-link): Changed for $(symbolic-link-list).
1874         * Makefile (install-symbolic-link): New target.
1875         (install): Depend on install-symbolic-link.
1877 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1879         * include/unistd.h: Protect against multiple inclusion.
1881         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1882         is defined, not is glob is defined.
1883         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1885 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1887         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1888         xdr_string for ut_line, ut_name and ut_host.
1890 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1892         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1893         /var/mail in accordance with FHS 2.0.
1894         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1896 1998-08-12  Richard Henderson  <rth@cygnus.com>
1898         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1899         Update aliases for cancelation.
1901         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1902         playing with symbol versions.
1904 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1906         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1907         multiple inclusion protection.
1908         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1909         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1910         define all these to 1.
1911         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1913 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1915         * sysdeps/mach/usleep.c: Include <unistd.h>.
1916         (usleep): Return void.
1918 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1920         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1921         decl to inhibit warning in if_freenameindex defn.
1923         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1925         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1927         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1928         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1929         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1930         * sysdeps/mach/usleep.c: Likewise.
1932         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1934         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1935         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1936         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1937         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1938         * sysdeps/mach/usleep.c (usleep): Likewise.
1939         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1940         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1941         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1942         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1944 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1946         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1947         (glob64): Fix typo.
1949         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1950         %p arg to fprintf, since `void *' is the right type already.
1952 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1954         * sysdeps/mach/hurd/getcwd.c
1955         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1956         for unknown root directories.
1957         (__getcwd): Return NULL when the current root directory could not
1958         be reached.
1960 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1962         * string/strsignal.c (strsignal): Count real-time signals from zero.
1965 See ChangeLog.8 for earlier changes.