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