1 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3 * time/tzfile.c (__tzfile_read): Handle the case where there are
4 transitions but no DST.
6 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
8 * mach/Machrules (extra-libs-others): Add $(interface-library) here
9 too, so it gets built in the others pass rather than the lib pass.
10 This is necessary since the RPC libraries need to be linked against
13 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
15 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
18 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
19 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
20 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
21 versions of lib{mach,hurd}user.so without reference to libc.so,
22 then link libc.so against that to get deps and symbol versions, then
23 finally link real lib*user.so against libc.so.
25 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
26 Support whole-file locking (only) by using the file_lock RPC. This
27 has very wrong semantics, but is better than nothing for the time
28 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
29 protocols that will be somewhat hairy to specify.)
31 1999-03-17 Mark Kettenis <kettenis@gnu.org>
33 * sysdeps/mach/hurd/ptsname.c: New file.
35 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
37 * timezone/asia: Fix rule in Asia/Nicosia entry.
39 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
41 * manual/getopt.texi (Using Getopt): Explain "::" in option
42 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
44 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
46 * sunrpc/clnt_unix.c: Fix creation of parameters for
47 sendmsg/recvmsg on non intel platforms.
48 * sunrpc/svc_unix.c: Likewise.
50 1999-03-18 Philip Blundell <philb@gnu.org>
52 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
55 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
57 * timezone/africa: Update from tzdata1999b.
58 * timezone/asia: Likewise.
59 * timezone/australasia: Likewise.
60 * timezone/europe: Likewise.
61 * timezone/northamerica: Likewise.
62 * timezone/southamerica: Likewise.
63 * timezone/zone.tab: Likewise.
65 * timezone/README: Mention tzdata1999b.
67 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
69 * sysdeps/generic/segfault.c (write_strsignal): New function.
70 (catch_segfault): Use it instead of calling strsignal.
72 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
74 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
75 char to avoid warning.
77 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
79 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
81 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
82 outbuf to unsigned char to avoid warning.
84 1999-03-11 David S. Miller <davem@redhat.com>
86 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
88 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
90 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
92 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
94 (gconv_step_data): Likewise.
95 * iconv/gconv_int.h (__gconv): Likewise.
96 (__BUILINT_TRANS): Likewise.
97 * iconv/gconv.c (__gconv): Likewise.
98 * iconv/iconv.c (iconv): Add casts for call of __gconv.
99 * iconv/skeleton.c: Change local parameters and variable from `char' to
100 `unsigned char'. Remove casts from calls into modules.
101 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
102 `char' to `unsigned char'.
103 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
104 * wcsmbs/mbrtowc.c: Likewise.
105 * wcsmbs/mbsnrtowcs.c: Likewise.
106 * wcsmbs/mbsrtowcs.c: Likewise.
107 * wcsmbs/wcrtomb.c: Likewise.
108 * wcsmbs/wcsnrtombs.c: Likewise.
109 * wcsmbs/wcsrtombs.c: Likewise.
110 * wcsmbs/wctob.c: Likewise.
112 1999-03-15 Mark Kettenis <kettenis@gnu.org>
114 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
115 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
116 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
117 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
118 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
119 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
121 1999-03-15 Mark Kettenis <kettenis@gnu.org>
123 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
124 _hurd_select if TIMEMOUT is -1.
126 1999-03-15 Mark Kettenis <kettenis@gnu.org>
128 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
130 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
132 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
133 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
135 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
137 * manual/libc.texinfo: Undo last change for now.
139 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
141 * intl/locale.alias: Add entries for Croatian.
142 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
144 1999-03-13 Mark Kettenis <kettenis@gnu.org>
146 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
147 if the opened master pty really is a pty. `isatty' checks for
148 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
149 if we are out of pty's.
151 1999-03-13 Mark Kettenis <kettenis@gnu.org>
153 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
154 opened file is closed on exec.
155 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
158 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
160 * manual/llio.texi (File Position Primitive): Reformat @end
161 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
163 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
165 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
167 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
168 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
170 * locale/programs/localedef.c (main): Initialize `cat' to please
173 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
175 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
176 check for root-owned symlinks and reject them too.
178 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
180 * stdio-common/printf_fphex.c: Move to ...
181 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
182 extended precision number.
183 * sysdeps/m68k/printf_fphex.c: New file.
185 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
187 * manual/stdio.texi: Fix typos.
189 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
191 * version.h (VERSION): Bump to 2.1.1.
193 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
195 * nis/ypclnt.c: Try only twice to connect to NIS server.
197 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
199 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
201 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
203 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
204 (DENORM_EXP): New define. Use it as the exponent for a denormal.
205 * stdlib/strtold.c: Moved to ...
206 * sysdeps/generic/strtold.c: ... here.
207 * sysdeps/m68k/strtold.c: New file.
209 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
211 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
212 point if the precision is zero, even if the mantissa is non-zero.
214 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
216 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
217 arguments into the request message buffer inside `send_rpc'
218 subfunction. We must repeat the marshalling when retrying the RPC
219 after a SIGTTOU delivery.
221 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
222 path when there is no ctty port.
223 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
224 Move sigstate check inside loop so we recheck after handling a signal.
226 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
229 O_EXLOCK are BSD extensions.
230 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
232 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
234 * manual/signal.texi (Termination in Handler): Correct example.
235 Install default handler before reraising the signal.
236 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
238 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
240 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
241 null, in which case send an empty string.
243 1999-03-02 Mark Kettenis <kettenis@gnu.org>
245 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
246 backward compatibility EH functions to be linked when using
247 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
249 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
252 /dev/pts status may change during runtime.
254 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
256 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
257 change. /dev/pts status can change during runtime.
259 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
261 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
263 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
264 add some more sanity checks.
265 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
268 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
270 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
271 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
272 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
273 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
274 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
276 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
277 * nis/nis_print.c: Fix ctime argument for platforms where
278 sizeof (time_t) != sizeof (int).
280 1999-03-07 Mark Kettenis <kettenis@gnu.org>
282 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
283 CLOCKS_PER_SEC instead of CLK_TCK.
285 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
287 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
288 whether /dev/pts is available.
289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
292 * posix/globtest.sh: Make common_objpfx path absolute and and db2
293 and hesiod directory to library path [PR libc/1007].
295 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
297 * resolv/inet_addr.c (inet_aton): Don't allow componets >
298 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
300 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
302 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
303 DT_PLTGOT has already been relocated.
304 (__elf_machine_fixup_plt): Likewise.
307 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
309 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
311 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
313 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
314 and fold string to uppercase [PR libc/1005].
316 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
318 * elf/dl-load.c (lose): Fix return type.
320 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
322 * sysdeps/mach/hurd/bits/fcntl.h
323 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
324 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
325 set O_NOTRANS as well.
326 (__hurd_file_name_lookup_retry): At successful end of lookup,
327 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
328 it is a translated node not owned by root.
329 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
330 on the file name passed to LOOKUP.
332 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
334 * manual/time.texi (High Resolution Timer): Correct computation in
335 example. Reported by jjf@devel.cemsys.com.
337 1999-03-02 Philip Blundell <pb@nexus.co.uk>
339 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
340 entry is already relocated.
342 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
344 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
345 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
347 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
349 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
350 uc_link which is the right name according to Unix98.
351 Reported by Craig Metz [PR libc/1001].
352 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
353 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
354 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
355 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
356 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
357 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
359 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
361 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
364 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
366 * iconvdata/Makefile: Always include iconv-rules, but disable rule
367 to regenerate it if avoid-generated.
369 * Makeconfig: Always include sys-dirs, but disable rule to
370 regenerate it when avoid-generated.
372 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
373 rule to generate sysd-syscalls.
375 * elf/Makefile (generated): Remove $(objpfx) from names.
377 1999-02-28 Mark Kettenis <kettenis@gnu.org>
379 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
380 actual length if the adress length is smaller than the input
381 value. Change type of *LEN paramater to socklen_t.
382 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
383 * sysdeps/mach/hurd/accept.c (accept): Likewise.
384 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
385 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
386 paramater to socklen_t.
388 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
390 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
391 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
394 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
396 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
397 __get_phys_pages): Cast &HBI to silence warning.
399 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
400 * hurd/hurdchdir.c: New file.
401 * hurd/hurdfchdir.c: New file.
402 * sysdeps/mach/hurd/chroot.c: Call
403 _hurd_change_directory_port_from_name to do the work.
404 * sysdeps/mach/hurd/chdir.c: Likewise.
405 * sysdeps/mach/hurd/fchdir.c: Call
406 _hurd_change_directory_port_from_fd to do the work.
407 * hurd/fchroot.c: Likewise.
408 * hurd/hurd.h: Declare them.
410 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
412 * elf/dl-load.c (lose): Add more comments to explain the `why'.
413 (_dl_map_object): Remove redundant test.
415 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
417 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
418 try to _hurd_port_free a lower-numbered descriptor that was not in any
421 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
423 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
424 declaration for ____wcstod_l_internal.
426 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
427 __strtod_internal prototype.
428 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
429 (____strtold_l_internal): Add prototype declaration.
430 (__strtold_l): Call correct function.
432 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
434 * elf/elf.h: Add 32bit HPPA definitions.
436 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
438 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
439 non-checked heap is restored when malloc checking was requested by
441 (struct malloc_state): Add using_malloc_checking.
442 (MALLOC_STATE_VERSION): Increment minor.
443 (using_malloc_checking, disallow_malloc_check): New variables.
444 (__malloc_check_init): Use them.
445 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
446 that it can the chunk is properly instrumented when malloc
447 checking is enabled. Set the new using_malloc_checking field.
448 (malloc_hook_ini): Correct signature when _LIBC is not defined.
450 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
452 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
453 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
456 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
457 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
458 if ld.so is the main program.
460 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
462 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
463 large for work_buffer, allocate new buffer.
464 (printf_unknown): Likewise. [PR libc/988]
466 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
468 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
469 instead of stat and fstat.
470 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
472 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
474 * elf/dl-error.c (_dl_signal_cerror): New function.
475 (_dl_signal_error): Don't call receiver function.
476 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
477 instead of _dl_signal_error when reporting references to undefined
479 (_dl_lookup_versioned_symbol): Likewise.
480 (_dl_lookup_versioned_symbol_skip): Likewise.
481 * elf/dl-version.c (match_symbol): Likewise.
483 * elf/ldsodefs.h: Declare _dl_signal_cerror.
485 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
487 * misc/getttyent.c (getttyent): Release lock on stream later to
488 also protect global variable zapchar.
490 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
491 __times [PR libc/990].
493 1999-02-21 David S. Miller <davem@redhat.com>
495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
496 parentheses in Feb 2 changes.
497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
499 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
501 * sysdeps/generic/glob.c (glob): Save previous errno.
503 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
505 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
506 lookup functions if it is too small.
508 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
510 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
511 for tracing to the scope lists.
512 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
513 DT_SYMTAB is always available according to ELF spec.
515 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
516 call test whether there is any scope left.
517 (_dl_lookup_versioned_symbol_skip): Likewise.
519 * elf/Makefile (distribute): Add do-lookup.h.
520 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
521 * elf/dl-lookup.c: Move do_lookup function in separate file and
522 include the file twice, for handling versioning and without it.
524 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
525 entry is already relocated.
526 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
527 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
528 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
533 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
536 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
537 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
538 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
539 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
540 rel and rela relocations can both happen and skip one test if this
542 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
544 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
546 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
548 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
549 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
550 (_dl_map_object): DT_STRTAB entry is already relocated.
551 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
553 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
555 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
556 DT_VERSYM entries are already relocated.
557 (profile_fixup): Likewise.
558 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
560 (match_symbol): DT_STRTAB entry is already relocated.
561 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
562 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
563 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
564 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
565 (find_needed): DT_STRTAB entry is already relocated.
566 (dl_main): Pass extra argument to elf_get_dynamic_info.
567 DT_STRTAB entry is already relocated.
568 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
569 DT_PLTGOT entries are already relocated.
570 (elf_machine_rela): Likewise for DT_SYMTAB.
571 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
574 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
576 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
577 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
578 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
579 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
580 * sysdeps/mips/mips64/dl-machine.h: Likewise.
582 * grp/initgroups.c (initgroups): If function in current module was
583 successful don't stop but continue to process to get all the groups.
585 * elf/dl-load.c (_dl_map_object_from_fd): Use global
586 _dl_pf_to_proot array to convert p_flags value.
587 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
589 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
590 loop to clear `info'.
592 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
593 do the work and don't use inline assembler.
595 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
597 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
598 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
599 noreturn, and prevent it from being inlined.
600 Define LOSE appropriately.
601 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
602 Optimize decoding of p_flags for certain platforms.
604 1999-02-19 Philip Blundell <pb@nexus.co.uk>
606 * Makeconfig (link-libc): When doing a static link, make sure that
607 libgcc.a is included both before and after libc.a.
609 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
611 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
612 sp_warn, sp_inact, sp_expire and sp_flag.
614 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
616 * elf/link.h (link_map): Add l_dev and l_ino.
617 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
618 loaded shared object with all laoded objects. Initialize l_ino
619 and l_dev in case it's new.
620 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
622 * elf/Makefile: Compile and run new test.
623 * elf/multiload.c: New file.
625 * nss/nsswitch.h (service_user): Change name field from const char *
627 (name_database_entry): Likewise.
628 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
629 for change of `service_user'.
630 (nss_getline): Adjust memory allocation for change of
631 `name_database_entry'.
633 * catgets/catgets.c: Correctly handle NLSPATH from environment
636 * io/Makefile (routines): Add lock64.
637 * io/Versions: Add lockf64 for GLIBC_2.1.1.
638 * sysdeps/generic/lockf64.c: New file.
640 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
642 * string/bits/string2.h: Only use strncmp optimization if count
643 argument is constant.
645 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
647 * sysdeps/mach/hurd/revoke.c: New file.
649 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
651 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
652 int to avoid warning about `ISO C restricts enumerator values to
655 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
657 * elf/dlfcn.h: Fix typo.
658 * sysdeps/generic/bits/dlfcn.h: Likewise.
659 * sysdeps/mips/bits/dlfcn.h: Likewise.
661 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
663 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
666 * db2/Makefile (distribute): Add LICENSE.
668 1999-02-03 Jeff Bailey <jbailey@nisa.net>
670 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
673 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
675 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
677 * time/mktime.c: Use ISO C form for function definitions and
678 remove unnecessary prototypes.
680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
682 * time/time.h: Avoid unneccesary #ifdef.
684 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
686 * stdio-common/_itoa.c (_itoa): Correct parameters to
689 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
691 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
692 before (e.g. in glob.h).
695 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
697 * sysdeps/mips/fpu_control.h: Fix typo.
698 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
701 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
703 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
704 the "unused" ends of the sockets. Let pipes be bidirectional.
706 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
711 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
713 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
714 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
716 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
717 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
719 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
721 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
723 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
725 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
726 check for priority mask.
728 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
730 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
731 Reported by Craig Metz <cmetz@inner.net> .
733 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
735 * stdio-common/Makefile (tests): tllformat added.
737 * stdio-common/tllformat.c: New program, based on tiformat.c with
738 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
740 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
742 * posix/test-vfork.c: Fix exit status test.
744 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
746 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
747 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
749 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
751 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
752 of separare explicit comparisons.
754 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
756 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
759 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
762 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
764 * po/el.po: Update from translation team.
766 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
768 * intl/locale.alias: Fix slovenian entry [PR libc/948].
770 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
772 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
773 * inet/ruserpass.c: Likewise.
774 * locale/programs/stringtrans.c: Likewise.
775 * locale/programs/localedef.c: Likewise.
776 * nscd/grpcache.c: Likewise.
777 * nss/nss_files/files-XXX.c: Likewise.
778 * stdlib/canonicalize.c: Likewise.
779 * sysdeps/posix/sigwait.c: Likewise.
781 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
783 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
784 even on 64 bit platforms.
786 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
787 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
789 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
791 * intl/dcgettext.c: Include locale.h is available.
793 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
795 * po/nl.po: Update from translation team.
797 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
799 * Makefile: Allow calling goals for po subdir.
801 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
804 * po/el.po: New file.
806 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
808 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
809 when processing DT_SYMBOLIC objects.
811 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
813 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
814 program headers without PT_PHDR only require that they are
815 contained within one of the loaded segments. Don't use assert,
816 since that would be a bug in the object, not the dynamic linker.
818 1999-02-08 Richard Henderson <rth@cygnus.com>
820 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
821 restore all call-clobbered fp regs.
823 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
825 * po/cs.po: New file.
827 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
830 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
832 * signal/signal.h: Don't declare __libc_allocate_rtsig.
833 * include/signal.h: Declare __libc_allocate_rtsig here.
835 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
836 point functions, not do_lookup since the later can be called more
839 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
841 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
842 macro, so that architectures which need to add some special
843 offset to stack pointer can share this file.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
847 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
848 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
851 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
853 between sparc32 and sparc64.
855 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
856 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
857 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
858 between sparc32 and sparc64.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
862 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
863 between sparc32 and sparc64.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
867 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
868 between sparc32 and sparc64.
870 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
872 * Versions.def: New version GLIBC_2.1.1 for libc.
873 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
874 * stdlib/labs.c: Moved to...
875 * sysdeps/generic/labs.c: ...here.
876 * stdlib/llabs.c: Moved to...
877 * sysdeps/generic/llabs.c: ...here.
878 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
879 header. Declare _Exit.
880 * sysdeps/generic/_exit.c: Add alias _Exit.
881 * sysdeps/mach/hurd/_exit.c: Likewise.
882 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
883 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
884 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
885 * sysdeps/unix/_exit.c: Likewise.
886 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
887 imaxdiv and imaxabs. Declare lldiv_t if necessary.
888 * sysdeps/wordsize-64/inttypes.h: Likewise.
889 * sysdeps/wordsize-32/llabs.c: New file.
890 * sysdeps/wordsize-32/lldiv.c: New file.
891 * sysdeps/wordsize-64/labs.c: New file.
892 * sysdeps/wordsize-64/ldiv.c: New file.
893 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
894 * manual/startup.texi: Document _Exit.
896 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
898 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
900 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
902 * Versions.def: Add versions for ld.so.
903 * csu/Versions: Remove __libc_stack_end here.
904 * elf/Versions: Split libc definitions in libc and ld.so definitions.
905 * elf/Makefile (ld-map): Change to ld.so.map.
906 * scripts/versions.awk: Recognize dot in library names.
908 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
909 Don't use __tolower and __toupper in inline functions.
910 Add optimizing macros for tolower and toupper.
911 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
912 (_toupper): Don't use __toupper.
913 * ctype/ctype.c (tolower): Don't use __tolower.
914 (toupper): Don't use toupper.
916 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
918 * resolv/Versions (libresolv): Export __ns_name_unpack and
920 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
921 make it global. Change all users. Similar for ns_name_ntop.
922 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
923 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
924 directly to detect too small buffer.
925 * resolv/nss_dns/dns-network.c: Likewise.
927 * stdio-common/Makefile (tests): Add scanf12.
928 * stdio-common/scanf12.c: New file.
929 * stdio-common/scanf12.input: New file.
930 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
931 floating-point correctly if the number is invalid.
933 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
935 * stdio-common/printf_fp.c: Likewise.
936 * stdio-common/printf_fphex.c: Likewise.
937 * stdio-common/vfprintf.c: Likewise.
940 See ChangeLog.9 for earlier changes.