1 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
4 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
5 targets if not building shared libraries.
7 Mon Mar 22 15:48:06 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9 * configure.in: Also look in $PATH when searching for
10 install-info. Remove autoconf bug workaround and require autoconf
13 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15 * db/Makefile: Don't try to install shared library link if not
16 building with shared libs.
18 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20 * rt/Makefile: Link against static library if no shared lib is
23 * localedata/Makefile: The shells scripts implementing the test
24 require the dynamic linker which is not available with
25 --disable-shared. Skip the test if --disable-shared is given.
27 * linuxthreads/Makefile: Link test against static libpthread if no
28 shared lib is available.
30 * iconvdata/Makefile (tests): Run iconv-test only if we're
31 building shared libraries.
32 * elf/Makefile (tests): Likewise for elf tests.
34 * posix/Makefile: The test frameworks globtest and wordexp-test
35 require the dynamic linker which is not available with
36 --disable-shared. Skip the test if --disable-shared is given.
38 * grp/Makefile (otherlibs): For static nss build link against
41 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
43 * debug/Makefile (install-bin): Install and build catchsegv only
44 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
47 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
49 * time/tzfile.c (__tzfile_read): Handle the case where there are
50 transitions but no DST.
52 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
54 * mach/Machrules (extra-libs-others): Add $(interface-library) here
55 too, so it gets built in the others pass rather than the lib pass.
56 This is necessary since the RPC libraries need to be linked against
59 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
61 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
64 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
65 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
66 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
67 versions of lib{mach,hurd}user.so without reference to libc.so,
68 then link libc.so against that to get deps and symbol versions, then
69 finally link real lib*user.so against libc.so.
71 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
72 Support whole-file locking (only) by using the file_lock RPC. This
73 has very wrong semantics, but is better than nothing for the time
74 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
75 protocols that will be somewhat hairy to specify.)
77 1999-03-17 Mark Kettenis <kettenis@gnu.org>
79 * sysdeps/mach/hurd/ptsname.c: New file.
81 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
83 * timezone/asia: Fix rule in Asia/Nicosia entry.
85 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
87 * manual/getopt.texi (Using Getopt): Explain "::" in option
88 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
90 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
92 * sunrpc/clnt_unix.c: Fix creation of parameters for
93 sendmsg/recvmsg on non intel platforms.
94 * sunrpc/svc_unix.c: Likewise.
96 1999-03-18 Philip Blundell <philb@gnu.org>
98 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
101 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
103 * timezone/africa: Update from tzdata1999b.
104 * timezone/asia: Likewise.
105 * timezone/australasia: Likewise.
106 * timezone/europe: Likewise.
107 * timezone/northamerica: Likewise.
108 * timezone/southamerica: Likewise.
109 * timezone/zone.tab: Likewise.
111 * timezone/README: Mention tzdata1999b.
113 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
115 * sysdeps/generic/segfault.c (write_strsignal): New function.
116 (catch_segfault): Use it instead of calling strsignal.
118 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
120 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
121 char to avoid warning.
123 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
125 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
127 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
128 outbuf to unsigned char to avoid warning.
130 1999-03-11 David S. Miller <davem@redhat.com>
132 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
134 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
136 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
138 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
140 (gconv_step_data): Likewise.
141 * iconv/gconv_int.h (__gconv): Likewise.
142 (__BUILINT_TRANS): Likewise.
143 * iconv/gconv.c (__gconv): Likewise.
144 * iconv/iconv.c (iconv): Add casts for call of __gconv.
145 * iconv/skeleton.c: Change local parameters and variable from `char' to
146 `unsigned char'. Remove casts from calls into modules.
147 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
148 `char' to `unsigned char'.
149 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
150 * wcsmbs/mbrtowc.c: Likewise.
151 * wcsmbs/mbsnrtowcs.c: Likewise.
152 * wcsmbs/mbsrtowcs.c: Likewise.
153 * wcsmbs/wcrtomb.c: Likewise.
154 * wcsmbs/wcsnrtombs.c: Likewise.
155 * wcsmbs/wcsrtombs.c: Likewise.
156 * wcsmbs/wctob.c: Likewise.
158 1999-03-15 Mark Kettenis <kettenis@gnu.org>
160 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
161 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
162 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
163 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
164 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
165 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
167 1999-03-15 Mark Kettenis <kettenis@gnu.org>
169 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
170 _hurd_select if TIMEMOUT is -1.
172 1999-03-15 Mark Kettenis <kettenis@gnu.org>
174 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
176 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
178 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
179 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
181 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
183 * manual/libc.texinfo: Undo last change for now.
185 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
187 * intl/locale.alias: Add entries for Croatian.
188 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
190 1999-03-13 Mark Kettenis <kettenis@gnu.org>
192 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
193 if the opened master pty really is a pty. `isatty' checks for
194 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
195 if we are out of pty's.
197 1999-03-13 Mark Kettenis <kettenis@gnu.org>
199 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
200 opened file is closed on exec.
201 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
204 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206 * manual/llio.texi (File Position Primitive): Reformat @end
207 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
209 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
211 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
213 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
214 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
216 * locale/programs/localedef.c (main): Initialize `cat' to please
219 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
221 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
222 check for root-owned symlinks and reject them too.
224 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
226 * stdio-common/printf_fphex.c: Move to ...
227 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
228 extended precision number.
229 * sysdeps/m68k/printf_fphex.c: New file.
231 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
233 * manual/stdio.texi: Fix typos.
235 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
237 * version.h (VERSION): Bump to 2.1.1.
239 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
241 * nis/ypclnt.c: Try only twice to connect to NIS server.
243 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
245 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
247 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
249 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
250 (DENORM_EXP): New define. Use it as the exponent for a denormal.
251 * stdlib/strtold.c: Moved to ...
252 * sysdeps/generic/strtold.c: ... here.
253 * sysdeps/m68k/strtold.c: New file.
255 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
257 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
258 point if the precision is zero, even if the mantissa is non-zero.
260 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
262 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
263 arguments into the request message buffer inside `send_rpc'
264 subfunction. We must repeat the marshalling when retrying the RPC
265 after a SIGTTOU delivery.
267 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
268 path when there is no ctty port.
269 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
270 Move sigstate check inside loop so we recheck after handling a signal.
272 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
274 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
275 O_EXLOCK are BSD extensions.
276 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
278 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
280 * manual/signal.texi (Termination in Handler): Correct example.
281 Install default handler before reraising the signal.
282 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
284 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
286 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
287 null, in which case send an empty string.
289 1999-03-02 Mark Kettenis <kettenis@gnu.org>
291 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
292 backward compatibility EH functions to be linked when using
293 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
295 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
298 /dev/pts status may change during runtime.
300 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
303 change. /dev/pts status can change during runtime.
305 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
307 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
309 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
310 add some more sanity checks.
311 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
314 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
316 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
317 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
318 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
319 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
320 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
322 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
323 * nis/nis_print.c: Fix ctime argument for platforms where
324 sizeof (time_t) != sizeof (int).
326 1999-03-07 Mark Kettenis <kettenis@gnu.org>
328 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
329 CLOCKS_PER_SEC instead of CLK_TCK.
331 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
334 whether /dev/pts is available.
335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
338 * posix/globtest.sh: Make common_objpfx path absolute and and db2
339 and hesiod directory to library path [PR libc/1007].
341 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
343 * resolv/inet_addr.c (inet_aton): Don't allow componets >
344 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
346 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
348 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
349 DT_PLTGOT has already been relocated.
350 (__elf_machine_fixup_plt): Likewise.
353 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
355 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
357 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
359 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
360 and fold string to uppercase [PR libc/1005].
362 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
364 * elf/dl-load.c (lose): Fix return type.
366 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
368 * sysdeps/mach/hurd/bits/fcntl.h
369 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
370 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
371 set O_NOTRANS as well.
372 (__hurd_file_name_lookup_retry): At successful end of lookup,
373 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
374 it is a translated node not owned by root.
375 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
376 on the file name passed to LOOKUP.
378 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
380 * manual/time.texi (High Resolution Timer): Correct computation in
381 example. Reported by jjf@devel.cemsys.com.
383 1999-03-02 Philip Blundell <pb@nexus.co.uk>
385 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
386 entry is already relocated.
388 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
390 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
391 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
393 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
395 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
396 uc_link which is the right name according to Unix98.
397 Reported by Craig Metz [PR libc/1001].
398 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
399 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
400 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
401 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
402 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
403 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
405 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
407 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
410 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
412 * iconvdata/Makefile: Always include iconv-rules, but disable rule
413 to regenerate it if avoid-generated.
415 * Makeconfig: Always include sys-dirs, but disable rule to
416 regenerate it when avoid-generated.
418 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
419 rule to generate sysd-syscalls.
421 * elf/Makefile (generated): Remove $(objpfx) from names.
423 1999-02-28 Mark Kettenis <kettenis@gnu.org>
425 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
426 actual length if the adress length is smaller than the input
427 value. Change type of *LEN paramater to socklen_t.
428 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
429 * sysdeps/mach/hurd/accept.c (accept): Likewise.
430 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
431 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
432 paramater to socklen_t.
434 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
436 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
437 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
440 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
442 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
443 __get_phys_pages): Cast &HBI to silence warning.
445 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
446 * hurd/hurdchdir.c: New file.
447 * hurd/hurdfchdir.c: New file.
448 * sysdeps/mach/hurd/chroot.c: Call
449 _hurd_change_directory_port_from_name to do the work.
450 * sysdeps/mach/hurd/chdir.c: Likewise.
451 * sysdeps/mach/hurd/fchdir.c: Call
452 _hurd_change_directory_port_from_fd to do the work.
453 * hurd/fchroot.c: Likewise.
454 * hurd/hurd.h: Declare them.
456 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
458 * elf/dl-load.c (lose): Add more comments to explain the `why'.
459 (_dl_map_object): Remove redundant test.
461 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
463 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
464 try to _hurd_port_free a lower-numbered descriptor that was not in any
467 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
469 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
470 declaration for ____wcstod_l_internal.
472 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
473 __strtod_internal prototype.
474 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
475 (____strtold_l_internal): Add prototype declaration.
476 (__strtold_l): Call correct function.
478 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
480 * elf/elf.h: Add 32bit HPPA definitions.
482 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
484 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
485 non-checked heap is restored when malloc checking was requested by
487 (struct malloc_state): Add using_malloc_checking.
488 (MALLOC_STATE_VERSION): Increment minor.
489 (using_malloc_checking, disallow_malloc_check): New variables.
490 (__malloc_check_init): Use them.
491 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
492 that it can the chunk is properly instrumented when malloc
493 checking is enabled. Set the new using_malloc_checking field.
494 (malloc_hook_ini): Correct signature when _LIBC is not defined.
496 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
498 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
499 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
502 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
503 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
504 if ld.so is the main program.
506 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
508 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
509 large for work_buffer, allocate new buffer.
510 (printf_unknown): Likewise. [PR libc/988]
512 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
514 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
515 instead of stat and fstat.
516 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
518 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
520 * elf/dl-error.c (_dl_signal_cerror): New function.
521 (_dl_signal_error): Don't call receiver function.
522 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
523 instead of _dl_signal_error when reporting references to undefined
525 (_dl_lookup_versioned_symbol): Likewise.
526 (_dl_lookup_versioned_symbol_skip): Likewise.
527 * elf/dl-version.c (match_symbol): Likewise.
529 * elf/ldsodefs.h: Declare _dl_signal_cerror.
531 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
533 * misc/getttyent.c (getttyent): Release lock on stream later to
534 also protect global variable zapchar.
536 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
537 __times [PR libc/990].
539 1999-02-21 David S. Miller <davem@redhat.com>
541 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
542 parentheses in Feb 2 changes.
543 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
545 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
547 * sysdeps/generic/glob.c (glob): Save previous errno.
549 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
551 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
552 lookup functions if it is too small.
554 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
556 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
557 for tracing to the scope lists.
558 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
559 DT_SYMTAB is always available according to ELF spec.
561 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
562 call test whether there is any scope left.
563 (_dl_lookup_versioned_symbol_skip): Likewise.
565 * elf/Makefile (distribute): Add do-lookup.h.
566 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
567 * elf/dl-lookup.c: Move do_lookup function in separate file and
568 include the file twice, for handling versioning and without it.
570 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
571 entry is already relocated.
572 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
573 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
574 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
579 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
582 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
583 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
584 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
585 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
586 rel and rela relocations can both happen and skip one test if this
588 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
590 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
592 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
594 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
595 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
596 (_dl_map_object): DT_STRTAB entry is already relocated.
597 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
599 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
601 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
602 DT_VERSYM entries are already relocated.
603 (profile_fixup): Likewise.
604 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
606 (match_symbol): DT_STRTAB entry is already relocated.
607 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
608 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
609 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
610 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
611 (find_needed): DT_STRTAB entry is already relocated.
612 (dl_main): Pass extra argument to elf_get_dynamic_info.
613 DT_STRTAB entry is already relocated.
614 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
615 DT_PLTGOT entries are already relocated.
616 (elf_machine_rela): Likewise for DT_SYMTAB.
617 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
619 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
620 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
623 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
624 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
625 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
626 * sysdeps/mips/mips64/dl-machine.h: Likewise.
628 * grp/initgroups.c (initgroups): If function in current module was
629 successful don't stop but continue to process to get all the groups.
631 * elf/dl-load.c (_dl_map_object_from_fd): Use global
632 _dl_pf_to_proot array to convert p_flags value.
633 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
635 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
636 loop to clear `info'.
638 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
639 do the work and don't use inline assembler.
641 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
643 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
644 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
645 noreturn, and prevent it from being inlined.
646 Define LOSE appropriately.
647 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
648 Optimize decoding of p_flags for certain platforms.
650 1999-02-19 Philip Blundell <pb@nexus.co.uk>
652 * Makeconfig (link-libc): When doing a static link, make sure that
653 libgcc.a is included both before and after libc.a.
655 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
657 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
658 sp_warn, sp_inact, sp_expire and sp_flag.
660 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
662 * elf/link.h (link_map): Add l_dev and l_ino.
663 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
664 loaded shared object with all laoded objects. Initialize l_ino
665 and l_dev in case it's new.
666 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
668 * elf/Makefile: Compile and run new test.
669 * elf/multiload.c: New file.
671 * nss/nsswitch.h (service_user): Change name field from const char *
673 (name_database_entry): Likewise.
674 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
675 for change of `service_user'.
676 (nss_getline): Adjust memory allocation for change of
677 `name_database_entry'.
679 * catgets/catgets.c: Correctly handle NLSPATH from environment
682 * io/Makefile (routines): Add lock64.
683 * io/Versions: Add lockf64 for GLIBC_2.1.1.
684 * sysdeps/generic/lockf64.c: New file.
686 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
688 * string/bits/string2.h: Only use strncmp optimization if count
689 argument is constant.
691 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
693 * sysdeps/mach/hurd/revoke.c: New file.
695 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
697 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
698 int to avoid warning about `ISO C restricts enumerator values to
701 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
703 * elf/dlfcn.h: Fix typo.
704 * sysdeps/generic/bits/dlfcn.h: Likewise.
705 * sysdeps/mips/bits/dlfcn.h: Likewise.
707 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
709 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
712 * db2/Makefile (distribute): Add LICENSE.
714 1999-02-03 Jeff Bailey <jbailey@nisa.net>
716 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
719 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
721 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
723 * time/mktime.c: Use ISO C form for function definitions and
724 remove unnecessary prototypes.
726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
728 * time/time.h: Avoid unneccesary #ifdef.
730 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
732 * stdio-common/_itoa.c (_itoa): Correct parameters to
735 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
737 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
738 before (e.g. in glob.h).
741 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
743 * sysdeps/mips/fpu_control.h: Fix typo.
744 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
747 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
749 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
750 the "unused" ends of the sockets. Let pipes be bidirectional.
752 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
757 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
759 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
760 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
762 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
763 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
765 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
767 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
769 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
771 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
772 check for priority mask.
774 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
776 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
777 Reported by Craig Metz <cmetz@inner.net> .
779 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
781 * stdio-common/Makefile (tests): tllformat added.
783 * stdio-common/tllformat.c: New program, based on tiformat.c with
784 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
786 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
788 * posix/test-vfork.c: Fix exit status test.
790 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
792 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
793 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
795 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
797 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
798 of separare explicit comparisons.
800 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
802 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
805 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
808 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
810 * po/el.po: Update from translation team.
812 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
814 * intl/locale.alias: Fix slovenian entry [PR libc/948].
816 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
819 * inet/ruserpass.c: Likewise.
820 * locale/programs/stringtrans.c: Likewise.
821 * locale/programs/localedef.c: Likewise.
822 * nscd/grpcache.c: Likewise.
823 * nss/nss_files/files-XXX.c: Likewise.
824 * stdlib/canonicalize.c: Likewise.
825 * sysdeps/posix/sigwait.c: Likewise.
827 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
829 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
830 even on 64 bit platforms.
832 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
833 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
835 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
837 * intl/dcgettext.c: Include locale.h is available.
839 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
841 * po/nl.po: Update from translation team.
843 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
845 * Makefile: Allow calling goals for po subdir.
847 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
850 * po/el.po: New file.
852 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
854 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
855 when processing DT_SYMBOLIC objects.
857 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
859 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
860 program headers without PT_PHDR only require that they are
861 contained within one of the loaded segments. Don't use assert,
862 since that would be a bug in the object, not the dynamic linker.
864 1999-02-08 Richard Henderson <rth@cygnus.com>
866 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
867 restore all call-clobbered fp regs.
869 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
871 * po/cs.po: New file.
873 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
876 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
878 * signal/signal.h: Don't declare __libc_allocate_rtsig.
879 * include/signal.h: Declare __libc_allocate_rtsig here.
881 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
882 point functions, not do_lookup since the later can be called more
885 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
887 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
888 macro, so that architectures which need to add some special
889 offset to stack pointer can share this file.
891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
896 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
897 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
899 between sparc32 and sparc64.
901 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
903 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
904 between sparc32 and sparc64.
906 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
908 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
909 between sparc32 and sparc64.
911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
913 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
914 between sparc32 and sparc64.
916 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
918 * Versions.def: New version GLIBC_2.1.1 for libc.
919 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
920 * stdlib/labs.c: Moved to...
921 * sysdeps/generic/labs.c: ...here.
922 * stdlib/llabs.c: Moved to...
923 * sysdeps/generic/llabs.c: ...here.
924 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
925 header. Declare _Exit.
926 * sysdeps/generic/_exit.c: Add alias _Exit.
927 * sysdeps/mach/hurd/_exit.c: Likewise.
928 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
929 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
930 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
931 * sysdeps/unix/_exit.c: Likewise.
932 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
933 imaxdiv and imaxabs. Declare lldiv_t if necessary.
934 * sysdeps/wordsize-64/inttypes.h: Likewise.
935 * sysdeps/wordsize-32/llabs.c: New file.
936 * sysdeps/wordsize-32/lldiv.c: New file.
937 * sysdeps/wordsize-64/labs.c: New file.
938 * sysdeps/wordsize-64/ldiv.c: New file.
939 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
940 * manual/startup.texi: Document _Exit.
942 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
944 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
946 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
948 * Versions.def: Add versions for ld.so.
949 * csu/Versions: Remove __libc_stack_end here.
950 * elf/Versions: Split libc definitions in libc and ld.so definitions.
951 * elf/Makefile (ld-map): Change to ld.so.map.
952 * scripts/versions.awk: Recognize dot in library names.
954 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
955 Don't use __tolower and __toupper in inline functions.
956 Add optimizing macros for tolower and toupper.
957 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
958 (_toupper): Don't use __toupper.
959 * ctype/ctype.c (tolower): Don't use __tolower.
960 (toupper): Don't use toupper.
962 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
964 * resolv/Versions (libresolv): Export __ns_name_unpack and
966 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
967 make it global. Change all users. Similar for ns_name_ntop.
968 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
969 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
970 directly to detect too small buffer.
971 * resolv/nss_dns/dns-network.c: Likewise.
973 * stdio-common/Makefile (tests): Add scanf12.
974 * stdio-common/scanf12.c: New file.
975 * stdio-common/scanf12.input: New file.
976 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
977 floating-point correctly if the number is invalid.
979 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
981 * stdio-common/printf_fp.c: Likewise.
982 * stdio-common/printf_fphex.c: Likewise.
983 * stdio-common/vfprintf.c: Likewise.
986 See ChangeLog.9 for earlier changes.