1 2000-11-09 Ulrich Drepper <drepper@redhat.com>
3 * version.h (VERSION): Bump to 2.2.
4 (RELEASE): Set to stable.
6 * posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
8 (tst-chmod-ARGS): Likewise.
10 2000-11-09 H.J. Lu <hjl@gnu.org>
12 * io/Versions (GLIBC_2.2): Add __open64.
14 2000-11-09 Jakub Jelinek <jakub@redhat.com>
16 * locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK.
18 2000-11-09 Jakub Jelinek <jakub@redhat.com>
20 * locale/programs/ld-paper.c (paper_output): Fix offset into width
23 2000-10-27 Bruno Haible <haible@clisp.cons.org>
25 * locale/programs/charmap.c (charmap_read): Verify ASCII
26 compatibility of charmap.
28 2000-11-08 Ulrich Drepper <drepper@redhat.com>
30 * catgets/gencat.c (main): Don't use exit() to avoid warnings with
33 * include/features.h (__STDC_ISO_10646__): Correct value to be
34 200009L. Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
36 2000-11-08 H.J. Lu <hjl@gnu.org>
38 * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.
40 2000-11-08 Jakub Jelinek <jakub@redhat.com>
42 * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are
43 defined, not _HAVE_STRING_ARCH_.
44 * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset,
45 _USE_STRING_ARCH_strchr): Define.
46 * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset,
47 _USE_STRING_ARCH_strchr): Define.
48 * sysdeps/sparc/bits/string.h: New file.
50 2000-11-08 Bruno Haible <haible@clisp.cons.org>
52 * locale/C-translit.h.in: Tweak <U2014> result.
53 * locale/C-translit.h: Regenerated.
55 2000-11-08 Ulrich Drepper <drepper@redhat.com>
57 * posix/unistd.h: Add attribute((const)) to sysconf prototype.
59 * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc.
60 (BODY from direction): Remove special handling of \x5c.
61 * iconvdata/EUC-KR.irreversible: Adjust for this change.
62 * iconvdata/testdata/EUC-KR..UTF8: Likewise.
63 Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
65 2000-11-07 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
67 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields.
69 2000-11-06 Ulrich Drepper <drepper@redhat.com>
71 * iconvdata/big5.c: Regenerated after BIG5 charmap change.
72 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
74 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in
75 comparison with new cache magic bytes.
76 Patch by Denis Zaitsev <zzz@cd-club.ru>.
78 2000-11-03 Bruno Haible <haible@clisp.cons.org>
80 * locale/C-translit.h.in: Update from translit_neutral.
81 * locale/C-translit.h: Regenerated.
82 * intl/tst-translit.c: Update.
84 2000-11-04 Mark Kettenis <kettenis@gnu.org>
86 * sysdeps/mach/hurd/Dist: Remove clk_tck.c.
88 * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove
90 * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines):
92 * sysdeps/mach/hurd/clk_tck.c: Removed.
93 * sysdeps/mach/hurd/getclktck.c: New file.
94 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use
95 __getclktck instead of __libc_clk_tck.
96 * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead
98 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
100 2000-11-03 Ulrich Drepper <drepper@redhat.com>
102 * posix/Versions: Export __sysconf.
104 2000-11-02 Ulrich Drepper <drepper@redhat.com>
106 * version.h (VERSION): Bump to 2.1.97.
108 * iconvdata/Makefile (distribute): Add viscii.c.
110 * elf/Makefile (distribute): Add tst-pathopt.sh.
112 * sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to
113 __strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *.
114 (__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here.
115 Reported by Denis Zaitsev <zzz@cd-club.ru>.
117 * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
120 * manual/socket.texi (Local Namespace Concepts): Don't mention what
121 permissions are necessary to connect to a socket.
122 Reported by Peter Eisentraut <peter_e@gmx.net>.
124 * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
125 computation of total for 64-bit machines.
126 Patch by Byron Stanoszek <gandalf@winds.org>.
128 * manual/arith.texi (Rounding): Correct description of fesetround
129 return value. Patch by Conrado Badenas <Conrado.Badenas@uv.es>.
131 2000-10-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
133 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's
134 value plus the run-time displacement to the relocation for non-GOT
135 symbols. Set the relocation to the GOT entry for GOT symbols.
137 2000-11-02 Ulrich Drepper <drepper@redhat.com>
139 * sysdeps/unix/sysv/linux/s390/bits/time.h: Removed.
141 2000-11-01 Ulrich Drepper <drepper@redhat.com>
143 * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935,
144 IBM937, IBM939, and IBM1046.
145 * iconvdata/testdata/IBM1046: New file.
146 * iconvdata/testdata/IBM930..UTF8: New file.
147 * iconvdata/testdata/IBM1046..UTF8: New file.
148 * iconvdata/testdata/IBM933: New file.
149 * iconvdata/testdata/IBM935: New file.
150 * iconvdata/testdata/IBM937: New file.
151 * iconvdata/testdata/IBM856..UTF8: New file.
152 * iconvdata/testdata/IBM939: New file.
153 * iconvdata/testdata/IBM933..UTF8: New file.
154 * iconvdata/testdata/IBM935..UTF8: New file.
155 * iconvdata/testdata/IBM930: New file.
156 * iconvdata/testdata/IBM856: New file.
157 * iconvdata/testdata/IBM937..UTF8: New file.
158 * iconvdata/testdata/IBM939..UTF8: New file.
159 Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>.
161 2000-11-01 Martin Buchholz <martin@xemacs.org>
163 * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to
164 agree with implementation.
166 2000-11-01 Ulrich Drepper <drepper@redhat.com>
168 * sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result
170 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
171 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
172 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
173 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
175 * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
176 of unary ~ to size_t.
178 * stdlib/strtod.c: Make gcc shut up about SWAP use.
180 * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin
181 unordered compare functions to gcc 2.97 and up.
183 * string/bits/string2.h: Disable strstr optimizations for newer
184 gcc versions. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
186 * configure.in (with_cvs): Test for pserver access.
188 2000-10-31 Ulrich Drepper <drepper@redhat.com>
190 * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize.
191 * elf/dl-load.c: Define _dl_clktck.
192 * elf/elf.h: Define AT_CLKTCK.
193 * include/time.h: Declare __getclktck.
194 * misc/Makefile (routines): Add getclktck.
195 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK.
196 (_dl_show_auxv): Show AT_CLKTCK value.
197 * sysdeps/generic/getclktck.c: New file.
198 * sysdeps/unix/sysv/linux/getclktck.c: New file.
199 * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file.
200 * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file.
201 * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK.
202 * sysdeps/unix/sysv/linux/getpagesize.c: New file.
203 * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK.
204 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
205 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
206 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
207 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
209 * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with
210 clnt_control for any protocol. This would make it impossible for
211 the user to provide one in clnt_call().
212 Reported by Hitoshi Guutara Maruyama <maruyama@sh.rim.or.jp>.
213 * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero,
215 * sunrpc/clnt_unix.c (clnt_call): Likewise.
217 2000-10-31 Jes Sorensen <jes@linuxcare.com>
219 * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based
220 implementation based on suggestion by Richard Henderson.
221 * sysdeps/ia64/fpu/s_isinfl.c: Removed.
223 2000-10-30 Jes Sorensen <jes@linuxcare.com>
225 * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based
226 implementation based on suggestion by Richard Henderson.
227 * sysdeps/ia64/fpu/s_isnanl.c: Removed.
229 2000-10-31 Ulrich Drepper <drepper@redhat.com>
231 * locale/programs/locale.c (print_item): Fix one more problem with
232 string lists. Patch by Chen Xiangyang <chenxy@opencjk.org>.
234 * locale/categories.def: Add number of arguments to ctype-map-names
235 and ctype-class-names entries. Mark era as stringlist.
237 * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
238 IBM937, IBM939, and IBM1046.
239 (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
240 ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
241 ibm939.h, and ibm1046.h.
242 * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
243 IBM935, IBM937, IBM939, and IBM1046.
244 * iconvdata/ibm1046.c: New file.
245 * iconvdata/ibm1046.h: New file.
246 * iconvdata/ibm856.c: New file.
247 * iconvdata/ibm856.h: New file.
248 * iconvdata/ibm930.c: New file.
249 * iconvdata/ibm930.h: New file.
250 * iconvdata/ibm933.c: New file.
251 * iconvdata/ibm933.h: New file.
252 * iconvdata/ibm935.c: New file.
253 * iconvdata/ibm935.h: New file.
254 * iconvdata/ibm937.c: New file.
255 * iconvdata/ibm937.h: New file.
256 * iconvdata/ibm939.c: New file.
257 * iconvdata/ibm939.h: New file.
258 Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.
260 2000-10-30 Ulrich Drepper <drepper@redhat.com>
262 * locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
264 * locale/categories.def: Mark wide char strings as wstring or
266 * locale/programs/locale.c (show_info): Handle wstring, wstringarray,
267 and wstringlist. Print keywords only if there is real output.
268 Reported by Chen Xiangyang <chenxy@opencjk.org>.
270 * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
271 Patch by Ben Collins <bcollins@debian.org>.
273 * stdio-common/Makefile (tests): Add tst-fmemopen.
274 * stdio-common/tst-fmemopen.c: New file.
275 Test case by Ben Collins <bcollins@debian.org>.
277 * libio/iofopncook.c (_IO_cookie_seek): Correct test for error.
279 * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
280 (fmemopen_write): Set errno at end of buffer.
282 * posix/runtests.c (main): Don't use exit() to avoid warning with
285 * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
286 defining it again to avoid warning.
287 * string/bug-strpbrk1.c: Likewise.
288 * string/bug-strspn1.c: Likewise.
290 2000-10-29 Bruno Haible <haible@clisp.cons.org>
292 * locale/C-translit.h.in: Include more rules from translit_neutral.
293 Remove a few German and Danish specific rules.
294 * locale/gen-translit.pl: Avoid an error when printing a string
295 containing a '%' character.
296 * locale/C-translit.h: Regenerated.
297 * intl/translit.po: Choose different translations.
298 * intl/tst-translit.c: Update.
300 2000-10-29 Bruno Haible <haible@clisp.cons.org>
302 * locale/programs/ld-ctype.c (translit_include_t): New type.
303 (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
304 fields, add translit_include field.
305 (ctype_read): After seeing "translit_start" in ignore_content mode,
306 skip the entire translit section, not only one line. Remove dead test
307 for tok_translit_end. Enqueue include statements into a list.
308 Signal error if tok_eof seen before tok_translit_end.
309 (translit_flatten): New function.
310 (allocate_arrays): Call translit_flatten.
312 2000-10-30 Ulrich Drepper <drepper@redhat.com>
314 * locale/findlocale.c (free_mem): We can remove NODELETE marked
315 data, just not the C locale data.
317 * intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
318 * intl/tst-gettext.sh: Copy locale data if necessary.
319 * intl/Makefile (generated-dirs): Add localedir.
321 * intl/dcigettext.c (guess_category_value): For libc always use
322 the setlocale() method.
324 * intl/Makefile: Add rules to build, run and, distribute tst-gettext2.
325 * intl/tst-gettext2.c: New file.
326 * intl/tst-gettext2.sh: New file.
327 * intl/tstlang1.po: New file.
328 * intl/tstlang2.po: New file.
329 Patch by Andreas Jaeger <aj@suse.de>.
331 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
333 * intl/locale.alias: Add ja_JP.ujis alias.
335 2000-10-30 Ulrich Drepper <drepper@redhat.com>
337 * locale/findlocale.c (_nl_find_locale): Don't store normalized
340 2000-10-29 Ben Collins <bcollins@debian.org>
342 * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
344 * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
346 2000-10-29 Ulrich Drepper <drepper@redhat.com>
348 * iconvdata/big5.c: Update.
349 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
351 * iconvdata/Makefile (distribute): Add BIG5.irreversible.
352 * iconvdata/BIG5.irreversible: New file.
354 2000-10-29 Greg Louis <glouis@dynamicro.on.ca>
356 * posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
357 Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
358 doesn't define __restrict_arr.
360 2000-10-29 Ulrich Drepper <drepper@redhat.com>
362 * manual/search.texi: Correct description if VISIT values.
363 Patch by Ben Collins <bcollins@debian.org>.
365 * string/bits/string2.h (strspn): Evaluate first argument if
368 * sysdeps/i386/i486/bits/string.h: Likewise.
369 * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1.
370 * string/bug-strspn1.c: New file.
371 * string/bug-strpbrk1.c: New file.
372 Test cases by Joseph S. Myers <jsm28@cam.ac.uk>.
374 * string/bits/string2.h (strncat): Terminate string correctly.
375 * sysdeps/i386/i486/bits/string.h (strncat): Likewise.
376 * string/Makefile (tests): Add bug-strncat1.
377 * string/bug-strncat1.c: New file.
378 Test case by Joseph S. Myers <jsm28@cam.ac.uk>.
380 2000-10-27 Ben Collins <bcollins@debian.org>
382 * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
385 2000-10-29 Ulrich Drepper <drepper@redhat.com>
387 * elf/dl-load.c (open_path): Don't exit loop early if we didn't
388 use a directory at all.
390 * elf/Makefile: Add rules to build and run tst-pathopt.
391 * elf/tst-pathopt.c: New file.
392 * elf/tst-pathopt.sh: New file.
393 * elf/pathoptobj.c: New file.
395 * elf/elf.h (SHN_XINDEX): Define.
397 2000-10-28 Ulrich Drepper <drepper@redhat.com>
399 * io/Makefile (tests): Add test-stat2.
400 (test-stat2-ARS): New variable.
401 * io/test-stat2.c: New file.
403 * Makeconfig (ETAGS): Remove -T flag.
405 * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC
406 objects. Reject all other types.
407 (_dl_map_object_from_fd): Optimize a bit.
409 2000-10-27 Ulrich Drepper <drepper@redhat.com>
411 * stdio-common/Makefile (tests): Add tst-fseek.
412 * stdio-common/tst-fseek.c: New file.
414 * posix/regex.c (gettext): Use correct translation domain for glibc.
416 * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
417 * argp/argp-help.c: Likewise.
418 * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
419 * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
420 * misc/regexp.c (__step): Use __regexec instead of regexec.
421 (__advance): Likewise.
422 * nss/digits_dots.c: Use __inet_aton instead of inet_aton.
423 * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since
424 the former is not exported.
425 * misc/daemon.c (daemon): Use __fork instead of fork.
427 * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
428 it look better and bring it closer to SysV behavior.
429 * stdlib/Makefile (distribute): Add tst-fmtmsg.sh.
430 (test-srcs): Add tst-fmtmsg.
431 (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it.
432 * stdlib/tst-fmtmsg.sh: New file.
433 * stdlib/tst-fmtmsg.c: New file.
435 * iconvdata/Makefile (modules): Add VISCII.
436 (gen-8bit-modules): Add viscii.
437 * iconvdata/viscii.c: New file.
438 * iconvdata/gconv-modules: Add entries for VISCII.
439 * iconvdata/tst-tables.sh: Add VISCII.
441 2000-10-27 Andreas Schwab <schwab@suse.de>
443 * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
445 2000-10-26 Ulrich Drepper <drepper@redhat.com>
447 * version.h (VERSION): Bump to 2.1.96.
449 * inet/getipnodebyad.c: Removed.
450 * inet/getipnodebynm.c: Removed.
451 * inet/tst-ipnode.c: Removed.
452 * inet/freehostent.c: Removed.
454 * sysdeps/unix/bsd/osf/=dirstream.h: Removed.
456 * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.
458 * elf/Makefile (distribute): Add neededobj4.c.
460 * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.
462 * sysdeps/hppa/Dist: New file.
463 * sysdeps/unix/sysv/linux/hppa/Dist: New file.
465 * posix/tst-chmod.c (do_test): Account for people running the
468 * locale/langinfo.h (THOUSEP): Define this and don't duplicate
469 definition of THOUSANDS_SEP.
471 * locale/C-monetary.c: Set mon_decimal to empty string.
472 Add missing entry _NL_MONETARY_CRNCYSTR.
473 * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
474 DECIMAL_POINT information.
475 * locale/C-numeric.c: Set mon_grouping entry to empty string.
476 * locale/C-time.c: Add date_fmt entries. Remove two wrong entries.
477 Correct value for number of entries.
478 * locale/localeconv.c: Normalize result passed back in .grouping.
479 Fix assignment to .int_* entries.
481 * locale/Makefile (tests): Add tst-C-locale.
482 * locale/tst-C-locale.c: New file.
484 * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
486 * locale/newlocale.c: Likewise.
488 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
490 * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
491 * locale/categories.def: New support for date_fmt.
492 * locale/programs/ld-time.c: Likewise.
493 * locale/programs/locfile-kw.gperf: Likewise.
494 * locale/programs/locfile-kw.h: Likewise.
495 * locale/programs/locfile-token.h: Likewise.
497 2000-10-26 Jakub Jelinek <jakub@redhat.com>
499 * sysdeps/ieee754/ldbl-128/e_hypotl.c: New.
501 * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
502 Increase precision of constants.
503 * sysdeps/alpha/fpu/libm-test-ulps: Update.
504 * sysdeps/arm/libm-test-ulps: Update.
505 * sysdeps/i386/fpu/libm-test-ulps: Update.
506 * sysdeps/ia64/fpu/libm-test-ulps: Update.
507 * sysdeps/m68k/fpu/libm-test-ulps: Update.
508 * sysdeps/mips/fpu/libm-test-ulps: Update.
509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
512 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
513 * sysdeps/s390/fpu/libm-test-ulps: Update.
515 2000-10-26 Ulrich Drepper <drepper@redhat.com>
517 * io/Makefile (tests): Add tst-fcntl.
518 * io/tst-fcntl.c: New file.
520 * posix/Makefile (tests): Add tst-chmod.
521 (tst-chmod-ARGS): Define.
522 * posix/tst-chmod.c: New file.
524 * test-skeleton.c: Before calling user-defined function remove
525 parameters from argument list.
526 * posix/tst-exec.c: Adjust to this change.
527 * posix/tst-spawn.c: Likewise.
529 * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add
532 2000-10-25 Ulrich Drepper <drepper@redhat.com>
534 * intl/Makefile (tests): Add tst-ngettext.
535 * intl/tst-ngettext.c: New file.
537 2000-10-25 Bruno Haible <haible@clisp.cons.org>
539 * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
540 * manual/message.texi (Translation with gettext): Remove paragraph
541 about macros contained in libintl.h.
542 (bind_textdomain_codeset): Describe codeset argument.
543 (Using gettextized software): Add setlocale call to sample code.
545 2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
546 Yutaka Niibe <gniibe@chroot.org>
548 * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
549 relocation which is generated by new ld.
550 * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
551 (_fini): Delete an obsolete register prefix.
552 * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
553 __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
554 and versionsort64 as the 2.2-versioned symbols.
555 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
556 * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
557 calling convention of the kernel.
558 * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
559 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
560 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
561 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
562 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
563 * sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
564 * sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
565 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
566 file and delete the definitions of struct user and user_fp.
567 * sysdeps/unix/sysv/linux/sh/syscall.S: New file.
568 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
569 s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
570 rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
571 rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
572 s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
573 s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
574 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
575 s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
576 s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
577 s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
578 sys_stat, sys_writev and syscall.
580 2000-10-25 Ulrich Drepper <drepper@redhat.com>
582 * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
585 * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
586 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
587 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
588 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
591 2000-10-25 David Mosberger <davidm@hpl.hp.com>
593 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
594 number by four to use bins of width 4 to get accurate
595 instruction-level profiling.
597 2000-10-25 Andreas Jaeger <aj@suse.de>
599 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.
601 2000-10-25 Jakub Jelinek <jakub@redhat.com>
603 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
604 converting struct flock64 to struct flock and back, use fcntl commands
605 which work on struct flock.
607 2000-10-25 Jakub Jelinek <jakub@redhat.com>
609 * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
614 2000-10-25 Ulrich Drepper <drepper@redhat.com>
616 * sysdeps/arm/libm-test-ulps: Updated.
618 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
620 2000-10-25 Andreas Jaeger <aj@suse.de>
622 * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
623 (_dl_map_object): Likewise.
625 2000-10-24 Paul Eggert <eggert@twinsun.com>
627 * time/strftime.c (my_strftime macro)
628 [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
629 When redefining, do it without args, so that it works even if
630 emacs is defined and an extra argument is passed to my_stftime.
631 (my_strftime function): When evaluating a subformat, pass
634 2000-10-24 Andreas Schwab <schwab@suse.de>
636 * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
639 2000-10-25 Ulrich Drepper <drepper@redhat.com>
641 * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
642 for files with new cache format.
643 (_dl_load_cache_lookup): Add variable cache_data_size for size of the
644 data. Correctly report error if neither old not new signature is
645 found. Little optimizations.
646 Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.
648 * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
649 nsearchlist variable.
651 2000-10-24 Ulrich Drepper <drepper@redhat.com>
653 * elf/dl-lookup.c (add_dependency): Fix test to check whether
654 dependency already exists.
655 * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
656 * elf/loadtest.c (main): Add test at the end that everything is
659 * elf/dl-open.c (dl_open_worker): Fix typo in comment.
661 * elf/elf.h: Add even more IA-64 relocations.
663 2000-10-24 Geoffrey Keating <geoffk@cygnus.com>
665 * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
666 has a limit set---for instance, a limit of 2^31 bytes, which can't
667 easily be reset by non-LFS-aware shells.
669 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
670 explicitly rather than getting it from <asm/page.h>.
672 2000-10-24 Ulrich Drepper <drepper@redhat.com>
674 * elf/dl-close.c (_dl_close): Handle relocation dependencies of
675 the dependencies of the object currently unloaded.
677 * elf/dl-close.c (_dl_close): Don't free memory for global scope
678 list immediately when empty. Move code to...
679 (free_mem): ...here. Called as part of __libc_subfreeres list.
681 * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
682 r_list array in allocated memory.
683 * elf/dl-close.c (_dl_close): Optimize access to l_initfini list
684 and remove use of r_list.
686 * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
687 computing new opencounts.
688 * elf/Makefile: Add rules to build and run neededtest3.
689 * neededtest3.c: New file.
690 * neededobj4.c: New file.
692 * elf/neededtest.c (main): Correct tests for failing dlopen.
694 2000-10-24 Andreas Jaeger <aj@suse.de>
696 * elf/dl-lookup.c (add_dependency): Remove unused variable j.
698 2000-10-24 Ulrich Drepper <drepper@redhat.com>
700 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
702 * malloc/tst-obstack.c: New file.
703 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
704 * malloc/Makefile (tests): Add tst-obstack.
706 Complete revamp of the reference counter handling.
707 * include/link.h (struct link_map): Add l_idx field.
708 * elf/dl-close.c: Handle decrementing of reference counters more
709 correctly. If necessary decrement reference counters of dependencies
711 * elf/dl-lookup.c (add_dependency): Only increment reference counter
712 of the object itself and not also its dependencies.
713 * elf/dl-open.c: Increment reference counters here.
714 * elf/dl-deps.c: Remove reference counter handling here.
715 * elf/dl-load.c: Likewise.
716 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
718 * elf/loadtest.c: Print loaded objects at the beginning.
720 2000-10-24 Andreas Jaeger <aj@suse.de>
722 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
724 2000-10-23 Ulrich Drepper <drepper@redhat.com>
726 * include/link.h (struct link_map): New bit field l_faked.
727 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
728 the magic l_opencount==0.
729 * elf/dl-load.c: Likewise.
730 * elf/dl-version.c: Likewise.
731 * elf/rtld.c: Likewise.
733 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
735 2000-10-23 Jim Meyering <meyering@ascend.com>
737 Allow this code to be used outside of glibc.
738 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
739 [!weak_alias]: Define __memrchr to memrchr.
740 Guard weak_alias use with `#ifdef weak_alias'.
742 2000-10-23 Ulrich Drepper <drepper@redhat.com>
744 * elf/unload.c: Generate more debugging output.
746 * elf/neededtest.c: Make it more complicated.
747 * elf/neededtest2.c: New file.
748 * elf/Makefile: Add rules to build and run neededtest2.
750 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
751 of DSO address space.
752 (_dl_vsym): Likewise.
754 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
755 global scope if we can determine it.
757 2000-10-23 Andreas Schwab <schwab@suse.de>
759 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
760 (RLIMIT_NLIMITS): Sync with kernel definition.
761 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
763 2000-10-23 Andreas Schwab <schwab@suse.de>
765 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
767 2000-10-23 Ulrich Drepper <drepper@redhat.com>
769 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
771 2000-10-22 Bruno Haible <haible@clisp.cons.org>
773 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
774 for 0x8BF8, 0xA27E..0xA2A7.
775 * iconvdata/BIG5HKSCS.irreversible: New file.
777 2000-10-23 Jakub Jelinek <jakub@redhat.com>
779 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
780 * timezone/zic.c (main): Likewise.
782 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
784 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
785 if it is not enabled.
787 2000-10-23 Andreas Jaeger <aj@suse.de>
789 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
791 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
792 Patch by Ralf Baechle <ralf@gnu.org>.
794 2000-10-21 Ulrich Drepper <drepper@redhat.com>
796 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
797 verification in open_verify.
798 (open_verify): New function. Called instead of open. Ignores valid
799 files for other architectures.
800 (open_path): Call open_verify instead of open.
801 (_dl_map_object): Likewise.
802 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
804 * io/pwd.c (main): The output was missing a newline.
806 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
807 expects it. Patch by Colin Watson <riva.ucam.org>.
808 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
810 * elf/dl-open.c (add_to_global): New function. Split out from
812 (dl_open_worker): Call add_to_global not only for new objects, also for
813 previously loaded objects when (mode & RTLD_GLOBAL) and the object
814 was not yet in the global scope.
815 * elf/Makefile: Add rules to build and run lateglobal.
816 * elf/lateglobal.c: New file.
817 * elf/ltglobmod1.c: New file.
818 * elf/ltglobmod2.c: New file.
820 2000-10-20 Ulrich Drepper <drepper@redhat.com>
822 * include/link.h (struct link_map): Add l_soname_added bitfield.
823 * elf/dl-load.c (_dl_map_object): Remember when we added the
824 SONAME to the l_libname list and don't try it again.
826 * elf/dl-close.c: Decrement opencount for all dependencies which can
827 be removed even if the object is not yet unloaded.
828 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
829 the list decrement opencount of all dependencies.
830 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
831 and all dependencies.
832 (_dl_map_object): Likewise.
833 * elf/dl-lookup.c (add_dependency): Likewise.
835 * elf/loadtest.c: Add debug when with more output.
837 * elf/Makefile: Add rules to build and run unload2.
838 * elf/unload2.c: New file.
839 * elf/unload2mod.c: New file.
840 * elf/unload2dep.c: New file.
842 * intl/libintl.h (ngettext macro): Add missing parameter.
843 (dngettext macro): Likewise.
845 2000-10-19 H.J. Lu <hjl@gnu.org>
847 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
848 neededobj2.c and neededobj3.c.
849 (tests): Add neededtest.
850 (modules-names): Add neededobj1, neededobj2 and neededobj3.
851 ($(objpfx)neededobj1.so): New target.
852 ($(objpfx)neededobj2.so): Likewise.
853 ($(objpfx)neededobj3.so): Likewise.
854 ($(objpfx)neededtest): Likewise.
855 ($(objpfx)neededtest.out): Likewise.
856 * elf/neededtest.c: New. Based on the bug report from
857 Allen Bauer <kylix_rd@hotmail.com>.
858 * elf/neededobj1.c: Likewise.
859 * elf/neededobj2.c: Likewise.
860 * elf/neededobj3.c: Likewise.
862 2000-10-20 Ulrich Drepper <drepper@redhat.com>
864 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
865 to elf_machine_matches_host.
866 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
867 is now pointer to ELF header.
868 * sysdeps/arm/dl-machine.h: Likewise.
869 * sysdeps/generic/dl-machine.h: Likewise.
870 * sysdeps/hppa/dl-machine.h: Likewise.
871 * sysdeps/i386/dl-machine.h: Likewise.
872 * sysdeps/ia64/dl-machine.h: Likewise.
873 * sysdeps/m68k/dl-machine.h: Likewise.
874 * sysdeps/mips/dl-machine.h: Likewise.
875 * sysdeps/mips/mips64/dl-machine.h: Likewise.
876 * sysdeps/powerpc/dl-machine.h: Likewise.
877 * sysdeps/s390/dl-machine.h: Likewise.
878 * sysdeps/sh/dl-machine.h: Likewise.
879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
881 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
883 2000-10-20 Jakub Jelinek <jakub@redhat.com>
885 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
886 check instead of #ifdef __alpha__.
887 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
888 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
891 2000-10-20 Ulrich Drepper <drepper@redhat.com>
893 * posix/wordexp-tst.sh (testout): Place output file in build
894 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
896 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
898 2000-10-19 Ulrich Drepper <drepper@redhat.com>
900 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
901 Correctly handle numeric group member information.
902 Patch by tomasw@cs.huji.ac.il.
904 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
905 Complete test for strtol overflow.
907 2000-10-19 Jakub Jelinek <jakub@redhat.com>
909 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
910 semun as 4th argument to semctl syscall, not address of it.
912 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
914 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
916 2000-10-17 Andreas Schwab <schwab@suse.de>
918 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
919 * include/string.h: Declare them here.
921 2000-10-18 Ralf Baechle <ralf@gnu.org>
923 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
925 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
927 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
928 of the unordered comparison functions that use the GCC builtins.
930 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
931 (__process_machine_rela): Print the address of an overflowing
934 2000-10-18 Ulrich Drepper <drepper@redhat.com>
936 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
938 (freeit): Remove unnecessary test.
940 2000-10-18 Andreas Jaeger <aj@suse.de>
942 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
943 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
944 (elf_machine_runtime_link_map): Likewise.
945 (elf_machine_runtime_setup): Likewise.
946 Handle dynamic linker's local got entries.
947 Patches by Ralf Baechle <ralf@gnu.org>.
949 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
951 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
952 the frame pointer. Allocate stack space for $a0 for
953 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
956 2000-10-17 Ulrich Drepper <drepper@redhat.com>
958 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
961 2000-10-17 Andreas Schwab <schwab@suse.de>
963 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
966 2000-10-17 Jakub Jelinek <jakub@redhat.com>
968 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
969 Add missing backslash.
971 2000-10-16 Ulrich Drepper <drepper@redhat.com>
973 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
975 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
977 2000-10-16 Jakub Jelinek <jakub@redhat.com>
979 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
981 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
982 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
984 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
985 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
986 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
987 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
988 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
989 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
990 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
991 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
992 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
993 y1_test, yn_test): Add L suffixes also to parameters.
994 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
995 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
996 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
998 2000-10-16 Ulrich Drepper <drepper@redhat.com>
1000 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
1001 ialloc.c, and scheck.c.
1002 * malloc/obstack.c: Always include <libintl.h> for glibc.
1003 * posix/getopt.c: Likewise.
1004 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
1006 2000-10-15 Pete Wyckoff <pw@osc.edu>
1008 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
1010 2000-10-15 Pete Wyckoff <pw@osc.edu>
1012 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
1013 * iconvdata/tst-table.sh: Likewise.
1015 2000-10-15 Ulrich Drepper <drepper@redhat.com>
1017 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
1018 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
1020 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
1021 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1023 2000-10-13 Andreas Schwab <schwab@suse.de>
1025 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
1027 2000-10-15 Ulrich Drepper <drepper@redhat.com>
1029 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
1030 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
1031 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
1032 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
1033 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1035 2000-10-14 Ulrich Drepper <drepper@redhat.com>
1037 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
1038 (hypot_test): Likewise.
1040 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
1041 string correctly. Handle padding correctly.
1043 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
1045 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1046 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1048 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1050 * FAQ.in: Add --start-group and --end-group.
1052 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1054 * malloc/memusage.c: Conditionalize stack usage calculation on
1057 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1059 * config.h.in: Add ASM_LINE_SEP.
1060 * configure.in: Add test for comment and line separators.
1061 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
1062 placate some hppa assemblers.
1063 * sysdeps/hppa/sysdep.h: Likewise.
1064 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
1065 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1067 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
1069 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
1071 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
1072 non-threaded platforms.
1074 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
1076 * configure.in: Add definitions for hppa.
1077 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
1078 for IPLT and EPLT relocations.
1079 * shlib-versions: Version symbol definitions for hppa-linux.
1080 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
1083 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
1085 * sysdeps/hppa/Makefile: New file.
1086 * sysdeps/hppa/Versions: New file.
1088 * sysdeps/hppa/setjmp.S: New file.
1089 * sysdeps/hppa/__longjmp.S: New file.
1090 * sysdeps/hppa/bits/setjmp.h: New file.
1091 * sysdeps/hppa/frame.h: New file.
1093 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
1094 * sysdeps/hppa/sub_n.s: Likewise.
1095 * sysdeps/hppa/lshift.s: Likewise.
1096 * sysdeps/hppa/rshift.s: Likewise.
1097 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
1098 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
1099 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
1100 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
1101 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
1103 * sysdeps/hppa/dl-machine.h: New file.
1104 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
1105 identical to the IA-64 one).
1106 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1107 * sysdeps/hppa/dl-symaddr.c: Likewise.
1109 * sysdeps/hppa/elf/initfini.c: New file.
1110 * sysdeps/hppa/elf/start.S: New file.
1112 * sysdeps/hppa/fpu/bits/fenv.h: New file.
1113 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
1114 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
1115 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
1116 * sysdeps/hppa/fpu/fegetenv.c: New file.
1117 * sysdeps/hppa/fpu/fegetexcept.c: New file.
1118 * sysdeps/hppa/fpu/fegetround.c: New file.
1119 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
1120 * sysdeps/hppa/fpu/fesetenv.c: New file.
1121 * sysdeps/hppa/fpu/fesetround.c: New file.
1122 * sysdeps/hppa/fpu/feupdateenv.c: New file.
1123 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
1124 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
1125 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
1126 * sysdeps/hppa/fpu/ftestexcept.c: New file.
1128 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
1129 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
1130 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
1131 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
1132 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
1135 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
1136 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
1137 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
1138 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
1139 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
1140 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
1141 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
1142 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
1143 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
1144 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
1145 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
1146 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
1147 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
1148 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
1149 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
1150 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
1151 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
1152 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
1153 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
1155 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1157 * sysdeps/hppa/hppa1.1/Implies: New file.
1158 * sysdeps/hppa/memusage.h: New file.
1160 2000-10-28 Jes Sorensen <jes@linuxcare.com>
1162 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
1163 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
1164 _outl. Reported by Bill Nottingham.
1166 2000-04-06 Andreas Schwab <schwab@suse.de>
1168 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1169 restore register r8 for functions that return a structure.
1171 2000-10-12 Jakub Jelinek <jakub@redhat.com>
1173 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
1174 M_SQRT_PIl): Increase precision.
1175 (cbrt_test): If cbrt is not implemented, don't test it.
1176 Add L suffix to double constants in results which differ from their
1177 L suffixed counterparts.
1178 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
1180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1182 2000-10-11 Jakub Jelinek <jakub@redhat.com>
1184 * inet/rexec.c (rexec_af): Convert rport to host order before
1185 passing it to snprintf.
1187 2000-10-14 Ulrich Drepper <drepper@redhat.com>
1189 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
1190 uintXX_t since this is what <sys/types.h> defines and we include
1191 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
1193 * intl/localealias.c (read_alias_file): Update string pointers
1194 in map[] if realloc() changed the values.
1195 Patch by Jakub Jelinek <jakub@redhat.com>.
1197 * manual/stdio.texi: Update printf extension documentation after
1198 z became a valid modifier.
1199 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1201 * timezone/africa: Update from tzcode2000g and tzdata2000g.
1202 * timezone/asia: Likewise.
1203 * timezone/australasia: Likewise.
1204 * timezone/backward: Likewise.
1205 * timezone/europe: Likewise.
1206 * timezone/iso3166.tab: Likewise.
1207 * timezone/northamerica: Likewise.
1208 * timezone/southamerica: Likewise.
1209 * timezone/zone.tab: Likewise.
1211 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
1213 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
1216 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
1218 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
1219 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
1220 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
1221 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
1222 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
1223 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
1224 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
1225 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
1226 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
1227 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
1228 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
1229 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
1230 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
1231 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
1232 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
1233 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
1234 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
1235 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
1237 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
1238 oldsetrlimit for GLIBC_2.0.
1240 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
1241 arguments to _dl_init.
1243 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
1245 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
1246 building with the default options.
1248 2000-10-11 Andreas Jaeger <aj@suse.de>
1250 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
1251 Patch by Denis Zaitsev <zzz@cd-club.ru>.
1253 2000-10-09 Jakub Jelinek <jakub@redhat.com>
1255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
1257 * manual/arith.texi (nextafter): Document it.
1258 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
1260 2000-10-08 Ulrich Drepper <drepper@redhat.com>
1262 * version.h (VERSION): Bump to 2.1.95.
1264 * configure.in: Remove warning message.
1266 * nscd/Makefile (distribute): Add nscd-types.h.
1267 * elf/Makefile (distribute): Add gccframe.h.
1268 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
1269 * sysdeps/ia64/Dist: Add ieee754.h.
1271 2000-10-07 Ulrich Drepper <drepper@redhat.com>
1273 * elf/elf.h: Add a few section-related symbols.
1275 * include/features.h (__STDC_ISO_10646__): Set to correct date.
1276 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1278 2000-10-06 Jes Sorensen <jes@linuxcare.com>
1280 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
1281 overflow generation by adding DBL_MAX to DBL_MAX instead of
1282 setting the bits manually in the fpsr and generating the exception
1283 with kill() if necessary.
1284 (feraiseexcept): Implement underflow by dividing DBL_MIN by
1285 DBL_MIN - similar to the overflow change described above.
1287 2000-08-27 H.J. Lu <hjl@gnu.org>
1289 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
1290 is not supported under Linux/ia64, use clone2.
1292 2000-10-06 Jakub Jelinek <jakub@redhat.com>
1294 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
1295 * misc/sys/cdefs.h (__THROW): Likewise.
1297 2000-10-05 Jakub Jelinek <jakub@redhat.com>
1299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
1301 2000-10-02 Jakub Jelinek <jakub@redhat.com>
1303 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
1304 remaining xp_pad space.
1306 2000-10-05 Jakub Jelinek <jakub@redhat.com>
1308 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
1309 DF_1_NODELETE, not list[i]'s.
1311 2000-10-04 Ulrich Drepper <drepper@redhat.com>
1313 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
1314 (BODY from direction): Map \x5c to U20a9.
1315 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
1316 * iconvdata/EUC-KR.irreversible: New file.
1317 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
1319 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
1320 (argp_version_argp): Likewise.
1322 2000-10-04 Jakub Jelinek <jakub@redhat.com>
1324 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
1325 input_error() if EOF is seen before processing.
1326 * stdio-common/tstscanf.c (main): Add testcase.
1328 2000-10-04 Ulrich Drepper <drepper@redhat.com>
1330 * argp/argp-help.c: Make sure we get the correct gettext and
1331 dgettext definitions.
1332 * argp/argp-parse.c: Likewise.
1334 2000-10-03 Ulrich Drepper <drepper@redhat.com>
1336 * locale/programs/linereader.c (get_string): Also clear wide
1337 string info if illegal_string.
1339 2000-10-03 Andreas Schwab <schwab@suse.de>
1341 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
1343 2000-10-02 Jakub Jelinek <jakub@redhat.com>
1345 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
1348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
1350 2000-10-02 Ralf Baechle <ralf@gnu.org>
1352 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
1353 end of inline assembler code.
1355 2000-10-02 Ulrich Drepper <drepper@redhat.com>
1357 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
1358 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
1360 2000-10-02 Andreas Jaeger <aj@suse.de>
1362 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
1365 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
1367 2000-10-01 Ralf Baechle <ralf@gnu.org>
1369 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
1370 argument passed to _dl_init.
1372 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1374 * locale/programs/charmap-dir.h: New file.
1375 * locale/programs/charmap-dir.c: New file.
1376 * locale/programs/linereader.h (lr_create): New declaration.
1377 * locale/programs/linereader.c (lr_create): New function, split out
1379 (lr_open): Tailcall lr_create.
1380 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
1382 (xstrdup): New declaration.
1383 (more_help): Use xstrdup instead of strdup.
1384 (write_locales): Likewise. When encountering a symbolic link, call
1386 (write_charmaps): Simplify using the charmap-dir.h functions.
1387 Use xstrdup instead of strdup.
1388 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
1389 <dirent.h> and <unistd.h>.
1390 (cmlr_open): New function.
1391 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
1392 charmap-dir.h functions.
1393 * locale/Makefile (distribute): Add charmap-dir.h.
1394 (lib-modules): Add charmap-dir.
1395 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
1396 wants a 'char **', not a 'const char **'.
1397 * include/spawn.h: New file.
1399 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1401 * posix/spawn_faction_init.c: Include "spawn_int.h".
1402 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
1404 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1406 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
1408 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1410 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
1411 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
1412 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
1413 a pointer to the table entry, without extending the table.
1414 (allocate_arrays): Set a width only for characters with 'print'
1415 property. Set the width of L'\0' to 0.
1416 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
1417 for unprintable characters. Set entry of NUL to 0.
1419 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1421 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
1422 Don't forget to call closedir when the filename was found as a
1425 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1427 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
1430 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1432 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
1433 level2, and level3 as well.
1434 (wctype_table_add): Remove a few unnecessary conditionals.
1436 2000-09-30 Ralf Baechle <ralf@gnu.org>
1438 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
1440 2000-09-30 H.J. Lu <hjl@gnu.org>
1442 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
1443 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
1445 2000-09-29 H.J. Lu <hjl@gnu.org>
1447 * math/libm-test.inc (init_max_error): Clear all exceptions
1448 before starting test.
1449 (acosh_test): Test for existence of function.
1450 (asinh_test): Likewise.
1451 (atan2_test): Likewise.
1452 (cabs_test): Likewise.
1453 (cacos_test): Likewise.
1454 (cacosh_test): Likewise.
1455 (casin_test): Likewise.
1456 (casinh_test): Likewise.
1457 (catan_test): Likewise.
1458 (catanh_test): Likewise.
1459 (ccos_test): Likewise.
1460 (ccosh_test): Likewise.
1461 (cexp_test): Likewise.
1462 (clog_test): Likewise.
1463 (clog10_test): Likewise.
1464 (cosh_test): Likewise.
1465 (cpow_test): Likewise.
1466 (csin_test): Likewise.
1467 (csinh_test): Likewise.
1468 (csqrt_test): Likewise.
1469 (ctan_test): Likewise.
1470 (ctanh_test): Likewise.
1471 (fmod_test): Likewise.
1472 (hypot_test): Likewise.
1473 (remainder_test): Likewise.
1474 (remquo_test): Likewise.
1475 (sincos_test): Likewise.
1476 (sinh_test): Likewise.
1477 (tanh_test): Likewise.
1479 2000-09-29 H.J. Lu <hjl@gnu.org>
1481 * sysdeps/ia64/ieee754.h: New file.
1483 * sysdeps/ia64/fpu/math_ldbl.h: New file.
1485 2000-09-30 Jakub Jelinek <jakub@redhat.com>
1487 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
1488 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
1490 2000-09-30 Ulrich Drepper <drepper@redhat.com>
1492 * manual/charset.texi: Correct notations, reference to C90 amd 1,
1493 and some other details.
1494 * manual/ctype.texi: Likewise.
1495 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1497 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1499 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
1501 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1503 * elf/cache.c (save_cache): Initialize __unused field in new cache
1504 as well to get reproducable results.
1506 2000-09-29 H.J. Lu <hjl@gnu.org>
1508 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
1510 2000-09-29 H.J. Lu <hjl@gnu.org>
1512 * sysdeps/ia64/bits/huge_val.h: New file.
1514 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1516 * elf/chroot_canon.c: Don't report a failure if the last path
1517 component is not available.
1518 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
1521 * elf/cache.c (print_cache): Use stat64 instead of stat.
1522 * elf/ldconfig.c (chroot_stat): Likewise.
1523 (create_links): Likewise.
1524 (manual_link): Likewise.
1525 (search_dir): Likewise.
1526 * elf/readlib.c (process_file): Likewise.
1528 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
1531 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1533 * elf/chroot_canon.c: New file.
1534 * elf/Makefile: Build and distribute it.
1535 * elf/ldconfig.h (process_file): Add real_file_name argument.
1536 (chroot_canon): Add prototype.
1537 * elf/ldconfig.c (cache_file): Remove const.
1539 (create_links): Add real_path argument.
1540 If opt_chroot, maintain both real and given filenames.
1541 (manual_link): Likewise.
1542 (search_dir): Likewise.
1543 (parse_conf): If opt_chroot, use chroot_canon to find the real
1545 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
1546 and use chroot_canon where appropriate to do the same as if chroot
1548 * elf/readlib.c (process_file): Add real_file_name argument, pass it
1551 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1553 * math/complex.h (_Complex): We can be more specific when _Complex
1554 is defined by the compiler.
1556 2000-09-29 H.J. Lu <hjl@gnu.org>
1558 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
1560 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
1561 for x86/IA-64 binary.
1563 2000-09-29 Andreas Schwab <schwab@suse.de>
1565 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
1567 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
1569 2000-09-29 Mark Kettenis <kettenis@gnu.org>
1571 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
1572 implementation for use by the dynamic linker.
1574 2000-09-29 Andreas Jaeger <aj@suse.de>
1576 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
1578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1579 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1580 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1585 2000-09-29 Andreas Jaeger <aj@suse.de>
1587 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
1589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1590 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1591 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1596 2000-09-29 David Mosberger <davidm@hpl.hp.com>
1598 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
1600 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
1602 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1604 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
1605 works: call to __sigjmp_save must be done unconditionally to
1606 ensure jmp_buf is initialized properly.
1608 2000-09-27 Andreas Jaeger <aj@suse.de>
1610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
1613 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1615 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
1616 Use nscd_ssize_t where appropriate.
1617 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
1618 ssize_t where appropriate.
1619 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1620 * nscd/hstcache.c (cache_addhst): Likewise.
1621 * nscd/grpcache.c (cache_addgr): Likewise.
1622 * sysdeps/generic/nscd-types.h: New file.
1623 * sysdeps/alpha/nscd-types.h: New file.
1625 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1627 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
1628 INADDR_LOOPBACK instead of numeric value.
1630 2000-09-28 H.J. Lu <hjl@gnu.org>
1632 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
1634 (ELF_MACHINE_FIXED_STACK): Removed.
1636 2000-09-29 Andreas Jaeger <aj@suse.de>
1638 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
1640 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
1642 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
1644 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
1646 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1648 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
1649 relocation also for R_ALPHA_RELATIVE.
1650 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
1652 2000-09-18 Bruno Haible <haible@clisp.cons.org>
1654 * intl/dcigettext.c: Outside libc, use local variable names that don't
1655 clash with those in libc.
1656 * intl/bindtextdom.c: Likewise.
1657 * intl/textdomain.c: Likewise.
1659 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1661 * elf/ldconfig.c (parse_conf): Print full name of config dir
1662 including chroot() path.
1663 (main): Remove trailing / from opt_chroot string.
1665 * include/features.h: Correct description of what happens if no
1666 *_SOURCE macro is defined.
1668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
1669 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
1671 2000-09-19 H.J. Lu <hjl@gnu.org>
1673 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
1674 * malloc/malloc.c (__memalign_hook): Likewise.
1675 (memalign_hook_ini): Likewise.
1677 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1679 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
1681 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
1682 underlying functions directly.
1684 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
1685 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
1686 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
1687 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
1689 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
1690 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1692 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1694 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
1695 define it for powerpc for kernel >= 2.4.0.
1696 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1698 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1699 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1701 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1702 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1703 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1705 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1707 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1710 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1712 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1714 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1716 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1718 2000-09-27 Andreas Schwab <schwab@suse.de>
1720 * math/Makefile (distribute): Explicitly add the long double test
1721 sources, to get them included even if long double is not supported.
1723 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1725 * elf/soinit.c (struct object): Move definition to gccframe.h and
1726 include it. Problem identified by HJ Lu.
1728 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1729 struct object to be searched for frame unwind info.
1730 * sysdeps/generic/gccframe.h: New file. Generic version of
1731 struct object to be searched for frame unwind info.
1733 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1735 * manual/errno.texi: Correct error text for ENXIO.
1736 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1738 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1740 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1741 exception status bits rather than the exception disable bits.
1742 Don't include math.h.
1744 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1745 status of exceptions currently raised rather than which exceptions
1748 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1749 rather than unsigned long int.
1751 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1752 the exceptions actually requested by the caller and not just
1753 disable all exceptions.
1755 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1756 the ia64 are enabled by clearing the respective bits in the fpsr,
1759 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1760 unsigned long int rather than unsigned long to be consistent with
1761 the coding conventions.
1763 2000-09-20 H.J. Lu <hjl@gnu.org>
1765 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1767 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1769 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1771 * string/bits/string2.h: Unify #if usage.
1773 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1775 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1776 and disabling underflow or overflow, disable inexact as well.
1778 2000-09-26 Andreas Jaeger <aj@suse.de>
1780 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1782 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1784 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1785 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1787 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1788 (create_links): Likewise.
1790 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1792 * posix/tst-dir.c: Test a few error cases of chdir.
1794 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1796 * math/math_private.h: Don't add long double prototypes if
1797 NO_LONG_DOUBLE is defined.
1799 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1801 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1802 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1804 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1806 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1808 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1809 * sysdeps/sparc/sparc32/ieee754.h: New.
1810 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1811 * sysdeps/sparc/bits/endian.h: ...here.
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1814 %o1, not %o0 to see if we're parent or child. Optimize.
1816 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1818 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1820 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1821 code by Hans Boehm).
1822 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1824 2000-09-20 H.J. Lu <hjl@gnu.org>
1826 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1828 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1830 2000-09-17 H.J. Lu <hjl@gnu.org>
1832 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1834 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1835 sysdeps/i386/fpu/s_isinfl.c.
1837 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1838 sysdeps/i386/fpu/s_isnanl.c.
1840 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1841 sysdeps/i386/fpu/s_nextafterl.c.
1843 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1844 sysdeps/i386/fpu/bits/mathdef.h.
1846 2000-09-16 H.J. Lu <hjl@gnu.org>
1848 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1849 DL_UNMAP_IS_SPECIAL is not defined.
1851 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1852 (_dl_unmap): New prototype.
1853 (DL_UNMAP): New. Defined as _dl_unmap.
1855 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1857 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1859 2000-09-16 H.J. Lu <hjl@gnu.org>
1861 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1862 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1864 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1866 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1868 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1869 the memory location of a function from a function descriptor.
1871 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1873 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1876 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1878 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1879 variable as input argument.
1880 (__bswap_32): Likewise.
1882 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1883 - found by Jim Wilson <wilson@cygnus.com>
1885 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1887 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1890 2000-09-26 Andreas Schwab <schwab@suse.de>
1892 * locale/programs/ld-collate.c (collate_output): Only require
1893 alignment on __alignof__ (int32_t) instead of 4.
1894 * locale/loadlocale.c (_nl_load_locale): Likewise.
1895 * string/strcoll.c: Likewise.
1897 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1899 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1900 parentheses around arithmetic used in | statement to kill compiler
1903 * math/math_private.h: Add prototype for __finitel.
1904 (__ilogbl): Likewise.
1905 (__isinfl): Likewise.
1906 (__isnanl): Likewise.
1907 (__atanl): Likewise.
1908 (__copysignl): Likewise.
1909 (__expm1l): Likewise.
1910 (__floorl): Likewise.
1911 (__frexpl): Likewise.
1912 (__ldexpl): Likewise.
1913 (__log1pl): Likewise.
1915 (__rintl): Likewise.
1916 (__scalbnl): Likewise.
1917 (__sqrtl): Likewise.
1919 (__sincosl): Likewise.
1921 2000-09-26 Andreas Schwab <schwab@suse.de>
1923 * sysdeps/m68k/fpu/libm-test-ulps: New file
1925 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1927 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1929 2000-09-26 Andreas Jaeger <aj@suse.de>
1931 * misc/mkstemp64.c: New file.
1932 * misc/Makefile (routines): Add mkstemp64.
1933 * stdlib/stdlib.h: Add prototype and redirection magic.
1934 * misc/Versions: Add mkstemp64.
1936 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1938 * nscd/dbg_log.c (dbg_log): Add missing format string.
1940 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1942 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1943 since we filter out the variable once.
1944 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1945 * locale/newlocale.c (__newlocale): Likewise.
1946 * locale/setlocale.c (setlocale): Likewise.
1947 * malloc/malloc.c (ptmalloc_init): Likewise.
1948 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1949 * resolv/res_init.c (__res_vinit): Likewise.
1950 * time/tzfile.c (__tzfile_read): Likewise.
1951 * sysdeps/generic/unsecvars.h: New file.
1952 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1953 * elf/rtld.c (process_envvars): Likewise.
1954 * elf/Makefile (distribute): Add unsecvars.h.
1956 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1957 real /dev/null device.
1959 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1960 * sysdeps/generic/device-nrs.h: New file.
1961 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1962 * misc/Makefile (distribute): Add device-nrs.h.
1964 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1965 remove possible garbage at the end of the file.
1967 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1969 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1970 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1971 * stdio-common/tempnam.c: Warn about insecure tempnam.
1972 * misc/mktemp.c: Warn about insecure mktemp.
1974 * sysdeps/generic/check_fds.c: Check that file opened is really
1976 * posix/wordexp.c (exec_comm_child): Likewise.
1978 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1980 * locale/Makefile (routines): Add nl_langinfo_l.
1981 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1982 * locale/nl_langinfo_l.c: New file.
1983 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1986 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1988 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1989 (__gbk_to_ucs): Conditionalize private area mappings.
1990 (__gbk_from_ucs4_tab9): Likewise.
1991 (BODY for TO_LOOP): Likewise.
1992 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1993 * iconvdata/testdata/GBK..UTF-8: Likewise.
1994 * iconvdata/tst-tables.sh: Enable GBK test.
1996 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1998 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1999 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
2000 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
2002 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
2003 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
2005 2000-09-23 Bruno Haible <haible@clisp.cons.org>
2007 * iconvdata/johab.c (final_to_ucs): Fix typos.
2008 (jamo_from_ucs_table): Likewise.
2009 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
2010 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
2011 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
2012 the range 0xD9E6..0xD9FE.
2013 * iconvdata/tst-tables.sh: Enable JOHAB testing.
2015 2000-09-25 Ulrich Drepper <drepper@redhat.com>
2017 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
2020 2000-09-24 Ulrich Drepper <drepper@redhat.com>
2022 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
2023 stream is in wide mode.
2025 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
2027 2000-09-21 Bruno Haible <haible@clisp.cons.org>
2029 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
2031 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
2033 2000-09-21 Bruno Haible <haible@clisp.cons.org>
2035 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
2036 reallocation logic for MALLOC (%as, %aS formats).
2038 2000-09-24 Ulrich Drepper <drepper@redhat.com>
2040 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
2041 Add missing case in va_arg handling for numbers.
2042 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
2044 * stdio/tst-printf.sh: Adjust expected results.
2045 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2047 2000-09-20 Bruno Haible <haible@clisp.cons.org>
2049 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
2050 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
2052 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
2053 as equivalent to uppercase hexadecimal digits.
2055 2000-09-20 Bruno Haible <haible@clisp.cons.org>
2057 * iconvdata/testdata/EUC-KR..UTF8: New file.
2058 * iconvdata/testdata/EUC-TW: New file.
2059 * iconvdata/testdata/EUC-TW..UTF8: New file.
2060 * iconvdata/testdata/EUC-JP: New file.
2061 * iconvdata/testdata/EUC-JP..UTF8: New file.
2062 * iconvdata/testdata/ISO-2022-JP: New file.
2063 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
2064 * iconvdata/testdata/ISO-2022-JP-2: New file.
2065 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
2066 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
2067 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
2068 * iconvdata/testdata/ISO-2022-CN: New file.
2069 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
2070 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
2071 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
2072 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
2073 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
2075 2000-09-24 Andreas Jaeger <aj@suse.de>
2077 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
2078 function add_single_dir.
2079 (add_single_dir): New function.
2080 (search_dir): Use add_single_dir instead of recursing.
2082 * sysdeps/generic/dl-cache.h: Include stdint.h.
2083 (struct file_entry_new): Use fixed sizes for interoperability
2084 between 32bit and 64bit systems, add __unused to make alignment
2086 (CACHE_VERSION): Increment.
2087 (struct cache_file_new): Use fixed sizes, add one more unused
2088 entry to make alignment explicit.
2090 2000-09-24 Ulrich Drepper <drepper@redhat.com>
2092 * elf/ldconfig.c (search_dir): Make more use of d_type information.
2094 2000-09-23 Ulrich Drepper <drepper@redhat.com>
2096 * stdio-common/printf-parse.h (parse_one_spec): Clear
2097 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2099 2000-09-18 Mark Kettenis <kettenis@gnu.org>
2101 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
2102 #undef since we don't have msync.
2104 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
2105 constant since that is what clock_t is.
2106 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2108 2000-09-11 Mark Kettenis <kettenis@gnu.org>
2110 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
2111 multiply by LOAD_SCALE.
2113 2000-09-22 Jakub Jelinek <jakub@redhat.com>
2115 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
2116 (crypt_r, setkey_r, encrypt_r): Likewise.
2118 2000-09-22 Andreas Jaeger <aj@suse.de>
2120 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
2123 * sysdeps/alpha/fpu/libm-test-ulps: New file.
2124 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
2126 2000-09-21 Andreas Jaeger <aj@suse.de>
2128 * math/libm-test.inc (atan_test): Test for existence of function.
2129 (expm1_test): Likewise.
2130 (acos_test): Likewise.
2131 (asin_test): Likewise.
2132 (exp_test): Likewise.
2133 (log10_test): Likewise.
2134 (log_test): Likewise.
2135 (pow_test): Likewise.
2136 (sqrt_test): Likewise.
2137 (cos_test): Likewise.
2138 (sin_test): Likewise.
2139 (tan_test): Likewise.
2140 (log1p_test): Likewise.
2141 (log2_test): Likewise.
2143 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
2145 * libio/oldiofsetpos64.c: Fix alias names.
2147 2000-09-21 Martin Buchholz <martin@xemacs.org>
2149 * manual/terminal.texi (Allocation): Sample code correction.
2151 2000-09-20 Andreas Jaeger <aj@suse.de>
2153 * iconvdata/Makefile (generated): Add tst-tables.out.
2155 * intl/Makefile (generated): Add test output.
2157 2000-09-19 Andreas Jaeger <aj@suse.de>
2159 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
2160 Reported by Jens-Uwe Mager <jum@helios.de>.
2162 2000-09-18 Ulrich Drepper <drepper@redhat.com>
2164 * version.h (VERSION): Bump to 2.1.94.
2166 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
2167 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
2168 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
2169 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
2171 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
2173 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2175 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
2176 range 0xD800..0xDFFF.
2177 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
2178 (BODY for FROM_LOOP): Likewise.
2179 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
2180 (internal_ucs2_loop): Likewise.
2181 (ucs2reverse_internal_loop): Likewise.
2182 (internal_ucs2reverse_loop): Likewise.
2184 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2186 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
2189 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2191 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
2192 * iconvdata/tst-table-to.c (main): Likewise.
2194 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2196 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
2198 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
2199 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
2200 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
2201 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
2202 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
2203 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
2204 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
2205 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
2206 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
2207 encodings when needed. When outputting an announcement, don't clear
2208 most other announcements.
2210 2000-09-17 Bruno Haible <haible@clisp.cons.org>
2212 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
2213 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
2215 2000-09-14 Bruno Haible <haible@clisp.cons.org>
2217 * intl/Versions: Add bind_textdomain_codeset.
2219 2000-09-16 Ralf Baechle <ralf@gnu.org>
2221 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
2223 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
2224 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
2225 it will even work when not loaded to the standard address.
2226 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
2227 before the dynamic linker itself is relocated.
2229 2000-09-18 Andreas Jaeger <aj@suse.de>
2231 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
2232 __ASSUME_32BITUIDS for MIPS.
2233 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
2234 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
2236 2000-09-17 H.J. Lu <hjl@gnu.org>
2238 * catgets/Makefile ($(objpfx)de/libc.cat): Use
2239 $(make-target-directory) instead of mkdir.
2241 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2243 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
2244 __ASSUME_32BITUIDS for __powerpc__.
2245 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
2246 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
2248 2000-09-17 Ulrich Drepper <drepper@redhat.com>
2250 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
2252 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2254 2000-09-16 Jakub Jelinek <jakub@redhat.com>
2256 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
2258 * sysdeps/m68k/Implies: Likewise.
2259 * sysdeps/sparc/sparc64/Implies: Likewise.
2261 2000-09-16 Jakub Jelinek <jakub@redhat.com>
2263 * elf/readlib.c (process_file): Don't error for stale .so links either.
2265 2000-09-16 Ulrich Drepper <drepper@redhat.com>
2267 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
2270 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
2271 Patch by Thorsten Kukuk <kukuk@suse.de>.
2273 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
2274 (test): Add default.
2275 (modules-names): Add defaultmod1 and defaultmod2.
2276 Add rules to build test objects.
2278 2000-09-15 Ulrich Drepper <drepper@redhat.com>
2280 * wctype/wctype.h: Always include <bits/types.h>.
2281 Reported by Jim Meyering <meyering@ascend.com>.
2283 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
2284 * elf/dl-support.c: Likewise.
2286 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
2287 st_blocks member in stat and stat64 structs.
2288 Patch by Bill Nottingham <notting@redhat.com>.
2290 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
2293 * math/complex.h: Don't define _Complex macro for gcc 3. Add
2294 __extension__ to _Complex_I definition since gcc warns if -pedantic.
2295 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
2296 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2298 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
2299 necessary. Move includes of POSIX and Unix limits files to the end.
2300 * stdlib/Makefile (tests): Add tst-limits.
2301 * stdlib/tst-limits.h: New file.
2303 2000-09-15 Andreas Jaeger <aj@suse.de>
2305 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
2307 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
2309 2000-09-15 Jakub Jelinek <jakub@redhat.com>
2311 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
2313 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2314 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
2316 2000-09-15 Ulrich Drepper <drepper@redhat.com>
2318 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
2320 (modules-names): Add nextmod1 and nextmod2.
2321 Add rules to build and run next.
2322 * elf/next.c: New file.
2323 * elf/nextmod1.c: New file.
2324 * elf/nextmod2.c: New file.
2326 2000-09-14 Jakub Jelinek <jakub@redhat.com>
2328 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
2330 2000-09-15 Andreas Jaeger <aj@suse.de>
2332 * sysdeps/mips/fpu/fenv_libc.h: New file.
2333 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
2334 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
2335 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
2337 * sysdeps/mips/fpu/feenablxcpt.c: New file.
2338 * sysdeps/mips/fpu/fegetexcept.c: New file.
2339 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
2341 2000-09-14 Ulrich Drepper <drepper@redhat.com>
2343 * intl/Makefile: Avoid unnecessary test reruns.
2345 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
2347 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
2348 to not use sysctl(). Too many architectures have problems with it.
2350 2000-09-14 Andreas Jaeger <aj@suse.de>
2352 * scripts/config.sub: New version from subversions.gnu.org.
2354 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
2357 2000-09-14 Jakub Jelinek <jakub@redhat.com>
2359 * posix/regex.c (compile_range): Cast collseq index to unsigned char
2360 to avoid accessing data before collseq.
2362 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
2363 pasting strings together.
2365 2000-09-14 Greg McGary <greg@mcgary.org>
2367 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
2369 * sysdeps/generic/bp-semctl.h: Likewise.
2370 * sysdeps/generic/bp-start.h: Likewise.
2371 * sysdeps/generic/bp-sym.h: Likewise.
2372 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
2375 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2377 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
2380 * elf/elf.h: Add missing official relocations.
2382 * libio/stdio.h: Define __FILE if __need___FILE is defined.
2383 * stdio/stdio.h: Likewise.
2384 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
2385 * include/stdio.h: Handle __need___FILE like __need_FILE.
2386 * include/wchar.h: Use __FILE instead of FILE.
2387 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
2388 * libio/fwscanf.c: Likewise.
2389 * libio/getwc.c: Likewise.
2391 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
2392 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
2393 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
2395 * assert/assert.h: Update comment header about ISO C section.
2396 * math/complex.h: Likewise.
2397 * ctype/ctype.h: Likewise.
2398 * include/errno.h: Likewise.
2399 * include/limits.h: Likewise.
2400 * locale/locale.h: Likewise.
2401 * math/math.h: Likewise.
2402 * setjmp/setjmp.h: Likewise.
2403 * signal/signal.h: Likewise.
2404 * stdio/stdio.h: Likewise.
2405 * libio/stdio.h: Likewise.
2406 * stdlib/stdlib.h: Likewise.
2407 * string/string.h: Likewise.
2408 * time/time.h: Likewise.
2409 * wcsmbs/wchar.h: Likewise.
2410 * wctype/wctype.h: Likewise.
2411 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2413 2000-09-13 Andreas Jaeger <aj@suse.de>
2415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
2416 for no more entries.
2417 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
2418 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
2419 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
2421 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2423 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
2424 constant since this is what clock_t is.
2425 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2426 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2427 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
2430 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
2431 definitions are requested.
2433 2000-09-13 Andreas Jaeger <aj@suse.de>
2435 * shlib-versions: libBrokenLocale needs minimal version for ia64,
2436 sparc64 and sh to synch with libc.
2438 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2440 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
2441 (distribute): Add iso-2022-cn-ext.c.
2442 Add definitions to compile the new module.
2443 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
2444 * iconvdata/iso-2022-cn-ext.c: New file.
2445 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
2446 ucs4_from_isoir165. Increment input pointer if successful.
2448 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
2450 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2452 2000-09-01 Jes Sorensen <jes@linuxcare.com>
2454 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
2455 __syscall_getdents64 wrapper.
2457 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2459 2000-09-12 Ulrich Drepper <drepper@redhat.com>
2461 * iconvdata/gb18030.c: Many many changes. Make consistent with
2462 charmap and with itself.
2463 * iconvdata/tst-tables.sh: Test GB18030.
2465 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2467 * iconv/skeleton.c: Fix last patch, add missing parameter to
2468 unaligned function call.
2470 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2472 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
2473 of decimal ellipsis.
2475 2000-09-11 Bruno Haible <haible@clisp.cons.org>
2477 * locale/programs/ld-collate.c (collate_read): Always initialize
2480 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2482 * locale/programs/ld-collate.c (collate_finish): Upper bound for
2483 ruleidx is 128, not 256.
2485 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2487 * locale/programs/ld-collate.c (collate_read): Correct check for
2488 already inserted entries.
2490 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2492 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
2495 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2497 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
2498 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
2500 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2502 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
2505 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2507 * iconvdata/utf-7.c: New file.
2508 * iconvdata/gconv-modules (UTF-7): New module entries.
2509 * iconvdata/Makefile (modules): Add UTF-7.
2510 (distribute): Add utf-7.c.
2511 * iconvdata/testdata/UTF-7: New file.
2512 * iconvdata/testdata/UTF-7..UTF8: New file.
2513 * iconvdata/TESTS (UTF-7): New entry.
2514 * iconvdata/run-iconv-test.sh: Fix confusing output.
2516 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2518 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2520 2000-09-10 David S. Miller <davem@redhat.com>
2522 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
2523 frame pointer offset for non-fast path.
2525 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2527 * locale/programs/3level.h (*_init): Initialize level1, level2,
2529 (*_add): Remove a few unnecessary conditionals.
2531 2000-09-05 Wolfram Gloger <wg@malloc.de>
2533 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
2534 ensure usability of mutex as an `in use' flag.
2536 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2538 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
2540 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
2541 ugly GMON_WEAK_START hack.
2542 Patch by Philip Blundell <philb@gnu.org>.
2544 * sysdeps/i386/i486/bits/string.h: Pretty printing.
2546 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2548 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
2549 and PPC_ICBI asm for broken compilers.
2550 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2552 2000-09-09 Andreas Jaeger <aj@suse.de>
2554 * manual/message.texi (Advanced gettext functions): Fix typo.
2556 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
2559 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2561 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
2563 * sysdeps/ia64/memccpy.S: Likewise.
2564 Patches by Jim Wilson <wilson@redhat.com>.
2566 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
2567 before trying to read /proc.
2568 Patch by Matt Wilson <msw@redhat.com>.
2569 * include/sys/utsname.h: Declare __uname.
2570 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
2571 * sysdeps/mach/hurd/uname.c: Likewise.
2572 * sysdeps/unix/syscalls.list: Likewise.
2574 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
2577 2000-09-08 Ulrich Drepper <drepper@redhat.com>
2579 * posix/getopt.c (_getopt_internal): When long_only is set always
2580 recognize conflicts just like before.
2582 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2584 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2586 2000-09-08 Greg McGary <greg@mcgary.org>
2588 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
2589 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
2590 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2592 2000-09-08 Andreas Jaeger <aj@suse.de>
2594 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
2596 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
2598 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
2599 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2600 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2602 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2604 * iconvdata/tst-tables.sh: Enable EUC-KR test.
2606 * elf/dl-load.c (lose): Decrement _nl_loaded.
2607 (_dl_map_object_from_fd): Don't try to dlopen executables.
2609 * iconvdata/tst-tables.sh: Actually return with an error if
2610 something goes wrong.
2611 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
2612 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
2614 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
2616 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
2617 * iconvdata/tst-table-from.c: Include <string.h>.
2618 (try): Correct cast in iconv call.
2620 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
2622 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
2623 (sysdep_routines): Remove dl-start.
2624 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2626 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
2628 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
2629 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2631 2000-09-06 Andreas Schwab <schwab@suse.de>
2633 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2635 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2637 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
2639 * scripts/config.sub: Strip out -unknown for Linux targets.
2640 Patch by Scott Bambrough <scottb@netwinder.org>.
2642 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
2645 2000-09-07 Andreas Jaeger <aj@suse.de>
2647 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
2649 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
2652 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
2654 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
2655 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2657 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
2659 * stdlib/tst-bsearch.c (main): Add more test cases.
2661 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
2662 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2663 Reported by GOTO Masanori <gotom@debian.or.jp>.
2665 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2667 * posix/Makefile (tests): Add tst-dir.
2668 (tst-dir-ARGS): New variable.
2669 * posix/tst-dir.c: New file.
2671 2000-09-07 Andreas Jaeger <aj@suse.de>
2673 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
2676 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2678 2000-09-06 Ulrich Drepper <drepper@redhat.com>
2680 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
2681 use the hack with tryopen_o_directory to determine at runtime
2683 * sysdeps/unix/sysv/linux/opendir.c: New file.
2684 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2685 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
2687 * catgets/Depend: New file. Add intl.
2688 * catgets/Makefile (tests): Add tst-catgets.
2689 (generated): Remove de.msg.
2690 (generated-dirs): Add de.
2691 Add dependency if tst-catgets output on de/libc.cat.
2692 * catgets/tst-catgets.c: New file.
2694 * po/ja.po: New file.
2695 * po/el.po: Update from translation team.
2697 * wcsmbs/Depend: New file.
2698 * wcsmbs/Makefile (tests): Add tst-btowc.
2699 (tst-btowc-ENV): Define.
2700 * wcsmbs/tst-btowc.c: New file.
2702 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2703 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2705 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2707 * stdlib/Makefile (tests): Add tst-bsearch.
2708 * stdlib/tst-bsearch.c: New file.
2710 * posix/getopt.c (_getopt_internal): Don't recognize an option
2711 name as ambiguous if it's a prefix for more than one name but the
2712 other struct option values are identical.
2714 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2715 Don't depend on visual inspection of the output file to recognize
2717 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2719 2000-09-06 Andreas Jaeger <aj@suse.de>
2721 * sysdeps/alpha/soft-fp/Dist: New file.
2722 * sysdeps/i386/soft-fp/Dist: New file.
2723 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2724 * sysdeps/mips/soft-fp/Dist: New file.
2725 * sysdeps/powerpc/soft-fp/Dist: New file.
2726 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2727 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2729 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2730 Use sysdep_routines instead of routines to fix make dist failure.
2731 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2733 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2735 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2736 sysdep_headers instead of headers for make dist.
2738 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2741 2000-09-06 Andreas Schwab <schwab@suse.de>
2743 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2745 2000-09-06 Andreas Jaeger <aj@suse.de>
2747 * soft-fp/Makefile (distribute): Remove ChangeLog.
2749 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2750 sysdep_routines instead of routines for make dist.
2752 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2754 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2755 compatibility check for old stream and call _IO_wide in doubt.
2756 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2757 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2758 needed tst for such an old structure and don't do anything.
2759 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2761 2000-09-06 Andreas Jaeger <aj@suse.de>
2763 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2764 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2767 * soft-fp/ChangeLog: Merged with this file.
2769 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2771 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2773 * soft-fp/Makefile (distribute): Add the math functions, too.
2775 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2777 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2779 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2782 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2783 * soft-fp/sysdeps/powerpc/q_*: New files.
2785 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2787 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2788 in wide char case correctly. Don't allocate too long temporary
2789 strings with alloca.
2791 * stdio-common/Makefile (tests): Add tst-swprintf.
2792 (tst-swprintf-ENV): New variable.
2793 * stdio-common/tst-swprintf.c: New file.
2795 2000-09-05 Andreas Jaeger <aj@suse.de>
2797 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2798 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2799 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2801 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2803 * configure.in: Strip out "unknown" from configuration names.
2805 2000-09-05 Andreas Jaeger <aj@suse.de>
2807 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2809 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2810 * sysdeps/sparc/sparc32/Implies: Likewise.
2811 * sysdeps/powerpc/Implies: Likewise.
2813 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2814 * libio/oldiofgetpos64.c: Likewise.
2816 * soft-fp/Makefile (distribute): Remove configure.
2818 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2820 * soft-fp/configure: Remove.
2822 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2823 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2825 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2826 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2828 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2829 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2831 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2832 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2834 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2835 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2837 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2838 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2840 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2841 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2843 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2844 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2846 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2847 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2849 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2850 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2852 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2853 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2855 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2856 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2858 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2859 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2861 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2862 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2864 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2865 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2867 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2868 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2870 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2871 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2873 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2874 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2876 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2877 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2879 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2880 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2882 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2883 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2885 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2886 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2888 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2889 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2891 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2892 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2894 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2895 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2897 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2898 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2900 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2901 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2903 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2904 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2906 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2907 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2909 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2910 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2912 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2913 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2915 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2916 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2918 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2919 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2921 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2922 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2924 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2925 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2927 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2928 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2930 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2931 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2933 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2934 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2936 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2937 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2939 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2940 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2942 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2943 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2945 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2946 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2948 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2949 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2951 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2952 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2954 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2955 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2957 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2958 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2960 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2961 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2963 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2964 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2966 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2967 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2969 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2970 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2972 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2973 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2975 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2976 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2978 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2979 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2981 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2982 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2984 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2985 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2987 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2988 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2990 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2991 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2993 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2994 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2996 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2997 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2999 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
3000 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
3002 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
3003 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
3005 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
3006 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
3008 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
3009 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
3011 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
3012 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
3014 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
3015 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
3017 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
3018 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
3020 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
3021 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
3023 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
3024 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
3026 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
3027 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
3029 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
3030 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
3032 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
3033 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
3035 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
3036 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
3038 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
3039 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
3041 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
3042 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
3044 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
3045 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
3047 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
3048 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
3050 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
3051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
3053 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
3054 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
3056 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
3057 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
3059 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
3060 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
3062 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
3063 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
3065 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
3066 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
3068 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
3069 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
3071 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
3072 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
3074 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
3075 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
3077 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
3078 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
3080 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
3081 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
3083 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
3084 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
3086 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
3087 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
3089 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
3090 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
3092 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
3093 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
3095 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
3096 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
3098 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
3099 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
3101 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
3102 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
3104 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
3105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
3107 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
3108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
3110 * soft-fp/sysdeps/powerpc/Versions: Move from here...
3111 * sysdeps/powerpc/soft-fp/Versions: ... to here.
3113 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
3114 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
3116 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
3117 change symbol version.
3118 * libio/oldiofgetpos64.c: Likewise.
3119 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
3121 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
3123 Reported by dyky@kondara.org, closes PR libc/1886.
3125 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
3128 2000-09-04 Ulrich Drepper <drepper@redhat.com>
3130 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
3131 script when ^C is hit.
3133 * locale/programs/localedef.c (construct_output_path): Correct
3134 computation of endp after asprintf.
3135 * locale/programs/locfile.c (write_locale_data): Don't add extra
3138 2000-09-05 Andreas Jaeger <aj@suse.de>
3140 * scripts/config.guess: New upstream version.
3141 * scripts/config.sub: Likewise.
3142 * manual/texinfo.tex: Likewise.
3144 2000-09-04 Andreas Schwab <schwab@suse.de>
3146 * elf/Makefile (all-dl-routines): New variable.
3147 (elide-routines.os): Use it instead of $(dl-routines).
3148 (all-rtld-routines): New variable.
3149 (extra-objs): Use it instead of $(rtld-routines).
3150 ($(objpfx)dl-allobjs.os): Likewise.
3151 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
3152 sysdep-dl-routines and sysdep_routines instead of rtld-routines
3155 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3157 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
3158 Set fname to NULL if the module wasn't found.
3160 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3162 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
3163 true if trans->name already ends in ".so".
3165 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3167 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
3169 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
3170 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
3171 (__gconv_release_shlib): Change return type to void.
3172 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
3173 step->__counter here.
3174 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
3175 if the reference is zero.
3176 (release_step): New function.
3177 (gen_steps): Always initialize the __counter to 1. Use release_step.
3178 Don't call the destructor on the step whose initializer failed.
3179 (increment_counter): Use release_step. Don't normally run destructors
3181 (__gconv_close_transform): Use release_step.
3183 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3185 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
3186 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
3188 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3190 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
3191 If the first byte is 0x8E, don't ask for 4 bytes until it has been
3192 verified that the second byte is valid. Leave it to cns11643_to_ucs4
3193 to check for incomplete input.
3194 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
3195 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
3196 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
3197 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
3199 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
3200 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
3201 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
3202 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
3205 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3207 * iconv/gconv_db.c (find_derivation): Always use the least-cost
3210 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3212 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
3215 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3217 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
3218 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
3221 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3223 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
3225 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3227 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
3229 2000-09-03 Bruno Haible <haible@clisp.cons.org>
3231 * iconvdata/tst-tables.sh: New file.
3232 * iconvdata/tst-table.sh: New file.
3233 * iconvdata/tst-table-from.c: New file.
3234 * iconvdata/tst-table-to.c: New file.
3235 * iconvdata/tst-table-charmap.sh: New file.
3236 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
3237 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
3238 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
3239 ISIRI-3342.irreversible, SJIS.irreversible.
3240 (tests): Add dependency on tst-tables.out.
3241 (tst-tables.out, tst-tables-clean): New rules.
3242 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
3243 * iconvdata/ISIRI-3342.irreversible: New file.
3244 * iconvdata/EUC-JP.irreversible: New file.
3245 * iconvdata/SJIS.irreversible: New file.
3247 2000-09-04 Ulrich Drepper <drepper@redhat.com>
3249 * manual/locale.texi (General Numeric): Update description of
3250 representation of the grouping information in the locale data.
3251 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
3253 2000-09-04 Andreas Jaeger <aj@suse.de>
3255 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
3256 * iconv/iconv_prog.c (options): Fix typo.
3257 Reported by dyky@kondara.org, closes PR libc/1885.
3259 2000-09-04 Andreas Jaeger <aj@suse.de>
3261 * sysdeps/generic/fegetenv.c: It's __fegetenv.
3262 Reported by Rob Levin <lilo@transvirtual.com>.
3264 2000-09-03 Ulrich Drepper <drepper@redhat.com>
3266 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
3267 to the typedefs of __timezone_ptr_t.
3268 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
3270 2000-09-02 Jakub Jelinek <jakub@redhat.com>
3272 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
3275 2000-09-01 H.J. Lu <hjl@gnu.org>
3277 * Makeconfig (built-program-cmd): Don't use the dynamic linker
3278 to run a binary if it is in $(tests-static).
3280 * Rules (binaries-static): Add $(tests-static).
3282 2000-09-02 Andreas Jaeger <aj@suse.de>
3284 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
3286 * libio/fmemopen.c (fmemopen_close): Revert one part of last
3289 2000-09-01 Ulrich Drepper <drepper@redhat.com>
3291 * iconvdata/big5hkscs.c: Regenerated from charmap.
3292 * iconvdata/testdata/BIG5HKSCS: Regenerated.
3293 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
3295 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
3296 statement. General cleanup.
3298 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3300 * wctype/wcfuncs.c (iswblank): New function.
3301 * wctype/wcfuncs_l.c (__iswblank_l): New function.
3302 * wctype/wcextra.c: Remove file.
3303 * wctype/wcextra_l.c: Remove file.
3304 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
3306 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3308 * locale/programs/ld-collate.c (collate_output): Remove redundant
3310 * string/strcoll.c: Likewise.
3311 * string/strxfrm.c: Include assert.h. Add assert calls like in
3314 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3316 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
3317 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
3318 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
3319 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
3320 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
3321 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
3322 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
3323 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
3324 _NL_CTYPE_GAP5/6 respectively.
3326 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
3327 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
3328 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
3329 Don't initialize __ctype_names and __ctype_width.
3330 * wctype/cname-lookup.h: Remove file.
3331 * wctype/Makefile (distribute): Remove cname-lookup.h.
3332 * wctype/wchar-lookup.h: Include stdint.h.
3333 * wctype/wctype.c (__wctype): Assume new locale format.
3334 * wctype/wctype_l.c (__wctype_l): Likewise.
3335 * wctype/iswctype.c: Don't include cname-lookup.h.
3336 (__iswctype): Assume new locale format.
3337 * wctype/iswctype_l.c: Don't include cname-lookup.h.
3338 (__iswctype_l): Assume new locale format.
3339 * wctype/wctrans.c: Don't include ctype.h.
3340 (wctrans): Assume new locale format.
3341 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3342 * wctype/towctrans.c: Don't include cname-lookup.h.
3343 (__towctrans): Assume new locale format.
3344 * wctype/towctrans_l.c: Don't include cname-lookup.h.
3345 (__towctrans_l): Assume new locale format.
3346 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
3347 localeinfo.h instead.
3348 (__NO_WCTYPE): Remove unused macro.
3349 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
3351 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
3352 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
3353 (towlower, towupper): Likewise.
3354 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
3355 localeinfo.h instead.
3356 (__NO_WCTYPE): Remove unused macro.
3357 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3358 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3359 __iswxdigit_l): Assume new locale format.
3360 (__towlower_l, __towupper_l): Likewise.
3361 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
3362 (__ctype32_b): Remove declaration.
3363 (internal_wcwidth): Assume new locale format.
3364 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
3365 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
3366 to map32_b, rename width_3level to width.
3367 (ctype_output): Always create new locale format. Don't emit
3368 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
3369 (allocate_arrays): Always create new locale format.
3371 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
3372 * locale/weightwc.h (findidx): Assume new locale format.
3373 * string/strcoll.c (wcscoll): Remove local variables size, layers,
3375 * string/strxfrm.c (wcsxfrm): Likewise.
3376 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
3377 local variable collseq to 'const char *'.
3378 (SUFFIX): Don't use, don't undefine.
3379 * posix/fnmatch.c: Remove SUFFIX definition.
3380 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
3381 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
3382 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
3383 (collate_finish): Always create new locale format. Remove local
3384 variables min_total, act_size.
3385 (collate_output): Always create new locale format. Remove local
3386 variables table_size, names, tablewc. Rename tablewc_3level to
3389 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3391 * locale/programs/ld-collate.c (obstack_int32_grow,
3392 obstack_int32_grow_fast): New inline functions.
3393 (output_weightwc, collate_output): Use them where possible.
3395 2000-09-01 Ulrich Drepper <drepper@redhat.com>
3397 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
3398 patch (_mode -> _flags).
3400 * libio/Makefile (headers): Add stdio_ext.h.
3401 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
3402 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
3403 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
3404 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
3405 __fsetlocking, and _flushlbf.
3406 * libio/__fbufsize.c: New file.
3407 * libio/__flbf.c: New file.
3408 * libio/__fpending.c: New file.
3409 * libio/__fpurge.c: New file.
3410 * libio/__freadable.c: New file.
3411 * libio/__freading.c: New file.
3412 * libio/__fsetlocking.c: New file.
3413 * libio/__fwritable.c: New file.
3414 * libio/__fwriting.c: New file.
3415 * libio/stdio_ext.h: New file.
3416 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
3417 * libio/libio.h (_IO_USER_LOCK): Define.
3418 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
3419 test _IO_USER_LOCK flag first.
3421 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
3424 2000-09-01 Andreas Jaeger <aj@suse.de>
3426 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
3428 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
3430 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3432 * math/Makefile (tests): Add tst-defintions.
3433 * math/tst-definitions.c: New file.
3435 * stdlib/Makefile (headers): Add bits/wchar.h.
3436 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
3437 * sysdeps/generic/bits/wchar.h: New file.
3438 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
3439 file to define WCHAR_MIN and WCHAR_MAX.
3440 Change UINT*8_MAX and UIN*16_MAX value to type int.
3441 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
3442 file to define WCHAR_MIN and WCHAR_MAX.
3443 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
3445 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
3446 * sysdeps/generic/bits/mathdef.h: Likewise.
3447 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3448 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3449 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
3450 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3451 * locale/locale.h (struct lconv): Add __ prefix to the new members
3453 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
3454 imaxdiv optimizations.
3455 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
3456 * sysdeps/wordsize-64/ldiv.c: Likewise.
3457 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
3459 * sysdeps/generic/bits/fenv.h: Likewise.
3460 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3461 * sysdeps/ia64/bits/fenv.h: Likewise.
3462 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3463 * sysdeps/mips/bits/fenv.h: Likewise.
3464 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3465 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3466 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3468 * inet/rcmd.c: Use *stat64 instead of *stat internally.
3469 * inet/ruserpass.c: Likewise.
3470 * catgets/open_catalog.c: Likewise.
3471 * intl/loadmsgcat.c: Likewise.
3472 * io/getdirname.c: Likewise.
3473 * locale/loadlocale.c: Likewise.
3474 * misc/getusershell.c: Likewise.
3475 * stdlib/canonicalize.c: Likewise.
3476 * sysdeps/posix/euidaccess.c: Likewise.
3477 * sysdeps/posix/isfdtype.c: Likewise.
3478 * sysdeps/posix/posix_fallocate.c: Likewise.
3479 * sysdeps/posix/tempname.c: Likewise.
3480 * sysdeps/unix/grantpt.c: Likewise.
3481 * sysdeps/unix/opendir.c: Likewise.
3482 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
3483 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
3484 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3485 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
3486 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3487 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3488 * sysvipc/ftok.c: Likewise.
3489 * time/getdate.c: Likewise.
3491 * time/getdate.c: Add extra access test.
3493 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3495 * version.h (VERSION): Bump to 2.1.93.
3497 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
3498 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
3500 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
3501 Make this a new rule depending on tst-gettext.out and run mtrace.
3502 * intl/tst-gettext.c: Call mtrace.
3503 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
3505 * elf/dl-reloc.c: Add a few more __builtin_expect.
3507 * configure.in: Remove --with-gettext option.
3509 * intl/dcigettext.c (free_mem): Correct freeing of
3510 _nl_domain_bindings list.
3512 * sysdeps/generic/setenv.c (free_mem): New function. Free all
3515 * intl/locale.alias: Add aliases for bokmal and nynorsk.
3517 * locale/iso-639.def: Fix 639-1 code for Bokmal.
3519 * stdio-common/itoa-digits.c: Move upper digits to...
3520 * stdio-common/itoa-udigits.c: ...here. New file.
3521 * stdio-common/Makefile (routines): Add itoa-udigits.
3523 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
3524 relocate ld.so don't add supprt for relocations which should not
3527 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
3528 __secure_getenv. Instead test __libc_enable_secure once.
3530 * io/pwd.c (main): Provide a good example, use *_unlocked function.
3532 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3534 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
3535 whether the new record should be freed if it's a duplicate.
3536 (add_module): Adjust insert_module call.
3537 (__gconv_read_conf): Likewise.
3538 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
3540 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
3542 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
3544 * include/link.h (struct r_search_path_struct): New.
3545 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
3546 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
3548 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
3549 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
3550 added at startup time.