1 2001-09-18 Ulrich Drepper <drepper@redhat.com>
3 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
4 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
6 2001-09-18 Andreas Schwab <schwab@suse.de>
8 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
9 list, now that l_scope is a pointer.
11 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
14 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
16 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
17 (elf_machine_rela_relative): Add a missing declaration.
19 2001-09-18 Jakub Jelinek <jakub@redhat.com>
21 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
22 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
23 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
26 2001-09-18 Ulrich Drepper <drepper@redhat.com>
28 * elf/ldd.bash.in: Update copyright message.
30 2001-09-17 H.J. Lu <hjl@gnu.org>
32 * hurd/hurdmalloc.c (bcopy): Removed.
33 (realloc): Replace bcopy with memcpy.
34 * hurd/path-lookup.c (file_name_path_scan): Likewise.
35 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
36 * sunrpc/rpcinfo.c (pmapdump): Likewise.
38 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
39 (gethostbyaddr): Likewise.
40 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
42 2001-09-18 Ulrich Drepper <drepper@redhat.com>
44 * sysdeps/gnu/eval.c: Removed.
46 2001-09-18 Andreas Jaeger <aj@suse.de>
48 * sysdeps/i386/fpu/s_logbl.S: Move to ...
49 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
51 * sysdeps/i386/fpu/s_rintl.S: Move to ...
52 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
54 * sysdeps/i386/fpu/s_significandl.S: Move to ...
55 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
57 2001-09-16 Ulrich Drepper <drepper@redhat.com>
59 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
62 2001-09-14 H.J. Lu <hjl@gnu.org>
64 * sysdeps/mips/fpu/libm-test-ulps: Updated.
66 2001-09-14 Ulrich Drepper <drepper@redhat.com>
68 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
69 Patch by Florian La Roche <laroche@redhat.com>.
71 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
73 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
76 2001-09-14 Andreas Schwab <schwab@suse.de>
78 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
80 * posix/execlp.c: Likewise.
82 2001-09-13 Jakub Jelinek <jakub@redhat.com>
84 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
85 is already found earlier in the search scope.
87 2001-09-12 Jakub Jelinek <jakub@redhat.com>
89 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
92 2001-09-13 Ulrich Drepper <drepper@redhat.com>
94 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
96 2001-09-12 Ulrich Drepper <drepper@redhat.com>
98 * config.h.in: Enforce optimization to be used.
99 * Makeconfig (preprocess-versions): Define ASSEMBLER.
100 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
101 * posix/Makefile (annexc-CFLAGS): Define to -O.
102 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
104 2001-09-11 Ulrich Drepper <drepper@redhat.com>
106 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
107 Patch by Stephan Kulow.
109 2001-09-08 Ben Collins <bcollins@debian.org>
111 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
112 usage of RESOLVE() (r_type, not reloc->r_type).
114 2001-09-08 Ulrich Drepper <drepper@redhat.com>
116 * elf/dl-object.c: Avoid allocating extra memory block for name.
117 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
118 allocated separately.
119 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
121 2001-09-08 H.J. Lu <hjl@gnu.org>
123 * po/zh_TW.po: Fix a typo.
125 2001-09-07 Tom Rix <trix@redhat.com>
127 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
129 2001-08-26 Tom Rix <trix@redhat.com>
131 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
132 command line options.
133 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
134 * sysdeps/unix/sysv/aix/start.c: Removed.
135 * sysdeps/unix/sysv/aix/start-libc.c: New file.
136 * sysdeps/unix/sysv/aix/init-first.c: New file.
137 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
139 2001-09-08 Ben Collins <bcollins@debian.org>
141 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
142 * sysdeps/generic/dl-machine.h: Likewise.
143 * sysdeps/hppa/dl-fptr.c: Likewise.
144 * sysdeps/ia64/dl-fptr.c: Likewise.
145 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
146 * sysdeps/mips/dl-machine.h: Likewise.
147 * sysdeps/mips/mips64/dl-machine.h: Likewise.
148 * sysdeps/powerpc/dl-machine.c: Likewise.
150 2001-09-07 Ben Collins <bcollins@debian.org>
152 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
154 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
156 2001-09-08 Ulrich Drepper <drepper@redhat.com>
158 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
159 dependencies if necessary.
161 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
162 loaded directly) determine length if l_initfini list by iterating
163 over its elements. Minor optimizations.
164 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
165 for dependency objects.
166 If object was already loaded check whether any of the dependencies
167 is already on the relocation dependency list. If yes, remove the
168 latter. Minor optimizations.
169 * elf/dl-lookup.c (add_dependency): Add check for self reference of
170 maps here. Search l_initfini list only if the object was loaded
171 directly and not only as a dependency.
172 (_dl_lookup_symbol): Add relocation dependency also if object
173 is not in global scope. Remove test for self-reference here.
174 (_dl_lookup_versioned_symbol): Likewise.
175 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
176 element of first name record.
177 * elf/loadtest.c: Add some more test to recognize early if an object
179 * elf/Makefile: Add rules to build and run reldep5.
180 * elf/reldep5.c: New file.
181 * elf/reldepmod5.c: New file.
182 * elf/reldepmod6.c: New file.
184 * elf/reldep2.c: Fix typo.
186 2001-09-07 Ulrich Drepper <drepper@redhat.com>
188 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
189 elements. Change l_scope to be a pointer only.
190 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
191 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
192 here add searchlist of newly open file to the dependency's scope.
193 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
194 only searchlist from its scope. Free own scope array if necessary.
195 * elf/Makefile (tests): Add dblload and dblunload now.
197 2001-09-06 Andreas Jaeger <aj@suse.de>
199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
202 2001-09-05 Ulrich Drepper <drepper@redhat.com>
204 * elf/Makefile: Add rules to build new tests. Don't run them yet since
206 * elf/dblload.c: New file.
207 * elf/dblloadmod1.c: New file.
208 * elf/dblloadmod2.c: New file.
209 * elf/dblloadmod3.c: New file.
210 * elf/dblunload.c: New file.
212 2001-09-04 Richard Henderson <rth@redhat.com>
214 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
215 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
217 2001-09-04 Ulrich Drepper <drepper@redhat.com>
219 Correct very misleading message for error in failed runtime relocation.
220 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
222 (_dl_signal_cerror): Likewise.
223 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
224 * elf/dl-close.c: Likewise.
225 * elf/dl-deps.c: Likewise.
226 * elf/dl-load.c: Likewise.
227 * elf/dl-lookup.c: Likewise.
228 * elf/dl-open.c: Likewise.
229 * elf/dl-reloc.c: Likewise.
230 * elf/dl-sym.c: Likewise.
231 * elf/dl-version.c: Likewise.
232 * sysdeps/generic/dl-sysdep.c: Likewise.
234 2001-09-04 Jakub Jelinek <jakub@redhat.com>
236 * iconv/strtab.c (strtabinit): Initialize null Strent.
237 (newstring): Move len == 0 handling...
238 (strtabadd): ...here.
239 If len == 1, return null Strent.
240 When inserting a suffix of an existing string, check if
241 it is not equal to some suffix already recorded.
242 Copy left and right members over if adding longer string.
244 2001-09-04 Jakub Jelinek <jakub@redhat.com>
246 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
248 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
249 (__syscall_gethostname): Add prototype.
251 2001-09-04 Ulrich Drepper <drepper@redhat.com>
253 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
255 2001-09-02 Ulrich Drepper <drepper@redhat.com>
257 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
259 2001-08-27 Roland McGrath <roland@frob.com>
261 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
262 short, copy that much into NAME anyway before returning error.
264 2001-09-01 Richard Henderson <rth@redhat.com>
266 * sysdeps/alpha/elf/Dist: Remove file.
267 * sysdeps/alpha/elf/Makefile: Remove file.
268 * sysdeps/alpha/elf/crtbegin.S: Remove file.
269 * sysdeps/alpha/elf/crtend.S: Remove file.
270 * sysdeps/alpha/elf/initfini.c: New file.
272 2001-09-01 Mark Kettenis <kettenis@gnu.org>
274 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
275 * iconv/tst-iconv3.c: Likewise.
277 2001-09-01 Jakub Jelinek <jakub@redhat.com>
279 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
281 2001-09-01 Ulrich Drepper <drepper@redhat.com>
283 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
285 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
286 * iconv/iconv_prog.c (insert_cache): New function.
287 (print_known_names): If cache is used call insert_cache to use the
288 information from the cache [PR libc/2509].
290 2001-08-31 Ulrich Drepper <drepper@redhat.com>
292 * time/strptime.c (strptime_internal): Recognize 'l' format and
293 handle it like 'I' for symmetry with strftime.
295 2001-08-31 Richard Henderson <rth@redhat.com>
297 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
298 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
299 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
300 (print_statistics): Make scalar unsigned long long.
301 * sysdeps/alpha/hp-timing.h: New file.
303 2001-08-31 Jakub Jelinek <jakub@redhat.com>
305 * stdio-common/perror.c (perror): Save errno early, pass it
306 down to perror_internal.
307 (perror_internal): Add errnum argument.
309 2001-08-31 Jakub Jelinek <jakub@redhat.com>
311 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
312 Don't add old memory content for R_ALPHA_REFQUAD.
314 2001-08-30 Ulrich Drepper <drepper@redhat.com>
316 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
319 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
320 instead of open, __close instead of close, __getpagesize instead
323 * string/argz-stringify.c (__argz_stringify): Use __strnlen
325 * include/string.h (strndupa): Redefine here to use __strnlen
327 * string/strndup.c (__strndup): Use __strnlen not strnlen.
329 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
332 2001-08-30 Jakub Jelinek <jakub@redhat.com>
334 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
335 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
336 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
338 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
342 2001-08-30 Ulrich Drepper <drepper@redhat.com>
344 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
346 2001-08-30 Andreas Jaeger <aj@suse.de>
348 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
349 contributed Stephen L Moshier.
351 2001-08-30 Jakub Jelinek <jakub@redhat.com>
353 * sunrpc/etc.rpc (sgi_fam): Add.
355 2001-08-30 Ulrich Drepper <drepper@redhat.com>
357 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
359 2001-08-29 Ulrich Drepper <drepper@redhat.com>
361 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
362 first is from a previous call.
363 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
365 2001-08-29 Andreas Schwab <schwab@suse.de>
367 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
369 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
371 * config.make.in (INSTALL_SCRIPT): Define.
372 * Makeconfig (INSTALL_SCRIPT): Define.
373 * Makerules (do-install-script): New macro to install scripts using
375 (install-bin-script): New rule to install scripts with
377 (install-bin-script-nosubdir): New rule.
378 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
379 (distinfo-vars): Add $(install-bin-script).
380 * Rules (others): Likewise.
381 * Makefile (glibcbug): Install with install-bin-script.
382 * debug/Makefile (xtrace): Likewise.
383 (catchsegv): Likewise.
384 * elf/Makefile (ldd): Likewise.
385 * malloc/Makefile (mtrace): Likewise.
386 * timezone/Makefile (tzselect): Likewise.
388 2001-08-29 H.J. Lu <hjl@gnu.org>
390 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
391 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
392 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
394 2001-08-29 Andreas Schwab <schwab@suse.de>
396 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
398 2001-08-28 H.J. Lu <hjl@gnu.org>
400 * Makeconfig (combreloc-LDFLAGS): New variable.
401 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
402 * config.make.in (have-z-combreloc): New variable.
403 * configure.in: Substitute libc_cv_z_combreloc.
405 2001-08-29 Ulrich Drepper <drepper@redhat.com>
407 * po/sv.po: Update from translation team.
408 * po/fr.po: Likewise.
409 * po/da.po: Likewise.
411 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
413 * Makerules: Fix a typo: MD% -> MD5.
415 2001-08-28 Ulrich Drepper <drepper@redhat.com>
417 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
418 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
420 2001-08-28 Andreas Jaeger <aj@suse.de>
422 * manual/libc-texinfo.sh: Add entry about free manuals.
424 * manual/contrib.texi (Contributors): Fix cross reference.
426 * manual/libc.texinfo (Copying): Include freemanuals.
428 * manual/Makefile (appendices): Add freemanuals.
430 * manual/freemanuals.texi: New file.
431 Patch by Brian Youmans <3diff@gnu.org>.
433 * manual/libm-err-tab.pl: Pretty print more platforms, print a
436 * manual/math.texi (Errors in Math Functions): Fix grammar, start
437 table on separate page.
438 Patch by Brian Youmans <3diff@gnu.org>.
440 2001-08-27 Ulrich Drepper <drepper@redhat.com>
442 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
443 the connection went down after we first used it try to connect
444 again and resend the message before printing to the console.
445 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
447 2001-08-27 Jakub Jelinek <jakub@redhat.com>
449 * string/tst-strlen.c (main): Test strnlen (, -1) too.
450 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
453 2001-08-27 Ulrich Drepper <drepper@redhat.com>
455 * iconv/strtab.c (searchstring): Use correct length for comparison.
456 (strtabadd): Account total size correct if new string has old string as
459 2001-08-27 Jakub Jelinek <jakub@redhat.com>
461 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
463 2001-08-27 Andreas Jaeger <aj@suse.de>
465 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
467 * math/libm-test.inc (j0_test): Add extra tests.
468 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
469 not x, in Hankel approximation.
470 Patches by Stephen L Moshier.
472 2001-08-26 Ulrich Drepper <drepper@redhat.com>
474 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
477 * configure.in: Fix test for .rela.dyn section.
479 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
481 2001-08-26 Jakub Jelinek <jakub@redhat.com>
483 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
484 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
485 Pass type_class to _dl_lookup_*.
486 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_clas parameter now.
487 Pass around just type_class instead of noexec, noplt pair.
488 (_dl_lookup_versioned_symbol): Likewise.
489 (_dl_lookup_symbol_skip): Pass around just type_class instead of
491 (_dl_lookup_versioned_symbol_skip): Likewise.
492 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
493 * elf/do-lookup.h (do_lookup): Likewise.
494 * include/link.h (struct link_map): Replace noexec and noplt fields
495 in l_lookup_cache with type_class field.
496 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
497 ELF_RTYPE_CLASS_COPY): Define.
498 Adjust prototypes for _dl_lookup_symbol and
499 _dl_lookup_versioned_symbol.
500 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
501 elf_machine_lookup_noexec_p): Remove.
502 (elf_machine_type_class): Define.
503 * sysdeps/arm/dl-machine.h: Likewise.
504 * sysdeps/hppa/dl-machine.h: Likewise.
505 * sysdeps/cris/dl-machine.h: Likewise.
506 * sysdeps/i386/dl-machine.h: Likewise.
507 * sysdeps/ia64/dl-machine.h: Likewise.
508 * sysdeps/m68k/dl-machine.h: Likewise.
509 * sysdeps/mips/mips64/dl-machine.h: Likewise.
510 * sysdeps/mips/dl-machine.h: Likewise.
511 * sysdeps/powerpc/dl-machine.h: Likewise.
512 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
513 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
514 * sysdeps/sh/dl-machine.h: Likewise.
515 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
516 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
518 2001-08-26 Ulrich Drepper <drepper@redhat.com>
520 * manual/message.texi (Advanced gettext functions): Change
521 description of plural forms for Slovak.
522 Reported by Marcel Telka <marcel@telka.sk>.
524 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
525 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
527 2001-08-26 Jakub Jelinek <jakub@redhat.com>
529 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
530 typo. Patch by Florian La Roche <laroche@redhat.com>.
532 2001-08-26 Ulrich Drepper <drepper@redhat.com>
534 * include/link.h (struct link_map): Add l_lookup_cache element.
535 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
536 (RESOLVE_MAP): Likewise.
537 (_dl_relocate_object): Remove cache initialization.
538 * elf/dl-lookup.c: Rip out cache handling code.
539 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
542 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
543 remove some __builtin_expect.
544 (_dl_lookup_versioned_symbol): Likewise.
546 * config.h.in: Add HAVE_Z_COMBRELOC.
547 * configure.in: Add test for -z combreloc.
549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
550 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
551 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
552 case to almost no code.
554 2001-08-25 Ulrich Drepper <drepper@redhat.com>
556 * po/tr.po: Update from translation team.
558 2001-08-24 Andreas Jaeger <aj@suse.de>
560 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
563 2001-08-24 Ulrich Drepper <drepper@redhat.com>
565 * elf/rtld.c (print_statistics): Printf % after percent values.
566 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
568 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
569 don't have to compute the hash value and initialize current_value.
570 Move reference_name variable to where it is needed.
571 (_dl_lookup_versioned_symbol): Likewise.
573 2001-08-24 Roland McGrath <roland@frob.com>
575 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
576 Just test that strerror returns non-null for a few errno codes.
578 2001-08-23 Roland McGrath <roland@frob.com>
580 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
581 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
583 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
585 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
588 2001-08-24 Ulrich Drepper <drepper@redhat.com>
590 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
593 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
594 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
596 * elf/rtld.c: Include <sys/param.h>.
597 * elf/dl-reloc.c: Likewise.
599 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
601 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
602 empty to prevent junk from being generated.
603 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
605 2001-08-24 Jakub Jelinek <jakub@redhat.com>
607 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
608 records. Rename endrel to relative, initialize it to r, and use it
609 in elf_machine_rel_relative calls. Point r after relative relocs.
611 2001-08-24 Ulrich Drepper <drepper@redhat.com>
613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
616 2001-08-24 Jakub Jelinek <jakub@redhat.com>
618 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
619 necessary. Undefine newly defined macros at the end.
620 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
621 Rename from elf_machine_rel_relative.
622 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
623 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
624 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
625 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
627 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
629 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
631 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
634 Likewise. Fix argument types.
635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
636 Likewise. Fix argument types.
637 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
639 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
640 ElfW(Rel) in argument.
641 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
644 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
648 2001-08-24 Andreas Jaeger <aj@suse.de>
650 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
651 Stephen L Moshier <moshier@mediaone.net>.
653 2001-08-24 Ulrich Drepper <drepper@redhat.com>
655 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
656 first if RELCOUNT is set.
658 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
659 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
660 elf_machine_rel_relative.
661 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
663 * sysdeps/arm/dl-machine.h: Likewise.
664 * sysdeps/cris/dl-machine.h: Likewise.
665 * sysdeps/hppa/dl-machine.h: Likewise.
666 * sysdeps/i386/dl-machine.h: Likewise.
667 * sysdeps/ia64/dl-machine.h: Likewise.
668 * sysdeps/m68k/dl-machine.h: Likewise.
669 * sysdeps/mips/dl-machine.h: Likewise.
670 * sysdeps/powerpc/dl-machine.h: Likewise.
671 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
672 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
673 * sysdeps/sh/dl-machine.h: Likewise.
674 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
675 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
677 2001-08-23 Roland McGrath <roland@frob.com>
679 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
681 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
682 sysdeps/mach version. Implement counting ("recursive") mutexes
683 on top of cthreads mutexes.
684 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
686 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
687 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
688 (__libc_cleanup_region_start, __libc_cleanup_region_end,
689 __libc_clean_end): Define these to call the cleanup function after
690 normal exit when they're supposed to.
692 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
693 Take new first arg DOIT, a boolean saying whether to really install
695 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
696 (__libc_cleanup_end): Likewise.
697 * sysdeps/generic/bits/libc-lock.h: Same changes.
698 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
699 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
700 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
702 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
703 * sysdeps/generic/bits/stdio-lock.h
704 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
706 2001-08-23 Jakub Jelinek <jakub@redhat.com>
708 * elf/ldconfig.c (search_dir): Remove stale symlinks.
710 2001-08-23 Jakub Jelinek <jakub@redhat.com>
712 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
713 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
715 (_dl_lookup_versioned_symbol): Likewise.
716 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
718 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
719 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
720 (lookup_cache, lookup_cache_versioned): Add declarations.
722 2001-08-23 Ulrich Drepper <drepper@redhat.com>
724 * stdlib/tst-random.c (main): Swap parameters in fail call.
725 Patch by Pete Bevin <pete@petebevin.com>.
727 2001-08-23 Jakub Jelinek <jakub@redhat.com>
729 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
731 2001-08-23 Ulrich Drepper <drepper@redhat.com>
733 * malloc/obstack.c: Indent preprocessor directives.
734 Patch by Jim Meyering <meyering@ascend.com>.
736 * po/ja.po: Update from translation team.
738 2001-08-23 Roland McGrath <roland@frob.com>
740 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
742 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
743 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
745 2001-08-22 Roland McGrath <roland@frob.com>
747 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
748 __libc_lock_define_recursive.
749 * elf/dl-open.c: Don't declare it here any more.
750 * elf/dl-close.c: Likewise.
751 * elf/dl-lookup.c: Likewise.
752 * elf/dl-iteratephdr.c: Likewise.
753 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
754 __libc_lock_unlock_recursive.
755 * elf/dl-close.c (_dl_close): Likewise
756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
757 * elf/dl-open.c (_dl_open): Likewise
759 * sysdeps/generic/bits/libc-lock.h
760 (__libc_lock_define_recursive): New macro.
761 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
762 (_IO_lock_lock): Use __libc_lock_lock_recursive.
763 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
765 * conform/conformtest.pl (checknamespace): Sort the output list.
767 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
768 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
769 definitions conditional on [__USE_XOPEN].
771 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
772 these unconditionally, not only use [__USE_BSD], so as to match
773 the sysdeps/unix/sysv/linux files.
775 2001-08-22 Ulrich Drepper <drepper@redhat.com>
777 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
780 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
783 2001-08-22 Roland McGrath <roland@frob.com>
785 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
786 conditionalization of sa_handler/sa_sigaction member types to
787 match the sysdeps/unix/sysv/linux file.
789 2001-08-22 Ulrich Drepper <drepper@redhat.com>
791 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
792 symbol sizes a bit better.
794 * sysdeps/ia64/strncpy.S: Complete rewrite.
795 Contributed by Jakub Jelinek <jakub@redhat.com>.
797 * string/stratcliff.c (main): Add strncpy test.
799 2001-08-22 Roland McGrath <roland@frob.com>
801 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
802 and don't declare unsetenv or _environ directly.
803 (unsetenv): Return int, not void. Use __environ instead of _environ.
805 2001-08-01 Mark Kettenis <kettenis@gnu.org>
807 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
808 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
809 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
811 test for cmsg struct size.
813 2001-04-23 Paul Eggert <eggert@twinsun.com>
815 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
816 Rename __argc to ___argc in prototypes to avoid compatibility
817 problems with systems that reserve the identifier "__argc".
818 Similarly for __argv.
820 2001-08-21 Roland McGrath <roland@frob.com>
822 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
824 * mach/Makefile (tests): Removed.
825 * mach/hello.c: File removed.
827 2001-08-22 Ulrich Drepper <drepper@redhat.com>
829 * po/sv.po: Update from translation team.
831 * stdio-common/vfscanf.c: Fix handling of %l[].
832 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
834 * libio/Makefile (tests): Add tst-sscanf.
835 * libio/tst-sscanf.c: New file.
837 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
838 * malloc/mtrace.c (tr_where): dli_sname always points to a
839 non-empty string if != NULL.
840 Reported by Tim Janik <timj@gtk.org>.
842 2001-08-22 Jakub Jelinek <jakub@redhat.com>
844 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
845 buf. Free resources on failure.
846 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
847 (makefd_xprt): Likewise.
848 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
849 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
850 * sunrpc/auth_unix.c (authunix_create): Likewise.
852 2001-08-21 Jakub Jelinek <jakub@redhat.com>
854 * string/strnlen.c: Remove.
855 * sysdeps/generic/strnlen.c: New.
856 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
858 2001-08-21 Roland McGrath <roland@frob.com>
860 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
861 as a macro, not an extern inline function.
863 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
864 * Versions.def (libc): Add GLIBC_2.2.5 set.
865 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
866 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
868 2001-08-20 Roland McGrath <roland@frob.com>
870 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
871 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
873 2001-08-21 Ulrich Drepper <drepper@redhat.com>
875 * string/bits/string2.h: Remove strnlen optimization here.
876 * sysdeps/i386/i486/bits/string.h: Add it here.
878 2001-08-21 Wolfram Gloger <wg@malloc.de>
880 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
882 2001-08-21 Ulrich Drepper <drepper@redhat.com>
884 * po/gl.po: Update from translation team.
886 2001-08-20 Ulrich Drepper <drepper@redhat.com>
888 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
889 * misc/err.c (convert_and_print): Likewise.
891 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
894 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
896 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
897 change of the gregset_t type.
898 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
900 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
902 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
904 2001-08-20 Ulrich Drepper <drepper@redhat.com>
906 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
908 * string/strnlen.c: Fix the implementation. We cannot use memchr.
910 2001-08-18 Mark Kettenis <kettenis@gnu.org>
912 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
913 before calling the cthreads initialization code.
915 2001-08-20 Ulrich Drepper <drepper@redhat.com>
917 * argp/argp-help.c: Fix two problems introduced in last change.
919 * include/dirent.h: Include <dirstream.h> first.
921 2001-08-19 Ulrich Drepper <drepper@redhat.com>
923 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
925 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
926 * sunrpc/xdr_rec.c: Likewise.
927 * sunrpc/xdr_mem.c: Likewise.
928 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
929 * sunrpc/rpc_cmsg.c: Likewise.
930 * sunrpc/getrpcport.c (getrpcport): Likewise.
931 * sunrpc/clnt_simp.c (callrpc): Likewise.
932 * sunrpc/clnt_gen.c (clnt_create): Likewise.
933 * string/envz.c: Likewise.
935 * po/ko.po: Update from translation team.
937 * argp/argp-help.c: Handle wide oriented stderr stream.
939 2001-08-18 Ulrich Drepper <drepper@redhat.com>
941 * sysdeps/generic/strtol.c: Little optimizations. Add some
944 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
946 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
947 * wcsmbs/wcwidth.c (wcwdith): Likewise.
948 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
950 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
952 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
954 * time/time.h (struct timespec): Use __time_t for tv_sec element.
956 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
957 wchar_t for function declarations and defintions.
959 * misc/sys/select.h: Define __need_time_t before including <time.h>.
960 Define suseconds_t if it hasn't happened yet.
962 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
964 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
966 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
969 * conform/data/stddef.h-data: Remove wint_t.
971 * conform/conformtest.pl: Change namespace test to take #undef
974 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
976 * conform/data/sys/socket.h-data: Add sockatmark.
978 2001-08-17 Ulrich Drepper <drepper@redhat.com>
980 * io/fts.c: Update from recent BSD source.
982 2001-08-17 Roland McGrath <roland@frob.com>
984 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
985 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
988 2001-08-17 Ulrich Drepper <drepper@redhat.com>
990 * locale/duplocale.c (__duplocale): Also initialize the special
993 * conform/data/netdb.h-data: Adjust gai_strerror return type.
995 2001-08-17 Andreas Jaeger <aj@suse.de>
997 * misc/getpass.c: Include wchar.h for prototypes.
998 * malloc/obstack.c: Likewise.
1000 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1002 * sunrpc/svc_simple.c (universal): Use __write instead of write.
1004 * wcsmbs/wcscoll.c: Also define __wcscoll.
1005 * include/wchar.h: Declare __wcscoll.
1007 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1008 * libio/vwprintf.c: Likewise.
1009 * libio/wprintf.c: Likewise.
1011 * iconv/gconv_cache.c: Use __munmap instead of munmap.
1013 2001-08-16 Ulrich Drepper <drepper@redhat.com>
1015 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1017 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1018 wcslen, and __wcscoll instead of wcscoll.
1020 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1022 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1023 __getuid instead of getuid.
1025 * stdio-common/perror.c (perror): Use __close instead of close.
1026 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1027 * libio/freopen.c (freopen): Likewise.
1028 * libio/freopen64.c (freopen64): Likewise.
1030 * libio/tst-ungetwc2.c (main): Define str const.
1032 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1033 * libio/fwprintf.c: Also define __fwprintf.
1034 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1035 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1036 * assert/assert-perr.c: Likewise.
1037 * assert/assert.c: Likewise.
1038 * gmon/gmon.c: Likewise.
1039 * inet/rcmd.c: Likewise.
1040 * malloc/obstack.c: Likewise.
1041 * misc/err.c: Likewise.
1042 * misc/error.c: Likewise.
1043 * misc/getpass.c: Likewise.
1044 * posix/getopt.c: Likewise.
1045 * resolv/res_hconf.c: Likewise.
1046 * stdio-common/perror.c: Likewise.
1047 * stdio-common/psignal.c: Likewise.
1048 * stdlib/fmtmsg.c: Likewise.
1049 * sunrpc/auth_unix.c: Likewise.
1050 * sunrpc/clnt_perr.c: Likewise.
1051 * sunrpc/clnt_tcp.c: Likewise.
1052 * sunrpc/clnt_udp.c: Likewise.
1053 * sunrpc/clnt_unix.c: Likewise.
1054 * sunrpc/svc_simple.c: Likewise.
1055 * sunrpc/svc_tcp.c: Likewise.
1056 * sunrpc/svc_udp.c: Likewise.
1057 * sunrpc/svc_unix.c: Likewise.
1058 * sunrpc/xdr.c: Likewise.
1059 * sunrpc/xdr_array.c: Likewise.
1060 * sunrpc/xdr_rec.c: Likewise.
1061 * sunrpc/xdr_ref.c: Likewise.
1062 * sysdeps/generic/wordexp.c: Likewise.
1064 * po/it.po: Update from translation team.
1066 * misc/err.c: Handle wide oriented stderr stream.
1068 2001-08-14 Tom Rix <trix@redhat.com>
1070 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1071 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1073 2001-08-13 Tom Rix <trix@redhat.com>
1075 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1076 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1079 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1082 Store the access registers to the ucontext structure.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1086 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1087 Load the access registers from the ucontext structure.
1088 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1091 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1092 offsets to the new ucontext layout.
1093 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1096 of the ucontext structure.
1097 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1099 2001-08-15 Ulrich Drepper <drepper@redhat.com>
1101 * misc/error.c (error): Handle wide oriented stderr stream correctly.
1102 (error_at_line): Likewise.
1104 * stdio-common/perror.c (perror): Implement according to standard.
1105 The stream orientation must not be changed if the stream was not
1106 oriented before the call.
1107 * stdio-common/Makefile (tests): Add tst-perror.
1108 * stdio-common/tst-perror.c: New file.
1111 See ChangeLog.12 for earlier changes.