1999-03-18 Thorsten Kukuk <kukuk@suse.de>
[glibc.git] / ChangeLog
blobee7358b3dbcea144ff799ec98642154e58412b3c
1 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
3         * sunrpc/clnt_unix.c: Fix creation of parameters for
4         sendmsg/recvmsg on non intel platforms.
5         * sunrpc/svc_unix.c: Likewise.
7 1999-03-18  Philip Blundell  <philb@gnu.org>
9         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386 
10         implementation.
12 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14         * timezone/africa: Update from tzdata1999b.
15         * timezone/asia: Likewise.
16         * timezone/australasia: Likewise.
17         * timezone/europe: Likewise.
18         * timezone/northamerica: Likewise.
19         * timezone/southamerica: Likewise.
20         * timezone/zone.tab: Likewise.
22         * timezone/README: Mention tzdata1999b.
24 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
26         * sysdeps/generic/segfault.c (write_strsignal): New function.
27         (catch_segfault): Use it instead of calling strsignal.
29 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
31         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
32         char to avoid warning.
34 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
36         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
38         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
39         outbuf to unsigned char to avoid warning.
41 1999-03-11  David S. Miller  <davem@redhat.com>
43         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
44         masks.
45         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
47 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
49         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
50         `unsigned char'.
51         (gconv_step_data): Likewise.
52         * iconv/gconv_int.h (__gconv): Likewise.
53         (__BUILINT_TRANS): Likewise.
54         * iconv/gconv.c (__gconv): Likewise.
55         * iconv/iconv.c (iconv): Add casts for call of __gconv.
56         * iconv/skeleton.c: Change local parameters and variable from `char' to
57         `unsigned char'.  Remove casts from calls into modules.
58         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
59         `char' to `unsigned char'.
60         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
61         * wcsmbs/mbrtowc.c: Likewise.
62         * wcsmbs/mbsnrtowcs.c: Likewise.
63         * wcsmbs/mbsrtowcs.c: Likewise.
64         * wcsmbs/wcrtomb.c: Likewise.
65         * wcsmbs/wcsnrtombs.c: Likewise.
66         * wcsmbs/wcsrtombs.c: Likewise.
67         * wcsmbs/wctob.c: Likewise.
69 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
71         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
72         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
73         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
74         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
75         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
76         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
78 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
80         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
81         _hurd_select if TIMEMOUT is -1.
83 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
85         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
87 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
89         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
90         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
92 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
94         * manual/libc.texinfo: Undo last change for now.
96 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
98         * intl/locale.alias: Add entries for Croatian.
99         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
101 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
103         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
104         if the opened master pty really is a pty.  `isatty' checks for
105         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
106         if we are out of pty's.
108 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
110         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
111         opened file is closed on exec.
112         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
113         opened socket.
115 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
117         * manual/llio.texi (File Position Primitive): Reformat @end
118         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
120 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
122         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
123         entry is found.
124         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
125         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
127         * locale/programs/localedef.c (main): Initialize `cat' to please
128         the compiler.
130 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
132         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
133         check for root-owned symlinks and reject them too.
135 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
137         * stdio-common/printf_fphex.c: Move to ...
138         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
139         extended precision number.
140         * sysdeps/m68k/printf_fphex.c: New file.
142 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
144         * manual/stdio.texi: Fix typos.
146 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
148         * version.h (VERSION): Bump to 2.1.1.
150 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
152         * nis/ypclnt.c: Try only twice to connect to NIS server.
154 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
156         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
158 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
160         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
161         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
162         * stdlib/strtold.c: Moved to ...
163         * sysdeps/generic/strtold.c: ... here.
164         * sysdeps/m68k/strtold.c: New file.
166 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
168         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
169         point if the precision is zero, even if the mantissa is non-zero.
171 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
173         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
174         arguments into the request message buffer inside `send_rpc'
175         subfunction.  We must repeat the marshalling when retrying the RPC
176         after a SIGTTOU delivery.
178         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
179         path when there is no ctty port.
180         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
181         Move sigstate check inside loop so we recheck after handling a signal.
183 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
185         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
186         O_EXLOCK are BSD extensions.
187         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
189 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
191         * manual/signal.texi (Termination in Handler): Correct example.
192         Install default handler before reraising the signal.
193         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
195 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
197         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
198         null, in which case send an empty string.
200 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
202         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
203         backward compatibility EH functions to be linked when using
204         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
206 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
208         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
209         /dev/pts status may change during runtime.
211 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
213         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
214         change.  /dev/pts status can change during runtime.
216 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
218         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
219         poll reports error.
220         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
221         add some more sanity checks.
222         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
223         parser prototype.
225 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
227         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
228         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
229         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
230         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
231         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
232         for x_getint32.
233         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
234         * nis/nis_print.c: Fix ctime argument for platforms where
235         sizeof (time_t) != sizeof (int).
237 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
239         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
240         CLOCKS_PER_SEC instead of CLK_TCK.
242 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
244         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
245         whether /dev/pts is available.
246         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
247         dev_pts_available.
249         * posix/globtest.sh: Make common_objpfx path absolute and and db2
250         and hesiod directory to library path [PR libc/1007].
252 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
254         * resolv/inet_addr.c (inet_aton): Don't allow componets >
255         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
257 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
259         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
260         DT_PLTGOT has already been relocated.
261         (__elf_machine_fixup_plt): Likewise.
262         Minor cleanups.
264 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
266         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
268 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
270         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
271         and fold string to uppercase [PR libc/1005].
273 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
275         * elf/dl-load.c (lose): Fix return type.
277 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
279         * sysdeps/mach/hurd/bits/fcntl.h
280         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
281         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
282         set O_NOTRANS as well.
283         (__hurd_file_name_lookup_retry): At successful end of lookup,
284         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
285         it is a translated node not owned by root.
286         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
287         on the file name passed to LOOKUP.
289 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
291         * manual/time.texi (High Resolution Timer): Correct computation in
292         example.  Reported by jjf@devel.cemsys.com.
294 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
296         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
297         entry is already relocated.
299 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
301         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
302         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
304 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
306         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
307         uc_link which is the right name according to Unix98.
308         Reported by Craig Metz [PR libc/1001].
309         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
310         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
311         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
312         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
313         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
314         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
316 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
318         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
319         @ifinfo.
321 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
323         * iconvdata/Makefile: Always include iconv-rules, but disable rule
324         to regenerate it if avoid-generated.
326         * Makeconfig: Always include sys-dirs, but disable rule to
327         regenerate it when avoid-generated.
329         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
330         rule to generate sysd-syscalls.
332         * elf/Makefile (generated): Remove $(objpfx) from names.
334 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
336         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
337         actual length if the adress length is smaller than the input
338         value.  Change type of *LEN paramater to socklen_t.
339         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
340         * sysdeps/mach/hurd/accept.c (accept): Likewise.
341         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
342         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
343         paramater to socklen_t.
345 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
347         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
348         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
349         with the RPC.
351 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
353         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
354         __get_phys_pages): Cast &HBI to silence warning.
356         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
357         * hurd/hurdchdir.c: New file.
358         * hurd/hurdfchdir.c: New file.
359         * sysdeps/mach/hurd/chroot.c: Call
360         _hurd_change_directory_port_from_name to do the work.
361         * sysdeps/mach/hurd/chdir.c: Likewise.
362         * sysdeps/mach/hurd/fchdir.c: Call
363         _hurd_change_directory_port_from_fd to do the work.
364         * hurd/fchroot.c: Likewise.
365         * hurd/hurd.h: Declare them.
367 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
369         * elf/dl-load.c (lose): Add more comments to explain the `why'.
370         (_dl_map_object): Remove redundant test.
372 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
374         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
375         try to _hurd_port_free a lower-numbered descriptor that was not in any
376         fd_set.
378 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
380         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
381         declaration for ____wcstod_l_internal.
383         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
384         __strtod_internal prototype.
385         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
386         (____strtold_l_internal): Add prototype declaration.
387         (__strtold_l): Call correct function.
389 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
391         * elf/elf.h: Add 32bit HPPA definitions.
393 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
395         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
396         non-checked heap is restored when malloc checking was requested by
397         the user.
398         (struct malloc_state): Add using_malloc_checking.
399         (MALLOC_STATE_VERSION): Increment minor.
400         (using_malloc_checking, disallow_malloc_check): New variables.
401         (__malloc_check_init): Use them.
402         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
403         that it can the chunk is properly instrumented when malloc
404         checking is enabled.  Set the new using_malloc_checking field.
405         (malloc_hook_ini): Correct signature when _LIBC is not defined.
407 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
409         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
410         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
411         time.
413         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
414         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
415         if ld.so is the main program.
417 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
419         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
420         large for work_buffer, allocate new buffer.
421         (printf_unknown): Likewise.  [PR libc/988]
423 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
425         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
426         instead of stat and fstat.
427         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
429 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
431         * elf/dl-error.c (_dl_signal_cerror): New function.
432         (_dl_signal_error): Don't call receiver function.
433         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
434         instead of _dl_signal_error when reporting references to undefined
435         symbols or versions.
436         (_dl_lookup_versioned_symbol): Likewise.
437         (_dl_lookup_versioned_symbol_skip): Likewise.
438         * elf/dl-version.c (match_symbol): Likewise.
440         * elf/ldsodefs.h: Declare _dl_signal_cerror.
442 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
444         * misc/getttyent.c (getttyent): Release lock on stream later to
445         also protect global variable zapchar.
447         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
448         __times [PR libc/990].
450 1999-02-21  David S. Miller  <davem@redhat.com>
452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
453         parentheses in Feb 2 changes.
454         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
456 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
458         * sysdeps/generic/glob.c (glob): Save previous errno.
460 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
462         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
463         lookup functions if it is too small.
465 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
467         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
468         for tracing to the scope lists.
469         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
470         DT_SYMTAB is always available according to ELF spec.
472         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
473         call test whether there is any scope left.
474         (_dl_lookup_versioned_symbol_skip): Likewise.
476         * elf/Makefile (distribute): Add do-lookup.h.
477         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
478         * elf/dl-lookup.c: Move do_lookup function in separate file and
479         include the file twice, for handling versioning and without it.
481         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
482         entry is already relocated.
483         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
484         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
485         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
486         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
487         Likewise.
488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
489         Likewise.
490         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
491         Likewise.
493         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
494         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
495         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
496         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
497         rel and rela relocations can both happen and skip one test if this
498         is not possible.
499         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
500         appropriately.
501         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
502         already relocated.
503         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
504         relocated.
505         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
506         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
507         (_dl_map_object): DT_STRTAB entry is already relocated.
508         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
509         already relocated.
510         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
511         relocated.
512         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
513         DT_VERSYM entries are already relocated.
514         (profile_fixup): Likewise.
515         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
516         all users.
517         (match_symbol): DT_STRTAB entry is already relocated.
518         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
519         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
520         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
521         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
522         (find_needed): DT_STRTAB entry is already relocated.
523         (dl_main): Pass extra argument to elf_get_dynamic_info.
524         DT_STRTAB entry is already relocated.
525         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
526         DT_PLTGOT entries are already relocated.
527         (elf_machine_rela): Likewise for DT_SYMTAB.
528         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
529         relocated.
530         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
531         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
532         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
533         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
534         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
535         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
536         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
537         * sysdeps/mips/mips64/dl-machine.h: Likewise.
539         * grp/initgroups.c (initgroups): If function in current module was
540         successful don't stop but continue to process to get all the groups.
542         * elf/dl-load.c (_dl_map_object_from_fd): Use global
543         _dl_pf_to_proot array to convert p_flags value.
544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
546         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
547         loop to clear `info'.
549         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
550         do the work and don't use inline assembler.
552 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
554         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
555         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
556         noreturn, and prevent it from being inlined.
557         Define LOSE appropriately.
558         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
559         Optimize decoding of p_flags for certain platforms.
561 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
563         * Makeconfig (link-libc): When doing a static link, make sure that
564         libgcc.a is included both before and after libc.a.
566 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
568         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
569         sp_warn, sp_inact, sp_expire and sp_flag.
571 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
573         * elf/link.h (link_map): Add l_dev and l_ino.
574         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
575         loaded shared object with all laoded objects.  Initialize l_ino
576         and l_dev in case it's new.
577         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
578         object.
579         * elf/Makefile: Compile and run new test.
580         * elf/multiload.c: New file.
582         * nss/nsswitch.h (service_user): Change name field from const char *
583         to char[0].
584         (name_database_entry): Likewise.
585         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
586         for change of `service_user'.
587         (nss_getline): Adjust memory allocation for change of
588         `name_database_entry'.
590         * catgets/catgets.c: Correctly handle NLSPATH from environment
591         [PR libc/980].
593         * io/Makefile (routines): Add lock64.
594         * io/Versions: Add lockf64 for GLIBC_2.1.1.
595         * sysdeps/generic/lockf64.c: New file.
597 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
599         * string/bits/string2.h: Only use strncmp optimization if count
600         argument is constant.
602 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
604         * sysdeps/mach/hurd/revoke.c: New file.
606 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
608         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
609         int to avoid warning about `ISO C restricts enumerator values to
610         range of `int''.
612 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
614         * elf/dlfcn.h: Fix typo.
615         * sysdeps/generic/bits/dlfcn.h: Likewise.
616         * sysdeps/mips/bits/dlfcn.h: Likewise.
618 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
620         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
621         for the case N == 0.
623         * db2/Makefile (distribute): Add LICENSE.
625 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
627         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
628         generated files.
630         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
632 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
634         * time/mktime.c: Use ISO C form for function definitions and
635         remove unnecessary prototypes.
637         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
639         * time/time.h: Avoid unneccesary #ifdef.
641 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
643         * stdio-common/_itoa.c (_itoa): Correct parameters to
644         udiv_qrnnd_preinv.
646 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
648         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
649         before (e.g. in glob.h).
650         Closes PR libc/959.
652 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
654         * sysdeps/mips/fpu_control.h: Fix typo.
655         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
656         Remove __setfpucw.
658 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
660         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
661         the "unused" ends of the sockets.  Let pipes be bidirectional.
663 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
666         invalid ai_flags.
668 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
670         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
671         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
673         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
674         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
676 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
678         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
680 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
682         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
683         check for priority mask.
685 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
687         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
688         Reported by Craig Metz <cmetz@inner.net> .
690 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
692         * stdio-common/Makefile (tests): tllformat added.
694         * stdio-common/tllformat.c: New program, based on tiformat.c with
695         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
697 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
699         * posix/test-vfork.c: Fix exit status test.
701 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
703         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
704         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
706 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
708         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
709         of separare explicit comparisons.
711 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
713         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
714         defined.
716         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
717         defined.
719 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
721         * po/el.po: Update from translation team.
723 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
725         * intl/locale.alias: Fix slovenian entry [PR libc/948].
727 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
729         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
730         * inet/ruserpass.c: Likewise.
731         * locale/programs/stringtrans.c: Likewise.
732         * locale/programs/localedef.c: Likewise.
733         * nscd/grpcache.c: Likewise.
734         * nss/nss_files/files-XXX.c: Likewise.
735         * stdlib/canonicalize.c: Likewise.
736         * sysdeps/posix/sigwait.c: Likewise.
738 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
740         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
741         even on 64 bit platforms.
743         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
744         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
746 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
748         * intl/dcgettext.c: Include locale.h is available.
750 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
752         * po/nl.po: Update from translation team.
754         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
756         * Makefile: Allow calling goals for po subdir.
758         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
759         signal definitions.
761         * po/el.po: New file.
763 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
765         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
766         when processing DT_SYMBOLIC objects.
768 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
770         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
771         program headers without PT_PHDR only require that they are
772         contained within one of the loaded segments.  Don't use assert,
773         since that would be a bug in the object, not the dynamic linker.
775 1999-02-08  Richard Henderson  <rth@cygnus.com>
777         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
778         restore all call-clobbered fp regs.
780 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
782         * po/cs.po: New file.
784         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
785         SUID binaries.
787 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
789         * signal/signal.h: Don't declare __libc_allocate_rtsig.
790         * include/signal.h: Declare __libc_allocate_rtsig here.
792         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
793         point functions, not do_lookup since the later can be called more
794         than once.
796 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
798         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
799         macro, so that architectures which need to add some special
800         offset to stack pointer can share this file.
802         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
803         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
804         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
805         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
807         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
808         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
809         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
810         between sparc32 and sparc64.
812         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
813         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
814         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
815         between sparc32 and sparc64.
817         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
818         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
819         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
820         between sparc32 and sparc64.
822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
824         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
825         between sparc32 and sparc64.
827 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
829         * Versions.def: New version GLIBC_2.1.1 for libc.
830         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
831         * stdlib/labs.c: Moved to...
832         * sysdeps/generic/labs.c: ...here.
833         * stdlib/llabs.c: Moved to...
834         * sysdeps/generic/llabs.c: ...here.
835         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
836         header.  Declare _Exit.
837         * sysdeps/generic/_exit.c: Add alias _Exit.
838         * sysdeps/mach/hurd/_exit.c: Likewise.
839         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
840         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
841         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
842         * sysdeps/unix/_exit.c: Likewise.
843         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
844         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
845         * sysdeps/wordsize-64/inttypes.h: Likewise.
846         * sysdeps/wordsize-32/llabs.c: New file.
847         * sysdeps/wordsize-32/lldiv.c: New file.
848         * sysdeps/wordsize-64/labs.c: New file.
849         * sysdeps/wordsize-64/ldiv.c: New file.
850         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
851         * manual/startup.texi: Document _Exit.
853 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
855         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
857 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
859         * Versions.def: Add versions for ld.so.
860         * csu/Versions: Remove __libc_stack_end here.
861         * elf/Versions: Split libc definitions in libc and ld.so definitions.
862         * elf/Makefile (ld-map): Change to ld.so.map.
863         * scripts/versions.awk: Recognize dot in library names.
865         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
866         Don't use __tolower and __toupper in inline functions.
867         Add optimizing macros for tolower and toupper.
868         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
869         (_toupper): Don't use __toupper.
870         * ctype/ctype.c (tolower): Don't use __tolower.
871         (toupper): Don't use toupper.
873         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
875         * resolv/Versions (libresolv): Export __ns_name_unpack and
876         __ns_name_ntop.
877         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
878         make it global.  Change all users.  Similar for ns_name_ntop.
879         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
880         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
881         directly to detect too small buffer.
882         * resolv/nss_dns/dns-network.c: Likewise.
884         * stdio-common/Makefile (tests): Add scanf12.
885         * stdio-common/scanf12.c: New file.
886         * stdio-common/scanf12.input: New file.
887         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
888         floating-point correctly if the number is invalid.
890         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
891         functions.
892         * stdio-common/printf_fp.c: Likewise.
893         * stdio-common/printf_fphex.c: Likewise.
894         * stdio-common/vfprintf.c: Likewise.
897 See ChangeLog.9 for earlier changes.