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