1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
[platform/upstream/glibc.git] / ChangeLog
1 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2
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.
10
11         * timezone/README: Mention tzdata1999b.
12
13 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
14
15         * sysdeps/generic/segfault.c (write_strsignal): New function.
16         (catch_segfault): Use it instead of calling strsignal.
17
18 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19
20         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
21         char to avoid warning.
22
23 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
24
25         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
26
27         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
28         outbuf to unsigned char to avoid warning.
29
30 1999-03-11  David S. Miller  <davem@redhat.com>
31
32         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
33         masks.
34         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
35
36 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
37
38         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
39         `unsigned char'.
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.
57
58 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
59
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.
66
67 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
68
69         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
70         _hurd_select if TIMEMOUT is -1.
71
72 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
73
74         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
75
76 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
77
78         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
79         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
80
81 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
82
83         * manual/libc.texinfo: Undo last change for now.
84
85 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
86
87         * intl/locale.alias: Add entries for Croatian.
88         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
89
90 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
91
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.
96
97 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
98
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
102         opened socket.
103
104 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
105
106         * manual/llio.texi (File Position Primitive): Reformat @end
107         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
108
109 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
110
111         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
112         entry is found.
113         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
114         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
115
116         * locale/programs/localedef.c (main): Initialize `cat' to please
117         the compiler.
118
119 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
120
121         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
122         check for root-owned symlinks and reject them too.
123
124 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
125
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.
130
131 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
132
133         * manual/stdio.texi: Fix typos.
134
135 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
136
137         * version.h (VERSION): Bump to 2.1.1.
138
139 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
140
141         * nis/ypclnt.c: Try only twice to connect to NIS server.
142
143 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
144
145         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
146
147 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
148
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.
154
155 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
156
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.
159
160 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
161
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.
166
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.
171
172 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
173
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].
177
178 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
179
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>.
183
184 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
185
186         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
187         null, in which case send an empty string.
188
189 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
190
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>.
194
195 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
196
197         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
198         /dev/pts status may change during runtime.
199
200 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
201
202         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
203         change.  /dev/pts status can change during runtime.
204
205 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
206
207         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
208         poll reports error.
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
212         parser prototype.
213
214 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
215
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
221         for x_getint32.
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).
225
226 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
227
228         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
229         CLOCKS_PER_SEC instead of CLK_TCK.
230
231 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
232
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
236         dev_pts_available.
237
238         * posix/globtest.sh: Make common_objpfx path absolute and and db2
239         and hesiod directory to library path [PR libc/1007].
240
241 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
242
243         * resolv/inet_addr.c (inet_aton): Don't allow componets >
244         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
245
246 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
247
248         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
249         DT_PLTGOT has already been relocated.
250         (__elf_machine_fixup_plt): Likewise.
251         Minor cleanups.
252
253 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
254
255         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
256
257 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
258
259         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
260         and fold string to uppercase [PR libc/1005].
261
262 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
263
264         * elf/dl-load.c (lose): Fix return type.
265
266 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
267
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.
277
278 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
279
280         * manual/time.texi (High Resolution Timer): Correct computation in
281         example.  Reported by jjf@devel.cemsys.com.
282
283 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
284
285         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
286         entry is already relocated.
287
288 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
289
290         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
291         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
292
293 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
294
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.
304
305 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
306
307         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
308         @ifinfo.
309
310 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
311
312         * iconvdata/Makefile: Always include iconv-rules, but disable rule
313         to regenerate it if avoid-generated.
314
315         * Makeconfig: Always include sys-dirs, but disable rule to
316         regenerate it when avoid-generated.
317
318         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
319         rule to generate sysd-syscalls.
320
321         * elf/Makefile (generated): Remove $(objpfx) from names.
322
323 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
324
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.
333
334 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
335
336         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
337         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
338         with the RPC.
339
340 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
341
342         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
343         __get_phys_pages): Cast &HBI to silence warning.
344
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.
355
356 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
357
358         * elf/dl-load.c (lose): Add more comments to explain the `why'.
359         (_dl_map_object): Remove redundant test.
360
361 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
362
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
365         fd_set.
366
367 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
368
369         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
370         declaration for ____wcstod_l_internal.
371
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.
377
378 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
379
380         * elf/elf.h: Add 32bit HPPA definitions.
381
382 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
383
384         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
385         non-checked heap is restored when malloc checking was requested by
386         the user.
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.
395
396 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
397
398         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
399         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
400         time.
401
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.
405
406 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
407
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]
411
412 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
413
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.
417
418 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
419
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
424         symbols or versions.
425         (_dl_lookup_versioned_symbol): Likewise.
426         (_dl_lookup_versioned_symbol_skip): Likewise.
427         * elf/dl-version.c (match_symbol): Likewise.
428
429         * elf/ldsodefs.h: Declare _dl_signal_cerror.
430
431 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
432
433         * misc/getttyent.c (getttyent): Release lock on stream later to
434         also protect global variable zapchar.
435
436         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
437         __times [PR libc/990].
438
439 1999-02-21  David S. Miller  <davem@redhat.com>
440
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.
444
445 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446
447         * sysdeps/generic/glob.c (glob): Save previous errno.
448
449 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
450
451         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
452         lookup functions if it is too small.
453
454 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
455
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.
460
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.
464
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.
469
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):
476         Likewise.
477         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
478         Likewise.
479         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
480         Likewise.
481
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
487         is not possible.
488         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
489         appropriately.
490         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
491         already relocated.
492         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
493         relocated.
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
498         already relocated.
499         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
500         relocated.
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
505         all users.
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
518         relocated.
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.
527
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.
530
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.
534
535         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
536         loop to clear `info'.
537
538         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
539         do the work and don't use inline assembler.
540
541 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
542
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.
549
550 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
551
552         * Makeconfig (link-libc): When doing a static link, make sure that
553         libgcc.a is included both before and after libc.a.
554
555 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
556
557         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
558         sp_warn, sp_inact, sp_expire and sp_flag.
559
560 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
561
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
567         object.
568         * elf/Makefile: Compile and run new test.
569         * elf/multiload.c: New file.
570
571         * nss/nsswitch.h (service_user): Change name field from const char *
572         to char[0].
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'.
578
579         * catgets/catgets.c: Correctly handle NLSPATH from environment
580         [PR libc/980].
581
582         * io/Makefile (routines): Add lock64.
583         * io/Versions: Add lockf64 for GLIBC_2.1.1.
584         * sysdeps/generic/lockf64.c: New file.
585
586 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
587
588         * string/bits/string2.h: Only use strncmp optimization if count
589         argument is constant.
590
591 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
592
593         * sysdeps/mach/hurd/revoke.c: New file.
594
595 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
596
597         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
598         int to avoid warning about `ISO C restricts enumerator values to
599         range of `int''.
600
601 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
602
603         * elf/dlfcn.h: Fix typo.
604         * sysdeps/generic/bits/dlfcn.h: Likewise.
605         * sysdeps/mips/bits/dlfcn.h: Likewise.
606
607 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
608
609         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
610         for the case N == 0.
611
612         * db2/Makefile (distribute): Add LICENSE.
613
614 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
615
616         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
617         generated files.
618
619         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
620
621 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
622
623         * time/mktime.c: Use ISO C form for function definitions and
624         remove unnecessary prototypes.
625
626         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
627
628         * time/time.h: Avoid unneccesary #ifdef.
629
630 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
631
632         * stdio-common/_itoa.c (_itoa): Correct parameters to
633         udiv_qrnnd_preinv.
634
635 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
636
637         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
638         before (e.g. in glob.h).
639         Closes PR libc/959.
640
641 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
642
643         * sysdeps/mips/fpu_control.h: Fix typo.
644         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
645         Remove __setfpucw.
646
647 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
648
649         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
650         the "unused" ends of the sockets.  Let pipes be bidirectional.
651
652 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
653
654         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
655         invalid ai_flags.
656
657 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
658
659         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
660         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
661
662         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
663         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
664
665 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
666
667         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
668
669 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
670
671         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
672         check for priority mask.
673
674 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
675
676         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
677         Reported by Craig Metz <cmetz@inner.net> .
678
679 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
680
681         * stdio-common/Makefile (tests): tllformat added.
682
683         * stdio-common/tllformat.c: New program, based on tiformat.c with
684         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
685
686 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
687
688         * posix/test-vfork.c: Fix exit status test.
689
690 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
691
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].
694
695 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
696
697         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
698         of separare explicit comparisons.
699
700 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
701
702         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
703         defined.
704
705         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
706         defined.
707
708 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
709
710         * po/el.po: Update from translation team.
711
712 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
713
714         * intl/locale.alias: Fix slovenian entry [PR libc/948].
715
716 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
717
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.
726
727 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
728
729         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
730         even on 64 bit platforms.
731
732         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
733         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
734
735 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
736
737         * intl/dcgettext.c: Include locale.h is available.
738
739 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
740
741         * po/nl.po: Update from translation team.
742
743         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
744
745         * Makefile: Allow calling goals for po subdir.
746
747         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
748         signal definitions.
749
750         * po/el.po: New file.
751
752 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
753
754         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
755         when processing DT_SYMBOLIC objects.
756
757 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
758
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.
763
764 1999-02-08  Richard Henderson  <rth@cygnus.com>
765
766         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
767         restore all call-clobbered fp regs.
768
769 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
770
771         * po/cs.po: New file.
772
773         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
774         SUID binaries.
775
776 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
777
778         * signal/signal.h: Don't declare __libc_allocate_rtsig.
779         * include/signal.h: Declare __libc_allocate_rtsig here.
780
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
783         than once.
784
785 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
786
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.
790
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.
795
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.
800
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.
805
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.
810
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.
815
816 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
817
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.
841
842 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
843
844         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
845
846 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
847
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.
853
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.
861
862         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
863
864         * resolv/Versions (libresolv): Export __ns_name_unpack and
865         __ns_name_ntop.
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.
872
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.
878
879         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
880         functions.
881         * stdio-common/printf_fp.c: Likewise.
882         * stdio-common/printf_fphex.c: Likewise.
883         * stdio-common/vfprintf.c: Likewise.
884
885
886 See ChangeLog.9 for earlier changes.